servicequotas

package module
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 27 Imported by: 34

Documentation

Overview

Package servicequotas provides the API client, operations, and parameter types for 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.

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

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 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.

func (*Client) DeleteServiceQuotaIncreaseRequestFromTemplate

func (c *Client) DeleteServiceQuotaIncreaseRequestFromTemplate(ctx context.Context, params *DeleteServiceQuotaIncreaseRequestFromTemplateInput, optFns ...func(*Options)) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error)

Removes a service quota increase request from the Service Quotas template.

func (*Client) DisassociateServiceQuotaTemplate

func (c *Client) DisassociateServiceQuotaTemplate(ctx context.Context, params *DisassociateServiceQuotaTemplateInput, optFns ...func(*Options)) (*DisassociateServiceQuotaTemplateOutput, error)

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.

func (*Client) GetAWSDefaultServiceQuota

func (c *Client) GetAWSDefaultServiceQuota(ctx context.Context, params *GetAWSDefaultServiceQuotaInput, optFns ...func(*Options)) (*GetAWSDefaultServiceQuotaOutput, error)

Retrieves the default service quotas values. The Value returned for each quota is the AWS default value, even if the quotas have been increased..

func (*Client) GetAssociationForServiceQuotaTemplate

func (c *Client) GetAssociationForServiceQuotaTemplate(ctx context.Context, params *GetAssociationForServiceQuotaTemplateInput, optFns ...func(*Options)) (*GetAssociationForServiceQuotaTemplateOutput, error)

Retrieves the ServiceQuotaTemplateAssociationStatus value from the service. Use this action to determine if the Service Quota template is associated, or enabled.

func (*Client) GetRequestedServiceQuotaChange

func (c *Client) GetRequestedServiceQuotaChange(ctx context.Context, params *GetRequestedServiceQuotaChangeInput, optFns ...func(*Options)) (*GetRequestedServiceQuotaChangeOutput, error)

Retrieves the details for a particular increase request.

func (*Client) GetServiceQuota

func (c *Client) GetServiceQuota(ctx context.Context, params *GetServiceQuotaInput, optFns ...func(*Options)) (*GetServiceQuotaOutput, error)

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.

func (*Client) GetServiceQuotaIncreaseRequestFromTemplate

func (c *Client) GetServiceQuotaIncreaseRequestFromTemplate(ctx context.Context, params *GetServiceQuotaIncreaseRequestFromTemplateInput, optFns ...func(*Options)) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error)

Returns the details of the service quota increase request in your template.

func (*Client) ListAWSDefaultServiceQuotas

func (c *Client) ListAWSDefaultServiceQuotas(ctx context.Context, params *ListAWSDefaultServiceQuotasInput, optFns ...func(*Options)) (*ListAWSDefaultServiceQuotasOutput, error)

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.

func (*Client) ListRequestedServiceQuotaChangeHistory

func (c *Client) ListRequestedServiceQuotaChangeHistory(ctx context.Context, params *ListRequestedServiceQuotaChangeHistoryInput, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryOutput, error)

Requests a list of the changes to quotas for a service.

func (*Client) ListRequestedServiceQuotaChangeHistoryByQuota

func (c *Client) ListRequestedServiceQuotaChangeHistoryByQuota(ctx context.Context, params *ListRequestedServiceQuotaChangeHistoryByQuotaInput, optFns ...func(*Options)) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error)

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.

func (*Client) ListServiceQuotaIncreaseRequestsInTemplate

func (c *Client) ListServiceQuotaIncreaseRequestsInTemplate(ctx context.Context, params *ListServiceQuotaIncreaseRequestsInTemplateInput, optFns ...func(*Options)) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error)

Returns a list of the quota increase requests in the template.

func (*Client) ListServiceQuotas

func (c *Client) ListServiceQuotas(ctx context.Context, params *ListServiceQuotasInput, optFns ...func(*Options)) (*ListServiceQuotasOutput, error)

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.

func (*Client) ListServices

func (c *Client) ListServices(ctx context.Context, params *ListServicesInput, optFns ...func(*Options)) (*ListServicesOutput, error)

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.

func (*Client) PutServiceQuotaIncreaseRequestIntoTemplate

func (c *Client) PutServiceQuotaIncreaseRequestIntoTemplate(ctx context.Context, params *PutServiceQuotaIncreaseRequestIntoTemplateInput, optFns ...func(*Options)) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error)

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.

func (*Client) RequestServiceQuotaIncrease

func (c *Client) RequestServiceQuotaIncrease(ctx context.Context, params *RequestServiceQuotaIncreaseInput, optFns ...func(*Options)) (*RequestServiceQuotaIncreaseOutput, error)

Retrieves the details of a service quota increase request. The response to this command provides the details in the RequestedServiceQuotaChange object.

type DeleteServiceQuotaIncreaseRequestFromTemplateInput

