// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // Specified CIDRIP or EC2 security group is not authorized for the specified DB // security group. Neptune may not also be authorized via IAM to perform necessary // actions on your behalf. type AuthorizationNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AuthorizationNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AuthorizationNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AuthorizationNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AuthorizationNotFound" } return *e.ErrorCodeOverride } func (e *AuthorizationNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // CertificateIdentifier does not refer to an existing certificate. type CertificateNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *CertificateNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *CertificateNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *CertificateNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "CertificateNotFound" } return *e.ErrorCodeOverride } func (e *CertificateNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // User already has a DB cluster with the given identifier. type DBClusterAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterAlreadyExistsFault" } return *e.ErrorCodeOverride } func (e *DBClusterAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified custom endpoint cannot be created because it already exists. type DBClusterEndpointAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterEndpointAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterEndpointAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterEndpointAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterEndpointAlreadyExistsFault" } return *e.ErrorCodeOverride } func (e *DBClusterEndpointAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified custom endpoint doesn't exist. type DBClusterEndpointNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterEndpointNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterEndpointNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterEndpointNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterEndpointNotFoundFault" } return *e.ErrorCodeOverride } func (e *DBClusterEndpointNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The cluster already has the maximum number of custom endpoints. type DBClusterEndpointQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterEndpointQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterEndpointQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterEndpointQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterEndpointQuotaExceededFault" } return *e.ErrorCodeOverride } func (e *DBClusterEndpointQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBClusterIdentifier does not refer to an existing DB cluster. type DBClusterNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterNotFoundFault" } return *e.ErrorCodeOverride } func (e *DBClusterNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBClusterParameterGroupName does not refer to an existing DB Cluster parameter // group. type DBClusterParameterGroupNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterParameterGroupNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterParameterGroupNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterParameterGroupNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterParameterGroupNotFound" } return *e.ErrorCodeOverride } func (e *DBClusterParameterGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // User attempted to create a new DB cluster and the user has already reached the // maximum allowed DB cluster quota. type DBClusterQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterQuotaExceededFault" } return *e.ErrorCodeOverride } func (e *DBClusterQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified IAM role Amazon Resource Name (ARN) is already associated with // the specified DB cluster. type DBClusterRoleAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterRoleAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterRoleAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterRoleAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterRoleAlreadyExists" } return *e.ErrorCodeOverride } func (e *DBClusterRoleAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified IAM role Amazon Resource Name (ARN) is not associated with the // specified DB cluster. type DBClusterRoleNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterRoleNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterRoleNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterRoleNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterRoleNotFound" } return *e.ErrorCodeOverride } func (e *DBClusterRoleNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // You have exceeded the maximum number of IAM roles that can be associated with // the specified DB cluster. type DBClusterRoleQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterRoleQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterRoleQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterRoleQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterRoleQuotaExceeded" } return *e.ErrorCodeOverride } func (e *DBClusterRoleQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // User already has a DB cluster snapshot with the given identifier. type DBClusterSnapshotAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterSnapshotAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterSnapshotAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterSnapshotAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterSnapshotAlreadyExistsFault" } return *e.ErrorCodeOverride } func (e *DBClusterSnapshotAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. type DBClusterSnapshotNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBClusterSnapshotNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBClusterSnapshotNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBClusterSnapshotNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBClusterSnapshotNotFoundFault" } return *e.ErrorCodeOverride } func (e *DBClusterSnapshotNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // User already has a DB instance with the given identifier. type DBInstanceAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBInstanceAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBInstanceAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBInstanceAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBInstanceAlreadyExists" } return *e.ErrorCodeOverride } func (e *DBInstanceAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBInstanceIdentifier does not refer to an existing DB instance. type DBInstanceNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBInstanceNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBInstanceNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBInstanceNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBInstanceNotFound" } return *e.ErrorCodeOverride } func (e *DBInstanceNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // A DB parameter group with the same name exists. type DBParameterGroupAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBParameterGroupAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBParameterGroupAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBParameterGroupAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBParameterGroupAlreadyExists" } return *e.ErrorCodeOverride } func (e *DBParameterGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBParameterGroupName does not refer to an existing DB parameter group. type DBParameterGroupNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBParameterGroupNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBParameterGroupNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBParameterGroupNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBParameterGroupNotFound" } return *e.ErrorCodeOverride } func (e *DBParameterGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request would result in user exceeding the allowed number of DB parameter // groups. type DBParameterGroupQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBParameterGroupQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBParameterGroupQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBParameterGroupQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBParameterGroupQuotaExceeded" } return *e.ErrorCodeOverride } func (e *DBParameterGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBSecurityGroupName does not refer to an existing DB security group. type DBSecurityGroupNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSecurityGroupNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSecurityGroupNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSecurityGroupNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSecurityGroupNotFound" } return *e.ErrorCodeOverride } func (e *DBSecurityGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBSnapshotIdentifier is already used by an existing snapshot. type DBSnapshotAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSnapshotAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSnapshotAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSnapshotAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSnapshotAlreadyExists" } return *e.ErrorCodeOverride } func (e *DBSnapshotAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBSnapshotIdentifier does not refer to an existing DB snapshot. type DBSnapshotNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSnapshotNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSnapshotNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSnapshotNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSnapshotNotFound" } return *e.ErrorCodeOverride } func (e *DBSnapshotNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBSubnetGroupName is already used by an existing DB subnet group. type DBSubnetGroupAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSubnetGroupAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSubnetGroupAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSubnetGroupAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSubnetGroupAlreadyExists" } return *e.ErrorCodeOverride } func (e *DBSubnetGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Subnets in the DB subnet group should cover at least two Availability Zones // unless there is only one Availability Zone. type DBSubnetGroupDoesNotCoverEnoughAZs struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSubnetGroupDoesNotCoverEnoughAZs) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSubnetGroupDoesNotCoverEnoughAZs) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSubnetGroupDoesNotCoverEnoughAZs) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSubnetGroupDoesNotCoverEnoughAZs" } return *e.ErrorCodeOverride } func (e *DBSubnetGroupDoesNotCoverEnoughAZs) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DBSubnetGroupName does not refer to an existing DB subnet group. type DBSubnetGroupNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSubnetGroupNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSubnetGroupNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSubnetGroupNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSubnetGroupNotFoundFault" } return *e.ErrorCodeOverride } func (e *DBSubnetGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request would result in user exceeding the allowed number of DB subnet groups. type DBSubnetGroupQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSubnetGroupQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSubnetGroupQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSubnetGroupQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSubnetGroupQuotaExceeded" } return *e.ErrorCodeOverride } func (e *DBSubnetGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request would result in user exceeding the allowed number of subnets in a DB // subnet groups. type DBSubnetQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBSubnetQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBSubnetQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBSubnetQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBSubnetQuotaExceededFault" } return *e.ErrorCodeOverride } func (e *DBSubnetQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB upgrade failed because a resource the DB depends on could not be // modified. type DBUpgradeDependencyFailureFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DBUpgradeDependencyFailureFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DBUpgradeDependencyFailureFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DBUpgradeDependencyFailureFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DBUpgradeDependencyFailure" } return *e.ErrorCodeOverride } func (e *DBUpgradeDependencyFailureFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Domain does not refer to an existing Active Directory Domain. type DomainNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *DomainNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DomainNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DomainNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DomainNotFoundFault" } return *e.ErrorCodeOverride } func (e *DomainNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // You have exceeded the number of events you can subscribe to. type EventSubscriptionQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *EventSubscriptionQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *EventSubscriptionQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *EventSubscriptionQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "EventSubscriptionQuotaExceeded" } return *e.ErrorCodeOverride } func (e *EventSubscriptionQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The GlobalClusterIdentifier already exists. Choose a new global database // identifier (unique name) to create a new global database cluster. type GlobalClusterAlreadyExistsFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *GlobalClusterAlreadyExistsFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *GlobalClusterAlreadyExistsFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *GlobalClusterAlreadyExistsFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "GlobalClusterAlreadyExistsFault" } return *e.ErrorCodeOverride } func (e *GlobalClusterAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The GlobalClusterIdentifier doesn't refer to an existing global database // cluster. type GlobalClusterNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *GlobalClusterNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *GlobalClusterNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *GlobalClusterNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "GlobalClusterNotFoundFault" } return *e.ErrorCodeOverride } func (e *GlobalClusterNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The number of global database clusters for this account is already at the // maximum allowed. type GlobalClusterQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *GlobalClusterQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *GlobalClusterQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *GlobalClusterQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "GlobalClusterQuotaExceededFault" } return *e.ErrorCodeOverride } func (e *GlobalClusterQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request would result in user exceeding the allowed number of DB instances. type InstanceQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InstanceQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InstanceQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InstanceQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InstanceQuotaExceeded" } return *e.ErrorCodeOverride } func (e *InstanceQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB cluster does not have enough capacity for the current operation. type InsufficientDBClusterCapacityFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InsufficientDBClusterCapacityFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InsufficientDBClusterCapacityFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InsufficientDBClusterCapacityFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InsufficientDBClusterCapacityFault" } return *e.ErrorCodeOverride } func (e *InsufficientDBClusterCapacityFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Specified DB instance class is not available in the specified Availability Zone. type InsufficientDBInstanceCapacityFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InsufficientDBInstanceCapacityFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InsufficientDBInstanceCapacityFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InsufficientDBInstanceCapacityFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InsufficientDBInstanceCapacity" } return *e.ErrorCodeOverride } func (e *InsufficientDBInstanceCapacityFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // There is insufficient storage available for the current action. You may be able // to resolve this error by updating your subnet group to use different // Availability Zones that have more storage available. type InsufficientStorageClusterCapacityFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InsufficientStorageClusterCapacityFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InsufficientStorageClusterCapacityFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InsufficientStorageClusterCapacityFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InsufficientStorageClusterCapacity" } return *e.ErrorCodeOverride } func (e *InsufficientStorageClusterCapacityFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The requested operation cannot be performed on the endpoint while the endpoint // is in this state. type InvalidDBClusterEndpointStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBClusterEndpointStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBClusterEndpointStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBClusterEndpointStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBClusterEndpointStateFault" } return *e.ErrorCodeOverride } func (e *InvalidDBClusterEndpointStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The supplied value is not a valid DB cluster snapshot state. type InvalidDBClusterSnapshotStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBClusterSnapshotStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBClusterSnapshotStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBClusterSnapshotStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBClusterSnapshotStateFault" } return *e.ErrorCodeOverride } func (e *InvalidDBClusterSnapshotStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB cluster is not in a valid state. type InvalidDBClusterStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBClusterStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBClusterStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBClusterStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBClusterStateFault" } return *e.ErrorCodeOverride } func (e *InvalidDBClusterStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified DB instance is not in the available state. type InvalidDBInstanceStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBInstanceStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBInstanceStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBInstanceStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBInstanceState" } return *e.ErrorCodeOverride } func (e *InvalidDBInstanceStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB parameter group is in use or is in an invalid state. If you are // attempting to delete the parameter group, you cannot delete it when the // parameter group is in this state. type InvalidDBParameterGroupStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBParameterGroupStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBParameterGroupStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBParameterGroupStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBParameterGroupState" } return *e.ErrorCodeOverride } func (e *InvalidDBParameterGroupStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The state of the DB security group does not allow deletion. type InvalidDBSecurityGroupStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBSecurityGroupStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBSecurityGroupStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBSecurityGroupStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBSecurityGroupState" } return *e.ErrorCodeOverride } func (e *InvalidDBSecurityGroupStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The state of the DB snapshot does not allow deletion. type InvalidDBSnapshotStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBSnapshotStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBSnapshotStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBSnapshotStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBSnapshotState" } return *e.ErrorCodeOverride } func (e *InvalidDBSnapshotStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB subnet group cannot be deleted because it is in use. type InvalidDBSubnetGroupStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBSubnetGroupStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBSubnetGroupStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBSubnetGroupStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBSubnetGroupStateFault" } return *e.ErrorCodeOverride } func (e *InvalidDBSubnetGroupStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB subnet is not in the available state. type InvalidDBSubnetStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDBSubnetStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDBSubnetStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDBSubnetStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDBSubnetStateFault" } return *e.ErrorCodeOverride } func (e *InvalidDBSubnetStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The event subscription is in an invalid state. type InvalidEventSubscriptionStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidEventSubscriptionStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidEventSubscriptionStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidEventSubscriptionStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidEventSubscriptionState" } return *e.ErrorCodeOverride } func (e *InvalidEventSubscriptionStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The global cluster is in an invalid state and can't perform the requested // operation. type InvalidGlobalClusterStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidGlobalClusterStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidGlobalClusterStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidGlobalClusterStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidGlobalClusterStateFault" } return *e.ErrorCodeOverride } func (e *InvalidGlobalClusterStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Cannot restore from vpc backup to non-vpc DB instance. type InvalidRestoreFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidRestoreFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidRestoreFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidRestoreFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidRestoreFault" } return *e.ErrorCodeOverride } func (e *InvalidRestoreFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The requested subnet is invalid, or multiple subnets were requested that are // not all in a common VPC. type InvalidSubnet struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidSubnet) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidSubnet) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidSubnet) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidSubnet" } return *e.ErrorCodeOverride } func (e *InvalidSubnet) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // DB subnet group does not cover all Availability Zones after it is created // because users' change. type InvalidVPCNetworkStateFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidVPCNetworkStateFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidVPCNetworkStateFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidVPCNetworkStateFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidVPCNetworkStateFault" } return *e.ErrorCodeOverride } func (e *InvalidVPCNetworkStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Error accessing KMS key. type KMSKeyNotAccessibleFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *KMSKeyNotAccessibleFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *KMSKeyNotAccessibleFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *KMSKeyNotAccessibleFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "KMSKeyNotAccessibleFault" } return *e.ErrorCodeOverride } func (e *KMSKeyNotAccessibleFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The designated option group could not be found. type OptionGroupNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *OptionGroupNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *OptionGroupNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *OptionGroupNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "OptionGroupNotFoundFault" } return *e.ErrorCodeOverride } func (e *OptionGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Provisioned IOPS not available in the specified Availability Zone. type ProvisionedIopsNotAvailableInAZFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ProvisionedIopsNotAvailableInAZFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ProvisionedIopsNotAvailableInAZFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ProvisionedIopsNotAvailableInAZFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ProvisionedIopsNotAvailableInAZFault" } return *e.ErrorCodeOverride } func (e *ProvisionedIopsNotAvailableInAZFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified resource ID was not found. type ResourceNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ResourceNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceNotFoundFault" } return *e.ErrorCodeOverride } func (e *ResourceNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // You have exceeded the maximum number of accounts that you can share a manual DB // snapshot with. type SharedSnapshotQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SharedSnapshotQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SharedSnapshotQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SharedSnapshotQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SharedSnapshotQuotaExceeded" } return *e.ErrorCodeOverride } func (e *SharedSnapshotQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request would result in user exceeding the allowed number of DB snapshots. type SnapshotQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SnapshotQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SnapshotQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SnapshotQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SnapshotQuotaExceeded" } return *e.ErrorCodeOverride } func (e *SnapshotQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The SNS topic is invalid. type SNSInvalidTopicFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SNSInvalidTopicFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SNSInvalidTopicFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SNSInvalidTopicFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SNSInvalidTopic" } return *e.ErrorCodeOverride } func (e *SNSInvalidTopicFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // There is no SNS authorization. type SNSNoAuthorizationFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SNSNoAuthorizationFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SNSNoAuthorizationFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SNSNoAuthorizationFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SNSNoAuthorization" } return *e.ErrorCodeOverride } func (e *SNSNoAuthorizationFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The ARN of the SNS topic could not be found. type SNSTopicArnNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SNSTopicArnNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SNSTopicArnNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SNSTopicArnNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SNSTopicArnNotFound" } return *e.ErrorCodeOverride } func (e *SNSTopicArnNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The source could not be found. type SourceNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SourceNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SourceNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SourceNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SourceNotFound" } return *e.ErrorCodeOverride } func (e *SourceNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request would result in user exceeding the allowed amount of storage available // across all DB instances. type StorageQuotaExceededFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StorageQuotaExceededFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StorageQuotaExceededFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StorageQuotaExceededFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StorageQuotaExceeded" } return *e.ErrorCodeOverride } func (e *StorageQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // StorageType specified cannot be associated with the DB Instance. type StorageTypeNotSupportedFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StorageTypeNotSupportedFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StorageTypeNotSupportedFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StorageTypeNotSupportedFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StorageTypeNotSupported" } return *e.ErrorCodeOverride } func (e *StorageTypeNotSupportedFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The DB subnet is already in use in the Availability Zone. type SubnetAlreadyInUse struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SubnetAlreadyInUse) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SubnetAlreadyInUse) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SubnetAlreadyInUse) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SubnetAlreadyInUse" } return *e.ErrorCodeOverride } func (e *SubnetAlreadyInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // This subscription already exists. type SubscriptionAlreadyExistFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SubscriptionAlreadyExistFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SubscriptionAlreadyExistFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SubscriptionAlreadyExistFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SubscriptionAlreadyExist" } return *e.ErrorCodeOverride } func (e *SubscriptionAlreadyExistFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The designated subscription category could not be found. type SubscriptionCategoryNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SubscriptionCategoryNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SubscriptionCategoryNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SubscriptionCategoryNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SubscriptionCategoryNotFound" } return *e.ErrorCodeOverride } func (e *SubscriptionCategoryNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The designated subscription could not be found. type SubscriptionNotFoundFault struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SubscriptionNotFoundFault) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SubscriptionNotFoundFault) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SubscriptionNotFoundFault) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SubscriptionNotFound" } return *e.ErrorCodeOverride } func (e *SubscriptionNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }