servicequotas

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 35

Documentation

Overview

Package servicequotas provides the client and types for making API requests to Service Quotas.

Service Quotas is a web service that you can use to manage many of your AWS service quotas. Quotas, also referred to as limits, are the maximum values for a resource, item, or operation. This guide provide descriptions of the Service Quotas actions that you can call from an API. For the Service Quotas user guide, which explains how to use Service Quotas from the console, see What is Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html).

AWS provides SDKs that consist of libraries and sample code for programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc...,). The SDKs provide a convenient way to create programmatic access to Service Quotas and AWS. For information about the AWS SDKs, including how to download and install them, see the Tools for Amazon Web Services (https://docs.aws.amazon.com/aws.amazon.com/tools) page.

See https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24 for more information on this service.

See servicequotas package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/servicequotas/

Using the Client

To use Service Quotas with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Service Quotas client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/servicequotas/#New

Index

Constants

View Source
const (
	ServiceName = "Service Quotas" // Service's name
	ServiceID   = "ServiceQuotas"  // Service's identifier
	EndpointsID = "servicequotas"  // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAWSServiceAccessNotEnabledException for service response error code
	// "AWSServiceAccessNotEnabledException".
	//
	// The action you attempted is not allowed unless Service Access with Service
	// Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.
	ErrCodeAWSServiceAccessNotEnabledException = "AWSServiceAccessNotEnabledException"

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeDependencyAccessDeniedException for service response error code
	// "DependencyAccessDeniedException".
	//
	// You can't perform this action because a dependency does not have access.
	ErrCodeDependencyAccessDeniedException = "DependencyAccessDeniedException"

	// ErrCodeIllegalArgumentException for service response error code
	// "IllegalArgumentException".
	//
	// Invalid input was provided.
	ErrCodeIllegalArgumentException = "IllegalArgumentException"

	// ErrCodeInvalidPaginationTokenException for service response error code
	// "InvalidPaginationTokenException".
	//
	// Invalid input was provided.
	ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException"

	// ErrCodeInvalidResourceStateException for service response error code
	// "InvalidResourceStateException".
	//
	// Invalid input was provided for the .
	ErrCodeInvalidResourceStateException = "InvalidResourceStateException"

	// ErrCodeNoAvailableOrganizationException for service response error code
	// "NoAvailableOrganizationException".
	//
	// The account making this call is not a member of an organization.
	ErrCodeNoAvailableOrganizationException = "NoAvailableOrganizationException"

	// ErrCodeNoSuchResourceException for service response error code
	// "NoSuchResourceException".
	//
	// The specified resource does not exist.
	ErrCodeNoSuchResourceException = "NoSuchResourceException"

	// ErrCodeOrganizationNotInAllFeaturesModeException for service response error code
	// "OrganizationNotInAllFeaturesModeException".
	//
	// The organization that your account belongs to, is not in All Features mode.
	// To enable all features mode, see EnableAllFeatures (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAllFeatures.html).
	ErrCodeOrganizationNotInAllFeaturesModeException = "OrganizationNotInAllFeaturesModeException"

	// ErrCodeQuotaExceededException for service response error code
	// "QuotaExceededException".
	//
	// You have exceeded your service quota. To perform the requested action, remove
	// some of the relevant resources, or use Service Quotas to request a service
	// quota increase.
	ErrCodeQuotaExceededException = "QuotaExceededException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// The specified resource already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeServiceException for service response error code
	// "ServiceException".
	//
	// Something went wrong.
	ErrCodeServiceException = "ServiceException"

	// ErrCodeServiceQuotaTemplateNotInUseException for service response error code
	// "ServiceQuotaTemplateNotInUseException".
	//
	// The quota request template is not associated with your organization.
	//
	// To use the template, call AssociateServiceQuotaTemplate.
	ErrCodeServiceQuotaTemplateNotInUseException = "ServiceQuotaTemplateNotInUseException"

	// ErrCodeTemplatesNotAvailableInRegionException for service response error code
	// "TemplatesNotAvailableInRegionException".
	//
	// The Service Quotas template is not available in the Region where you are
	// making the request. Please make the request in us-east-1.
	ErrCodeTemplatesNotAvailableInRegionException = "TemplatesNotAvailableInRegionException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// Due to throttling, the request was denied. Slow down the rate of request
	// calls, or request an increase for this quota.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateServiceQuotaTemplateInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplateRequest

func (AssociateServiceQuotaTemplateInput) String

String returns the string representation

type AssociateServiceQuotaTemplateOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplateResponse

func (AssociateServiceQuotaTemplateOutput) String

String returns the string representation

type AssociateServiceQuotaTemplateRequest

type AssociateServiceQuotaTemplateRequest struct {
	*aws.Request
	Input *AssociateServiceQuotaTemplateInput
	Copy  func(*AssociateServiceQuotaTemplateInput) AssociateServiceQuotaTemplateRequest
}

AssociateServiceQuotaTemplateRequest is the request type for the AssociateServiceQuotaTemplate API operation.

func (AssociateServiceQuotaTemplateRequest) Send

Send marshals and sends the AssociateServiceQuotaTemplate API request.

type AssociateServiceQuotaTemplateResponse

type AssociateServiceQuotaTemplateResponse struct {
	*AssociateServiceQuotaTemplateOutput
	// contains filtered or unexported fields
}

AssociateServiceQuotaTemplateResponse is the response type for the AssociateServiceQuotaTemplate API operation.

func (*AssociateServiceQuotaTemplateResponse) SDKResponseMetdata

func (r *AssociateServiceQuotaTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateServiceQuotaTemplate request.

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to Service Quotas. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := servicequotas.New(myConfig)

func (*Client) AssociateServiceQuotaTemplateRequest

func (c *Client) AssociateServiceQuotaTemplateRequest(input *AssociateServiceQuotaTemplateInput) AssociateServiceQuotaTemplateRequest

AssociateServiceQuotaTemplateRequest returns a request value for making API operation for Service Quotas.

Associates the Service Quotas template with your organization so that when new accounts are created in your organization, the template submits increase requests for the specified service quotas. Use the Service Quotas template to request an increase for any adjustable quota value. After you define the Service Quotas template, use this operation to associate, or enable, the template.

// Example sending a request using AssociateServiceQuotaTemplateRequest.
req := client.AssociateServiceQuotaTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate

func (*Client) DeleteServiceQuotaIncreaseRequestFromTemplateRequest

func (c *Client) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) DeleteServiceQuotaIncreaseRequestFromTemplateRequest

DeleteServiceQuotaIncreaseRequestFromTemplateRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using DeleteServiceQuotaIncreaseRequestFromTemplateRequest.
req := client.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate

func (*Client) DisassociateServiceQuotaTemplateRequest

func (c *Client) DisassociateServiceQuotaTemplateRequest(input *DisassociateServiceQuotaTemplateInput) DisassociateServiceQuotaTemplateRequest

DisassociateServiceQuotaTemplateRequest returns a request value for making API operation for Service Quotas.

Disables the Service Quotas template. Once the template is disabled, it does not request quota increases for new accounts in your organization. Disabling the quota template does not apply the quota increase requests from the template.

Related operations

  • To enable the quota template, call AssociateServiceQuotaTemplate.

  • To delete a specific service quota from the template, use DeleteServiceQuotaIncreaseRequestFromTemplate.

    // Example sending a request using DisassociateServiceQuotaTemplateRequest. req := client.DisassociateServiceQuotaTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate

func (*Client) GetAWSDefaultServiceQuotaRequest

func (c *Client) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultServiceQuotaInput) GetAWSDefaultServiceQuotaRequest

GetAWSDefaultServiceQuotaRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using GetAWSDefaultServiceQuotaRequest.
req := client.GetAWSDefaultServiceQuotaRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota

func (*Client) GetAssociationForServiceQuotaTemplateRequest

func (c *Client) GetAssociationForServiceQuotaTemplateRequest(input *GetAssociationForServiceQuotaTemplateInput) GetAssociationForServiceQuotaTemplateRequest

GetAssociationForServiceQuotaTemplateRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using GetAssociationForServiceQuotaTemplateRequest.
req := client.GetAssociationForServiceQuotaTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate

func (*Client) GetRequestedServiceQuotaChangeRequest

func (c *Client) GetRequestedServiceQuotaChangeRequest(input *GetRequestedServiceQuotaChangeInput) GetRequestedServiceQuotaChangeRequest

GetRequestedServiceQuotaChangeRequest returns a request value for making API operation for Service Quotas.

Retrieves the details for a particular increase request.

// Example sending a request using GetRequestedServiceQuotaChangeRequest.
req := client.GetRequestedServiceQuotaChangeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange

func (*Client) GetServiceQuotaIncreaseRequestFromTemplateRequest

func (c *Client) GetServiceQuotaIncreaseRequestFromTemplateRequest(input *GetServiceQuotaIncreaseRequestFromTemplateInput) GetServiceQuotaIncreaseRequestFromTemplateRequest

GetServiceQuotaIncreaseRequestFromTemplateRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using GetServiceQuotaIncreaseRequestFromTemplateRequest.
req := client.GetServiceQuotaIncreaseRequestFromTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate

func (*Client) GetServiceQuotaRequest

func (c *Client) GetServiceQuotaRequest(input *GetServiceQuotaInput) GetServiceQuotaRequest

GetServiceQuotaRequest returns a request value for making API operation for Service Quotas.

Returns the details for the specified service quota. This operation provides a different Value than the GetAWSDefaultServiceQuota operation. This operation returns the applied value for each quota. GetAWSDefaultServiceQuota returns the default AWS value for each quota.

// Example sending a request using GetServiceQuotaRequest.
req := client.GetServiceQuotaRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota

func (*Client) ListAWSDefaultServiceQuotasRequest

func (c *Client) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefaultServiceQuotasInput) ListAWSDefaultServiceQuotasRequest

ListAWSDefaultServiceQuotasRequest returns a request value for making API operation for Service Quotas.

Lists all default service quotas for the specified AWS service or all AWS services. ListAWSDefaultServiceQuotas is similar to ListServiceQuotas except for the Value object. The Value object returned by ListAWSDefaultServiceQuotas is the default value assigned by AWS. This request returns a list of all service quotas for the specified service. The listing of each you'll see the default values are the values that AWS provides for the quotas.

Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.

// Example sending a request using ListAWSDefaultServiceQuotasRequest.
req := client.ListAWSDefaultServiceQuotasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas

func (*Client) ListRequestedServiceQuotaChangeHistoryByQuotaRequest

func (c *Client) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) ListRequestedServiceQuotaChangeHistoryByQuotaRequest

ListRequestedServiceQuotaChangeHistoryByQuotaRequest returns a request value for making API operation for Service Quotas.

Requests a list of the changes to specific service quotas. This command provides additional granularity over the ListRequestedServiceQuotaChangeHistory command. Once a quota change request has reached CASE_CLOSED, APPROVED, or DENIED, the history has been kept for 90 days.

// Example sending a request using ListRequestedServiceQuotaChangeHistoryByQuotaRequest.
req := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota

func (*Client) ListRequestedServiceQuotaChangeHistoryRequest

func (c *Client) ListRequestedServiceQuotaChangeHistoryRequest(input *ListRequestedServiceQuotaChangeHistoryInput) ListRequestedServiceQuotaChangeHistoryRequest

ListRequestedServiceQuotaChangeHistoryRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using ListRequestedServiceQuotaChangeHistoryRequest.
req := client.ListRequestedServiceQuotaChangeHistoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory

func (*Client) ListServiceQuotaIncreaseRequestsInTemplateRequest

func (c *Client) ListServiceQuotaIncreaseRequestsInTemplateRequest(input *ListServiceQuotaIncreaseRequestsInTemplateInput) ListServiceQuotaIncreaseRequestsInTemplateRequest

ListServiceQuotaIncreaseRequestsInTemplateRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using ListServiceQuotaIncreaseRequestsInTemplateRequest.
req := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate

func (*Client) ListServiceQuotasRequest

func (c *Client) ListServiceQuotasRequest(input *ListServiceQuotasInput) ListServiceQuotasRequest

ListServiceQuotasRequest returns a request value for making API operation for Service Quotas.

Lists all service quotas for the specified AWS service. This request returns a list of the service quotas for the specified service. you'll see the default values are the values that AWS provides for the quotas.

Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.

// Example sending a request using ListServiceQuotasRequest.
req := client.ListServiceQuotasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas

func (*Client) ListServicesRequest

func (c *Client) ListServicesRequest(input *ListServicesInput) ListServicesRequest

ListServicesRequest returns a request value for making API operation for Service Quotas.

Lists the AWS services available in Service Quotas. Not all AWS services are available in Service Quotas. To list the see the list of the service quotas for a specific service, use ListServiceQuotas.

// Example sending a request using ListServicesRequest.
req := client.ListServicesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices

func (*Client) PutServiceQuotaIncreaseRequestIntoTemplateRequest

func (c *Client) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) PutServiceQuotaIncreaseRequestIntoTemplateRequest

PutServiceQuotaIncreaseRequestIntoTemplateRequest returns a request value for making API operation for Service Quotas.

Defines and adds a quota to the service quota template. To add a quota to the template, you must provide the ServiceCode, QuotaCode, AwsRegion, and DesiredValue. Once you add a quota to the template, use ListServiceQuotaIncreaseRequestsInTemplate to see the list of quotas in the template.

// Example sending a request using PutServiceQuotaIncreaseRequestIntoTemplateRequest.
req := client.PutServiceQuotaIncreaseRequestIntoTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate

func (*Client) RequestServiceQuotaIncreaseRequest

func (c *Client) RequestServiceQuotaIncreaseRequest(input *RequestServiceQuotaIncreaseInput) RequestServiceQuotaIncreaseRequest

RequestServiceQuotaIncreaseRequest returns a request value for making API operation for Service Quotas.

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

// Example sending a request using RequestServiceQuotaIncreaseRequest.
req := client.RequestServiceQuotaIncreaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease

type DeleteServiceQuotaIncreaseRequestFromTemplateInput

