// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // An invalid argument was specified. type ArgumentException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ArgumentException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ArgumentException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ArgumentException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ArgumentException" } return *e.ErrorCodeOverride } func (e *ArgumentException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The requested object could not be deleted. type CannotDeleteException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *CannotDeleteException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *CannotDeleteException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *CannotDeleteException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "CannotDeleteException" } return *e.ErrorCodeOverride } func (e *CannotDeleteException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // An entity with the same name already exists. type IdempotencyException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *IdempotencyException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *IdempotencyException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *IdempotencyException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "IdempotencyException" } return *e.ErrorCodeOverride } func (e *IdempotencyException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // An internal exception was raised in the service. Contact // aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com) if // you see this error. type InternalServiceException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InternalServiceException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InternalServiceException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InternalServiceException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InternalServiceException" } return *e.ErrorCodeOverride } func (e *InternalServiceException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // There was an error with the update request, or you do not have sufficient // permissions to update this VPC endpoint configuration. type InvalidOperationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidOperationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidOperationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidOperationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidOperationException" } return *e.ErrorCodeOverride } func (e *InvalidOperationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // A limit was exceeded. 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 } // Exception gets thrown when a user is not eligible to perform the specified // transaction. type NotEligibleException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *NotEligibleException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *NotEligibleException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *NotEligibleException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "NotEligibleException" } return *e.ErrorCodeOverride } func (e *NotEligibleException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified entity was not found. type NotFoundException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *NotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *NotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *NotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "NotFoundException" } return *e.ErrorCodeOverride } func (e *NotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // There was a problem with the service account. type ServiceAccountException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ServiceAccountException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceAccountException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceAccountException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceAccountException" } return *e.ErrorCodeOverride } func (e *ServiceAccountException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The operation was not successful. Try again. type TagOperationException struct { Message *string ErrorCodeOverride *string ResourceName *string noSmithyDocumentSerde } func (e *TagOperationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TagOperationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TagOperationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TagOperationException" } return *e.ErrorCodeOverride } func (e *TagOperationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request doesn't comply with the AWS Identity and Access Management (IAM) // tag policy. Correct your request and then retry it. type TagPolicyException struct { Message *string ErrorCodeOverride *string ResourceName *string noSmithyDocumentSerde } func (e *TagPolicyException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TagPolicyException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TagPolicyException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TagPolicyException" } return *e.ErrorCodeOverride } func (e *TagPolicyException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The list of tags on the repository is over the limit. The maximum number of // tags that can be applied to a repository is 50. type TooManyTagsException struct { Message *string ErrorCodeOverride *string ResourceName *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 }