Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AlarmHistories
- type AlarmHistory
- type ApplicableRangeInGetProductQuota
- type ApplicableRangeInListProductQuotas
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CreateQuotaAlarm(request *CreateQuotaAlarmRequest) (response *CreateQuotaAlarmResponse, err error)
- func (client *Client) CreateQuotaAlarmWithCallback(request *CreateQuotaAlarmRequest, ...) <-chan int
- func (client *Client) CreateQuotaAlarmWithChan(request *CreateQuotaAlarmRequest) (<-chan *CreateQuotaAlarmResponse, <-chan error)
- func (client *Client) CreateQuotaApplication(request *CreateQuotaApplicationRequest) (response *CreateQuotaApplicationResponse, err error)
- func (client *Client) CreateQuotaApplicationWithCallback(request *CreateQuotaApplicationRequest, ...) <-chan int
- func (client *Client) CreateQuotaApplicationWithChan(request *CreateQuotaApplicationRequest) (<-chan *CreateQuotaApplicationResponse, <-chan error)
- func (client *Client) DeleteQuotaAlarm(request *DeleteQuotaAlarmRequest) (response *DeleteQuotaAlarmResponse, err error)
- func (client *Client) DeleteQuotaAlarmWithCallback(request *DeleteQuotaAlarmRequest, ...) <-chan int
- func (client *Client) DeleteQuotaAlarmWithChan(request *DeleteQuotaAlarmRequest) (<-chan *DeleteQuotaAlarmResponse, <-chan error)
- func (client *Client) GetProductQuota(request *GetProductQuotaRequest) (response *GetProductQuotaResponse, err error)
- func (client *Client) GetProductQuotaDimension(request *GetProductQuotaDimensionRequest) (response *GetProductQuotaDimensionResponse, err error)
- func (client *Client) GetProductQuotaDimensionWithCallback(request *GetProductQuotaDimensionRequest, ...) <-chan int
- func (client *Client) GetProductQuotaDimensionWithChan(request *GetProductQuotaDimensionRequest) (<-chan *GetProductQuotaDimensionResponse, <-chan error)
- func (client *Client) GetProductQuotaWithCallback(request *GetProductQuotaRequest, ...) <-chan int
- func (client *Client) GetProductQuotaWithChan(request *GetProductQuotaRequest) (<-chan *GetProductQuotaResponse, <-chan error)
- func (client *Client) GetQuotaAlarm(request *GetQuotaAlarmRequest) (response *GetQuotaAlarmResponse, err error)
- func (client *Client) GetQuotaAlarmWithCallback(request *GetQuotaAlarmRequest, ...) <-chan int
- func (client *Client) GetQuotaAlarmWithChan(request *GetQuotaAlarmRequest) (<-chan *GetQuotaAlarmResponse, <-chan error)
- func (client *Client) GetQuotaApplication(request *GetQuotaApplicationRequest) (response *GetQuotaApplicationResponse, err error)
- func (client *Client) GetQuotaApplicationWithCallback(request *GetQuotaApplicationRequest, ...) <-chan int
- func (client *Client) GetQuotaApplicationWithChan(request *GetQuotaApplicationRequest) (<-chan *GetQuotaApplicationResponse, <-chan error)
- func (client *Client) ListAlarmHistories(request *ListAlarmHistoriesRequest) (response *ListAlarmHistoriesResponse, err error)
- func (client *Client) ListAlarmHistoriesWithCallback(request *ListAlarmHistoriesRequest, ...) <-chan int
- func (client *Client) ListAlarmHistoriesWithChan(request *ListAlarmHistoriesRequest) (<-chan *ListAlarmHistoriesResponse, <-chan error)
- func (client *Client) ListDependentQuotas(request *ListDependentQuotasRequest) (response *ListDependentQuotasResponse, err error)
- func (client *Client) ListDependentQuotasWithCallback(request *ListDependentQuotasRequest, ...) <-chan int
- func (client *Client) ListDependentQuotasWithChan(request *ListDependentQuotasRequest) (<-chan *ListDependentQuotasResponse, <-chan error)
- func (client *Client) ListProductDimensionGroups(request *ListProductDimensionGroupsRequest) (response *ListProductDimensionGroupsResponse, err error)
- func (client *Client) ListProductDimensionGroupsWithCallback(request *ListProductDimensionGroupsRequest, ...) <-chan int
- func (client *Client) ListProductDimensionGroupsWithChan(request *ListProductDimensionGroupsRequest) (<-chan *ListProductDimensionGroupsResponse, <-chan error)
- func (client *Client) ListProductQuotaDimensions(request *ListProductQuotaDimensionsRequest) (response *ListProductQuotaDimensionsResponse, err error)
- func (client *Client) ListProductQuotaDimensionsWithCallback(request *ListProductQuotaDimensionsRequest, ...) <-chan int
- func (client *Client) ListProductQuotaDimensionsWithChan(request *ListProductQuotaDimensionsRequest) (<-chan *ListProductQuotaDimensionsResponse, <-chan error)
- func (client *Client) ListProductQuotas(request *ListProductQuotasRequest) (response *ListProductQuotasResponse, err error)
- func (client *Client) ListProductQuotasWithCallback(request *ListProductQuotasRequest, ...) <-chan int
- func (client *Client) ListProductQuotasWithChan(request *ListProductQuotasRequest) (<-chan *ListProductQuotasResponse, <-chan error)
- func (client *Client) ListProducts(request *ListProductsRequest) (response *ListProductsResponse, err error)
- func (client *Client) ListProductsWithCallback(request *ListProductsRequest, ...) <-chan int
- func (client *Client) ListProductsWithChan(request *ListProductsRequest) (<-chan *ListProductsResponse, <-chan error)
- func (client *Client) ListQuotaAlarms(request *ListQuotaAlarmsRequest) (response *ListQuotaAlarmsResponse, err error)
- func (client *Client) ListQuotaAlarmsWithCallback(request *ListQuotaAlarmsRequest, ...) <-chan int
- func (client *Client) ListQuotaAlarmsWithChan(request *ListQuotaAlarmsRequest) (<-chan *ListQuotaAlarmsResponse, <-chan error)
- func (client *Client) ListQuotaApplications(request *ListQuotaApplicationsRequest) (response *ListQuotaApplicationsResponse, err error)
- func (client *Client) ListQuotaApplicationsWithCallback(request *ListQuotaApplicationsRequest, ...) <-chan int
- func (client *Client) ListQuotaApplicationsWithChan(request *ListQuotaApplicationsRequest) (<-chan *ListQuotaApplicationsResponse, <-chan error)
- func (client *Client) UpdateQuotaAlarm(request *UpdateQuotaAlarmRequest) (response *UpdateQuotaAlarmResponse, err error)
- func (client *Client) UpdateQuotaAlarmWithCallback(request *UpdateQuotaAlarmRequest, ...) <-chan int
- func (client *Client) UpdateQuotaAlarmWithChan(request *UpdateQuotaAlarmRequest) (<-chan *UpdateQuotaAlarmResponse, <-chan error)
- type CreateQuotaAlarmQuotaDimensions
- type CreateQuotaAlarmRequest
- type CreateQuotaAlarmResponse
- type CreateQuotaApplicationDimensions
- type CreateQuotaApplicationRequest
- type CreateQuotaApplicationResponse
- type DeleteQuotaAlarmRequest
- type DeleteQuotaAlarmResponse
- type DependentDimension
- type DependentDimensionsInGetProductQuotaDimension
- type DependentDimensionsInListProductQuotaDimensions
- type DimensionGroups
- type DimensionGroupsItem
- type DimensionKeys
- type DimensionValueDetailInGetProductQuotaDimension
- type DimensionValueDetailInListProductQuotaDimensions
- type DimensionValueDetailItem
- type DimensionValuesInGetProductQuotaDimension
- type DimensionValuesInListDependentQuotas
- type DimensionValuesInListProductQuotaDimensions
- type Dimensions
- type DimensionsItem
- type GetProductQuotaDimensionDependentDimensions
- type GetProductQuotaDimensionRequest
- type GetProductQuotaDimensionResponse
- type GetProductQuotaDimensions
- type GetProductQuotaRequest
- type GetProductQuotaResponse
- type GetQuotaAlarmRequest
- type GetQuotaAlarmResponse
- type GetQuotaApplicationRequest
- type GetQuotaApplicationResponse
- type ListAlarmHistoriesRequest
- type ListAlarmHistoriesResponse
- type ListDependentQuotasRequest
- type ListDependentQuotasResponse
- type ListProductDimensionGroupsRequest
- type ListProductDimensionGroupsResponse
- type ListProductQuotaDimensionsRequest
- type ListProductQuotaDimensionsResponse
- type ListProductQuotasDimensions
- type ListProductQuotasRequest
- type ListProductQuotasResponse
- type ListProductsRequest
- type ListProductsResponse
- type ListQuotaAlarmsQuotaDimensions
- type ListQuotaAlarmsRequest
- type ListQuotaAlarmsResponse
- type ListQuotaApplicationsDimensions
- type ListQuotaApplicationsRequest
- type ListQuotaApplicationsResponse
- type NotifyChannelsInGetQuotaAlarm
- type NotifyChannelsInListAlarmHistories
- type NotifyChannelsInListQuotaAlarms
- type Period
- type PeriodInListQuotaApplications
- type ProductInfo
- type ProductInfos
- type Quota
- type QuotaAlarm
- type QuotaAlarms
- type QuotaApplication
- type QuotaApplications
- type QuotaApplicationsItem
- type QuotaDimension
- type QuotaDimensions
- type QuotaDimensionsItem
- type QuotaItemsInGetProductQuota
- type QuotaItemsInListProductQuotas
- type QuotaItemsItem
- type QuotasInListDependentQuotas
- type QuotasInListProductQuotas
- type QuotasItem
- type QuotasItemInListProductQuotas
- type UpdateQuotaAlarmRequest
- type UpdateQuotaAlarmResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AlarmHistories ¶
type AlarmHistories struct {
AlarmHistory []AlarmHistory `json:"AlarmHistory" xml:"AlarmHistory"`
}
AlarmHistories is a nested struct in quotas response
type AlarmHistory ¶
type AlarmHistory struct { AlarmName string `json:"AlarmName" xml:"AlarmName"` QuotaUsage float64 `json:"QuotaUsage" xml:"QuotaUsage"` ProductCode string `json:"ProductCode" xml:"ProductCode"` CreateTime string `json:"CreateTime" xml:"CreateTime"` NotifyTarget string `json:"NotifyTarget" xml:"NotifyTarget"` Threshold float64 `json:"Threshold" xml:"Threshold"` ThresholdPercent float64 `json:"ThresholdPercent" xml:"ThresholdPercent"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` NotifyChannels []string `json:"NotifyChannels" xml:"NotifyChannels"` }
AlarmHistory is a nested struct in quotas response
type ApplicableRangeInGetProductQuota ¶
type ApplicableRangeInGetProductQuota struct {
ApplicableRange []float64 `json:"ApplicableRange" xml:"ApplicableRange"`
}
ApplicableRangeInGetProductQuota is a nested struct in quotas response
type ApplicableRangeInListProductQuotas ¶
type ApplicableRangeInListProductQuotas struct {
ApplicableRange []float64 `json:"ApplicableRange" xml:"ApplicableRange"`
}
ApplicableRangeInListProductQuotas is a nested struct in quotas response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) CreateQuotaAlarm ¶
func (client *Client) CreateQuotaAlarm(request *CreateQuotaAlarmRequest) (response *CreateQuotaAlarmResponse, err error)
CreateQuotaAlarm invokes the quotas.CreateQuotaAlarm API synchronously
func (*Client) CreateQuotaAlarmWithCallback ¶
func (client *Client) CreateQuotaAlarmWithCallback(request *CreateQuotaAlarmRequest, callback func(response *CreateQuotaAlarmResponse, err error)) <-chan int
CreateQuotaAlarmWithCallback invokes the quotas.CreateQuotaAlarm API asynchronously
func (*Client) CreateQuotaAlarmWithChan ¶
func (client *Client) CreateQuotaAlarmWithChan(request *CreateQuotaAlarmRequest) (<-chan *CreateQuotaAlarmResponse, <-chan error)
CreateQuotaAlarmWithChan invokes the quotas.CreateQuotaAlarm API asynchronously
func (*Client) CreateQuotaApplication ¶
func (client *Client) CreateQuotaApplication(request *CreateQuotaApplicationRequest) (response *CreateQuotaApplicationResponse, err error)
CreateQuotaApplication invokes the quotas.CreateQuotaApplication API synchronously
func (*Client) CreateQuotaApplicationWithCallback ¶
func (client *Client) CreateQuotaApplicationWithCallback(request *CreateQuotaApplicationRequest, callback func(response *CreateQuotaApplicationResponse, err error)) <-chan int
CreateQuotaApplicationWithCallback invokes the quotas.CreateQuotaApplication API asynchronously
func (*Client) CreateQuotaApplicationWithChan ¶
func (client *Client) CreateQuotaApplicationWithChan(request *CreateQuotaApplicationRequest) (<-chan *CreateQuotaApplicationResponse, <-chan error)
CreateQuotaApplicationWithChan invokes the quotas.CreateQuotaApplication API asynchronously
func (*Client) DeleteQuotaAlarm ¶
func (client *Client) DeleteQuotaAlarm(request *DeleteQuotaAlarmRequest) (response *DeleteQuotaAlarmResponse, err error)
DeleteQuotaAlarm invokes the quotas.DeleteQuotaAlarm API synchronously
func (*Client) DeleteQuotaAlarmWithCallback ¶
func (client *Client) DeleteQuotaAlarmWithCallback(request *DeleteQuotaAlarmRequest, callback func(response *DeleteQuotaAlarmResponse, err error)) <-chan int
DeleteQuotaAlarmWithCallback invokes the quotas.DeleteQuotaAlarm API asynchronously
func (*Client) DeleteQuotaAlarmWithChan ¶
func (client *Client) DeleteQuotaAlarmWithChan(request *DeleteQuotaAlarmRequest) (<-chan *DeleteQuotaAlarmResponse, <-chan error)
DeleteQuotaAlarmWithChan invokes the quotas.DeleteQuotaAlarm API asynchronously
func (*Client) GetProductQuota ¶
func (client *Client) GetProductQuota(request *GetProductQuotaRequest) (response *GetProductQuotaResponse, err error)
GetProductQuota invokes the quotas.GetProductQuota API synchronously
func (*Client) GetProductQuotaDimension ¶
func (client *Client) GetProductQuotaDimension(request *GetProductQuotaDimensionRequest) (response *GetProductQuotaDimensionResponse, err error)
GetProductQuotaDimension invokes the quotas.GetProductQuotaDimension API synchronously
func (*Client) GetProductQuotaDimensionWithCallback ¶
func (client *Client) GetProductQuotaDimensionWithCallback(request *GetProductQuotaDimensionRequest, callback func(response *GetProductQuotaDimensionResponse, err error)) <-chan int
GetProductQuotaDimensionWithCallback invokes the quotas.GetProductQuotaDimension API asynchronously
func (*Client) GetProductQuotaDimensionWithChan ¶
func (client *Client) GetProductQuotaDimensionWithChan(request *GetProductQuotaDimensionRequest) (<-chan *GetProductQuotaDimensionResponse, <-chan error)
GetProductQuotaDimensionWithChan invokes the quotas.GetProductQuotaDimension API asynchronously
func (*Client) GetProductQuotaWithCallback ¶
func (client *Client) GetProductQuotaWithCallback(request *GetProductQuotaRequest, callback func(response *GetProductQuotaResponse, err error)) <-chan int
GetProductQuotaWithCallback invokes the quotas.GetProductQuota API asynchronously
func (*Client) GetProductQuotaWithChan ¶
func (client *Client) GetProductQuotaWithChan(request *GetProductQuotaRequest) (<-chan *GetProductQuotaResponse, <-chan error)
GetProductQuotaWithChan invokes the quotas.GetProductQuota API asynchronously
func (*Client) GetQuotaAlarm ¶
func (client *Client) GetQuotaAlarm(request *GetQuotaAlarmRequest) (response *GetQuotaAlarmResponse, err error)
GetQuotaAlarm invokes the quotas.GetQuotaAlarm API synchronously
func (*Client) GetQuotaAlarmWithCallback ¶
func (client *Client) GetQuotaAlarmWithCallback(request *GetQuotaAlarmRequest, callback func(response *GetQuotaAlarmResponse, err error)) <-chan int
GetQuotaAlarmWithCallback invokes the quotas.GetQuotaAlarm API asynchronously
func (*Client) GetQuotaAlarmWithChan ¶
func (client *Client) GetQuotaAlarmWithChan(request *GetQuotaAlarmRequest) (<-chan *GetQuotaAlarmResponse, <-chan error)
GetQuotaAlarmWithChan invokes the quotas.GetQuotaAlarm API asynchronously
func (*Client) GetQuotaApplication ¶
func (client *Client) GetQuotaApplication(request *GetQuotaApplicationRequest) (response *GetQuotaApplicationResponse, err error)
GetQuotaApplication invokes the quotas.GetQuotaApplication API synchronously
func (*Client) GetQuotaApplicationWithCallback ¶
func (client *Client) GetQuotaApplicationWithCallback(request *GetQuotaApplicationRequest, callback func(response *GetQuotaApplicationResponse, err error)) <-chan int
GetQuotaApplicationWithCallback invokes the quotas.GetQuotaApplication API asynchronously
func (*Client) GetQuotaApplicationWithChan ¶
func (client *Client) GetQuotaApplicationWithChan(request *GetQuotaApplicationRequest) (<-chan *GetQuotaApplicationResponse, <-chan error)
GetQuotaApplicationWithChan invokes the quotas.GetQuotaApplication API asynchronously
func (*Client) ListAlarmHistories ¶
func (client *Client) ListAlarmHistories(request *ListAlarmHistoriesRequest) (response *ListAlarmHistoriesResponse, err error)
ListAlarmHistories invokes the quotas.ListAlarmHistories API synchronously
func (*Client) ListAlarmHistoriesWithCallback ¶
func (client *Client) ListAlarmHistoriesWithCallback(request *ListAlarmHistoriesRequest, callback func(response *ListAlarmHistoriesResponse, err error)) <-chan int
ListAlarmHistoriesWithCallback invokes the quotas.ListAlarmHistories API asynchronously
func (*Client) ListAlarmHistoriesWithChan ¶
func (client *Client) ListAlarmHistoriesWithChan(request *ListAlarmHistoriesRequest) (<-chan *ListAlarmHistoriesResponse, <-chan error)
ListAlarmHistoriesWithChan invokes the quotas.ListAlarmHistories API asynchronously
func (*Client) ListDependentQuotas ¶
func (client *Client) ListDependentQuotas(request *ListDependentQuotasRequest) (response *ListDependentQuotasResponse, err error)
ListDependentQuotas invokes the quotas.ListDependentQuotas API synchronously
func (*Client) ListDependentQuotasWithCallback ¶
func (client *Client) ListDependentQuotasWithCallback(request *ListDependentQuotasRequest, callback func(response *ListDependentQuotasResponse, err error)) <-chan int
ListDependentQuotasWithCallback invokes the quotas.ListDependentQuotas API asynchronously
func (*Client) ListDependentQuotasWithChan ¶
func (client *Client) ListDependentQuotasWithChan(request *ListDependentQuotasRequest) (<-chan *ListDependentQuotasResponse, <-chan error)
ListDependentQuotasWithChan invokes the quotas.ListDependentQuotas API asynchronously
func (*Client) ListProductDimensionGroups ¶
func (client *Client) ListProductDimensionGroups(request *ListProductDimensionGroupsRequest) (response *ListProductDimensionGroupsResponse, err error)
ListProductDimensionGroups invokes the quotas.ListProductDimensionGroups API synchronously
func (*Client) ListProductDimensionGroupsWithCallback ¶
func (client *Client) ListProductDimensionGroupsWithCallback(request *ListProductDimensionGroupsRequest, callback func(response *ListProductDimensionGroupsResponse, err error)) <-chan int
ListProductDimensionGroupsWithCallback invokes the quotas.ListProductDimensionGroups API asynchronously
func (*Client) ListProductDimensionGroupsWithChan ¶
func (client *Client) ListProductDimensionGroupsWithChan(request *ListProductDimensionGroupsRequest) (<-chan *ListProductDimensionGroupsResponse, <-chan error)
ListProductDimensionGroupsWithChan invokes the quotas.ListProductDimensionGroups API asynchronously
func (*Client) ListProductQuotaDimensions ¶
func (client *Client) ListProductQuotaDimensions(request *ListProductQuotaDimensionsRequest) (response *ListProductQuotaDimensionsResponse, err error)
ListProductQuotaDimensions invokes the quotas.ListProductQuotaDimensions API synchronously
func (*Client) ListProductQuotaDimensionsWithCallback ¶
func (client *Client) ListProductQuotaDimensionsWithCallback(request *ListProductQuotaDimensionsRequest, callback func(response *ListProductQuotaDimensionsResponse, err error)) <-chan int
ListProductQuotaDimensionsWithCallback invokes the quotas.ListProductQuotaDimensions API asynchronously
func (*Client) ListProductQuotaDimensionsWithChan ¶
func (client *Client) ListProductQuotaDimensionsWithChan(request *ListProductQuotaDimensionsRequest) (<-chan *ListProductQuotaDimensionsResponse, <-chan error)
ListProductQuotaDimensionsWithChan invokes the quotas.ListProductQuotaDimensions API asynchronously
func (*Client) ListProductQuotas ¶
func (client *Client) ListProductQuotas(request *ListProductQuotasRequest) (response *ListProductQuotasResponse, err error)
ListProductQuotas invokes the quotas.ListProductQuotas API synchronously
func (*Client) ListProductQuotasWithCallback ¶
func (client *Client) ListProductQuotasWithCallback(request *ListProductQuotasRequest, callback func(response *ListProductQuotasResponse, err error)) <-chan int
ListProductQuotasWithCallback invokes the quotas.ListProductQuotas API asynchronously
func (*Client) ListProductQuotasWithChan ¶
func (client *Client) ListProductQuotasWithChan(request *ListProductQuotasRequest) (<-chan *ListProductQuotasResponse, <-chan error)
ListProductQuotasWithChan invokes the quotas.ListProductQuotas API asynchronously
func (*Client) ListProducts ¶
func (client *Client) ListProducts(request *ListProductsRequest) (response *ListProductsResponse, err error)
ListProducts invokes the quotas.ListProducts API synchronously
func (*Client) ListProductsWithCallback ¶
func (client *Client) ListProductsWithCallback(request *ListProductsRequest, callback func(response *ListProductsResponse, err error)) <-chan int
ListProductsWithCallback invokes the quotas.ListProducts API asynchronously
func (*Client) ListProductsWithChan ¶
func (client *Client) ListProductsWithChan(request *ListProductsRequest) (<-chan *ListProductsResponse, <-chan error)
ListProductsWithChan invokes the quotas.ListProducts API asynchronously
func (*Client) ListQuotaAlarms ¶
func (client *Client) ListQuotaAlarms(request *ListQuotaAlarmsRequest) (response *ListQuotaAlarmsResponse, err error)
ListQuotaAlarms invokes the quotas.ListQuotaAlarms API synchronously
func (*Client) ListQuotaAlarmsWithCallback ¶
func (client *Client) ListQuotaAlarmsWithCallback(request *ListQuotaAlarmsRequest, callback func(response *ListQuotaAlarmsResponse, err error)) <-chan int
ListQuotaAlarmsWithCallback invokes the quotas.ListQuotaAlarms API asynchronously
func (*Client) ListQuotaAlarmsWithChan ¶
func (client *Client) ListQuotaAlarmsWithChan(request *ListQuotaAlarmsRequest) (<-chan *ListQuotaAlarmsResponse, <-chan error)
ListQuotaAlarmsWithChan invokes the quotas.ListQuotaAlarms API asynchronously
func (*Client) ListQuotaApplications ¶
func (client *Client) ListQuotaApplications(request *ListQuotaApplicationsRequest) (response *ListQuotaApplicationsResponse, err error)
ListQuotaApplications invokes the quotas.ListQuotaApplications API synchronously
func (*Client) ListQuotaApplicationsWithCallback ¶
func (client *Client) ListQuotaApplicationsWithCallback(request *ListQuotaApplicationsRequest, callback func(response *ListQuotaApplicationsResponse, err error)) <-chan int
ListQuotaApplicationsWithCallback invokes the quotas.ListQuotaApplications API asynchronously
func (*Client) ListQuotaApplicationsWithChan ¶
func (client *Client) ListQuotaApplicationsWithChan(request *ListQuotaApplicationsRequest) (<-chan *ListQuotaApplicationsResponse, <-chan error)
ListQuotaApplicationsWithChan invokes the quotas.ListQuotaApplications API asynchronously
func (*Client) UpdateQuotaAlarm ¶
func (client *Client) UpdateQuotaAlarm(request *UpdateQuotaAlarmRequest) (response *UpdateQuotaAlarmResponse, err error)
UpdateQuotaAlarm invokes the quotas.UpdateQuotaAlarm API synchronously
func (*Client) UpdateQuotaAlarmWithCallback ¶
func (client *Client) UpdateQuotaAlarmWithCallback(request *UpdateQuotaAlarmRequest, callback func(response *UpdateQuotaAlarmResponse, err error)) <-chan int
UpdateQuotaAlarmWithCallback invokes the quotas.UpdateQuotaAlarm API asynchronously
func (*Client) UpdateQuotaAlarmWithChan ¶
func (client *Client) UpdateQuotaAlarmWithChan(request *UpdateQuotaAlarmRequest) (<-chan *UpdateQuotaAlarmResponse, <-chan error)
UpdateQuotaAlarmWithChan invokes the quotas.UpdateQuotaAlarm API asynchronously
type CreateQuotaAlarmQuotaDimensions ¶
CreateQuotaAlarmQuotaDimensions is a repeated param struct in CreateQuotaAlarmRequest
type CreateQuotaAlarmRequest ¶
type CreateQuotaAlarmRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` WebHook string `position:"Body" name:"WebHook"` Threshold requests.Float `position:"Body" name:"Threshold"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` ThresholdType string `position:"Body" name:"ThresholdType"` QuotaDimensions *[]CreateQuotaAlarmQuotaDimensions `position:"Body" name:"QuotaDimensions" type:"Repeated"` ThresholdPercent requests.Float `position:"Body" name:"ThresholdPercent"` AlarmName string `position:"Body" name:"AlarmName"` }
CreateQuotaAlarmRequest is the request struct for api CreateQuotaAlarm
func CreateCreateQuotaAlarmRequest ¶
func CreateCreateQuotaAlarmRequest() (request *CreateQuotaAlarmRequest)
CreateCreateQuotaAlarmRequest creates a request to invoke CreateQuotaAlarm API
type CreateQuotaAlarmResponse ¶
type CreateQuotaAlarmResponse struct { *responses.BaseResponse AlarmId string `json:"AlarmId" xml:"AlarmId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateQuotaAlarmResponse is the response struct for api CreateQuotaAlarm
func CreateCreateQuotaAlarmResponse ¶
func CreateCreateQuotaAlarmResponse() (response *CreateQuotaAlarmResponse)
CreateCreateQuotaAlarmResponse creates a response to parse from CreateQuotaAlarm response
type CreateQuotaApplicationDimensions ¶
type CreateQuotaApplicationDimensions struct { Key string `name:"Key"` Value string `name:"Value"` }
CreateQuotaApplicationDimensions is a repeated param struct in CreateQuotaApplicationRequest
type CreateQuotaApplicationRequest ¶
type CreateQuotaApplicationRequest struct { *requests.RpcRequest Reason string `position:"Body" name:"Reason"` ProductCode string `position:"Body" name:"ProductCode"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` DesireValue requests.Float `position:"Body" name:"DesireValue"` QuotaCategory string `position:"Body" name:"QuotaCategory"` NoticeType requests.Integer `position:"Body" name:"NoticeType"` AuditMode string `position:"Body" name:"AuditMode"` Dimensions *[]CreateQuotaApplicationDimensions `position:"Body" name:"Dimensions" type:"Repeated"` }
CreateQuotaApplicationRequest is the request struct for api CreateQuotaApplication
func CreateCreateQuotaApplicationRequest ¶
func CreateCreateQuotaApplicationRequest() (request *CreateQuotaApplicationRequest)
CreateCreateQuotaApplicationRequest creates a request to invoke CreateQuotaApplication API
type CreateQuotaApplicationResponse ¶
type CreateQuotaApplicationResponse struct { *responses.BaseResponse Status string `json:"Status" xml:"Status"` ApplyTime string `json:"ApplyTime" xml:"ApplyTime"` QuotaDescription string `json:"QuotaDescription" xml:"QuotaDescription"` RequestId string `json:"RequestId" xml:"RequestId"` EffectiveTime string `json:"EffectiveTime" xml:"EffectiveTime"` ProductCode string `json:"ProductCode" xml:"ProductCode"` QuotaUnit string `json:"QuotaUnit" xml:"QuotaUnit"` AuditReason string `json:"AuditReason" xml:"AuditReason"` Dimension map[string]interface{} `json:"Dimension" xml:"Dimension"` ApproveValue float64 `json:"ApproveValue" xml:"ApproveValue"` Reason string `json:"Reason" xml:"Reason"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` QuotaName string `json:"QuotaName" xml:"QuotaName"` QuotaArn string `json:"QuotaArn" xml:"QuotaArn"` NoticeType int64 `json:"NoticeType" xml:"NoticeType"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` ApplicationId string `json:"ApplicationId" xml:"ApplicationId"` DesireValue int `json:"DesireValue" xml:"DesireValue"` }
CreateQuotaApplicationResponse is the response struct for api CreateQuotaApplication
func CreateCreateQuotaApplicationResponse ¶
func CreateCreateQuotaApplicationResponse() (response *CreateQuotaApplicationResponse)
CreateCreateQuotaApplicationResponse creates a response to parse from CreateQuotaApplication response
type DeleteQuotaAlarmRequest ¶
type DeleteQuotaAlarmRequest struct { *requests.RpcRequest AlarmId string `position:"Body" name:"AlarmId"` }
DeleteQuotaAlarmRequest is the request struct for api DeleteQuotaAlarm
func CreateDeleteQuotaAlarmRequest ¶
func CreateDeleteQuotaAlarmRequest() (request *DeleteQuotaAlarmRequest)
CreateDeleteQuotaAlarmRequest creates a request to invoke DeleteQuotaAlarm API
type DeleteQuotaAlarmResponse ¶
type DeleteQuotaAlarmResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteQuotaAlarmResponse is the response struct for api DeleteQuotaAlarm
func CreateDeleteQuotaAlarmResponse ¶
func CreateDeleteQuotaAlarmResponse() (response *DeleteQuotaAlarmResponse)
CreateDeleteQuotaAlarmResponse creates a response to parse from DeleteQuotaAlarm response
type DependentDimension ¶
type DependentDimension struct {
DependentDimension []string `json:"DependentDimension" xml:"DependentDimension"`
}
DependentDimension is a nested struct in quotas response
type DependentDimensionsInGetProductQuotaDimension ¶
type DependentDimensionsInGetProductQuotaDimension struct {
DependentDimensions []string `json:"DependentDimensions" xml:"DependentDimensions"`
}
DependentDimensionsInGetProductQuotaDimension is a nested struct in quotas response
type DependentDimensionsInListProductQuotaDimensions ¶
type DependentDimensionsInListProductQuotaDimensions struct {
DependentDimension []string `json:"DependentDimension" xml:"DependentDimension"`
}
DependentDimensionsInListProductQuotaDimensions is a nested struct in quotas response
type DimensionGroups ¶
type DimensionGroups struct {
DimensionGroupsItem []DimensionGroupsItem `json:"DimensionGroups" xml:"DimensionGroups"`
}
DimensionGroups is a nested struct in quotas response
type DimensionGroupsItem ¶
type DimensionGroupsItem struct { GroupName string `json:"GroupName" xml:"GroupName"` ProductCode string `json:"ProductCode" xml:"ProductCode"` GroupCode string `json:"GroupCode" xml:"GroupCode"` DimensionKeys []string `json:"DimensionKeys" xml:"DimensionKeys"` }
DimensionGroupsItem is a nested struct in quotas response
type DimensionKeys ¶
type DimensionKeys struct {
DimensionKeys []string `json:"DimensionKeys" xml:"DimensionKeys"`
}
DimensionKeys is a nested struct in quotas response
type DimensionValueDetailInGetProductQuotaDimension ¶
type DimensionValueDetailInGetProductQuotaDimension struct {
DimensionValueDetailItem []DimensionValueDetailItem `json:"DimensionValueDetail" xml:"DimensionValueDetail"`
}
DimensionValueDetailInGetProductQuotaDimension is a nested struct in quotas response
type DimensionValueDetailInListProductQuotaDimensions ¶
type DimensionValueDetailInListProductQuotaDimensions struct {
DimensionValueDetailItem []DimensionValueDetailItem `json:"DimensionValueDetail" xml:"DimensionValueDetail"`
}
DimensionValueDetailInListProductQuotaDimensions is a nested struct in quotas response
type DimensionValueDetailItem ¶
type DimensionValueDetailItem struct { Name string `json:"Name" xml:"Name"` Value string `json:"Value" xml:"Value"` }
DimensionValueDetailItem is a nested struct in quotas response
type DimensionValuesInGetProductQuotaDimension ¶
type DimensionValuesInGetProductQuotaDimension struct {
DimensionValues []string `json:"DimensionValues" xml:"DimensionValues"`
}
DimensionValuesInGetProductQuotaDimension is a nested struct in quotas response
type DimensionValuesInListDependentQuotas ¶
type DimensionValuesInListDependentQuotas struct {
DimensionValues []string `json:"DimensionValues" xml:"DimensionValues"`
}
DimensionValuesInListDependentQuotas is a nested struct in quotas response
type DimensionValuesInListProductQuotaDimensions ¶
type DimensionValuesInListProductQuotaDimensions struct {
DimensionValues []string `json:"DimensionValues" xml:"DimensionValues"`
}
DimensionValuesInListProductQuotaDimensions is a nested struct in quotas response
type Dimensions ¶
type Dimensions struct {
DimensionsItem []DimensionsItem `json:"Dimensions" xml:"Dimensions"`
}
Dimensions is a nested struct in quotas response
type DimensionsItem ¶
type DimensionsItem struct { DimensionKey string `json:"DimensionKey" xml:"DimensionKey"` DimensionValues []string `json:"DimensionValues" xml:"DimensionValues"` DependentDimension []string `json:"DependentDimension" xml:"DependentDimension"` }
DimensionsItem is a nested struct in quotas response
type GetProductQuotaDimensionDependentDimensions ¶
type GetProductQuotaDimensionDependentDimensions struct { Key string `name:"Key"` Value string `name:"Value"` }
GetProductQuotaDimensionDependentDimensions is a repeated param struct in GetProductQuotaDimensionRequest
type GetProductQuotaDimensionRequest ¶
type GetProductQuotaDimensionRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` DependentDimensions *[]GetProductQuotaDimensionDependentDimensions `position:"Body" name:"DependentDimensions" type:"Repeated"` DimensionKey string `position:"Body" name:"DimensionKey"` }
GetProductQuotaDimensionRequest is the request struct for api GetProductQuotaDimension
func CreateGetProductQuotaDimensionRequest ¶
func CreateGetProductQuotaDimensionRequest() (request *GetProductQuotaDimensionRequest)
CreateGetProductQuotaDimensionRequest creates a request to invoke GetProductQuotaDimension API
type GetProductQuotaDimensionResponse ¶
type GetProductQuotaDimensionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` QuotaDimension QuotaDimension `json:"QuotaDimension" xml:"QuotaDimension"` }
GetProductQuotaDimensionResponse is the response struct for api GetProductQuotaDimension
func CreateGetProductQuotaDimensionResponse ¶
func CreateGetProductQuotaDimensionResponse() (response *GetProductQuotaDimensionResponse)
CreateGetProductQuotaDimensionResponse creates a response to parse from GetProductQuotaDimension response
type GetProductQuotaDimensions ¶
GetProductQuotaDimensions is a repeated param struct in GetProductQuotaRequest
type GetProductQuotaRequest ¶
type GetProductQuotaRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` Dimensions *[]GetProductQuotaDimensions `position:"Body" name:"Dimensions" type:"Repeated"` }
GetProductQuotaRequest is the request struct for api GetProductQuota
func CreateGetProductQuotaRequest ¶
func CreateGetProductQuotaRequest() (request *GetProductQuotaRequest)
CreateGetProductQuotaRequest creates a request to invoke GetProductQuota API
type GetProductQuotaResponse ¶
type GetProductQuotaResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Quota Quota `json:"Quota" xml:"Quota"` }
GetProductQuotaResponse is the response struct for api GetProductQuota
func CreateGetProductQuotaResponse ¶
func CreateGetProductQuotaResponse() (response *GetProductQuotaResponse)
CreateGetProductQuotaResponse creates a response to parse from GetProductQuota response
type GetQuotaAlarmRequest ¶
type GetQuotaAlarmRequest struct { *requests.RpcRequest AlarmId string `position:"Body" name:"AlarmId"` }
GetQuotaAlarmRequest is the request struct for api GetQuotaAlarm
func CreateGetQuotaAlarmRequest ¶
func CreateGetQuotaAlarmRequest() (request *GetQuotaAlarmRequest)
CreateGetQuotaAlarmRequest creates a request to invoke GetQuotaAlarm API
type GetQuotaAlarmResponse ¶
type GetQuotaAlarmResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` QuotaAlarm QuotaAlarm `json:"QuotaAlarm" xml:"QuotaAlarm"` }
GetQuotaAlarmResponse is the response struct for api GetQuotaAlarm
func CreateGetQuotaAlarmResponse ¶
func CreateGetQuotaAlarmResponse() (response *GetQuotaAlarmResponse)
CreateGetQuotaAlarmResponse creates a response to parse from GetQuotaAlarm response
type GetQuotaApplicationRequest ¶
type GetQuotaApplicationRequest struct { *requests.RpcRequest ApplicationId string `position:"Body" name:"ApplicationId"` }
GetQuotaApplicationRequest is the request struct for api GetQuotaApplication
func CreateGetQuotaApplicationRequest ¶
func CreateGetQuotaApplicationRequest() (request *GetQuotaApplicationRequest)
CreateGetQuotaApplicationRequest creates a request to invoke GetQuotaApplication API
type GetQuotaApplicationResponse ¶
type GetQuotaApplicationResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` QuotaApplication QuotaApplication `json:"QuotaApplication" xml:"QuotaApplication"` }
GetQuotaApplicationResponse is the response struct for api GetQuotaApplication
func CreateGetQuotaApplicationResponse ¶
func CreateGetQuotaApplicationResponse() (response *GetQuotaApplicationResponse)
CreateGetQuotaApplicationResponse creates a response to parse from GetQuotaApplication response
type ListAlarmHistoriesRequest ¶
type ListAlarmHistoriesRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` StartTime requests.Integer `position:"Body" name:"StartTime"` NextToken string `position:"Body" name:"NextToken"` Keyword string `position:"Body" name:"Keyword"` EndTime requests.Integer `position:"Body" name:"EndTime"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` }
ListAlarmHistoriesRequest is the request struct for api ListAlarmHistories
func CreateListAlarmHistoriesRequest ¶
func CreateListAlarmHistoriesRequest() (request *ListAlarmHistoriesRequest)
CreateListAlarmHistoriesRequest creates a request to invoke ListAlarmHistories API
type ListAlarmHistoriesResponse ¶
type ListAlarmHistoriesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` TotalCount int `json:"TotalCount" xml:"TotalCount"` AlarmHistories []AlarmHistory `json:"AlarmHistories" xml:"AlarmHistories"` }
ListAlarmHistoriesResponse is the response struct for api ListAlarmHistories
func CreateListAlarmHistoriesResponse ¶
func CreateListAlarmHistoriesResponse() (response *ListAlarmHistoriesResponse)
CreateListAlarmHistoriesResponse creates a response to parse from ListAlarmHistories response
type ListDependentQuotasRequest ¶
type ListDependentQuotasRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` }
ListDependentQuotasRequest is the request struct for api ListDependentQuotas
func CreateListDependentQuotasRequest ¶
func CreateListDependentQuotasRequest() (request *ListDependentQuotasRequest)
CreateListDependentQuotasRequest creates a request to invoke ListDependentQuotas API
type ListDependentQuotasResponse ¶
type ListDependentQuotasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Quotas []QuotasItem `json:"Quotas" xml:"Quotas"` }
ListDependentQuotasResponse is the response struct for api ListDependentQuotas
func CreateListDependentQuotasResponse ¶
func CreateListDependentQuotasResponse() (response *ListDependentQuotasResponse)
CreateListDependentQuotasResponse creates a response to parse from ListDependentQuotas response
type ListProductDimensionGroupsRequest ¶
type ListProductDimensionGroupsRequest struct { *requests.RpcRequest ProductCode string `position:"Query" name:"ProductCode"` NextToken string `position:"Query" name:"NextToken"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` }
ListProductDimensionGroupsRequest is the request struct for api ListProductDimensionGroups
func CreateListProductDimensionGroupsRequest ¶
func CreateListProductDimensionGroupsRequest() (request *ListProductDimensionGroupsRequest)
CreateListProductDimensionGroupsRequest creates a request to invoke ListProductDimensionGroups API
type ListProductDimensionGroupsResponse ¶
type ListProductDimensionGroupsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` DimensionGroups []DimensionGroupsItem `json:"DimensionGroups" xml:"DimensionGroups"` }
ListProductDimensionGroupsResponse is the response struct for api ListProductDimensionGroups
func CreateListProductDimensionGroupsResponse ¶
func CreateListProductDimensionGroupsResponse() (response *ListProductDimensionGroupsResponse)
CreateListProductDimensionGroupsResponse creates a response to parse from ListProductDimensionGroups response
type ListProductQuotaDimensionsRequest ¶
type ListProductQuotaDimensionsRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` NextToken string `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` QuotaCategory string `position:"Body" name:"QuotaCategory"` }
ListProductQuotaDimensionsRequest is the request struct for api ListProductQuotaDimensions
func CreateListProductQuotaDimensionsRequest ¶
func CreateListProductQuotaDimensionsRequest() (request *ListProductQuotaDimensionsRequest)
CreateListProductQuotaDimensionsRequest creates a request to invoke ListProductQuotaDimensions API
type ListProductQuotaDimensionsResponse ¶
type ListProductQuotaDimensionsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` QuotaDimensions []QuotaDimensionsItem `json:"QuotaDimensions" xml:"QuotaDimensions"` }
ListProductQuotaDimensionsResponse is the response struct for api ListProductQuotaDimensions
func CreateListProductQuotaDimensionsResponse ¶
func CreateListProductQuotaDimensionsResponse() (response *ListProductQuotaDimensionsResponse)
CreateListProductQuotaDimensionsResponse creates a response to parse from ListProductQuotaDimensions response
type ListProductQuotasDimensions ¶
ListProductQuotasDimensions is a repeated param struct in ListProductQuotasRequest
type ListProductQuotasRequest ¶
type ListProductQuotasRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` GroupCode string `position:"Body" name:"GroupCode"` NextToken string `position:"Body" name:"NextToken"` SortOrder string `position:"Body" name:"SortOrder"` KeyWord string `position:"Body" name:"KeyWord"` QuotaCategory string `position:"Body" name:"QuotaCategory"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` SortField string `position:"Body" name:"SortField"` Dimensions *[]ListProductQuotasDimensions `position:"Body" name:"Dimensions" type:"Repeated"` }
ListProductQuotasRequest is the request struct for api ListProductQuotas
func CreateListProductQuotasRequest ¶
func CreateListProductQuotasRequest() (request *ListProductQuotasRequest)
CreateListProductQuotasRequest creates a request to invoke ListProductQuotas API
type ListProductQuotasResponse ¶
type ListProductQuotasResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` Quotas []QuotasItemInListProductQuotas `json:"Quotas" xml:"Quotas"` }
ListProductQuotasResponse is the response struct for api ListProductQuotas
func CreateListProductQuotasResponse ¶
func CreateListProductQuotasResponse() (response *ListProductQuotasResponse)
CreateListProductQuotasResponse creates a response to parse from ListProductQuotas response
type ListProductsRequest ¶
type ListProductsRequest struct { *requests.RpcRequest NextToken string `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` }
ListProductsRequest is the request struct for api ListProducts
func CreateListProductsRequest ¶
func CreateListProductsRequest() (request *ListProductsRequest)
CreateListProductsRequest creates a request to invoke ListProducts API
type ListProductsResponse ¶
type ListProductsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` ProductInfo []ProductInfos `json:"ProductInfo" xml:"ProductInfo"` }
ListProductsResponse is the response struct for api ListProducts
func CreateListProductsResponse ¶
func CreateListProductsResponse() (response *ListProductsResponse)
CreateListProductsResponse creates a response to parse from ListProducts response
type ListQuotaAlarmsQuotaDimensions ¶
ListQuotaAlarmsQuotaDimensions is a repeated param struct in ListQuotaAlarmsRequest
type ListQuotaAlarmsRequest ¶
type ListQuotaAlarmsRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` NextToken string `position:"Body" name:"NextToken"` QuotaDimensions *[]ListQuotaAlarmsQuotaDimensions `position:"Body" name:"QuotaDimensions" type:"Repeated"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` AlarmName string `position:"Body" name:"AlarmName"` }
ListQuotaAlarmsRequest is the request struct for api ListQuotaAlarms
func CreateListQuotaAlarmsRequest ¶
func CreateListQuotaAlarmsRequest() (request *ListQuotaAlarmsRequest)
CreateListQuotaAlarmsRequest creates a request to invoke ListQuotaAlarms API
type ListQuotaAlarmsResponse ¶
type ListQuotaAlarmsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` QuotaAlarms []QuotaAlarm `json:"QuotaAlarms" xml:"QuotaAlarms"` }
ListQuotaAlarmsResponse is the response struct for api ListQuotaAlarms
func CreateListQuotaAlarmsResponse ¶
func CreateListQuotaAlarmsResponse() (response *ListQuotaAlarmsResponse)
CreateListQuotaAlarmsResponse creates a response to parse from ListQuotaAlarms response
type ListQuotaApplicationsDimensions ¶
ListQuotaApplicationsDimensions is a repeated param struct in ListQuotaApplicationsRequest
type ListQuotaApplicationsRequest ¶
type ListQuotaApplicationsRequest struct { *requests.RpcRequest ProductCode string `position:"Body" name:"ProductCode"` QuotaActionCode string `position:"Body" name:"QuotaActionCode"` NextToken string `position:"Body" name:"NextToken"` KeyWord string `position:"Body" name:"KeyWord"` QuotaCategory string `position:"Body" name:"QuotaCategory"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` Status string `position:"Body" name:"Status"` Dimensions *[]ListQuotaApplicationsDimensions `position:"Body" name:"Dimensions" type:"Repeated"` }
ListQuotaApplicationsRequest is the request struct for api ListQuotaApplications
func CreateListQuotaApplicationsRequest ¶
func CreateListQuotaApplicationsRequest() (request *ListQuotaApplicationsRequest)
CreateListQuotaApplicationsRequest creates a request to invoke ListQuotaApplications API
type ListQuotaApplicationsResponse ¶
type ListQuotaApplicationsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` MaxResults int `json:"MaxResults" xml:"MaxResults"` QuotaApplications []QuotaApplicationsItem `json:"QuotaApplications" xml:"QuotaApplications"` }
ListQuotaApplicationsResponse is the response struct for api ListQuotaApplications
func CreateListQuotaApplicationsResponse ¶
func CreateListQuotaApplicationsResponse() (response *ListQuotaApplicationsResponse)
CreateListQuotaApplicationsResponse creates a response to parse from ListQuotaApplications response
type NotifyChannelsInGetQuotaAlarm ¶
type NotifyChannelsInGetQuotaAlarm struct {
NotifyChannels []string `json:"NotifyChannels" xml:"NotifyChannels"`
}
NotifyChannelsInGetQuotaAlarm is a nested struct in quotas response
type NotifyChannelsInListAlarmHistories ¶
type NotifyChannelsInListAlarmHistories struct {
NotifyChannels []string `json:"NotifyChannels" xml:"NotifyChannels"`
}
NotifyChannelsInListAlarmHistories is a nested struct in quotas response
type NotifyChannelsInListQuotaAlarms ¶
type NotifyChannelsInListQuotaAlarms struct {
NotifyChannels []string `json:"NotifyChannels" xml:"NotifyChannels"`
}
NotifyChannelsInListQuotaAlarms is a nested struct in quotas response
type Period ¶
type Period struct { PeriodValue int `json:"PeriodValue" xml:"PeriodValue"` PeriodUnit string `json:"PeriodUnit" xml:"PeriodUnit"` }
Period is a nested struct in quotas response
type PeriodInListQuotaApplications ¶
type PeriodInListQuotaApplications struct { PeriodValue int64 `json:"PeriodValue" xml:"PeriodValue"` PeriodUnit string `json:"PeriodUnit" xml:"PeriodUnit"` }
PeriodInListQuotaApplications is a nested struct in quotas response
type ProductInfo ¶
type ProductInfo struct {
ProductInfos []ProductInfos `json:"ProductInfos" xml:"ProductInfos"`
}
ProductInfo is a nested struct in quotas response
type ProductInfos ¶
type ProductInfos struct { SecondCategoryNameEn string `json:"SecondCategoryNameEn" xml:"SecondCategoryNameEn"` Dynamic bool `json:"Dynamic" xml:"Dynamic"` CommonQuotaSupport string `json:"CommonQuotaSupport" xml:"CommonQuotaSupport"` ProductName string `json:"ProductName" xml:"ProductName"` ProductCode string `json:"ProductCode" xml:"ProductCode"` SecondCategoryName string `json:"SecondCategoryName" xml:"SecondCategoryName"` FlowControlSupport string `json:"FlowControlSupport" xml:"FlowControlSupport"` SecondCategoryId int64 `json:"SecondCategoryId" xml:"SecondCategoryId"` ProductNameEn string `json:"ProductNameEn" xml:"ProductNameEn"` }
ProductInfos is a nested struct in quotas response
type Quota ¶
type Quota struct { QuotaDescription string `json:"QuotaDescription" xml:"QuotaDescription"` Consumable bool `json:"Consumable" xml:"Consumable"` UnadjustableDetail string `json:"UnadjustableDetail" xml:"UnadjustableDetail"` ProductCode string `json:"ProductCode" xml:"ProductCode"` TotalUsage float64 `json:"TotalUsage" xml:"TotalUsage"` QuotaType string `json:"QuotaType" xml:"QuotaType"` Dimensions map[string]interface{} `json:"Dimensions" xml:"Dimensions"` QuotaUnit string `json:"QuotaUnit" xml:"QuotaUnit"` Adjustable bool `json:"Adjustable" xml:"Adjustable"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` QuotaName string `json:"QuotaName" xml:"QuotaName"` QuotaArn string `json:"QuotaArn" xml:"QuotaArn"` TotalQuota float64 `json:"TotalQuota" xml:"TotalQuota"` ApplicableType string `json:"ApplicableType" xml:"ApplicableType"` ApplicableRange []float64 `json:"ApplicableRange" xml:"ApplicableRange"` Period Period `json:"Period" xml:"Period"` QuotaItems []QuotaItemsItem `json:"QuotaItems" xml:"QuotaItems"` }
Quota is a nested struct in quotas response
type QuotaAlarm ¶
type QuotaAlarm struct { AlarmName string `json:"AlarmName" xml:"AlarmName"` AlarmId string `json:"AlarmId" xml:"AlarmId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` ExceedThreshold bool `json:"ExceedThreshold" xml:"ExceedThreshold"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` QuotaValue float64 `json:"QuotaValue" xml:"QuotaValue"` ProductCode string `json:"ProductCode" xml:"ProductCode"` ThresholdType string `json:"ThresholdType" xml:"ThresholdType"` Threshold float64 `json:"Threshold" xml:"Threshold"` NotifyTarget string `json:"NotifyTarget" xml:"NotifyTarget"` QuotaUsage float64 `json:"QuotaUsage" xml:"QuotaUsage"` ThresholdPercent float64 `json:"ThresholdPercent" xml:"ThresholdPercent"` WebHook string `json:"WebHook" xml:"WebHook"` QuotaDimensions map[string]interface{} `json:"QuotaDimensions" xml:"QuotaDimensions"` QuotaDimension map[string]interface{} `json:"QuotaDimension" xml:"QuotaDimension"` NotifyChannels []string `json:"NotifyChannels" xml:"NotifyChannels"` }
QuotaAlarm is a nested struct in quotas response
type QuotaAlarms ¶
type QuotaAlarms struct {
QuotaAlarm []QuotaAlarm `json:"QuotaAlarm" xml:"QuotaAlarm"`
}
QuotaAlarms is a nested struct in quotas response
type QuotaApplication ¶
type QuotaApplication struct { Status string `json:"Status" xml:"Status"` ApplyTime string `json:"ApplyTime" xml:"ApplyTime"` QuotaDescription string `json:"QuotaDescription" xml:"QuotaDescription"` EffectiveTime string `json:"EffectiveTime" xml:"EffectiveTime"` ProductCode string `json:"ProductCode" xml:"ProductCode"` QuotaUnit string `json:"QuotaUnit" xml:"QuotaUnit"` AuditReason string `json:"AuditReason" xml:"AuditReason"` Dimension map[string]interface{} `json:"Dimension" xml:"Dimension"` ApproveValue float64 `json:"ApproveValue" xml:"ApproveValue"` Reason string `json:"Reason" xml:"Reason"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` QuotaName string `json:"QuotaName" xml:"QuotaName"` QuotaArn string `json:"QuotaArn" xml:"QuotaArn"` NoticeType int64 `json:"NoticeType" xml:"NoticeType"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` ApplicationId string `json:"ApplicationId" xml:"ApplicationId"` DesireValue int `json:"DesireValue" xml:"DesireValue"` }
QuotaApplication is a nested struct in quotas response
type QuotaApplications ¶
type QuotaApplications struct {
QuotaApplicationsItem []QuotaApplicationsItem `json:"QuotaApplications" xml:"QuotaApplications"`
}
QuotaApplications is a nested struct in quotas response
type QuotaApplicationsItem ¶
type QuotaApplicationsItem struct { Status string `json:"Status" xml:"Status"` ApplyTime string `json:"ApplyTime" xml:"ApplyTime"` Comment string `json:"Comment" xml:"Comment"` QuotaDescription string `json:"QuotaDescription" xml:"QuotaDescription"` ProductCode string `json:"ProductCode" xml:"ProductCode"` EffectiveTime string `json:"EffectiveTime" xml:"EffectiveTime"` AuditReason string `json:"AuditReason" xml:"AuditReason"` QuotaUnit string `json:"QuotaUnit" xml:"QuotaUnit"` Dimension map[string]interface{} `json:"Dimension" xml:"Dimension"` ApproveValue float64 `json:"ApproveValue" xml:"ApproveValue"` Reason string `json:"Reason" xml:"Reason"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` QuotaName string `json:"QuotaName" xml:"QuotaName"` QuotaArn string `json:"QuotaArn" xml:"QuotaArn"` NoticeType int `json:"NoticeType" xml:"NoticeType"` ApplicationId string `json:"ApplicationId" xml:"ApplicationId"` DesireValue float64 `json:"DesireValue" xml:"DesireValue"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` Period PeriodInListQuotaApplications `json:"Period" xml:"Period"` }
QuotaApplicationsItem is a nested struct in quotas response
type QuotaDimension ¶
type QuotaDimension struct { DimensionKey string `json:"DimensionKey" xml:"DimensionKey"` Name string `json:"Name" xml:"Name"` DimensionValues []string `json:"DimensionValues" xml:"DimensionValues"` DependentDimensions []string `json:"DependentDimensions" xml:"DependentDimensions"` DimensionValueDetail []DimensionValueDetailItem `json:"DimensionValueDetail" xml:"DimensionValueDetail"` }
QuotaDimension is a nested struct in quotas response
type QuotaDimensions ¶
type QuotaDimensions struct {
QuotaDimensionsItem []QuotaDimensionsItem `json:"QuotaDimensions" xml:"QuotaDimensions"`
}
QuotaDimensions is a nested struct in quotas response
type QuotaDimensionsItem ¶
type QuotaDimensionsItem struct { DimensionKey string `json:"DimensionKey" xml:"DimensionKey"` Name string `json:"Name" xml:"Name"` Requisite bool `json:"Requisite" xml:"Requisite"` DimensionValues []string `json:"DimensionValues" xml:"DimensionValues"` DependentDimensions []string `json:"DependentDimensions" xml:"DependentDimensions"` DimensionValueDetail []DimensionValueDetailItem `json:"DimensionValueDetail" xml:"DimensionValueDetail"` }
QuotaDimensionsItem is a nested struct in quotas response
type QuotaItemsInGetProductQuota ¶
type QuotaItemsInGetProductQuota struct {
QuotaItemsItem []QuotaItemsItem `json:"QuotaItems" xml:"QuotaItems"`
}
QuotaItemsInGetProductQuota is a nested struct in quotas response
type QuotaItemsInListProductQuotas ¶
type QuotaItemsInListProductQuotas struct {
QuotaItemsItem []QuotaItemsItem `json:"QuotaItems" xml:"QuotaItems"`
}
QuotaItemsInListProductQuotas is a nested struct in quotas response
type QuotaItemsItem ¶
type QuotaItemsItem struct { Usage string `json:"Usage" xml:"Usage"` Quota string `json:"Quota" xml:"Quota"` QuotaUnit string `json:"QuotaUnit" xml:"QuotaUnit"` Type string `json:"Type" xml:"Type"` }
QuotaItemsItem is a nested struct in quotas response
type QuotasInListDependentQuotas ¶
type QuotasInListDependentQuotas struct {
QuotasItem []QuotasItem `json:"Quotas" xml:"Quotas"`
}
QuotasInListDependentQuotas is a nested struct in quotas response
type QuotasInListProductQuotas ¶
type QuotasInListProductQuotas struct {
QuotasItem []QuotasItemInListProductQuotas `json:"Quotas" xml:"Quotas"`
}
QuotasInListProductQuotas is a nested struct in quotas response
type QuotasItem ¶
type QuotasItem struct { Scale float64 `json:"Scale" xml:"Scale"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` ProductCode string `json:"ProductCode" xml:"ProductCode"` Dimensions []DimensionsItem `json:"Dimensions" xml:"Dimensions"` }
QuotasItem is a nested struct in quotas response
type QuotasItemInListProductQuotas ¶
type QuotasItemInListProductQuotas struct { QuotaDescription string `json:"QuotaDescription" xml:"QuotaDescription"` Consumable bool `json:"Consumable" xml:"Consumable"` UnadjustableDetail string `json:"UnadjustableDetail" xml:"UnadjustableDetail"` ProductCode string `json:"ProductCode" xml:"ProductCode"` TotalUsage float64 `json:"TotalUsage" xml:"TotalUsage"` QuotaType string `json:"QuotaType" xml:"QuotaType"` Dimensions map[string]interface{} `json:"Dimensions" xml:"Dimensions"` QuotaUnit string `json:"QuotaUnit" xml:"QuotaUnit"` Adjustable bool `json:"Adjustable" xml:"Adjustable"` QuotaActionCode string `json:"QuotaActionCode" xml:"QuotaActionCode"` QuotaName string `json:"QuotaName" xml:"QuotaName"` QuotaArn string `json:"QuotaArn" xml:"QuotaArn"` TotalQuota float64 `json:"TotalQuota" xml:"TotalQuota"` ApplicableType string `json:"ApplicableType" xml:"ApplicableType"` ApplicableRange []float64 `json:"ApplicableRange" xml:"ApplicableRange"` Period Period `json:"Period" xml:"Period"` QuotaItems []QuotaItemsItem `json:"QuotaItems" xml:"QuotaItems"` }
QuotasItemInListProductQuotas is a nested struct in quotas response
type UpdateQuotaAlarmRequest ¶
type UpdateQuotaAlarmRequest struct { *requests.RpcRequest WebHook string `position:"Body" name:"WebHook"` Threshold requests.Float `position:"Body" name:"Threshold"` ThresholdType string `position:"Body" name:"ThresholdType"` ThresholdPercent requests.Float `position:"Body" name:"ThresholdPercent"` AlarmId string `position:"Body" name:"AlarmId"` AlarmName string `position:"Body" name:"AlarmName"` }
UpdateQuotaAlarmRequest is the request struct for api UpdateQuotaAlarm
func CreateUpdateQuotaAlarmRequest ¶
func CreateUpdateQuotaAlarmRequest() (request *UpdateQuotaAlarmRequest)
CreateUpdateQuotaAlarmRequest creates a request to invoke UpdateQuotaAlarm API
type UpdateQuotaAlarmResponse ¶
type UpdateQuotaAlarmResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateQuotaAlarmResponse is the response struct for api UpdateQuotaAlarm
func CreateUpdateQuotaAlarmResponse ¶
func CreateUpdateQuotaAlarmResponse() (response *UpdateQuotaAlarmResponse)
CreateUpdateQuotaAlarmResponse creates a response to parse from UpdateQuotaAlarm response
Source Files ¶
- client.go
- create_quota_alarm.go
- create_quota_application.go
- delete_quota_alarm.go
- endpoint.go
- get_product_quota.go
- get_product_quota_dimension.go
- get_quota_alarm.go
- get_quota_application.go
- list_alarm_histories.go
- list_dependent_quotas.go
- list_product_dimension_groups.go
- list_product_quota_dimensions.go
- list_product_quotas.go
- list_products.go
- list_quota_alarms.go
- list_quota_applications.go
- struct_alarm_histories.go
- struct_alarm_history.go
- struct_applicable_range_in_get_product_quota.go
- struct_applicable_range_in_list_product_quotas.go
- struct_dependent_dimension.go
- struct_dependent_dimensions_in_get_product_quota_dimension.go
- struct_dependent_dimensions_in_list_product_quota_dimensions.go
- struct_dimension_groups.go
- struct_dimension_groups_item.go
- struct_dimension_keys.go
- struct_dimension_value_detail_in_get_product_quota_dimension.go
- struct_dimension_value_detail_in_list_product_quota_dimensions.go
- struct_dimension_value_detail_item.go
- struct_dimension_values_in_get_product_quota_dimension.go
- struct_dimension_values_in_list_dependent_quotas.go
- struct_dimension_values_in_list_product_quota_dimensions.go
- struct_dimensions.go
- struct_dimensions_item.go
- struct_notify_channels_in_get_quota_alarm.go
- struct_notify_channels_in_list_alarm_histories.go
- struct_notify_channels_in_list_quota_alarms.go
- struct_period.go
- struct_period_in_list_quota_applications.go
- struct_product_info.go
- struct_product_infos.go
- struct_quota.go
- struct_quota_alarm.go
- struct_quota_alarms.go
- struct_quota_application.go
- struct_quota_applications.go
- struct_quota_applications_item.go
- struct_quota_dimension.go
- struct_quota_dimensions.go
- struct_quota_dimensions_item.go
- struct_quota_items_in_get_product_quota.go
- struct_quota_items_in_list_product_quotas.go
- struct_quota_items_item.go
- struct_quotas_in_list_dependent_quotas.go
- struct_quotas_in_list_product_quotas.go
- struct_quotas_item.go
- struct_quotas_item_in_list_product_quotas.go
- update_quota_alarm.go