package types

import "github.com/aws/aws-sdk-go-v2/service/servicequotas/types"

Index

Types

type AWSServiceAccessNotEnabledException

type AWSServiceAccessNotEnabledException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization.

func (*AWSServiceAccessNotEnabledException) Error

func (*AWSServiceAccessNotEnabledException) ErrorCode

func (*AWSServiceAccessNotEnabledException) ErrorFault

func (*AWSServiceAccessNotEnabledException) ErrorMessage

func (e *AWSServiceAccessNotEnabledException) ErrorMessage() string

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You do not have sufficient permission to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AppliedLevelEnum

type AppliedLevelEnum string
const (
	AppliedLevelEnumAccount  AppliedLevelEnum = "ACCOUNT"
	AppliedLevelEnumResource AppliedLevelEnum = "RESOURCE"
	AppliedLevelEnumAll      AppliedLevelEnum = "ALL"
)

Enum values for AppliedLevelEnum

func (AppliedLevelEnum) Values

Values returns all known values for AppliedLevelEnum. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type DependencyAccessDeniedException

type DependencyAccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*DependencyAccessDeniedException) Error

func (*DependencyAccessDeniedException) ErrorCode

func (e *DependencyAccessDeniedException) ErrorCode() string

func (*DependencyAccessDeniedException) ErrorFault

func (*DependencyAccessDeniedException) ErrorMessage

func (e *DependencyAccessDeniedException) ErrorMessage() string

type ErrorCode

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

Enum values for ErrorCode

func (ErrorCode) Values

func (ErrorCode) Values() []ErrorCode

Values returns all known values for ErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ErrorReason

type ErrorReason struct {

	// Service Quotas returns the following error values:
	//
	//   - DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required
	//   permissions to complete the action. To resolve the error, you must have
	//   permission to access the Amazon Web Services service or quota.
	//
	//   - DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling
	//   Service Quotas.
	//
	//   - DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available.
	//
	//   - SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.
	ErrorCode ErrorCode

	// The error message.
	ErrorMessage *string
	// contains filtered or unexported fields
}

An error that explains why an action did not succeed.

type IllegalArgumentException

type IllegalArgumentException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Invalid input was provided.

func (*IllegalArgumentException) Error

func (e *IllegalArgumentException) Error() string

func (*IllegalArgumentException) ErrorCode

func (e *IllegalArgumentException) ErrorCode() string

func (*IllegalArgumentException) ErrorFault

func (e *IllegalArgumentException) ErrorFault() smithy.ErrorFault

func (*IllegalArgumentException) ErrorMessage

func (e *IllegalArgumentException) ErrorMessage() string

type InvalidPaginationTokenException

type InvalidPaginationTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Invalid input was provided.

func (*InvalidPaginationTokenException) Error

func (*InvalidPaginationTokenException) ErrorCode

func (e *InvalidPaginationTokenException) ErrorCode() string

func (*InvalidPaginationTokenException) ErrorFault

func (*InvalidPaginationTokenException) ErrorMessage

func (e *InvalidPaginationTokenException) ErrorMessage() string

type InvalidResourceStateException

type InvalidResourceStateException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The resource is in an invalid state.

func (*InvalidResourceStateException) Error

func (*InvalidResourceStateException) ErrorCode

func (e *InvalidResourceStateException) ErrorCode() string

func (*InvalidResourceStateException) ErrorFault

func (*InvalidResourceStateException) ErrorMessage

func (e *InvalidResourceStateException) ErrorMessage() string

type MetricInfo

type MetricInfo struct {

	// The metric dimension. This is a name/value pair that is part of the identity of
	// a metric.
	MetricDimensions map[string]string

	// The name of the metric.
	MetricName *string

	// The namespace of the metric.
	MetricNamespace *string

	// The metric statistic that we recommend you use when determining quota usage.
	MetricStatisticRecommendation *string
	// contains filtered or unexported fields
}

Information about the CloudWatch metric that reflects quota usage.

type NoAvailableOrganizationException

type NoAvailableOrganizationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*NoAvailableOrganizationException) Error

func (*NoAvailableOrganizationException) ErrorCode

func (*NoAvailableOrganizationException) ErrorFault

