servicequotas

package
v1.35.34 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 76

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 contact 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 ServiceQuotas 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 (
	// ErrorCodeDependencyAccessDeniedError is a ErrorCode enum value
	ErrorCodeDependencyAccessDeniedError = "DEPENDENCY_ACCESS_DENIED_ERROR"

	// ErrorCodeDependencyThrottlingError is a ErrorCode enum value
	ErrorCodeDependencyThrottlingError = "DEPENDENCY_THROTTLING_ERROR"

	// ErrorCodeDependencyServiceError is a ErrorCode enum value
	ErrorCodeDependencyServiceError = "DEPENDENCY_SERVICE_ERROR"

	// ErrorCodeServiceQuotaNotAvailableError is a ErrorCode enum value
	ErrorCodeServiceQuotaNotAvailableError = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
)
View Source
const (
	// PeriodUnitMicrosecond is a PeriodUnit enum value
	PeriodUnitMicrosecond = "MICROSECOND"

	// PeriodUnitMillisecond is a PeriodUnit enum value
	PeriodUnitMillisecond = "MILLISECOND"

	// PeriodUnitSecond is a PeriodUnit enum value
	PeriodUnitSecond = "SECOND"

	// PeriodUnitMinute is a PeriodUnit enum value
	PeriodUnitMinute = "MINUTE"

	// PeriodUnitHour is a PeriodUnit enum value
	PeriodUnitHour = "HOUR"

	// PeriodUnitDay is a PeriodUnit enum value
	PeriodUnitDay = "DAY"

	// PeriodUnitWeek is a PeriodUnit enum value
	PeriodUnitWeek = "WEEK"
)
View Source
const (
	// RequestStatusPending is a RequestStatus enum value
	RequestStatusPending = "PENDING"

	// RequestStatusCaseOpened is a RequestStatus enum value
	RequestStatusCaseOpened = "CASE_OPENED"

	// RequestStatusApproved is a RequestStatus enum value
	RequestStatusApproved = "APPROVED"

	// RequestStatusDenied is a RequestStatus enum value
	RequestStatusDenied = "DENIED"

	// RequestStatusCaseClosed is a RequestStatus enum value
	RequestStatusCaseClosed = "CASE_CLOSED"
)
View Source
const (
	// ServiceQuotaTemplateAssociationStatusAssociated is a ServiceQuotaTemplateAssociationStatus enum value
	ServiceQuotaTemplateAssociationStatusAssociated = "ASSOCIATED"

	// ServiceQuotaTemplateAssociationStatusDisassociated is a ServiceQuotaTemplateAssociationStatus enum value
	ServiceQuotaTemplateAssociationStatusDisassociated = "DISASSOCIATED"
)
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"
)
View Source
const (
	ServiceName = "Service Quotas" // Name of service.
	EndpointsID = "servicequotas"  // ID to lookup a service endpoint with.
	ServiceID   = "Service Quotas" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ErrorCode_Values added in v1.34.3

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func PeriodUnit_Values added in v1.34.3

func PeriodUnit_Values() []string

PeriodUnit_Values returns all elements of the PeriodUnit enum

func RequestStatus_Values added in v1.34.3

func RequestStatus_Values() []string

RequestStatus_Values returns all elements of the RequestStatus enum

func ServiceQuotaTemplateAssociationStatus_Values added in v1.34.3

func ServiceQuotaTemplateAssociationStatus_Values() []string

ServiceQuotaTemplateAssociationStatus_Values returns all elements of the ServiceQuotaTemplateAssociationStatus enum

Types

type AWSServiceAccessNotEnabledException added in v1.28.0

type AWSServiceAccessNotEnabledException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

func (*AWSServiceAccessNotEnabledException) Code added in v1.28.0

Code returns the exception type name.

func (*AWSServiceAccessNotEnabledException) Error added in v1.28.0

func (AWSServiceAccessNotEnabledException) GoString added in v1.28.0

GoString returns the string representation

func (*AWSServiceAccessNotEnabledException) Message added in v1.28.0

Message returns the exception's message.

func (*AWSServiceAccessNotEnabledException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AWSServiceAccessNotEnabledException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*AWSServiceAccessNotEnabledException) StatusCode added in v1.28.0

func (s *AWSServiceAccessNotEnabledException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AWSServiceAccessNotEnabledException) String added in v1.28.0

String returns the string representation

type AccessDeniedException added in v1.28.0

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation

type AssociateServiceQuotaTemplateInput

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

func (AssociateServiceQuotaTemplateInput) GoString

GoString returns the string representation

func (AssociateServiceQuotaTemplateInput) String

String returns the string representation

type AssociateServiceQuotaTemplateOutput

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

func (AssociateServiceQuotaTemplateOutput) GoString

GoString returns the string representation

func (AssociateServiceQuotaTemplateOutput) String

String returns the string representation

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
}

func (DeleteServiceQuotaIncreaseRequestFromTemplateInput) GoString

GoString returns the string representation

func (*DeleteServiceQuotaIncreaseRequestFromTemplateInput) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*DeleteServiceQuotaIncreaseRequestFromTemplateInput) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*DeleteServiceQuotaIncreaseRequestFromTemplateInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (DeleteServiceQuotaIncreaseRequestFromTemplateOutput) GoString

GoString returns the string representation

func (DeleteServiceQuotaIncreaseRequestFromTemplateOutput) String

String returns the string representation

type DependencyAccessDeniedException added in v1.28.0

type DependencyAccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You can't perform this action because a dependency does not have access.

func (*DependencyAccessDeniedException) Code added in v1.28.0

Code returns the exception type name.

func (*DependencyAccessDeniedException) Error added in v1.28.0

func (DependencyAccessDeniedException) GoString added in v1.28.0

GoString returns the string representation

func (*DependencyAccessDeniedException) Message added in v1.28.0

Message returns the exception's message.

func (*DependencyAccessDeniedException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DependencyAccessDeniedException) RequestID added in v1.28.0

func (s *DependencyAccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DependencyAccessDeniedException) StatusCode added in v1.28.0

func (s *DependencyAccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DependencyAccessDeniedException) String added in v1.28.0

String returns the string representation

type DisassociateServiceQuotaTemplateInput

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

func (DisassociateServiceQuotaTemplateInput) GoString

GoString returns the string representation

func (DisassociateServiceQuotaTemplateInput) String

String returns the string representation

type DisassociateServiceQuotaTemplateOutput

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

func (DisassociateServiceQuotaTemplateOutput) GoString

GoString returns the string representation

func (DisassociateServiceQuotaTemplateOutput) String

String returns the string representation

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 *string `type:"string" enum:"ErrorCode"`

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

func (ErrorReason) GoString

func (s ErrorReason) GoString() string

GoString returns the string representation

func (*ErrorReason) SetErrorCode

func (s *ErrorReason) SetErrorCode(v string) *ErrorReason

SetErrorCode sets the ErrorCode field's value.

func (*ErrorReason) SetErrorMessage

func (s *ErrorReason) SetErrorMessage(v string) *ErrorReason

SetErrorMessage sets the ErrorMessage field's value.

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
}

func (GetAWSDefaultServiceQuotaInput) GoString

GoString returns the string representation

func (*GetAWSDefaultServiceQuotaInput) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*GetAWSDefaultServiceQuotaInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (GetAWSDefaultServiceQuotaOutput) GoString

GoString returns the string representation

func (*GetAWSDefaultServiceQuotaOutput) SetQuota

SetQuota sets the Quota field's value.

func (GetAWSDefaultServiceQuotaOutput) String

String returns the string representation

type GetAssociationForServiceQuotaTemplateInput

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

func (GetAssociationForServiceQuotaTemplateInput) GoString

GoString returns the string representation

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 *string `type:"string" enum:"ServiceQuotaTemplateAssociationStatus"`
	// contains filtered or unexported fields
}

func (GetAssociationForServiceQuotaTemplateOutput) GoString

GoString returns the string representation

func (*GetAssociationForServiceQuotaTemplateOutput) SetServiceQuotaTemplateAssociationStatus

SetServiceQuotaTemplateAssociationStatus sets the ServiceQuotaTemplateAssociationStatus field's value.

func (GetAssociationForServiceQuotaTemplateOutput) String

String returns the string representation

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
}

func (GetRequestedServiceQuotaChangeInput) GoString

GoString returns the string representation

func (*GetRequestedServiceQuotaChangeInput) SetRequestId

SetRequestId sets the RequestId field's value.

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
}

func (GetRequestedServiceQuotaChangeOutput) GoString

GoString returns the string representation

func (*GetRequestedServiceQuotaChangeOutput) SetRequestedQuota

SetRequestedQuota sets the RequestedQuota field's value.

func (GetRequestedServiceQuotaChangeOutput) String

String returns the string representation

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
}

func (GetServiceQuotaIncreaseRequestFromTemplateInput) GoString

GoString returns the string representation

func (*GetServiceQuotaIncreaseRequestFromTemplateInput) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*GetServiceQuotaIncreaseRequestFromTemplateInput) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*GetServiceQuotaIncreaseRequestFromTemplateInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (GetServiceQuotaIncreaseRequestFromTemplateOutput) GoString

GoString returns the string representation

func (*GetServiceQuotaIncreaseRequestFromTemplateOutput) SetServiceQuotaIncreaseRequestInTemplate

SetServiceQuotaIncreaseRequestInTemplate sets the ServiceQuotaIncreaseRequestInTemplate field's value.

func (GetServiceQuotaIncreaseRequestFromTemplateOutput) String

String returns the string representation

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
}

func (GetServiceQuotaInput) GoString

func (s GetServiceQuotaInput) GoString() string

GoString returns the string representation

func (*GetServiceQuotaInput) SetQuotaCode

func (s *GetServiceQuotaInput) SetQuotaCode(v string) *GetServiceQuotaInput

SetQuotaCode sets the QuotaCode field's value.

func (*GetServiceQuotaInput) SetServiceCode

func (s *GetServiceQuotaInput) SetServiceCode(v string) *GetServiceQuotaInput

SetServiceCode sets the ServiceCode field's value.

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
}

func (GetServiceQuotaOutput) GoString

func (s GetServiceQuotaOutput) GoString() string

GoString returns the string representation

func (*GetServiceQuotaOutput) SetQuota

SetQuota sets the Quota field's value.

func (GetServiceQuotaOutput) String

func (s GetServiceQuotaOutput) String() string

String returns the string representation

type IllegalArgumentException added in v1.28.0

type IllegalArgumentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Invalid input was provided.

func (*IllegalArgumentException) Code added in v1.28.0

func (s *IllegalArgumentException) Code() string

Code returns the exception type name.

func (*IllegalArgumentException) Error added in v1.28.0

func (s *IllegalArgumentException) Error() string

func (IllegalArgumentException) GoString added in v1.28.0

func (s IllegalArgumentException) GoString() string

GoString returns the string representation

func (*IllegalArgumentException) Message added in v1.28.0

func (s *IllegalArgumentException) Message() string

Message returns the exception's message.

func (*IllegalArgumentException) OrigErr added in v1.28.0

func (s *IllegalArgumentException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IllegalArgumentException) RequestID added in v1.28.0

func (s *IllegalArgumentException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*IllegalArgumentException) StatusCode added in v1.28.0

func (s *IllegalArgumentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (IllegalArgumentException) String added in v1.28.0

func (s IllegalArgumentException) String() string

String returns the string representation

type InvalidPaginationTokenException added in v1.28.0

type InvalidPaginationTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Invalid input was provided.

func (*InvalidPaginationTokenException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidPaginationTokenException) Error added in v1.28.0

func (InvalidPaginationTokenException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidPaginationTokenException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidPaginationTokenException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPaginationTokenException) RequestID added in v1.28.0

func (s *InvalidPaginationTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPaginationTokenException) StatusCode added in v1.28.0

func (s *InvalidPaginationTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPaginationTokenException) String added in v1.28.0

String returns the string representation

type InvalidResourceStateException added in v1.28.0

type InvalidResourceStateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Invalid input was provided for the .

func (*InvalidResourceStateException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidResourceStateException) Error added in v1.28.0

func (InvalidResourceStateException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidResourceStateException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidResourceStateException) OrigErr added in v1.28.0

func (s *InvalidResourceStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidResourceStateException) RequestID added in v1.28.0

func (s *InvalidResourceStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidResourceStateException) StatusCode added in v1.28.0

func (s *InvalidResourceStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidResourceStateException) String added in v1.28.0

String returns the string representation

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
}

func (ListAWSDefaultServiceQuotasInput) GoString

GoString returns the string representation

func (*ListAWSDefaultServiceQuotasInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAWSDefaultServiceQuotasInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAWSDefaultServiceQuotasInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (ListAWSDefaultServiceQuotasOutput) GoString

GoString returns the string representation

func (*ListAWSDefaultServiceQuotasOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAWSDefaultServiceQuotasOutput) SetQuotas

SetQuotas sets the Quotas field's value.

func (ListAWSDefaultServiceQuotasOutput) String

String returns the string representation

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 *string `type:"string" enum:"RequestStatus"`
	// contains filtered or unexported fields
}

func (ListRequestedServiceQuotaChangeHistoryByQuotaInput) GoString

GoString returns the string representation

func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

func (*ListRequestedServiceQuotaChangeHistoryByQuotaInput) SetStatus

SetStatus sets the Status field's value.

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
}

func (ListRequestedServiceQuotaChangeHistoryByQuotaOutput) GoString

GoString returns the string representation

func (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput) SetRequestedQuotas

SetRequestedQuotas sets the RequestedQuotas field's value.

func (ListRequestedServiceQuotaChangeHistoryByQuotaOutput) String

String returns the string representation

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 *string `type:"string" enum:"RequestStatus"`
	// contains filtered or unexported fields
}

func (ListRequestedServiceQuotaChangeHistoryInput) GoString

GoString returns the string representation

func (*ListRequestedServiceQuotaChangeHistoryInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRequestedServiceQuotaChangeHistoryInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRequestedServiceQuotaChangeHistoryInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

func (*ListRequestedServiceQuotaChangeHistoryInput) SetStatus

SetStatus sets the Status field's value.

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
}

func (ListRequestedServiceQuotaChangeHistoryOutput) GoString

GoString returns the string representation

func (*ListRequestedServiceQuotaChangeHistoryOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRequestedServiceQuotaChangeHistoryOutput) SetRequestedQuotas

SetRequestedQuotas sets the RequestedQuotas field's value.

func (ListRequestedServiceQuotaChangeHistoryOutput) String

String returns the string representation

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
}

func (ListServiceQuotaIncreaseRequestsInTemplateInput) GoString

GoString returns the string representation

func (*ListServiceQuotaIncreaseRequestsInTemplateInput) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*ListServiceQuotaIncreaseRequestsInTemplateInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListServiceQuotaIncreaseRequestsInTemplateInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceQuotaIncreaseRequestsInTemplateInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (ListServiceQuotaIncreaseRequestsInTemplateOutput) GoString

GoString returns the string representation

func (*ListServiceQuotaIncreaseRequestsInTemplateOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceQuotaIncreaseRequestsInTemplateOutput) SetServiceQuotaIncreaseRequestInTemplateList

SetServiceQuotaIncreaseRequestInTemplateList sets the ServiceQuotaIncreaseRequestInTemplateList field's value.

func (ListServiceQuotaIncreaseRequestsInTemplateOutput) String

String returns the string representation

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
}

func (ListServiceQuotasInput) GoString

func (s ListServiceQuotasInput) GoString() string

GoString returns the string representation

func (*ListServiceQuotasInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListServiceQuotasInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceQuotasInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (ListServiceQuotasOutput) GoString

func (s ListServiceQuotasOutput) GoString() string

GoString returns the string representation

func (*ListServiceQuotasOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListServiceQuotasOutput) SetQuotas

SetQuotas sets the Quotas field's value.

func (ListServiceQuotasOutput) String

func (s ListServiceQuotasOutput) String() string

String returns the string representation

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
}

func (ListServicesInput) GoString

func (s ListServicesInput) GoString() string

GoString returns the string representation

func (*ListServicesInput) SetMaxResults

func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput

SetMaxResults sets the MaxResults field's value.

func (*ListServicesInput) SetNextToken

func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput

SetNextToken sets the NextToken field's value.

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
}

func (ListServicesOutput) GoString

func (s ListServicesOutput) GoString() string

GoString returns the string representation

func (*ListServicesOutput) SetNextToken

func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput

SetNextToken sets the NextToken field's value.

func (*ListServicesOutput) SetServices

func (s *ListServicesOutput) SetServices(v []*ServiceInfo) *ListServicesOutput

SetServices sets the Services field's value.

func (ListServicesOutput) String

func (s ListServicesOutput) String() string

String returns the string representation

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.

func (MetricInfo) GoString

func (s MetricInfo) GoString() string

GoString returns the string representation

func (*MetricInfo) SetMetricDimensions

func (s *MetricInfo) SetMetricDimensions(v map[string]*string) *MetricInfo

SetMetricDimensions sets the MetricDimensions field's value.

func (*MetricInfo) SetMetricName

func (s *MetricInfo) SetMetricName(v string) *MetricInfo

SetMetricName sets the MetricName field's value.

func (*MetricInfo) SetMetricNamespace

func (s *MetricInfo) SetMetricNamespace(v string) *MetricInfo

SetMetricNamespace sets the MetricNamespace field's value.

func (*MetricInfo) SetMetricStatisticRecommendation

func (s *MetricInfo) SetMetricStatisticRecommendation(v string) *MetricInfo

SetMetricStatisticRecommendation sets the MetricStatisticRecommendation field's value.

func (MetricInfo) String

func (s MetricInfo) String() string

String returns the string representation

type NoAvailableOrganizationException added in v1.28.0

type NoAvailableOrganizationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The account making this call is not a member of an organization.

func (*NoAvailableOrganizationException) Code added in v1.28.0

Code returns the exception type name.

func (*NoAvailableOrganizationException) Error added in v1.28.0

func (NoAvailableOrganizationException) GoString added in v1.28.0

GoString returns the string representation

func (*NoAvailableOrganizationException) Message added in v1.28.0

Message returns the exception's message.

func (*NoAvailableOrganizationException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NoAvailableOrganizationException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*NoAvailableOrganizationException) StatusCode added in v1.28.0

func (s *NoAvailableOrganizationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NoAvailableOrganizationException) String added in v1.28.0

String returns the string representation

type NoSuchResourceException added in v1.28.0

type NoSuchResourceException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The specified resource does not exist.

func (*NoSuchResourceException) Code added in v1.28.0

func (s *NoSuchResourceException) Code() string

Code returns the exception type name.

func (*NoSuchResourceException) Error added in v1.28.0

func (s *NoSuchResourceException) Error() string

func (NoSuchResourceException) GoString added in v1.28.0

func (s NoSuchResourceException) GoString() string

GoString returns the string representation

func (*NoSuchResourceException) Message added in v1.28.0

func (s *NoSuchResourceException) Message() string

Message returns the exception's message.

func (*NoSuchResourceException) OrigErr added in v1.28.0

func (s *NoSuchResourceException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NoSuchResourceException) RequestID added in v1.28.0

func (s *NoSuchResourceException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NoSuchResourceException) StatusCode added in v1.28.0

func (s *NoSuchResourceException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NoSuchResourceException) String added in v1.28.0

func (s NoSuchResourceException) String() string

String returns the string representation

type OrganizationNotInAllFeaturesModeException added in v1.28.0

type OrganizationNotInAllFeaturesModeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*OrganizationNotInAllFeaturesModeException) Code added in v1.28.0

Code returns the exception type name.

func (*OrganizationNotInAllFeaturesModeException) Error added in v1.28.0

func (OrganizationNotInAllFeaturesModeException) GoString added in v1.28.0

GoString returns the string representation

func (*OrganizationNotInAllFeaturesModeException) Message added in v1.28.0

Message returns the exception's message.

func (*OrganizationNotInAllFeaturesModeException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OrganizationNotInAllFeaturesModeException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*OrganizationNotInAllFeaturesModeException) StatusCode added in v1.28.0

Status code returns the HTTP status code for the request's response error.

func (OrganizationNotInAllFeaturesModeException) String added in v1.28.0

String returns the string representation

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
}

func (PutServiceQuotaIncreaseRequestIntoTemplateInput) GoString

GoString returns the string representation

func (*PutServiceQuotaIncreaseRequestIntoTemplateInput) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*PutServiceQuotaIncreaseRequestIntoTemplateInput) SetDesiredValue

SetDesiredValue sets the DesiredValue field's value.

func (*PutServiceQuotaIncreaseRequestIntoTemplateInput) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*PutServiceQuotaIncreaseRequestIntoTemplateInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (PutServiceQuotaIncreaseRequestIntoTemplateOutput) GoString

GoString returns the string representation

func (*PutServiceQuotaIncreaseRequestIntoTemplateOutput) SetServiceQuotaIncreaseRequestInTemplate

SetServiceQuotaIncreaseRequestInTemplate sets the ServiceQuotaIncreaseRequestInTemplate field's value.

func (PutServiceQuotaIncreaseRequestIntoTemplateOutput) String

String returns the string representation

type QuotaExceededException added in v1.28.0

type QuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

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.

func (*QuotaExceededException) Code added in v1.28.0

func (s *QuotaExceededException) Code() string

Code returns the exception type name.

func (*QuotaExceededException) Error added in v1.28.0

func (s *QuotaExceededException) Error() string

func (QuotaExceededException) GoString added in v1.28.0

func (s QuotaExceededException) GoString() string

GoString returns the string representation

func (*QuotaExceededException) Message added in v1.28.0

func (s *QuotaExceededException) Message() string

Message returns the exception's message.

func (*QuotaExceededException) OrigErr added in v1.28.0

func (s *QuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*QuotaExceededException) RequestID added in v1.28.0

func (s *QuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*QuotaExceededException) StatusCode added in v1.28.0

func (s *QuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (QuotaExceededException) String added in v1.28.0

func (s QuotaExceededException) String() string

String returns the string representation

type QuotaPeriod

type QuotaPeriod struct {

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

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

A structure that contains information about the quota period.

func (QuotaPeriod) GoString

func (s QuotaPeriod) GoString() string

GoString returns the string representation

func (*QuotaPeriod) SetPeriodUnit

func (s *QuotaPeriod) SetPeriodUnit(v string) *QuotaPeriod

SetPeriodUnit sets the PeriodUnit field's value.

func (*QuotaPeriod) SetPeriodValue

func (s *QuotaPeriod) SetPeriodValue(v int64) *QuotaPeriod

SetPeriodValue sets the PeriodValue field's value.

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
}

func (RequestServiceQuotaIncreaseInput) GoString

GoString returns the string representation

func (*RequestServiceQuotaIncreaseInput) SetDesiredValue

SetDesiredValue sets the DesiredValue field's value.

func (*RequestServiceQuotaIncreaseInput) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*RequestServiceQuotaIncreaseInput) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

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
}

func (RequestServiceQuotaIncreaseOutput) GoString

GoString returns the string representation

func (*RequestServiceQuotaIncreaseOutput) SetRequestedQuota

SetRequestedQuota sets the RequestedQuota field's value.

func (RequestServiceQuotaIncreaseOutput) String

String returns the string representation

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 *string `type:"string" enum:"RequestStatus"`

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

func (RequestedServiceQuotaChange) GoString

func (s RequestedServiceQuotaChange) GoString() string

GoString returns the string representation

func (*RequestedServiceQuotaChange) SetCaseId

SetCaseId sets the CaseId field's value.

func (*RequestedServiceQuotaChange) SetCreated

SetCreated sets the Created field's value.

func (*RequestedServiceQuotaChange) SetDesiredValue

SetDesiredValue sets the DesiredValue field's value.

func (*RequestedServiceQuotaChange) SetGlobalQuota

SetGlobalQuota sets the GlobalQuota field's value.

func (*RequestedServiceQuotaChange) SetId

SetId sets the Id field's value.

func (*RequestedServiceQuotaChange) SetLastUpdated

SetLastUpdated sets the LastUpdated field's value.

func (*RequestedServiceQuotaChange) SetQuotaArn

SetQuotaArn sets the QuotaArn field's value.

func (*RequestedServiceQuotaChange) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*RequestedServiceQuotaChange) SetQuotaName

SetQuotaName sets the QuotaName field's value.

func (*RequestedServiceQuotaChange) SetRequester

SetRequester sets the Requester field's value.

func (*RequestedServiceQuotaChange) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

func (*RequestedServiceQuotaChange) SetServiceName

SetServiceName sets the ServiceName field's value.

func (*RequestedServiceQuotaChange) SetStatus

SetStatus sets the Status field's value.

func (*RequestedServiceQuotaChange) SetUnit

SetUnit sets the Unit field's value.

func (RequestedServiceQuotaChange) String

String returns the string representation

type ResourceAlreadyExistsException added in v1.28.0

type ResourceAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The specified resource already exists.

func (*ResourceAlreadyExistsException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceAlreadyExistsException) Error added in v1.28.0

func (ResourceAlreadyExistsException) GoString added in v1.28.0

GoString returns the string representation

func (*ResourceAlreadyExistsException) Message added in v1.28.0

Message returns the exception's message.

func (*ResourceAlreadyExistsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceAlreadyExistsException) RequestID added in v1.28.0

func (s *ResourceAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceAlreadyExistsException) StatusCode added in v1.28.0

func (s *ResourceAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceAlreadyExistsException) String added in v1.28.0

String returns the string representation

type ServiceException added in v1.28.0

type ServiceException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Something went wrong.

func (*ServiceException) Code added in v1.28.0

func (s *ServiceException) Code() string

Code returns the exception type name.

func (*ServiceException) Error added in v1.28.0

func (s *ServiceException) Error() string

func (ServiceException) GoString added in v1.28.0

func (s ServiceException) GoString() string

GoString returns the string representation

func (*ServiceException) Message added in v1.28.0

func (s *ServiceException) Message() string

Message returns the exception's message.

func (*ServiceException) OrigErr added in v1.28.0

func (s *ServiceException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceException) RequestID added in v1.28.0

func (s *ServiceException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceException) StatusCode added in v1.28.0

func (s *ServiceException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceException) String added in v1.28.0

func (s ServiceException) String() 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.

func (ServiceInfo) GoString

func (s ServiceInfo) GoString() string

GoString returns the string representation

func (*ServiceInfo) SetServiceCode

func (s *ServiceInfo) SetServiceCode(v string) *ServiceInfo

SetServiceCode sets the ServiceCode field's value.

func (*ServiceInfo) SetServiceName

func (s *ServiceInfo) SetServiceName(v string) *ServiceInfo

SetServiceName sets the ServiceName field's value.

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.

func (ServiceQuota) GoString

func (s ServiceQuota) GoString() string

GoString returns the string representation

func (*ServiceQuota) SetAdjustable

func (s *ServiceQuota) SetAdjustable(v bool) *ServiceQuota

SetAdjustable sets the Adjustable field's value.

func (*ServiceQuota) SetErrorReason

func (s *ServiceQuota) SetErrorReason(v *ErrorReason) *ServiceQuota

SetErrorReason sets the ErrorReason field's value.

func (*ServiceQuota) SetGlobalQuota

func (s *ServiceQuota) SetGlobalQuota(v bool) *ServiceQuota

SetGlobalQuota sets the GlobalQuota field's value.

func (*ServiceQuota) SetPeriod

func (s *ServiceQuota) SetPeriod(v *QuotaPeriod) *ServiceQuota

SetPeriod sets the Period field's value.

func (*ServiceQuota) SetQuotaArn

func (s *ServiceQuota) SetQuotaArn(v string) *ServiceQuota

SetQuotaArn sets the QuotaArn field's value.

func (*ServiceQuota) SetQuotaCode

func (s *ServiceQuota) SetQuotaCode(v string) *ServiceQuota

SetQuotaCode sets the QuotaCode field's value.

func (*ServiceQuota) SetQuotaName

func (s *ServiceQuota) SetQuotaName(v string) *ServiceQuota

SetQuotaName sets the QuotaName field's value.

func (*ServiceQuota) SetServiceCode

func (s *ServiceQuota) SetServiceCode(v string) *ServiceQuota

SetServiceCode sets the ServiceCode field's value.

func (*ServiceQuota) SetServiceName

func (s *ServiceQuota) SetServiceName(v string) *ServiceQuota

SetServiceName sets the ServiceName field's value.

func (*ServiceQuota) SetUnit

func (s *ServiceQuota) SetUnit(v string) *ServiceQuota

SetUnit sets the Unit field's value.

func (*ServiceQuota) SetUsageMetric

func (s *ServiceQuota) SetUsageMetric(v *MetricInfo) *ServiceQuota

SetUsageMetric sets the UsageMetric field's value.

func (*ServiceQuota) SetValue

func (s *ServiceQuota) SetValue(v float64) *ServiceQuota

SetValue sets the Value field's value.

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.

func (ServiceQuotaIncreaseRequestInTemplate) GoString

GoString returns the string representation

func (*ServiceQuotaIncreaseRequestInTemplate) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetDesiredValue

SetDesiredValue sets the DesiredValue field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetGlobalQuota

SetGlobalQuota sets the GlobalQuota field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetQuotaCode

SetQuotaCode sets the QuotaCode field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetQuotaName

SetQuotaName sets the QuotaName field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetServiceCode

SetServiceCode sets the ServiceCode field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetServiceName

SetServiceName sets the ServiceName field's value.

func (*ServiceQuotaIncreaseRequestInTemplate) SetUnit

SetUnit sets the Unit field's value.

func (ServiceQuotaIncreaseRequestInTemplate) String

String returns the string representation

type ServiceQuotaTemplateNotInUseException added in v1.28.0

type ServiceQuotaTemplateNotInUseException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The quota request template is not associated with your organization.

To use the template, call AssociateServiceQuotaTemplate.

func (*ServiceQuotaTemplateNotInUseException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceQuotaTemplateNotInUseException) Error added in v1.28.0

func (ServiceQuotaTemplateNotInUseException) GoString added in v1.28.0

GoString returns the string representation

func (*ServiceQuotaTemplateNotInUseException) Message added in v1.28.0

Message returns the exception's message.

func (*ServiceQuotaTemplateNotInUseException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaTemplateNotInUseException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaTemplateNotInUseException) StatusCode added in v1.28.0

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaTemplateNotInUseException) String added in v1.28.0

String returns the string representation

type ServiceQuotas

type ServiceQuotas struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *ServiceQuotas

New creates a new instance of the ServiceQuotas client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ServiceQuotas client from just a session.
svc := servicequotas.New(mySession)

// Create a ServiceQuotas client with additional configuration
svc := servicequotas.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ServiceQuotas) AssociateServiceQuotaTemplate

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation AssociateServiceQuotaTemplate for usage and error information.

Returned Error Types:

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) AssociateServiceQuotaTemplateRequest

func (c *ServiceQuotas) AssociateServiceQuotaTemplateRequest(input *AssociateServiceQuotaTemplateInput) (req *request.Request, output *AssociateServiceQuotaTemplateOutput)

AssociateServiceQuotaTemplateRequest generates a "aws/request.Request" representing the client's request for the AssociateServiceQuotaTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateServiceQuotaTemplate for more information on using the AssociateServiceQuotaTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateServiceQuotaTemplateRequest method.
req, resp := client.AssociateServiceQuotaTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) AssociateServiceQuotaTemplateWithContext

func (c *ServiceQuotas) AssociateServiceQuotaTemplateWithContext(ctx aws.Context, input *AssociateServiceQuotaTemplateInput, opts ...request.Option) (*AssociateServiceQuotaTemplateOutput, error)

AssociateServiceQuotaTemplateWithContext is the same as AssociateServiceQuotaTemplate with the addition of the ability to pass a context and additional request options.

See AssociateServiceQuotaTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplate

DeleteServiceQuotaIncreaseRequestFromTemplate API operation for Service Quotas.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation DeleteServiceQuotaIncreaseRequestFromTemplate for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ServiceException Something went wrong.

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateRequest

func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) (req *request.Request, output *DeleteServiceQuotaIncreaseRequestFromTemplateOutput)

DeleteServiceQuotaIncreaseRequestFromTemplateRequest generates a "aws/request.Request" representing the client's request for the DeleteServiceQuotaIncreaseRequestFromTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteServiceQuotaIncreaseRequestFromTemplate for more information on using the DeleteServiceQuotaIncreaseRequestFromTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteServiceQuotaIncreaseRequestFromTemplateRequest method.
req, resp := client.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateWithContext

func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateWithContext(ctx aws.Context, input *DeleteServiceQuotaIncreaseRequestFromTemplateInput, opts ...request.Option) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error)

DeleteServiceQuotaIncreaseRequestFromTemplateWithContext is the same as DeleteServiceQuotaIncreaseRequestFromTemplate with the addition of the ability to pass a context and additional request options.

See DeleteServiceQuotaIncreaseRequestFromTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) DisassociateServiceQuotaTemplate

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation DisassociateServiceQuotaTemplate for usage and error information.

Returned Error Types:

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • ServiceQuotaTemplateNotInUseException The quota request template is not associated with your organization.

    To use the template, call AssociateServiceQuotaTemplate.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) DisassociateServiceQuotaTemplateRequest

func (c *ServiceQuotas) DisassociateServiceQuotaTemplateRequest(input *DisassociateServiceQuotaTemplateInput) (req *request.Request, output *DisassociateServiceQuotaTemplateOutput)

DisassociateServiceQuotaTemplateRequest generates a "aws/request.Request" representing the client's request for the DisassociateServiceQuotaTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateServiceQuotaTemplate for more information on using the DisassociateServiceQuotaTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateServiceQuotaTemplateRequest method.
req, resp := client.DisassociateServiceQuotaTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) DisassociateServiceQuotaTemplateWithContext

func (c *ServiceQuotas) DisassociateServiceQuotaTemplateWithContext(ctx aws.Context, input *DisassociateServiceQuotaTemplateInput, opts ...request.Option) (*DisassociateServiceQuotaTemplateOutput, error)

DisassociateServiceQuotaTemplateWithContext is the same as DisassociateServiceQuotaTemplate with the addition of the ability to pass a context and additional request options.

See DisassociateServiceQuotaTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) GetAWSDefaultServiceQuota

func (c *ServiceQuotas) GetAWSDefaultServiceQuota(input *GetAWSDefaultServiceQuotaInput) (*GetAWSDefaultServiceQuotaOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation GetAWSDefaultServiceQuota for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) GetAWSDefaultServiceQuotaRequest

func (c *ServiceQuotas) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultServiceQuotaInput) (req *request.Request, output *GetAWSDefaultServiceQuotaOutput)

GetAWSDefaultServiceQuotaRequest generates a "aws/request.Request" representing the client's request for the GetAWSDefaultServiceQuota operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAWSDefaultServiceQuota for more information on using the GetAWSDefaultServiceQuota API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAWSDefaultServiceQuotaRequest method.
req, resp := client.GetAWSDefaultServiceQuotaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) GetAWSDefaultServiceQuotaWithContext

func (c *ServiceQuotas) GetAWSDefaultServiceQuotaWithContext(ctx aws.Context, input *GetAWSDefaultServiceQuotaInput, opts ...request.Option) (*GetAWSDefaultServiceQuotaOutput, error)

GetAWSDefaultServiceQuotaWithContext is the same as GetAWSDefaultServiceQuota with the addition of the ability to pass a context and additional request options.

See GetAWSDefaultServiceQuota for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) GetAssociationForServiceQuotaTemplate

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation GetAssociationForServiceQuotaTemplate for usage and error information.

Returned Error Types:

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • ServiceQuotaTemplateNotInUseException The quota request template is not associated with your organization.

    To use the template, call AssociateServiceQuotaTemplate.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) GetAssociationForServiceQuotaTemplateRequest

func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplateRequest(input *GetAssociationForServiceQuotaTemplateInput) (req *request.Request, output *GetAssociationForServiceQuotaTemplateOutput)

GetAssociationForServiceQuotaTemplateRequest generates a "aws/request.Request" representing the client's request for the GetAssociationForServiceQuotaTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAssociationForServiceQuotaTemplate for more information on using the GetAssociationForServiceQuotaTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAssociationForServiceQuotaTemplateRequest method.
req, resp := client.GetAssociationForServiceQuotaTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) GetAssociationForServiceQuotaTemplateWithContext

func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplateWithContext(ctx aws.Context, input *GetAssociationForServiceQuotaTemplateInput, opts ...request.Option) (*GetAssociationForServiceQuotaTemplateOutput, error)

GetAssociationForServiceQuotaTemplateWithContext is the same as GetAssociationForServiceQuotaTemplate with the addition of the ability to pass a context and additional request options.

See GetAssociationForServiceQuotaTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) GetRequestedServiceQuotaChange

GetRequestedServiceQuotaChange API operation for Service Quotas.

Retrieves the details for a particular increase request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation GetRequestedServiceQuotaChange for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) GetRequestedServiceQuotaChangeRequest

func (c *ServiceQuotas) GetRequestedServiceQuotaChangeRequest(input *GetRequestedServiceQuotaChangeInput) (req *request.Request, output *GetRequestedServiceQuotaChangeOutput)

GetRequestedServiceQuotaChangeRequest generates a "aws/request.Request" representing the client's request for the GetRequestedServiceQuotaChange operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRequestedServiceQuotaChange for more information on using the GetRequestedServiceQuotaChange API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRequestedServiceQuotaChangeRequest method.
req, resp := client.GetRequestedServiceQuotaChangeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) GetRequestedServiceQuotaChangeWithContext

func (c *ServiceQuotas) GetRequestedServiceQuotaChangeWithContext(ctx aws.Context, input *GetRequestedServiceQuotaChangeInput, opts ...request.Option) (*GetRequestedServiceQuotaChangeOutput, error)

GetRequestedServiceQuotaChangeWithContext is the same as GetRequestedServiceQuotaChange with the addition of the ability to pass a context and additional request options.

See GetRequestedServiceQuotaChange for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) GetServiceQuota

func (c *ServiceQuotas) GetServiceQuota(input *GetServiceQuotaInput) (*GetServiceQuotaOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation GetServiceQuota for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplate

GetServiceQuotaIncreaseRequestFromTemplate API operation for Service Quotas.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation GetServiceQuotaIncreaseRequestFromTemplate for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateRequest

func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateRequest(input *GetServiceQuotaIncreaseRequestFromTemplateInput) (req *request.Request, output *GetServiceQuotaIncreaseRequestFromTemplateOutput)

GetServiceQuotaIncreaseRequestFromTemplateRequest generates a "aws/request.Request" representing the client's request for the GetServiceQuotaIncreaseRequestFromTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServiceQuotaIncreaseRequestFromTemplate for more information on using the GetServiceQuotaIncreaseRequestFromTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceQuotaIncreaseRequestFromTemplateRequest method.
req, resp := client.GetServiceQuotaIncreaseRequestFromTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateWithContext

func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateWithContext(ctx aws.Context, input *GetServiceQuotaIncreaseRequestFromTemplateInput, opts ...request.Option) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error)

GetServiceQuotaIncreaseRequestFromTemplateWithContext is the same as GetServiceQuotaIncreaseRequestFromTemplate with the addition of the ability to pass a context and additional request options.

See GetServiceQuotaIncreaseRequestFromTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) GetServiceQuotaRequest

func (c *ServiceQuotas) GetServiceQuotaRequest(input *GetServiceQuotaInput) (req *request.Request, output *GetServiceQuotaOutput)

GetServiceQuotaRequest generates a "aws/request.Request" representing the client's request for the GetServiceQuota operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServiceQuota for more information on using the GetServiceQuota API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceQuotaRequest method.
req, resp := client.GetServiceQuotaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) GetServiceQuotaWithContext

func (c *ServiceQuotas) GetServiceQuotaWithContext(ctx aws.Context, input *GetServiceQuotaInput, opts ...request.Option) (*GetServiceQuotaOutput, error)

GetServiceQuotaWithContext is the same as GetServiceQuota with the addition of the ability to pass a context and additional request options.

See GetServiceQuota for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListAWSDefaultServiceQuotas

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation ListAWSDefaultServiceQuotas for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • InvalidPaginationTokenException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) ListAWSDefaultServiceQuotasPages

func (c *ServiceQuotas) ListAWSDefaultServiceQuotasPages(input *ListAWSDefaultServiceQuotasInput, fn func(*ListAWSDefaultServiceQuotasOutput, bool) bool) error

ListAWSDefaultServiceQuotasPages iterates over the pages of a ListAWSDefaultServiceQuotas operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAWSDefaultServiceQuotas method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListAWSDefaultServiceQuotas operation.
pageNum := 0
err := client.ListAWSDefaultServiceQuotasPages(params,
    func(page *servicequotas.ListAWSDefaultServiceQuotasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ServiceQuotas) ListAWSDefaultServiceQuotasPagesWithContext

func (c *ServiceQuotas) ListAWSDefaultServiceQuotasPagesWithContext(ctx aws.Context, input *ListAWSDefaultServiceQuotasInput, fn func(*ListAWSDefaultServiceQuotasOutput, bool) bool, opts ...request.Option) error

ListAWSDefaultServiceQuotasPagesWithContext same as ListAWSDefaultServiceQuotasPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListAWSDefaultServiceQuotasRequest

func (c *ServiceQuotas) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefaultServiceQuotasInput) (req *request.Request, output *ListAWSDefaultServiceQuotasOutput)

ListAWSDefaultServiceQuotasRequest generates a "aws/request.Request" representing the client's request for the ListAWSDefaultServiceQuotas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAWSDefaultServiceQuotas for more information on using the ListAWSDefaultServiceQuotas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAWSDefaultServiceQuotasRequest method.
req, resp := client.ListAWSDefaultServiceQuotasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) ListAWSDefaultServiceQuotasWithContext

func (c *ServiceQuotas) ListAWSDefaultServiceQuotasWithContext(ctx aws.Context, input *ListAWSDefaultServiceQuotasInput, opts ...request.Option) (*ListAWSDefaultServiceQuotasOutput, error)

ListAWSDefaultServiceQuotasWithContext is the same as ListAWSDefaultServiceQuotas with the addition of the ability to pass a context and additional request options.

See ListAWSDefaultServiceQuotas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistory

ListRequestedServiceQuotaChangeHistory API operation for Service Quotas.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation ListRequestedServiceQuotaChangeHistory for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • InvalidPaginationTokenException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuota

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation ListRequestedServiceQuotaChangeHistoryByQuota for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • InvalidPaginationTokenException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPages

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPages(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, fn func(*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, bool) bool) error

ListRequestedServiceQuotaChangeHistoryByQuotaPages iterates over the pages of a ListRequestedServiceQuotaChangeHistoryByQuota operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRequestedServiceQuotaChangeHistoryByQuota method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistoryByQuota operation.
pageNum := 0
err := client.ListRequestedServiceQuotaChangeHistoryByQuotaPages(params,
    func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, fn func(*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, bool) bool, opts ...request.Option) error

ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext same as ListRequestedServiceQuotaChangeHistoryByQuotaPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaRequest

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) (req *request.Request, output *ListRequestedServiceQuotaChangeHistoryByQuotaOutput)

ListRequestedServiceQuotaChangeHistoryByQuotaRequest generates a "aws/request.Request" representing the client's request for the ListRequestedServiceQuotaChangeHistoryByQuota operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRequestedServiceQuotaChangeHistoryByQuota for more information on using the ListRequestedServiceQuotaChangeHistoryByQuota API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRequestedServiceQuotaChangeHistoryByQuotaRequest method.
req, resp := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaWithContext

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, opts ...request.Option) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error)

ListRequestedServiceQuotaChangeHistoryByQuotaWithContext is the same as ListRequestedServiceQuotaChangeHistoryByQuota with the addition of the ability to pass a context and additional request options.

See ListRequestedServiceQuotaChangeHistoryByQuota for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPages

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPages(input *ListRequestedServiceQuotaChangeHistoryInput, fn func(*ListRequestedServiceQuotaChangeHistoryOutput, bool) bool) error

ListRequestedServiceQuotaChangeHistoryPages iterates over the pages of a ListRequestedServiceQuotaChangeHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRequestedServiceQuotaChangeHistory method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistory operation.
pageNum := 0
err := client.ListRequestedServiceQuotaChangeHistoryPages(params,
    func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPagesWithContext

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPagesWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryInput, fn func(*ListRequestedServiceQuotaChangeHistoryOutput, bool) bool, opts ...request.Option) error

ListRequestedServiceQuotaChangeHistoryPagesWithContext same as ListRequestedServiceQuotaChangeHistoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryRequest

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryRequest(input *ListRequestedServiceQuotaChangeHistoryInput) (req *request.Request, output *ListRequestedServiceQuotaChangeHistoryOutput)

ListRequestedServiceQuotaChangeHistoryRequest generates a "aws/request.Request" representing the client's request for the ListRequestedServiceQuotaChangeHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRequestedServiceQuotaChangeHistory for more information on using the ListRequestedServiceQuotaChangeHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRequestedServiceQuotaChangeHistoryRequest method.
req, resp := client.ListRequestedServiceQuotaChangeHistoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) ListRequestedServiceQuotaChangeHistoryWithContext

func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryWithContext(ctx aws.Context, input *ListRequestedServiceQuotaChangeHistoryInput, opts ...request.Option) (*ListRequestedServiceQuotaChangeHistoryOutput, error)

ListRequestedServiceQuotaChangeHistoryWithContext is the same as ListRequestedServiceQuotaChangeHistory with the addition of the ability to pass a context and additional request options.

See ListRequestedServiceQuotaChangeHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplate

ListServiceQuotaIncreaseRequestsInTemplate API operation for Service Quotas.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation ListServiceQuotaIncreaseRequestsInTemplate for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • IllegalArgumentException Invalid input was provided.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePages

func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePages(input *ListServiceQuotaIncreaseRequestsInTemplateInput, fn func(*ListServiceQuotaIncreaseRequestsInTemplateOutput, bool) bool) error

ListServiceQuotaIncreaseRequestsInTemplatePages iterates over the pages of a ListServiceQuotaIncreaseRequestsInTemplate operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServiceQuotaIncreaseRequestsInTemplate method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListServiceQuotaIncreaseRequestsInTemplate operation.
pageNum := 0
err := client.ListServiceQuotaIncreaseRequestsInTemplatePages(params,
    func(page *servicequotas.ListServiceQuotaIncreaseRequestsInTemplateOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext

func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext(ctx aws.Context, input *ListServiceQuotaIncreaseRequestsInTemplateInput, fn func(*ListServiceQuotaIncreaseRequestsInTemplateOutput, bool) bool, opts ...request.Option) error

ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext same as ListServiceQuotaIncreaseRequestsInTemplatePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateRequest

func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateRequest(input *ListServiceQuotaIncreaseRequestsInTemplateInput) (req *request.Request, output *ListServiceQuotaIncreaseRequestsInTemplateOutput)

ListServiceQuotaIncreaseRequestsInTemplateRequest generates a "aws/request.Request" representing the client's request for the ListServiceQuotaIncreaseRequestsInTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServiceQuotaIncreaseRequestsInTemplate for more information on using the ListServiceQuotaIncreaseRequestsInTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServiceQuotaIncreaseRequestsInTemplateRequest method.
req, resp := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateWithContext

func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateWithContext(ctx aws.Context, input *ListServiceQuotaIncreaseRequestsInTemplateInput, opts ...request.Option) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error)

ListServiceQuotaIncreaseRequestsInTemplateWithContext is the same as ListServiceQuotaIncreaseRequestsInTemplate with the addition of the ability to pass a context and additional request options.

See ListServiceQuotaIncreaseRequestsInTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListServiceQuotas

func (c *ServiceQuotas) ListServiceQuotas(input *ListServiceQuotasInput) (*ListServiceQuotasOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation ListServiceQuotas for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • InvalidPaginationTokenException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) ListServiceQuotasPages

func (c *ServiceQuotas) ListServiceQuotasPages(input *ListServiceQuotasInput, fn func(*ListServiceQuotasOutput, bool) bool) error

ListServiceQuotasPages iterates over the pages of a ListServiceQuotas operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServiceQuotas method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListServiceQuotas operation.
pageNum := 0
err := client.ListServiceQuotasPages(params,
    func(page *servicequotas.ListServiceQuotasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ServiceQuotas) ListServiceQuotasPagesWithContext

func (c *ServiceQuotas) ListServiceQuotasPagesWithContext(ctx aws.Context, input *ListServiceQuotasInput, fn func(*ListServiceQuotasOutput, bool) bool, opts ...request.Option) error

ListServiceQuotasPagesWithContext same as ListServiceQuotasPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListServiceQuotasRequest

func (c *ServiceQuotas) ListServiceQuotasRequest(input *ListServiceQuotasInput) (req *request.Request, output *ListServiceQuotasOutput)

ListServiceQuotasRequest generates a "aws/request.Request" representing the client's request for the ListServiceQuotas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServiceQuotas for more information on using the ListServiceQuotas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServiceQuotasRequest method.
req, resp := client.ListServiceQuotasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) ListServiceQuotasWithContext

func (c *ServiceQuotas) ListServiceQuotasWithContext(ctx aws.Context, input *ListServiceQuotasInput, opts ...request.Option) (*ListServiceQuotasOutput, error)

ListServiceQuotasWithContext is the same as ListServiceQuotas with the addition of the ability to pass a context and additional request options.

See ListServiceQuotas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListServices

func (c *ServiceQuotas) ListServices(input *ListServicesInput) (*ListServicesOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation ListServices for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • IllegalArgumentException Invalid input was provided.

  • InvalidPaginationTokenException Invalid input was provided.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) ListServicesPages

func (c *ServiceQuotas) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error

ListServicesPages iterates over the pages of a ListServices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListServices method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListServices operation.
pageNum := 0
err := client.ListServicesPages(params,
    func(page *servicequotas.ListServicesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ServiceQuotas) ListServicesPagesWithContext

func (c *ServiceQuotas) ListServicesPagesWithContext(ctx aws.Context, input *ListServicesInput, fn func(*ListServicesOutput, bool) bool, opts ...request.Option) error

ListServicesPagesWithContext same as ListServicesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) ListServicesRequest

func (c *ServiceQuotas) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput)

ListServicesRequest generates a "aws/request.Request" representing the client's request for the ListServices operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListServices for more information on using the ListServices API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListServicesRequest method.
req, resp := client.ListServicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) ListServicesWithContext

func (c *ServiceQuotas) ListServicesWithContext(ctx aws.Context, input *ListServicesInput, opts ...request.Option) (*ListServicesOutput, error)

ListServicesWithContext is the same as ListServices with the addition of the ability to pass a context and additional request options.

See ListServices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplate

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation PutServiceQuotaIncreaseRequestIntoTemplate for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

  • IllegalArgumentException Invalid input was provided.

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

  • NoSuchResourceException The specified resource does not exist.

  • AWSServiceAccessNotEnabledException The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.

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

  • NoAvailableOrganizationException The account making this call is not a member of an organization.

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

func (*ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateRequest

func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) (req *request.Request, output *PutServiceQuotaIncreaseRequestIntoTemplateOutput)

PutServiceQuotaIncreaseRequestIntoTemplateRequest generates a "aws/request.Request" representing the client's request for the PutServiceQuotaIncreaseRequestIntoTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutServiceQuotaIncreaseRequestIntoTemplate for more information on using the PutServiceQuotaIncreaseRequestIntoTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutServiceQuotaIncreaseRequestIntoTemplateRequest method.
req, resp := client.PutServiceQuotaIncreaseRequestIntoTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateWithContext

func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateWithContext(ctx aws.Context, input *PutServiceQuotaIncreaseRequestIntoTemplateInput, opts ...request.Option) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error)

PutServiceQuotaIncreaseRequestIntoTemplateWithContext is the same as PutServiceQuotaIncreaseRequestIntoTemplate with the addition of the ability to pass a context and additional request options.

See PutServiceQuotaIncreaseRequestIntoTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ServiceQuotas) RequestServiceQuotaIncrease

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Service Quotas's API operation RequestServiceQuotaIncrease for usage and error information.

Returned Error Types:

  • DependencyAccessDeniedException You can't perform this action because a dependency does not have access.

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

  • ResourceAlreadyExistsException The specified resource already exists.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • NoSuchResourceException The specified resource does not exist.

  • IllegalArgumentException Invalid input was provided.

  • InvalidResourceStateException Invalid input was provided for the .

  • ServiceException Something went wrong.

  • TooManyRequestsException Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

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

func (*ServiceQuotas) RequestServiceQuotaIncreaseRequest

func (c *ServiceQuotas) RequestServiceQuotaIncreaseRequest(input *RequestServiceQuotaIncreaseInput) (req *request.Request, output *RequestServiceQuotaIncreaseOutput)

RequestServiceQuotaIncreaseRequest generates a "aws/request.Request" representing the client's request for the RequestServiceQuotaIncrease operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RequestServiceQuotaIncrease for more information on using the RequestServiceQuotaIncrease API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RequestServiceQuotaIncreaseRequest method.
req, resp := client.RequestServiceQuotaIncreaseRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ServiceQuotas) RequestServiceQuotaIncreaseWithContext

func (c *ServiceQuotas) RequestServiceQuotaIncreaseWithContext(ctx aws.Context, input *RequestServiceQuotaIncreaseInput, opts ...request.Option) (*RequestServiceQuotaIncreaseOutput, error)

RequestServiceQuotaIncreaseWithContext is the same as RequestServiceQuotaIncrease with the addition of the ability to pass a context and additional request options.

See RequestServiceQuotaIncrease for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type TemplatesNotAvailableInRegionException added in v1.28.0

type TemplatesNotAvailableInRegionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The Service Quotas template is not available in the Region where you are making the request. Please make the request in us-east-1.

func (*TemplatesNotAvailableInRegionException) Code added in v1.28.0

Code returns the exception type name.

func (*TemplatesNotAvailableInRegionException) Error added in v1.28.0

func (TemplatesNotAvailableInRegionException) GoString added in v1.28.0

GoString returns the string representation

func (*TemplatesNotAvailableInRegionException) Message added in v1.28.0

Message returns the exception's message.

func (*TemplatesNotAvailableInRegionException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TemplatesNotAvailableInRegionException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*TemplatesNotAvailableInRegionException) StatusCode added in v1.28.0

Status code returns the HTTP status code for the request's response error.

func (TemplatesNotAvailableInRegionException) String added in v1.28.0

String returns the string representation

type TooManyRequestsException added in v1.28.0

type TooManyRequestsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.

func (*TooManyRequestsException) Code added in v1.28.0

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error added in v1.28.0

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString added in v1.28.0

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message added in v1.28.0

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr added in v1.28.0

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID added in v1.28.0

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode added in v1.28.0

func (s *TooManyRequestsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyRequestsException) String added in v1.28.0

func (s TooManyRequestsException) String() string

String returns the string representation

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