package types

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

Index

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.

func (*AWSServiceAccessNotEnabledException) Error

func (*AWSServiceAccessNotEnabledException) ErrorCode

func (*AWSServiceAccessNotEnabledException) ErrorFault

func (*AWSServiceAccessNotEnabledException) ErrorMessage

func (e *AWSServiceAccessNotEnabledException) ErrorMessage() string

type AccessDeniedException

type AccessDeniedException struct {
	Message *string
}

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 DependencyAccessDeniedException

type DependencyAccessDeniedException struct {
	Message *string
}

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 service or quota.
	//
	// * DEPENDENCY_THROTTLING_ERROR - The
	// service is throttling Service Quotas.
	//
	// * DEPENDENCY_SERVICE_ERROR - The service
	// is not available.
	//
	// * SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in
	// Service Quotas.
	ErrorCode ErrorCode

	// The error message.
	ErrorMessage *string
}

An error that explains why an 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 (*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
}

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
}

Information about the CloudWatch metric that reflects quota usage.

type NoAvailableOrganizationException

type NoAvailableOrganizationException struct {
	Message *string
}

The 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
}

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.

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

	// The value.
	PeriodValue *int32
}

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

	// The quota identifier.
	QuotaCode *string

	// The quota name.
	QuotaName *string

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

	// The service identifier.
	ServiceCode *string

	// The service name.
	ServiceName *string

	// The state of the quota increase request.
	Status RequestStatus

	// The unit of measurement.
	Unit *string
}

Information about a quota increase request.

type ResourceAlreadyExistsException

type ResourceAlreadyExistsException struct {
	Message *string
}

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
}

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 {

	// The service identifier.
	ServiceCode *string

	// The service name.
	ServiceName *string
}

Information about a 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

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

	// The quota identifier.
	QuotaCode *string

	// The quota name.
	QuotaName *string

	// The service identifier.
	ServiceCode *string

	// The service name.
	ServiceName *string

	// The unit of measurement.
	Unit *string

	// Information about the measurement.
	UsageMetric *MetricInfo

	// The quota value.
	Value *float64
}

Information about a quota.

type ServiceQuotaIncreaseRequestInTemplate

type ServiceQuotaIncreaseRequestInTemplate struct {

	// The AWS Region.
	AwsRegion *string

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

	// Indicates whether the quota is global.
	GlobalQuota bool

	// The quota identifier.
	QuotaCode *string

	// The quota name.
	QuotaName *string

	// The service identifier.
	ServiceCode *string

	// The service name.
	ServiceName *string

	// The unit of measurement.
	Unit *string
}

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
}

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
}

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

type TagPolicyViolationException

type TagPolicyViolationException struct {
	Message *string
}

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
}

The Service Quotas template is not available in this AWS Region.

func (*TemplatesNotAvailableInRegionException) Error

func (*TemplatesNotAvailableInRegionException) ErrorCode

func (*TemplatesNotAvailableInRegionException) ErrorFault

func (*TemplatesNotAvailableInRegionException) ErrorMessage

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

type TooManyTagsException

type TooManyTagsException struct {
	Message *string
}

You've exceeded the number of tags allowed for a resource. For more information, see Tag restrictions (https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions) in 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.0.0
Published
Jan 19, 2021
Platform
js/wasm
Imports
3 packages
Last checked
9 hours ago

Tools for package owners.