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.
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
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- 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) 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)
- type DeleteServiceQuotaIncreaseRequestFromTemplateInput
- type DeleteServiceQuotaIncreaseRequestFromTemplateOutput
- type DisassociateServiceQuotaTemplateInput
- type DisassociateServiceQuotaTemplateOutput
- type EndpointResolver
- type EndpointResolverFunc
- 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 ListAWSDefaultServiceQuotasInput
- type ListAWSDefaultServiceQuotasOutput
- type ListRequestedServiceQuotaChangeHistoryByQuotaInput
- type ListRequestedServiceQuotaChangeHistoryByQuotaOutput
- type ListRequestedServiceQuotaChangeHistoryInput
- type ListRequestedServiceQuotaChangeHistoryOutput
- type ListServiceQuotaIncreaseRequestsInTemplateInput
- type ListServiceQuotaIncreaseRequestsInTemplateOutput
- type ListServiceQuotasInput
- type ListServiceQuotasOutput
- type ListServicesInput
- type ListServicesOutput
- 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 ResolverOptions
Constants ¶
const ServiceAPIVersion = "2019-06-24"
const ServiceID = "Service Quotas"
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 ¶
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 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 ResolverOptions) (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 ResolverOptions) (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 ResolverOptions) (endpoint aws.Endpoint, err error)
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 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 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 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 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 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 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 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 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 // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // 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 ¶
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 ResolverOptions }
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 ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
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_PutServiceQuotaIncreaseRequestIntoTemplate.go api_op_RequestServiceQuotaIncrease.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.27.0
- Published
- Oct 17, 2020
- Platform
- js/wasm
- Imports
- 26 packages
- Last checked
- now –
Tools for package owners.