func (*NoAvailableOrganizationException) ErrorMessage

func (e *NoAvailableOrganizationException) ErrorMessage() string

type NoSuchResourceException

type NoSuchResourceException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource does not exist.

func (*NoSuchResourceException) Error

func (e *NoSuchResourceException) Error() string

func (*NoSuchResourceException) ErrorCode

func (e *NoSuchResourceException) ErrorCode() string

func (*NoSuchResourceException) ErrorFault

func (e *NoSuchResourceException) ErrorFault() smithy.ErrorFault

func (*NoSuchResourceException) ErrorMessage

func (e *NoSuchResourceException) ErrorMessage() string

type OrganizationNotInAllFeaturesModeException

type OrganizationNotInAllFeaturesModeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The organization that your Amazon Web Services account belongs to is not in All Features mode.

func (*OrganizationNotInAllFeaturesModeException) Error

func (*OrganizationNotInAllFeaturesModeException) ErrorCode

func (*OrganizationNotInAllFeaturesModeException) ErrorFault

func (*OrganizationNotInAllFeaturesModeException) ErrorMessage

type PeriodUnit

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

Enum values for PeriodUnit

func (PeriodUnit) Values

func (PeriodUnit) Values() []PeriodUnit

Values returns all known values for PeriodUnit. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type QuotaContextInfo

type QuotaContextInfo struct {

	// Specifies the resource, or resources, to which the quota applies. The value for
	// this field is either an Amazon Resource Name (ARN) or *. If the value is an ARN,
	// the quota value applies to that resource. If the value is *, then the quota
	// value applies to all resources listed in the ContextScopeType field. The quota
	// value applies to all resources for which you haven’t previously applied a quota
	// value, and any new resources you create in your Amazon Web Services account.
	ContextId *string

	// Specifies the scope to which the quota value is applied. If the scope is
	// RESOURCE , the quota value is applied to each resource in the Amazon Web
	// Services account. If the scope is ACCOUNT , the quota value is applied to the
	// Amazon Web Services account.
	ContextScope QuotaContextScope

	// Specifies the resource type to which the quota can be applied.
	ContextScopeType *string
	// contains filtered or unexported fields
}

A structure that describes the context for a resource-level quota. For resource-level quotas, such as Instances per OpenSearch Service Domain , you can apply the quota value at the resource-level for each OpenSearch Service Domain in your Amazon Web Services account. Together the attributes of this structure help you understand how the quota is implemented by Amazon Web Services and how you can manage it. For quotas such as Amazon OpenSearch Service Domains which can be managed at the account-level for each Amazon Web Services Region, the QuotaContext field is absent. See the attribute descriptions below to further understand how to use them.

type QuotaContextScope

type QuotaContextScope string
const (
	QuotaContextScopeResource QuotaContextScope = "RESOURCE"
	QuotaContextScopeAccount  QuotaContextScope = "ACCOUNT"
)

Enum values for QuotaContextScope

func (QuotaContextScope) Values

Values returns all known values for QuotaContextScope. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type QuotaExceededException

type QuotaExceededException struct {
	Message *string

	ErrorCodeOverride *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) Error

func (e *QuotaExceededException) Error() string

func (*QuotaExceededException) ErrorCode

func (e *QuotaExceededException) ErrorCode() string

func (*QuotaExceededException) ErrorFault

func (e *QuotaExceededException) ErrorFault() smithy.ErrorFault

func (*QuotaExceededException) ErrorMessage

func (e *QuotaExceededException) ErrorMessage() string

type QuotaPeriod

type QuotaPeriod struct {

	// The time unit.
	PeriodUnit PeriodUnit

	// The value associated with the reported PeriodUnit .
	PeriodValue *int32
	// contains filtered or unexported fields
}

Information about the quota period.

type RequestStatus

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

Enum values for RequestStatus

func (RequestStatus) Values

func (RequestStatus) Values() []RequestStatus

Values returns all known values for RequestStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type RequestedServiceQuotaChange

type RequestedServiceQuotaChange struct {

	// The case ID.
	CaseId *string

	// The date and time when the quota increase request was received and the case ID
	// was created.
	Created *time.Time

	// The new, increased value for the quota.
	DesiredValue *float64

	// Indicates whether the quota is global.
	GlobalQuota bool

	// The unique identifier.
	Id *string

	// The date and time of the most recent change.
	LastUpdated *time.Time

	// The Amazon Resource Name (ARN) of the quota.
	QuotaArn *string

	// Specifies the quota identifier. To find the quota code for a specific quota,
	// use the ListServiceQuotasoperation, and look for the QuotaCode response in the output for the
	// quota you want.
	QuotaCode *string

	// The context for this service quota.
	QuotaContext *QuotaContextInfo

	// Specifies the quota name.
	QuotaName *string

	// Filters the response to return quota requests for the ACCOUNT , RESOURCE , or
	// ALL levels. ACCOUNT is the default.
	QuotaRequestedAtLevel AppliedLevelEnum

	// The IAM identity of the requester.
	Requester *string

	// Specifies the service identifier. To find the service code value for an Amazon
	// Web Services service, use the ListServicesoperation.
	ServiceCode *string

	// Specifies the service name.
	ServiceName *string

	// The state of the quota increase request.
	//
	//   - PENDING : The quota increase request is under review by Amazon Web Services.
	//
	//   - CASE_OPENED : Service Quotas opened a support case to process the quota
	//   increase request. Follow-up on the support case for more information.
	//
	//   - APPROVED : The quota increase request is approved.
	//
	//   - DENIED : The quota increase request can't be approved by Service Quotas.
	//   Contact Amazon Web Services Support for more details.
	//
	//   - NOT APPROVED : The quota increase request can't be approved by Service
	//   Quotas. Contact Amazon Web Services Support for more details.
	//
	//   - CASE_CLOSED : The support case associated with this quota increase request
	//   was closed. Check the support case correspondence for the outcome of your quota
	//   request.
	//
	//   - INVALID_REQUEST : Service Quotas couldn't process your resource-level quota
	//   increase request because the Amazon Resource Name (ARN) specified as part of the
	//   ContextId is invalid.
	Status RequestStatus

	// The unit of measurement.
	Unit *string
	// contains filtered or unexported fields
}

Information about a quota increase request.

type ResourceAlreadyExistsException

type ResourceAlreadyExistsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource already exists.

func (*ResourceAlreadyExistsException) Error

func (*ResourceAlreadyExistsException) ErrorCode

func (e *ResourceAlreadyExistsException) ErrorCode() string

func (*ResourceAlreadyExistsException) ErrorFault

func (*ResourceAlreadyExistsException) ErrorMessage

func (e *ResourceAlreadyExistsException) ErrorMessage() string

type ServiceException

type ServiceException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Something went wrong.

func (*ServiceException) Error

func (e *ServiceException) Error() string

func (*ServiceException) ErrorCode

func (e *ServiceException) ErrorCode() string

func (*ServiceException) ErrorFault

func (e *ServiceException) ErrorFault() smithy.ErrorFault

func (*ServiceException) ErrorMessage

func (e *ServiceException) ErrorMessage() string

type ServiceInfo

type ServiceInfo struct {

	// Specifies the service identifier. To find the service code value for an Amazon
	// Web Services service, use the ListServicesoperation.
	ServiceCode *string

	// Specifies the service name.
	ServiceName *string
	// contains filtered or unexported fields
}

Information about an Amazon Web Services service.

type ServiceQuota

type ServiceQuota struct {

	// Indicates whether the quota value can be increased.
	Adjustable bool

	// The quota description.
	Description *string

	// The error code and error reason.
	ErrorReason *ErrorReason

	// Indicates whether the quota is global.
	GlobalQuota bool

	// The period of time.
	Period *QuotaPeriod

	// Filters the response to return applied quota values for the ACCOUNT , RESOURCE ,
	// or ALL levels. ACCOUNT is the default.
	QuotaAppliedAtLevel AppliedLevelEnum

	// The Amazon Resource Name (ARN) of the quota.
	QuotaArn *string

	// Specifies the quota identifier. To find the quota code for a specific quota,
	// use the ListServiceQuotasoperation, and look for the QuotaCode response in the output for the
	// quota you want.
	QuotaCode *string

	// The context for this service quota.
	QuotaContext *QuotaContextInfo

	// Specifies the quota name.
	QuotaName *string

	// Specifies the service identifier. To find the service code value for an Amazon
	// Web Services service, use the ListServicesoperation.
	ServiceCode *string

	// Specifies the service name.
	ServiceName *string

	// The unit of measurement.
	Unit *string

	// Information about the measurement.
	UsageMetric *MetricInfo

	// The quota value.
	Value *float64
	// contains filtered or unexported fields
}

Information about a quota.

type ServiceQuotaIncreaseRequestInTemplate

type ServiceQuotaIncreaseRequestInTemplate struct {

	// The Amazon Web Services Region.
	AwsRegion *string

	// The new, increased value of the quota.
	DesiredValue *float64

	// Indicates whether the quota is global.
	GlobalQuota bool

	// Specifies the quota identifier. To find the quota code for a specific quota,
	// use the ListServiceQuotasoperation, and look for the QuotaCode response in the output for the
	// quota you want.
	QuotaCode *string

	// Specifies the quota name.
	QuotaName *string

	// Specifies the service identifier. To find the service code value for an Amazon
	// Web Services service, use the ListServicesoperation.
	ServiceCode *string

	// Specifies the service name.
	ServiceName *string

	// The unit of measurement.
	Unit *string
	// contains filtered or unexported fields
}

Information about a quota increase request.

type ServiceQuotaTemplateAssociationStatus

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

Enum values for ServiceQuotaTemplateAssociationStatus

func (ServiceQuotaTemplateAssociationStatus) Values

Values returns all known values for ServiceQuotaTemplateAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ServiceQuotaTemplateNotInUseException

type ServiceQuotaTemplateNotInUseException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The quota request template is not associated with your organization.

func (*ServiceQuotaTemplateNotInUseException) Error

func (*ServiceQuotaTemplateNotInUseException) ErrorCode

func (*ServiceQuotaTemplateNotInUseException) ErrorFault

func (*ServiceQuotaTemplateNotInUseException) ErrorMessage

type Tag

type Tag struct {

	// A string that contains a tag key. The string length should be between 1 and 128
	// characters. Valid characters include a-z, A-Z, 0-9, space, and the special
	// characters _ - . : / = + @.
	//
	// This member is required.
	Key *string

	// A string that contains an optional tag value. The string length should be
	// between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and
	// the special characters _ - . : / = + @.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

A complex data type that contains a tag key and tag value.

type TagPolicyViolationException

type TagPolicyViolationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified tag is a reserved word and cannot be used.

func (*TagPolicyViolationException) Error

func (*TagPolicyViolationException) ErrorCode

func (e *TagPolicyViolationException) ErrorCode() string

func (*TagPolicyViolationException) ErrorFault

func (*TagPolicyViolationException) ErrorMessage

func (e *TagPolicyViolationException) ErrorMessage() string

type TemplatesNotAvailableInRegionException

type TemplatesNotAvailableInRegionException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The Service Quotas template is not available in this Amazon Web Services Region.

func (*TemplatesNotAvailableInRegionException) Error

func (*TemplatesNotAvailableInRegionException) ErrorCode

func (*TemplatesNotAvailableInRegionException) ErrorFault

func (*TemplatesNotAvailableInRegionException) ErrorMessage

type TooManyRequestsException

type TooManyRequestsException struct {
	Message *string

	ErrorCodeOverride *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) Error

func (e *TooManyRequestsException) Error() string

func (*TooManyRequestsException) ErrorCode

func (e *TooManyRequestsException) ErrorCode() string

func (*TooManyRequestsException) ErrorFault

func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault

func (*TooManyRequestsException) ErrorMessage

func (e *TooManyRequestsException) ErrorMessage() string

type TooManyTagsException

type TooManyTagsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You've exceeded the number of tags allowed for a resource. For more information, see Tag restrictionsin the Service Quotas User Guide.

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

Source Files

enums.go errors.go types.go

Version
v1.27.0 (latest)
Published
Apr 18, 2025
Platform
js/wasm
Imports
4 packages
Last checked
4 hours ago

Tools for package owners.