// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // You do not have sufficient permission to perform this action. type AccessDeniedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AccessDeniedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AccessDeniedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AccessDeniedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AccessDeniedException" } return *e.ErrorCodeOverride } func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The action you attempted is not allowed unless Service Access with Service // Quotas is enabled in your organization. type AWSServiceAccessNotEnabledException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AWSServiceAccessNotEnabledException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AWSServiceAccessNotEnabledException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AWSServiceAccessNotEnabledException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AWSServiceAccessNotEnabledException" } return *e.ErrorCodeOverride } func (e *AWSServiceAccessNotEnabledException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // You can't perform this action because a dependency does not have access. type DependencyAccessDeniedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DependencyAccessDeniedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DependencyAccessDeniedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DependencyAccessDeniedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DependencyAccessDeniedException" } return *e.ErrorCodeOverride } func (e *DependencyAccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Invalid input was provided. type IllegalArgumentException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *IllegalArgumentException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *IllegalArgumentException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *IllegalArgumentException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "IllegalArgumentException" } return *e.ErrorCodeOverride } func (e *IllegalArgumentException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Invalid input was provided. type InvalidPaginationTokenException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidPaginationTokenException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidPaginationTokenException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidPaginationTokenException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidPaginationTokenException" } return *e.ErrorCodeOverride } func (e *InvalidPaginationTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource is in an invalid state. type InvalidResourceStateException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidResourceStateException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidResourceStateException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidResourceStateException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidResourceStateException" } return *e.ErrorCodeOverride } func (e *InvalidResourceStateException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The account making this call is not a member of an organization. type NoAvailableOrganizationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *NoAvailableOrganizationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *NoAvailableOrganizationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *NoAvailableOrganizationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "NoAvailableOrganizationException" } return *e.ErrorCodeOverride } func (e *NoAvailableOrganizationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified resource does not exist. type NoSuchResourceException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *NoSuchResourceException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *NoSuchResourceException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *NoSuchResourceException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "NoSuchResourceException" } return *e.ErrorCodeOverride } func (e *NoSuchResourceException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The organization that your account belongs to is not in All Features mode. type OrganizationNotInAllFeaturesModeException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *OrganizationNotInAllFeaturesModeException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *OrganizationNotInAllFeaturesModeException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *OrganizationNotInAllFeaturesModeException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "OrganizationNotInAllFeaturesModeException" } return *e.ErrorCodeOverride } func (e *OrganizationNotInAllFeaturesModeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // 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. type QuotaExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *QuotaExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *QuotaExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *QuotaExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "QuotaExceededException" } return *e.ErrorCodeOverride } func (e *QuotaExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified resource already exists. type ResourceAlreadyExistsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ResourceAlreadyExistsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceAlreadyExistsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceAlreadyExistsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceAlreadyExistsException" } return *e.ErrorCodeOverride } func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Something went wrong. type ServiceException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ServiceException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceException" } return *e.ErrorCodeOverride } func (e *ServiceException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The quota request template is not associated with your organization. type ServiceQuotaTemplateNotInUseException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ServiceQuotaTemplateNotInUseException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceQuotaTemplateNotInUseException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceQuotaTemplateNotInUseException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceQuotaTemplateNotInUseException" } return *e.ErrorCodeOverride } func (e *ServiceQuotaTemplateNotInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified tag is a reserved word and cannot be used. type TagPolicyViolationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TagPolicyViolationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TagPolicyViolationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TagPolicyViolationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TagPolicyViolationException" } return *e.ErrorCodeOverride } func (e *TagPolicyViolationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The Service Quotas template is not available in this AWS Region. type TemplatesNotAvailableInRegionException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TemplatesNotAvailableInRegionException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TemplatesNotAvailableInRegionException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TemplatesNotAvailableInRegionException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TemplatesNotAvailableInRegionException" } return *e.ErrorCodeOverride } func (e *TemplatesNotAvailableInRegionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Due to throttling, the request was denied. Slow down the rate of request calls, // or request an increase for this quota. type TooManyRequestsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TooManyRequestsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TooManyRequestsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TooManyRequestsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TooManyRequestsException" } return *e.ErrorCodeOverride } func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // 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. type TooManyTagsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TooManyTagsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TooManyTagsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TooManyTagsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TooManyTagsException" } return *e.ErrorCodeOverride } func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }