Documentation ¶
Index ¶
- type AWSServiceAccessNotEnabledException
- type AccessDeniedException
- type AppliedLevelEnum
- type DependencyAccessDeniedException
- type ErrorCode
- type ErrorReason
- type IllegalArgumentException
- type InvalidPaginationTokenException
- type InvalidResourceStateException
- type MetricInfo
- type NoAvailableOrganizationException
- type NoSuchResourceException
- type OrganizationNotInAllFeaturesModeException
- type PeriodUnit
- type QuotaContextInfo
- type QuotaContextScope
- type QuotaExceededException
- type QuotaPeriod
- type RequestStatus
- type RequestedServiceQuotaChange
- type ResourceAlreadyExistsException
- type ServiceException
- type ServiceInfo
- type ServiceQuota
- type ServiceQuotaIncreaseRequestInTemplate
- type ServiceQuotaTemplateAssociationStatus
- type ServiceQuotaTemplateNotInUseException
- type Tag
- type TagPolicyViolationException
- type TemplatesNotAvailableInRegionException
- type TooManyRequestsException
- type TooManyTagsException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 (e *AWSServiceAccessNotEnabledException) Error() string
func (*AWSServiceAccessNotEnabledException) ErrorCode ¶
func (e *AWSServiceAccessNotEnabledException) ErrorCode() string
func (*AWSServiceAccessNotEnabledException) ErrorFault ¶
func (e *AWSServiceAccessNotEnabledException) ErrorFault() smithy.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 ¶ added in v1.16.0
type AppliedLevelEnum string
const ( AppliedLevelEnumAccount AppliedLevelEnum = "ACCOUNT" AppliedLevelEnumResource AppliedLevelEnum = "RESOURCE" AppliedLevelEnumAll AppliedLevelEnum = "ALL" )
Enum values for AppliedLevelEnum
func (AppliedLevelEnum) Values ¶ added in v1.16.0
func (AppliedLevelEnum) Values() []AppliedLevelEnum
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 (e *DependencyAccessDeniedException) Error() string
func (*DependencyAccessDeniedException) ErrorCode ¶
func (e *DependencyAccessDeniedException) ErrorCode() string
func (*DependencyAccessDeniedException) ErrorFault ¶
func (e *DependencyAccessDeniedException) ErrorFault() smithy.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
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 Service or quota. // // - DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service // Quotas. // // - DEPENDENCY_SERVICE_ERROR - The Amazon Web 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 (e *InvalidPaginationTokenException) Error() string
func (*InvalidPaginationTokenException) ErrorCode ¶
func (e *InvalidPaginationTokenException) ErrorCode() string
func (*InvalidPaginationTokenException) ErrorFault ¶
func (e *InvalidPaginationTokenException) ErrorFault() smithy.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 (e *InvalidResourceStateException) Error() string
func (*InvalidResourceStateException) ErrorCode ¶
func (e *InvalidResourceStateException) ErrorCode() string
func (*InvalidResourceStateException) ErrorFault ¶
func (e *InvalidResourceStateException) ErrorFault() smithy.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 (e *NoAvailableOrganizationException) Error() string
func (*NoAvailableOrganizationException) ErrorCode ¶
func (e *NoAvailableOrganizationException) ErrorCode() string
func (*NoAvailableOrganizationException) ErrorFault ¶
func (e *NoAvailableOrganizationException) ErrorFault() smithy.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 (e *OrganizationNotInAllFeaturesModeException) Error() string
func (*OrganizationNotInAllFeaturesModeException) ErrorCode ¶
func (e *OrganizationNotInAllFeaturesModeException) ErrorCode() string
func (*OrganizationNotInAllFeaturesModeException) ErrorFault ¶
func (e *OrganizationNotInAllFeaturesModeException) ErrorFault() smithy.ErrorFault
func (*OrganizationNotInAllFeaturesModeException) ErrorMessage ¶
func (e *OrganizationNotInAllFeaturesModeException) ErrorMessage() string
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 ¶ added in v0.29.0
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 ¶ added in v1.16.0
type QuotaContextInfo struct { // Specifies the Amazon Web Services account or resource to which the quota // applies. The value in this field depends on the context scope associated with // the specified service quota. ContextId *string // Specifies whether the quota applies to an Amazon Web Services account, or to a // resource. ContextScope QuotaContextScope // When the ContextScope is RESOURCE , then this specifies the resource type of the // specified resource. ContextScopeType *string // contains filtered or unexported fields }
A structure that describes the context for a service quota. The context identifies what the quota applies to.
type QuotaContextScope ¶ added in v1.16.0
type QuotaContextScope string
const ( QuotaContextScopeResource QuotaContextScope = "RESOURCE" QuotaContextScopeAccount QuotaContextScope = "ACCOUNT" )
Enum values for QuotaContextScope
func (QuotaContextScope) Values ¶ added in v1.16.0
func (QuotaContextScope) Values() []QuotaContextScope
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 ¶ added in v0.29.0
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 // Specifies at which level within the Amazon Web Services account the quota // request applies to. 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. 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 (e *ResourceAlreadyExistsException) Error() string
func (*ResourceAlreadyExistsException) ErrorCode ¶
func (e *ResourceAlreadyExistsException) ErrorCode() string
func (*ResourceAlreadyExistsException) ErrorFault ¶
func (e *ResourceAlreadyExistsException) ErrorFault() smithy.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 Service.
type ServiceQuota ¶
type ServiceQuota struct { // Indicates whether the quota value can be increased. Adjustable bool // The error code and error reason. ErrorReason *ErrorReason // Indicates whether the quota is global. GlobalQuota bool // The period of time. Period *QuotaPeriod // Specifies at which level of granularity that the quota value is applied. 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 ¶ added in v0.29.0
func (ServiceQuotaTemplateAssociationStatus) Values() []ServiceQuotaTemplateAssociationStatus
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 (e *ServiceQuotaTemplateNotInUseException) Error() string
func (*ServiceQuotaTemplateNotInUseException) ErrorCode ¶
func (e *ServiceQuotaTemplateNotInUseException) ErrorCode() string
func (*ServiceQuotaTemplateNotInUseException) ErrorFault ¶
func (e *ServiceQuotaTemplateNotInUseException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaTemplateNotInUseException) ErrorMessage ¶
func (e *ServiceQuotaTemplateNotInUseException) ErrorMessage() string
type Tag ¶ added in v0.31.0
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 ¶ added in v0.31.0
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 ¶ added in v0.31.0
func (e *TagPolicyViolationException) Error() string
func (*TagPolicyViolationException) ErrorCode ¶ added in v0.31.0
func (e *TagPolicyViolationException) ErrorCode() string
func (*TagPolicyViolationException) ErrorFault ¶ added in v0.31.0
func (e *TagPolicyViolationException) ErrorFault() smithy.ErrorFault
func (*TagPolicyViolationException) ErrorMessage ¶ added in v0.31.0
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 (e *TemplatesNotAvailableInRegionException) Error() string
func (*TemplatesNotAvailableInRegionException) ErrorCode ¶
func (e *TemplatesNotAvailableInRegionException) ErrorCode() string
func (*TemplatesNotAvailableInRegionException) ErrorFault ¶
func (e *TemplatesNotAvailableInRegionException) ErrorFault() smithy.ErrorFault
func (*TemplatesNotAvailableInRegionException) ErrorMessage ¶
func (e *TemplatesNotAvailableInRegionException) ErrorMessage() string
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 ¶ added in v0.31.0
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 ¶ added in v0.31.0
func (e *TooManyTagsException) Error() string
func (*TooManyTagsException) ErrorCode ¶ added in v0.31.0
func (e *TooManyTagsException) ErrorCode() string
func (*TooManyTagsException) ErrorFault ¶ added in v0.31.0
func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault
func (*TooManyTagsException) ErrorMessage ¶ added in v0.31.0
func (e *TooManyTagsException) ErrorMessage() string