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. To enable, call AssociateServiceQuotaTemplate ().

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 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 (*DependencyAccessDeniedException) ErrorCode

func (e *DependencyAccessDeniedException) ErrorCode() string

func (*DependencyAccessDeniedException) ErrorFault

func (*DependencyAccessDeniedException) ErrorMessage

func (e *DependencyAccessDeniedException) ErrorMessage() string

type ErrorCode

type ErrorCode string
const (
	ErrorCodeDependency_access_denied_error    ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR"
	ErrorCodeDependency_throttling_error       ErrorCode = "DEPENDENCY_THROTTLING_ERROR"
	ErrorCodeDependency_service_error          ErrorCode = "DEPENDENCY_SERVICE_ERROR"
	ErrorCodeService_quota_not_available_error 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 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 (*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
}

Invalid input was provided for the .

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

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

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

	// The name of the CloudWatch metric that measures usage of a service quota. This
	// is a required field.
	MetricName *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 (*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. To enable all features mode, see EnableAllFeatures (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAllFeatures.html).

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

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"
	RequestStatusCase_opened RequestStatus = "CASE_OPENED"
	RequestStatusApproved    RequestStatus = "APPROVED"
	RequestStatusDenied      RequestStatus = "DENIED"
	RequestStatusCase_closed RequestStatus = "CASE_CLOSED"
)

Enum values for RequestStatus

type RequestedServiceQuotaChange

type RequestedServiceQuotaChange struct {

	// The IAM identity who submitted the service quota increase request.
	Requester *string

	// The name of the AWS service specified in the increase request.
	ServiceName *string

	// Specifies the service that you want to use.
	ServiceCode *string

	// Name of the service quota.
	QuotaName *string

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

	// The unique identifier of a requested service quota change.
	Id *string

	// New increased value for the service quota.
	DesiredValue *float64

	// Specifies the unit used for the quota.
	Unit *string

	// State of the service quota increase request.
	Status RequestStatus

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

	// Specifies the service quota that you want to use.
	QuotaCode *string

	// Identifies if the quota is global.
	GlobalQuota *bool

	// The date and time of the most recent change in the service quota increase
	// request.
	LastUpdated *time.Time

	// The case Id for the service quota increase request.
	CaseId *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 (*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 name of the AWS service specified in the increase request.
	ServiceName *string

	// Specifies the service that you want to use.
	ServiceCode *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 {

	// The unit of measurement for the value of the service quota.
	Unit *string

	// Specifies if the quota value can be increased.
	Adjustable *bool

	// The value of service quota.
	Value *float64

	// The code identifier for the service quota specified.
	QuotaCode *string

	// Specifies if the quota is global.
	GlobalQuota *bool

	// Identifies the unit and value of how time is measured.
	Period *QuotaPeriod

	// Specifies the ErrorCode and ErrorMessage when success isn't achieved.
	ErrorReason *ErrorReason

	// The name of the AWS service specified in the increase request.
	ServiceName *string

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

	// Specifies the service that you want to use.
	ServiceCode *string

	// Specifies the details about the measurement.
	UsageMetric *MetricInfo

	// The name identifier of the service quota.
	QuotaName *string
}

A structure that contains the full set of details that define the service quota.

type ServiceQuotaIncreaseRequestInTemplate

type ServiceQuotaIncreaseRequestInTemplate struct {

	// The code identifier for the service quota specified in the increase request.
	QuotaCode *string

	// Specifies if the quota is a global quota.
	GlobalQuota *bool

	// The AWS Region where the increase request occurs.
	AwsRegion *string

	// The name of the AWS service specified in the increase request.
	ServiceName *string

	// Identifies the new, increased value of the service quota in the increase
	// request.
	DesiredValue *float64

	// The code identifier for the AWS service specified in the increase request.
	ServiceCode *string

	// The name of the service quota in the increase request.
	QuotaName *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

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 (*ServiceQuotaTemplateNotInUseException) ErrorCode

func (*ServiceQuotaTemplateNotInUseException) ErrorFault

func (*ServiceQuotaTemplateNotInUseException) ErrorMessage

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 (*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

Source Files

enums.go errors.go types.go

Version
v0.26.0
Published
Oct 1, 2020
Platform
js/wasm
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.