type DeleteServiceQuotaIncreaseRequestFromTemplateInput struct {

	// Specifies the AWS Region for the quota that you want to delete.
	//
	// AwsRegion is a required field
	AwsRegion *string `min:"1" type:"string" required:"true"`

	// Specifies the code for the quota that you want to delete.
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the code for the service that you want to delete.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplateRequest

func (DeleteServiceQuotaIncreaseRequestFromTemplateInput) String

String returns the string representation

func (*DeleteServiceQuotaIncreaseRequestFromTemplateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteServiceQuotaIncreaseRequestFromTemplateOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplateResponse

func (DeleteServiceQuotaIncreaseRequestFromTemplateOutput) String

String returns the string representation

type DeleteServiceQuotaIncreaseRequestFromTemplateRequest

DeleteServiceQuotaIncreaseRequestFromTemplateRequest is the request type for the DeleteServiceQuotaIncreaseRequestFromTemplate API operation.

func (DeleteServiceQuotaIncreaseRequestFromTemplateRequest) Send

Send marshals and sends the DeleteServiceQuotaIncreaseRequestFromTemplate API request.

type DeleteServiceQuotaIncreaseRequestFromTemplateResponse

type DeleteServiceQuotaIncreaseRequestFromTemplateResponse struct {
	*DeleteServiceQuotaIncreaseRequestFromTemplateOutput
	// contains filtered or unexported fields
}

DeleteServiceQuotaIncreaseRequestFromTemplateResponse is the response type for the DeleteServiceQuotaIncreaseRequestFromTemplate API operation.

func (*DeleteServiceQuotaIncreaseRequestFromTemplateResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the DeleteServiceQuotaIncreaseRequestFromTemplate request.

type DisassociateServiceQuotaTemplateInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplateRequest

func (DisassociateServiceQuotaTemplateInput) String

String returns the string representation

type DisassociateServiceQuotaTemplateOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplateResponse

func (DisassociateServiceQuotaTemplateOutput) String

String returns the string representation

type DisassociateServiceQuotaTemplateRequest

type DisassociateServiceQuotaTemplateRequest struct {
	*aws.Request
	Input *DisassociateServiceQuotaTemplateInput
	Copy  func(*DisassociateServiceQuotaTemplateInput) DisassociateServiceQuotaTemplateRequest
}

DisassociateServiceQuotaTemplateRequest is the request type for the DisassociateServiceQuotaTemplate API operation.

func (DisassociateServiceQuotaTemplateRequest) Send

Send marshals and sends the DisassociateServiceQuotaTemplate API request.

type DisassociateServiceQuotaTemplateResponse

type DisassociateServiceQuotaTemplateResponse struct {
	*DisassociateServiceQuotaTemplateOutput
	// contains filtered or unexported fields
}

DisassociateServiceQuotaTemplateResponse is the response type for the DisassociateServiceQuotaTemplate API operation.

func (*DisassociateServiceQuotaTemplateResponse) SDKResponseMetdata

func (r *DisassociateServiceQuotaTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateServiceQuotaTemplate request.

type ErrorCode

type ErrorCode string
const (
	ErrorCodeDependencyAccessDeniedError   ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR"
	ErrorCodeDependencyThrottlingError     ErrorCode = "DEPENDENCY_THROTTLING_ERROR"
	ErrorCodeDependencyServiceError        ErrorCode = "DEPENDENCY_SERVICE_ERROR"
	ErrorCodeServiceQuotaNotAvailableError ErrorCode = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
)

Enum values for ErrorCode

func (ErrorCode) MarshalValue

func (enum ErrorCode) MarshalValue() (string, error)

func (ErrorCode) MarshalValueBuf

func (enum ErrorCode) MarshalValueBuf(b []byte) ([]byte, error)

type ErrorReason

type ErrorReason struct {

	// Service Quotas returns the following error values.
	//
	// DEPENDENCY_ACCESS_DENIED_ERROR is returned when the caller does not have
	// permission to call the service or service quota. To resolve the error, you
	// need permission to access the service or service quota.
	//
	// DEPENDENCY_THROTTLING_ERROR is returned when the service being called is
	// throttling Service Quotas.
	//
	// DEPENDENCY_SERVICE_ERROR is returned when the service being called has availability
	// issues.
	//
	// SERVICE_QUOTA_NOT_AVAILABLE_ERROR is returned when there was an error in
	// Service Quotas.
	ErrorCode ErrorCode `type:"string" enum:"true"`

	// The error message that provides more detail.
	ErrorMessage *string `type:"string"`
	// contains filtered or unexported fields
}

Returns an error that explains why the action did not succeed. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ErrorReason

func (ErrorReason) String

func (s ErrorReason) String() string

String returns the string representation

type GetAWSDefaultServiceQuotaInput

type GetAWSDefaultServiceQuotaInput struct {

	// Identifies the service quota you want to select.
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuotaRequest

func (GetAWSDefaultServiceQuotaInput) String

String returns the string representation

func (*GetAWSDefaultServiceQuotaInput) Validate

func (s *GetAWSDefaultServiceQuotaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAWSDefaultServiceQuotaOutput

type GetAWSDefaultServiceQuotaOutput struct {

	// Returns the ServiceQuota object which contains all values for a quota.
	Quota *ServiceQuota `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuotaResponse

func (GetAWSDefaultServiceQuotaOutput) String

String returns the string representation

type GetAWSDefaultServiceQuotaRequest

type GetAWSDefaultServiceQuotaRequest struct {
	*aws.Request
	Input *GetAWSDefaultServiceQuotaInput
	Copy  func(*GetAWSDefaultServiceQuotaInput) GetAWSDefaultServiceQuotaRequest
}

GetAWSDefaultServiceQuotaRequest is the request type for the GetAWSDefaultServiceQuota API operation.

func (GetAWSDefaultServiceQuotaRequest) Send

Send marshals and sends the GetAWSDefaultServiceQuota API request.

type GetAWSDefaultServiceQuotaResponse

type GetAWSDefaultServiceQuotaResponse struct {
	*GetAWSDefaultServiceQuotaOutput
	// contains filtered or unexported fields
}

GetAWSDefaultServiceQuotaResponse is the response type for the GetAWSDefaultServiceQuota API operation.

func (*GetAWSDefaultServiceQuotaResponse) SDKResponseMetdata

func (r *GetAWSDefaultServiceQuotaResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetAWSDefaultServiceQuota request.

type GetAssociationForServiceQuotaTemplateInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplateRequest

func (GetAssociationForServiceQuotaTemplateInput) String

String returns the string representation

type GetAssociationForServiceQuotaTemplateOutput

type GetAssociationForServiceQuotaTemplateOutput struct {

	// Specifies whether the template is ASSOCIATED or DISASSOCIATED. If the template
	// is ASSOCIATED, then it requests service quota increases for all new accounts
	// created in your organization.
	ServiceQuotaTemplateAssociationStatus ServiceQuotaTemplateAssociationStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplateResponse

func (GetAssociationForServiceQuotaTemplateOutput) String

String returns the string representation

type GetAssociationForServiceQuotaTemplateRequest

GetAssociationForServiceQuotaTemplateRequest is the request type for the GetAssociationForServiceQuotaTemplate API operation.

func (GetAssociationForServiceQuotaTemplateRequest) Send

Send marshals and sends the GetAssociationForServiceQuotaTemplate API request.

type GetAssociationForServiceQuotaTemplateResponse

type GetAssociationForServiceQuotaTemplateResponse struct {
	*GetAssociationForServiceQuotaTemplateOutput
	// contains filtered or unexported fields
}

GetAssociationForServiceQuotaTemplateResponse is the response type for the GetAssociationForServiceQuotaTemplate API operation.

func (*GetAssociationForServiceQuotaTemplateResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the GetAssociationForServiceQuotaTemplate request.

type GetRequestedServiceQuotaChangeInput

type GetRequestedServiceQuotaChangeInput struct {

	// Identifies the quota increase request.
	//
	// RequestId is a required field
	RequestId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChangeRequest

func (GetRequestedServiceQuotaChangeInput) String

String returns the string representation

func (*GetRequestedServiceQuotaChangeInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRequestedServiceQuotaChangeOutput

type GetRequestedServiceQuotaChangeOutput struct {

	// Returns the RequestedServiceQuotaChange object for the specific increase
	// request.
	RequestedQuota *RequestedServiceQuotaChange `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChangeResponse

func (GetRequestedServiceQuotaChangeOutput) String

String returns the string representation

type GetRequestedServiceQuotaChangeRequest

type GetRequestedServiceQuotaChangeRequest struct {
	*aws.Request
	Input *GetRequestedServiceQuotaChangeInput
	Copy  func(*GetRequestedServiceQuotaChangeInput) GetRequestedServiceQuotaChangeRequest
}

GetRequestedServiceQuotaChangeRequest is the request type for the GetRequestedServiceQuotaChange API operation.

func (GetRequestedServiceQuotaChangeRequest) Send

Send marshals and sends the GetRequestedServiceQuotaChange API request.

type GetRequestedServiceQuotaChangeResponse

type GetRequestedServiceQuotaChangeResponse struct {
	*GetRequestedServiceQuotaChangeOutput
	// contains filtered or unexported fields
}

GetRequestedServiceQuotaChangeResponse is the response type for the GetRequestedServiceQuotaChange API operation.

func (*GetRequestedServiceQuotaChangeResponse) SDKResponseMetdata

func (r *GetRequestedServiceQuotaChangeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRequestedServiceQuotaChange request.

type GetServiceQuotaIncreaseRequestFromTemplateInput

type GetServiceQuotaIncreaseRequestFromTemplateInput struct {

	// Specifies the AWS Region for the quota that you want to use.
	//
	// AwsRegion is a required field
	AwsRegion *string `min:"1" type:"string" required:"true"`

	// Specifies the quota you want.
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplateRequest

func (GetServiceQuotaIncreaseRequestFromTemplateInput) String

String returns the string representation

func (*GetServiceQuotaIncreaseRequestFromTemplateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetServiceQuotaIncreaseRequestFromTemplateOutput

type GetServiceQuotaIncreaseRequestFromTemplateOutput struct {

	// This object contains the details about the quota increase request.
	ServiceQuotaIncreaseRequestInTemplate *ServiceQuotaIncreaseRequestInTemplate `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplateResponse

func (GetServiceQuotaIncreaseRequestFromTemplateOutput) String

String returns the string representation

type GetServiceQuotaIncreaseRequestFromTemplateRequest

GetServiceQuotaIncreaseRequestFromTemplateRequest is the request type for the GetServiceQuotaIncreaseRequestFromTemplate API operation.

func (GetServiceQuotaIncreaseRequestFromTemplateRequest) Send

Send marshals and sends the GetServiceQuotaIncreaseRequestFromTemplate API request.

type GetServiceQuotaIncreaseRequestFromTemplateResponse

type GetServiceQuotaIncreaseRequestFromTemplateResponse struct {
	*GetServiceQuotaIncreaseRequestFromTemplateOutput
	// contains filtered or unexported fields
}

GetServiceQuotaIncreaseRequestFromTemplateResponse is the response type for the GetServiceQuotaIncreaseRequestFromTemplate API operation.

func (*GetServiceQuotaIncreaseRequestFromTemplateResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the GetServiceQuotaIncreaseRequestFromTemplate request.

type GetServiceQuotaInput

type GetServiceQuotaInput struct {

	// Identifies the service quota you want to select.
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaRequest

func (GetServiceQuotaInput) String

func (s GetServiceQuotaInput) String() string

String returns the string representation

func (*GetServiceQuotaInput) Validate

func (s *GetServiceQuotaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetServiceQuotaOutput

type GetServiceQuotaOutput struct {

	// Returns the ServiceQuota object which contains all values for a quota.
	Quota *ServiceQuota `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaResponse

func (GetServiceQuotaOutput) String

func (s GetServiceQuotaOutput) String() string

String returns the string representation

type GetServiceQuotaRequest

type GetServiceQuotaRequest struct {
	*aws.Request
	Input *GetServiceQuotaInput
	Copy  func(*GetServiceQuotaInput) GetServiceQuotaRequest
}

GetServiceQuotaRequest is the request type for the GetServiceQuota API operation.

func (GetServiceQuotaRequest) Send

Send marshals and sends the GetServiceQuota API request.

type GetServiceQuotaResponse

type GetServiceQuotaResponse struct {
	*GetServiceQuotaOutput
	// contains filtered or unexported fields
}

GetServiceQuotaResponse is the response type for the GetServiceQuota API operation.

func (*GetServiceQuotaResponse) SDKResponseMetdata

func (r *GetServiceQuotaResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetServiceQuota request.

type ListAWSDefaultServiceQuotasInput

type ListAWSDefaultServiceQuotasInput struct {

	// (Optional) Limits the number of results that you want to include in the response.
	// If you don't include this parameter, the response defaults to a value that's
	// specific to the operation. If additional items exist beyond the specified
	// maximum, the NextToken element is present and has a value (isn't null). Include
	// that value as the NextToken request parameter in the call to the operation
	// to get the next part of the results. You should check NextToken after every
	// operation to ensure that you receive all of the results.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from. If additional
	// items exist beyond the specified maximum, the NextToken element is present
	// and has a value (isn't null). Include that value as the NextToken request
	// parameter in the call to the operation to get the next part of the results.
	// You should check NextToken after every operation to ensure that you receive
	// all of the results.
	NextToken *string `type:"string"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotasRequest

func (ListAWSDefaultServiceQuotasInput) String

String returns the string representation

func (*ListAWSDefaultServiceQuotasInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListAWSDefaultServiceQuotasOutput

type ListAWSDefaultServiceQuotasOutput struct {

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from.
	NextToken *string `type:"string"`

	// A list of the quotas in the account with the AWS default values.
	Quotas []ServiceQuota `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotasResponse

func (ListAWSDefaultServiceQuotasOutput) String

String returns the string representation

type ListAWSDefaultServiceQuotasPaginator

type ListAWSDefaultServiceQuotasPaginator struct {
	aws.Pager
}

ListAWSDefaultServiceQuotasPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListAWSDefaultServiceQuotasPaginator

func NewListAWSDefaultServiceQuotasPaginator(req ListAWSDefaultServiceQuotasRequest) ListAWSDefaultServiceQuotasPaginator

NewListAWSDefaultServiceQuotasRequestPaginator returns a paginator for ListAWSDefaultServiceQuotas. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListAWSDefaultServiceQuotasRequest(input)
p := servicequotas.NewListAWSDefaultServiceQuotasRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListAWSDefaultServiceQuotasPaginator) CurrentPage

type ListAWSDefaultServiceQuotasRequest

type ListAWSDefaultServiceQuotasRequest struct {
	*aws.Request
	Input *ListAWSDefaultServiceQuotasInput
	Copy  func(*ListAWSDefaultServiceQuotasInput) ListAWSDefaultServiceQuotasRequest
}

ListAWSDefaultServiceQuotasRequest is the request type for the ListAWSDefaultServiceQuotas API operation.

func (ListAWSDefaultServiceQuotasRequest) Send

Send marshals and sends the ListAWSDefaultServiceQuotas API request.

type ListAWSDefaultServiceQuotasResponse

type ListAWSDefaultServiceQuotasResponse struct {
	*ListAWSDefaultServiceQuotasOutput
	// contains filtered or unexported fields
}

ListAWSDefaultServiceQuotasResponse is the response type for the ListAWSDefaultServiceQuotas API operation.

func (*ListAWSDefaultServiceQuotasResponse) SDKResponseMetdata

func (r *ListAWSDefaultServiceQuotasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAWSDefaultServiceQuotas request.

type ListRequestedServiceQuotaChangeHistoryByQuotaInput

type ListRequestedServiceQuotaChangeHistoryByQuotaInput struct {

	// (Optional) Limits the number of results that you want to include in the response.
	// If you don't include this parameter, the response defaults to a value that's
	// specific to the operation. If additional items exist beyond the specified
	// maximum, the NextToken element is present and has a value (isn't null). Include
	// that value as the NextToken request parameter in the call to the operation
	// to get the next part of the results. You should check NextToken after every
	// operation to ensure that you receive all of the results.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from.
	NextToken *string `type:"string"`

	// Specifies the service quota that you want to use
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`

	// Specifies the status value of the quota increase request.
	Status RequestStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaRequest

func (ListRequestedServiceQuotaChangeHistoryByQuotaInput) String

String returns the string representation

func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListRequestedServiceQuotaChangeHistoryByQuotaOutput

type ListRequestedServiceQuotaChangeHistoryByQuotaOutput struct {

	// If present in the response, this value indicates there's more output available
	// that what's included in the current response. This can occur even when the
	// response includes no values at all, such as when you ask for a filtered view
	// of a very long list. Use this value in the NextToken request parameter in
	// a subsequent call to the operation to continue processing and get the next
	// part of the output. You should repeat this until the NextToken response element
	// comes back empty (as null).
	NextToken *string `type:"string"`

	// Returns a list of service quota requests.
	RequestedQuotas []RequestedServiceQuotaChange `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaResponse

func (ListRequestedServiceQuotaChangeHistoryByQuotaOutput) String

String returns the string representation

type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator

type ListRequestedServiceQuotaChangeHistoryByQuotaPaginator struct {
	aws.Pager
}

ListRequestedServiceQuotaChangeHistoryByQuotaPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator

func NewListRequestedServiceQuotaChangeHistoryByQuotaPaginator(req ListRequestedServiceQuotaChangeHistoryByQuotaRequest) ListRequestedServiceQuotaChangeHistoryByQuotaPaginator

NewListRequestedServiceQuotaChangeHistoryByQuotaRequestPaginator returns a paginator for ListRequestedServiceQuotaChangeHistoryByQuota. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input)
p := servicequotas.NewListRequestedServiceQuotaChangeHistoryByQuotaRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRequestedServiceQuotaChangeHistoryByQuotaPaginator) CurrentPage

type ListRequestedServiceQuotaChangeHistoryByQuotaRequest

ListRequestedServiceQuotaChangeHistoryByQuotaRequest is the request type for the ListRequestedServiceQuotaChangeHistoryByQuota API operation.

func (ListRequestedServiceQuotaChangeHistoryByQuotaRequest) Send

Send marshals and sends the ListRequestedServiceQuotaChangeHistoryByQuota API request.

type ListRequestedServiceQuotaChangeHistoryByQuotaResponse

type ListRequestedServiceQuotaChangeHistoryByQuotaResponse struct {
	*ListRequestedServiceQuotaChangeHistoryByQuotaOutput
	// contains filtered or unexported fields
}

ListRequestedServiceQuotaChangeHistoryByQuotaResponse is the response type for the ListRequestedServiceQuotaChangeHistoryByQuota API operation.

func (*ListRequestedServiceQuotaChangeHistoryByQuotaResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the ListRequestedServiceQuotaChangeHistoryByQuota request.

type ListRequestedServiceQuotaChangeHistoryInput

type ListRequestedServiceQuotaChangeHistoryInput struct {

	// (Optional) Limits the number of results that you want to include in the response.
	// If you don't include this parameter, the response defaults to a value that's
	// specific to the operation. If additional items exist beyond the specified
	// maximum, the NextToken element is present and has a value (isn't null). Include
	// that value as the NextToken request parameter in the call to the operation
	// to get the next part of the results. You should check NextToken after every
	// operation to ensure that you receive all of the results.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from.
	NextToken *string `type:"string"`

	// Specifies the service that you want to use.
	ServiceCode *string `min:"1" type:"string"`

	// Specifies the status value of the quota increase request.
	Status RequestStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryRequest

func (ListRequestedServiceQuotaChangeHistoryInput) String

String returns the string representation

func (*ListRequestedServiceQuotaChangeHistoryInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListRequestedServiceQuotaChangeHistoryOutput

type ListRequestedServiceQuotaChangeHistoryOutput struct {

	// If present in the response, this value indicates there's more output available
	// that what's included in the current response. This can occur even when the
	// response includes no values at all, such as when you ask for a filtered view
	// of a very long list. Use this value in the NextToken request parameter in
	// a subsequent call to the operation to continue processing and get the next
	// part of the output. You should repeat this until the NextToken response element
	// comes back empty (as null).
	NextToken *string `type:"string"`

	// Returns a list of service quota requests.
	RequestedQuotas []RequestedServiceQuotaChange `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryResponse

func (ListRequestedServiceQuotaChangeHistoryOutput) String

String returns the string representation

type ListRequestedServiceQuotaChangeHistoryPaginator

type ListRequestedServiceQuotaChangeHistoryPaginator struct {
	aws.Pager
}

ListRequestedServiceQuotaChangeHistoryPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRequestedServiceQuotaChangeHistoryPaginator

func NewListRequestedServiceQuotaChangeHistoryPaginator(req ListRequestedServiceQuotaChangeHistoryRequest) ListRequestedServiceQuotaChangeHistoryPaginator

NewListRequestedServiceQuotaChangeHistoryRequestPaginator returns a paginator for ListRequestedServiceQuotaChangeHistory. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListRequestedServiceQuotaChangeHistoryRequest(input)
p := servicequotas.NewListRequestedServiceQuotaChangeHistoryRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRequestedServiceQuotaChangeHistoryPaginator) CurrentPage

type ListRequestedServiceQuotaChangeHistoryRequest

ListRequestedServiceQuotaChangeHistoryRequest is the request type for the ListRequestedServiceQuotaChangeHistory API operation.

func (ListRequestedServiceQuotaChangeHistoryRequest) Send

Send marshals and sends the ListRequestedServiceQuotaChangeHistory API request.

type ListRequestedServiceQuotaChangeHistoryResponse

type ListRequestedServiceQuotaChangeHistoryResponse struct {
	*ListRequestedServiceQuotaChangeHistoryOutput
	// contains filtered or unexported fields
}

ListRequestedServiceQuotaChangeHistoryResponse is the response type for the ListRequestedServiceQuotaChangeHistory API operation.

func (*ListRequestedServiceQuotaChangeHistoryResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the ListRequestedServiceQuotaChangeHistory request.

type ListServiceQuotaIncreaseRequestsInTemplateInput

type ListServiceQuotaIncreaseRequestsInTemplateInput struct {

	// Specifies the AWS Region for the quota that you want to use.
	AwsRegion *string `min:"1" type:"string"`

	// (Optional) Limits the number of results that you want to include in the response.
	// If you don't include this parameter, the response defaults to a value that's
	// specific to the operation. If additional items exist beyond the specified
	// maximum, the NextToken element is present and has a value (isn't null). Include
	// that value as the NextToken request parameter in the call to the operation
	// to get the next part of the results. You should check NextToken after every
	// operation to ensure that you receive all of the results.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from.
	NextToken *string `type:"string"`

	// The identifier for a service. When performing an operation, use the ServiceCode
	// to specify a particular service.
	ServiceCode *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplateRequest

func (ListServiceQuotaIncreaseRequestsInTemplateInput) String

String returns the string representation

func (*ListServiceQuotaIncreaseRequestsInTemplateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListServiceQuotaIncreaseRequestsInTemplateOutput

type ListServiceQuotaIncreaseRequestsInTemplateOutput struct {

	// If present in the response, this value indicates there's more output available
	// that what's included in the current response. This can occur even when the
	// response includes no values at all, such as when you ask for a filtered view
	// of a very long list. Use this value in the NextToken request parameter in
	// a subsequent call to the operation to continue processing and get the next
	// part of the output. You should repeat this until the NextToken response element
	// comes back empty (as null).
	NextToken *string `type:"string"`

	// Returns the list of values of the quota increase request in the template.
	ServiceQuotaIncreaseRequestInTemplateList []ServiceQuotaIncreaseRequestInTemplate `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplateResponse

func (ListServiceQuotaIncreaseRequestsInTemplateOutput) String

String returns the string representation

type ListServiceQuotaIncreaseRequestsInTemplatePaginator

type ListServiceQuotaIncreaseRequestsInTemplatePaginator struct {
	aws.Pager
}

ListServiceQuotaIncreaseRequestsInTemplatePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListServiceQuotaIncreaseRequestsInTemplatePaginator

func NewListServiceQuotaIncreaseRequestsInTemplatePaginator(req ListServiceQuotaIncreaseRequestsInTemplateRequest) ListServiceQuotaIncreaseRequestsInTemplatePaginator

NewListServiceQuotaIncreaseRequestsInTemplateRequestPaginator returns a paginator for ListServiceQuotaIncreaseRequestsInTemplate. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(input)
p := servicequotas.NewListServiceQuotaIncreaseRequestsInTemplateRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListServiceQuotaIncreaseRequestsInTemplatePaginator) CurrentPage

type ListServiceQuotaIncreaseRequestsInTemplateRequest

ListServiceQuotaIncreaseRequestsInTemplateRequest is the request type for the ListServiceQuotaIncreaseRequestsInTemplate API operation.

func (ListServiceQuotaIncreaseRequestsInTemplateRequest) Send

Send marshals and sends the ListServiceQuotaIncreaseRequestsInTemplate API request.

type ListServiceQuotaIncreaseRequestsInTemplateResponse

type ListServiceQuotaIncreaseRequestsInTemplateResponse struct {
	*ListServiceQuotaIncreaseRequestsInTemplateOutput
	// contains filtered or unexported fields
}

ListServiceQuotaIncreaseRequestsInTemplateResponse is the response type for the ListServiceQuotaIncreaseRequestsInTemplate API operation.

func (*ListServiceQuotaIncreaseRequestsInTemplateResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the ListServiceQuotaIncreaseRequestsInTemplate request.

type ListServiceQuotasInput

type ListServiceQuotasInput struct {

	// (Optional) Limits the number of results that you want to include in the response.
	// If you don't include this parameter, the response defaults to a value that's
	// specific to the operation. If additional items exist beyond the specified
	// maximum, the NextToken element is present and has a value (isn't null). Include
	// that value as the NextToken request parameter in the call to the operation
	// to get the next part of the results. You should check NextToken after every
	// operation to ensure that you receive all of the results.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from.
	NextToken *string `type:"string"`

	// The identifier for a service. When performing an operation, use the ServiceCode
	// to specify a particular service.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasRequest

func (ListServiceQuotasInput) String

func (s ListServiceQuotasInput) String() string

String returns the string representation

func (*ListServiceQuotasInput) Validate

func (s *ListServiceQuotasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServiceQuotasOutput

type ListServiceQuotasOutput struct {

	// If present in the response, this value indicates there's more output available
	// that what's included in the current response. This can occur even when the
	// response includes no values at all, such as when you ask for a filtered view
	// of a very long list. Use this value in the NextToken request parameter in
	// a subsequent call to the operation to continue processing and get the next
	// part of the output. You should repeat this until the NextToken response element
	// comes back empty (as null).
	NextToken *string `type:"string"`

	// The response information for a quota lists all attribute information for
	// the quota.
	Quotas []ServiceQuota `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasResponse

func (ListServiceQuotasOutput) String

func (s ListServiceQuotasOutput) String() string

String returns the string representation

type ListServiceQuotasPaginator

type ListServiceQuotasPaginator struct {
	aws.Pager
}

ListServiceQuotasPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListServiceQuotasPaginator

func NewListServiceQuotasPaginator(req ListServiceQuotasRequest) ListServiceQuotasPaginator

NewListServiceQuotasRequestPaginator returns a paginator for ListServiceQuotas. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListServiceQuotasRequest(input)
p := servicequotas.NewListServiceQuotasRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListServiceQuotasPaginator) CurrentPage

type ListServiceQuotasRequest

type ListServiceQuotasRequest struct {
	*aws.Request
	Input *ListServiceQuotasInput
	Copy  func(*ListServiceQuotasInput) ListServiceQuotasRequest
}

ListServiceQuotasRequest is the request type for the ListServiceQuotas API operation.

func (ListServiceQuotasRequest) Send

Send marshals and sends the ListServiceQuotas API request.

type ListServiceQuotasResponse

type ListServiceQuotasResponse struct {
	*ListServiceQuotasOutput
	// contains filtered or unexported fields
}

ListServiceQuotasResponse is the response type for the ListServiceQuotas API operation.

func (*ListServiceQuotasResponse) SDKResponseMetdata

func (r *ListServiceQuotasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListServiceQuotas request.

type ListServicesInput

type ListServicesInput struct {

	// (Optional) Limits the number of results that you want to include in the response.
	// If you don't include this parameter, the response defaults to a value that's
	// specific to the operation. If additional items exist beyond the specified
	// maximum, the NextToken element is present and has a value (isn't null). Include
	// that value as the NextToken request parameter in the call to the operation
	// to get the next part of the results. You should check NextToken after every
	// operation to ensure that you receive all of the results.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) Use this parameter in a request if you receive a NextToken response
	// in a previous request that indicates that there's more output available.
	// In a subsequent call, set it to the value of the previous call's NextToken
	// response to indicate where the output should continue from.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesRequest

func (ListServicesInput) String

func (s ListServicesInput) String() string

String returns the string representation

func (*ListServicesInput) Validate

func (s *ListServicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListServicesOutput

type ListServicesOutput struct {

	// If present in the response, this value indicates there's more output available
	// that what's included in the current response. This can occur even when the
	// response includes no values at all, such as when you ask for a filtered view
	// of a very long list. Use this value in the NextToken request parameter in
	// a subsequent call to the operation to continue processing and get the next
	// part of the output. You should repeat this until the NextToken response element
	// comes back empty (as null).
	NextToken *string `type:"string"`

	// Returns a list of services.
	Services []ServiceInfo `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesResponse

func (ListServicesOutput) String

func (s ListServicesOutput) String() string

String returns the string representation

type ListServicesPaginator

type ListServicesPaginator struct {
	aws.Pager
}

ListServicesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListServicesPaginator

func NewListServicesPaginator(req ListServicesRequest) ListServicesPaginator

NewListServicesRequestPaginator returns a paginator for ListServices. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListServicesRequest(input)
p := servicequotas.NewListServicesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListServicesPaginator) CurrentPage

func (p *ListServicesPaginator) CurrentPage() *ListServicesOutput

type ListServicesRequest

type ListServicesRequest struct {
	*aws.Request
	Input *ListServicesInput
	Copy  func(*ListServicesInput) ListServicesRequest
}

ListServicesRequest is the request type for the ListServices API operation.

func (ListServicesRequest) Send

Send marshals and sends the ListServices API request.

type ListServicesResponse

type ListServicesResponse struct {
	*ListServicesOutput
	// contains filtered or unexported fields
}

ListServicesResponse is the response type for the ListServices API operation.

func (*ListServicesResponse) SDKResponseMetdata

func (r *ListServicesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListServices request.

type MetricInfo

type MetricInfo struct {

	// A dimension is a name/value pair that is part of the identity of a metric.
	// Every metric has specific characteristics that describe it, and you can think
	// of dimensions as categories for those characteristics. These dimensions are
	// part of the CloudWatch Metric Identity that measures usage against a particular
	// service quota.
	MetricDimensions map[string]string `type:"map"`

	// The name of the CloudWatch metric that measures usage of a service quota.
	// This is a required field.
	MetricName *string `type:"string"`

	// The namespace of the metric. The namespace is a container for CloudWatch
	// metrics. You can specify a name for the namespace when you create a metric.
	MetricNamespace *string `type:"string"`

	// Statistics are metric data aggregations over specified periods of time. This
	// is the recommended statistic to use when comparing usage in the CloudWatch
	// Metric against your Service Quota.
	MetricStatisticRecommendation *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A structure that uses CloudWatch metrics to gather data about the service quota. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/MetricInfo

func (MetricInfo) String

func (s MetricInfo) String() string

String returns the string representation

type PeriodUnit

type PeriodUnit string
const (
	PeriodUnitMicrosecond PeriodUnit = "MICROSECOND"
	PeriodUnitMillisecond PeriodUnit = "MILLISECOND"
	PeriodUnitSecond      PeriodUnit = "SECOND"
	PeriodUnitMinute      PeriodUnit = "MINUTE"
	PeriodUnitHour        PeriodUnit = "HOUR"
	PeriodUnitDay         PeriodUnit = "DAY"
	PeriodUnitWeek        PeriodUnit = "WEEK"
)

Enum values for PeriodUnit

func (PeriodUnit) MarshalValue

func (enum PeriodUnit) MarshalValue() (string, error)

func (PeriodUnit) MarshalValueBuf

func (enum PeriodUnit) MarshalValueBuf(b []byte) ([]byte, error)

type PutServiceQuotaIncreaseRequestIntoTemplateInput

type PutServiceQuotaIncreaseRequestIntoTemplateInput struct {

	// Specifies the AWS Region for the quota.
	//
	// AwsRegion is a required field
	AwsRegion *string `min:"1" type:"string" required:"true"`

	// Specifies the new, increased value for the quota.
	//
	// DesiredValue is a required field
	DesiredValue *float64 `type:"double" required:"true"`

	// Specifies the service quota that you want to use.
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplateRequest

func (PutServiceQuotaIncreaseRequestIntoTemplateInput) String

String returns the string representation

func (*PutServiceQuotaIncreaseRequestIntoTemplateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type PutServiceQuotaIncreaseRequestIntoTemplateOutput

type PutServiceQuotaIncreaseRequestIntoTemplateOutput struct {

	// A structure that contains information about one service quota increase request.
	ServiceQuotaIncreaseRequestInTemplate *ServiceQuotaIncreaseRequestInTemplate `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplateResponse

func (PutServiceQuotaIncreaseRequestIntoTemplateOutput) String

String returns the string representation

type PutServiceQuotaIncreaseRequestIntoTemplateRequest

PutServiceQuotaIncreaseRequestIntoTemplateRequest is the request type for the PutServiceQuotaIncreaseRequestIntoTemplate API operation.

func (PutServiceQuotaIncreaseRequestIntoTemplateRequest) Send

Send marshals and sends the PutServiceQuotaIncreaseRequestIntoTemplate API request.

type PutServiceQuotaIncreaseRequestIntoTemplateResponse

type PutServiceQuotaIncreaseRequestIntoTemplateResponse struct {
	*PutServiceQuotaIncreaseRequestIntoTemplateOutput
	// contains filtered or unexported fields
}

PutServiceQuotaIncreaseRequestIntoTemplateResponse is the response type for the PutServiceQuotaIncreaseRequestIntoTemplate API operation.

func (*PutServiceQuotaIncreaseRequestIntoTemplateResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the PutServiceQuotaIncreaseRequestIntoTemplate request.

type QuotaPeriod

type QuotaPeriod struct {

	// The time unit of a period.
	PeriodUnit PeriodUnit `type:"string" enum:"true"`

	// The value of a period.
	PeriodValue *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A structure that contains information about the quota period. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaPeriod

func (QuotaPeriod) String

func (s QuotaPeriod) String() string

String returns the string representation

type RequestServiceQuotaIncreaseInput

type RequestServiceQuotaIncreaseInput struct {

	// Specifies the value submitted in the service quota increase request.
	//
	// DesiredValue is a required field
	DesiredValue *float64 `type:"double" required:"true"`

	// Specifies the service quota that you want to use.
	//
	// QuotaCode is a required field
	QuotaCode *string `min:"1" type:"string" required:"true"`

	// Specifies the service that you want to use.
	//
	// ServiceCode is a required field
	ServiceCode *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseRequest

func (RequestServiceQuotaIncreaseInput) String

String returns the string representation

func (*RequestServiceQuotaIncreaseInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type RequestServiceQuotaIncreaseOutput

type RequestServiceQuotaIncreaseOutput struct {

	// Returns a list of service quota requests.
	RequestedQuota *RequestedServiceQuotaChange `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseResponse

func (RequestServiceQuotaIncreaseOutput) String

String returns the string representation

type RequestServiceQuotaIncreaseRequest

type RequestServiceQuotaIncreaseRequest struct {
	*aws.Request
	Input *RequestServiceQuotaIncreaseInput
	Copy  func(*RequestServiceQuotaIncreaseInput) RequestServiceQuotaIncreaseRequest
}

RequestServiceQuotaIncreaseRequest is the request type for the RequestServiceQuotaIncrease API operation.

func (RequestServiceQuotaIncreaseRequest) Send

Send marshals and sends the RequestServiceQuotaIncrease API request.

type RequestServiceQuotaIncreaseResponse

type RequestServiceQuotaIncreaseResponse struct {
	*RequestServiceQuotaIncreaseOutput
	// contains filtered or unexported fields
}

RequestServiceQuotaIncreaseResponse is the response type for the RequestServiceQuotaIncrease API operation.

func (*RequestServiceQuotaIncreaseResponse) SDKResponseMetdata

func (r *RequestServiceQuotaIncreaseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RequestServiceQuotaIncrease request.

type RequestStatus

type RequestStatus string
const (
	RequestStatusPending    RequestStatus = "PENDING"
	RequestStatusCaseOpened RequestStatus = "CASE_OPENED"
	RequestStatusApproved   RequestStatus = "APPROVED"
	RequestStatusDenied     RequestStatus = "DENIED"
	RequestStatusCaseClosed RequestStatus = "CASE_CLOSED"
)

Enum values for RequestStatus

func (RequestStatus) MarshalValue

func (enum RequestStatus) MarshalValue() (string, error)

func (RequestStatus) MarshalValueBuf

func (enum RequestStatus) MarshalValueBuf(b []byte) ([]byte, error)

type RequestedServiceQuotaChange

type RequestedServiceQuotaChange struct {

	// The case Id for the service quota increase request.
	CaseId *string `type:"string"`

	// The date and time when the service quota increase request was received and
	// the case Id was created.
	Created *time.Time `type:"timestamp"`

	// New increased value for the service quota.
	DesiredValue *float64 `type:"double"`

	// Identifies if the quota is global.
	GlobalQuota *bool `type:"boolean"`

	// The unique identifier of a requested service quota change.
	Id *string `min:"1" type:"string"`

	// The date and time of the most recent change in the service quota increase
	// request.
	LastUpdated *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the service quota.
	QuotaArn *string `type:"string"`

	// Specifies the service quota that you want to use.
	QuotaCode *string `min:"1" type:"string"`

	// Name of the service quota.
	QuotaName *string `type:"string"`

	// The IAM identity who submitted the service quota increase request.
	Requester *string `type:"string"`

	// Specifies the service that you want to use.
	ServiceCode *string `min:"1" type:"string"`

	// The name of the AWS service specified in the increase request.
	ServiceName *string `type:"string"`

	// State of the service quota increase request.
	Status RequestStatus `type:"string" enum:"true"`

	// Specifies the unit used for the quota.
	Unit *string `type:"string"`
	// contains filtered or unexported fields
}

A structure that contains information about a requested change for a quota. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestedServiceQuotaChange

func (RequestedServiceQuotaChange) String

String returns the string representation

type ServiceInfo

type ServiceInfo struct {

	// Specifies the service that you want to use.
	ServiceCode *string `min:"1" type:"string"`

	// The name of the AWS service specified in the increase request.
	ServiceName *string `type:"string"`
	// contains filtered or unexported fields
}

A structure that contains the ServiceName and ServiceCode. It does not include all details of the service quota. To get those values, use the ListServiceQuotas operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceInfo

func (ServiceInfo) String

func (s ServiceInfo) String() string

String returns the string representation

type ServiceQuota

type ServiceQuota struct {

	// Specifies if the quota value can be increased.
	Adjustable *bool `type:"boolean"`

	// Specifies the ErrorCode and ErrorMessage when success isn't achieved.
	ErrorReason *ErrorReason `type:"structure"`

	// Specifies if the quota is global.
	GlobalQuota *bool `type:"boolean"`

	// Identifies the unit and value of how time is measured.
	Period *QuotaPeriod `type:"structure"`

	// The Amazon Resource Name (ARN) of the service quota.
	QuotaArn *string `type:"string"`

	// The code identifier for the service quota specified.
	QuotaCode *string `min:"1" type:"string"`

	// The name identifier of the service quota.
	QuotaName *string `type:"string"`

	// Specifies the service that you want to use.
	ServiceCode *string `min:"1" type:"string"`

	// The name of the AWS service specified in the increase request.
	ServiceName *string `type:"string"`

	// The unit of measurement for the value of the service quota.
	Unit *string `type:"string"`

	// Specifies the details about the measurement.
	UsageMetric *MetricInfo `type:"structure"`

	// The value of service quota.
	Value *float64 `type:"double"`
	// contains filtered or unexported fields
}

A structure that contains the full set of details that define the service quota. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuota

func (ServiceQuota) String

func (s ServiceQuota) String() string

String returns the string representation

type ServiceQuotaIncreaseRequestInTemplate

type ServiceQuotaIncreaseRequestInTemplate struct {

	// The AWS Region where the increase request occurs.
	AwsRegion *string `min:"1" type:"string"`

	// Identifies the new, increased value of the service quota in the increase
	// request.
	DesiredValue *float64 `type:"double"`

	// Specifies if the quota is a global quota.
	GlobalQuota *bool `type:"boolean"`

	// The code identifier for the service quota specified in the increase request.
	QuotaCode *string `min:"1" type:"string"`

	// The name of the service quota in the increase request.
	QuotaName *string `type:"string"`

	// The code identifier for the AWS service specified in the increase request.
	ServiceCode *string `min:"1" type:"string"`

	// The name of the AWS service specified in the increase request.
	ServiceName *string `type:"string"`

	// The unit of measure for the increase request.
	Unit *string `type:"string"`
	// contains filtered or unexported fields
}

A structure that contains information about one service quota increase request. Please also see https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuotaIncreaseRequestInTemplate

func (ServiceQuotaIncreaseRequestInTemplate) String

String returns the string representation

type ServiceQuotaTemplateAssociationStatus

type ServiceQuotaTemplateAssociationStatus string
const (
	ServiceQuotaTemplateAssociationStatusAssociated    ServiceQuotaTemplateAssociationStatus = "ASSOCIATED"
	ServiceQuotaTemplateAssociationStatusDisassociated ServiceQuotaTemplateAssociationStatus = "DISASSOCIATED"
)

Enum values for ServiceQuotaTemplateAssociationStatus

func (ServiceQuotaTemplateAssociationStatus) MarshalValue

func (enum ServiceQuotaTemplateAssociationStatus) MarshalValue() (string, error)

func (ServiceQuotaTemplateAssociationStatus) MarshalValueBuf

func (enum ServiceQuotaTemplateAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package servicequotasiface provides an interface to enable mocking the Service Quotas service client for testing your code.
Package servicequotasiface provides an interface to enable mocking the Service Quotas service client for testing your code.

Jump to

Keyboard shortcuts

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