servicequotas

package module
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 27 Imported by: 34

Documentation

Overview

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

View Source
const ServiceAPIVersion = "2019-06-24"
View Source
const ServiceID = "Service Quotas"

Variables

This section is empty.

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions added in v1.0.0

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

func New(options Options, optFns ...func(*Options)) *Client

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

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

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 added in v0.31.0

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 added in v0.31.0

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 added in v0.31.0

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 added in v1.1.0

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 added in v0.29.0

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 HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

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 added in v0.30.0

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 added in v0.30.0

type ListAWSDefaultServiceQuotasPaginator struct {
	// contains filtered or unexported fields
}

ListAWSDefaultServiceQuotasPaginator is a paginator for ListAWSDefaultServiceQuotas

func NewListAWSDefaultServiceQuotasPaginator added in v0.30.0

NewListAWSDefaultServiceQuotasPaginator returns a new ListAWSDefaultServiceQuotasPaginator

func (*ListAWSDefaultServiceQuotasPaginator) HasMorePages added in v0.30.0

func (p *ListAWSDefaultServiceQuotasPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListAWSDefaultServiceQuotasPaginator) NextPage added in v0.30.0

NextPage retrieves the next ListAWSDefaultServiceQuotas page.

type ListAWSDefaultServiceQuotasPaginatorOptions added in v0.30.0

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 added in v0.30.0

type ListRequestedServiceQuotaChangeHistoryAPIClient interface {
	ListRequestedServiceQuotaChangeHistory(context.Context, *ListRequestedServiceQuotaChangeHistoryInput, ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error)
}

ListRequestedServiceQuotaChangeHistoryAPIClient is a client that implements the ListRequestedServiceQuotaChangeHistory operation.

type ListRequestedServiceQuotaChangeHistoryByQuotaAPIClient added in v0.30.0

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 added in v0.30.0

type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator struct {
	// contains filtered or unexported fields
}

ListRequestedServiceQuotaChangeHistoryByQuotaPaginator is a paginator for ListRequestedServiceQuotaChangeHistoryByQuota

func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator added in v0.30.0

NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator returns a new ListRequestedServiceQuotaChangeHistoryByQuotaPaginator

func (*ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) NextPage added in v0.30.0

NextPage retrieves the next ListRequestedServiceQuotaChangeHistoryByQuota page.

type ListRequestedServiceQuotaChangeHistoryByQuotaPaginatorOptions added in v0.30.0

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 added in v0.30.0

type ListRequestedServiceQuotaChangeHistoryPaginator struct {
	// contains filtered or unexported fields
}

ListRequestedServiceQuotaChangeHistoryPaginator is a paginator for ListRequestedServiceQuotaChangeHistory

func NewListRequestedServiceQuotaChangeHistoryPaginator added in v0.30.0

NewListRequestedServiceQuotaChangeHistoryPaginator returns a new ListRequestedServiceQuotaChangeHistoryPaginator

func (*ListRequestedServiceQuotaChangeHistoryPaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListRequestedServiceQuotaChangeHistoryPaginator) NextPage added in v0.30.0

NextPage retrieves the next ListRequestedServiceQuotaChangeHistory page.

type ListRequestedServiceQuotaChangeHistoryPaginatorOptions added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

type ListServiceQuotaIncreaseRequestsInTemplatePaginator struct {
	// contains filtered or unexported fields
}

ListServiceQuotaIncreaseRequestsInTemplatePaginator is a paginator for ListServiceQuotaIncreaseRequestsInTemplate

func NewListServiceQuotaIncreaseRequestsInTemplatePaginator added in v0.30.0

NewListServiceQuotaIncreaseRequestsInTemplatePaginator returns a new ListServiceQuotaIncreaseRequestsInTemplatePaginator

func (*ListServiceQuotaIncreaseRequestsInTemplatePaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListServiceQuotaIncreaseRequestsInTemplatePaginator) NextPage added in v0.30.0

NextPage retrieves the next ListServiceQuotaIncreaseRequestsInTemplate page.

type ListServiceQuotaIncreaseRequestsInTemplatePaginatorOptions added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

type ListServiceQuotasPaginator struct {
	// contains filtered or unexported fields
}

ListServiceQuotasPaginator is a paginator for ListServiceQuotas

func NewListServiceQuotasPaginator added in v0.30.0

func NewListServiceQuotasPaginator(client ListServiceQuotasAPIClient, params *ListServiceQuotasInput, optFns ...func(*ListServiceQuotasPaginatorOptions)) *ListServiceQuotasPaginator

NewListServiceQuotasPaginator returns a new ListServiceQuotasPaginator

func (*ListServiceQuotasPaginator) HasMorePages added in v0.30.0

func (p *ListServiceQuotasPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListServiceQuotasPaginator) NextPage added in v0.30.0

func (p *ListServiceQuotasPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServiceQuotasOutput, error)

NextPage retrieves the next ListServiceQuotas page.

type ListServiceQuotasPaginatorOptions added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

type ListServicesPaginator struct {
	// contains filtered or unexported fields
}

ListServicesPaginator is a paginator for ListServices

func NewListServicesPaginator added in v0.30.0

func NewListServicesPaginator(client ListServicesAPIClient, params *ListServicesInput, optFns ...func(*ListServicesPaginatorOptions)) *ListServicesPaginator

NewListServicesPaginator returns a new ListServicesPaginator

func (*ListServicesPaginator) HasMorePages added in v0.30.0

func (p *ListServicesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListServicesPaginator) NextPage added in v0.30.0

func (p *ListServicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServicesOutput, error)

NextPage retrieves the next ListServices page.

type ListServicesPaginatorOptions added in v0.30.0

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 added in v0.31.0

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 added in v0.31.0

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

func (o Options) Copy() Options

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 (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type TagResourceInput added in v0.31.0

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 added in v0.31.0

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UntagResourceInput added in v0.31.0

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 added in v0.31.0

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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