package types
import "github.com/aws/aws-sdk-go-v2/service/servicequotas/types"
Index ¶
- type AWSServiceAccessNotEnabledException
- func (e *AWSServiceAccessNotEnabledException) Error() string
- func (e *AWSServiceAccessNotEnabledException) ErrorCode() string
- func (e *AWSServiceAccessNotEnabledException) ErrorFault() smithy.ErrorFault
- func (e *AWSServiceAccessNotEnabledException) ErrorMessage() string
- type AccessDeniedException
- func (e *AccessDeniedException) Error() string
- func (e *AccessDeniedException) ErrorCode() string
- func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *AccessDeniedException) ErrorMessage() string
- type DependencyAccessDeniedException
- func (e *DependencyAccessDeniedException) Error() string
- func (e *DependencyAccessDeniedException) ErrorCode() string
- func (e *DependencyAccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *DependencyAccessDeniedException) ErrorMessage() string
- type ErrorCode
- type ErrorReason
- type IllegalArgumentException
- func (e *IllegalArgumentException) Error() string
- func (e *IllegalArgumentException) ErrorCode() string
- func (e *IllegalArgumentException) ErrorFault() smithy.ErrorFault
- func (e *IllegalArgumentException) ErrorMessage() string
- type InvalidPaginationTokenException
- func (e *InvalidPaginationTokenException) Error() string
- func (e *InvalidPaginationTokenException) ErrorCode() string
- func (e *InvalidPaginationTokenException) ErrorFault() smithy.ErrorFault
- func (e *InvalidPaginationTokenException) ErrorMessage() string
- type InvalidResourceStateException
- func (e *InvalidResourceStateException) Error() string
- func (e *InvalidResourceStateException) ErrorCode() string
- func (e *InvalidResourceStateException) ErrorFault() smithy.ErrorFault
- func (e *InvalidResourceStateException) ErrorMessage() string
- type MetricInfo
- type NoAvailableOrganizationException
- func (e *NoAvailableOrganizationException) Error() string
- func (e *NoAvailableOrganizationException) ErrorCode() string
- func (e *NoAvailableOrganizationException) ErrorFault() smithy.ErrorFault
- func (e *NoAvailableOrganizationException) ErrorMessage() string
- type NoSuchResourceException
- func (e *NoSuchResourceException) Error() string
- func (e *NoSuchResourceException) ErrorCode() string
- func (e *NoSuchResourceException) ErrorFault() smithy.ErrorFault
- func (e *NoSuchResourceException) ErrorMessage() string
- type OrganizationNotInAllFeaturesModeException
- func (e *OrganizationNotInAllFeaturesModeException) Error() string
- func (e *OrganizationNotInAllFeaturesModeException) ErrorCode() string
- func (e *OrganizationNotInAllFeaturesModeException) ErrorFault() smithy.ErrorFault
- func (e *OrganizationNotInAllFeaturesModeException) ErrorMessage() string
- type PeriodUnit
- type QuotaExceededException
- func (e *QuotaExceededException) Error() string
- func (e *QuotaExceededException) ErrorCode() string
- func (e *QuotaExceededException) ErrorFault() smithy.ErrorFault
- func (e *QuotaExceededException) ErrorMessage() string
- type QuotaPeriod
- type RequestStatus
- type RequestedServiceQuotaChange
- type ResourceAlreadyExistsException
- func (e *ResourceAlreadyExistsException) Error() string
- func (e *ResourceAlreadyExistsException) ErrorCode() string
- func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault
- func (e *ResourceAlreadyExistsException) ErrorMessage() string
- type ServiceException
- func (e *ServiceException) Error() string
- func (e *ServiceException) ErrorCode() string
- func (e *ServiceException) ErrorFault() smithy.ErrorFault
- func (e *ServiceException) ErrorMessage() string
- type ServiceInfo
- type ServiceQuota
- type ServiceQuotaIncreaseRequestInTemplate
- type ServiceQuotaTemplateAssociationStatus
- type ServiceQuotaTemplateNotInUseException
- func (e *ServiceQuotaTemplateNotInUseException) Error() string
- func (e *ServiceQuotaTemplateNotInUseException) ErrorCode() string
- func (e *ServiceQuotaTemplateNotInUseException) ErrorFault() smithy.ErrorFault
- func (e *ServiceQuotaTemplateNotInUseException) ErrorMessage() string
- type TemplatesNotAvailableInRegionException
- func (e *TemplatesNotAvailableInRegionException) Error() string
- func (e *TemplatesNotAvailableInRegionException) ErrorCode() string
- func (e *TemplatesNotAvailableInRegionException) ErrorFault() smithy.ErrorFault
- func (e *TemplatesNotAvailableInRegionException) ErrorMessage() string
- type TooManyRequestsException
Types ¶
type AWSServiceAccessNotEnabledException ¶
type AWSServiceAccessNotEnabledException struct { Message *string }
The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.
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 }
You do not have sufficient access 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 DependencyAccessDeniedException ¶
type DependencyAccessDeniedException struct { Message *string }
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
func (ErrorCode) Values ¶
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 is returned when the caller does not have // permission to call the service or service quota. To resolve the error, you need // permission to access the service or service quota. DEPENDENCY_THROTTLING_ERROR // is returned when the service being called is throttling Service Quotas. // DEPENDENCY_SERVICE_ERROR is returned when the service being called has // availability issues. SERVICE_QUOTA_NOT_AVAILABLE_ERROR is returned when there // was an error in Service Quotas. ErrorCode ErrorCode // The error message that provides more detail. ErrorMessage *string }
Returns an error that explains why the action did not succeed.
type IllegalArgumentException ¶
type IllegalArgumentException struct { Message *string }
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 }
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 }
Invalid input was provided for the .
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 { // 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 // The name of the CloudWatch metric that measures usage of a service quota. This // is a required field. MetricName *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 // 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 }
A structure that uses CloudWatch metrics to gather data about the service quota.
type NoAvailableOrganizationException ¶
type NoAvailableOrganizationException struct { Message *string }
The 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 }
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 }
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) 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 ¶
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 QuotaExceededException ¶
type QuotaExceededException struct { Message *string }
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 of a period. PeriodUnit PeriodUnit // The value of a period. PeriodValue *int32 }
A structure that contains 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" )
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 for the service quota increase request. CaseId *string // The date and time when the service quota increase request was received and the // case Id was created. Created *time.Time // New increased value for the service quota. DesiredValue *float64 // Identifies if the quota is global. GlobalQuota *bool // The unique identifier of a requested service quota change. Id *string // The date and time of the most recent change in the service quota increase // request. LastUpdated *time.Time // The Amazon Resource Name (ARN) of the service quota. QuotaArn *string // Specifies the service quota that you want to use. QuotaCode *string // Name of the service quota. QuotaName *string // The IAM identity who submitted the service quota increase request. Requester *string // Specifies the service that you want to use. ServiceCode *string // The name of the AWS service specified in the increase request. ServiceName *string // State of the service quota increase request. Status RequestStatus // Specifies the unit used for the quota. Unit *string }
A structure that contains information about a requested change for a quota.
type ResourceAlreadyExistsException ¶
type ResourceAlreadyExistsException struct { Message *string }
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 }
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 that you want to use. ServiceCode *string // The name of the AWS service specified in the increase request. ServiceName *string }
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.
type ServiceQuota ¶
type ServiceQuota struct { // Specifies if the quota value can be increased. Adjustable *bool // Specifies the ErrorCode and ErrorMessage when success isn't achieved. ErrorReason *ErrorReason // Specifies if the quota is global. GlobalQuota *bool // Identifies the unit and value of how time is measured. Period *QuotaPeriod // The Amazon Resource Name (ARN) of the service quota. QuotaArn *string // The code identifier for the service quota specified. QuotaCode *string // The name identifier of the service quota. QuotaName *string // Specifies the service that you want to use. ServiceCode *string // The name of the AWS service specified in the increase request. ServiceName *string // The unit of measurement for the value of the service quota. Unit *string // Specifies the details about the measurement. UsageMetric *MetricInfo // The value of service quota. Value *float64 }
A structure that contains the full set of details that define the service quota.
type ServiceQuotaIncreaseRequestInTemplate ¶
type ServiceQuotaIncreaseRequestInTemplate struct { // The AWS Region where the increase request occurs. AwsRegion *string // Identifies the new, increased value of the service quota in the increase // request. DesiredValue *float64 // Specifies if the quota is a global quota. GlobalQuota *bool // The code identifier for the service quota specified in the increase request. QuotaCode *string // The name of the service quota in the increase request. QuotaName *string // The code identifier for the AWS service specified in the increase request. ServiceCode *string // The name of the AWS service specified in the increase request. ServiceName *string // The unit of measure for the increase request. Unit *string }
A structure that contains information about one service quota increase request.
type ServiceQuotaTemplateAssociationStatus ¶
type ServiceQuotaTemplateAssociationStatus string
const ( ServiceQuotaTemplateAssociationStatusAssociated ServiceQuotaTemplateAssociationStatus = "ASSOCIATED" ServiceQuotaTemplateAssociationStatusDisassociated ServiceQuotaTemplateAssociationStatus = "DISASSOCIATED" )
Enum values for ServiceQuotaTemplateAssociationStatus
func (ServiceQuotaTemplateAssociationStatus) Values ¶
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 }
The quota request template is not associated with your organization. To use the template, call AssociateServiceQuotaTemplate.
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 TemplatesNotAvailableInRegionException ¶
type TemplatesNotAvailableInRegionException struct { Message *string }
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) 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 }
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
Source Files ¶
- Version
- v0.29.0
- Published
- Oct 31, 2020
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 9 hours ago –
Tools for package owners.