type DeleteServiceQuotaIncreaseRequestFromTemplateInput struct {

	// Specifies the AWS Region for the quota that you want to delete.
	//
	// This member is required.
	AwsRegion *string

	// Specifies the code for the quota that you want to delete.
	//
	// This member is required.
	QuotaCode *string

	// Specifies the code for the service that you want to delete.
	//
	// 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 WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

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 {

	// Identifies the service quota you want to select.
	//
	// This member is required.
	QuotaCode *string

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *string
}

type GetAWSDefaultServiceQuotaOutput

type GetAWSDefaultServiceQuotaOutput struct {

	// Returns the ServiceQuota object which contains all values for a quota.
	Quota *types.ServiceQuota

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetAssociationForServiceQuotaTemplateInput

type GetAssociationForServiceQuotaTemplateInput struct {
}

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 types.ServiceQuotaTemplateAssociationStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetRequestedServiceQuotaChangeInput

type GetRequestedServiceQuotaChangeInput struct {

	// Identifies the quota increase request.
	//
	// This member is required.
	RequestId *string
}

type GetRequestedServiceQuotaChangeOutput

type GetRequestedServiceQuotaChangeOutput struct {

	// Returns the RequestedServiceQuotaChange object for the specific increase
	// request.
	RequestedQuota *types.RequestedServiceQuotaChange

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetServiceQuotaIncreaseRequestFromTemplateInput

type GetServiceQuotaIncreaseRequestFromTemplateInput struct {

	// Specifies the AWS Region for the quota that you want to use.
	//
	// This member is required.
	AwsRegion *string

	// Specifies the quota you want.
	//
	// This member is required.
	QuotaCode *string

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *string
}

type GetServiceQuotaIncreaseRequestFromTemplateOutput

type GetServiceQuotaIncreaseRequestFromTemplateOutput struct {

	// This object contains the details about the quota increase request.
	ServiceQuotaIncreaseRequestInTemplate *types.ServiceQuotaIncreaseRequestInTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetServiceQuotaInput

type GetServiceQuotaInput struct {

	// Identifies the service quota you want to select.
	//
	// This member is required.
	QuotaCode *string

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *string
}

type GetServiceQuotaOutput

type GetServiceQuotaOutput struct {

	// Returns the ServiceQuota object which contains all values for a 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) 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 {

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *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 *int32

	// (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 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

	// A list of the quotas in the account with the AWS default values.
	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 {
	// (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.
	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 {

	// Specifies the service quota that you want to use
	//
	// This member is required.
	QuotaCode *string

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *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 *int32

	// (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

	// Specifies the status value of the quota increase request.
	Status types.RequestStatus
}

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

	// Returns a list of service quota 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 {
	// (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.
	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 {

	// (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 *int32

	// (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

	// Specifies the service that you want to use.
	ServiceCode *string

	// Specifies the status value of the quota increase request.
	Status types.RequestStatus
}

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

	// Returns a list of service quota 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 {
	// (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.
	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 {

	// Specifies the AWS Region for the quota that you want to use.
	AwsRegion *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 *int32

	// (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

	// The identifier for a service. When performing an operation, use the ServiceCode
	// to specify a particular service.
	ServiceCode *string
}

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

	// Returns the list of values of the quota increase request in the template.
	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 {
	// (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.
	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 identifier for a service. When performing an operation, use the ServiceCode
	// to specify a particular service.
	//
	// This member is required.
	ServiceCode *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 *int32

	// (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 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

	// The response information for a quota lists all attribute information for the
	// quota.
	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 {
	// (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.
	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 {

	// (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 *int32

	// (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 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

	// Returns a list of 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 {
	// (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.
	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 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 retry.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 {

	// Specifies the AWS Region for the quota.
	//
	// This member is required.
	AwsRegion *string

	// Specifies the new, increased value for the quota.
	//
	// This member is required.
	DesiredValue *float64

	// Specifies the service quota that you want to use.
	//
	// This member is required.
	QuotaCode *string

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *string
}

type PutServiceQuotaIncreaseRequestIntoTemplateOutput

type PutServiceQuotaIncreaseRequestIntoTemplateOutput struct {

	// A structure that contains information about one service quota increase request.
	ServiceQuotaIncreaseRequestInTemplate *types.ServiceQuotaIncreaseRequestInTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type RequestServiceQuotaIncreaseInput

type RequestServiceQuotaIncreaseInput struct {

	// Specifies the value submitted in the service quota increase request.
	//
	// This member is required.
	DesiredValue *float64

	// Specifies the service quota that you want to use.
	//
	// This member is required.
	QuotaCode *string

	// Specifies the service that you want to use.
	//
	// This member is required.
	ServiceCode *string
}

type RequestServiceQuotaIncreaseOutput

type RequestServiceQuotaIncreaseOutput struct {

	// Returns a list of service quota requests.
	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

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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