// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // An API error occurred. Wait a few minutes and try again. type ConcurrentModificationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ConcurrentModificationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ConcurrentModificationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ConcurrentModificationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ConcurrentModificationException" } return *e.ErrorCodeOverride } func (e *ConcurrentModificationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The entitlement already exists. type EntitlementAlreadyExistsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *EntitlementAlreadyExistsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *EntitlementAlreadyExistsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *EntitlementAlreadyExistsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "EntitlementAlreadyExistsException" } return *e.ErrorCodeOverride } func (e *EntitlementAlreadyExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The entitlement can't be found. type EntitlementNotFoundException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *EntitlementNotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *EntitlementNotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *EntitlementNotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "EntitlementNotFoundException" } return *e.ErrorCodeOverride } func (e *EntitlementNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The image can't be updated because it's not compatible for updates. type IncompatibleImageException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *IncompatibleImageException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *IncompatibleImageException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *IncompatibleImageException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "IncompatibleImageException" } return *e.ErrorCodeOverride } func (e *IncompatibleImageException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource cannot be created because your AWS account is suspended. For // assistance, contact AWS Support. type InvalidAccountStatusException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidAccountStatusException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidAccountStatusException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidAccountStatusException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidAccountStatusException" } return *e.ErrorCodeOverride } func (e *InvalidAccountStatusException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Indicates an incorrect combination of parameters, or a missing parameter. type InvalidParameterCombinationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidParameterCombinationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidParameterCombinationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidParameterCombinationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidParameterCombinationException" } return *e.ErrorCodeOverride } func (e *InvalidParameterCombinationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified role is invalid. type InvalidRoleException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidRoleException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidRoleException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidRoleException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidRoleException" } return *e.ErrorCodeOverride } func (e *InvalidRoleException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The requested limit exceeds the permitted limit for an account. type LimitExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *LimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *LimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "LimitExceededException" } return *e.ErrorCodeOverride } func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The attempted operation is not permitted. type OperationNotPermittedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *OperationNotPermittedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *OperationNotPermittedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *OperationNotPermittedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "OperationNotPermittedException" } return *e.ErrorCodeOverride } func (e *OperationNotPermittedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // AppStream 2.0 can’t process the request right now because the Describe calls // from your AWS account are being throttled by Amazon EC2. Try again later. type RequestLimitExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *RequestLimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *RequestLimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *RequestLimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "RequestLimitExceededException" } return *e.ErrorCodeOverride } func (e *RequestLimitExceededException) 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 } // The specified resource is in use. type ResourceInUseException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ResourceInUseException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceInUseException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceInUseException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceInUseException" } return *e.ErrorCodeOverride } func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified resource exists and is not in use, but isn't available. type ResourceNotAvailableException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ResourceNotAvailableException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceNotAvailableException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceNotAvailableException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceNotAvailableException" } return *e.ErrorCodeOverride } func (e *ResourceNotAvailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified resource was not found. type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ResourceNotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceNotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceNotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceNotFoundException" } return *e.ErrorCodeOverride } func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }