package servicequotas
import "github.com/aws/aws-sdk-go-v2/service/servicequotas"
Package servicequotas provides the API client, operations, and parameter types for Service Quotas.
With Service Quotas, you can view and manage your quotas easily as your AWS workloads grow. Quotas, also referred to as limits, are the maximum number of resources that you can create in your AWS account. For more information, see the Service Quotas User Guide (https://docs.aws.amazon.com/servicequotas/latest/userguide/).
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AssociateServiceQuotaTemplateInput
- type AssociateServiceQuotaTemplateOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AssociateServiceQuotaTemplate(ctx context.Context, params *AssociateServiceQuotaTemplateInput, optFns ...func(*Options)) (*AssociateServiceQuotaTemplateOutput, error)
- func (c *Client) DeleteServiceQuotaIncreaseRequestFromTemplate(ctx context.Context, params *DeleteServiceQuotaIncreaseRequestFromTemplateInput, optFns ...func(*Options)) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error)
- func (c *Client) DisassociateServiceQuotaTemplate(ctx context.Context, params *DisassociateServiceQuotaTemplateInput, optFns ...func(*Options)) (*DisassociateServiceQuotaTemplateOutput, error)
- func (c *Client) GetAWSDefaultServiceQuota(ctx context.Context, params *GetAWSDefaultServiceQuotaInput, optFns ...func(*Options)) (*GetAWSDefaultServiceQuotaOutput, error)
- func (c *Client) GetAssociationForServiceQuotaTemplate(ctx context.Context, params *GetAssociationForServiceQuotaTemplateInput, optFns ...func(*Options)) (*GetAssociationForServiceQuotaTemplateOutput, error)
- func (c *Client) GetRequestedServiceQuotaChange(ctx context.Context, params *GetRequestedServiceQuotaChangeInput, optFns ...func(*Options)) (*GetRequestedServiceQuotaChangeOutput, error)
- func (c *Client) GetServiceQuota(ctx context.Context, params *GetServiceQuotaInput, optFns ...func(*Options)) (*GetServiceQuotaOutput, error)
- func (c *Client) GetServiceQuotaIncreaseRequestFromTemplate(ctx context.Context, params *GetServiceQuotaIncreaseRequestFromTemplateInput, optFns ...func(*Options)) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error)
- func (c *Client) ListAWSDefaultServiceQuotas(ctx context.Context, params *ListAWSDefaultServiceQuotasInput, optFns ...func(*Options)) (*ListAWSDefaultServiceQuotasOutput, error)
- func (c *Client) ListRequestedServiceQuotaChangeHistory(ctx context.Context, params *ListRequestedServiceQuotaChangeHistoryInput, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error)
- func (c *Client) ListRequestedServiceQuotaChangeHistoryByQuota(ctx context.Context, params *ListRequestedServiceQuotaChangeHistoryByQuotaInput, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error)
- func (c *Client) ListServiceQuotaIncreaseRequestsInTemplate(ctx context.Context, params *ListServiceQuotaIncreaseRequestsInTemplateInput, optFns ...func(*Options)) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error)
- func (c *Client) ListServiceQuotas(ctx context.Context, params *ListServiceQuotasInput, optFns ...func(*Options)) (*ListServiceQuotasOutput, error)
- func (c *Client) ListServices(ctx context.Context, params *ListServicesInput, optFns ...func(*Options)) (*ListServicesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) PutServiceQuotaIncreaseRequestIntoTemplate(ctx context.Context, params *PutServiceQuotaIncreaseRequestIntoTemplateInput, optFns ...func(*Options)) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error)
- func (c *Client) RequestServiceQuotaIncrease(ctx context.Context, params *RequestServiceQuotaIncreaseInput, optFns ...func(*Options)) (*RequestServiceQuotaIncreaseOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- type DeleteServiceQuotaIncreaseRequestFromTemplateInput
- type DeleteServiceQuotaIncreaseRequestFromTemplateOutput
- type DisassociateServiceQuotaTemplateInput
- type DisassociateServiceQuotaTemplateOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAWSDefaultServiceQuotaInput
- type GetAWSDefaultServiceQuotaOutput
- type GetAssociationForServiceQuotaTemplateInput
- type GetAssociationForServiceQuotaTemplateOutput
- type GetRequestedServiceQuotaChangeInput
- type GetRequestedServiceQuotaChangeOutput
- type GetServiceQuotaIncreaseRequestFromTemplateInput
- type GetServiceQuotaIncreaseRequestFromTemplateOutput
- type GetServiceQuotaInput
- type GetServiceQuotaOutput
- type HTTPClient
- type HTTPSignerV4
- type ListAWSDefaultServiceQuotasAPIClient
- type ListAWSDefaultServiceQuotasInput
- type ListAWSDefaultServiceQuotasOutput
- type ListAWSDefaultServiceQuotasPaginator
- func NewListAWSDefaultServiceQuotasPaginator(client ListAWSDefaultServiceQuotasAPIClient, params *ListAWSDefaultServiceQuotasInput, optFns ...func(*ListAWSDefaultServiceQuotasPaginatorOptions)) *ListAWSDefaultServiceQuotasPaginator
- func (p *ListAWSDefaultServiceQuotasPaginator) HasMorePages() bool
- func (p *ListAWSDefaultServiceQuotasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAWSDefaultServiceQuotasOutput, error)
- type ListAWSDefaultServiceQuotasPaginatorOptions
- type ListRequestedServiceQuotaChangeHistoryAPIClient
- type ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient
- type ListRequestedServiceQuotaChangeHistoryByQuotaInput
- type ListRequestedServiceQuotaChangeHistoryByQuotaOutput
- type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator
- func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator(client ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient, params *ListRequestedServiceQuotaChangeHistoryByQuotaInput, optFns ...func(*ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions)) *ListRequestedServiceQuotaChangeHistoryByQuotaPaginator
- func (p *ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) HasMorePages() bool
- func (p *ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error)
- type ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions
- type ListRequestedServiceQuotaChangeHistoryInput
- type ListRequestedServiceQuotaChangeHistoryOutput
- type ListRequestedServiceQuotaChangeHistoryPaginator
- func NewListRequestedServiceQuotaChangeHistoryPaginator(client ListRequestedServiceQuotaChangeHistoryAPIClient, params *ListRequestedServiceQuotaChangeHistoryInput, optFns ...func(*ListRequestedServiceQuotaChangeHistoryPaginatorOptions)) *ListRequestedServiceQuotaChangeHistoryPaginator
- func (p *ListRequestedServiceQuotaChangeHistoryPaginator) HasMorePages() bool
- func (p *ListRequestedServiceQuotaChangeHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error)
- type ListRequestedServiceQuotaChangeHistoryPaginatorOptions
- type ListServiceQuotaIncreaseRequestsInTemplateAPIClient
- type ListServiceQuotaIncreaseRequestsInTemplateInput
- type ListServiceQuotaIncreaseRequestsInTemplateOutput
- type ListServiceQuotaIncreaseRequestsInTemplatePaginator
- func NewListServiceQuotaIncreaseRequestsInTemplatePaginator(client ListServiceQuotaIncreaseRequestsInTemplateAPIClient, params *ListServiceQuotaIncreaseRequestsInTemplateInput, optFns ...func(*ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions)) *ListServiceQuotaIncreaseRequestsInTemplatePaginator
- func (p *ListServiceQuotaIncreaseRequestsInTemplatePaginator) HasMorePages() bool
- func (p *ListServiceQuotaIncreaseRequestsInTemplatePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error)
- type ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions
- type ListServiceQuotasAPIClient
- type ListServiceQuotasInput
- type ListServiceQuotasOutput
- type ListServiceQuotasPaginator
- func NewListServiceQuotasPaginator(client ListServiceQuotasAPIClient, params *ListServiceQuotasInput, optFns ...func(*ListServiceQuotasPaginatorOptions)) *ListServiceQuotasPaginator
- func (p *ListServiceQuotasPaginator) HasMorePages() bool
- func (p *ListServiceQuotasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceQuotasOutput, error)
- type ListServiceQuotasPaginatorOptions
- type ListServicesAPIClient
- type ListServicesInput
- type ListServicesOutput
- type ListServicesPaginator
- func NewListServicesPaginator(client ListServicesAPIClient, params *ListServicesInput, optFns ...func(*ListServicesPaginatorOptions)) *ListServicesPaginator
- func (p *ListServicesPaginator) HasMorePages() bool
- func (p *ListServicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServicesOutput, error)
- type ListServicesPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type PutServiceQuotaIncreaseRequestIntoTemplateInput
- type PutServiceQuotaIncreaseRequestIntoTemplateOutput
- type RequestServiceQuotaIncreaseInput
- type RequestServiceQuotaIncreaseOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
Constants ¶
const ServiceAPIVersion = "2019-06-24"
const ServiceID = "Service Quotas"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AssociateServiceQuotaTemplateInput ¶
type AssociateServiceQuotaTemplateInput struct { }
type AssociateServiceQuotaTemplateOutput ¶
type AssociateServiceQuotaTemplateOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Service Quotas.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateServiceQuotaTemplate ¶
func (c *Client) AssociateServiceQuotaTemplate(ctx context.Context, params *AssociateServiceQuotaTemplateInput, optFns ...func(*Options)) (*AssociateServiceQuotaTemplateOutput, error)
Associates your quota request template with your organization. When a new account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template.
func (*Client) DeleteServiceQuotaIncreaseRequestFromTemplate ¶
func (c *Client) DeleteServiceQuotaIncreaseRequestFromTemplate(ctx context.Context, params *DeleteServiceQuotaIncreaseRequestFromTemplateInput, optFns ...func(*Options)) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error)
Deletes the quota increase request for the specified quota from your quota request template.
func (*Client) DisassociateServiceQuotaTemplate ¶
func (c *Client) DisassociateServiceQuotaTemplate(ctx context.Context, params *DisassociateServiceQuotaTemplateInput, optFns ...func(*Options)) (*DisassociateServiceQuotaTemplateOutput, error)
Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new accounts in your organization. Disabling a quota request template does not apply its quota increase requests.
func (*Client) GetAWSDefaultServiceQuota ¶
func (c *Client) GetAWSDefaultServiceQuota(ctx context.Context, params *GetAWSDefaultServiceQuotaInput, optFns ...func(*Options)) (*GetAWSDefaultServiceQuotaOutput, error)
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
func (*Client) GetAssociationForServiceQuotaTemplate ¶
func (c *Client) GetAssociationForServiceQuotaTemplate(ctx context.Context, params *GetAssociationForServiceQuotaTemplateInput, optFns ...func(*Options)) (*GetAssociationForServiceQuotaTemplateOutput, error)
Retrieves the status of the association for the quota request template.
func (*Client) GetRequestedServiceQuotaChange ¶
func (c *Client) GetRequestedServiceQuotaChange(ctx context.Context, params *GetRequestedServiceQuotaChangeInput, optFns ...func(*Options)) (*GetRequestedServiceQuotaChangeOutput, error)
Retrieves information about the specified quota increase request.
func (*Client) GetServiceQuota ¶
func (c *Client) GetServiceQuota(ctx context.Context, params *GetServiceQuotaInput, optFns ...func(*Options)) (*GetServiceQuotaOutput, error)
Retrieves the applied quota value for the specified quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
func (*Client) GetServiceQuotaIncreaseRequestFromTemplate ¶
func (c *Client) GetServiceQuotaIncreaseRequestFromTemplate(ctx context.Context, params *GetServiceQuotaIncreaseRequestFromTemplateInput, optFns ...func(*Options)) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error)
Retrieves information about the specified quota increase request in your quota request template.
func (*Client) ListAWSDefaultServiceQuotas ¶
func (c *Client) ListAWSDefaultServiceQuotas(ctx context.Context, params *ListAWSDefaultServiceQuotasInput, optFns ...func(*Options)) (*ListAWSDefaultServiceQuotasOutput, error)
Lists the default values for the quotas for the specified AWS service. A default value does not reflect any quota increases.
func (*Client) ListRequestedServiceQuotaChangeHistory ¶
func (c *Client) ListRequestedServiceQuotaChangeHistory(ctx context.Context, params *ListRequestedServiceQuotaChangeHistoryInput, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error)
Retrieves the quota increase requests for the specified service.
func (*Client) ListRequestedServiceQuotaChangeHistoryByQuota ¶
func (c *Client) ListRequestedServiceQuotaChangeHistoryByQuota(ctx context.Context, params *ListRequestedServiceQuotaChangeHistoryByQuotaInput, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error)
Retrieves the quota increase requests for the specified quota.
func (*Client) ListServiceQuotaIncreaseRequestsInTemplate ¶
func (c *Client) ListServiceQuotaIncreaseRequestsInTemplate(ctx context.Context, params *ListServiceQuotaIncreaseRequestsInTemplateInput, optFns ...func(*Options)) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error)
Lists the quota increase requests in the specified quota request template.
func (*Client) ListServiceQuotas ¶
func (c *Client) ListServiceQuotas(ctx context.Context, params *ListServiceQuotasInput, optFns ...func(*Options)) (*ListServiceQuotasOutput, error)
Lists the applied quota values for the specified AWS service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
func (*Client) ListServices ¶
func (c *Client) ListServices(ctx context.Context, params *ListServicesInput, optFns ...func(*Options)) (*ListServicesOutput, error)
Lists the names and codes for the services integrated with Service Quotas.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Returns a list of the tags assigned to the specified applied quota.
func (*Client) PutServiceQuotaIncreaseRequestIntoTemplate ¶
func (c *Client) PutServiceQuotaIncreaseRequestIntoTemplate(ctx context.Context, params *PutServiceQuotaIncreaseRequestIntoTemplateInput, optFns ...func(*Options)) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error)
Adds a quota increase request to your quota request template.
func (*Client) RequestServiceQuotaIncrease ¶
func (c *Client) RequestServiceQuotaIncrease(ctx context.Context, params *RequestServiceQuotaIncreaseInput, optFns ...func(*Options)) (*RequestServiceQuotaIncreaseOutput, error)
Submits a quota increase request for the specified quota.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags from the specified applied quota. You can specify one or more tags to remove.
type DeleteServiceQuotaIncreaseRequestFromTemplateInput ¶
type DeleteServiceQuotaIncreaseRequestFromTemplateInput struct { // The AWS Region. // // This member is required. AwsRegion *string // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string }
type DeleteServiceQuotaIncreaseRequestFromTemplateOutput ¶
type DeleteServiceQuotaIncreaseRequestFromTemplateOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateServiceQuotaTemplateInput ¶
type DisassociateServiceQuotaTemplateInput struct { }
type DisassociateServiceQuotaTemplateOutput ¶
type DisassociateServiceQuotaTemplateOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetAWSDefaultServiceQuotaInput ¶
type GetAWSDefaultServiceQuotaInput struct { // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string }
type GetAWSDefaultServiceQuotaOutput ¶
type GetAWSDefaultServiceQuotaOutput struct { // Information about the quota. Quota *types.ServiceQuota // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAssociationForServiceQuotaTemplateInput ¶
type GetAssociationForServiceQuotaTemplateInput struct { }
type GetAssociationForServiceQuotaTemplateOutput ¶
type GetAssociationForServiceQuotaTemplateOutput struct { // The association status. If the status is ASSOCIATED, the quota increase requests // in the template are automatically applied to new accounts in your organization. ServiceQuotaTemplateAssociationStatus types.ServiceQuotaTemplateAssociationStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetRequestedServiceQuotaChangeInput ¶
type GetRequestedServiceQuotaChangeInput struct { // The ID of the quota increase request. // // This member is required. RequestId *string }
type GetRequestedServiceQuotaChangeOutput ¶
type GetRequestedServiceQuotaChangeOutput struct { // Information about the quota increase request. RequestedQuota *types.RequestedServiceQuotaChange // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetServiceQuotaIncreaseRequestFromTemplateInput ¶
type GetServiceQuotaIncreaseRequestFromTemplateInput struct { // The AWS Region. // // This member is required. AwsRegion *string // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string }
type GetServiceQuotaIncreaseRequestFromTemplateOutput ¶
type GetServiceQuotaIncreaseRequestFromTemplateOutput struct { // Information about the quota increase request. ServiceQuotaIncreaseRequestInTemplate *types.ServiceQuotaIncreaseRequestInTemplate // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetServiceQuotaInput ¶
type GetServiceQuotaInput struct { // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string }
type GetServiceQuotaOutput ¶
type GetServiceQuotaOutput struct { // Information about the quota. Quota *types.ServiceQuota // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type ListAWSDefaultServiceQuotasAPIClient ¶
type ListAWSDefaultServiceQuotasAPIClient interface { ListAWSDefaultServiceQuotas(context.Context, *ListAWSDefaultServiceQuotasInput, ...func(*Options)) (*ListAWSDefaultServiceQuotasOutput, error) }
ListAWSDefaultServiceQuotasAPIClient is a client that implements the ListAWSDefaultServiceQuotas operation.
type ListAWSDefaultServiceQuotasInput ¶
type ListAWSDefaultServiceQuotasInput struct { // The service identifier. // // This member is required. ServiceCode *string // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. MaxResults *int32 // The token for the next page of results. NextToken *string }
type ListAWSDefaultServiceQuotasOutput ¶
type ListAWSDefaultServiceQuotasOutput struct { // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Information about the quotas. Quotas []types.ServiceQuota // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAWSDefaultServiceQuotasPaginator ¶
type ListAWSDefaultServiceQuotasPaginator struct {
// contains filtered or unexported fields
}
ListAWSDefaultServiceQuotasPaginator is a paginator for ListAWSDefaultServiceQuotas
func NewListAWSDefaultServiceQuotasPaginator ¶
func NewListAWSDefaultServiceQuotasPaginator(client ListAWSDefaultServiceQuotasAPIClient, params *ListAWSDefaultServiceQuotasInput, optFns ...func(*ListAWSDefaultServiceQuotasPaginatorOptions)) *ListAWSDefaultServiceQuotasPaginator
NewListAWSDefaultServiceQuotasPaginator returns a new ListAWSDefaultServiceQuotasPaginator
func (*ListAWSDefaultServiceQuotasPaginator) HasMorePages ¶
func (p *ListAWSDefaultServiceQuotasPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAWSDefaultServiceQuotasPaginator) NextPage ¶
func (p *ListAWSDefaultServiceQuotasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAWSDefaultServiceQuotasOutput, error)
NextPage retrieves the next ListAWSDefaultServiceQuotas page.
type ListAWSDefaultServiceQuotasPaginatorOptions ¶
type ListAWSDefaultServiceQuotasPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAWSDefaultServiceQuotasPaginatorOptions is the paginator options for ListAWSDefaultServiceQuotas
type ListRequestedServiceQuotaChangeHistoryAPIClient ¶
type ListRequestedServiceQuotaChangeHistoryAPIClient interface { ListRequestedServiceQuotaChangeHistory(context.Context, *ListRequestedServiceQuotaChangeHistoryInput, ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error) }
ListRequestedServiceQuotaChangeHistoryAPIClient is a client that implements the ListRequestedServiceQuotaChangeHistory operation.
type ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient interface { ListRequestedServiceQuotaChangeHistoryByQuota(context.Context, *ListRequestedServiceQuotaChangeHistoryByQuotaInput, ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error) }
ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient is a client that implements the ListRequestedServiceQuotaChangeHistoryByQuota operation.
type ListRequestedServiceQuotaChangeHistoryByQuotaInput ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaInput struct { // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. MaxResults *int32 // The token for the next page of results. NextToken *string // The status value of the quota increase request. Status types.RequestStatus }
type ListRequestedServiceQuotaChangeHistoryByQuotaOutput ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaOutput struct { // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Information about the quota increase requests. RequestedQuotas []types.RequestedServiceQuotaChange // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator struct {
// contains filtered or unexported fields
}
ListRequestedServiceQuotaChangeHistoryByQuotaPaginator is a paginator for ListRequestedServiceQuotaChangeHistoryByQuota
func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator ¶
func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator(client ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient, params *ListRequestedServiceQuotaChangeHistoryByQuotaInput, optFns ...func(*ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions)) *ListRequestedServiceQuotaChangeHistoryByQuotaPaginator
NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator returns a new ListRequestedServiceQuotaChangeHistoryByQuotaPaginator
func (*ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) HasMorePages ¶
func (p *ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) NextPage ¶
func (p *ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error)
NextPage retrieves the next ListRequestedServiceQuotaChangeHistoryByQuota page.
type ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions ¶
type ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions is the paginator options for ListRequestedServiceQuotaChangeHistoryByQuota
type ListRequestedServiceQuotaChangeHistoryInput ¶
type ListRequestedServiceQuotaChangeHistoryInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. MaxResults *int32 // The token for the next page of results. NextToken *string // The service identifier. ServiceCode *string // The status of the quota increase request. Status types.RequestStatus }
type ListRequestedServiceQuotaChangeHistoryOutput ¶
type ListRequestedServiceQuotaChangeHistoryOutput struct { // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Information about the quota increase requests. RequestedQuotas []types.RequestedServiceQuotaChange // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListRequestedServiceQuotaChangeHistoryPaginator ¶
type ListRequestedServiceQuotaChangeHistoryPaginator struct {
// contains filtered or unexported fields
}
ListRequestedServiceQuotaChangeHistoryPaginator is a paginator for ListRequestedServiceQuotaChangeHistory
func NewListRequestedServiceQuotaChangeHistoryPaginator ¶
func NewListRequestedServiceQuotaChangeHistoryPaginator(client ListRequestedServiceQuotaChangeHistoryAPIClient, params *ListRequestedServiceQuotaChangeHistoryInput, optFns ...func(*ListRequestedServiceQuotaChangeHistoryPaginatorOptions)) *ListRequestedServiceQuotaChangeHistoryPaginator
NewListRequestedServiceQuotaChangeHistoryPaginator returns a new ListRequestedServiceQuotaChangeHistoryPaginator
func (*ListRequestedServiceQuotaChangeHistoryPaginator) HasMorePages ¶
func (p *ListRequestedServiceQuotaChangeHistoryPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRequestedServiceQuotaChangeHistoryPaginator) NextPage ¶
func (p *ListRequestedServiceQuotaChangeHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error)
NextPage retrieves the next ListRequestedServiceQuotaChangeHistory page.
type ListRequestedServiceQuotaChangeHistoryPaginatorOptions ¶
type ListRequestedServiceQuotaChangeHistoryPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRequestedServiceQuotaChangeHistoryPaginatorOptions is the paginator options for ListRequestedServiceQuotaChangeHistory
type ListServiceQuotaIncreaseRequestsInTemplateAPIClient ¶
type ListServiceQuotaIncreaseRequestsInTemplateAPIClient interface { ListServiceQuotaIncreaseRequestsInTemplate(context.Context, *ListServiceQuotaIncreaseRequestsInTemplateInput, ...func(*Options)) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error) }
ListServiceQuotaIncreaseRequestsInTemplateAPIClient is a client that implements the ListServiceQuotaIncreaseRequestsInTemplate operation.
type ListServiceQuotaIncreaseRequestsInTemplateInput ¶
type ListServiceQuotaIncreaseRequestsInTemplateInput struct { // The AWS Region. AwsRegion *string // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. MaxResults *int32 // The token for the next page of results. NextToken *string // The service identifier. ServiceCode *string }
type ListServiceQuotaIncreaseRequestsInTemplateOutput ¶
type ListServiceQuotaIncreaseRequestsInTemplateOutput struct { // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Information about the quota increase requests. ServiceQuotaIncreaseRequestInTemplateList []types.ServiceQuotaIncreaseRequestInTemplate // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListServiceQuotaIncreaseRequestsInTemplatePaginator ¶
type ListServiceQuotaIncreaseRequestsInTemplatePaginator struct {
// contains filtered or unexported fields
}
ListServiceQuotaIncreaseRequestsInTemplatePaginator is a paginator for ListServiceQuotaIncreaseRequestsInTemplate
func NewListServiceQuotaIncreaseRequestsInTemplatePaginator ¶
func NewListServiceQuotaIncreaseRequestsInTemplatePaginator(client ListServiceQuotaIncreaseRequestsInTemplateAPIClient, params *ListServiceQuotaIncreaseRequestsInTemplateInput, optFns ...func(*ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions)) *ListServiceQuotaIncreaseRequestsInTemplatePaginator
NewListServiceQuotaIncreaseRequestsInTemplatePaginator returns a new ListServiceQuotaIncreaseRequestsInTemplatePaginator
func (*ListServiceQuotaIncreaseRequestsInTemplatePaginator) HasMorePages ¶
func (p *ListServiceQuotaIncreaseRequestsInTemplatePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceQuotaIncreaseRequestsInTemplatePaginator) NextPage ¶
func (p *ListServiceQuotaIncreaseRequestsInTemplatePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error)
NextPage retrieves the next ListServiceQuotaIncreaseRequestsInTemplate page.
type ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions ¶
type ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions is the paginator options for ListServiceQuotaIncreaseRequestsInTemplate
type ListServiceQuotasAPIClient ¶
type ListServiceQuotasAPIClient interface { ListServiceQuotas(context.Context, *ListServiceQuotasInput, ...func(*Options)) (*ListServiceQuotasOutput, error) }
ListServiceQuotasAPIClient is a client that implements the ListServiceQuotas operation.
type ListServiceQuotasInput ¶
type ListServiceQuotasInput struct { // The service identifier. // // This member is required. ServiceCode *string // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. MaxResults *int32 // The token for the next page of results. NextToken *string }
type ListServiceQuotasOutput ¶
type ListServiceQuotasOutput struct { // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Information about the quotas. Quotas []types.ServiceQuota // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListServiceQuotasPaginator ¶
type ListServiceQuotasPaginator struct {
// contains filtered or unexported fields
}
ListServiceQuotasPaginator is a paginator for ListServiceQuotas
func NewListServiceQuotasPaginator ¶
func NewListServiceQuotasPaginator(client ListServiceQuotasAPIClient, params *ListServiceQuotasInput, optFns ...func(*ListServiceQuotasPaginatorOptions)) *ListServiceQuotasPaginator
NewListServiceQuotasPaginator returns a new ListServiceQuotasPaginator
func (*ListServiceQuotasPaginator) HasMorePages ¶
func (p *ListServiceQuotasPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServiceQuotasPaginator) NextPage ¶
func (p *ListServiceQuotasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceQuotasOutput, error)
NextPage retrieves the next ListServiceQuotas page.
type ListServiceQuotasPaginatorOptions ¶
type ListServiceQuotasPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServiceQuotasPaginatorOptions is the paginator options for ListServiceQuotas
type ListServicesAPIClient ¶
type ListServicesAPIClient interface { ListServices(context.Context, *ListServicesInput, ...func(*Options)) (*ListServicesOutput, error) }
ListServicesAPIClient is a client that implements the ListServices operation.
type ListServicesInput ¶
type ListServicesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. MaxResults *int32 // The token for the next page of results. NextToken *string }
type ListServicesOutput ¶
type ListServicesOutput struct { // The token to use to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string // Information about the services. Services []types.ServiceInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListServicesPaginator ¶
type ListServicesPaginator struct {
// contains filtered or unexported fields
}
ListServicesPaginator is a paginator for ListServices
func NewListServicesPaginator ¶
func NewListServicesPaginator(client ListServicesAPIClient, params *ListServicesInput, optFns ...func(*ListServicesPaginatorOptions)) *ListServicesPaginator
NewListServicesPaginator returns a new ListServicesPaginator
func (*ListServicesPaginator) HasMorePages ¶
func (p *ListServicesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListServicesPaginator) NextPage ¶
func (p *ListServicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServicesOutput, error)
NextPage retrieves the next ListServices page.
type ListServicesPaginatorOptions ¶
type ListServicesPaginatorOptions struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, if any, make another call with the token returned from this // call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListServicesPaginatorOptions is the paginator options for ListServices
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the applied quota for which you want to list // tags. You can get this information by using the Service Quotas console, or by // listing the quotas using the list-service-quotas // (https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html) // AWS CLI command or the ListServiceQuotas // (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html) // AWS API operation. // // This member is required. ResourceARN *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A complex data type that contains zero or more tag elements. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type PutServiceQuotaIncreaseRequestIntoTemplateInput ¶
type PutServiceQuotaIncreaseRequestIntoTemplateInput struct { // The AWS Region. // // This member is required. AwsRegion *string // The new, increased value for the quota. // // This member is required. DesiredValue *float64 // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string }
type PutServiceQuotaIncreaseRequestIntoTemplateOutput ¶
type PutServiceQuotaIncreaseRequestIntoTemplateOutput struct { // Information about the quota increase request. ServiceQuotaIncreaseRequestInTemplate *types.ServiceQuotaIncreaseRequestInTemplate // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RequestServiceQuotaIncreaseInput ¶
type RequestServiceQuotaIncreaseInput struct { // The new, increased value for the quota. // // This member is required. DesiredValue *float64 // The quota identifier. // // This member is required. QuotaCode *string // The service identifier. // // This member is required. ServiceCode *string }
type RequestServiceQuotaIncreaseOutput ¶
type RequestServiceQuotaIncreaseOutput struct { // Information about the quota increase request. RequestedQuota *types.RequestedServiceQuotaChange // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) for the applied quota. You can get this // information by using the Service Quotas console, or by listing the quotas using // the list-service-quotas // (https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html) // AWS CLI command or the ListServiceQuotas // (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html) // AWS API operation. // // This member is required. ResourceARN *string // The tags that you want to add to the resource. // // This member is required. Tags []types.Tag }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) for the applied quota that you want to untag. You // can get this information by using the Service Quotas console, or by listing the // quotas using the list-service-quotas // (https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html) // AWS CLI command or the ListServiceQuotas // (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html) // AWS API operation. // // This member is required. ResourceARN *string // The keys of the tags that you want to remove from the resource. // // This member is required. TagKeys []string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.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_ListTagsForResource.go api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go api_op_RequestServiceQuotaIncrease.go api_op_TagResource.go api_op_UntagResource.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.1.2
- Published
- Mar 13, 2021
- Platform
- js/wasm
- Imports
- 27 packages
- Last checked
- now –
Tools for package owners.