quotas

package
v1.62.190 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

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 {
	QuotaUsage       float64  `json:"QuotaUsage" xml:"QuotaUsage"`
	ThresholdPercent float64  `json:"ThresholdPercent" xml:"ThresholdPercent"`
	CreateTime       string   `json:"CreateTime" xml:"CreateTime"`
	QuotaActionCode  string   `json:"QuotaActionCode" xml:"QuotaActionCode"`
	AlarmName        string   `json:"AlarmName" xml:"AlarmName"`
	NotifyTarget     string   `json:"NotifyTarget" xml:"NotifyTarget"`
	Threshold        float64  `json:"Threshold" xml:"Threshold"`
	ProductCode      string   `json:"ProductCode" xml:"ProductCode"`
	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 ApplicableRangeInListQuotaApplicationTemplates added in v1.62.120

type ApplicableRangeInListQuotaApplicationTemplates struct {
	Applicable []float64 `json:"Applicable" xml:"Applicable"`
}

ApplicableRangeInListQuotaApplicationTemplates is a nested struct in quotas response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) CreateTemplateQuotaItem added in v1.62.120

func (client *Client) CreateTemplateQuotaItem(request *CreateTemplateQuotaItemRequest) (response *CreateTemplateQuotaItemResponse, err error)

CreateTemplateQuotaItem invokes the quotas.CreateTemplateQuotaItem API synchronously

func (*Client) CreateTemplateQuotaItemWithCallback added in v1.62.120

func (client *Client) CreateTemplateQuotaItemWithCallback(request *CreateTemplateQuotaItemRequest, callback func(response *CreateTemplateQuotaItemResponse, err error)) <-chan int

CreateTemplateQuotaItemWithCallback invokes the quotas.CreateTemplateQuotaItem API asynchronously

func (*Client) CreateTemplateQuotaItemWithChan added in v1.62.120

func (client *Client) CreateTemplateQuotaItemWithChan(request *CreateTemplateQuotaItemRequest) (<-chan *CreateTemplateQuotaItemResponse, <-chan error)

CreateTemplateQuotaItemWithChan invokes the quotas.CreateTemplateQuotaItem 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) DeleteTemplateQuotaItem added in v1.62.120

func (client *Client) DeleteTemplateQuotaItem(request *DeleteTemplateQuotaItemRequest) (response *DeleteTemplateQuotaItemResponse, err error)

DeleteTemplateQuotaItem invokes the quotas.DeleteTemplateQuotaItem API synchronously

func (*Client) DeleteTemplateQuotaItemWithCallback added in v1.62.120

func (client *Client) DeleteTemplateQuotaItemWithCallback(request *DeleteTemplateQuotaItemRequest, callback func(response *DeleteTemplateQuotaItemResponse, err error)) <-chan int

DeleteTemplateQuotaItemWithCallback invokes the quotas.DeleteTemplateQuotaItem API asynchronously

func (*Client) DeleteTemplateQuotaItemWithChan added in v1.62.120

func (client *Client) DeleteTemplateQuotaItemWithChan(request *DeleteTemplateQuotaItemRequest) (<-chan *DeleteTemplateQuotaItemResponse, <-chan error)

DeleteTemplateQuotaItemWithChan invokes the quotas.DeleteTemplateQuotaItem 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) GetQuotaTemplateServiceStatus added in v1.62.120

func (client *Client) GetQuotaTemplateServiceStatus(request *GetQuotaTemplateServiceStatusRequest) (response *GetQuotaTemplateServiceStatusResponse, err error)

GetQuotaTemplateServiceStatus invokes the quotas.GetQuotaTemplateServiceStatus API synchronously

func (*Client) GetQuotaTemplateServiceStatusWithCallback added in v1.62.120

func (client *Client) GetQuotaTemplateServiceStatusWithCallback(request *GetQuotaTemplateServiceStatusRequest, callback func(response *GetQuotaTemplateServiceStatusResponse, err error)) <-chan int

GetQuotaTemplateServiceStatusWithCallback invokes the quotas.GetQuotaTemplateServiceStatus API asynchronously

func (*Client) GetQuotaTemplateServiceStatusWithChan added in v1.62.120

func (client *Client) GetQuotaTemplateServiceStatusWithChan(request *GetQuotaTemplateServiceStatusRequest) (<-chan *GetQuotaTemplateServiceStatusResponse, <-chan error)

GetQuotaTemplateServiceStatusWithChan invokes the quotas.GetQuotaTemplateServiceStatus 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) ListQuotaApplicationTemplates added in v1.62.120

func (client *Client) ListQuotaApplicationTemplates(request *ListQuotaApplicationTemplatesRequest) (response *ListQuotaApplicationTemplatesResponse, err error)

ListQuotaApplicationTemplates invokes the quotas.ListQuotaApplicationTemplates API synchronously

func (*Client) ListQuotaApplicationTemplatesWithCallback added in v1.62.120

func (client *Client) ListQuotaApplicationTemplatesWithCallback(request *ListQuotaApplicationTemplatesRequest, callback func(response *ListQuotaApplicationTemplatesResponse, err error)) <-chan int

ListQuotaApplicationTemplatesWithCallback invokes the quotas.ListQuotaApplicationTemplates API asynchronously

func (*Client) ListQuotaApplicationTemplatesWithChan added in v1.62.120

func (client *Client) ListQuotaApplicationTemplatesWithChan(request *ListQuotaApplicationTemplatesRequest) (<-chan *ListQuotaApplicationTemplatesResponse, <-chan error)

ListQuotaApplicationTemplatesWithChan invokes the quotas.ListQuotaApplicationTemplates 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) ModifyQuotaTemplateServiceStatus added in v1.62.120

func (client *Client) ModifyQuotaTemplateServiceStatus(request *ModifyQuotaTemplateServiceStatusRequest) (response *ModifyQuotaTemplateServiceStatusResponse, err error)

ModifyQuotaTemplateServiceStatus invokes the quotas.ModifyQuotaTemplateServiceStatus API synchronously

func (*Client) ModifyQuotaTemplateServiceStatusWithCallback added in v1.62.120

func (client *Client) ModifyQuotaTemplateServiceStatusWithCallback(request *ModifyQuotaTemplateServiceStatusRequest, callback func(response *ModifyQuotaTemplateServiceStatusResponse, err error)) <-chan int

ModifyQuotaTemplateServiceStatusWithCallback invokes the quotas.ModifyQuotaTemplateServiceStatus API asynchronously

func (*Client) ModifyQuotaTemplateServiceStatusWithChan added in v1.62.120

func (client *Client) ModifyQuotaTemplateServiceStatusWithChan(request *ModifyQuotaTemplateServiceStatusRequest) (<-chan *ModifyQuotaTemplateServiceStatusResponse, <-chan error)

ModifyQuotaTemplateServiceStatusWithChan invokes the quotas.ModifyQuotaTemplateServiceStatus API asynchronously

func (*Client) ModifyTemplateQuotaItem added in v1.62.120

func (client *Client) ModifyTemplateQuotaItem(request *ModifyTemplateQuotaItemRequest) (response *ModifyTemplateQuotaItemResponse, err error)

ModifyTemplateQuotaItem invokes the quotas.ModifyTemplateQuotaItem API synchronously

func (*Client) ModifyTemplateQuotaItemWithCallback added in v1.62.120

func (client *Client) ModifyTemplateQuotaItemWithCallback(request *ModifyTemplateQuotaItemRequest, callback func(response *ModifyTemplateQuotaItemResponse, err error)) <-chan int

ModifyTemplateQuotaItemWithCallback invokes the quotas.ModifyTemplateQuotaItem API asynchronously

func (*Client) ModifyTemplateQuotaItemWithChan added in v1.62.120

func (client *Client) ModifyTemplateQuotaItemWithChan(request *ModifyTemplateQuotaItemRequest) (<-chan *ModifyTemplateQuotaItemResponse, <-chan error)

ModifyTemplateQuotaItemWithChan invokes the quotas.ModifyTemplateQuotaItem 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

type CreateQuotaAlarmQuotaDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

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"`
	OriginalContext  string                             `position:"Body" name:"OriginalContext"`
	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"`
	EffectiveTime   string                              `position:"Body" name:"EffectiveTime"`
	QuotaCategory   string                              `position:"Body" name:"QuotaCategory"`
	OriginalContext string                              `position:"Body" name:"OriginalContext"`
	ExpireTime      string                              `position:"Body" name:"ExpireTime"`
	EnvLanguage     string                              `position:"Body" name:"EnvLanguage"`
	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
	RequestId        string                 `json:"RequestId" xml:"RequestId"`
	Status           string                 `json:"Status" xml:"Status"`
	DesireValue      int                    `json:"DesireValue" xml:"DesireValue"`
	QuotaActionCode  string                 `json:"QuotaActionCode" xml:"QuotaActionCode"`
	QuotaName        string                 `json:"QuotaName" xml:"QuotaName"`
	ApplicationId    string                 `json:"ApplicationId" xml:"ApplicationId"`
	Reason           string                 `json:"Reason" xml:"Reason"`
	AuditReason      string                 `json:"AuditReason" xml:"AuditReason"`
	QuotaDescription string                 `json:"QuotaDescription" xml:"QuotaDescription"`
	ProductCode      string                 `json:"ProductCode" xml:"ProductCode"`
	QuotaArn         string                 `json:"QuotaArn" xml:"QuotaArn"`
	ApplyTime        string                 `json:"ApplyTime" xml:"ApplyTime"`
	ApproveValue     float64                `json:"ApproveValue" xml:"ApproveValue"`
	Dimension        map[string]interface{} `json:"Dimension" xml:"Dimension"`
	NoticeType       int64                  `json:"NoticeType" xml:"NoticeType"`
	EffectiveTime    string                 `json:"EffectiveTime" xml:"EffectiveTime"`
	ExpireTime       string                 `json:"ExpireTime" xml:"ExpireTime"`
	QuotaUnit        string                 `json:"QuotaUnit" xml:"QuotaUnit"`
}

CreateQuotaApplicationResponse is the response struct for api CreateQuotaApplication

func CreateCreateQuotaApplicationResponse

func CreateCreateQuotaApplicationResponse() (response *CreateQuotaApplicationResponse)

CreateCreateQuotaApplicationResponse creates a response to parse from CreateQuotaApplication response

type CreateTemplateQuotaItemDimensions added in v1.62.120

type CreateTemplateQuotaItemDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

CreateTemplateQuotaItemDimensions is a repeated param struct in CreateTemplateQuotaItemRequest

type CreateTemplateQuotaItemRequest added in v1.62.120

type CreateTemplateQuotaItemRequest struct {
	*requests.RpcRequest
	ProductCode     string                               `position:"Body" name:"ProductCode"`
	QuotaActionCode string                               `position:"Body" name:"QuotaActionCode"`
	DesireValue     requests.Float                       `position:"Body" name:"DesireValue"`
	EffectiveTime   string                               `position:"Body" name:"EffectiveTime"`
	QuotaCategory   string                               `position:"Body" name:"QuotaCategory"`
	OriginalContext string                               `position:"Body" name:"OriginalContext"`
	ExpireTime      string                               `position:"Body" name:"ExpireTime"`
	EnvLanguage     string                               `position:"Body" name:"EnvLanguage"`
	NoticeType      requests.Integer                     `position:"Body" name:"NoticeType"`
	Dimensions      *[]CreateTemplateQuotaItemDimensions `position:"Body" name:"Dimensions"  type:"Repeated"`
}

CreateTemplateQuotaItemRequest is the request struct for api CreateTemplateQuotaItem

func CreateCreateTemplateQuotaItemRequest added in v1.62.120

func CreateCreateTemplateQuotaItemRequest() (request *CreateTemplateQuotaItemRequest)

CreateCreateTemplateQuotaItemRequest creates a request to invoke CreateTemplateQuotaItem API

type CreateTemplateQuotaItemResponse added in v1.62.120

type CreateTemplateQuotaItemResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Id        string `json:"Id" xml:"Id"`
}

CreateTemplateQuotaItemResponse is the response struct for api CreateTemplateQuotaItem

func CreateCreateTemplateQuotaItemResponse added in v1.62.120

func CreateCreateTemplateQuotaItemResponse() (response *CreateTemplateQuotaItemResponse)

CreateCreateTemplateQuotaItemResponse creates a response to parse from CreateTemplateQuotaItem response

type DeleteQuotaAlarmRequest

type DeleteQuotaAlarmRequest struct {
	*requests.RpcRequest
	OriginalContext string `position:"Body" name:"OriginalContext"`
	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 DeleteTemplateQuotaItemRequest added in v1.62.120

type DeleteTemplateQuotaItemRequest struct {
	*requests.RpcRequest
	OriginalContext string `position:"Body" name:"OriginalContext"`
	Id              string `position:"Body" name:"Id"`
}

DeleteTemplateQuotaItemRequest is the request struct for api DeleteTemplateQuotaItem

func CreateDeleteTemplateQuotaItemRequest added in v1.62.120

func CreateDeleteTemplateQuotaItemRequest() (request *DeleteTemplateQuotaItemRequest)

CreateDeleteTemplateQuotaItemRequest creates a request to invoke DeleteTemplateQuotaItem API

type DeleteTemplateQuotaItemResponse added in v1.62.120

type DeleteTemplateQuotaItemResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Id        string `json:"Id" xml:"Id"`
}

DeleteTemplateQuotaItemResponse is the response struct for api DeleteTemplateQuotaItem

func CreateDeleteTemplateQuotaItemResponse added in v1.62.120

func CreateDeleteTemplateQuotaItemResponse() (response *DeleteTemplateQuotaItemResponse)

CreateDeleteTemplateQuotaItemResponse creates a response to parse from DeleteTemplateQuotaItem 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 {
	ProductCode   string   `json:"ProductCode" xml:"ProductCode"`
	GroupCode     string   `json:"GroupCode" xml:"GroupCode"`
	GroupName     string   `json:"GroupName" xml:"GroupName"`
	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"`
	DependentDimension []string `json:"DependentDimension" xml:"DependentDimension"`
	DimensionValues    []string `json:"DimensionValues" xml:"DimensionValues"`
}

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
	OriginalContext     string                                         `position:"Body" name:"OriginalContext"`
	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

type GetProductQuotaDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

GetProductQuotaDimensions is a repeated param struct in GetProductQuotaRequest

type GetProductQuotaRequest

type GetProductQuotaRequest struct {
	*requests.RpcRequest
	OriginalContext string                       `position:"Body" name:"OriginalContext"`
	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
	OriginalContext string `position:"Body" name:"OriginalContext"`
	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
	OriginalContext string `position:"Body" name:"OriginalContext"`
	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 GetQuotaTemplateServiceStatusRequest added in v1.62.120

type GetQuotaTemplateServiceStatusRequest struct {
	*requests.RpcRequest
	OriginalContext     string `position:"Body" name:"OriginalContext"`
	ResourceDirectoryId string `position:"Body" name:"ResourceDirectoryId"`
}

GetQuotaTemplateServiceStatusRequest is the request struct for api GetQuotaTemplateServiceStatus

func CreateGetQuotaTemplateServiceStatusRequest added in v1.62.120

func CreateGetQuotaTemplateServiceStatusRequest() (request *GetQuotaTemplateServiceStatusRequest)

CreateGetQuotaTemplateServiceStatusRequest creates a request to invoke GetQuotaTemplateServiceStatus API

type GetQuotaTemplateServiceStatusResponse added in v1.62.120

type GetQuotaTemplateServiceStatusResponse struct {
	*responses.BaseResponse
	RequestId             string                `json:"RequestId" xml:"RequestId"`
	TemplateServiceStatus TemplateServiceStatus `json:"TemplateServiceStatus" xml:"TemplateServiceStatus"`
}

GetQuotaTemplateServiceStatusResponse is the response struct for api GetQuotaTemplateServiceStatus

func CreateGetQuotaTemplateServiceStatusResponse added in v1.62.120

func CreateGetQuotaTemplateServiceStatusResponse() (response *GetQuotaTemplateServiceStatusResponse)

CreateGetQuotaTemplateServiceStatusResponse creates a response to parse from GetQuotaTemplateServiceStatus 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"`
	OriginalContext string           `position:"Body" name:"OriginalContext"`
	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
	TotalCount     int            `json:"TotalCount" xml:"TotalCount"`
	NextToken      string         `json:"NextToken" xml:"NextToken"`
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	MaxResults     int            `json:"MaxResults" xml:"MaxResults"`
	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
	OriginalContext string `position:"Body" name:"OriginalContext"`
	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
	OriginalContext string           `position:"Body" name:"OriginalContext"`
	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"`
	NextToken       string                `json:"NextToken" xml:"NextToken"`
	RequestId       string                `json:"RequestId" xml:"RequestId"`
	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
	OriginalContext string           `position:"Body" name:"OriginalContext"`
	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"`
	NextToken       string                `json:"NextToken" xml:"NextToken"`
	RequestId       string                `json:"RequestId" xml:"RequestId"`
	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

type ListProductQuotasDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

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"`
	OriginalContext string                         `position:"Body" name:"OriginalContext"`
	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"`
	NextToken  string                          `json:"NextToken" xml:"NextToken"`
	RequestId  string                          `json:"RequestId" xml:"RequestId"`
	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
	OriginalContext string           `position:"Body" name:"OriginalContext"`
	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"`
	NextToken   string         `json:"NextToken" xml:"NextToken"`
	RequestId   string         `json:"RequestId" xml:"RequestId"`
	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

type ListQuotaAlarmsQuotaDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

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"`
	OriginalContext string                            `position:"Body" name:"OriginalContext"`
	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"`
	NextToken   string       `json:"NextToken" xml:"NextToken"`
	RequestId   string       `json:"RequestId" xml:"RequestId"`
	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 ListQuotaApplicationTemplatesDimensions added in v1.62.120

type ListQuotaApplicationTemplatesDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

ListQuotaApplicationTemplatesDimensions is a repeated param struct in ListQuotaApplicationTemplatesRequest

type ListQuotaApplicationTemplatesRequest added in v1.62.120

type ListQuotaApplicationTemplatesRequest struct {
	*requests.RpcRequest
	ProductCode     string                                     `position:"Body" name:"ProductCode"`
	QuotaActionCode string                                     `position:"Body" name:"QuotaActionCode"`
	NextToken       string                                     `position:"Query" name:"NextToken"`
	Id              string                                     `position:"Body" name:"Id"`
	QuotaCategory   string                                     `position:"Body" name:"QuotaCategory"`
	OriginalContext string                                     `position:"Body" name:"OriginalContext"`
	MaxResults      requests.Integer                           `position:"Body" name:"MaxResults"`
	Dimensions      *[]ListQuotaApplicationTemplatesDimensions `position:"Body" name:"Dimensions"  type:"Repeated"`
}

ListQuotaApplicationTemplatesRequest is the request struct for api ListQuotaApplicationTemplates

func CreateListQuotaApplicationTemplatesRequest added in v1.62.120

func CreateListQuotaApplicationTemplatesRequest() (request *ListQuotaApplicationTemplatesRequest)

CreateListQuotaApplicationTemplatesRequest creates a request to invoke ListQuotaApplicationTemplates API

type ListQuotaApplicationTemplatesResponse added in v1.62.120

type ListQuotaApplicationTemplatesResponse struct {
	*responses.BaseResponse
	RequestId                 string                          `json:"RequestId" xml:"RequestId"`
	MaxResults                int                             `json:"MaxResults" xml:"MaxResults"`
	NextToken                 string                          `json:"NextToken" xml:"NextToken"`
	TotalCount                int                             `json:"TotalCount" xml:"TotalCount"`
	QuotaApplicationTemplates []QuotaApplicationTemplatesItem `json:"QuotaApplicationTemplates" xml:"QuotaApplicationTemplates"`
}

ListQuotaApplicationTemplatesResponse is the response struct for api ListQuotaApplicationTemplates

func CreateListQuotaApplicationTemplatesResponse added in v1.62.120

func CreateListQuotaApplicationTemplatesResponse() (response *ListQuotaApplicationTemplatesResponse)

CreateListQuotaApplicationTemplatesResponse creates a response to parse from ListQuotaApplicationTemplates response

type ListQuotaApplicationsDimensions

type ListQuotaApplicationsDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

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"`
	OriginalContext string                             `position:"Body" name:"OriginalContext"`
	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"`
	NextToken         string                  `json:"NextToken" xml:"NextToken"`
	RequestId         string                  `json:"RequestId" xml:"RequestId"`
	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 ModifyQuotaTemplateServiceStatusRequest added in v1.62.120

type ModifyQuotaTemplateServiceStatusRequest struct {
	*requests.RpcRequest
	OriginalContext string           `position:"Body" name:"OriginalContext"`
	ServiceStatus   requests.Integer `position:"Body" name:"ServiceStatus"`
}

ModifyQuotaTemplateServiceStatusRequest is the request struct for api ModifyQuotaTemplateServiceStatus

func CreateModifyQuotaTemplateServiceStatusRequest added in v1.62.120

func CreateModifyQuotaTemplateServiceStatusRequest() (request *ModifyQuotaTemplateServiceStatusRequest)

CreateModifyQuotaTemplateServiceStatusRequest creates a request to invoke ModifyQuotaTemplateServiceStatus API

type ModifyQuotaTemplateServiceStatusResponse added in v1.62.120

type ModifyQuotaTemplateServiceStatusResponse struct {
	*responses.BaseResponse
	RequestId             string                `json:"RequestId" xml:"RequestId"`
	TemplateServiceStatus TemplateServiceStatus `json:"TemplateServiceStatus" xml:"TemplateServiceStatus"`
}

ModifyQuotaTemplateServiceStatusResponse is the response struct for api ModifyQuotaTemplateServiceStatus

func CreateModifyQuotaTemplateServiceStatusResponse added in v1.62.120

func CreateModifyQuotaTemplateServiceStatusResponse() (response *ModifyQuotaTemplateServiceStatusResponse)

CreateModifyQuotaTemplateServiceStatusResponse creates a response to parse from ModifyQuotaTemplateServiceStatus response

type ModifyTemplateQuotaItemDimensions added in v1.62.120

type ModifyTemplateQuotaItemDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

ModifyTemplateQuotaItemDimensions is a repeated param struct in ModifyTemplateQuotaItemRequest

type ModifyTemplateQuotaItemRequest added in v1.62.120

type ModifyTemplateQuotaItemRequest struct {
	*requests.RpcRequest
	ProductCode     string                               `position:"Body" name:"ProductCode"`
	QuotaActionCode string                               `position:"Body" name:"QuotaActionCode"`
	DesireValue     requests.Float                       `position:"Body" name:"DesireValue"`
	EffectiveTime   string                               `position:"Body" name:"EffectiveTime"`
	Id              string                               `position:"Body" name:"Id"`
	QuotaCategory   string                               `position:"Query" name:"QuotaCategory"`
	OriginalContext string                               `position:"Body" name:"OriginalContext"`
	ExpireTime      string                               `position:"Body" name:"ExpireTime"`
	EnvLanguage     string                               `position:"Body" name:"EnvLanguage"`
	NoticeType      requests.Integer                     `position:"Body" name:"NoticeType"`
	Dimensions      *[]ModifyTemplateQuotaItemDimensions `position:"Body" name:"Dimensions"  type:"Repeated"`
}

ModifyTemplateQuotaItemRequest is the request struct for api ModifyTemplateQuotaItem

func CreateModifyTemplateQuotaItemRequest added in v1.62.120

func CreateModifyTemplateQuotaItemRequest() (request *ModifyTemplateQuotaItemRequest)

CreateModifyTemplateQuotaItemRequest creates a request to invoke ModifyTemplateQuotaItem API

type ModifyTemplateQuotaItemResponse added in v1.62.120

type ModifyTemplateQuotaItemResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Id        string `json:"Id" xml:"Id"`
}

ModifyTemplateQuotaItemResponse is the response struct for api ModifyTemplateQuotaItem

func CreateModifyTemplateQuotaItemResponse added in v1.62.120

func CreateModifyTemplateQuotaItemResponse() (response *ModifyTemplateQuotaItemResponse)

CreateModifyTemplateQuotaItemResponse creates a response to parse from ModifyTemplateQuotaItem 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 {
	ProductName                string `json:"ProductName" xml:"ProductName"`
	SecondCategoryId           int64  `json:"SecondCategoryId" xml:"SecondCategoryId"`
	ProductNameEn              string `json:"ProductNameEn" xml:"ProductNameEn"`
	Dynamic                    bool   `json:"Dynamic" xml:"Dynamic"`
	SecondCategoryNameEn       string `json:"SecondCategoryNameEn" xml:"SecondCategoryNameEn"`
	SecondCategoryName         string `json:"SecondCategoryName" xml:"SecondCategoryName"`
	ProductCode                string `json:"ProductCode" xml:"ProductCode"`
	FlowControlSupport         string `json:"FlowControlSupport" xml:"FlowControlSupport"`
	CommonQuotaSupport         string `json:"CommonQuotaSupport" xml:"CommonQuotaSupport"`
	WhiteListLabelQuotaSupport string `json:"WhiteListLabelQuotaSupport" xml:"WhiteListLabelQuotaSupport"`
}

ProductInfos is a nested struct in quotas response

type Quota

type Quota struct {
	QuotaUnit          string                 `json:"QuotaUnit" xml:"QuotaUnit"`
	QuotaActionCode    string                 `json:"QuotaActionCode" xml:"QuotaActionCode"`
	TotalUsage         float64                `json:"TotalUsage" xml:"TotalUsage"`
	QuotaType          string                 `json:"QuotaType" xml:"QuotaType"`
	QuotaDescription   string                 `json:"QuotaDescription" xml:"QuotaDescription"`
	QuotaArn           string                 `json:"QuotaArn" xml:"QuotaArn"`
	ApplicableType     string                 `json:"ApplicableType" xml:"ApplicableType"`
	Dimensions         map[string]interface{} `json:"Dimensions" xml:"Dimensions"`
	Adjustable         bool                   `json:"Adjustable" xml:"Adjustable"`
	QuotaName          string                 `json:"QuotaName" xml:"QuotaName"`
	UnadjustableDetail string                 `json:"UnadjustableDetail" xml:"UnadjustableDetail"`
	Consumable         bool                   `json:"Consumable" xml:"Consumable"`
	TotalQuota         float64                `json:"TotalQuota" xml:"TotalQuota"`
	ProductCode        string                 `json:"ProductCode" xml:"ProductCode"`
	EffectiveTime      string                 `json:"EffectiveTime" xml:"EffectiveTime"`
	ExpireTime         string                 `json:"ExpireTime" xml:"ExpireTime"`
	QuotaCategory      string                 `json:"QuotaCategory" xml:"QuotaCategory"`
	ApplicableRange    []float64              `json:"ApplicableRange" xml:"ApplicableRange"`
	SupportedRange     []float64              `json:"SupportedRange" xml:"SupportedRange"`
	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"`
	ThresholdType    string                 `json:"ThresholdType" xml:"ThresholdType"`
	ProductCode      string                 `json:"ProductCode" xml:"ProductCode"`
	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"`
	DesireValue      int                    `json:"DesireValue" xml:"DesireValue"`
	QuotaActionCode  string                 `json:"QuotaActionCode" xml:"QuotaActionCode"`
	QuotaName        string                 `json:"QuotaName" xml:"QuotaName"`
	ApplicationId    string                 `json:"ApplicationId" xml:"ApplicationId"`
	Reason           string                 `json:"Reason" xml:"Reason"`
	AuditReason      string                 `json:"AuditReason" xml:"AuditReason"`
	QuotaDescription string                 `json:"QuotaDescription" xml:"QuotaDescription"`
	ProductCode      string                 `json:"ProductCode" xml:"ProductCode"`
	QuotaArn         string                 `json:"QuotaArn" xml:"QuotaArn"`
	ApplyTime        string                 `json:"ApplyTime" xml:"ApplyTime"`
	ApproveValue     float64                `json:"ApproveValue" xml:"ApproveValue"`
	Dimension        map[string]interface{} `json:"Dimension" xml:"Dimension"`
	NoticeType       int64                  `json:"NoticeType" xml:"NoticeType"`
	EffectiveTime    string                 `json:"EffectiveTime" xml:"EffectiveTime"`
	ExpireTime       string                 `json:"ExpireTime" xml:"ExpireTime"`
	QuotaUnit        string                 `json:"QuotaUnit" xml:"QuotaUnit"`
}

QuotaApplication is a nested struct in quotas response

type QuotaApplicationTemplates added in v1.62.120

type QuotaApplicationTemplates struct {
	QuotaApplicationTemplatesItem []QuotaApplicationTemplatesItem `json:"QuotaApplicationTemplates" xml:"QuotaApplicationTemplates"`
}

QuotaApplicationTemplates is a nested struct in quotas response

type QuotaApplicationTemplatesItem added in v1.62.120

type QuotaApplicationTemplatesItem struct {
	Id               string                 `json:"Id" xml:"Id"`
	ProductCode      string                 `json:"ProductCode" xml:"ProductCode"`
	Dimensions       map[string]interface{} `json:"Dimensions" xml:"Dimensions"`
	DesireValue      float64                `json:"DesireValue" xml:"DesireValue"`
	NoticeType       int                    `json:"NoticeType" xml:"NoticeType"`
	QuotaActionCode  string                 `json:"QuotaActionCode" xml:"QuotaActionCode"`
	ApplicableType   string                 `json:"ApplicableType" xml:"ApplicableType"`
	EnvLanguage      string                 `json:"EnvLanguage" xml:"EnvLanguage"`
	QuotaName        string                 `json:"QuotaName" xml:"QuotaName"`
	QuotaDescription string                 `json:"QuotaDescription" xml:"QuotaDescription"`
	EffectiveTime    string                 `json:"EffectiveTime" xml:"EffectiveTime"`
	ExpireTime       string                 `json:"ExpireTime" xml:"ExpireTime"`
	QuotaCategory    string                 `json:"QuotaCategory" xml:"QuotaCategory"`
	ApplicableRange  []float64              `json:"ApplicableRange" xml:"ApplicableRange"`
}

QuotaApplicationTemplatesItem 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"`
	Comment          string                        `json:"Comment" xml:"Comment"`
	ExpireTime       string                        `json:"ExpireTime" xml:"ExpireTime"`
	QuotaUnit        string                        `json:"QuotaUnit" xml:"QuotaUnit"`
	DesireValue      float64                       `json:"DesireValue" xml:"DesireValue"`
	NoticeType       int                           `json:"NoticeType" xml:"NoticeType"`
	QuotaActionCode  string                        `json:"QuotaActionCode" xml:"QuotaActionCode"`
	Dimension        map[string]interface{}        `json:"Dimension" xml:"Dimension"`
	QuotaDescription string                        `json:"QuotaDescription" xml:"QuotaDescription"`
	QuotaArn         string                        `json:"QuotaArn" xml:"QuotaArn"`
	EffectiveTime    string                        `json:"EffectiveTime" xml:"EffectiveTime"`
	ApproveValue     float64                       `json:"ApproveValue" xml:"ApproveValue"`
	QuotaName        string                        `json:"QuotaName" xml:"QuotaName"`
	ApplicationId    string                        `json:"ApplicationId" xml:"ApplicationId"`
	AuditReason      string                        `json:"AuditReason" xml:"AuditReason"`
	Reason           string                        `json:"Reason" xml:"Reason"`
	ApplyTime        string                        `json:"ApplyTime" xml:"ApplyTime"`
	ProductCode      string                        `json:"ProductCode" xml:"ProductCode"`
	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"`
	DependentDimensions  []string                   `json:"DependentDimensions" xml:"DependentDimensions"`
	DimensionValues      []string                   `json:"DimensionValues" xml:"DimensionValues"`
	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 {
	Requisite            bool                       `json:"Requisite" xml:"Requisite"`
	DimensionKey         string                     `json:"DimensionKey" xml:"DimensionKey"`
	Name                 string                     `json:"Name" xml:"Name"`
	DependentDimensions  []string                   `json:"DependentDimensions" xml:"DependentDimensions"`
	DimensionValues      []string                   `json:"DimensionValues" xml:"DimensionValues"`
	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 {
	QuotaUnit          string                 `json:"QuotaUnit" xml:"QuotaUnit"`
	QuotaActionCode    string                 `json:"QuotaActionCode" xml:"QuotaActionCode"`
	TotalUsage         float64                `json:"TotalUsage" xml:"TotalUsage"`
	QuotaType          string                 `json:"QuotaType" xml:"QuotaType"`
	QuotaDescription   string                 `json:"QuotaDescription" xml:"QuotaDescription"`
	QuotaArn           string                 `json:"QuotaArn" xml:"QuotaArn"`
	ApplicableType     string                 `json:"ApplicableType" xml:"ApplicableType"`
	Dimensions         map[string]interface{} `json:"Dimensions" xml:"Dimensions"`
	Adjustable         bool                   `json:"Adjustable" xml:"Adjustable"`
	QuotaName          string                 `json:"QuotaName" xml:"QuotaName"`
	UnadjustableDetail string                 `json:"UnadjustableDetail" xml:"UnadjustableDetail"`
	Consumable         bool                   `json:"Consumable" xml:"Consumable"`
	TotalQuota         float64                `json:"TotalQuota" xml:"TotalQuota"`
	ProductCode        string                 `json:"ProductCode" xml:"ProductCode"`
	EffectiveTime      string                 `json:"EffectiveTime" xml:"EffectiveTime"`
	ExpireTime         string                 `json:"ExpireTime" xml:"ExpireTime"`
	QuotaCategory      string                 `json:"QuotaCategory" xml:"QuotaCategory"`
	ApplicableRange    []float64              `json:"ApplicableRange" xml:"ApplicableRange"`
	SupportedRange     []float64              `json:"SupportedRange" xml:"SupportedRange"`
	Period             Period                 `json:"Period" xml:"Period"`
	QuotaItems         []QuotaItemsItem       `json:"QuotaItems" xml:"QuotaItems"`
}

QuotasItemInListProductQuotas is a nested struct in quotas response

type SupportedRangeInGetProductQuota added in v1.62.120

type SupportedRangeInGetProductQuota struct {
	SupportedRange []float64 `json:"SupportedRange" xml:"SupportedRange"`
}

SupportedRangeInGetProductQuota is a nested struct in quotas response

type SupportedRangeInListProductQuotas added in v1.62.120

type SupportedRangeInListProductQuotas struct {
	SupportedRange []float64 `json:"SupportedRange" xml:"SupportedRange"`
}

SupportedRangeInListProductQuotas is a nested struct in quotas response

type TemplateServiceStatus added in v1.62.120

type TemplateServiceStatus struct {
	ServiceStatus       int    `json:"ServiceStatus" xml:"ServiceStatus"`
	ResourceDirectoryId string `json:"ResourceDirectoryId" xml:"ResourceDirectoryId"`
}

TemplateServiceStatus 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"`
	OriginalContext  string         `position:"Body" name:"OriginalContext"`
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL