// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // The user does not have permission to perform the action. Check the IAM policy // associated with this user. type AuthorizationErrorException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AuthorizationErrorException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AuthorizationErrorException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AuthorizationErrorException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AuthorizationErrorException" } return *e.ErrorCodeOverride } func (e *AuthorizationErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } type ConflictErrorException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ConflictErrorException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ConflictErrorException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ConflictErrorException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ConflictErrorException" } return *e.ErrorCodeOverride } func (e *ConflictErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The home Region is not set. Set the home Region to continue. type HomeRegionNotSetException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *HomeRegionNotSetException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *HomeRegionNotSetException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *HomeRegionNotSetException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "HomeRegionNotSetException" } return *e.ErrorCodeOverride } func (e *HomeRegionNotSetException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // One or more parameters are not valid. Verify the parameters and try again. type InvalidParameterException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidParameterException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidParameterException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidParameterException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidParameterException" } return *e.ErrorCodeOverride } func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The value of one or more parameters are either invalid or out of range. Verify // the parameter values and try again. type InvalidParameterValueException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidParameterValueException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidParameterValueException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidParameterValueException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidParameterValueException" } return *e.ErrorCodeOverride } func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // This 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 } // This issue occurs when the same clientRequestToken is used with the // StartImportTask action, but with different parameters. For example, you use the // same request token but have two different import URLs, you can encounter this // issue. If the import tasks are meant to be different, use a different // clientRequestToken , and try again. 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 configuration ID was not located. Verify the configuration ID and // try again. 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 } // The server experienced an internal error. Try again. type ServerInternalErrorException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ServerInternalErrorException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServerInternalErrorException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServerInternalErrorException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServerInternalErrorException" } return *e.ErrorCodeOverride } func (e *ServerInternalErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }