Documentation ¶
Overview ¶
Package servicequotas provides the client and types for making API requests to Service Quotas.
Service Quotas is a web service that you can use to manage many of your AWS service quotas. Quotas, also referred to as limits, are the maximum values for a resource, item, or operation. This guide provide descriptions of the Service Quotas actions that you can call from an API. For the Service Quotas user guide, which explains how to use Service Quotas from the console, see What is Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html).
AWS provides SDKs that consist of libraries and sample code for programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc...,). The SDKs provide a convenient way to create programmatic access to Service Quotas and AWS. For information about the AWS SDKs, including how to download and install them, see the Tools for Amazon Web Services (https://docs.aws.amazon.com/aws.amazon.com/tools) page.
See https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24 for more information on this service.
See servicequotas package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/servicequotas/
Using the Client ¶
To use Service Quotas with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Service Quotas client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/servicequotas/#New
Index ¶
- Constants
- type AssociateServiceQuotaTemplateInput
- type AssociateServiceQuotaTemplateOutput
- type AssociateServiceQuotaTemplateRequest
- type AssociateServiceQuotaTemplateResponse
- type Client
- func (c *Client) AssociateServiceQuotaTemplateRequest(input *AssociateServiceQuotaTemplateInput) AssociateServiceQuotaTemplateRequest
- func (c *Client) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) DeleteServiceQuotaIncreaseRequestFromTemplateRequest
- func (c *Client) DisassociateServiceQuotaTemplateRequest(input *DisassociateServiceQuotaTemplateInput) DisassociateServiceQuotaTemplateRequest
- func (c *Client) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultServiceQuotaInput) GetAWSDefaultServiceQuotaRequest
- func (c *Client) GetAssociationForServiceQuotaTemplateRequest(input *GetAssociationForServiceQuotaTemplateInput) GetAssociationForServiceQuotaTemplateRequest
- func (c *Client) GetRequestedServiceQuotaChangeRequest(input *GetRequestedServiceQuotaChangeInput) GetRequestedServiceQuotaChangeRequest
- func (c *Client) GetServiceQuotaIncreaseRequestFromTemplateRequest(input *GetServiceQuotaIncreaseRequestFromTemplateInput) GetServiceQuotaIncreaseRequestFromTemplateRequest
- func (c *Client) GetServiceQuotaRequest(input *GetServiceQuotaInput) GetServiceQuotaRequest
- func (c *Client) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefaultServiceQuotasInput) ListAWSDefaultServiceQuotasRequest
- func (c *Client) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) ListRequestedServiceQuotaChangeHistoryByQuotaRequest
- func (c *Client) ListRequestedServiceQuotaChangeHistoryRequest(input *ListRequestedServiceQuotaChangeHistoryInput) ListRequestedServiceQuotaChangeHistoryRequest
- func (c *Client) ListServiceQuotaIncreaseRequestsInTemplateRequest(input *ListServiceQuotaIncreaseRequestsInTemplateInput) ListServiceQuotaIncreaseRequestsInTemplateRequest
- func (c *Client) ListServiceQuotasRequest(input *ListServiceQuotasInput) ListServiceQuotasRequest
- func (c *Client) ListServicesRequest(input *ListServicesInput) ListServicesRequest
- func (c *Client) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) PutServiceQuotaIncreaseRequestIntoTemplateRequest
- func (c *Client) RequestServiceQuotaIncreaseRequest(input *RequestServiceQuotaIncreaseInput) RequestServiceQuotaIncreaseRequest
- type DeleteServiceQuotaIncreaseRequestFromTemplateInput
- type DeleteServiceQuotaIncreaseRequestFromTemplateOutput
- type DeleteServiceQuotaIncreaseRequestFromTemplateRequest
- type DeleteServiceQuotaIncreaseRequestFromTemplateResponse
- type DisassociateServiceQuotaTemplateInput
- type DisassociateServiceQuotaTemplateOutput
- type DisassociateServiceQuotaTemplateRequest
- type DisassociateServiceQuotaTemplateResponse
- type ErrorCode
- type ErrorReason
- type GetAWSDefaultServiceQuotaInput
- type GetAWSDefaultServiceQuotaOutput
- type GetAWSDefaultServiceQuotaRequest
- type GetAWSDefaultServiceQuotaResponse
- type GetAssociationForServiceQuotaTemplateInput
- type GetAssociationForServiceQuotaTemplateOutput
- type GetAssociationForServiceQuotaTemplateRequest
- type GetAssociationForServiceQuotaTemplateResponse
- type GetRequestedServiceQuotaChangeInput
- type GetRequestedServiceQuotaChangeOutput
- type GetRequestedServiceQuotaChangeRequest
- type GetRequestedServiceQuotaChangeResponse
- type GetServiceQuotaIncreaseRequestFromTemplateInput
- type GetServiceQuotaIncreaseRequestFromTemplateOutput
- type GetServiceQuotaIncreaseRequestFromTemplateRequest
- type GetServiceQuotaIncreaseRequestFromTemplateResponse
- type GetServiceQuotaInput
- type GetServiceQuotaOutput
- type GetServiceQuotaRequest
- type GetServiceQuotaResponse
- type ListAWSDefaultServiceQuotasInput
- type ListAWSDefaultServiceQuotasOutput
- type ListAWSDefaultServiceQuotasPaginator
- type ListAWSDefaultServiceQuotasRequest
- type ListAWSDefaultServiceQuotasResponse
- type ListRequestedServiceQuotaChangeHistoryByQuotaInput
- type ListRequestedServiceQuotaChangeHistoryByQuotaOutput
- type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator
- type ListRequestedServiceQuotaChangeHistoryByQuotaRequest
- type ListRequestedServiceQuotaChangeHistoryByQuotaResponse
- type ListRequestedServiceQuotaChangeHistoryInput
- type ListRequestedServiceQuotaChangeHistoryOutput
- type ListRequestedServiceQuotaChangeHistoryPaginator
- type ListRequestedServiceQuotaChangeHistoryRequest
- type ListRequestedServiceQuotaChangeHistoryResponse
- type ListServiceQuotaIncreaseRequestsInTemplateInput
- type ListServiceQuotaIncreaseRequestsInTemplateOutput
- type ListServiceQuotaIncreaseRequestsInTemplatePaginator
- type ListServiceQuotaIncreaseRequestsInTemplateRequest
- type ListServiceQuotaIncreaseRequestsInTemplateResponse
- type ListServiceQuotasInput
- type ListServiceQuotasOutput
- type ListServiceQuotasPaginator
- type ListServiceQuotasRequest
- type ListServiceQuotasResponse
- type ListServicesInput
- type ListServicesOutput
- type ListServicesPaginator
- type ListServicesRequest
- type ListServicesResponse
- type MetricInfo
- type PeriodUnit
- type PutServiceQuotaIncreaseRequestIntoTemplateInput
- type PutServiceQuotaIncreaseRequestIntoTemplateOutput
- type PutServiceQuotaIncreaseRequestIntoTemplateRequest
- type PutServiceQuotaIncreaseRequestIntoTemplateResponse
- type QuotaPeriod
- type RequestServiceQuotaIncreaseInput
- type RequestServiceQuotaIncreaseOutput
- type RequestServiceQuotaIncreaseRequest
- type RequestServiceQuotaIncreaseResponse
- type RequestStatus
- type RequestedServiceQuotaChange
- type ServiceInfo
- type ServiceQuota
- type ServiceQuotaIncreaseRequestInTemplate
- type ServiceQuotaTemplateAssociationStatus
Constants ¶
const ( ServiceName = "Service Quotas" // Service's name ServiceID = "ServiceQuotas" // Service's identifier EndpointsID = "servicequotas" // Service's Endpoint identifier )
const ( // ErrCodeAWSServiceAccessNotEnabledException for service response error code // "AWSServiceAccessNotEnabledException". // // The action you attempted is not allowed unless Service Access with Service // Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate. ErrCodeAWSServiceAccessNotEnabledException = "AWSServiceAccessNotEnabledException" // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeDependencyAccessDeniedException for service response error code // "DependencyAccessDeniedException". // // You can't perform this action because a dependency does not have access. ErrCodeDependencyAccessDeniedException = "DependencyAccessDeniedException" // ErrCodeIllegalArgumentException for service response error code // "IllegalArgumentException". // // Invalid input was provided. ErrCodeIllegalArgumentException = "IllegalArgumentException" // ErrCodeInvalidPaginationTokenException for service response error code // "InvalidPaginationTokenException". // // Invalid input was provided. ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException" // ErrCodeInvalidResourceStateException for service response error code // "InvalidResourceStateException". // // Invalid input was provided for the . ErrCodeInvalidResourceStateException = "InvalidResourceStateException" // ErrCodeNoAvailableOrganizationException for service response error code // "NoAvailableOrganizationException". // // The account making this call is not a member of an organization. ErrCodeNoAvailableOrganizationException = "NoAvailableOrganizationException" // ErrCodeNoSuchResourceException for service response error code // "NoSuchResourceException". // // The specified resource does not exist. ErrCodeNoSuchResourceException = "NoSuchResourceException" // ErrCodeOrganizationNotInAllFeaturesModeException for service response error code // "OrganizationNotInAllFeaturesModeException". // // The organization that your account belongs to, is not in All Features mode. // To enable all features mode, see EnableAllFeatures (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAllFeatures.html). ErrCodeOrganizationNotInAllFeaturesModeException = "OrganizationNotInAllFeaturesModeException" // ErrCodeQuotaExceededException for service response error code // "QuotaExceededException". // // You have exceeded your service quota. To perform the requested action, remove // some of the relevant resources, or use Service Quotas to request a service // quota increase. ErrCodeQuotaExceededException = "QuotaExceededException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // The specified resource already exists. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeServiceException for service response error code // "ServiceException". // // Something went wrong. ErrCodeServiceException = "ServiceException" // ErrCodeServiceQuotaTemplateNotInUseException for service response error code // "ServiceQuotaTemplateNotInUseException". // // The quota request template is not associated with your organization. // // To use the template, call AssociateServiceQuotaTemplate. ErrCodeServiceQuotaTemplateNotInUseException = "ServiceQuotaTemplateNotInUseException" // ErrCodeTemplatesNotAvailableInRegionException for service response error code // "TemplatesNotAvailableInRegionException". // // The Service Quotas template is not available in the Region where you are // making the request. Please make the request in us-east-1. ErrCodeTemplatesNotAvailableInRegionException = "TemplatesNotAvailableInRegionException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // Due to throttling, the request was denied. Slow down the rate of request // calls, or request an increase for this quota. ErrCodeTooManyRequestsException = "TooManyRequestsException" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociateServiceQuotaTemplateInput ¶
type AssociateServiceQuotaTemplateInput struct {
// contains filtered or unexported fields
}
func (AssociateServiceQuotaTemplateInput) String ¶
func (s AssociateServiceQuotaTemplateInput) String() string
String returns the string representation
type AssociateServiceQuotaTemplateOutput ¶
type AssociateServiceQuotaTemplateOutput struct {
// contains filtered or unexported fields
}
func (AssociateServiceQuotaTemplateOutput) String ¶
func (s AssociateServiceQuotaTemplateOutput) String() string
String returns the string representation
type AssociateServiceQuotaTemplateRequest ¶
type AssociateServiceQuotaTemplateRequest struct { *aws.Request Input *AssociateServiceQuotaTemplateInput Copy func(*AssociateServiceQuotaTemplateInput) AssociateServiceQuotaTemplateRequest }
AssociateServiceQuotaTemplateRequest is the request type for the AssociateServiceQuotaTemplate API operation.
func (AssociateServiceQuotaTemplateRequest) Send ¶
func (r AssociateServiceQuotaTemplateRequest) Send(ctx context.Context) (*AssociateServiceQuotaTemplateResponse, error)
Send marshals and sends the AssociateServiceQuotaTemplate API request.
type AssociateServiceQuotaTemplateResponse ¶
type AssociateServiceQuotaTemplateResponse struct { *AssociateServiceQuotaTemplateOutput // contains filtered or unexported fields }
AssociateServiceQuotaTemplateResponse is the response type for the AssociateServiceQuotaTemplate API operation.
func (*AssociateServiceQuotaTemplateResponse) SDKResponseMetdata ¶
func (r *AssociateServiceQuotaTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateServiceQuotaTemplate request.
type Client ¶
Client provides the API operation methods for making requests to Service Quotas. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := servicequotas.New(myConfig)
func (*Client) AssociateServiceQuotaTemplateRequest ¶
func (c *Client) AssociateServiceQuotaTemplateRequest(input *AssociateServiceQuotaTemplateInput) AssociateServiceQuotaTemplateRequest
AssociateServiceQuotaTemplateRequest returns a request value for making API operation for Service Quotas.
Associates the Service Quotas template with your organization so that when new accounts are created in your organization, the template submits increase requests for the specified service quotas. Use the Service Quotas template to request an increase for any adjustable quota value. After you define the Service Quotas template, use this operation to associate, or enable, the template.
// Example sending a request using AssociateServiceQuotaTemplateRequest. req := client.AssociateServiceQuotaTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate
func (*Client) DeleteServiceQuotaIncreaseRequestFromTemplateRequest ¶
func (c *Client) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) DeleteServiceQuotaIncreaseRequestFromTemplateRequest
DeleteServiceQuotaIncreaseRequestFromTemplateRequest returns a request value for making API operation for Service Quotas.
Removes a service quota increase request from the Service Quotas template.
// Example sending a request using DeleteServiceQuotaIncreaseRequestFromTemplateRequest. req := client.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate
func (*Client) DisassociateServiceQuotaTemplateRequest ¶
func (c *Client) DisassociateServiceQuotaTemplateRequest(input *DisassociateServiceQuotaTemplateInput) DisassociateServiceQuotaTemplateRequest
DisassociateServiceQuotaTemplateRequest returns a request value for making API operation for Service Quotas.
Disables the Service Quotas template. Once the template is disabled, it does not request quota increases for new accounts in your organization. Disabling the quota template does not apply the quota increase requests from the template.
Related operations
To enable the quota template, call AssociateServiceQuotaTemplate.
To delete a specific service quota from the template, use DeleteServiceQuotaIncreaseRequestFromTemplate.
// Example sending a request using DisassociateServiceQuotaTemplateRequest. req := client.DisassociateServiceQuotaTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate
func (*Client) GetAWSDefaultServiceQuotaRequest ¶
func (c *Client) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultServiceQuotaInput) GetAWSDefaultServiceQuotaRequest
GetAWSDefaultServiceQuotaRequest returns a request value for making API operation for Service Quotas.
Retrieves the default service quotas values. The Value returned for each quota is the AWS default value, even if the quotas have been increased..
// Example sending a request using GetAWSDefaultServiceQuotaRequest. req := client.GetAWSDefaultServiceQuotaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota
func (*Client) GetAssociationForServiceQuotaTemplateRequest ¶
func (c *Client) GetAssociationForServiceQuotaTemplateRequest(input *GetAssociationForServiceQuotaTemplateInput) GetAssociationForServiceQuotaTemplateRequest
GetAssociationForServiceQuotaTemplateRequest returns a request value for making API operation for Service Quotas.
Retrieves the ServiceQuotaTemplateAssociationStatus value from the service. Use this action to determine if the Service Quota template is associated, or enabled.
// Example sending a request using GetAssociationForServiceQuotaTemplateRequest. req := client.GetAssociationForServiceQuotaTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate
func (*Client) GetRequestedServiceQuotaChangeRequest ¶
func (c *Client) GetRequestedServiceQuotaChangeRequest(input *GetRequestedServiceQuotaChangeInput) GetRequestedServiceQuotaChangeRequest
GetRequestedServiceQuotaChangeRequest returns a request value for making API operation for Service Quotas.
Retrieves the details for a particular increase request.
// Example sending a request using GetRequestedServiceQuotaChangeRequest. req := client.GetRequestedServiceQuotaChangeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange
func (*Client) GetServiceQuotaIncreaseRequestFromTemplateRequest ¶
func (c *Client) GetServiceQuotaIncreaseRequestFromTemplateRequest(input *GetServiceQuotaIncreaseRequestFromTemplateInput) GetServiceQuotaIncreaseRequestFromTemplateRequest
GetServiceQuotaIncreaseRequestFromTemplateRequest returns a request value for making API operation for Service Quotas.
Returns the details of the service quota increase request in your template.
// Example sending a request using GetServiceQuotaIncreaseRequestFromTemplateRequest. req := client.GetServiceQuotaIncreaseRequestFromTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate
func (*Client) GetServiceQuotaRequest ¶
func (c *Client) GetServiceQuotaRequest(input *GetServiceQuotaInput) GetServiceQuotaRequest
GetServiceQuotaRequest returns a request value for making API operation for Service Quotas.
Returns the details for the specified service quota. This operation provides a different Value than the GetAWSDefaultServiceQuota operation. This operation returns the applied value for each quota. GetAWSDefaultServiceQuota returns the default AWS value for each quota.
// Example sending a request using GetServiceQuotaRequest. req := client.GetServiceQuotaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota
func (*Client) ListAWSDefaultServiceQuotasRequest ¶
func (c *Client) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefaultServiceQuotasInput) ListAWSDefaultServiceQuotasRequest
ListAWSDefaultServiceQuotasRequest returns a request value for making API operation for Service Quotas.
Lists all default service quotas for the specified AWS service or all AWS services. ListAWSDefaultServiceQuotas is similar to ListServiceQuotas except for the Value object. The Value object returned by ListAWSDefaultServiceQuotas is the default value assigned by AWS. This request returns a list of all service quotas for the specified service. The listing of each you'll see the default values are the values that AWS provides for the quotas.
Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.
// Example sending a request using ListAWSDefaultServiceQuotasRequest. req := client.ListAWSDefaultServiceQuotasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas
func (*Client) ListRequestedServiceQuotaChangeHistoryByQuotaRequest ¶
func (c *Client) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) ListRequestedServiceQuotaChangeHistoryByQuotaRequest
ListRequestedServiceQuotaChangeHistoryByQuotaRequest returns a request value for making API operation for Service Quotas.
Requests a list of the changes to specific service quotas. This command provides additional granularity over the ListRequestedServiceQuotaChangeHistory command. Once a quota change request has reached CASE_CLOSED, APPROVED, or DENIED, the history has been kept for 90 days.
// Example sending a request using ListRequestedServiceQuotaChangeHistoryByQuotaRequest. req := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota
func (*Client) ListRequestedServiceQuotaChangeHistoryRequest ¶
func (c *Client) ListRequestedServiceQuotaChangeHistoryRequest(input *ListRequestedServiceQuotaChangeHistoryInput) ListRequestedServiceQuotaChangeHistoryRequest
ListRequestedServiceQuotaChangeHistoryRequest returns a request value for making API operation for Service Quotas.
Requests a list of the changes to quotas for a service.
// Example sending a request using ListRequestedServiceQuotaChangeHistoryRequest. req := client.ListRequestedServiceQuotaChangeHistoryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory
func (*Client) ListServiceQuotaIncreaseRequestsInTemplateRequest ¶
func (c *Client) ListServiceQuotaIncreaseRequestsInTemplateRequest(input *ListServiceQuotaIncreaseRequestsInTemplateInput) ListServiceQuotaIncreaseRequestsInTemplateRequest
ListServiceQuotaIncreaseRequestsInTemplateRequest returns a request value for making API operation for Service Quotas.
Returns a list of the quota increase requests in the template.
// Example sending a request using ListServiceQuotaIncreaseRequestsInTemplateRequest. req := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate
func (*Client) ListServiceQuotasRequest ¶
func (c *Client) ListServiceQuotasRequest(input *ListServiceQuotasInput) ListServiceQuotasRequest
ListServiceQuotasRequest returns a request value for making API operation for Service Quotas.
Lists all service quotas for the specified AWS service. This request returns a list of the service quotas for the specified service. you'll see the default values are the values that AWS provides for the quotas.
Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.
// Example sending a request using ListServiceQuotasRequest. req := client.ListServiceQuotasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas
func (*Client) ListServicesRequest ¶
func (c *Client) ListServicesRequest(input *ListServicesInput) ListServicesRequest
ListServicesRequest returns a request value for making API operation for Service Quotas.
Lists the AWS services available in Service Quotas. Not all AWS services are available in Service Quotas. To list the see the list of the service quotas for a specific service, use ListServiceQuotas.
// Example sending a request using ListServicesRequest. req := client.ListServicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices
func (*Client) PutServiceQuotaIncreaseRequestIntoTemplateRequest ¶
func (c *Client) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) PutServiceQuotaIncreaseRequestIntoTemplateRequest
PutServiceQuotaIncreaseRequestIntoTemplateRequest returns a request value for making API operation for Service Quotas.
Defines and adds a quota to the service quota template. To add a quota to the template, you must provide the ServiceCode, QuotaCode, AwsRegion, and DesiredValue. Once you add a quota to the template, use ListServiceQuotaIncreaseRequestsInTemplate to see the list of quotas in the template.
// Example sending a request using PutServiceQuotaIncreaseRequestIntoTemplateRequest. req := client.PutServiceQuotaIncreaseRequestIntoTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate
func (*Client) RequestServiceQuotaIncreaseRequest ¶
func (c *Client) RequestServiceQuotaIncreaseRequest(input *RequestServiceQuotaIncreaseInput) RequestServiceQuotaIncreaseRequest
RequestServiceQuotaIncreaseRequest returns a request value for making API operation for Service Quotas.
Retrieves the details of a service quota increase request. The response to this command provides the details in the RequestedServiceQuotaChange object.
// Example sending a request using RequestServiceQuotaIncreaseRequest. req := client.RequestServiceQuotaIncreaseRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease
type DeleteServiceQuotaIncreaseRequestFromTemplateInput ¶
type DeleteServiceQuotaIncreaseRequestFromTemplateInput struct { // Specifies the AWS Region for the quota that you want to delete. // // AwsRegion is a required field AwsRegion *string `min:"1" type:"string" required:"true"` // Specifies the code for the quota that you want to delete. // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the code for the service that you want to delete. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteServiceQuotaIncreaseRequestFromTemplateInput) String ¶
func (s DeleteServiceQuotaIncreaseRequestFromTemplateInput) String() string
String returns the string representation
func (*DeleteServiceQuotaIncreaseRequestFromTemplateInput) Validate ¶
func (s *DeleteServiceQuotaIncreaseRequestFromTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteServiceQuotaIncreaseRequestFromTemplateOutput ¶
type DeleteServiceQuotaIncreaseRequestFromTemplateOutput struct {
// contains filtered or unexported fields
}
func (DeleteServiceQuotaIncreaseRequestFromTemplateOutput) String ¶
func (s DeleteServiceQuotaIncreaseRequestFromTemplateOutput) String() string
String returns the string representation
type DeleteServiceQuotaIncreaseRequestFromTemplateRequest ¶
type DeleteServiceQuotaIncreaseRequestFromTemplateRequest struct { *aws.Request Input *DeleteServiceQuotaIncreaseRequestFromTemplateInput Copy func(*DeleteServiceQuotaIncreaseRequestFromTemplateInput) DeleteServiceQuotaIncreaseRequestFromTemplateRequest }
DeleteServiceQuotaIncreaseRequestFromTemplateRequest is the request type for the DeleteServiceQuotaIncreaseRequestFromTemplate API operation.
func (DeleteServiceQuotaIncreaseRequestFromTemplateRequest) Send ¶
func (r DeleteServiceQuotaIncreaseRequestFromTemplateRequest) Send(ctx context.Context) (*DeleteServiceQuotaIncreaseRequestFromTemplateResponse, error)
Send marshals and sends the DeleteServiceQuotaIncreaseRequestFromTemplate API request.
type DeleteServiceQuotaIncreaseRequestFromTemplateResponse ¶
type DeleteServiceQuotaIncreaseRequestFromTemplateResponse struct { *DeleteServiceQuotaIncreaseRequestFromTemplateOutput // contains filtered or unexported fields }
DeleteServiceQuotaIncreaseRequestFromTemplateResponse is the response type for the DeleteServiceQuotaIncreaseRequestFromTemplate API operation.
func (*DeleteServiceQuotaIncreaseRequestFromTemplateResponse) SDKResponseMetdata ¶
func (r *DeleteServiceQuotaIncreaseRequestFromTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteServiceQuotaIncreaseRequestFromTemplate request.
type DisassociateServiceQuotaTemplateInput ¶
type DisassociateServiceQuotaTemplateInput struct {
// contains filtered or unexported fields
}
func (DisassociateServiceQuotaTemplateInput) String ¶
func (s DisassociateServiceQuotaTemplateInput) String() string
String returns the string representation
type DisassociateServiceQuotaTemplateOutput ¶
type DisassociateServiceQuotaTemplateOutput struct {
// contains filtered or unexported fields
}
func (DisassociateServiceQuotaTemplateOutput) String ¶
func (s DisassociateServiceQuotaTemplateOutput) String() string
String returns the string representation
type DisassociateServiceQuotaTemplateRequest ¶
type DisassociateServiceQuotaTemplateRequest struct { *aws.Request Input *DisassociateServiceQuotaTemplateInput Copy func(*DisassociateServiceQuotaTemplateInput) DisassociateServiceQuotaTemplateRequest }
DisassociateServiceQuotaTemplateRequest is the request type for the DisassociateServiceQuotaTemplate API operation.
func (DisassociateServiceQuotaTemplateRequest) Send ¶
func (r DisassociateServiceQuotaTemplateRequest) Send(ctx context.Context) (*DisassociateServiceQuotaTemplateResponse, error)
Send marshals and sends the DisassociateServiceQuotaTemplate API request.
type DisassociateServiceQuotaTemplateResponse ¶
type DisassociateServiceQuotaTemplateResponse struct { *DisassociateServiceQuotaTemplateOutput // contains filtered or unexported fields }
DisassociateServiceQuotaTemplateResponse is the response type for the DisassociateServiceQuotaTemplate API operation.
func (*DisassociateServiceQuotaTemplateResponse) SDKResponseMetdata ¶
func (r *DisassociateServiceQuotaTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateServiceQuotaTemplate request.
type ErrorCode ¶
type ErrorCode string
const ( ErrorCodeDependencyAccessDeniedError ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR" ErrorCodeDependencyThrottlingError ErrorCode = "DEPENDENCY_THROTTLING_ERROR" ErrorCodeDependencyServiceError ErrorCode = "DEPENDENCY_SERVICE_ERROR" ErrorCodeServiceQuotaNotAvailableError ErrorCode = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR" )
Enum values for ErrorCode
func (ErrorCode) MarshalValue ¶
type ErrorReason ¶
type ErrorReason struct { // Service Quotas returns the following error values. // // DEPENDENCY_ACCESS_DENIED_ERROR is returned when the caller does not have // permission to call the service or service quota. To resolve the error, you // need permission to access the service or service quota. // // DEPENDENCY_THROTTLING_ERROR is returned when the service being called is // throttling Service Quotas. // // DEPENDENCY_SERVICE_ERROR is returned when the service being called has availability // issues. // // SERVICE_QUOTA_NOT_AVAILABLE_ERROR is returned when there was an error in // Service Quotas. ErrorCode ErrorCode `type:"string" enum:"true"` // The error message that provides more detail. ErrorMessage *string `type:"string"` // contains filtered or unexported fields }
Returns an error that explains why the action did not succeed.
func (ErrorReason) String ¶
func (s ErrorReason) String() string
String returns the string representation
type GetAWSDefaultServiceQuotaInput ¶
type GetAWSDefaultServiceQuotaInput struct { // Identifies the service quota you want to select. // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetAWSDefaultServiceQuotaInput) String ¶
func (s GetAWSDefaultServiceQuotaInput) String() string
String returns the string representation
func (*GetAWSDefaultServiceQuotaInput) Validate ¶
func (s *GetAWSDefaultServiceQuotaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAWSDefaultServiceQuotaOutput ¶
type GetAWSDefaultServiceQuotaOutput struct { // Returns the ServiceQuota object which contains all values for a quota. Quota *ServiceQuota `type:"structure"` // contains filtered or unexported fields }
func (GetAWSDefaultServiceQuotaOutput) String ¶
func (s GetAWSDefaultServiceQuotaOutput) String() string
String returns the string representation
type GetAWSDefaultServiceQuotaRequest ¶
type GetAWSDefaultServiceQuotaRequest struct { *aws.Request Input *GetAWSDefaultServiceQuotaInput Copy func(*GetAWSDefaultServiceQuotaInput) GetAWSDefaultServiceQuotaRequest }
GetAWSDefaultServiceQuotaRequest is the request type for the GetAWSDefaultServiceQuota API operation.
func (GetAWSDefaultServiceQuotaRequest) Send ¶
func (r GetAWSDefaultServiceQuotaRequest) Send(ctx context.Context) (*GetAWSDefaultServiceQuotaResponse, error)
Send marshals and sends the GetAWSDefaultServiceQuota API request.
type GetAWSDefaultServiceQuotaResponse ¶
type GetAWSDefaultServiceQuotaResponse struct { *GetAWSDefaultServiceQuotaOutput // contains filtered or unexported fields }
GetAWSDefaultServiceQuotaResponse is the response type for the GetAWSDefaultServiceQuota API operation.
func (*GetAWSDefaultServiceQuotaResponse) SDKResponseMetdata ¶
func (r *GetAWSDefaultServiceQuotaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetAWSDefaultServiceQuota request.
type GetAssociationForServiceQuotaTemplateInput ¶
type GetAssociationForServiceQuotaTemplateInput struct {
// contains filtered or unexported fields
}
func (GetAssociationForServiceQuotaTemplateInput) String ¶
func (s GetAssociationForServiceQuotaTemplateInput) String() string
String returns the string representation
type GetAssociationForServiceQuotaTemplateOutput ¶
type GetAssociationForServiceQuotaTemplateOutput struct { // Specifies whether the template is ASSOCIATED or DISASSOCIATED. If the template // is ASSOCIATED, then it requests service quota increases for all new accounts // created in your organization. ServiceQuotaTemplateAssociationStatus ServiceQuotaTemplateAssociationStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
func (GetAssociationForServiceQuotaTemplateOutput) String ¶
func (s GetAssociationForServiceQuotaTemplateOutput) String() string
String returns the string representation
type GetAssociationForServiceQuotaTemplateRequest ¶
type GetAssociationForServiceQuotaTemplateRequest struct { *aws.Request Input *GetAssociationForServiceQuotaTemplateInput Copy func(*GetAssociationForServiceQuotaTemplateInput) GetAssociationForServiceQuotaTemplateRequest }
GetAssociationForServiceQuotaTemplateRequest is the request type for the GetAssociationForServiceQuotaTemplate API operation.
func (GetAssociationForServiceQuotaTemplateRequest) Send ¶
func (r GetAssociationForServiceQuotaTemplateRequest) Send(ctx context.Context) (*GetAssociationForServiceQuotaTemplateResponse, error)
Send marshals and sends the GetAssociationForServiceQuotaTemplate API request.
type GetAssociationForServiceQuotaTemplateResponse ¶
type GetAssociationForServiceQuotaTemplateResponse struct { *GetAssociationForServiceQuotaTemplateOutput // contains filtered or unexported fields }
GetAssociationForServiceQuotaTemplateResponse is the response type for the GetAssociationForServiceQuotaTemplate API operation.
func (*GetAssociationForServiceQuotaTemplateResponse) SDKResponseMetdata ¶
func (r *GetAssociationForServiceQuotaTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetAssociationForServiceQuotaTemplate request.
type GetRequestedServiceQuotaChangeInput ¶
type GetRequestedServiceQuotaChangeInput struct { // Identifies the quota increase request. // // RequestId is a required field RequestId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetRequestedServiceQuotaChangeInput) String ¶
func (s GetRequestedServiceQuotaChangeInput) String() string
String returns the string representation
func (*GetRequestedServiceQuotaChangeInput) Validate ¶
func (s *GetRequestedServiceQuotaChangeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRequestedServiceQuotaChangeOutput ¶
type GetRequestedServiceQuotaChangeOutput struct { // Returns the RequestedServiceQuotaChange object for the specific increase // request. RequestedQuota *RequestedServiceQuotaChange `type:"structure"` // contains filtered or unexported fields }
func (GetRequestedServiceQuotaChangeOutput) String ¶
func (s GetRequestedServiceQuotaChangeOutput) String() string
String returns the string representation
type GetRequestedServiceQuotaChangeRequest ¶
type GetRequestedServiceQuotaChangeRequest struct { *aws.Request Input *GetRequestedServiceQuotaChangeInput Copy func(*GetRequestedServiceQuotaChangeInput) GetRequestedServiceQuotaChangeRequest }
GetRequestedServiceQuotaChangeRequest is the request type for the GetRequestedServiceQuotaChange API operation.
func (GetRequestedServiceQuotaChangeRequest) Send ¶
func (r GetRequestedServiceQuotaChangeRequest) Send(ctx context.Context) (*GetRequestedServiceQuotaChangeResponse, error)
Send marshals and sends the GetRequestedServiceQuotaChange API request.
type GetRequestedServiceQuotaChangeResponse ¶
type GetRequestedServiceQuotaChangeResponse struct { *GetRequestedServiceQuotaChangeOutput // contains filtered or unexported fields }
GetRequestedServiceQuotaChangeResponse is the response type for the GetRequestedServiceQuotaChange API operation.
func (*GetRequestedServiceQuotaChangeResponse) SDKResponseMetdata ¶
func (r *GetRequestedServiceQuotaChangeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetRequestedServiceQuotaChange request.
type GetServiceQuotaIncreaseRequestFromTemplateInput ¶
type GetServiceQuotaIncreaseRequestFromTemplateInput struct { // Specifies the AWS Region for the quota that you want to use. // // AwsRegion is a required field AwsRegion *string `min:"1" type:"string" required:"true"` // Specifies the quota you want. // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetServiceQuotaIncreaseRequestFromTemplateInput) String ¶
func (s GetServiceQuotaIncreaseRequestFromTemplateInput) String() string
String returns the string representation
func (*GetServiceQuotaIncreaseRequestFromTemplateInput) Validate ¶
func (s *GetServiceQuotaIncreaseRequestFromTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetServiceQuotaIncreaseRequestFromTemplateOutput ¶
type GetServiceQuotaIncreaseRequestFromTemplateOutput struct { // This object contains the details about the quota increase request. ServiceQuotaIncreaseRequestInTemplate *ServiceQuotaIncreaseRequestInTemplate `type:"structure"` // contains filtered or unexported fields }
func (GetServiceQuotaIncreaseRequestFromTemplateOutput) String ¶
func (s GetServiceQuotaIncreaseRequestFromTemplateOutput) String() string
String returns the string representation
type GetServiceQuotaIncreaseRequestFromTemplateRequest ¶
type GetServiceQuotaIncreaseRequestFromTemplateRequest struct { *aws.Request Input *GetServiceQuotaIncreaseRequestFromTemplateInput Copy func(*GetServiceQuotaIncreaseRequestFromTemplateInput) GetServiceQuotaIncreaseRequestFromTemplateRequest }
GetServiceQuotaIncreaseRequestFromTemplateRequest is the request type for the GetServiceQuotaIncreaseRequestFromTemplate API operation.
func (GetServiceQuotaIncreaseRequestFromTemplateRequest) Send ¶
func (r GetServiceQuotaIncreaseRequestFromTemplateRequest) Send(ctx context.Context) (*GetServiceQuotaIncreaseRequestFromTemplateResponse, error)
Send marshals and sends the GetServiceQuotaIncreaseRequestFromTemplate API request.
type GetServiceQuotaIncreaseRequestFromTemplateResponse ¶
type GetServiceQuotaIncreaseRequestFromTemplateResponse struct { *GetServiceQuotaIncreaseRequestFromTemplateOutput // contains filtered or unexported fields }
GetServiceQuotaIncreaseRequestFromTemplateResponse is the response type for the GetServiceQuotaIncreaseRequestFromTemplate API operation.
func (*GetServiceQuotaIncreaseRequestFromTemplateResponse) SDKResponseMetdata ¶
func (r *GetServiceQuotaIncreaseRequestFromTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetServiceQuotaIncreaseRequestFromTemplate request.
type GetServiceQuotaInput ¶
type GetServiceQuotaInput struct { // Identifies the service quota you want to select. // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetServiceQuotaInput) String ¶
func (s GetServiceQuotaInput) String() string
String returns the string representation
func (*GetServiceQuotaInput) Validate ¶
func (s *GetServiceQuotaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetServiceQuotaOutput ¶
type GetServiceQuotaOutput struct { // Returns the ServiceQuota object which contains all values for a quota. Quota *ServiceQuota `type:"structure"` // contains filtered or unexported fields }
func (GetServiceQuotaOutput) String ¶
func (s GetServiceQuotaOutput) String() string
String returns the string representation
type GetServiceQuotaRequest ¶
type GetServiceQuotaRequest struct { *aws.Request Input *GetServiceQuotaInput Copy func(*GetServiceQuotaInput) GetServiceQuotaRequest }
GetServiceQuotaRequest is the request type for the GetServiceQuota API operation.
func (GetServiceQuotaRequest) Send ¶
func (r GetServiceQuotaRequest) Send(ctx context.Context) (*GetServiceQuotaResponse, error)
Send marshals and sends the GetServiceQuota API request.
type GetServiceQuotaResponse ¶
type GetServiceQuotaResponse struct { *GetServiceQuotaOutput // contains filtered or unexported fields }
GetServiceQuotaResponse is the response type for the GetServiceQuota API operation.
func (*GetServiceQuotaResponse) SDKResponseMetdata ¶
func (r *GetServiceQuotaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetServiceQuota request.
type ListAWSDefaultServiceQuotasInput ¶
type ListAWSDefaultServiceQuotasInput struct { // (Optional) Limits the number of results that you want to include in the response. // If you don't include this parameter, the response defaults to a value that's // specific to the operation. If additional items exist beyond the specified // maximum, the NextToken element is present and has a value (isn't null). Include // that value as the NextToken request parameter in the call to the operation // to get the next part of the results. You should check NextToken after every // operation to ensure that you receive all of the results. MaxResults *int64 `min:"1" type:"integer"` // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. If additional // items exist beyond the specified maximum, the NextToken element is present // and has a value (isn't null). Include that value as the NextToken request // parameter in the call to the operation to get the next part of the results. // You should check NextToken after every operation to ensure that you receive // all of the results. NextToken *string `type:"string"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListAWSDefaultServiceQuotasInput) String ¶
func (s ListAWSDefaultServiceQuotasInput) String() string
String returns the string representation
func (*ListAWSDefaultServiceQuotasInput) Validate ¶
func (s *ListAWSDefaultServiceQuotasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAWSDefaultServiceQuotasOutput ¶
type ListAWSDefaultServiceQuotasOutput struct { // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. NextToken *string `type:"string"` // A list of the quotas in the account with the AWS default values. Quotas []ServiceQuota `type:"list"` // contains filtered or unexported fields }
func (ListAWSDefaultServiceQuotasOutput) String ¶
func (s ListAWSDefaultServiceQuotasOutput) String() string
String returns the string representation
type ListAWSDefaultServiceQuotasPaginator ¶
ListAWSDefaultServiceQuotasPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListAWSDefaultServiceQuotasPaginator ¶
func NewListAWSDefaultServiceQuotasPaginator(req ListAWSDefaultServiceQuotasRequest) ListAWSDefaultServiceQuotasPaginator
NewListAWSDefaultServiceQuotasRequestPaginator returns a paginator for ListAWSDefaultServiceQuotas. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListAWSDefaultServiceQuotasRequest(input) p := servicequotas.NewListAWSDefaultServiceQuotasRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListAWSDefaultServiceQuotasPaginator) CurrentPage ¶
func (p *ListAWSDefaultServiceQuotasPaginator) CurrentPage() *ListAWSDefaultServiceQuotasOutput
type ListAWSDefaultServiceQuotasRequest ¶
type ListAWSDefaultServiceQuotasRequest struct { *aws.Request Input *ListAWSDefaultServiceQuotasInput Copy func(*ListAWSDefaultServiceQuotasInput) ListAWSDefaultServiceQuotasRequest }
ListAWSDefaultServiceQuotasRequest is the request type for the ListAWSDefaultServiceQuotas API operation.
func (ListAWSDefaultServiceQuotasRequest) Send ¶
func (r ListAWSDefaultServiceQuotasRequest) Send(ctx context.Context) (*ListAWSDefaultServiceQuotasResponse, error)
Send marshals and sends the ListAWSDefaultServiceQuotas API request.
type ListAWSDefaultServiceQuotasResponse ¶
type ListAWSDefaultServiceQuotasResponse struct { *ListAWSDefaultServiceQuotasOutput // contains filtered or unexported fields }
ListAWSDefaultServiceQuotasResponse is the response type for the ListAWSDefaultServiceQuotas API operation.
func (*ListAWSDefaultServiceQuotasResponse) SDKResponseMetdata ¶
func (r *ListAWSDefaultServiceQuotasResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListAWSDefaultServiceQuotas request.
type ListRequestedServiceQuotaChangeHistoryByQuotaInput ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaInput struct { // (Optional) Limits the number of results that you want to include in the response. // If you don't include this parameter, the response defaults to a value that's // specific to the operation. If additional items exist beyond the specified // maximum, the NextToken element is present and has a value (isn't null). Include // that value as the NextToken request parameter in the call to the operation // to get the next part of the results. You should check NextToken after every // operation to ensure that you receive all of the results. MaxResults *int64 `min:"1" type:"integer"` // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. NextToken *string `type:"string"` // Specifies the service quota that you want to use // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // Specifies the status value of the quota increase request. Status RequestStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListRequestedServiceQuotaChangeHistoryByQuotaInput) String ¶
func (s ListRequestedServiceQuotaChangeHistoryByQuotaInput) String() string
String returns the string representation
func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) Validate ¶
func (s *ListRequestedServiceQuotaChangeHistoryByQuotaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRequestedServiceQuotaChangeHistoryByQuotaOutput ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaOutput struct { // If present in the response, this value indicates there's more output available // that what's included in the current response. This can occur even when the // response includes no values at all, such as when you ask for a filtered view // of a very long list. Use this value in the NextToken request parameter in // a subsequent call to the operation to continue processing and get the next // part of the output. You should repeat this until the NextToken response element // comes back empty (as null). NextToken *string `type:"string"` // Returns a list of service quota requests. RequestedQuotas []RequestedServiceQuotaChange `type:"list"` // contains filtered or unexported fields }
func (ListRequestedServiceQuotaChangeHistoryByQuotaOutput) String ¶
func (s ListRequestedServiceQuotaChangeHistoryByQuotaOutput) String() string
String returns the string representation
type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator ¶
ListRequestedServiceQuotaChangeHistoryByQuotaPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator ¶
func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator(req ListRequestedServiceQuotaChangeHistoryByQuotaRequest) ListRequestedServiceQuotaChangeHistoryByQuotaPaginator
NewListRequestedServiceQuotaChangeHistoryByQuotaRequestPaginator returns a paginator for ListRequestedServiceQuotaChangeHistoryByQuota. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input) p := servicequotas.NewListRequestedServiceQuotaChangeHistoryByQuotaRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) CurrentPage ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaRequest ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaRequest struct { *aws.Request Input *ListRequestedServiceQuotaChangeHistoryByQuotaInput Copy func(*ListRequestedServiceQuotaChangeHistoryByQuotaInput) ListRequestedServiceQuotaChangeHistoryByQuotaRequest }
ListRequestedServiceQuotaChangeHistoryByQuotaRequest is the request type for the ListRequestedServiceQuotaChangeHistoryByQuota API operation.
func (ListRequestedServiceQuotaChangeHistoryByQuotaRequest) Send ¶
func (r ListRequestedServiceQuotaChangeHistoryByQuotaRequest) Send(ctx context.Context) (*ListRequestedServiceQuotaChangeHistoryByQuotaResponse, error)
Send marshals and sends the ListRequestedServiceQuotaChangeHistoryByQuota API request.
type ListRequestedServiceQuotaChangeHistoryByQuotaResponse ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaResponse struct { *ListRequestedServiceQuotaChangeHistoryByQuotaOutput // contains filtered or unexported fields }
ListRequestedServiceQuotaChangeHistoryByQuotaResponse is the response type for the ListRequestedServiceQuotaChangeHistoryByQuota API operation.
func (*ListRequestedServiceQuotaChangeHistoryByQuotaResponse) SDKResponseMetdata ¶
func (r *ListRequestedServiceQuotaChangeHistoryByQuotaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListRequestedServiceQuotaChangeHistoryByQuota request.
type ListRequestedServiceQuotaChangeHistoryInput ¶
type ListRequestedServiceQuotaChangeHistoryInput struct { // (Optional) Limits the number of results that you want to include in the response. // If you don't include this parameter, the response defaults to a value that's // specific to the operation. If additional items exist beyond the specified // maximum, the NextToken element is present and has a value (isn't null). Include // that value as the NextToken request parameter in the call to the operation // to get the next part of the results. You should check NextToken after every // operation to ensure that you receive all of the results. MaxResults *int64 `min:"1" type:"integer"` // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. NextToken *string `type:"string"` // Specifies the service that you want to use. ServiceCode *string `min:"1" type:"string"` // Specifies the status value of the quota increase request. Status RequestStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListRequestedServiceQuotaChangeHistoryInput) String ¶
func (s ListRequestedServiceQuotaChangeHistoryInput) String() string
String returns the string representation
func (*ListRequestedServiceQuotaChangeHistoryInput) Validate ¶
func (s *ListRequestedServiceQuotaChangeHistoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRequestedServiceQuotaChangeHistoryOutput ¶
type ListRequestedServiceQuotaChangeHistoryOutput struct { // If present in the response, this value indicates there's more output available // that what's included in the current response. This can occur even when the // response includes no values at all, such as when you ask for a filtered view // of a very long list. Use this value in the NextToken request parameter in // a subsequent call to the operation to continue processing and get the next // part of the output. You should repeat this until the NextToken response element // comes back empty (as null). NextToken *string `type:"string"` // Returns a list of service quota requests. RequestedQuotas []RequestedServiceQuotaChange `type:"list"` // contains filtered or unexported fields }
func (ListRequestedServiceQuotaChangeHistoryOutput) String ¶
func (s ListRequestedServiceQuotaChangeHistoryOutput) String() string
String returns the string representation
type ListRequestedServiceQuotaChangeHistoryPaginator ¶
ListRequestedServiceQuotaChangeHistoryPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListRequestedServiceQuotaChangeHistoryPaginator ¶
func NewListRequestedServiceQuotaChangeHistoryPaginator(req ListRequestedServiceQuotaChangeHistoryRequest) ListRequestedServiceQuotaChangeHistoryPaginator
NewListRequestedServiceQuotaChangeHistoryRequestPaginator returns a paginator for ListRequestedServiceQuotaChangeHistory. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListRequestedServiceQuotaChangeHistoryRequest(input) p := servicequotas.NewListRequestedServiceQuotaChangeHistoryRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListRequestedServiceQuotaChangeHistoryPaginator) CurrentPage ¶
func (p *ListRequestedServiceQuotaChangeHistoryPaginator) CurrentPage() *ListRequestedServiceQuotaChangeHistoryOutput
type ListRequestedServiceQuotaChangeHistoryRequest ¶
type ListRequestedServiceQuotaChangeHistoryRequest struct { *aws.Request Input *ListRequestedServiceQuotaChangeHistoryInput Copy func(*ListRequestedServiceQuotaChangeHistoryInput) ListRequestedServiceQuotaChangeHistoryRequest }
ListRequestedServiceQuotaChangeHistoryRequest is the request type for the ListRequestedServiceQuotaChangeHistory API operation.
func (ListRequestedServiceQuotaChangeHistoryRequest) Send ¶
func (r ListRequestedServiceQuotaChangeHistoryRequest) Send(ctx context.Context) (*ListRequestedServiceQuotaChangeHistoryResponse, error)
Send marshals and sends the ListRequestedServiceQuotaChangeHistory API request.
type ListRequestedServiceQuotaChangeHistoryResponse ¶
type ListRequestedServiceQuotaChangeHistoryResponse struct { *ListRequestedServiceQuotaChangeHistoryOutput // contains filtered or unexported fields }
ListRequestedServiceQuotaChangeHistoryResponse is the response type for the ListRequestedServiceQuotaChangeHistory API operation.
func (*ListRequestedServiceQuotaChangeHistoryResponse) SDKResponseMetdata ¶
func (r *ListRequestedServiceQuotaChangeHistoryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListRequestedServiceQuotaChangeHistory request.
type ListServiceQuotaIncreaseRequestsInTemplateInput ¶
type ListServiceQuotaIncreaseRequestsInTemplateInput struct { // Specifies the AWS Region for the quota that you want to use. AwsRegion *string `min:"1" type:"string"` // (Optional) Limits the number of results that you want to include in the response. // If you don't include this parameter, the response defaults to a value that's // specific to the operation. If additional items exist beyond the specified // maximum, the NextToken element is present and has a value (isn't null). Include // that value as the NextToken request parameter in the call to the operation // to get the next part of the results. You should check NextToken after every // operation to ensure that you receive all of the results. MaxResults *int64 `min:"1" type:"integer"` // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. NextToken *string `type:"string"` // The identifier for a service. When performing an operation, use the ServiceCode // to specify a particular service. ServiceCode *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListServiceQuotaIncreaseRequestsInTemplateInput) String ¶
func (s ListServiceQuotaIncreaseRequestsInTemplateInput) String() string
String returns the string representation
func (*ListServiceQuotaIncreaseRequestsInTemplateInput) Validate ¶
func (s *ListServiceQuotaIncreaseRequestsInTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListServiceQuotaIncreaseRequestsInTemplateOutput ¶
type ListServiceQuotaIncreaseRequestsInTemplateOutput struct { // If present in the response, this value indicates there's more output available // that what's included in the current response. This can occur even when the // response includes no values at all, such as when you ask for a filtered view // of a very long list. Use this value in the NextToken request parameter in // a subsequent call to the operation to continue processing and get the next // part of the output. You should repeat this until the NextToken response element // comes back empty (as null). NextToken *string `type:"string"` // Returns the list of values of the quota increase request in the template. ServiceQuotaIncreaseRequestInTemplateList []ServiceQuotaIncreaseRequestInTemplate `type:"list"` // contains filtered or unexported fields }
func (ListServiceQuotaIncreaseRequestsInTemplateOutput) String ¶
func (s ListServiceQuotaIncreaseRequestsInTemplateOutput) String() string
String returns the string representation
type ListServiceQuotaIncreaseRequestsInTemplatePaginator ¶
ListServiceQuotaIncreaseRequestsInTemplatePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListServiceQuotaIncreaseRequestsInTemplatePaginator ¶
func NewListServiceQuotaIncreaseRequestsInTemplatePaginator(req ListServiceQuotaIncreaseRequestsInTemplateRequest) ListServiceQuotaIncreaseRequestsInTemplatePaginator
NewListServiceQuotaIncreaseRequestsInTemplateRequestPaginator returns a paginator for ListServiceQuotaIncreaseRequestsInTemplate. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(input) p := servicequotas.NewListServiceQuotaIncreaseRequestsInTemplateRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListServiceQuotaIncreaseRequestsInTemplatePaginator) CurrentPage ¶
func (p *ListServiceQuotaIncreaseRequestsInTemplatePaginator) CurrentPage() *ListServiceQuotaIncreaseRequestsInTemplateOutput
type ListServiceQuotaIncreaseRequestsInTemplateRequest ¶
type ListServiceQuotaIncreaseRequestsInTemplateRequest struct { *aws.Request Input *ListServiceQuotaIncreaseRequestsInTemplateInput Copy func(*ListServiceQuotaIncreaseRequestsInTemplateInput) ListServiceQuotaIncreaseRequestsInTemplateRequest }
ListServiceQuotaIncreaseRequestsInTemplateRequest is the request type for the ListServiceQuotaIncreaseRequestsInTemplate API operation.
func (ListServiceQuotaIncreaseRequestsInTemplateRequest) Send ¶
func (r ListServiceQuotaIncreaseRequestsInTemplateRequest) Send(ctx context.Context) (*ListServiceQuotaIncreaseRequestsInTemplateResponse, error)
Send marshals and sends the ListServiceQuotaIncreaseRequestsInTemplate API request.
type ListServiceQuotaIncreaseRequestsInTemplateResponse ¶
type ListServiceQuotaIncreaseRequestsInTemplateResponse struct { *ListServiceQuotaIncreaseRequestsInTemplateOutput // contains filtered or unexported fields }
ListServiceQuotaIncreaseRequestsInTemplateResponse is the response type for the ListServiceQuotaIncreaseRequestsInTemplate API operation.
func (*ListServiceQuotaIncreaseRequestsInTemplateResponse) SDKResponseMetdata ¶
func (r *ListServiceQuotaIncreaseRequestsInTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListServiceQuotaIncreaseRequestsInTemplate request.
type ListServiceQuotasInput ¶
type ListServiceQuotasInput struct { // (Optional) Limits the number of results that you want to include in the response. // If you don't include this parameter, the response defaults to a value that's // specific to the operation. If additional items exist beyond the specified // maximum, the NextToken element is present and has a value (isn't null). Include // that value as the NextToken request parameter in the call to the operation // to get the next part of the results. You should check NextToken after every // operation to ensure that you receive all of the results. MaxResults *int64 `min:"1" type:"integer"` // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. NextToken *string `type:"string"` // The identifier for a service. When performing an operation, use the ServiceCode // to specify a particular service. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListServiceQuotasInput) String ¶
func (s ListServiceQuotasInput) String() string
String returns the string representation
func (*ListServiceQuotasInput) Validate ¶
func (s *ListServiceQuotasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListServiceQuotasOutput ¶
type ListServiceQuotasOutput struct { // If present in the response, this value indicates there's more output available // that what's included in the current response. This can occur even when the // response includes no values at all, such as when you ask for a filtered view // of a very long list. Use this value in the NextToken request parameter in // a subsequent call to the operation to continue processing and get the next // part of the output. You should repeat this until the NextToken response element // comes back empty (as null). NextToken *string `type:"string"` // The response information for a quota lists all attribute information for // the quota. Quotas []ServiceQuota `type:"list"` // contains filtered or unexported fields }
func (ListServiceQuotasOutput) String ¶
func (s ListServiceQuotasOutput) String() string
String returns the string representation
type ListServiceQuotasPaginator ¶
ListServiceQuotasPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListServiceQuotasPaginator ¶
func NewListServiceQuotasPaginator(req ListServiceQuotasRequest) ListServiceQuotasPaginator
NewListServiceQuotasRequestPaginator returns a paginator for ListServiceQuotas. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListServiceQuotasRequest(input) p := servicequotas.NewListServiceQuotasRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListServiceQuotasPaginator) CurrentPage ¶
func (p *ListServiceQuotasPaginator) CurrentPage() *ListServiceQuotasOutput
type ListServiceQuotasRequest ¶
type ListServiceQuotasRequest struct { *aws.Request Input *ListServiceQuotasInput Copy func(*ListServiceQuotasInput) ListServiceQuotasRequest }
ListServiceQuotasRequest is the request type for the ListServiceQuotas API operation.
func (ListServiceQuotasRequest) Send ¶
func (r ListServiceQuotasRequest) Send(ctx context.Context) (*ListServiceQuotasResponse, error)
Send marshals and sends the ListServiceQuotas API request.
type ListServiceQuotasResponse ¶
type ListServiceQuotasResponse struct { *ListServiceQuotasOutput // contains filtered or unexported fields }
ListServiceQuotasResponse is the response type for the ListServiceQuotas API operation.
func (*ListServiceQuotasResponse) SDKResponseMetdata ¶
func (r *ListServiceQuotasResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListServiceQuotas request.
type ListServicesInput ¶
type ListServicesInput struct { // (Optional) Limits the number of results that you want to include in the response. // If you don't include this parameter, the response defaults to a value that's // specific to the operation. If additional items exist beyond the specified // maximum, the NextToken element is present and has a value (isn't null). Include // that value as the NextToken request parameter in the call to the operation // to get the next part of the results. You should check NextToken after every // operation to ensure that you receive all of the results. MaxResults *int64 `min:"1" type:"integer"` // (Optional) Use this parameter in a request if you receive a NextToken response // in a previous request that indicates that there's more output available. // In a subsequent call, set it to the value of the previous call's NextToken // response to indicate where the output should continue from. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListServicesInput) String ¶
func (s ListServicesInput) String() string
String returns the string representation
func (*ListServicesInput) Validate ¶
func (s *ListServicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListServicesOutput ¶
type ListServicesOutput struct { // If present in the response, this value indicates there's more output available // that what's included in the current response. This can occur even when the // response includes no values at all, such as when you ask for a filtered view // of a very long list. Use this value in the NextToken request parameter in // a subsequent call to the operation to continue processing and get the next // part of the output. You should repeat this until the NextToken response element // comes back empty (as null). NextToken *string `type:"string"` // Returns a list of services. Services []ServiceInfo `type:"list"` // contains filtered or unexported fields }
func (ListServicesOutput) String ¶
func (s ListServicesOutput) String() string
String returns the string representation
type ListServicesPaginator ¶
ListServicesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListServicesPaginator ¶
func NewListServicesPaginator(req ListServicesRequest) ListServicesPaginator
NewListServicesRequestPaginator returns a paginator for ListServices. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListServicesRequest(input) p := servicequotas.NewListServicesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListServicesPaginator) CurrentPage ¶
func (p *ListServicesPaginator) CurrentPage() *ListServicesOutput
type ListServicesRequest ¶
type ListServicesRequest struct { *aws.Request Input *ListServicesInput Copy func(*ListServicesInput) ListServicesRequest }
ListServicesRequest is the request type for the ListServices API operation.
func (ListServicesRequest) Send ¶
func (r ListServicesRequest) Send(ctx context.Context) (*ListServicesResponse, error)
Send marshals and sends the ListServices API request.
type ListServicesResponse ¶
type ListServicesResponse struct { *ListServicesOutput // contains filtered or unexported fields }
ListServicesResponse is the response type for the ListServices API operation.
func (*ListServicesResponse) SDKResponseMetdata ¶
func (r *ListServicesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListServices request.
type MetricInfo ¶
type MetricInfo struct { // A dimension is a name/value pair that is part of the identity of a metric. // Every metric has specific characteristics that describe it, and you can think // of dimensions as categories for those characteristics. These dimensions are // part of the CloudWatch Metric Identity that measures usage against a particular // service quota. MetricDimensions map[string]string `type:"map"` // The name of the CloudWatch metric that measures usage of a service quota. // This is a required field. MetricName *string `type:"string"` // The namespace of the metric. The namespace is a container for CloudWatch // metrics. You can specify a name for the namespace when you create a metric. MetricNamespace *string `type:"string"` // Statistics are metric data aggregations over specified periods of time. This // is the recommended statistic to use when comparing usage in the CloudWatch // Metric against your Service Quota. MetricStatisticRecommendation *string `min:"1" type:"string"` // contains filtered or unexported fields }
A structure that uses CloudWatch metrics to gather data about the service quota.
func (MetricInfo) String ¶
func (s MetricInfo) String() string
String returns the string representation
type PeriodUnit ¶
type PeriodUnit string
const ( PeriodUnitMicrosecond PeriodUnit = "MICROSECOND" PeriodUnitMillisecond PeriodUnit = "MILLISECOND" PeriodUnitSecond PeriodUnit = "SECOND" PeriodUnitMinute PeriodUnit = "MINUTE" PeriodUnitHour PeriodUnit = "HOUR" PeriodUnitDay PeriodUnit = "DAY" PeriodUnitWeek PeriodUnit = "WEEK" )
Enum values for PeriodUnit
func (PeriodUnit) MarshalValue ¶
func (enum PeriodUnit) MarshalValue() (string, error)
func (PeriodUnit) MarshalValueBuf ¶
func (enum PeriodUnit) MarshalValueBuf(b []byte) ([]byte, error)
type PutServiceQuotaIncreaseRequestIntoTemplateInput ¶
type PutServiceQuotaIncreaseRequestIntoTemplateInput struct { // Specifies the AWS Region for the quota. // // AwsRegion is a required field AwsRegion *string `min:"1" type:"string" required:"true"` // Specifies the new, increased value for the quota. // // DesiredValue is a required field DesiredValue *float64 `type:"double" required:"true"` // Specifies the service quota that you want to use. // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutServiceQuotaIncreaseRequestIntoTemplateInput) String ¶
func (s PutServiceQuotaIncreaseRequestIntoTemplateInput) String() string
String returns the string representation
func (*PutServiceQuotaIncreaseRequestIntoTemplateInput) Validate ¶
func (s *PutServiceQuotaIncreaseRequestIntoTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutServiceQuotaIncreaseRequestIntoTemplateOutput ¶
type PutServiceQuotaIncreaseRequestIntoTemplateOutput struct { // A structure that contains information about one service quota increase request. ServiceQuotaIncreaseRequestInTemplate *ServiceQuotaIncreaseRequestInTemplate `type:"structure"` // contains filtered or unexported fields }
func (PutServiceQuotaIncreaseRequestIntoTemplateOutput) String ¶
func (s PutServiceQuotaIncreaseRequestIntoTemplateOutput) String() string
String returns the string representation
type PutServiceQuotaIncreaseRequestIntoTemplateRequest ¶
type PutServiceQuotaIncreaseRequestIntoTemplateRequest struct { *aws.Request Input *PutServiceQuotaIncreaseRequestIntoTemplateInput Copy func(*PutServiceQuotaIncreaseRequestIntoTemplateInput) PutServiceQuotaIncreaseRequestIntoTemplateRequest }
PutServiceQuotaIncreaseRequestIntoTemplateRequest is the request type for the PutServiceQuotaIncreaseRequestIntoTemplate API operation.
func (PutServiceQuotaIncreaseRequestIntoTemplateRequest) Send ¶
func (r PutServiceQuotaIncreaseRequestIntoTemplateRequest) Send(ctx context.Context) (*PutServiceQuotaIncreaseRequestIntoTemplateResponse, error)
Send marshals and sends the PutServiceQuotaIncreaseRequestIntoTemplate API request.
type PutServiceQuotaIncreaseRequestIntoTemplateResponse ¶
type PutServiceQuotaIncreaseRequestIntoTemplateResponse struct { *PutServiceQuotaIncreaseRequestIntoTemplateOutput // contains filtered or unexported fields }
PutServiceQuotaIncreaseRequestIntoTemplateResponse is the response type for the PutServiceQuotaIncreaseRequestIntoTemplate API operation.
func (*PutServiceQuotaIncreaseRequestIntoTemplateResponse) SDKResponseMetdata ¶
func (r *PutServiceQuotaIncreaseRequestIntoTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutServiceQuotaIncreaseRequestIntoTemplate request.
type QuotaPeriod ¶
type QuotaPeriod struct { // The time unit of a period. PeriodUnit PeriodUnit `type:"string" enum:"true"` // The value of a period. PeriodValue *int64 `type:"integer"` // contains filtered or unexported fields }
A structure that contains information about the quota period.
func (QuotaPeriod) String ¶
func (s QuotaPeriod) String() string
String returns the string representation
type RequestServiceQuotaIncreaseInput ¶
type RequestServiceQuotaIncreaseInput struct { // Specifies the value submitted in the service quota increase request. // // DesiredValue is a required field DesiredValue *float64 `type:"double" required:"true"` // Specifies the service quota that you want to use. // // QuotaCode is a required field QuotaCode *string `min:"1" type:"string" required:"true"` // Specifies the service that you want to use. // // ServiceCode is a required field ServiceCode *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (RequestServiceQuotaIncreaseInput) String ¶
func (s RequestServiceQuotaIncreaseInput) String() string
String returns the string representation
func (*RequestServiceQuotaIncreaseInput) Validate ¶
func (s *RequestServiceQuotaIncreaseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RequestServiceQuotaIncreaseOutput ¶
type RequestServiceQuotaIncreaseOutput struct { // Returns a list of service quota requests. RequestedQuota *RequestedServiceQuotaChange `type:"structure"` // contains filtered or unexported fields }
func (RequestServiceQuotaIncreaseOutput) String ¶
func (s RequestServiceQuotaIncreaseOutput) String() string
String returns the string representation
type RequestServiceQuotaIncreaseRequest ¶
type RequestServiceQuotaIncreaseRequest struct { *aws.Request Input *RequestServiceQuotaIncreaseInput Copy func(*RequestServiceQuotaIncreaseInput) RequestServiceQuotaIncreaseRequest }
RequestServiceQuotaIncreaseRequest is the request type for the RequestServiceQuotaIncrease API operation.
func (RequestServiceQuotaIncreaseRequest) Send ¶
func (r RequestServiceQuotaIncreaseRequest) Send(ctx context.Context) (*RequestServiceQuotaIncreaseResponse, error)
Send marshals and sends the RequestServiceQuotaIncrease API request.
type RequestServiceQuotaIncreaseResponse ¶
type RequestServiceQuotaIncreaseResponse struct { *RequestServiceQuotaIncreaseOutput // contains filtered or unexported fields }
RequestServiceQuotaIncreaseResponse is the response type for the RequestServiceQuotaIncrease API operation.
func (*RequestServiceQuotaIncreaseResponse) SDKResponseMetdata ¶
func (r *RequestServiceQuotaIncreaseResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RequestServiceQuotaIncrease request.
type RequestStatus ¶
type RequestStatus string
const ( RequestStatusPending RequestStatus = "PENDING" RequestStatusCaseOpened RequestStatus = "CASE_OPENED" RequestStatusApproved RequestStatus = "APPROVED" RequestStatusDenied RequestStatus = "DENIED" RequestStatusCaseClosed RequestStatus = "CASE_CLOSED" )
Enum values for RequestStatus
func (RequestStatus) MarshalValue ¶
func (enum RequestStatus) MarshalValue() (string, error)
func (RequestStatus) MarshalValueBuf ¶
func (enum RequestStatus) MarshalValueBuf(b []byte) ([]byte, error)
type RequestedServiceQuotaChange ¶
type RequestedServiceQuotaChange struct { // The case Id for the service quota increase request. CaseId *string `type:"string"` // The date and time when the service quota increase request was received and // the case Id was created. Created *time.Time `type:"timestamp"` // New increased value for the service quota. DesiredValue *float64 `type:"double"` // Identifies if the quota is global. GlobalQuota *bool `type:"boolean"` // The unique identifier of a requested service quota change. Id *string `min:"1" type:"string"` // The date and time of the most recent change in the service quota increase // request. LastUpdated *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN) of the service quota. QuotaArn *string `type:"string"` // Specifies the service quota that you want to use. QuotaCode *string `min:"1" type:"string"` // Name of the service quota. QuotaName *string `type:"string"` // The IAM identity who submitted the service quota increase request. Requester *string `type:"string"` // Specifies the service that you want to use. ServiceCode *string `min:"1" type:"string"` // The name of the AWS service specified in the increase request. ServiceName *string `type:"string"` // State of the service quota increase request. Status RequestStatus `type:"string" enum:"true"` // Specifies the unit used for the quota. Unit *string `type:"string"` // contains filtered or unexported fields }
A structure that contains information about a requested change for a quota.
func (RequestedServiceQuotaChange) String ¶
func (s RequestedServiceQuotaChange) String() string
String returns the string representation
type ServiceInfo ¶
type ServiceInfo struct { // Specifies the service that you want to use. ServiceCode *string `min:"1" type:"string"` // The name of the AWS service specified in the increase request. ServiceName *string `type:"string"` // contains filtered or unexported fields }
A structure that contains the ServiceName and ServiceCode. It does not include all details of the service quota. To get those values, use the ListServiceQuotas operation.
func (ServiceInfo) String ¶
func (s ServiceInfo) String() string
String returns the string representation
type ServiceQuota ¶
type ServiceQuota struct { // Specifies if the quota value can be increased. Adjustable *bool `type:"boolean"` // Specifies the ErrorCode and ErrorMessage when success isn't achieved. ErrorReason *ErrorReason `type:"structure"` // Specifies if the quota is global. GlobalQuota *bool `type:"boolean"` // Identifies the unit and value of how time is measured. Period *QuotaPeriod `type:"structure"` // The Amazon Resource Name (ARN) of the service quota. QuotaArn *string `type:"string"` // The code identifier for the service quota specified. QuotaCode *string `min:"1" type:"string"` // The name identifier of the service quota. QuotaName *string `type:"string"` // Specifies the service that you want to use. ServiceCode *string `min:"1" type:"string"` // The name of the AWS service specified in the increase request. ServiceName *string `type:"string"` // The unit of measurement for the value of the service quota. Unit *string `type:"string"` // Specifies the details about the measurement. UsageMetric *MetricInfo `type:"structure"` // The value of service quota. Value *float64 `type:"double"` // contains filtered or unexported fields }
A structure that contains the full set of details that define the service quota.
func (ServiceQuota) String ¶
func (s ServiceQuota) String() string
String returns the string representation
type ServiceQuotaIncreaseRequestInTemplate ¶
type ServiceQuotaIncreaseRequestInTemplate struct { // The AWS Region where the increase request occurs. AwsRegion *string `min:"1" type:"string"` // Identifies the new, increased value of the service quota in the increase // request. DesiredValue *float64 `type:"double"` // Specifies if the quota is a global quota. GlobalQuota *bool `type:"boolean"` // The code identifier for the service quota specified in the increase request. QuotaCode *string `min:"1" type:"string"` // The name of the service quota in the increase request. QuotaName *string `type:"string"` // The code identifier for the AWS service specified in the increase request. ServiceCode *string `min:"1" type:"string"` // The name of the AWS service specified in the increase request. ServiceName *string `type:"string"` // The unit of measure for the increase request. Unit *string `type:"string"` // contains filtered or unexported fields }
A structure that contains information about one service quota increase request.
func (ServiceQuotaIncreaseRequestInTemplate) String ¶
func (s ServiceQuotaIncreaseRequestInTemplate) String() string
String returns the string representation
type ServiceQuotaTemplateAssociationStatus ¶
type ServiceQuotaTemplateAssociationStatus string
const ( ServiceQuotaTemplateAssociationStatusAssociated ServiceQuotaTemplateAssociationStatus = "ASSOCIATED" ServiceQuotaTemplateAssociationStatusDisassociated ServiceQuotaTemplateAssociationStatus = "DISASSOCIATED" )
Enum values for ServiceQuotaTemplateAssociationStatus
func (ServiceQuotaTemplateAssociationStatus) MarshalValue ¶
func (enum ServiceQuotaTemplateAssociationStatus) MarshalValue() (string, error)
func (ServiceQuotaTemplateAssociationStatus) MarshalValueBuf ¶
func (enum ServiceQuotaTemplateAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AssociateServiceQuotaTemplate.go
- api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go
- api_op_DisassociateServiceQuotaTemplate.go
- api_op_GetAWSDefaultServiceQuota.go
- api_op_GetAssociationForServiceQuotaTemplate.go
- api_op_GetRequestedServiceQuotaChange.go
- api_op_GetServiceQuota.go
- api_op_GetServiceQuotaIncreaseRequestFromTemplate.go
- api_op_ListAWSDefaultServiceQuotas.go
- api_op_ListRequestedServiceQuotaChangeHistory.go
- api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go
- api_op_ListServiceQuotaIncreaseRequestsInTemplate.go
- api_op_ListServiceQuotas.go
- api_op_ListServices.go
- api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go
- api_op_RequestServiceQuotaIncrease.go
- api_types.go
Directories ¶
Path | Synopsis |
---|---|
Package servicequotasiface provides an interface to enable mocking the Service Quotas service client for testing your code.
|
Package servicequotasiface provides an interface to enable mocking the Service Quotas service client for testing your code. |