aws_sdk_redshift/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// <p>You are not authorized to access the cluster.</p>
7    AccessToClusterDeniedFault(crate::types::error::AccessToClusterDeniedFault),
8    /// <p>The owner of the specified snapshot has not authorized your account to access the snapshot.</p>
9    AccessToSnapshotDeniedFault(crate::types::error::AccessToSnapshotDeniedFault),
10    /// <p>The authentication profile already exists.</p>
11    AuthenticationProfileAlreadyExistsFault(crate::types::error::AuthenticationProfileAlreadyExistsFault),
12    /// <p>The authentication profile can't be found.</p>
13    AuthenticationProfileNotFoundFault(crate::types::error::AuthenticationProfileNotFoundFault),
14    /// <p>The size or number of authentication profiles has exceeded the quota. The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.</p>
15    AuthenticationProfileQuotaExceededFault(crate::types::error::AuthenticationProfileQuotaExceededFault),
16    /// <p>The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.</p>
17    AuthorizationAlreadyExistsFault(crate::types::error::AuthorizationAlreadyExistsFault),
18    /// <p>The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.</p>
19    AuthorizationNotFoundFault(crate::types::error::AuthorizationNotFoundFault),
20    /// <p>The authorization quota for the cluster security group has been reached.</p>
21    AuthorizationQuotaExceededFault(crate::types::error::AuthorizationQuotaExceededFault),
22    /// <p>The maximum number for a batch delete of snapshots has been reached. The limit is 100.</p>
23    BatchDeleteRequestSizeExceededFault(crate::types::error::BatchDeleteRequestSizeExceededFault),
24    /// <p>The maximum number for snapshot identifiers has been reached. The limit is 100.</p>
25    BatchModifyClusterSnapshotsLimitExceededFault(crate::types::error::BatchModifyClusterSnapshotsLimitExceededFault),
26    /// <p>Could not find the specified S3 bucket.</p>
27    BucketNotFoundFault(crate::types::error::BucketNotFoundFault),
28    /// <p>The account already has a cluster with the given identifier.</p>
29    ClusterAlreadyExistsFault(crate::types::error::ClusterAlreadyExistsFault),
30    /// <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.</p>
31    ClusterNotFoundFault(crate::types::error::ClusterNotFoundFault),
32    /// <p>Cluster is already on the latest database revision.</p>
33    ClusterOnLatestRevisionFault(crate::types::error::ClusterOnLatestRevisionFault),
34    /// <p>A cluster parameter group with the same name already exists.</p>
35    ClusterParameterGroupAlreadyExistsFault(crate::types::error::ClusterParameterGroupAlreadyExistsFault),
36    /// <p>The parameter group name does not refer to an existing parameter group.</p>
37    ClusterParameterGroupNotFoundFault(crate::types::error::ClusterParameterGroupNotFoundFault),
38    /// <p>The request would result in the user exceeding the allowed number of cluster parameter groups. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
39    ClusterParameterGroupQuotaExceededFault(crate::types::error::ClusterParameterGroupQuotaExceededFault),
40    /// <p>The request would exceed the allowed number of cluster instances for this account. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
41    ClusterQuotaExceededFault(crate::types::error::ClusterQuotaExceededFault),
42    /// <p>A cluster security group with the same name already exists.</p>
43    ClusterSecurityGroupAlreadyExistsFault(crate::types::error::ClusterSecurityGroupAlreadyExistsFault),
44    /// <p>The cluster security group name does not refer to an existing cluster security group.</p>
45    ClusterSecurityGroupNotFoundFault(crate::types::error::ClusterSecurityGroupNotFoundFault),
46    /// <p>The request would result in the user exceeding the allowed number of cluster security groups. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
47    ClusterSecurityGroupQuotaExceededFault(crate::types::error::ClusterSecurityGroupQuotaExceededFault),
48    /// <p>The value specified as a snapshot identifier is already used by an existing snapshot.</p>
49    ClusterSnapshotAlreadyExistsFault(crate::types::error::ClusterSnapshotAlreadyExistsFault),
50    /// <p>The snapshot identifier does not refer to an existing cluster snapshot.</p>
51    ClusterSnapshotNotFoundFault(crate::types::error::ClusterSnapshotNotFoundFault),
52    /// <p>The request would result in the user exceeding the allowed number of cluster snapshots.</p>
53    ClusterSnapshotQuotaExceededFault(crate::types::error::ClusterSnapshotQuotaExceededFault),
54    /// <p>A <i>ClusterSubnetGroupName</i> is already used by an existing cluster subnet group.</p>
55    ClusterSubnetGroupAlreadyExistsFault(crate::types::error::ClusterSubnetGroupAlreadyExistsFault),
56    /// <p>The cluster subnet group name does not refer to an existing cluster subnet group.</p>
57    ClusterSubnetGroupNotFoundFault(crate::types::error::ClusterSubnetGroupNotFoundFault),
58    /// <p>The request would result in user exceeding the allowed number of cluster subnet groups. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
59    ClusterSubnetGroupQuotaExceededFault(crate::types::error::ClusterSubnetGroupQuotaExceededFault),
60    /// <p>The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
61    ClusterSubnetQuotaExceededFault(crate::types::error::ClusterSubnetQuotaExceededFault),
62    /// <p>There is a conflict while updating the resource policy.</p>
63    ConflictPolicyUpdateFault(crate::types::error::ConflictPolicyUpdateFault),
64    /// <p>Cross-region snapshot copy was temporarily disabled. Try your request again.</p>
65    CopyToRegionDisabledFault(crate::types::error::CopyToRegionDisabledFault),
66    /// <p>An error occurred when an attempt was made to change the custom domain association.</p>
67    CustomCnameAssociationFault(crate::types::error::CustomCnameAssociationFault),
68    /// <p>An error occurred. The custom domain name couldn't be found.</p>
69    CustomDomainAssociationNotFoundFault(crate::types::error::CustomDomainAssociationNotFoundFault),
70    /// <p>A dependent service denied access for the integration.</p>
71    DependentServiceAccessDeniedFault(crate::types::error::DependentServiceAccessDeniedFault),
72    /// <p>The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.</p>
73    DependentServiceRequestThrottlingFault(crate::types::error::DependentServiceRequestThrottlingFault),
74    /// <p>Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.</p>
75    DependentServiceUnavailableFault(crate::types::error::DependentServiceUnavailableFault),
76    /// <p>The account already has a Redshift-managed VPC endpoint with the given identifier.</p>
77    EndpointAlreadyExistsFault(crate::types::error::EndpointAlreadyExistsFault),
78    /// <p>The authorization already exists for this endpoint.</p>
79    EndpointAuthorizationAlreadyExistsFault(crate::types::error::EndpointAuthorizationAlreadyExistsFault),
80    /// <p>The authorization for this endpoint can't be found.</p>
81    EndpointAuthorizationNotFoundFault(crate::types::error::EndpointAuthorizationNotFoundFault),
82    /// <p>The number of endpoint authorizations per cluster has exceeded its limit.</p>
83    EndpointAuthorizationsPerClusterLimitExceededFault(crate::types::error::EndpointAuthorizationsPerClusterLimitExceededFault),
84    /// <p>The endpoint name doesn't refer to an existing endpoint.</p>
85    EndpointNotFoundFault(crate::types::error::EndpointNotFoundFault),
86    /// <p>The number of Redshift-managed VPC endpoints per authorization has exceeded its limit.</p>
87    EndpointsPerAuthorizationLimitExceededFault(crate::types::error::EndpointsPerAuthorizationLimitExceededFault),
88    /// <p>The number of Redshift-managed VPC endpoints per cluster has exceeded its limit.</p>
89    EndpointsPerClusterLimitExceededFault(crate::types::error::EndpointsPerClusterLimitExceededFault),
90    /// <p>The request would exceed the allowed number of event subscriptions for this account. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
91    EventSubscriptionQuotaExceededFault(crate::types::error::EventSubscriptionQuotaExceededFault),
92    /// <p>There is already an existing Amazon Redshift HSM client certificate with the specified identifier.</p>
93    HsmClientCertificateAlreadyExistsFault(crate::types::error::HsmClientCertificateAlreadyExistsFault),
94    /// <p>There is no Amazon Redshift HSM client certificate with the specified identifier.</p>
95    HsmClientCertificateNotFoundFault(crate::types::error::HsmClientCertificateNotFoundFault),
96    /// <p>The quota for HSM client certificates has been reached. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
97    HsmClientCertificateQuotaExceededFault(crate::types::error::HsmClientCertificateQuotaExceededFault),
98    /// <p>There is already an existing Amazon Redshift HSM configuration with the specified identifier.</p>
99    HsmConfigurationAlreadyExistsFault(crate::types::error::HsmConfigurationAlreadyExistsFault),
100    /// <p>There is no Amazon Redshift HSM configuration with the specified identifier.</p>
101    HsmConfigurationNotFoundFault(crate::types::error::HsmConfigurationNotFoundFault),
102    /// <p>The quota for HSM configurations has been reached. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
103    HsmConfigurationQuotaExceededFault(crate::types::error::HsmConfigurationQuotaExceededFault),
104    /// <p>You have exceeded the allowed number of table restore requests. Wait for your current table restore requests to complete before making a new request.</p>
105    InProgressTableRestoreQuotaExceededFault(crate::types::error::InProgressTableRestoreQuotaExceededFault),
106    /// <p>The specified options are incompatible.</p>
107    IncompatibleOrderableOptions(crate::types::error::IncompatibleOrderableOptions),
108    /// <p>The number of nodes specified exceeds the allotted capacity of the cluster.</p>
109    InsufficientClusterCapacityFault(crate::types::error::InsufficientClusterCapacityFault),
110    /// <p>The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.</p>
111    InsufficientS3BucketPolicyFault(crate::types::error::InsufficientS3BucketPolicyFault),
112    /// <p>The integration you are trying to create already exists.</p>
113    IntegrationAlreadyExistsFault(crate::types::error::IntegrationAlreadyExistsFault),
114    /// <p>A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.</p>
115    IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault),
116    /// <p>The integration is in an invalid state and can't perform the requested operation.</p>
117    IntegrationConflictStateFault(crate::types::error::IntegrationConflictStateFault),
118    /// <p>The integration can't be found.</p>
119    IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault),
120    /// <p>You can't create any more zero-ETL or S3 event integrations because the quota has been reached.</p>
121    IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault),
122    /// <p>The specified integration source can't be found.</p>
123    IntegrationSourceNotFoundFault(crate::types::error::IntegrationSourceNotFoundFault),
124    /// <p>The specified integration target can't be found.</p>
125    IntegrationTargetNotFoundFault(crate::types::error::IntegrationTargetNotFoundFault),
126    /// <p>The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.</p>
127    InvalidAuthenticationProfileRequestFault(crate::types::error::InvalidAuthenticationProfileRequestFault),
128    /// <p>The status of the authorization is not valid.</p>
129    InvalidAuthorizationStateFault(crate::types::error::InvalidAuthorizationStateFault),
130    /// <p>The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.</p>
131    InvalidClusterParameterGroupStateFault(crate::types::error::InvalidClusterParameterGroupStateFault),
132    /// <p>The state of the cluster security group is not <code>available</code>.</p>
133    InvalidClusterSecurityGroupStateFault(crate::types::error::InvalidClusterSecurityGroupStateFault),
134    /// <p>The cluster snapshot schedule state is not valid.</p>
135    InvalidClusterSnapshotScheduleStateFault(crate::types::error::InvalidClusterSnapshotScheduleStateFault),
136    /// <p>The specified cluster snapshot is not in the <code>available</code> state, or other accounts are authorized to access the snapshot.</p>
137    InvalidClusterSnapshotStateFault(crate::types::error::InvalidClusterSnapshotStateFault),
138    /// <p>The specified cluster is not in the <code>available</code> state.</p>
139    InvalidClusterStateFault(crate::types::error::InvalidClusterStateFault),
140    /// <p>The cluster subnet group cannot be deleted because it is in use.</p>
141    InvalidClusterSubnetGroupStateFault(crate::types::error::InvalidClusterSubnetGroupStateFault),
142    /// <p>The state of the subnet is invalid.</p>
143    InvalidClusterSubnetStateFault(crate::types::error::InvalidClusterSubnetStateFault),
144    /// <p>The provided cluster track name is not valid.</p>
145    InvalidClusterTrackFault(crate::types::error::InvalidClusterTrackFault),
146    /// <p>There is an error with the datashare.</p>
147    InvalidDataShareFault(crate::types::error::InvalidDataShareFault),
148    /// <p>The Elastic IP (EIP) is invalid or cannot be found.</p>
149    InvalidElasticIpFault(crate::types::error::InvalidElasticIpFault),
150    /// <p>The status of the endpoint is not valid.</p>
151    InvalidEndpointStateFault(crate::types::error::InvalidEndpointStateFault),
152    /// <p>The specified HSM client certificate is not in the <code>available</code> state, or it is still in use by one or more Amazon Redshift clusters.</p>
153    InvalidHsmClientCertificateStateFault(crate::types::error::InvalidHsmClientCertificateStateFault),
154    /// <p>The specified HSM configuration is not in the <code>available</code> state, or it is still in use by one or more Amazon Redshift clusters.</p>
155    InvalidHsmConfigurationStateFault(crate::types::error::InvalidHsmConfigurationStateFault),
156    /// <p>The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.</p>
157    InvalidNamespaceFault(crate::types::error::InvalidNamespaceFault),
158    /// <p>The resource policy isn't valid.</p>
159    InvalidPolicyFault(crate::types::error::InvalidPolicyFault),
160    /// <p>Indicates that the Reserved Node being exchanged is not in an active state.</p>
161    InvalidReservedNodeStateFault(crate::types::error::InvalidReservedNodeStateFault),
162    /// <p>The restore is invalid.</p>
163    InvalidRestoreFault(crate::types::error::InvalidRestoreFault),
164    /// <p>The retention period specified is either in the past or is not a valid value.</p>
165    /// <p>The value must be either -1 or an integer between 1 and 3,653.</p>
166    InvalidRetentionPeriodFault(crate::types::error::InvalidRetentionPeriodFault),
167    /// <p>The S3 bucket name is invalid. For more information about naming rules, go to <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html">Bucket Restrictions and Limitations</a> in the Amazon Simple Storage Service (S3) Developer Guide.</p>
168    InvalidS3BucketNameFault(crate::types::error::InvalidS3BucketNameFault),
169    /// <p>The string specified for the logging S3 key prefix does not comply with the documented constraints.</p>
170    InvalidS3KeyPrefixFault(crate::types::error::InvalidS3KeyPrefixFault),
171    /// <p>The schedule you submitted isn't valid.</p>
172    InvalidScheduleFault(crate::types::error::InvalidScheduleFault),
173    /// <p>The scheduled action is not valid.</p>
174    InvalidScheduledActionFault(crate::types::error::InvalidScheduledActionFault),
175    /// <p>The snapshot copy grant can't be deleted because it is used by one or more clusters.</p>
176    InvalidSnapshotCopyGrantStateFault(crate::types::error::InvalidSnapshotCopyGrantStateFault),
177    /// <p>The requested subnet is not valid, or not all of the subnets are in the same VPC.</p>
178    InvalidSubnet(crate::types::error::InvalidSubnet),
179    /// <p>The subscription request is invalid because it is a duplicate request. This subscription request is already in progress.</p>
180    InvalidSubscriptionStateFault(crate::types::error::InvalidSubscriptionStateFault),
181    /// <p>The value specified for the <code>sourceDatabaseName</code>, <code>sourceSchemaName</code>, or <code>sourceTableName</code> parameter, or a combination of these, doesn't exist in the snapshot.</p>
182    InvalidTableRestoreArgumentFault(crate::types::error::InvalidTableRestoreArgumentFault),
183    /// <p>The tag is invalid.</p>
184    InvalidTagFault(crate::types::error::InvalidTagFault),
185    /// <p>The usage limit is not valid.</p>
186    InvalidUsageLimitFault(crate::types::error::InvalidUsageLimitFault),
187    /// <p>The cluster subnet group does not cover all Availability Zones.</p>
188    InvalidVpcNetworkStateFault(crate::types::error::InvalidVpcNetworkStateFault),
189    /// <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>
190    Ipv6CidrBlockNotFoundFault(crate::types::error::Ipv6CidrBlockNotFoundFault),
191    /// <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
192    LimitExceededFault(crate::types::error::LimitExceededFault),
193    /// <p>The operation would exceed the number of nodes allowed for a cluster.</p>
194    NumberOfNodesPerClusterLimitExceededFault(crate::types::error::NumberOfNodesPerClusterLimitExceededFault),
195    /// <p>The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
196    NumberOfNodesQuotaExceededFault(crate::types::error::NumberOfNodesQuotaExceededFault),
197    /// <p>The name of the partner was not found.</p>
198    PartnerNotFoundFault(crate::types::error::PartnerNotFoundFault),
199    /// <p>The application you attempted to add already exists.</p>
200    RedshiftIdcApplicationAlreadyExistsFault(crate::types::error::RedshiftIdcApplicationAlreadyExistsFault),
201    /// <p>The application you attempted to find doesn't exist.</p>
202    RedshiftIdcApplicationNotExistsFault(crate::types::error::RedshiftIdcApplicationNotExistsFault),
203    /// <p>The maximum number of Redshift IAM Identity Center applications was exceeded.</p>
204    RedshiftIdcApplicationQuotaExceededFault(crate::types::error::RedshiftIdcApplicationQuotaExceededFault),
205    /// <p>User already has a reservation with the given identifier.</p>
206    ReservedNodeAlreadyExistsFault(crate::types::error::ReservedNodeAlreadyExistsFault),
207    /// <p>Indicates that the reserved node has already been exchanged.</p>
208    ReservedNodeAlreadyMigratedFault(crate::types::error::ReservedNodeAlreadyMigratedFault),
209    /// <p>The reserved-node exchange status wasn't found.</p>
210    ReservedNodeExchangeNotFoundFault(crate::types::error::ReservedNodeExchangeNotFoundFault),
211    /// <p>The specified reserved compute node not found.</p>
212    ReservedNodeNotFoundFault(crate::types::error::ReservedNodeNotFoundFault),
213    /// <p>Specified offering does not exist.</p>
214    ReservedNodeOfferingNotFoundFault(crate::types::error::ReservedNodeOfferingNotFoundFault),
215    /// <p>Request would exceed the user's compute node quota. For information about increasing your quota, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
216    ReservedNodeQuotaExceededFault(crate::types::error::ReservedNodeQuotaExceededFault),
217    /// <p>A resize operation for the specified cluster is not found.</p>
218    ResizeNotFoundFault(crate::types::error::ResizeNotFoundFault),
219    /// <p>The resource could not be found.</p>
220    ResourceNotFoundFault(crate::types::error::ResourceNotFoundFault),
221    /// <p>Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.</p>
222    SnsInvalidTopicFault(crate::types::error::SnsInvalidTopicFault),
223    /// <p>You do not have permission to publish to the specified Amazon SNS topic.</p>
224    SnsNoAuthorizationFault(crate::types::error::SnsNoAuthorizationFault),
225    /// <p>An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.</p>
226    SnsTopicArnNotFoundFault(crate::types::error::SnsTopicArnNotFoundFault),
227    /// <p>The definition you submitted is not supported.</p>
228    ScheduleDefinitionTypeUnsupportedFault(crate::types::error::ScheduleDefinitionTypeUnsupportedFault),
229    /// <p>The scheduled action already exists.</p>
230    ScheduledActionAlreadyExistsFault(crate::types::error::ScheduledActionAlreadyExistsFault),
231    /// <p>The scheduled action cannot be found.</p>
232    ScheduledActionNotFoundFault(crate::types::error::ScheduledActionNotFoundFault),
233    /// <p>The quota for scheduled actions exceeded.</p>
234    ScheduledActionQuotaExceededFault(crate::types::error::ScheduledActionQuotaExceededFault),
235    /// <p>The action type specified for a scheduled action is not supported.</p>
236    ScheduledActionTypeUnsupportedFault(crate::types::error::ScheduledActionTypeUnsupportedFault),
237    /// <p>The cluster already has cross-region snapshot copy disabled.</p>
238    SnapshotCopyAlreadyDisabledFault(crate::types::error::SnapshotCopyAlreadyDisabledFault),
239    /// <p>The cluster already has cross-region snapshot copy enabled.</p>
240    SnapshotCopyAlreadyEnabledFault(crate::types::error::SnapshotCopyAlreadyEnabledFault),
241    /// <p>Cross-region snapshot copy was temporarily disabled. Try your request again.</p>
242    SnapshotCopyDisabledFault(crate::types::error::SnapshotCopyDisabledFault),
243    /// <p>The snapshot copy grant can't be created because a grant with the same name already exists.</p>
244    SnapshotCopyGrantAlreadyExistsFault(crate::types::error::SnapshotCopyGrantAlreadyExistsFault),
245    /// <p>The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.</p>
246    SnapshotCopyGrantNotFoundFault(crate::types::error::SnapshotCopyGrantNotFoundFault),
247    /// <p>The Amazon Web Services account has exceeded the maximum number of snapshot copy grants in this region.</p>
248    SnapshotCopyGrantQuotaExceededFault(crate::types::error::SnapshotCopyGrantQuotaExceededFault),
249    /// <p>The specified snapshot schedule already exists.</p>
250    SnapshotScheduleAlreadyExistsFault(crate::types::error::SnapshotScheduleAlreadyExistsFault),
251    /// <p>We could not find the specified snapshot schedule.</p>
252    SnapshotScheduleNotFoundFault(crate::types::error::SnapshotScheduleNotFoundFault),
253    /// <p>You have exceeded the quota of snapshot schedules.</p>
254    SnapshotScheduleQuotaExceededFault(crate::types::error::SnapshotScheduleQuotaExceededFault),
255    /// <p>The specified snapshot schedule is already being updated.</p>
256    SnapshotScheduleUpdateInProgressFault(crate::types::error::SnapshotScheduleUpdateInProgressFault),
257    /// <p>The specified Amazon Redshift event source could not be found.</p>
258    SourceNotFoundFault(crate::types::error::SourceNotFoundFault),
259    /// <p>A specified subnet is already in use by another cluster.</p>
260    SubnetAlreadyInUse(crate::types::error::SubnetAlreadyInUse),
261    /// <p>There is already an existing event notification subscription with the specified name.</p>
262    SubscriptionAlreadyExistFault(crate::types::error::SubscriptionAlreadyExistFault),
263    /// <p>The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.</p>
264    SubscriptionCategoryNotFoundFault(crate::types::error::SubscriptionCategoryNotFoundFault),
265    /// <p>An Amazon Redshift event with the specified event ID does not exist.</p>
266    SubscriptionEventIdNotFoundFault(crate::types::error::SubscriptionEventIdNotFoundFault),
267    /// <p>An Amazon Redshift event notification subscription with the specified name does not exist.</p>
268    SubscriptionNotFoundFault(crate::types::error::SubscriptionNotFoundFault),
269    /// <p>The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.</p>
270    SubscriptionSeverityNotFoundFault(crate::types::error::SubscriptionSeverityNotFoundFault),
271    /// <p>The number of tables in the cluster exceeds the limit for the requested new cluster node type.</p>
272    TableLimitExceededFault(crate::types::error::TableLimitExceededFault),
273    /// <p>The specified <code>TableRestoreRequestId</code> value was not found.</p>
274    TableRestoreNotFoundFault(crate::types::error::TableRestoreNotFoundFault),
275    /// <p>You have exceeded the number of tags allowed.</p>
276    TagLimitExceededFault(crate::types::error::TagLimitExceededFault),
277    /// <p>Your account is not authorized to perform the requested operation.</p>
278    UnauthorizedOperation(crate::types::error::UnauthorizedOperation),
279    /// <p>The partner integration is not authorized.</p>
280    UnauthorizedPartnerIntegrationFault(crate::types::error::UnauthorizedPartnerIntegrationFault),
281    /// <p>The specified region is incorrect or does not exist.</p>
282    UnknownSnapshotCopyRegionFault(crate::types::error::UnknownSnapshotCopyRegionFault),
283    /// <p>The requested operation isn't supported.</p>
284    UnsupportedOperationFault(crate::types::error::UnsupportedOperationFault),
285    /// <p>A request option was specified that is not supported.</p>
286    UnsupportedOptionFault(crate::types::error::UnsupportedOptionFault),
287    /// <p>The usage limit already exists.</p>
288    UsageLimitAlreadyExistsFault(crate::types::error::UsageLimitAlreadyExistsFault),
289    /// <p>The usage limit identifier can't be found.</p>
290    UsageLimitNotFoundFault(crate::types::error::UsageLimitNotFoundFault),
291    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
292    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
293    variable wildcard pattern and check `.code()`:
294     \
295    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
296     \
297    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
298    Unhandled(crate::error::sealed_unhandled::Unhandled),
299}
300impl ::std::fmt::Display for Error {
301    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
302        match self {
303            Error::AccessToClusterDeniedFault(inner) => inner.fmt(f),
304            Error::AccessToSnapshotDeniedFault(inner) => inner.fmt(f),
305            Error::AuthenticationProfileAlreadyExistsFault(inner) => inner.fmt(f),
306            Error::AuthenticationProfileNotFoundFault(inner) => inner.fmt(f),
307            Error::AuthenticationProfileQuotaExceededFault(inner) => inner.fmt(f),
308            Error::AuthorizationAlreadyExistsFault(inner) => inner.fmt(f),
309            Error::AuthorizationNotFoundFault(inner) => inner.fmt(f),
310            Error::AuthorizationQuotaExceededFault(inner) => inner.fmt(f),
311            Error::BatchDeleteRequestSizeExceededFault(inner) => inner.fmt(f),
312            Error::BatchModifyClusterSnapshotsLimitExceededFault(inner) => inner.fmt(f),
313            Error::BucketNotFoundFault(inner) => inner.fmt(f),
314            Error::ClusterAlreadyExistsFault(inner) => inner.fmt(f),
315            Error::ClusterNotFoundFault(inner) => inner.fmt(f),
316            Error::ClusterOnLatestRevisionFault(inner) => inner.fmt(f),
317            Error::ClusterParameterGroupAlreadyExistsFault(inner) => inner.fmt(f),
318            Error::ClusterParameterGroupNotFoundFault(inner) => inner.fmt(f),
319            Error::ClusterParameterGroupQuotaExceededFault(inner) => inner.fmt(f),
320            Error::ClusterQuotaExceededFault(inner) => inner.fmt(f),
321            Error::ClusterSecurityGroupAlreadyExistsFault(inner) => inner.fmt(f),
322            Error::ClusterSecurityGroupNotFoundFault(inner) => inner.fmt(f),
323            Error::ClusterSecurityGroupQuotaExceededFault(inner) => inner.fmt(f),
324            Error::ClusterSnapshotAlreadyExistsFault(inner) => inner.fmt(f),
325            Error::ClusterSnapshotNotFoundFault(inner) => inner.fmt(f),
326            Error::ClusterSnapshotQuotaExceededFault(inner) => inner.fmt(f),
327            Error::ClusterSubnetGroupAlreadyExistsFault(inner) => inner.fmt(f),
328            Error::ClusterSubnetGroupNotFoundFault(inner) => inner.fmt(f),
329            Error::ClusterSubnetGroupQuotaExceededFault(inner) => inner.fmt(f),
330            Error::ClusterSubnetQuotaExceededFault(inner) => inner.fmt(f),
331            Error::ConflictPolicyUpdateFault(inner) => inner.fmt(f),
332            Error::CopyToRegionDisabledFault(inner) => inner.fmt(f),
333            Error::CustomCnameAssociationFault(inner) => inner.fmt(f),
334            Error::CustomDomainAssociationNotFoundFault(inner) => inner.fmt(f),
335            Error::DependentServiceAccessDeniedFault(inner) => inner.fmt(f),
336            Error::DependentServiceRequestThrottlingFault(inner) => inner.fmt(f),
337            Error::DependentServiceUnavailableFault(inner) => inner.fmt(f),
338            Error::EndpointAlreadyExistsFault(inner) => inner.fmt(f),
339            Error::EndpointAuthorizationAlreadyExistsFault(inner) => inner.fmt(f),
340            Error::EndpointAuthorizationNotFoundFault(inner) => inner.fmt(f),
341            Error::EndpointAuthorizationsPerClusterLimitExceededFault(inner) => inner.fmt(f),
342            Error::EndpointNotFoundFault(inner) => inner.fmt(f),
343            Error::EndpointsPerAuthorizationLimitExceededFault(inner) => inner.fmt(f),
344            Error::EndpointsPerClusterLimitExceededFault(inner) => inner.fmt(f),
345            Error::EventSubscriptionQuotaExceededFault(inner) => inner.fmt(f),
346            Error::HsmClientCertificateAlreadyExistsFault(inner) => inner.fmt(f),
347            Error::HsmClientCertificateNotFoundFault(inner) => inner.fmt(f),
348            Error::HsmClientCertificateQuotaExceededFault(inner) => inner.fmt(f),
349            Error::HsmConfigurationAlreadyExistsFault(inner) => inner.fmt(f),
350            Error::HsmConfigurationNotFoundFault(inner) => inner.fmt(f),
351            Error::HsmConfigurationQuotaExceededFault(inner) => inner.fmt(f),
352            Error::InProgressTableRestoreQuotaExceededFault(inner) => inner.fmt(f),
353            Error::IncompatibleOrderableOptions(inner) => inner.fmt(f),
354            Error::InsufficientClusterCapacityFault(inner) => inner.fmt(f),
355            Error::InsufficientS3BucketPolicyFault(inner) => inner.fmt(f),
356            Error::IntegrationAlreadyExistsFault(inner) => inner.fmt(f),
357            Error::IntegrationConflictOperationFault(inner) => inner.fmt(f),
358            Error::IntegrationConflictStateFault(inner) => inner.fmt(f),
359            Error::IntegrationNotFoundFault(inner) => inner.fmt(f),
360            Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f),
361            Error::IntegrationSourceNotFoundFault(inner) => inner.fmt(f),
362            Error::IntegrationTargetNotFoundFault(inner) => inner.fmt(f),
363            Error::InvalidAuthenticationProfileRequestFault(inner) => inner.fmt(f),
364            Error::InvalidAuthorizationStateFault(inner) => inner.fmt(f),
365            Error::InvalidClusterParameterGroupStateFault(inner) => inner.fmt(f),
366            Error::InvalidClusterSecurityGroupStateFault(inner) => inner.fmt(f),
367            Error::InvalidClusterSnapshotScheduleStateFault(inner) => inner.fmt(f),
368            Error::InvalidClusterSnapshotStateFault(inner) => inner.fmt(f),
369            Error::InvalidClusterStateFault(inner) => inner.fmt(f),
370            Error::InvalidClusterSubnetGroupStateFault(inner) => inner.fmt(f),
371            Error::InvalidClusterSubnetStateFault(inner) => inner.fmt(f),
372            Error::InvalidClusterTrackFault(inner) => inner.fmt(f),
373            Error::InvalidDataShareFault(inner) => inner.fmt(f),
374            Error::InvalidElasticIpFault(inner) => inner.fmt(f),
375            Error::InvalidEndpointStateFault(inner) => inner.fmt(f),
376            Error::InvalidHsmClientCertificateStateFault(inner) => inner.fmt(f),
377            Error::InvalidHsmConfigurationStateFault(inner) => inner.fmt(f),
378            Error::InvalidNamespaceFault(inner) => inner.fmt(f),
379            Error::InvalidPolicyFault(inner) => inner.fmt(f),
380            Error::InvalidReservedNodeStateFault(inner) => inner.fmt(f),
381            Error::InvalidRestoreFault(inner) => inner.fmt(f),
382            Error::InvalidRetentionPeriodFault(inner) => inner.fmt(f),
383            Error::InvalidS3BucketNameFault(inner) => inner.fmt(f),
384            Error::InvalidS3KeyPrefixFault(inner) => inner.fmt(f),
385            Error::InvalidScheduleFault(inner) => inner.fmt(f),
386            Error::InvalidScheduledActionFault(inner) => inner.fmt(f),
387            Error::InvalidSnapshotCopyGrantStateFault(inner) => inner.fmt(f),
388            Error::InvalidSubnet(inner) => inner.fmt(f),
389            Error::InvalidSubscriptionStateFault(inner) => inner.fmt(f),
390            Error::InvalidTableRestoreArgumentFault(inner) => inner.fmt(f),
391            Error::InvalidTagFault(inner) => inner.fmt(f),
392            Error::InvalidUsageLimitFault(inner) => inner.fmt(f),
393            Error::InvalidVpcNetworkStateFault(inner) => inner.fmt(f),
394            Error::Ipv6CidrBlockNotFoundFault(inner) => inner.fmt(f),
395            Error::LimitExceededFault(inner) => inner.fmt(f),
396            Error::NumberOfNodesPerClusterLimitExceededFault(inner) => inner.fmt(f),
397            Error::NumberOfNodesQuotaExceededFault(inner) => inner.fmt(f),
398            Error::PartnerNotFoundFault(inner) => inner.fmt(f),
399            Error::RedshiftIdcApplicationAlreadyExistsFault(inner) => inner.fmt(f),
400            Error::RedshiftIdcApplicationNotExistsFault(inner) => inner.fmt(f),
401            Error::RedshiftIdcApplicationQuotaExceededFault(inner) => inner.fmt(f),
402            Error::ReservedNodeAlreadyExistsFault(inner) => inner.fmt(f),
403            Error::ReservedNodeAlreadyMigratedFault(inner) => inner.fmt(f),
404            Error::ReservedNodeExchangeNotFoundFault(inner) => inner.fmt(f),
405            Error::ReservedNodeNotFoundFault(inner) => inner.fmt(f),
406            Error::ReservedNodeOfferingNotFoundFault(inner) => inner.fmt(f),
407            Error::ReservedNodeQuotaExceededFault(inner) => inner.fmt(f),
408            Error::ResizeNotFoundFault(inner) => inner.fmt(f),
409            Error::ResourceNotFoundFault(inner) => inner.fmt(f),
410            Error::SnsInvalidTopicFault(inner) => inner.fmt(f),
411            Error::SnsNoAuthorizationFault(inner) => inner.fmt(f),
412            Error::SnsTopicArnNotFoundFault(inner) => inner.fmt(f),
413            Error::ScheduleDefinitionTypeUnsupportedFault(inner) => inner.fmt(f),
414            Error::ScheduledActionAlreadyExistsFault(inner) => inner.fmt(f),
415            Error::ScheduledActionNotFoundFault(inner) => inner.fmt(f),
416            Error::ScheduledActionQuotaExceededFault(inner) => inner.fmt(f),
417            Error::ScheduledActionTypeUnsupportedFault(inner) => inner.fmt(f),
418            Error::SnapshotCopyAlreadyDisabledFault(inner) => inner.fmt(f),
419            Error::SnapshotCopyAlreadyEnabledFault(inner) => inner.fmt(f),
420            Error::SnapshotCopyDisabledFault(inner) => inner.fmt(f),
421            Error::SnapshotCopyGrantAlreadyExistsFault(inner) => inner.fmt(f),
422            Error::SnapshotCopyGrantNotFoundFault(inner) => inner.fmt(f),
423            Error::SnapshotCopyGrantQuotaExceededFault(inner) => inner.fmt(f),
424            Error::SnapshotScheduleAlreadyExistsFault(inner) => inner.fmt(f),
425            Error::SnapshotScheduleNotFoundFault(inner) => inner.fmt(f),
426            Error::SnapshotScheduleQuotaExceededFault(inner) => inner.fmt(f),
427            Error::SnapshotScheduleUpdateInProgressFault(inner) => inner.fmt(f),
428            Error::SourceNotFoundFault(inner) => inner.fmt(f),
429            Error::SubnetAlreadyInUse(inner) => inner.fmt(f),
430            Error::SubscriptionAlreadyExistFault(inner) => inner.fmt(f),
431            Error::SubscriptionCategoryNotFoundFault(inner) => inner.fmt(f),
432            Error::SubscriptionEventIdNotFoundFault(inner) => inner.fmt(f),
433            Error::SubscriptionNotFoundFault(inner) => inner.fmt(f),
434            Error::SubscriptionSeverityNotFoundFault(inner) => inner.fmt(f),
435            Error::TableLimitExceededFault(inner) => inner.fmt(f),
436            Error::TableRestoreNotFoundFault(inner) => inner.fmt(f),
437            Error::TagLimitExceededFault(inner) => inner.fmt(f),
438            Error::UnauthorizedOperation(inner) => inner.fmt(f),
439            Error::UnauthorizedPartnerIntegrationFault(inner) => inner.fmt(f),
440            Error::UnknownSnapshotCopyRegionFault(inner) => inner.fmt(f),
441            Error::UnsupportedOperationFault(inner) => inner.fmt(f),
442            Error::UnsupportedOptionFault(inner) => inner.fmt(f),
443            Error::UsageLimitAlreadyExistsFault(inner) => inner.fmt(f),
444            Error::UsageLimitNotFoundFault(inner) => inner.fmt(f),
445            Error::Unhandled(_) => {
446                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
447                    write!(f, "unhandled error ({code})")
448                } else {
449                    f.write_str("unhandled error")
450                }
451            }
452        }
453    }
454}
455impl From<::aws_smithy_types::error::operation::BuildError> for Error {
456    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
457        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
458            source: value.into(),
459            meta: ::std::default::Default::default(),
460        })
461    }
462}
463impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
464    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
465        match self {
466            Self::AccessToClusterDeniedFault(inner) => inner.meta(),
467            Self::AccessToSnapshotDeniedFault(inner) => inner.meta(),
468            Self::AuthenticationProfileAlreadyExistsFault(inner) => inner.meta(),
469            Self::AuthenticationProfileNotFoundFault(inner) => inner.meta(),
470            Self::AuthenticationProfileQuotaExceededFault(inner) => inner.meta(),
471            Self::AuthorizationAlreadyExistsFault(inner) => inner.meta(),
472            Self::AuthorizationNotFoundFault(inner) => inner.meta(),
473            Self::AuthorizationQuotaExceededFault(inner) => inner.meta(),
474            Self::BatchDeleteRequestSizeExceededFault(inner) => inner.meta(),
475            Self::BatchModifyClusterSnapshotsLimitExceededFault(inner) => inner.meta(),
476            Self::BucketNotFoundFault(inner) => inner.meta(),
477            Self::ClusterAlreadyExistsFault(inner) => inner.meta(),
478            Self::ClusterNotFoundFault(inner) => inner.meta(),
479            Self::ClusterOnLatestRevisionFault(inner) => inner.meta(),
480            Self::ClusterParameterGroupAlreadyExistsFault(inner) => inner.meta(),
481            Self::ClusterParameterGroupNotFoundFault(inner) => inner.meta(),
482            Self::ClusterParameterGroupQuotaExceededFault(inner) => inner.meta(),
483            Self::ClusterQuotaExceededFault(inner) => inner.meta(),
484            Self::ClusterSecurityGroupAlreadyExistsFault(inner) => inner.meta(),
485            Self::ClusterSecurityGroupNotFoundFault(inner) => inner.meta(),
486            Self::ClusterSecurityGroupQuotaExceededFault(inner) => inner.meta(),
487            Self::ClusterSnapshotAlreadyExistsFault(inner) => inner.meta(),
488            Self::ClusterSnapshotNotFoundFault(inner) => inner.meta(),
489            Self::ClusterSnapshotQuotaExceededFault(inner) => inner.meta(),
490            Self::ClusterSubnetGroupAlreadyExistsFault(inner) => inner.meta(),
491            Self::ClusterSubnetGroupNotFoundFault(inner) => inner.meta(),
492            Self::ClusterSubnetGroupQuotaExceededFault(inner) => inner.meta(),
493            Self::ClusterSubnetQuotaExceededFault(inner) => inner.meta(),
494            Self::ConflictPolicyUpdateFault(inner) => inner.meta(),
495            Self::CopyToRegionDisabledFault(inner) => inner.meta(),
496            Self::CustomCnameAssociationFault(inner) => inner.meta(),
497            Self::CustomDomainAssociationNotFoundFault(inner) => inner.meta(),
498            Self::DependentServiceAccessDeniedFault(inner) => inner.meta(),
499            Self::DependentServiceRequestThrottlingFault(inner) => inner.meta(),
500            Self::DependentServiceUnavailableFault(inner) => inner.meta(),
501            Self::EndpointAlreadyExistsFault(inner) => inner.meta(),
502            Self::EndpointAuthorizationAlreadyExistsFault(inner) => inner.meta(),
503            Self::EndpointAuthorizationNotFoundFault(inner) => inner.meta(),
504            Self::EndpointAuthorizationsPerClusterLimitExceededFault(inner) => inner.meta(),
505            Self::EndpointNotFoundFault(inner) => inner.meta(),
506            Self::EndpointsPerAuthorizationLimitExceededFault(inner) => inner.meta(),
507            Self::EndpointsPerClusterLimitExceededFault(inner) => inner.meta(),
508            Self::EventSubscriptionQuotaExceededFault(inner) => inner.meta(),
509            Self::HsmClientCertificateAlreadyExistsFault(inner) => inner.meta(),
510            Self::HsmClientCertificateNotFoundFault(inner) => inner.meta(),
511            Self::HsmClientCertificateQuotaExceededFault(inner) => inner.meta(),
512            Self::HsmConfigurationAlreadyExistsFault(inner) => inner.meta(),
513            Self::HsmConfigurationNotFoundFault(inner) => inner.meta(),
514            Self::HsmConfigurationQuotaExceededFault(inner) => inner.meta(),
515            Self::InProgressTableRestoreQuotaExceededFault(inner) => inner.meta(),
516            Self::IncompatibleOrderableOptions(inner) => inner.meta(),
517            Self::InsufficientClusterCapacityFault(inner) => inner.meta(),
518            Self::InsufficientS3BucketPolicyFault(inner) => inner.meta(),
519            Self::IntegrationAlreadyExistsFault(inner) => inner.meta(),
520            Self::IntegrationConflictOperationFault(inner) => inner.meta(),
521            Self::IntegrationConflictStateFault(inner) => inner.meta(),
522            Self::IntegrationNotFoundFault(inner) => inner.meta(),
523            Self::IntegrationQuotaExceededFault(inner) => inner.meta(),
524            Self::IntegrationSourceNotFoundFault(inner) => inner.meta(),
525            Self::IntegrationTargetNotFoundFault(inner) => inner.meta(),
526            Self::InvalidAuthenticationProfileRequestFault(inner) => inner.meta(),
527            Self::InvalidAuthorizationStateFault(inner) => inner.meta(),
528            Self::InvalidClusterParameterGroupStateFault(inner) => inner.meta(),
529            Self::InvalidClusterSecurityGroupStateFault(inner) => inner.meta(),
530            Self::InvalidClusterSnapshotScheduleStateFault(inner) => inner.meta(),
531            Self::InvalidClusterSnapshotStateFault(inner) => inner.meta(),
532            Self::InvalidClusterStateFault(inner) => inner.meta(),
533            Self::InvalidClusterSubnetGroupStateFault(inner) => inner.meta(),
534            Self::InvalidClusterSubnetStateFault(inner) => inner.meta(),
535            Self::InvalidClusterTrackFault(inner) => inner.meta(),
536            Self::InvalidDataShareFault(inner) => inner.meta(),
537            Self::InvalidElasticIpFault(inner) => inner.meta(),
538            Self::InvalidEndpointStateFault(inner) => inner.meta(),
539            Self::InvalidHsmClientCertificateStateFault(inner) => inner.meta(),
540            Self::InvalidHsmConfigurationStateFault(inner) => inner.meta(),
541            Self::InvalidNamespaceFault(inner) => inner.meta(),
542            Self::InvalidPolicyFault(inner) => inner.meta(),
543            Self::InvalidReservedNodeStateFault(inner) => inner.meta(),
544            Self::InvalidRestoreFault(inner) => inner.meta(),
545            Self::InvalidRetentionPeriodFault(inner) => inner.meta(),
546            Self::InvalidS3BucketNameFault(inner) => inner.meta(),
547            Self::InvalidS3KeyPrefixFault(inner) => inner.meta(),
548            Self::InvalidScheduleFault(inner) => inner.meta(),
549            Self::InvalidScheduledActionFault(inner) => inner.meta(),
550            Self::InvalidSnapshotCopyGrantStateFault(inner) => inner.meta(),
551            Self::InvalidSubnet(inner) => inner.meta(),
552            Self::InvalidSubscriptionStateFault(inner) => inner.meta(),
553            Self::InvalidTableRestoreArgumentFault(inner) => inner.meta(),
554            Self::InvalidTagFault(inner) => inner.meta(),
555            Self::InvalidUsageLimitFault(inner) => inner.meta(),
556            Self::InvalidVpcNetworkStateFault(inner) => inner.meta(),
557            Self::Ipv6CidrBlockNotFoundFault(inner) => inner.meta(),
558            Self::LimitExceededFault(inner) => inner.meta(),
559            Self::NumberOfNodesPerClusterLimitExceededFault(inner) => inner.meta(),
560            Self::NumberOfNodesQuotaExceededFault(inner) => inner.meta(),
561            Self::PartnerNotFoundFault(inner) => inner.meta(),
562            Self::RedshiftIdcApplicationAlreadyExistsFault(inner) => inner.meta(),
563            Self::RedshiftIdcApplicationNotExistsFault(inner) => inner.meta(),
564            Self::RedshiftIdcApplicationQuotaExceededFault(inner) => inner.meta(),
565            Self::ReservedNodeAlreadyExistsFault(inner) => inner.meta(),
566            Self::ReservedNodeAlreadyMigratedFault(inner) => inner.meta(),
567            Self::ReservedNodeExchangeNotFoundFault(inner) => inner.meta(),
568            Self::ReservedNodeNotFoundFault(inner) => inner.meta(),
569            Self::ReservedNodeOfferingNotFoundFault(inner) => inner.meta(),
570            Self::ReservedNodeQuotaExceededFault(inner) => inner.meta(),
571            Self::ResizeNotFoundFault(inner) => inner.meta(),
572            Self::ResourceNotFoundFault(inner) => inner.meta(),
573            Self::SnsInvalidTopicFault(inner) => inner.meta(),
574            Self::SnsNoAuthorizationFault(inner) => inner.meta(),
575            Self::SnsTopicArnNotFoundFault(inner) => inner.meta(),
576            Self::ScheduleDefinitionTypeUnsupportedFault(inner) => inner.meta(),
577            Self::ScheduledActionAlreadyExistsFault(inner) => inner.meta(),
578            Self::ScheduledActionNotFoundFault(inner) => inner.meta(),
579            Self::ScheduledActionQuotaExceededFault(inner) => inner.meta(),
580            Self::ScheduledActionTypeUnsupportedFault(inner) => inner.meta(),
581            Self::SnapshotCopyAlreadyDisabledFault(inner) => inner.meta(),
582            Self::SnapshotCopyAlreadyEnabledFault(inner) => inner.meta(),
583            Self::SnapshotCopyDisabledFault(inner) => inner.meta(),
584            Self::SnapshotCopyGrantAlreadyExistsFault(inner) => inner.meta(),
585            Self::SnapshotCopyGrantNotFoundFault(inner) => inner.meta(),
586            Self::SnapshotCopyGrantQuotaExceededFault(inner) => inner.meta(),
587            Self::SnapshotScheduleAlreadyExistsFault(inner) => inner.meta(),
588            Self::SnapshotScheduleNotFoundFault(inner) => inner.meta(),
589            Self::SnapshotScheduleQuotaExceededFault(inner) => inner.meta(),
590            Self::SnapshotScheduleUpdateInProgressFault(inner) => inner.meta(),
591            Self::SourceNotFoundFault(inner) => inner.meta(),
592            Self::SubnetAlreadyInUse(inner) => inner.meta(),
593            Self::SubscriptionAlreadyExistFault(inner) => inner.meta(),
594            Self::SubscriptionCategoryNotFoundFault(inner) => inner.meta(),
595            Self::SubscriptionEventIdNotFoundFault(inner) => inner.meta(),
596            Self::SubscriptionNotFoundFault(inner) => inner.meta(),
597            Self::SubscriptionSeverityNotFoundFault(inner) => inner.meta(),
598            Self::TableLimitExceededFault(inner) => inner.meta(),
599            Self::TableRestoreNotFoundFault(inner) => inner.meta(),
600            Self::TagLimitExceededFault(inner) => inner.meta(),
601            Self::UnauthorizedOperation(inner) => inner.meta(),
602            Self::UnauthorizedPartnerIntegrationFault(inner) => inner.meta(),
603            Self::UnknownSnapshotCopyRegionFault(inner) => inner.meta(),
604            Self::UnsupportedOperationFault(inner) => inner.meta(),
605            Self::UnsupportedOptionFault(inner) => inner.meta(),
606            Self::UsageLimitAlreadyExistsFault(inner) => inner.meta(),
607            Self::UsageLimitNotFoundFault(inner) => inner.meta(),
608            Self::Unhandled(inner) => &inner.meta,
609        }
610    }
611}
612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError, R>>
613    for Error
614where
615    R: Send + Sync + std::fmt::Debug + 'static,
616{
617    fn from(
618        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError, R>,
619    ) -> Self {
620        match err {
621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
624                source: err.into(),
625            }),
626        }
627    }
628}
629impl From<crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError> for Error {
630    fn from(err: crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError) -> Self {
631        match err {
632            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::DependentServiceUnavailableFault(inner) => {
633                Error::DependentServiceUnavailableFault(inner)
634            }
635            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::InvalidReservedNodeStateFault(inner) => {
636                Error::InvalidReservedNodeStateFault(inner)
637            }
638            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::ReservedNodeAlreadyExistsFault(inner) => {
639                Error::ReservedNodeAlreadyExistsFault(inner)
640            }
641            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::ReservedNodeAlreadyMigratedFault(inner) => {
642                Error::ReservedNodeAlreadyMigratedFault(inner)
643            }
644            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::ReservedNodeNotFoundFault(inner) => {
645                Error::ReservedNodeNotFoundFault(inner)
646            }
647            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::ReservedNodeOfferingNotFoundFault(inner) => {
648                Error::ReservedNodeOfferingNotFoundFault(inner)
649            }
650            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::UnsupportedOperationFault(inner) => {
651                Error::UnsupportedOperationFault(inner)
652            }
653            crate::operation::accept_reserved_node_exchange::AcceptReservedNodeExchangeError::Unhandled(inner) => Error::Unhandled(inner),
654        }
655    }
656}
657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_partner::AddPartnerError, R>> for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_partner::AddPartnerError, R>) -> Self {
662        match err {
663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
666                source: err.into(),
667            }),
668        }
669    }
670}
671impl From<crate::operation::add_partner::AddPartnerError> for Error {
672    fn from(err: crate::operation::add_partner::AddPartnerError) -> Self {
673        match err {
674            crate::operation::add_partner::AddPartnerError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
675            crate::operation::add_partner::AddPartnerError::PartnerNotFoundFault(inner) => Error::PartnerNotFoundFault(inner),
676            crate::operation::add_partner::AddPartnerError::UnauthorizedPartnerIntegrationFault(inner) => {
677                Error::UnauthorizedPartnerIntegrationFault(inner)
678            }
679            crate::operation::add_partner::AddPartnerError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
680            crate::operation::add_partner::AddPartnerError::Unhandled(inner) => Error::Unhandled(inner),
681        }
682    }
683}
684impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError, R>>
685    for Error
686where
687    R: Send + Sync + std::fmt::Debug + 'static,
688{
689    fn from(
690        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError, R>,
691    ) -> Self {
692        match err {
693            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
694            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
695                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
696                source: err.into(),
697            }),
698        }
699    }
700}
701impl From<crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError> for Error {
702    fn from(err: crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError) -> Self {
703        match err {
704            crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError::InvalidDataShareFault(inner) => {
705                Error::InvalidDataShareFault(inner)
706            }
707            crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError::InvalidNamespaceFault(inner) => {
708                Error::InvalidNamespaceFault(inner)
709            }
710            crate::operation::associate_data_share_consumer::AssociateDataShareConsumerError::Unhandled(inner) => Error::Unhandled(inner),
711        }
712    }
713}
714impl<R>
715    From<
716        ::aws_smithy_runtime_api::client::result::SdkError<
717            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError,
718            R,
719        >,
720    > for Error
721where
722    R: Send + Sync + std::fmt::Debug + 'static,
723{
724    fn from(
725        err: ::aws_smithy_runtime_api::client::result::SdkError<
726            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError,
727            R,
728        >,
729    ) -> Self {
730        match err {
731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
734                source: err.into(),
735            }),
736        }
737    }
738}
739impl From<crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError> for Error {
740    fn from(err: crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError) -> Self {
741        match err {
742            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError::AuthorizationAlreadyExistsFault(inner) => Error::AuthorizationAlreadyExistsFault(inner),
743            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError::AuthorizationQuotaExceededFault(inner) => Error::AuthorizationQuotaExceededFault(inner),
744            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError::ClusterSecurityGroupNotFoundFault(inner) => Error::ClusterSecurityGroupNotFoundFault(inner),
745            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError::InvalidClusterSecurityGroupStateFault(inner) => Error::InvalidClusterSecurityGroupStateFault(inner),
746            crate::operation::authorize_cluster_security_group_ingress::AuthorizeClusterSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
747        }
748    }
749}
750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_data_share::AuthorizeDataShareError, R>> for Error
751where
752    R: Send + Sync + std::fmt::Debug + 'static,
753{
754    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_data_share::AuthorizeDataShareError, R>) -> Self {
755        match err {
756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
759                source: err.into(),
760            }),
761        }
762    }
763}
764impl From<crate::operation::authorize_data_share::AuthorizeDataShareError> for Error {
765    fn from(err: crate::operation::authorize_data_share::AuthorizeDataShareError) -> Self {
766        match err {
767            crate::operation::authorize_data_share::AuthorizeDataShareError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
768            crate::operation::authorize_data_share::AuthorizeDataShareError::Unhandled(inner) => Error::Unhandled(inner),
769        }
770    }
771}
772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError, R>>
773    for Error
774where
775    R: Send + Sync + std::fmt::Debug + 'static,
776{
777    fn from(
778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError, R>,
779    ) -> Self {
780        match err {
781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
784                source: err.into(),
785            }),
786        }
787    }
788}
789impl From<crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError> for Error {
790    fn from(err: crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError) -> Self {
791        match err {
792            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::ClusterNotFoundFault(inner) => {
793                Error::ClusterNotFoundFault(inner)
794            }
795            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::EndpointAuthorizationAlreadyExistsFault(inner) => {
796                Error::EndpointAuthorizationAlreadyExistsFault(inner)
797            }
798            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::EndpointAuthorizationsPerClusterLimitExceededFault(inner) => {
799                Error::EndpointAuthorizationsPerClusterLimitExceededFault(inner)
800            }
801            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::InvalidAuthorizationStateFault(inner) => {
802                Error::InvalidAuthorizationStateFault(inner)
803            }
804            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::InvalidClusterStateFault(inner) => {
805                Error::InvalidClusterStateFault(inner)
806            }
807            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::UnsupportedOperationFault(inner) => {
808                Error::UnsupportedOperationFault(inner)
809            }
810            crate::operation::authorize_endpoint_access::AuthorizeEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
811        }
812    }
813}
814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError, R>>
815    for Error
816where
817    R: Send + Sync + std::fmt::Debug + 'static,
818{
819    fn from(
820        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError, R>,
821    ) -> Self {
822        match err {
823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
826                source: err.into(),
827            }),
828        }
829    }
830}
831impl From<crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError> for Error {
832    fn from(err: crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError) -> Self {
833        match err {
834            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::AuthorizationAlreadyExistsFault(inner) => {
835                Error::AuthorizationAlreadyExistsFault(inner)
836            }
837            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::AuthorizationQuotaExceededFault(inner) => {
838                Error::AuthorizationQuotaExceededFault(inner)
839            }
840            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::ClusterSnapshotNotFoundFault(inner) => {
841                Error::ClusterSnapshotNotFoundFault(inner)
842            }
843            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::DependentServiceRequestThrottlingFault(inner) => {
844                Error::DependentServiceRequestThrottlingFault(inner)
845            }
846            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::InvalidClusterSnapshotStateFault(inner) => {
847                Error::InvalidClusterSnapshotStateFault(inner)
848            }
849            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
850            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::UnsupportedOperationFault(inner) => {
851                Error::UnsupportedOperationFault(inner)
852            }
853            crate::operation::authorize_snapshot_access::AuthorizeSnapshotAccessError::Unhandled(inner) => Error::Unhandled(inner),
854        }
855    }
856}
857impl<R>
858    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError, R>>
859    for Error
860where
861    R: Send + Sync + std::fmt::Debug + 'static,
862{
863    fn from(
864        err: ::aws_smithy_runtime_api::client::result::SdkError<
865            crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError,
866            R,
867        >,
868    ) -> Self {
869        match err {
870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
873                source: err.into(),
874            }),
875        }
876    }
877}
878impl From<crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError> for Error {
879    fn from(err: crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError) -> Self {
880        match err {
881            crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError::BatchDeleteRequestSizeExceededFault(inner) => {
882                Error::BatchDeleteRequestSizeExceededFault(inner)
883            }
884            crate::operation::batch_delete_cluster_snapshots::BatchDeleteClusterSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
885        }
886    }
887}
888impl<R>
889    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError, R>>
890    for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError> for Error {
910    fn from(err: crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError) -> Self {
911        match err {
912            crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError::BatchModifyClusterSnapshotsLimitExceededFault(
913                inner,
914            ) => Error::BatchModifyClusterSnapshotsLimitExceededFault(inner),
915            crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError::InvalidRetentionPeriodFault(inner) => {
916                Error::InvalidRetentionPeriodFault(inner)
917            }
918            crate::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
919        }
920    }
921}
922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_resize::CancelResizeError, R>> for Error
923where
924    R: Send + Sync + std::fmt::Debug + 'static,
925{
926    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_resize::CancelResizeError, R>) -> Self {
927        match err {
928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
931                source: err.into(),
932            }),
933        }
934    }
935}
936impl From<crate::operation::cancel_resize::CancelResizeError> for Error {
937    fn from(err: crate::operation::cancel_resize::CancelResizeError) -> Self {
938        match err {
939            crate::operation::cancel_resize::CancelResizeError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
940            crate::operation::cancel_resize::CancelResizeError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
941            crate::operation::cancel_resize::CancelResizeError::ResizeNotFoundFault(inner) => Error::ResizeNotFoundFault(inner),
942            crate::operation::cancel_resize::CancelResizeError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
943            crate::operation::cancel_resize::CancelResizeError::Unhandled(inner) => Error::Unhandled(inner),
944        }
945    }
946}
947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError, R>> for Error
948where
949    R: Send + Sync + std::fmt::Debug + 'static,
950{
951    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError, R>) -> Self {
952        match err {
953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
956                source: err.into(),
957            }),
958        }
959    }
960}
961impl From<crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError> for Error {
962    fn from(err: crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError) -> Self {
963        match err {
964            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
965            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::ClusterSnapshotAlreadyExistsFault(inner) => {
966                Error::ClusterSnapshotAlreadyExistsFault(inner)
967            }
968            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
969                Error::ClusterSnapshotNotFoundFault(inner)
970            }
971            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::ClusterSnapshotQuotaExceededFault(inner) => {
972                Error::ClusterSnapshotQuotaExceededFault(inner)
973            }
974            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
975                Error::InvalidClusterSnapshotStateFault(inner)
976            }
977            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::InvalidRetentionPeriodFault(inner) => {
978                Error::InvalidRetentionPeriodFault(inner)
979            }
980            crate::operation::copy_cluster_snapshot::CopyClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
981        }
982    }
983}
984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_authentication_profile::CreateAuthenticationProfileError, R>>
985    for Error
986where
987    R: Send + Sync + std::fmt::Debug + 'static,
988{
989    fn from(
990        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_authentication_profile::CreateAuthenticationProfileError, R>,
991    ) -> Self {
992        match err {
993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
996                source: err.into(),
997            }),
998        }
999    }
1000}
1001impl From<crate::operation::create_authentication_profile::CreateAuthenticationProfileError> for Error {
1002    fn from(err: crate::operation::create_authentication_profile::CreateAuthenticationProfileError) -> Self {
1003        match err {
1004            crate::operation::create_authentication_profile::CreateAuthenticationProfileError::AuthenticationProfileAlreadyExistsFault(inner) => {
1005                Error::AuthenticationProfileAlreadyExistsFault(inner)
1006            }
1007            crate::operation::create_authentication_profile::CreateAuthenticationProfileError::AuthenticationProfileQuotaExceededFault(inner) => {
1008                Error::AuthenticationProfileQuotaExceededFault(inner)
1009            }
1010            crate::operation::create_authentication_profile::CreateAuthenticationProfileError::InvalidAuthenticationProfileRequestFault(inner) => {
1011                Error::InvalidAuthenticationProfileRequestFault(inner)
1012            }
1013            crate::operation::create_authentication_profile::CreateAuthenticationProfileError::Unhandled(inner) => Error::Unhandled(inner),
1014        }
1015    }
1016}
1017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>> for Error
1018where
1019    R: Send + Sync + std::fmt::Debug + 'static,
1020{
1021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>) -> Self {
1022        match err {
1023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1026                source: err.into(),
1027            }),
1028        }
1029    }
1030}
1031impl From<crate::operation::create_cluster::CreateClusterError> for Error {
1032    fn from(err: crate::operation::create_cluster::CreateClusterError) -> Self {
1033        match err {
1034            crate::operation::create_cluster::CreateClusterError::ClusterAlreadyExistsFault(inner) => Error::ClusterAlreadyExistsFault(inner),
1035            crate::operation::create_cluster::CreateClusterError::ClusterParameterGroupNotFoundFault(inner) => {
1036                Error::ClusterParameterGroupNotFoundFault(inner)
1037            }
1038            crate::operation::create_cluster::CreateClusterError::ClusterQuotaExceededFault(inner) => Error::ClusterQuotaExceededFault(inner),
1039            crate::operation::create_cluster::CreateClusterError::ClusterSecurityGroupNotFoundFault(inner) => {
1040                Error::ClusterSecurityGroupNotFoundFault(inner)
1041            }
1042            crate::operation::create_cluster::CreateClusterError::ClusterSubnetGroupNotFoundFault(inner) => {
1043                Error::ClusterSubnetGroupNotFoundFault(inner)
1044            }
1045            crate::operation::create_cluster::CreateClusterError::DependentServiceRequestThrottlingFault(inner) => {
1046                Error::DependentServiceRequestThrottlingFault(inner)
1047            }
1048            crate::operation::create_cluster::CreateClusterError::HsmClientCertificateNotFoundFault(inner) => {
1049                Error::HsmClientCertificateNotFoundFault(inner)
1050            }
1051            crate::operation::create_cluster::CreateClusterError::HsmConfigurationNotFoundFault(inner) => Error::HsmConfigurationNotFoundFault(inner),
1052            crate::operation::create_cluster::CreateClusterError::InsufficientClusterCapacityFault(inner) => {
1053                Error::InsufficientClusterCapacityFault(inner)
1054            }
1055            crate::operation::create_cluster::CreateClusterError::InvalidClusterSubnetGroupStateFault(inner) => {
1056                Error::InvalidClusterSubnetGroupStateFault(inner)
1057            }
1058            crate::operation::create_cluster::CreateClusterError::InvalidClusterTrackFault(inner) => Error::InvalidClusterTrackFault(inner),
1059            crate::operation::create_cluster::CreateClusterError::InvalidElasticIpFault(inner) => Error::InvalidElasticIpFault(inner),
1060            crate::operation::create_cluster::CreateClusterError::InvalidRetentionPeriodFault(inner) => Error::InvalidRetentionPeriodFault(inner),
1061            crate::operation::create_cluster::CreateClusterError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
1062            crate::operation::create_cluster::CreateClusterError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1063            crate::operation::create_cluster::CreateClusterError::InvalidVpcNetworkStateFault(inner) => Error::InvalidVpcNetworkStateFault(inner),
1064            crate::operation::create_cluster::CreateClusterError::Ipv6CidrBlockNotFoundFault(inner) => Error::Ipv6CidrBlockNotFoundFault(inner),
1065            crate::operation::create_cluster::CreateClusterError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
1066            crate::operation::create_cluster::CreateClusterError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
1067                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
1068            }
1069            crate::operation::create_cluster::CreateClusterError::NumberOfNodesQuotaExceededFault(inner) => {
1070                Error::NumberOfNodesQuotaExceededFault(inner)
1071            }
1072            crate::operation::create_cluster::CreateClusterError::RedshiftIdcApplicationNotExistsFault(inner) => {
1073                Error::RedshiftIdcApplicationNotExistsFault(inner)
1074            }
1075            crate::operation::create_cluster::CreateClusterError::SnapshotScheduleNotFoundFault(inner) => Error::SnapshotScheduleNotFoundFault(inner),
1076            crate::operation::create_cluster::CreateClusterError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner),
1077            crate::operation::create_cluster::CreateClusterError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
1078            crate::operation::create_cluster::CreateClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
1079            crate::operation::create_cluster::CreateClusterError::Unhandled(inner) => Error::Unhandled(inner),
1080        }
1081    }
1082}
1083impl<R>
1084    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError, R>>
1085    for Error
1086where
1087    R: Send + Sync + std::fmt::Debug + 'static,
1088{
1089    fn from(
1090        err: ::aws_smithy_runtime_api::client::result::SdkError<
1091            crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError,
1092            R,
1093        >,
1094    ) -> Self {
1095        match err {
1096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1099                source: err.into(),
1100            }),
1101        }
1102    }
1103}
1104impl From<crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError> for Error {
1105    fn from(err: crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError) -> Self {
1106        match err {
1107            crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError::ClusterParameterGroupAlreadyExistsFault(inner) => {
1108                Error::ClusterParameterGroupAlreadyExistsFault(inner)
1109            }
1110            crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError::ClusterParameterGroupQuotaExceededFault(inner) => {
1111                Error::ClusterParameterGroupQuotaExceededFault(inner)
1112            }
1113            crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError::InvalidTagFault(inner) => {
1114                Error::InvalidTagFault(inner)
1115            }
1116            crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError::TagLimitExceededFault(inner) => {
1117                Error::TagLimitExceededFault(inner)
1118            }
1119            crate::operation::create_cluster_parameter_group::CreateClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError, R>>
1124    for Error
1125where
1126    R: Send + Sync + std::fmt::Debug + 'static,
1127{
1128    fn from(
1129        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError, R>,
1130    ) -> Self {
1131        match err {
1132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1135                source: err.into(),
1136            }),
1137        }
1138    }
1139}
1140impl From<crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError> for Error {
1141    fn from(err: crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError) -> Self {
1142        match err {
1143            crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError::ClusterSecurityGroupAlreadyExistsFault(inner) => {
1144                Error::ClusterSecurityGroupAlreadyExistsFault(inner)
1145            }
1146            crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError::ClusterSecurityGroupQuotaExceededFault(inner) => {
1147                Error::ClusterSecurityGroupQuotaExceededFault(inner)
1148            }
1149            crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1150            crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError::TagLimitExceededFault(inner) => {
1151                Error::TagLimitExceededFault(inner)
1152            }
1153            crate::operation::create_cluster_security_group::CreateClusterSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
1154        }
1155    }
1156}
1157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_snapshot::CreateClusterSnapshotError, R>> for Error
1158where
1159    R: Send + Sync + std::fmt::Debug + 'static,
1160{
1161    fn from(
1162        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_snapshot::CreateClusterSnapshotError, R>,
1163    ) -> Self {
1164        match err {
1165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1168                source: err.into(),
1169            }),
1170        }
1171    }
1172}
1173impl From<crate::operation::create_cluster_snapshot::CreateClusterSnapshotError> for Error {
1174    fn from(err: crate::operation::create_cluster_snapshot::CreateClusterSnapshotError) -> Self {
1175        match err {
1176            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1177            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::ClusterSnapshotAlreadyExistsFault(inner) => {
1178                Error::ClusterSnapshotAlreadyExistsFault(inner)
1179            }
1180            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::ClusterSnapshotQuotaExceededFault(inner) => {
1181                Error::ClusterSnapshotQuotaExceededFault(inner)
1182            }
1183            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::InvalidClusterStateFault(inner) => {
1184                Error::InvalidClusterStateFault(inner)
1185            }
1186            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::InvalidRetentionPeriodFault(inner) => {
1187                Error::InvalidRetentionPeriodFault(inner)
1188            }
1189            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1190            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::TagLimitExceededFault(inner) => {
1191                Error::TagLimitExceededFault(inner)
1192            }
1193            crate::operation::create_cluster_snapshot::CreateClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1194        }
1195    }
1196}
1197impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError, R>>
1198    for Error
1199where
1200    R: Send + Sync + std::fmt::Debug + 'static,
1201{
1202    fn from(
1203        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError, R>,
1204    ) -> Self {
1205        match err {
1206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1209                source: err.into(),
1210            }),
1211        }
1212    }
1213}
1214impl From<crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError> for Error {
1215    fn from(err: crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError) -> Self {
1216        match err {
1217            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::ClusterSubnetGroupAlreadyExistsFault(inner) => {
1218                Error::ClusterSubnetGroupAlreadyExistsFault(inner)
1219            }
1220            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::ClusterSubnetGroupQuotaExceededFault(inner) => {
1221                Error::ClusterSubnetGroupQuotaExceededFault(inner)
1222            }
1223            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::ClusterSubnetQuotaExceededFault(inner) => {
1224                Error::ClusterSubnetQuotaExceededFault(inner)
1225            }
1226            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::DependentServiceRequestThrottlingFault(inner) => {
1227                Error::DependentServiceRequestThrottlingFault(inner)
1228            }
1229            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
1230            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1231            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::TagLimitExceededFault(inner) => {
1232                Error::TagLimitExceededFault(inner)
1233            }
1234            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::UnauthorizedOperation(inner) => {
1235                Error::UnauthorizedOperation(inner)
1236            }
1237            crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
1238        }
1239    }
1240}
1241impl<R>
1242    From<
1243        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError, R>,
1244    > for Error
1245where
1246    R: Send + Sync + std::fmt::Debug + 'static,
1247{
1248    fn from(
1249        err: ::aws_smithy_runtime_api::client::result::SdkError<
1250            crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError,
1251            R,
1252        >,
1253    ) -> Self {
1254        match err {
1255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1258                source: err.into(),
1259            }),
1260        }
1261    }
1262}
1263impl From<crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError> for Error {
1264    fn from(err: crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError) -> Self {
1265        match err {
1266            crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError::ClusterNotFoundFault(inner) => {
1267                Error::ClusterNotFoundFault(inner)
1268            }
1269            crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError::CustomCnameAssociationFault(inner) => {
1270                Error::CustomCnameAssociationFault(inner)
1271            }
1272            crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError::UnsupportedOperationFault(inner) => {
1273                Error::UnsupportedOperationFault(inner)
1274            }
1275            crate::operation::create_custom_domain_association::CreateCustomDomainAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1276        }
1277    }
1278}
1279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_access::CreateEndpointAccessError, R>> for Error
1280where
1281    R: Send + Sync + std::fmt::Debug + 'static,
1282{
1283    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_access::CreateEndpointAccessError, R>) -> Self {
1284        match err {
1285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1288                source: err.into(),
1289            }),
1290        }
1291    }
1292}
1293impl From<crate::operation::create_endpoint_access::CreateEndpointAccessError> for Error {
1294    fn from(err: crate::operation::create_endpoint_access::CreateEndpointAccessError) -> Self {
1295        match err {
1296            crate::operation::create_endpoint_access::CreateEndpointAccessError::AccessToClusterDeniedFault(inner) => {
1297                Error::AccessToClusterDeniedFault(inner)
1298            }
1299            crate::operation::create_endpoint_access::CreateEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1300            crate::operation::create_endpoint_access::CreateEndpointAccessError::ClusterSubnetGroupNotFoundFault(inner) => {
1301                Error::ClusterSubnetGroupNotFoundFault(inner)
1302            }
1303            crate::operation::create_endpoint_access::CreateEndpointAccessError::EndpointAlreadyExistsFault(inner) => {
1304                Error::EndpointAlreadyExistsFault(inner)
1305            }
1306            crate::operation::create_endpoint_access::CreateEndpointAccessError::EndpointsPerAuthorizationLimitExceededFault(inner) => {
1307                Error::EndpointsPerAuthorizationLimitExceededFault(inner)
1308            }
1309            crate::operation::create_endpoint_access::CreateEndpointAccessError::EndpointsPerClusterLimitExceededFault(inner) => {
1310                Error::EndpointsPerClusterLimitExceededFault(inner)
1311            }
1312            crate::operation::create_endpoint_access::CreateEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
1313                Error::InvalidClusterSecurityGroupStateFault(inner)
1314            }
1315            crate::operation::create_endpoint_access::CreateEndpointAccessError::InvalidClusterStateFault(inner) => {
1316                Error::InvalidClusterStateFault(inner)
1317            }
1318            crate::operation::create_endpoint_access::CreateEndpointAccessError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
1319            crate::operation::create_endpoint_access::CreateEndpointAccessError::UnsupportedOperationFault(inner) => {
1320                Error::UnsupportedOperationFault(inner)
1321            }
1322            crate::operation::create_endpoint_access::CreateEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
1323        }
1324    }
1325}
1326impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_event_subscription::CreateEventSubscriptionError, R>>
1327    for Error
1328where
1329    R: Send + Sync + std::fmt::Debug + 'static,
1330{
1331    fn from(
1332        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_event_subscription::CreateEventSubscriptionError, R>,
1333    ) -> Self {
1334        match err {
1335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1338                source: err.into(),
1339            }),
1340        }
1341    }
1342}
1343impl From<crate::operation::create_event_subscription::CreateEventSubscriptionError> for Error {
1344    fn from(err: crate::operation::create_event_subscription::CreateEventSubscriptionError) -> Self {
1345        match err {
1346            crate::operation::create_event_subscription::CreateEventSubscriptionError::EventSubscriptionQuotaExceededFault(inner) => {
1347                Error::EventSubscriptionQuotaExceededFault(inner)
1348            }
1349            crate::operation::create_event_subscription::CreateEventSubscriptionError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1350            crate::operation::create_event_subscription::CreateEventSubscriptionError::SnsInvalidTopicFault(inner) => {
1351                Error::SnsInvalidTopicFault(inner)
1352            }
1353            crate::operation::create_event_subscription::CreateEventSubscriptionError::SnsNoAuthorizationFault(inner) => {
1354                Error::SnsNoAuthorizationFault(inner)
1355            }
1356            crate::operation::create_event_subscription::CreateEventSubscriptionError::SnsTopicArnNotFoundFault(inner) => {
1357                Error::SnsTopicArnNotFoundFault(inner)
1358            }
1359            crate::operation::create_event_subscription::CreateEventSubscriptionError::SourceNotFoundFault(inner) => {
1360                Error::SourceNotFoundFault(inner)
1361            }
1362            crate::operation::create_event_subscription::CreateEventSubscriptionError::SubscriptionAlreadyExistFault(inner) => {
1363                Error::SubscriptionAlreadyExistFault(inner)
1364            }
1365            crate::operation::create_event_subscription::CreateEventSubscriptionError::SubscriptionCategoryNotFoundFault(inner) => {
1366                Error::SubscriptionCategoryNotFoundFault(inner)
1367            }
1368            crate::operation::create_event_subscription::CreateEventSubscriptionError::SubscriptionEventIdNotFoundFault(inner) => {
1369                Error::SubscriptionEventIdNotFoundFault(inner)
1370            }
1371            crate::operation::create_event_subscription::CreateEventSubscriptionError::SubscriptionSeverityNotFoundFault(inner) => {
1372                Error::SubscriptionSeverityNotFoundFault(inner)
1373            }
1374            crate::operation::create_event_subscription::CreateEventSubscriptionError::TagLimitExceededFault(inner) => {
1375                Error::TagLimitExceededFault(inner)
1376            }
1377            crate::operation::create_event_subscription::CreateEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
1378        }
1379    }
1380}
1381impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError, R>>
1382    for Error
1383where
1384    R: Send + Sync + std::fmt::Debug + 'static,
1385{
1386    fn from(
1387        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError, R>,
1388    ) -> Self {
1389        match err {
1390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1393                source: err.into(),
1394            }),
1395        }
1396    }
1397}
1398impl From<crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError> for Error {
1399    fn from(err: crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError) -> Self {
1400        match err {
1401            crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError::HsmClientCertificateAlreadyExistsFault(inner) => {
1402                Error::HsmClientCertificateAlreadyExistsFault(inner)
1403            }
1404            crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError::HsmClientCertificateQuotaExceededFault(inner) => {
1405                Error::HsmClientCertificateQuotaExceededFault(inner)
1406            }
1407            crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1408            crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError::TagLimitExceededFault(inner) => {
1409                Error::TagLimitExceededFault(inner)
1410            }
1411            crate::operation::create_hsm_client_certificate::CreateHsmClientCertificateError::Unhandled(inner) => Error::Unhandled(inner),
1412        }
1413    }
1414}
1415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hsm_configuration::CreateHsmConfigurationError, R>> for Error
1416where
1417    R: Send + Sync + std::fmt::Debug + 'static,
1418{
1419    fn from(
1420        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hsm_configuration::CreateHsmConfigurationError, R>,
1421    ) -> Self {
1422        match err {
1423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1426                source: err.into(),
1427            }),
1428        }
1429    }
1430}
1431impl From<crate::operation::create_hsm_configuration::CreateHsmConfigurationError> for Error {
1432    fn from(err: crate::operation::create_hsm_configuration::CreateHsmConfigurationError) -> Self {
1433        match err {
1434            crate::operation::create_hsm_configuration::CreateHsmConfigurationError::HsmConfigurationAlreadyExistsFault(inner) => {
1435                Error::HsmConfigurationAlreadyExistsFault(inner)
1436            }
1437            crate::operation::create_hsm_configuration::CreateHsmConfigurationError::HsmConfigurationQuotaExceededFault(inner) => {
1438                Error::HsmConfigurationQuotaExceededFault(inner)
1439            }
1440            crate::operation::create_hsm_configuration::CreateHsmConfigurationError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1441            crate::operation::create_hsm_configuration::CreateHsmConfigurationError::TagLimitExceededFault(inner) => {
1442                Error::TagLimitExceededFault(inner)
1443            }
1444            crate::operation::create_hsm_configuration::CreateHsmConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1445        }
1446    }
1447}
1448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1449where
1450    R: Send + Sync + std::fmt::Debug + 'static,
1451{
1452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1453        match err {
1454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1457                source: err.into(),
1458            }),
1459        }
1460    }
1461}
1462impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1463    fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1464        match err {
1465            crate::operation::create_integration::CreateIntegrationError::IntegrationAlreadyExistsFault(inner) => {
1466                Error::IntegrationAlreadyExistsFault(inner)
1467            }
1468            crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1469                Error::IntegrationConflictOperationFault(inner)
1470            }
1471            crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1472                Error::IntegrationQuotaExceededFault(inner)
1473            }
1474            crate::operation::create_integration::CreateIntegrationError::IntegrationSourceNotFoundFault(inner) => {
1475                Error::IntegrationSourceNotFoundFault(inner)
1476            }
1477            crate::operation::create_integration::CreateIntegrationError::IntegrationTargetNotFoundFault(inner) => {
1478                Error::IntegrationTargetNotFoundFault(inner)
1479            }
1480            crate::operation::create_integration::CreateIntegrationError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1481            crate::operation::create_integration::CreateIntegrationError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1482            crate::operation::create_integration::CreateIntegrationError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner),
1483            crate::operation::create_integration::CreateIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
1484            crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1485        }
1486    }
1487}
1488impl<R>
1489    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError, R>>
1490    for Error
1491where
1492    R: Send + Sync + std::fmt::Debug + 'static,
1493{
1494    fn from(
1495        err: ::aws_smithy_runtime_api::client::result::SdkError<
1496            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError,
1497            R,
1498        >,
1499    ) -> Self {
1500        match err {
1501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1504                source: err.into(),
1505            }),
1506        }
1507    }
1508}
1509impl From<crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError> for Error {
1510    fn from(err: crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError) -> Self {
1511        match err {
1512            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::DependentServiceAccessDeniedFault(inner) => {
1513                Error::DependentServiceAccessDeniedFault(inner)
1514            }
1515            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::DependentServiceUnavailableFault(inner) => {
1516                Error::DependentServiceUnavailableFault(inner)
1517            }
1518            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::RedshiftIdcApplicationAlreadyExistsFault(inner) => {
1519                Error::RedshiftIdcApplicationAlreadyExistsFault(inner)
1520            }
1521            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::RedshiftIdcApplicationQuotaExceededFault(inner) => {
1522                Error::RedshiftIdcApplicationQuotaExceededFault(inner)
1523            }
1524            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::UnsupportedOperationFault(inner) => {
1525                Error::UnsupportedOperationFault(inner)
1526            }
1527            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::Unhandled(inner) => Error::Unhandled(inner),
1528        }
1529    }
1530}
1531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_scheduled_action::CreateScheduledActionError, R>> for Error
1532where
1533    R: Send + Sync + std::fmt::Debug + 'static,
1534{
1535    fn from(
1536        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_scheduled_action::CreateScheduledActionError, R>,
1537    ) -> Self {
1538        match err {
1539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1542                source: err.into(),
1543            }),
1544        }
1545    }
1546}
1547impl From<crate::operation::create_scheduled_action::CreateScheduledActionError> for Error {
1548    fn from(err: crate::operation::create_scheduled_action::CreateScheduledActionError) -> Self {
1549        match err {
1550            crate::operation::create_scheduled_action::CreateScheduledActionError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1551            crate::operation::create_scheduled_action::CreateScheduledActionError::InvalidScheduledActionFault(inner) => {
1552                Error::InvalidScheduledActionFault(inner)
1553            }
1554            crate::operation::create_scheduled_action::CreateScheduledActionError::InvalidScheduleFault(inner) => Error::InvalidScheduleFault(inner),
1555            crate::operation::create_scheduled_action::CreateScheduledActionError::ScheduledActionAlreadyExistsFault(inner) => {
1556                Error::ScheduledActionAlreadyExistsFault(inner)
1557            }
1558            crate::operation::create_scheduled_action::CreateScheduledActionError::ScheduledActionQuotaExceededFault(inner) => {
1559                Error::ScheduledActionQuotaExceededFault(inner)
1560            }
1561            crate::operation::create_scheduled_action::CreateScheduledActionError::ScheduledActionTypeUnsupportedFault(inner) => {
1562                Error::ScheduledActionTypeUnsupportedFault(inner)
1563            }
1564            crate::operation::create_scheduled_action::CreateScheduledActionError::UnauthorizedOperation(inner) => {
1565                Error::UnauthorizedOperation(inner)
1566            }
1567            crate::operation::create_scheduled_action::CreateScheduledActionError::UnsupportedOperationFault(inner) => {
1568                Error::UnsupportedOperationFault(inner)
1569            }
1570            crate::operation::create_scheduled_action::CreateScheduledActionError::Unhandled(inner) => Error::Unhandled(inner),
1571        }
1572    }
1573}
1574impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError, R>>
1575    for Error
1576where
1577    R: Send + Sync + std::fmt::Debug + 'static,
1578{
1579    fn from(
1580        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError, R>,
1581    ) -> Self {
1582        match err {
1583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1586                source: err.into(),
1587            }),
1588        }
1589    }
1590}
1591impl From<crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError> for Error {
1592    fn from(err: crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError) -> Self {
1593        match err {
1594            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::DependentServiceRequestThrottlingFault(inner) => {
1595                Error::DependentServiceRequestThrottlingFault(inner)
1596            }
1597            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1598            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
1599            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::SnapshotCopyGrantAlreadyExistsFault(inner) => {
1600                Error::SnapshotCopyGrantAlreadyExistsFault(inner)
1601            }
1602            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::SnapshotCopyGrantQuotaExceededFault(inner) => {
1603                Error::SnapshotCopyGrantQuotaExceededFault(inner)
1604            }
1605            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::TagLimitExceededFault(inner) => {
1606                Error::TagLimitExceededFault(inner)
1607            }
1608            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError, R>> for Error
1613where
1614    R: Send + Sync + std::fmt::Debug + 'static,
1615{
1616    fn from(
1617        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError, R>,
1618    ) -> Self {
1619        match err {
1620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1623                source: err.into(),
1624            }),
1625        }
1626    }
1627}
1628impl From<crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError> for Error {
1629    fn from(err: crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError) -> Self {
1630        match err {
1631            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::InvalidScheduleFault(inner) => {
1632                Error::InvalidScheduleFault(inner)
1633            }
1634            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1635            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::ScheduleDefinitionTypeUnsupportedFault(inner) => {
1636                Error::ScheduleDefinitionTypeUnsupportedFault(inner)
1637            }
1638            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::SnapshotScheduleAlreadyExistsFault(inner) => {
1639                Error::SnapshotScheduleAlreadyExistsFault(inner)
1640            }
1641            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::SnapshotScheduleQuotaExceededFault(inner) => {
1642                Error::SnapshotScheduleQuotaExceededFault(inner)
1643            }
1644            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::TagLimitExceededFault(inner) => {
1645                Error::TagLimitExceededFault(inner)
1646            }
1647            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
1648        }
1649    }
1650}
1651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
1652where
1653    R: Send + Sync + std::fmt::Debug + 'static,
1654{
1655    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
1656        match err {
1657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1660                source: err.into(),
1661            }),
1662        }
1663    }
1664}
1665impl From<crate::operation::create_tags::CreateTagsError> for Error {
1666    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
1667        match err {
1668            crate::operation::create_tags::CreateTagsError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1669            crate::operation::create_tags::CreateTagsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1670            crate::operation::create_tags::CreateTagsError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
1671            crate::operation::create_tags::CreateTagsError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner),
1672            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
1673        }
1674    }
1675}
1676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_limit::CreateUsageLimitError, R>> for Error
1677where
1678    R: Send + Sync + std::fmt::Debug + 'static,
1679{
1680    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_limit::CreateUsageLimitError, R>) -> Self {
1681        match err {
1682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1685                source: err.into(),
1686            }),
1687        }
1688    }
1689}
1690impl From<crate::operation::create_usage_limit::CreateUsageLimitError> for Error {
1691    fn from(err: crate::operation::create_usage_limit::CreateUsageLimitError) -> Self {
1692        match err {
1693            crate::operation::create_usage_limit::CreateUsageLimitError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1694            crate::operation::create_usage_limit::CreateUsageLimitError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1695            crate::operation::create_usage_limit::CreateUsageLimitError::InvalidUsageLimitFault(inner) => Error::InvalidUsageLimitFault(inner),
1696            crate::operation::create_usage_limit::CreateUsageLimitError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
1697            crate::operation::create_usage_limit::CreateUsageLimitError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner),
1698            crate::operation::create_usage_limit::CreateUsageLimitError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
1699            crate::operation::create_usage_limit::CreateUsageLimitError::UsageLimitAlreadyExistsFault(inner) => {
1700                Error::UsageLimitAlreadyExistsFault(inner)
1701            }
1702            crate::operation::create_usage_limit::CreateUsageLimitError::Unhandled(inner) => Error::Unhandled(inner),
1703        }
1704    }
1705}
1706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deauthorize_data_share::DeauthorizeDataShareError, R>> for Error
1707where
1708    R: Send + Sync + std::fmt::Debug + 'static,
1709{
1710    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deauthorize_data_share::DeauthorizeDataShareError, R>) -> Self {
1711        match err {
1712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1715                source: err.into(),
1716            }),
1717        }
1718    }
1719}
1720impl From<crate::operation::deauthorize_data_share::DeauthorizeDataShareError> for Error {
1721    fn from(err: crate::operation::deauthorize_data_share::DeauthorizeDataShareError) -> Self {
1722        match err {
1723            crate::operation::deauthorize_data_share::DeauthorizeDataShareError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
1724            crate::operation::deauthorize_data_share::DeauthorizeDataShareError::Unhandled(inner) => Error::Unhandled(inner),
1725        }
1726    }
1727}
1728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError, R>>
1729    for Error
1730where
1731    R: Send + Sync + std::fmt::Debug + 'static,
1732{
1733    fn from(
1734        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError, R>,
1735    ) -> Self {
1736        match err {
1737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1740                source: err.into(),
1741            }),
1742        }
1743    }
1744}
1745impl From<crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError> for Error {
1746    fn from(err: crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError) -> Self {
1747        match err {
1748            crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError::AuthenticationProfileNotFoundFault(inner) => {
1749                Error::AuthenticationProfileNotFoundFault(inner)
1750            }
1751            crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError::InvalidAuthenticationProfileRequestFault(inner) => {
1752                Error::InvalidAuthenticationProfileRequestFault(inner)
1753            }
1754            crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError::Unhandled(inner) => Error::Unhandled(inner),
1755        }
1756    }
1757}
1758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
1759where
1760    R: Send + Sync + std::fmt::Debug + 'static,
1761{
1762    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
1763        match err {
1764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1767                source: err.into(),
1768            }),
1769        }
1770    }
1771}
1772impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
1773    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
1774        match err {
1775            crate::operation::delete_cluster::DeleteClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1776            crate::operation::delete_cluster::DeleteClusterError::ClusterSnapshotAlreadyExistsFault(inner) => {
1777                Error::ClusterSnapshotAlreadyExistsFault(inner)
1778            }
1779            crate::operation::delete_cluster::DeleteClusterError::ClusterSnapshotQuotaExceededFault(inner) => {
1780                Error::ClusterSnapshotQuotaExceededFault(inner)
1781            }
1782            crate::operation::delete_cluster::DeleteClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1783            crate::operation::delete_cluster::DeleteClusterError::InvalidRetentionPeriodFault(inner) => Error::InvalidRetentionPeriodFault(inner),
1784            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
1785        }
1786    }
1787}
1788impl<R>
1789    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError, R>>
1790    for Error
1791where
1792    R: Send + Sync + std::fmt::Debug + 'static,
1793{
1794    fn from(
1795        err: ::aws_smithy_runtime_api::client::result::SdkError<
1796            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError,
1797            R,
1798        >,
1799    ) -> Self {
1800        match err {
1801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1804                source: err.into(),
1805            }),
1806        }
1807    }
1808}
1809impl From<crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError> for Error {
1810    fn from(err: crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError) -> Self {
1811        match err {
1812            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError::ClusterParameterGroupNotFoundFault(inner) => {
1813                Error::ClusterParameterGroupNotFoundFault(inner)
1814            }
1815            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError::InvalidClusterParameterGroupStateFault(inner) => {
1816                Error::InvalidClusterParameterGroupStateFault(inner)
1817            }
1818            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
1819        }
1820    }
1821}
1822impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError, R>>
1823    for Error
1824where
1825    R: Send + Sync + std::fmt::Debug + 'static,
1826{
1827    fn from(
1828        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError, R>,
1829    ) -> Self {
1830        match err {
1831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1834                source: err.into(),
1835            }),
1836        }
1837    }
1838}
1839impl From<crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError> for Error {
1840    fn from(err: crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError) -> Self {
1841        match err {
1842            crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError::ClusterSecurityGroupNotFoundFault(inner) => {
1843                Error::ClusterSecurityGroupNotFoundFault(inner)
1844            }
1845            crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError::InvalidClusterSecurityGroupStateFault(inner) => {
1846                Error::InvalidClusterSecurityGroupStateFault(inner)
1847            }
1848            crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
1849        }
1850    }
1851}
1852impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError, R>> for Error
1853where
1854    R: Send + Sync + std::fmt::Debug + 'static,
1855{
1856    fn from(
1857        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError, R>,
1858    ) -> Self {
1859        match err {
1860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1863                source: err.into(),
1864            }),
1865        }
1866    }
1867}
1868impl From<crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError> for Error {
1869    fn from(err: crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError) -> Self {
1870        match err {
1871            crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
1872                Error::ClusterSnapshotNotFoundFault(inner)
1873            }
1874            crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
1875                Error::InvalidClusterSnapshotStateFault(inner)
1876            }
1877            crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1878        }
1879    }
1880}
1881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError, R>>
1882    for Error
1883where
1884    R: Send + Sync + std::fmt::Debug + 'static,
1885{
1886    fn from(
1887        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError, R>,
1888    ) -> Self {
1889        match err {
1890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1893                source: err.into(),
1894            }),
1895        }
1896    }
1897}
1898impl From<crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError> for Error {
1899    fn from(err: crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError) -> Self {
1900        match err {
1901            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::ClusterSubnetGroupNotFoundFault(inner) => {
1902                Error::ClusterSubnetGroupNotFoundFault(inner)
1903            }
1904            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::InvalidClusterSubnetGroupStateFault(inner) => {
1905                Error::InvalidClusterSubnetGroupStateFault(inner)
1906            }
1907            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::InvalidClusterSubnetStateFault(inner) => {
1908                Error::InvalidClusterSubnetStateFault(inner)
1909            }
1910            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
1911        }
1912    }
1913}
1914impl<R>
1915    From<
1916        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError, R>,
1917    > for Error
1918where
1919    R: Send + Sync + std::fmt::Debug + 'static,
1920{
1921    fn from(
1922        err: ::aws_smithy_runtime_api::client::result::SdkError<
1923            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError,
1924            R,
1925        >,
1926    ) -> Self {
1927        match err {
1928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1931                source: err.into(),
1932            }),
1933        }
1934    }
1935}
1936impl From<crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError> for Error {
1937    fn from(err: crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError) -> Self {
1938        match err {
1939            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::ClusterNotFoundFault(inner) => {
1940                Error::ClusterNotFoundFault(inner)
1941            }
1942            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::CustomCnameAssociationFault(inner) => {
1943                Error::CustomCnameAssociationFault(inner)
1944            }
1945            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::CustomDomainAssociationNotFoundFault(inner) => {
1946                Error::CustomDomainAssociationNotFoundFault(inner)
1947            }
1948            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::UnsupportedOperationFault(inner) => {
1949                Error::UnsupportedOperationFault(inner)
1950            }
1951            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1952        }
1953    }
1954}
1955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_access::DeleteEndpointAccessError, R>> for Error
1956where
1957    R: Send + Sync + std::fmt::Debug + 'static,
1958{
1959    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_access::DeleteEndpointAccessError, R>) -> Self {
1960        match err {
1961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1964                source: err.into(),
1965            }),
1966        }
1967    }
1968}
1969impl From<crate::operation::delete_endpoint_access::DeleteEndpointAccessError> for Error {
1970    fn from(err: crate::operation::delete_endpoint_access::DeleteEndpointAccessError) -> Self {
1971        match err {
1972            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1973            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::EndpointNotFoundFault(inner) => Error::EndpointNotFoundFault(inner),
1974            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
1975                Error::InvalidClusterSecurityGroupStateFault(inner)
1976            }
1977            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::InvalidClusterStateFault(inner) => {
1978                Error::InvalidClusterStateFault(inner)
1979            }
1980            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::InvalidEndpointStateFault(inner) => {
1981                Error::InvalidEndpointStateFault(inner)
1982            }
1983            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
1984        }
1985    }
1986}
1987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_event_subscription::DeleteEventSubscriptionError, R>>
1988    for Error
1989where
1990    R: Send + Sync + std::fmt::Debug + 'static,
1991{
1992    fn from(
1993        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_event_subscription::DeleteEventSubscriptionError, R>,
1994    ) -> Self {
1995        match err {
1996            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1997            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1998                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1999                source: err.into(),
2000            }),
2001        }
2002    }
2003}
2004impl From<crate::operation::delete_event_subscription::DeleteEventSubscriptionError> for Error {
2005    fn from(err: crate::operation::delete_event_subscription::DeleteEventSubscriptionError) -> Self {
2006        match err {
2007            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::InvalidSubscriptionStateFault(inner) => {
2008                Error::InvalidSubscriptionStateFault(inner)
2009            }
2010            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::SubscriptionNotFoundFault(inner) => {
2011                Error::SubscriptionNotFoundFault(inner)
2012            }
2013            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
2014        }
2015    }
2016}
2017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError, R>>
2018    for Error
2019where
2020    R: Send + Sync + std::fmt::Debug + 'static,
2021{
2022    fn from(
2023        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError, R>,
2024    ) -> Self {
2025        match err {
2026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2029                source: err.into(),
2030            }),
2031        }
2032    }
2033}
2034impl From<crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError> for Error {
2035    fn from(err: crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError) -> Self {
2036        match err {
2037            crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError::HsmClientCertificateNotFoundFault(inner) => {
2038                Error::HsmClientCertificateNotFoundFault(inner)
2039            }
2040            crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError::InvalidHsmClientCertificateStateFault(inner) => {
2041                Error::InvalidHsmClientCertificateStateFault(inner)
2042            }
2043            crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError::Unhandled(inner) => Error::Unhandled(inner),
2044        }
2045    }
2046}
2047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError, R>> for Error
2048where
2049    R: Send + Sync + std::fmt::Debug + 'static,
2050{
2051    fn from(
2052        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError, R>,
2053    ) -> Self {
2054        match err {
2055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2058                source: err.into(),
2059            }),
2060        }
2061    }
2062}
2063impl From<crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError> for Error {
2064    fn from(err: crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError) -> Self {
2065        match err {
2066            crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError::HsmConfigurationNotFoundFault(inner) => {
2067                Error::HsmConfigurationNotFoundFault(inner)
2068            }
2069            crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError::InvalidHsmConfigurationStateFault(inner) => {
2070                Error::InvalidHsmConfigurationStateFault(inner)
2071            }
2072            crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2073        }
2074    }
2075}
2076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2077where
2078    R: Send + Sync + std::fmt::Debug + 'static,
2079{
2080    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2081        match err {
2082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2085                source: err.into(),
2086            }),
2087        }
2088    }
2089}
2090impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2091    fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2092        match err {
2093            crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2094                Error::IntegrationConflictOperationFault(inner)
2095            }
2096            crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictStateFault(inner) => {
2097                Error::IntegrationConflictStateFault(inner)
2098            }
2099            crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2100            crate::operation::delete_integration::DeleteIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
2101            crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2102        }
2103    }
2104}
2105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner::DeletePartnerError, R>> for Error
2106where
2107    R: Send + Sync + std::fmt::Debug + 'static,
2108{
2109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner::DeletePartnerError, R>) -> Self {
2110        match err {
2111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2114                source: err.into(),
2115            }),
2116        }
2117    }
2118}
2119impl From<crate::operation::delete_partner::DeletePartnerError> for Error {
2120    fn from(err: crate::operation::delete_partner::DeletePartnerError) -> Self {
2121        match err {
2122            crate::operation::delete_partner::DeletePartnerError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
2123            crate::operation::delete_partner::DeletePartnerError::PartnerNotFoundFault(inner) => Error::PartnerNotFoundFault(inner),
2124            crate::operation::delete_partner::DeletePartnerError::UnauthorizedPartnerIntegrationFault(inner) => {
2125                Error::UnauthorizedPartnerIntegrationFault(inner)
2126            }
2127            crate::operation::delete_partner::DeletePartnerError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
2128            crate::operation::delete_partner::DeletePartnerError::Unhandled(inner) => Error::Unhandled(inner),
2129        }
2130    }
2131}
2132impl<R>
2133    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError, R>>
2134    for Error
2135where
2136    R: Send + Sync + std::fmt::Debug + 'static,
2137{
2138    fn from(
2139        err: ::aws_smithy_runtime_api::client::result::SdkError<
2140            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError,
2141            R,
2142        >,
2143    ) -> Self {
2144        match err {
2145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2148                source: err.into(),
2149            }),
2150        }
2151    }
2152}
2153impl From<crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError> for Error {
2154    fn from(err: crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError) -> Self {
2155        match err {
2156            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::DependentServiceAccessDeniedFault(inner) => {
2157                Error::DependentServiceAccessDeniedFault(inner)
2158            }
2159            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::DependentServiceUnavailableFault(inner) => {
2160                Error::DependentServiceUnavailableFault(inner)
2161            }
2162            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::RedshiftIdcApplicationNotExistsFault(inner) => {
2163                Error::RedshiftIdcApplicationNotExistsFault(inner)
2164            }
2165            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::UnsupportedOperationFault(inner) => {
2166                Error::UnsupportedOperationFault(inner)
2167            }
2168            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::Unhandled(inner) => Error::Unhandled(inner),
2169        }
2170    }
2171}
2172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
2173where
2174    R: Send + Sync + std::fmt::Debug + 'static,
2175{
2176    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
2177        match err {
2178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2181                source: err.into(),
2182            }),
2183        }
2184    }
2185}
2186impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
2187    fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
2188        match err {
2189            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
2190            crate::operation::delete_resource_policy::DeleteResourcePolicyError::UnsupportedOperationFault(inner) => {
2191                Error::UnsupportedOperationFault(inner)
2192            }
2193            crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2194        }
2195    }
2196}
2197impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_scheduled_action::DeleteScheduledActionError, R>> for Error
2198where
2199    R: Send + Sync + std::fmt::Debug + 'static,
2200{
2201    fn from(
2202        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_scheduled_action::DeleteScheduledActionError, R>,
2203    ) -> Self {
2204        match err {
2205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2208                source: err.into(),
2209            }),
2210        }
2211    }
2212}
2213impl From<crate::operation::delete_scheduled_action::DeleteScheduledActionError> for Error {
2214    fn from(err: crate::operation::delete_scheduled_action::DeleteScheduledActionError) -> Self {
2215        match err {
2216            crate::operation::delete_scheduled_action::DeleteScheduledActionError::ScheduledActionNotFoundFault(inner) => {
2217                Error::ScheduledActionNotFoundFault(inner)
2218            }
2219            crate::operation::delete_scheduled_action::DeleteScheduledActionError::UnauthorizedOperation(inner) => {
2220                Error::UnauthorizedOperation(inner)
2221            }
2222            crate::operation::delete_scheduled_action::DeleteScheduledActionError::Unhandled(inner) => Error::Unhandled(inner),
2223        }
2224    }
2225}
2226impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError, R>>
2227    for Error
2228where
2229    R: Send + Sync + std::fmt::Debug + 'static,
2230{
2231    fn from(
2232        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError, R>,
2233    ) -> Self {
2234        match err {
2235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2238                source: err.into(),
2239            }),
2240        }
2241    }
2242}
2243impl From<crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError> for Error {
2244    fn from(err: crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError) -> Self {
2245        match err {
2246            crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError::InvalidSnapshotCopyGrantStateFault(inner) => {
2247                Error::InvalidSnapshotCopyGrantStateFault(inner)
2248            }
2249            crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError::SnapshotCopyGrantNotFoundFault(inner) => {
2250                Error::SnapshotCopyGrantNotFoundFault(inner)
2251            }
2252            crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError::Unhandled(inner) => Error::Unhandled(inner),
2253        }
2254    }
2255}
2256impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError, R>> for Error
2257where
2258    R: Send + Sync + std::fmt::Debug + 'static,
2259{
2260    fn from(
2261        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError, R>,
2262    ) -> Self {
2263        match err {
2264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2267                source: err.into(),
2268            }),
2269        }
2270    }
2271}
2272impl From<crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError> for Error {
2273    fn from(err: crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError) -> Self {
2274        match err {
2275            crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError::InvalidClusterSnapshotScheduleStateFault(inner) => {
2276                Error::InvalidClusterSnapshotScheduleStateFault(inner)
2277            }
2278            crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError::SnapshotScheduleNotFoundFault(inner) => {
2279                Error::SnapshotScheduleNotFoundFault(inner)
2280            }
2281            crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
2282        }
2283    }
2284}
2285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
2286where
2287    R: Send + Sync + std::fmt::Debug + 'static,
2288{
2289    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
2290        match err {
2291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2294                source: err.into(),
2295            }),
2296        }
2297    }
2298}
2299impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
2300    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
2301        match err {
2302            crate::operation::delete_tags::DeleteTagsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2303            crate::operation::delete_tags::DeleteTagsError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
2304            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
2305        }
2306    }
2307}
2308impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_limit::DeleteUsageLimitError, R>> for Error
2309where
2310    R: Send + Sync + std::fmt::Debug + 'static,
2311{
2312    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_limit::DeleteUsageLimitError, R>) -> Self {
2313        match err {
2314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2317                source: err.into(),
2318            }),
2319        }
2320    }
2321}
2322impl From<crate::operation::delete_usage_limit::DeleteUsageLimitError> for Error {
2323    fn from(err: crate::operation::delete_usage_limit::DeleteUsageLimitError) -> Self {
2324        match err {
2325            crate::operation::delete_usage_limit::DeleteUsageLimitError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
2326            crate::operation::delete_usage_limit::DeleteUsageLimitError::UsageLimitNotFoundFault(inner) => Error::UsageLimitNotFoundFault(inner),
2327            crate::operation::delete_usage_limit::DeleteUsageLimitError::Unhandled(inner) => Error::Unhandled(inner),
2328        }
2329    }
2330}
2331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_namespace::DeregisterNamespaceError, R>> for Error
2332where
2333    R: Send + Sync + std::fmt::Debug + 'static,
2334{
2335    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_namespace::DeregisterNamespaceError, R>) -> Self {
2336        match err {
2337            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2338            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2339                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2340                source: err.into(),
2341            }),
2342        }
2343    }
2344}
2345impl From<crate::operation::deregister_namespace::DeregisterNamespaceError> for Error {
2346    fn from(err: crate::operation::deregister_namespace::DeregisterNamespaceError) -> Self {
2347        match err {
2348            crate::operation::deregister_namespace::DeregisterNamespaceError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
2349            crate::operation::deregister_namespace::DeregisterNamespaceError::InvalidClusterStateFault(inner) => {
2350                Error::InvalidClusterStateFault(inner)
2351            }
2352            crate::operation::deregister_namespace::DeregisterNamespaceError::InvalidNamespaceFault(inner) => Error::InvalidNamespaceFault(inner),
2353            crate::operation::deregister_namespace::DeregisterNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
2354        }
2355    }
2356}
2357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
2358    for Error
2359where
2360    R: Send + Sync + std::fmt::Debug + 'static,
2361{
2362    fn from(
2363        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
2364    ) -> Self {
2365        match err {
2366            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2367            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2368                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2369                source: err.into(),
2370            }),
2371        }
2372    }
2373}
2374impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
2375    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
2376        match err {
2377            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
2378        }
2379    }
2380}
2381impl<R>
2382    From<
2383        ::aws_smithy_runtime_api::client::result::SdkError<
2384            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError,
2385            R,
2386        >,
2387    > for Error
2388where
2389    R: Send + Sync + std::fmt::Debug + 'static,
2390{
2391    fn from(
2392        err: ::aws_smithy_runtime_api::client::result::SdkError<
2393            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError,
2394            R,
2395        >,
2396    ) -> Self {
2397        match err {
2398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2401                source: err.into(),
2402            }),
2403        }
2404    }
2405}
2406impl From<crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError> for Error {
2407    fn from(err: crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError) -> Self {
2408        match err {
2409            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError::AuthenticationProfileNotFoundFault(inner) => {
2410                Error::AuthenticationProfileNotFoundFault(inner)
2411            }
2412            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError::InvalidAuthenticationProfileRequestFault(
2413                inner,
2414            ) => Error::InvalidAuthenticationProfileRequestFault(inner),
2415            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError::Unhandled(inner) => Error::Unhandled(inner),
2416        }
2417    }
2418}
2419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError, R>>
2420    for Error
2421where
2422    R: Send + Sync + std::fmt::Debug + 'static,
2423{
2424    fn from(
2425        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError, R>,
2426    ) -> Self {
2427        match err {
2428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2431                source: err.into(),
2432            }),
2433        }
2434    }
2435}
2436impl From<crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError> for Error {
2437    fn from(err: crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError) -> Self {
2438        match err {
2439            crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError::ClusterNotFoundFault(inner) => {
2440                Error::ClusterNotFoundFault(inner)
2441            }
2442            crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError::InvalidClusterStateFault(inner) => {
2443                Error::InvalidClusterStateFault(inner)
2444            }
2445            crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError::Unhandled(inner) => Error::Unhandled(inner),
2446        }
2447    }
2448}
2449impl<R>
2450    From<
2451        ::aws_smithy_runtime_api::client::result::SdkError<
2452            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError,
2453            R,
2454        >,
2455    > for Error
2456where
2457    R: Send + Sync + std::fmt::Debug + 'static,
2458{
2459    fn from(
2460        err: ::aws_smithy_runtime_api::client::result::SdkError<
2461            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError,
2462            R,
2463        >,
2464    ) -> Self {
2465        match err {
2466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2469                source: err.into(),
2470            }),
2471        }
2472    }
2473}
2474impl From<crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError> for Error {
2475    fn from(err: crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError) -> Self {
2476        match err {
2477            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError::ClusterParameterGroupNotFoundFault(inner) => {
2478                Error::ClusterParameterGroupNotFoundFault(inner)
2479            }
2480            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError::InvalidTagFault(inner) => {
2481                Error::InvalidTagFault(inner)
2482            }
2483            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2484        }
2485    }
2486}
2487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_parameters::DescribeClusterParametersError, R>>
2488    for Error
2489where
2490    R: Send + Sync + std::fmt::Debug + 'static,
2491{
2492    fn from(
2493        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_parameters::DescribeClusterParametersError, R>,
2494    ) -> Self {
2495        match err {
2496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2499                source: err.into(),
2500            }),
2501        }
2502    }
2503}
2504impl From<crate::operation::describe_cluster_parameters::DescribeClusterParametersError> for Error {
2505    fn from(err: crate::operation::describe_cluster_parameters::DescribeClusterParametersError) -> Self {
2506        match err {
2507            crate::operation::describe_cluster_parameters::DescribeClusterParametersError::ClusterParameterGroupNotFoundFault(inner) => {
2508                Error::ClusterParameterGroupNotFoundFault(inner)
2509            }
2510            crate::operation::describe_cluster_parameters::DescribeClusterParametersError::Unhandled(inner) => Error::Unhandled(inner),
2511        }
2512    }
2513}
2514impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_clusters::DescribeClustersError, R>> for Error
2515where
2516    R: Send + Sync + std::fmt::Debug + 'static,
2517{
2518    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_clusters::DescribeClustersError, R>) -> Self {
2519        match err {
2520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2523                source: err.into(),
2524            }),
2525        }
2526    }
2527}
2528impl From<crate::operation::describe_clusters::DescribeClustersError> for Error {
2529    fn from(err: crate::operation::describe_clusters::DescribeClustersError) -> Self {
2530        match err {
2531            crate::operation::describe_clusters::DescribeClustersError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
2532            crate::operation::describe_clusters::DescribeClustersError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2533            crate::operation::describe_clusters::DescribeClustersError::Unhandled(inner) => Error::Unhandled(inner),
2534        }
2535    }
2536}
2537impl<R>
2538    From<
2539        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError, R>,
2540    > for Error
2541where
2542    R: Send + Sync + std::fmt::Debug + 'static,
2543{
2544    fn from(
2545        err: ::aws_smithy_runtime_api::client::result::SdkError<
2546            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError,
2547            R,
2548        >,
2549    ) -> Self {
2550        match err {
2551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2554                source: err.into(),
2555            }),
2556        }
2557    }
2558}
2559impl From<crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError> for Error {
2560    fn from(err: crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError) -> Self {
2561        match err {
2562            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError::ClusterSecurityGroupNotFoundFault(inner) => {
2563                Error::ClusterSecurityGroupNotFoundFault(inner)
2564            }
2565            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError::InvalidTagFault(inner) => {
2566                Error::InvalidTagFault(inner)
2567            }
2568            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2569        }
2570    }
2571}
2572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError, R>>
2573    for Error
2574where
2575    R: Send + Sync + std::fmt::Debug + 'static,
2576{
2577    fn from(
2578        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError, R>,
2579    ) -> Self {
2580        match err {
2581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2584                source: err.into(),
2585            }),
2586        }
2587    }
2588}
2589impl From<crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError> for Error {
2590    fn from(err: crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError) -> Self {
2591        match err {
2592            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::ClusterNotFoundFault(inner) => {
2593                Error::ClusterNotFoundFault(inner)
2594            }
2595            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::ClusterSnapshotNotFoundFault(inner) => {
2596                Error::ClusterSnapshotNotFoundFault(inner)
2597            }
2598            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2599            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::UnsupportedOperationFault(inner) => {
2600                Error::UnsupportedOperationFault(inner)
2601            }
2602            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
2603        }
2604    }
2605}
2606impl<R>
2607    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError, R>>
2608    for Error
2609where
2610    R: Send + Sync + std::fmt::Debug + 'static,
2611{
2612    fn from(
2613        err: ::aws_smithy_runtime_api::client::result::SdkError<
2614            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError,
2615            R,
2616        >,
2617    ) -> Self {
2618        match err {
2619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2622                source: err.into(),
2623            }),
2624        }
2625    }
2626}
2627impl From<crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError> for Error {
2628    fn from(err: crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError) -> Self {
2629        match err {
2630            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError::ClusterSubnetGroupNotFoundFault(inner) => {
2631                Error::ClusterSubnetGroupNotFoundFault(inner)
2632            }
2633            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError::InvalidTagFault(inner) => {
2634                Error::InvalidTagFault(inner)
2635            }
2636            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2637        }
2638    }
2639}
2640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_tracks::DescribeClusterTracksError, R>> for Error
2641where
2642    R: Send + Sync + std::fmt::Debug + 'static,
2643{
2644    fn from(
2645        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_tracks::DescribeClusterTracksError, R>,
2646    ) -> Self {
2647        match err {
2648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2651                source: err.into(),
2652            }),
2653        }
2654    }
2655}
2656impl From<crate::operation::describe_cluster_tracks::DescribeClusterTracksError> for Error {
2657    fn from(err: crate::operation::describe_cluster_tracks::DescribeClusterTracksError) -> Self {
2658        match err {
2659            crate::operation::describe_cluster_tracks::DescribeClusterTracksError::InvalidClusterTrackFault(inner) => {
2660                Error::InvalidClusterTrackFault(inner)
2661            }
2662            crate::operation::describe_cluster_tracks::DescribeClusterTracksError::UnauthorizedOperation(inner) => {
2663                Error::UnauthorizedOperation(inner)
2664            }
2665            crate::operation::describe_cluster_tracks::DescribeClusterTracksError::Unhandled(inner) => Error::Unhandled(inner),
2666        }
2667    }
2668}
2669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_versions::DescribeClusterVersionsError, R>>
2670    for Error
2671where
2672    R: Send + Sync + std::fmt::Debug + 'static,
2673{
2674    fn from(
2675        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_versions::DescribeClusterVersionsError, R>,
2676    ) -> Self {
2677        match err {
2678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2681                source: err.into(),
2682            }),
2683        }
2684    }
2685}
2686impl From<crate::operation::describe_cluster_versions::DescribeClusterVersionsError> for Error {
2687    fn from(err: crate::operation::describe_cluster_versions::DescribeClusterVersionsError) -> Self {
2688        match err {
2689            crate::operation::describe_cluster_versions::DescribeClusterVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2690        }
2691    }
2692}
2693impl<R>
2694    From<
2695        ::aws_smithy_runtime_api::client::result::SdkError<
2696            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError,
2697            R,
2698        >,
2699    > for Error
2700where
2701    R: Send + Sync + std::fmt::Debug + 'static,
2702{
2703    fn from(
2704        err: ::aws_smithy_runtime_api::client::result::SdkError<
2705            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError,
2706            R,
2707        >,
2708    ) -> Self {
2709        match err {
2710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2713                source: err.into(),
2714            }),
2715        }
2716    }
2717}
2718impl From<crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError> for Error {
2719    fn from(err: crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError) -> Self {
2720        match err {
2721            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError::CustomDomainAssociationNotFoundFault(
2722                inner,
2723            ) => Error::CustomDomainAssociationNotFoundFault(inner),
2724            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError::UnsupportedOperationFault(inner) => {
2725                Error::UnsupportedOperationFault(inner)
2726            }
2727            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2728        }
2729    }
2730}
2731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_data_shares::DescribeDataSharesError, R>> for Error
2732where
2733    R: Send + Sync + std::fmt::Debug + 'static,
2734{
2735    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_data_shares::DescribeDataSharesError, R>) -> Self {
2736        match err {
2737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2740                source: err.into(),
2741            }),
2742        }
2743    }
2744}
2745impl From<crate::operation::describe_data_shares::DescribeDataSharesError> for Error {
2746    fn from(err: crate::operation::describe_data_shares::DescribeDataSharesError) -> Self {
2747        match err {
2748            crate::operation::describe_data_shares::DescribeDataSharesError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
2749            crate::operation::describe_data_shares::DescribeDataSharesError::Unhandled(inner) => Error::Unhandled(inner),
2750        }
2751    }
2752}
2753impl<R>
2754    From<
2755        ::aws_smithy_runtime_api::client::result::SdkError<
2756            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError,
2757            R,
2758        >,
2759    > for Error
2760where
2761    R: Send + Sync + std::fmt::Debug + 'static,
2762{
2763    fn from(
2764        err: ::aws_smithy_runtime_api::client::result::SdkError<
2765            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError,
2766            R,
2767        >,
2768    ) -> Self {
2769        match err {
2770            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2771            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2772                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2773                source: err.into(),
2774            }),
2775        }
2776    }
2777}
2778impl From<crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError> for Error {
2779    fn from(err: crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError) -> Self {
2780        match err {
2781            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError::InvalidNamespaceFault(inner) => {
2782                Error::InvalidNamespaceFault(inner)
2783            }
2784            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError::Unhandled(inner) => Error::Unhandled(inner),
2785        }
2786    }
2787}
2788impl<R>
2789    From<
2790        ::aws_smithy_runtime_api::client::result::SdkError<
2791            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError,
2792            R,
2793        >,
2794    > for Error
2795where
2796    R: Send + Sync + std::fmt::Debug + 'static,
2797{
2798    fn from(
2799        err: ::aws_smithy_runtime_api::client::result::SdkError<
2800            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError,
2801            R,
2802        >,
2803    ) -> Self {
2804        match err {
2805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2808                source: err.into(),
2809            }),
2810        }
2811    }
2812}
2813impl From<crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError> for Error {
2814    fn from(err: crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError) -> Self {
2815        match err {
2816            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError::InvalidNamespaceFault(inner) => {
2817                Error::InvalidNamespaceFault(inner)
2818            }
2819            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError::Unhandled(inner) => Error::Unhandled(inner),
2820        }
2821    }
2822}
2823impl<R>
2824    From<
2825        ::aws_smithy_runtime_api::client::result::SdkError<
2826            crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError,
2827            R,
2828        >,
2829    > for Error
2830where
2831    R: Send + Sync + std::fmt::Debug + 'static,
2832{
2833    fn from(
2834        err: ::aws_smithy_runtime_api::client::result::SdkError<
2835            crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError,
2836            R,
2837        >,
2838    ) -> Self {
2839        match err {
2840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2843                source: err.into(),
2844            }),
2845        }
2846    }
2847}
2848impl From<crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError> for Error {
2849    fn from(err: crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError) -> Self {
2850        match err {
2851            crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError::Unhandled(inner) => Error::Unhandled(inner),
2852        }
2853    }
2854}
2855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_access::DescribeEndpointAccessError, R>> for Error
2856where
2857    R: Send + Sync + std::fmt::Debug + 'static,
2858{
2859    fn from(
2860        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_access::DescribeEndpointAccessError, R>,
2861    ) -> Self {
2862        match err {
2863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2866                source: err.into(),
2867            }),
2868        }
2869    }
2870}
2871impl From<crate::operation::describe_endpoint_access::DescribeEndpointAccessError> for Error {
2872    fn from(err: crate::operation::describe_endpoint_access::DescribeEndpointAccessError) -> Self {
2873        match err {
2874            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::ClusterNotFoundFault(inner) => {
2875                Error::ClusterNotFoundFault(inner)
2876            }
2877            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::EndpointNotFoundFault(inner) => {
2878                Error::EndpointNotFoundFault(inner)
2879            }
2880            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::InvalidClusterStateFault(inner) => {
2881                Error::InvalidClusterStateFault(inner)
2882            }
2883            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
2884        }
2885    }
2886}
2887impl<R>
2888    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError, R>>
2889    for Error
2890where
2891    R: Send + Sync + std::fmt::Debug + 'static,
2892{
2893    fn from(
2894        err: ::aws_smithy_runtime_api::client::result::SdkError<
2895            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError,
2896            R,
2897        >,
2898    ) -> Self {
2899        match err {
2900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2903                source: err.into(),
2904            }),
2905        }
2906    }
2907}
2908impl From<crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError> for Error {
2909    fn from(err: crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError) -> Self {
2910        match err {
2911            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError::ClusterNotFoundFault(inner) => {
2912                Error::ClusterNotFoundFault(inner)
2913            }
2914            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError::UnsupportedOperationFault(inner) => {
2915                Error::UnsupportedOperationFault(inner)
2916            }
2917            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError::Unhandled(inner) => Error::Unhandled(inner),
2918        }
2919    }
2920}
2921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_categories::DescribeEventCategoriesError, R>>
2922    for Error
2923where
2924    R: Send + Sync + std::fmt::Debug + 'static,
2925{
2926    fn from(
2927        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_categories::DescribeEventCategoriesError, R>,
2928    ) -> Self {
2929        match err {
2930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2933                source: err.into(),
2934            }),
2935        }
2936    }
2937}
2938impl From<crate::operation::describe_event_categories::DescribeEventCategoriesError> for Error {
2939    fn from(err: crate::operation::describe_event_categories::DescribeEventCategoriesError) -> Self {
2940        match err {
2941            crate::operation::describe_event_categories::DescribeEventCategoriesError::Unhandled(inner) => Error::Unhandled(inner),
2942        }
2943    }
2944}
2945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_events::DescribeEventsError, R>> for Error
2946where
2947    R: Send + Sync + std::fmt::Debug + 'static,
2948{
2949    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_events::DescribeEventsError, R>) -> Self {
2950        match err {
2951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2954                source: err.into(),
2955            }),
2956        }
2957    }
2958}
2959impl From<crate::operation::describe_events::DescribeEventsError> for Error {
2960    fn from(err: crate::operation::describe_events::DescribeEventsError) -> Self {
2961        match err {
2962            crate::operation::describe_events::DescribeEventsError::Unhandled(inner) => Error::Unhandled(inner),
2963        }
2964    }
2965}
2966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, R>>
2967    for Error
2968where
2969    R: Send + Sync + std::fmt::Debug + 'static,
2970{
2971    fn from(
2972        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, R>,
2973    ) -> Self {
2974        match err {
2975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2978                source: err.into(),
2979            }),
2980        }
2981    }
2982}
2983impl From<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError> for Error {
2984    fn from(err: crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError) -> Self {
2985        match err {
2986            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2987            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::SubscriptionNotFoundFault(inner) => {
2988                Error::SubscriptionNotFoundFault(inner)
2989            }
2990            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
2991        }
2992    }
2993}
2994impl<R>
2995    From<
2996        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError, R>,
2997    > for Error
2998where
2999    R: Send + Sync + std::fmt::Debug + 'static,
3000{
3001    fn from(
3002        err: ::aws_smithy_runtime_api::client::result::SdkError<
3003            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError,
3004            R,
3005        >,
3006    ) -> Self {
3007        match err {
3008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3011                source: err.into(),
3012            }),
3013        }
3014    }
3015}
3016impl From<crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError> for Error {
3017    fn from(err: crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError) -> Self {
3018        match err {
3019            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError::HsmClientCertificateNotFoundFault(inner) => {
3020                Error::HsmClientCertificateNotFoundFault(inner)
3021            }
3022            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError::InvalidTagFault(inner) => {
3023                Error::InvalidTagFault(inner)
3024            }
3025            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError::Unhandled(inner) => Error::Unhandled(inner),
3026        }
3027    }
3028}
3029impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError, R>>
3030    for Error
3031where
3032    R: Send + Sync + std::fmt::Debug + 'static,
3033{
3034    fn from(
3035        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError, R>,
3036    ) -> Self {
3037        match err {
3038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3041                source: err.into(),
3042            }),
3043        }
3044    }
3045}
3046impl From<crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError> for Error {
3047    fn from(err: crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError) -> Self {
3048        match err {
3049            crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError::HsmConfigurationNotFoundFault(inner) => {
3050                Error::HsmConfigurationNotFoundFault(inner)
3051            }
3052            crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
3053            crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
3054        }
3055    }
3056}
3057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3058    for Error
3059where
3060    R: Send + Sync + std::fmt::Debug + 'static,
3061{
3062    fn from(
3063        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3064    ) -> Self {
3065        match err {
3066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3069                source: err.into(),
3070            }),
3071        }
3072    }
3073}
3074impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3075    fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3076        match err {
3077            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3078                Error::IntegrationNotFoundFault(inner)
3079            }
3080            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidNamespaceFault(inner) => {
3081                Error::InvalidNamespaceFault(inner)
3082            }
3083            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::UnsupportedOperationFault(inner) => {
3084                Error::UnsupportedOperationFault(inner)
3085            }
3086            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3087        }
3088    }
3089}
3090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3091where
3092    R: Send + Sync + std::fmt::Debug + 'static,
3093{
3094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3095        match err {
3096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099                source: err.into(),
3100            }),
3101        }
3102    }
3103}
3104impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3105    fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3106        match err {
3107            crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3108                Error::IntegrationNotFoundFault(inner)
3109            }
3110            crate::operation::describe_integrations::DescribeIntegrationsError::UnsupportedOperationFault(inner) => {
3111                Error::UnsupportedOperationFault(inner)
3112            }
3113            crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3114        }
3115    }
3116}
3117impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_logging_status::DescribeLoggingStatusError, R>> for Error
3118where
3119    R: Send + Sync + std::fmt::Debug + 'static,
3120{
3121    fn from(
3122        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_logging_status::DescribeLoggingStatusError, R>,
3123    ) -> Self {
3124        match err {
3125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3128                source: err.into(),
3129            }),
3130        }
3131    }
3132}
3133impl From<crate::operation::describe_logging_status::DescribeLoggingStatusError> for Error {
3134    fn from(err: crate::operation::describe_logging_status::DescribeLoggingStatusError) -> Self {
3135        match err {
3136            crate::operation::describe_logging_status::DescribeLoggingStatusError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3137            crate::operation::describe_logging_status::DescribeLoggingStatusError::UnsupportedOperationFault(inner) => {
3138                Error::UnsupportedOperationFault(inner)
3139            }
3140            crate::operation::describe_logging_status::DescribeLoggingStatusError::Unhandled(inner) => Error::Unhandled(inner),
3141        }
3142    }
3143}
3144impl<R>
3145    From<
3146        ::aws_smithy_runtime_api::client::result::SdkError<
3147            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError,
3148            R,
3149        >,
3150    > for Error
3151where
3152    R: Send + Sync + std::fmt::Debug + 'static,
3153{
3154    fn from(
3155        err: ::aws_smithy_runtime_api::client::result::SdkError<
3156            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError,
3157            R,
3158        >,
3159    ) -> Self {
3160        match err {
3161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3164                source: err.into(),
3165            }),
3166        }
3167    }
3168}
3169impl From<crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError> for Error {
3170    fn from(err: crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError) -> Self {
3171        match err {
3172            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::AccessToSnapshotDeniedFault(inner) => {
3173                Error::AccessToSnapshotDeniedFault(inner)
3174            }
3175            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::ClusterNotFoundFault(inner) => {
3176                Error::ClusterNotFoundFault(inner)
3177            }
3178            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::ClusterSnapshotNotFoundFault(inner) => {
3179                Error::ClusterSnapshotNotFoundFault(inner)
3180            }
3181            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::InvalidClusterSnapshotStateFault(inner) => {
3182                Error::InvalidClusterSnapshotStateFault(inner)
3183            }
3184            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::UnsupportedOperationFault(inner) => {
3185                Error::UnsupportedOperationFault(inner)
3186            }
3187            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3188        }
3189    }
3190}
3191impl<R>
3192    From<
3193        ::aws_smithy_runtime_api::client::result::SdkError<
3194            crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError,
3195            R,
3196        >,
3197    > for Error
3198where
3199    R: Send + Sync + std::fmt::Debug + 'static,
3200{
3201    fn from(
3202        err: ::aws_smithy_runtime_api::client::result::SdkError<
3203            crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError,
3204            R,
3205        >,
3206    ) -> Self {
3207        match err {
3208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3211                source: err.into(),
3212            }),
3213        }
3214    }
3215}
3216impl From<crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError> for Error {
3217    fn from(err: crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError) -> Self {
3218        match err {
3219            crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3220        }
3221    }
3222}
3223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partners::DescribePartnersError, R>> for Error
3224where
3225    R: Send + Sync + std::fmt::Debug + 'static,
3226{
3227    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partners::DescribePartnersError, R>) -> Self {
3228        match err {
3229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3232                source: err.into(),
3233            }),
3234        }
3235    }
3236}
3237impl From<crate::operation::describe_partners::DescribePartnersError> for Error {
3238    fn from(err: crate::operation::describe_partners::DescribePartnersError) -> Self {
3239        match err {
3240            crate::operation::describe_partners::DescribePartnersError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3241            crate::operation::describe_partners::DescribePartnersError::UnauthorizedPartnerIntegrationFault(inner) => {
3242                Error::UnauthorizedPartnerIntegrationFault(inner)
3243            }
3244            crate::operation::describe_partners::DescribePartnersError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3245            crate::operation::describe_partners::DescribePartnersError::Unhandled(inner) => Error::Unhandled(inner),
3246        }
3247    }
3248}
3249impl<R>
3250    From<
3251        ::aws_smithy_runtime_api::client::result::SdkError<
3252            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError,
3253            R,
3254        >,
3255    > for Error
3256where
3257    R: Send + Sync + std::fmt::Debug + 'static,
3258{
3259    fn from(
3260        err: ::aws_smithy_runtime_api::client::result::SdkError<
3261            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError,
3262            R,
3263        >,
3264    ) -> Self {
3265        match err {
3266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3269                source: err.into(),
3270            }),
3271        }
3272    }
3273}
3274impl From<crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError> for Error {
3275    fn from(err: crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError) -> Self {
3276        match err {
3277            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::DependentServiceAccessDeniedFault(inner) => {
3278                Error::DependentServiceAccessDeniedFault(inner)
3279            }
3280            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::DependentServiceUnavailableFault(inner) => {
3281                Error::DependentServiceUnavailableFault(inner)
3282            }
3283            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::RedshiftIdcApplicationNotExistsFault(
3284                inner,
3285            ) => Error::RedshiftIdcApplicationNotExistsFault(inner),
3286            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::UnsupportedOperationFault(inner) => {
3287                Error::UnsupportedOperationFault(inner)
3288            }
3289            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::Unhandled(inner) => Error::Unhandled(inner),
3290        }
3291    }
3292}
3293impl<R>
3294    From<
3295        ::aws_smithy_runtime_api::client::result::SdkError<
3296            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError,
3297            R,
3298        >,
3299    > for Error
3300where
3301    R: Send + Sync + std::fmt::Debug + 'static,
3302{
3303    fn from(
3304        err: ::aws_smithy_runtime_api::client::result::SdkError<
3305            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError,
3306            R,
3307        >,
3308    ) -> Self {
3309        match err {
3310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3313                source: err.into(),
3314            }),
3315        }
3316    }
3317}
3318impl From<crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError> for Error {
3319    fn from(err: crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError) -> Self {
3320        match err {
3321            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::ReservedNodeExchangeNotFoundFault(
3322                inner,
3323            ) => Error::ReservedNodeExchangeNotFoundFault(inner),
3324            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::ReservedNodeNotFoundFault(inner) => {
3325                Error::ReservedNodeNotFoundFault(inner)
3326            }
3327            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::UnsupportedOperationFault(inner) => {
3328                Error::UnsupportedOperationFault(inner)
3329            }
3330            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::Unhandled(inner) => {
3331                Error::Unhandled(inner)
3332            }
3333        }
3334    }
3335}
3336impl<R>
3337    From<
3338        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError, R>,
3339    > for Error
3340where
3341    R: Send + Sync + std::fmt::Debug + 'static,
3342{
3343    fn from(
3344        err: ::aws_smithy_runtime_api::client::result::SdkError<
3345            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError,
3346            R,
3347        >,
3348    ) -> Self {
3349        match err {
3350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3353                source: err.into(),
3354            }),
3355        }
3356    }
3357}
3358impl From<crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError> for Error {
3359    fn from(err: crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError) -> Self {
3360        match err {
3361            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::DependentServiceUnavailableFault(inner) => {
3362                Error::DependentServiceUnavailableFault(inner)
3363            }
3364            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::ReservedNodeOfferingNotFoundFault(inner) => {
3365                Error::ReservedNodeOfferingNotFoundFault(inner)
3366            }
3367            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::UnsupportedOperationFault(inner) => {
3368                Error::UnsupportedOperationFault(inner)
3369            }
3370            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
3371        }
3372    }
3373}
3374impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_nodes::DescribeReservedNodesError, R>> for Error
3375where
3376    R: Send + Sync + std::fmt::Debug + 'static,
3377{
3378    fn from(
3379        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_nodes::DescribeReservedNodesError, R>,
3380    ) -> Self {
3381        match err {
3382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3385                source: err.into(),
3386            }),
3387        }
3388    }
3389}
3390impl From<crate::operation::describe_reserved_nodes::DescribeReservedNodesError> for Error {
3391    fn from(err: crate::operation::describe_reserved_nodes::DescribeReservedNodesError) -> Self {
3392        match err {
3393            crate::operation::describe_reserved_nodes::DescribeReservedNodesError::DependentServiceUnavailableFault(inner) => {
3394                Error::DependentServiceUnavailableFault(inner)
3395            }
3396            crate::operation::describe_reserved_nodes::DescribeReservedNodesError::ReservedNodeNotFoundFault(inner) => {
3397                Error::ReservedNodeNotFoundFault(inner)
3398            }
3399            crate::operation::describe_reserved_nodes::DescribeReservedNodesError::Unhandled(inner) => Error::Unhandled(inner),
3400        }
3401    }
3402}
3403impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_resize::DescribeResizeError, R>> for Error
3404where
3405    R: Send + Sync + std::fmt::Debug + 'static,
3406{
3407    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_resize::DescribeResizeError, R>) -> Self {
3408        match err {
3409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3412                source: err.into(),
3413            }),
3414        }
3415    }
3416}
3417impl From<crate::operation::describe_resize::DescribeResizeError> for Error {
3418    fn from(err: crate::operation::describe_resize::DescribeResizeError) -> Self {
3419        match err {
3420            crate::operation::describe_resize::DescribeResizeError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3421            crate::operation::describe_resize::DescribeResizeError::ResizeNotFoundFault(inner) => Error::ResizeNotFoundFault(inner),
3422            crate::operation::describe_resize::DescribeResizeError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3423            crate::operation::describe_resize::DescribeResizeError::Unhandled(inner) => Error::Unhandled(inner),
3424        }
3425    }
3426}
3427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, R>>
3428    for Error
3429where
3430    R: Send + Sync + std::fmt::Debug + 'static,
3431{
3432    fn from(
3433        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, R>,
3434    ) -> Self {
3435        match err {
3436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3439                source: err.into(),
3440            }),
3441        }
3442    }
3443}
3444impl From<crate::operation::describe_scheduled_actions::DescribeScheduledActionsError> for Error {
3445    fn from(err: crate::operation::describe_scheduled_actions::DescribeScheduledActionsError) -> Self {
3446        match err {
3447            crate::operation::describe_scheduled_actions::DescribeScheduledActionsError::ScheduledActionNotFoundFault(inner) => {
3448                Error::ScheduledActionNotFoundFault(inner)
3449            }
3450            crate::operation::describe_scheduled_actions::DescribeScheduledActionsError::UnauthorizedOperation(inner) => {
3451                Error::UnauthorizedOperation(inner)
3452            }
3453            crate::operation::describe_scheduled_actions::DescribeScheduledActionsError::Unhandled(inner) => Error::Unhandled(inner),
3454        }
3455    }
3456}
3457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError, R>>
3458    for Error
3459where
3460    R: Send + Sync + std::fmt::Debug + 'static,
3461{
3462    fn from(
3463        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError, R>,
3464    ) -> Self {
3465        match err {
3466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3469                source: err.into(),
3470            }),
3471        }
3472    }
3473}
3474impl From<crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError> for Error {
3475    fn from(err: crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError) -> Self {
3476        match err {
3477            crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
3478            crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError::SnapshotCopyGrantNotFoundFault(inner) => {
3479                Error::SnapshotCopyGrantNotFoundFault(inner)
3480            }
3481            crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError::Unhandled(inner) => Error::Unhandled(inner),
3482        }
3483    }
3484}
3485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError, R>>
3486    for Error
3487where
3488    R: Send + Sync + std::fmt::Debug + 'static,
3489{
3490    fn from(
3491        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError, R>,
3492    ) -> Self {
3493        match err {
3494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3497                source: err.into(),
3498            }),
3499        }
3500    }
3501}
3502impl From<crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError> for Error {
3503    fn from(err: crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError) -> Self {
3504        match err {
3505            crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError::Unhandled(inner) => Error::Unhandled(inner),
3506        }
3507    }
3508}
3509impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_storage::DescribeStorageError, R>> for Error
3510where
3511    R: Send + Sync + std::fmt::Debug + 'static,
3512{
3513    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_storage::DescribeStorageError, R>) -> Self {
3514        match err {
3515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3518                source: err.into(),
3519            }),
3520        }
3521    }
3522}
3523impl From<crate::operation::describe_storage::DescribeStorageError> for Error {
3524    fn from(err: crate::operation::describe_storage::DescribeStorageError) -> Self {
3525        match err {
3526            crate::operation::describe_storage::DescribeStorageError::Unhandled(inner) => Error::Unhandled(inner),
3527        }
3528    }
3529}
3530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError, R>>
3531    for Error
3532where
3533    R: Send + Sync + std::fmt::Debug + 'static,
3534{
3535    fn from(
3536        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError, R>,
3537    ) -> Self {
3538        match err {
3539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3542                source: err.into(),
3543            }),
3544        }
3545    }
3546}
3547impl From<crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError> for Error {
3548    fn from(err: crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError) -> Self {
3549        match err {
3550            crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError::ClusterNotFoundFault(inner) => {
3551                Error::ClusterNotFoundFault(inner)
3552            }
3553            crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError::TableRestoreNotFoundFault(inner) => {
3554                Error::TableRestoreNotFoundFault(inner)
3555            }
3556            crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError::Unhandled(inner) => Error::Unhandled(inner),
3557        }
3558    }
3559}
3560impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
3561where
3562    R: Send + Sync + std::fmt::Debug + 'static,
3563{
3564    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
3565        match err {
3566            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3567            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3568                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3569                source: err.into(),
3570            }),
3571        }
3572    }
3573}
3574impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
3575    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
3576        match err {
3577            crate::operation::describe_tags::DescribeTagsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
3578            crate::operation::describe_tags::DescribeTagsError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
3579            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
3580        }
3581    }
3582}
3583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_usage_limits::DescribeUsageLimitsError, R>> for Error
3584where
3585    R: Send + Sync + std::fmt::Debug + 'static,
3586{
3587    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_usage_limits::DescribeUsageLimitsError, R>) -> Self {
3588        match err {
3589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3592                source: err.into(),
3593            }),
3594        }
3595    }
3596}
3597impl From<crate::operation::describe_usage_limits::DescribeUsageLimitsError> for Error {
3598    fn from(err: crate::operation::describe_usage_limits::DescribeUsageLimitsError) -> Self {
3599        match err {
3600            crate::operation::describe_usage_limits::DescribeUsageLimitsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3601            crate::operation::describe_usage_limits::DescribeUsageLimitsError::UnsupportedOperationFault(inner) => {
3602                Error::UnsupportedOperationFault(inner)
3603            }
3604            crate::operation::describe_usage_limits::DescribeUsageLimitsError::Unhandled(inner) => Error::Unhandled(inner),
3605        }
3606    }
3607}
3608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_logging::DisableLoggingError, R>> for Error
3609where
3610    R: Send + Sync + std::fmt::Debug + 'static,
3611{
3612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_logging::DisableLoggingError, R>) -> Self {
3613        match err {
3614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3617                source: err.into(),
3618            }),
3619        }
3620    }
3621}
3622impl From<crate::operation::disable_logging::DisableLoggingError> for Error {
3623    fn from(err: crate::operation::disable_logging::DisableLoggingError) -> Self {
3624        match err {
3625            crate::operation::disable_logging::DisableLoggingError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3626            crate::operation::disable_logging::DisableLoggingError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
3627            crate::operation::disable_logging::DisableLoggingError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3628            crate::operation::disable_logging::DisableLoggingError::Unhandled(inner) => Error::Unhandled(inner),
3629        }
3630    }
3631}
3632impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_snapshot_copy::DisableSnapshotCopyError, R>> for Error
3633where
3634    R: Send + Sync + std::fmt::Debug + 'static,
3635{
3636    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_snapshot_copy::DisableSnapshotCopyError, R>) -> Self {
3637        match err {
3638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3641                source: err.into(),
3642            }),
3643        }
3644    }
3645}
3646impl From<crate::operation::disable_snapshot_copy::DisableSnapshotCopyError> for Error {
3647    fn from(err: crate::operation::disable_snapshot_copy::DisableSnapshotCopyError) -> Self {
3648        match err {
3649            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3650            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::InvalidClusterStateFault(inner) => {
3651                Error::InvalidClusterStateFault(inner)
3652            }
3653            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::SnapshotCopyAlreadyDisabledFault(inner) => {
3654                Error::SnapshotCopyAlreadyDisabledFault(inner)
3655            }
3656            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
3657            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::UnsupportedOperationFault(inner) => {
3658                Error::UnsupportedOperationFault(inner)
3659            }
3660            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::Unhandled(inner) => Error::Unhandled(inner),
3661        }
3662    }
3663}
3664impl<R>
3665    From<
3666        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError, R>,
3667    > for Error
3668where
3669    R: Send + Sync + std::fmt::Debug + 'static,
3670{
3671    fn from(
3672        err: ::aws_smithy_runtime_api::client::result::SdkError<
3673            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError,
3674            R,
3675        >,
3676    ) -> Self {
3677        match err {
3678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3681                source: err.into(),
3682            }),
3683        }
3684    }
3685}
3686impl From<crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError> for Error {
3687    fn from(err: crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError) -> Self {
3688        match err {
3689            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError::InvalidDataShareFault(inner) => {
3690                Error::InvalidDataShareFault(inner)
3691            }
3692            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError::InvalidNamespaceFault(inner) => {
3693                Error::InvalidNamespaceFault(inner)
3694            }
3695            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError::Unhandled(inner) => Error::Unhandled(inner),
3696        }
3697    }
3698}
3699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_logging::EnableLoggingError, R>> for Error
3700where
3701    R: Send + Sync + std::fmt::Debug + 'static,
3702{
3703    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_logging::EnableLoggingError, R>) -> Self {
3704        match err {
3705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3708                source: err.into(),
3709            }),
3710        }
3711    }
3712}
3713impl From<crate::operation::enable_logging::EnableLoggingError> for Error {
3714    fn from(err: crate::operation::enable_logging::EnableLoggingError) -> Self {
3715        match err {
3716            crate::operation::enable_logging::EnableLoggingError::BucketNotFoundFault(inner) => Error::BucketNotFoundFault(inner),
3717            crate::operation::enable_logging::EnableLoggingError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3718            crate::operation::enable_logging::EnableLoggingError::InsufficientS3BucketPolicyFault(inner) => {
3719                Error::InsufficientS3BucketPolicyFault(inner)
3720            }
3721            crate::operation::enable_logging::EnableLoggingError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
3722            crate::operation::enable_logging::EnableLoggingError::InvalidS3BucketNameFault(inner) => Error::InvalidS3BucketNameFault(inner),
3723            crate::operation::enable_logging::EnableLoggingError::InvalidS3KeyPrefixFault(inner) => Error::InvalidS3KeyPrefixFault(inner),
3724            crate::operation::enable_logging::EnableLoggingError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3725            crate::operation::enable_logging::EnableLoggingError::Unhandled(inner) => Error::Unhandled(inner),
3726        }
3727    }
3728}
3729impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_snapshot_copy::EnableSnapshotCopyError, R>> for Error
3730where
3731    R: Send + Sync + std::fmt::Debug + 'static,
3732{
3733    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_snapshot_copy::EnableSnapshotCopyError, R>) -> Self {
3734        match err {
3735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3738                source: err.into(),
3739            }),
3740        }
3741    }
3742}
3743impl From<crate::operation::enable_snapshot_copy::EnableSnapshotCopyError> for Error {
3744    fn from(err: crate::operation::enable_snapshot_copy::EnableSnapshotCopyError) -> Self {
3745        match err {
3746            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3747            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::CopyToRegionDisabledFault(inner) => {
3748                Error::CopyToRegionDisabledFault(inner)
3749            }
3750            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::DependentServiceRequestThrottlingFault(inner) => {
3751                Error::DependentServiceRequestThrottlingFault(inner)
3752            }
3753            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::IncompatibleOrderableOptions(inner) => {
3754                Error::IncompatibleOrderableOptions(inner)
3755            }
3756            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::InvalidClusterStateFault(inner) => {
3757                Error::InvalidClusterStateFault(inner)
3758            }
3759            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::InvalidRetentionPeriodFault(inner) => {
3760                Error::InvalidRetentionPeriodFault(inner)
3761            }
3762            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
3763            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::SnapshotCopyAlreadyEnabledFault(inner) => {
3764                Error::SnapshotCopyAlreadyEnabledFault(inner)
3765            }
3766            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::SnapshotCopyGrantNotFoundFault(inner) => {
3767                Error::SnapshotCopyGrantNotFoundFault(inner)
3768            }
3769            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
3770            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::UnknownSnapshotCopyRegionFault(inner) => {
3771                Error::UnknownSnapshotCopyRegionFault(inner)
3772            }
3773            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::Unhandled(inner) => Error::Unhandled(inner),
3774        }
3775    }
3776}
3777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_primary_compute::FailoverPrimaryComputeError, R>> for Error
3778where
3779    R: Send + Sync + std::fmt::Debug + 'static,
3780{
3781    fn from(
3782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_primary_compute::FailoverPrimaryComputeError, R>,
3783    ) -> Self {
3784        match err {
3785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3788                source: err.into(),
3789            }),
3790        }
3791    }
3792}
3793impl From<crate::operation::failover_primary_compute::FailoverPrimaryComputeError> for Error {
3794    fn from(err: crate::operation::failover_primary_compute::FailoverPrimaryComputeError) -> Self {
3795        match err {
3796            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::ClusterNotFoundFault(inner) => {
3797                Error::ClusterNotFoundFault(inner)
3798            }
3799            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::InvalidClusterStateFault(inner) => {
3800                Error::InvalidClusterStateFault(inner)
3801            }
3802            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::UnauthorizedOperation(inner) => {
3803                Error::UnauthorizedOperation(inner)
3804            }
3805            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::UnsupportedOperationFault(inner) => {
3806                Error::UnsupportedOperationFault(inner)
3807            }
3808            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::Unhandled(inner) => Error::Unhandled(inner),
3809        }
3810    }
3811}
3812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_credentials::GetClusterCredentialsError, R>> for Error
3813where
3814    R: Send + Sync + std::fmt::Debug + 'static,
3815{
3816    fn from(
3817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_credentials::GetClusterCredentialsError, R>,
3818    ) -> Self {
3819        match err {
3820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3823                source: err.into(),
3824            }),
3825        }
3826    }
3827}
3828impl From<crate::operation::get_cluster_credentials::GetClusterCredentialsError> for Error {
3829    fn from(err: crate::operation::get_cluster_credentials::GetClusterCredentialsError) -> Self {
3830        match err {
3831            crate::operation::get_cluster_credentials::GetClusterCredentialsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3832            crate::operation::get_cluster_credentials::GetClusterCredentialsError::UnsupportedOperationFault(inner) => {
3833                Error::UnsupportedOperationFault(inner)
3834            }
3835            crate::operation::get_cluster_credentials::GetClusterCredentialsError::Unhandled(inner) => Error::Unhandled(inner),
3836        }
3837    }
3838}
3839impl<R>
3840    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError, R>>
3841    for Error
3842where
3843    R: Send + Sync + std::fmt::Debug + 'static,
3844{
3845    fn from(
3846        err: ::aws_smithy_runtime_api::client::result::SdkError<
3847            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError,
3848            R,
3849        >,
3850    ) -> Self {
3851        match err {
3852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3855                source: err.into(),
3856            }),
3857        }
3858    }
3859}
3860impl From<crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError> for Error {
3861    fn from(err: crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError) -> Self {
3862        match err {
3863            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError::ClusterNotFoundFault(inner) => {
3864                Error::ClusterNotFoundFault(inner)
3865            }
3866            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError::UnsupportedOperationFault(inner) => {
3867                Error::UnsupportedOperationFault(inner)
3868            }
3869            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError::Unhandled(inner) => Error::Unhandled(inner),
3870        }
3871    }
3872}
3873impl<R>
3874    From<
3875        ::aws_smithy_runtime_api::client::result::SdkError<
3876            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError,
3877            R,
3878        >,
3879    > for Error
3880where
3881    R: Send + Sync + std::fmt::Debug + 'static,
3882{
3883    fn from(
3884        err: ::aws_smithy_runtime_api::client::result::SdkError<
3885            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError,
3886            R,
3887        >,
3888    ) -> Self {
3889        match err {
3890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3893                source: err.into(),
3894            }),
3895        }
3896    }
3897}
3898impl From<crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError> for Error {
3899    fn from(err: crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError) -> Self {
3900        match err {
3901            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3902            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ClusterSnapshotNotFoundFault(inner) => Error::ClusterSnapshotNotFoundFault(inner),
3903            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::DependentServiceUnavailableFault(inner) => Error::DependentServiceUnavailableFault(inner),
3904            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::InvalidReservedNodeStateFault(inner) => Error::InvalidReservedNodeStateFault(inner),
3905            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ReservedNodeAlreadyMigratedFault(inner) => Error::ReservedNodeAlreadyMigratedFault(inner),
3906            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ReservedNodeNotFoundFault(inner) => Error::ReservedNodeNotFoundFault(inner),
3907            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ReservedNodeOfferingNotFoundFault(inner) => Error::ReservedNodeOfferingNotFoundFault(inner),
3908            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3909            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3910        }
3911    }
3912}
3913impl<R>
3914    From<
3915        ::aws_smithy_runtime_api::client::result::SdkError<
3916            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError,
3917            R,
3918        >,
3919    > for Error
3920where
3921    R: Send + Sync + std::fmt::Debug + 'static,
3922{
3923    fn from(
3924        err: ::aws_smithy_runtime_api::client::result::SdkError<
3925            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError,
3926            R,
3927        >,
3928    ) -> Self {
3929        match err {
3930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3933                source: err.into(),
3934            }),
3935        }
3936    }
3937}
3938impl From<crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError> for Error {
3939    fn from(err: crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError) -> Self {
3940        match err {
3941            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::DependentServiceUnavailableFault(
3942                inner,
3943            ) => Error::DependentServiceUnavailableFault(inner),
3944            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::InvalidReservedNodeStateFault(inner) => {
3945                Error::InvalidReservedNodeStateFault(inner)
3946            }
3947            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::ReservedNodeAlreadyMigratedFault(
3948                inner,
3949            ) => Error::ReservedNodeAlreadyMigratedFault(inner),
3950            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::ReservedNodeNotFoundFault(inner) => {
3951                Error::ReservedNodeNotFoundFault(inner)
3952            }
3953            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::ReservedNodeOfferingNotFoundFault(
3954                inner,
3955            ) => Error::ReservedNodeOfferingNotFoundFault(inner),
3956            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::UnsupportedOperationFault(inner) => {
3957                Error::UnsupportedOperationFault(inner)
3958            }
3959            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::Unhandled(inner) => {
3960                Error::Unhandled(inner)
3961            }
3962        }
3963    }
3964}
3965impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
3966where
3967    R: Send + Sync + std::fmt::Debug + 'static,
3968{
3969    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
3970        match err {
3971            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3972            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3973                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3974                source: err.into(),
3975            }),
3976        }
3977    }
3978}
3979impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
3980    fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
3981        match err {
3982            crate::operation::get_resource_policy::GetResourcePolicyError::InvalidPolicyFault(inner) => Error::InvalidPolicyFault(inner),
3983            crate::operation::get_resource_policy::GetResourcePolicyError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
3984            crate::operation::get_resource_policy::GetResourcePolicyError::UnsupportedOperationFault(inner) => {
3985                Error::UnsupportedOperationFault(inner)
3986            }
3987            crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
3988        }
3989    }
3990}
3991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_recommendations::ListRecommendationsError, R>> for Error
3992where
3993    R: Send + Sync + std::fmt::Debug + 'static,
3994{
3995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_recommendations::ListRecommendationsError, R>) -> Self {
3996        match err {
3997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4000                source: err.into(),
4001            }),
4002        }
4003    }
4004}
4005impl From<crate::operation::list_recommendations::ListRecommendationsError> for Error {
4006    fn from(err: crate::operation::list_recommendations::ListRecommendationsError) -> Self {
4007        match err {
4008            crate::operation::list_recommendations::ListRecommendationsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4009            crate::operation::list_recommendations::ListRecommendationsError::UnsupportedOperationFault(inner) => {
4010                Error::UnsupportedOperationFault(inner)
4011            }
4012            crate::operation::list_recommendations::ListRecommendationsError::Unhandled(inner) => Error::Unhandled(inner),
4013        }
4014    }
4015}
4016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError, R>>
4017    for Error
4018where
4019    R: Send + Sync + std::fmt::Debug + 'static,
4020{
4021    fn from(
4022        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError, R>,
4023    ) -> Self {
4024        match err {
4025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4028                source: err.into(),
4029            }),
4030        }
4031    }
4032}
4033impl From<crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError> for Error {
4034    fn from(err: crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError) -> Self {
4035        match err {
4036            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::ClusterNotFoundFault(inner) => {
4037                Error::ClusterNotFoundFault(inner)
4038            }
4039            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::InvalidClusterStateFault(inner) => {
4040                Error::InvalidClusterStateFault(inner)
4041            }
4042            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::UnsupportedOperationFault(inner) => {
4043                Error::UnsupportedOperationFault(inner)
4044            }
4045            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
4046        }
4047    }
4048}
4049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError, R>>
4050    for Error
4051where
4052    R: Send + Sync + std::fmt::Debug + 'static,
4053{
4054    fn from(
4055        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError, R>,
4056    ) -> Self {
4057        match err {
4058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4061                source: err.into(),
4062            }),
4063        }
4064    }
4065}
4066impl From<crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError> for Error {
4067    fn from(err: crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError) -> Self {
4068        match err {
4069            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::AuthenticationProfileNotFoundFault(inner) => {
4070                Error::AuthenticationProfileNotFoundFault(inner)
4071            }
4072            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::AuthenticationProfileQuotaExceededFault(inner) => {
4073                Error::AuthenticationProfileQuotaExceededFault(inner)
4074            }
4075            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::InvalidAuthenticationProfileRequestFault(inner) => {
4076                Error::InvalidAuthenticationProfileRequestFault(inner)
4077            }
4078            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::Unhandled(inner) => Error::Unhandled(inner),
4079        }
4080    }
4081}
4082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster::ModifyClusterError, R>> for Error
4083where
4084    R: Send + Sync + std::fmt::Debug + 'static,
4085{
4086    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster::ModifyClusterError, R>) -> Self {
4087        match err {
4088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4091                source: err.into(),
4092            }),
4093        }
4094    }
4095}
4096impl From<crate::operation::modify_cluster::ModifyClusterError> for Error {
4097    fn from(err: crate::operation::modify_cluster::ModifyClusterError) -> Self {
4098        match err {
4099            crate::operation::modify_cluster::ModifyClusterError::ClusterAlreadyExistsFault(inner) => Error::ClusterAlreadyExistsFault(inner),
4100            crate::operation::modify_cluster::ModifyClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4101            crate::operation::modify_cluster::ModifyClusterError::ClusterParameterGroupNotFoundFault(inner) => {
4102                Error::ClusterParameterGroupNotFoundFault(inner)
4103            }
4104            crate::operation::modify_cluster::ModifyClusterError::ClusterSecurityGroupNotFoundFault(inner) => {
4105                Error::ClusterSecurityGroupNotFoundFault(inner)
4106            }
4107            crate::operation::modify_cluster::ModifyClusterError::CustomCnameAssociationFault(inner) => Error::CustomCnameAssociationFault(inner),
4108            crate::operation::modify_cluster::ModifyClusterError::DependentServiceRequestThrottlingFault(inner) => {
4109                Error::DependentServiceRequestThrottlingFault(inner)
4110            }
4111            crate::operation::modify_cluster::ModifyClusterError::HsmClientCertificateNotFoundFault(inner) => {
4112                Error::HsmClientCertificateNotFoundFault(inner)
4113            }
4114            crate::operation::modify_cluster::ModifyClusterError::HsmConfigurationNotFoundFault(inner) => Error::HsmConfigurationNotFoundFault(inner),
4115            crate::operation::modify_cluster::ModifyClusterError::InsufficientClusterCapacityFault(inner) => {
4116                Error::InsufficientClusterCapacityFault(inner)
4117            }
4118            crate::operation::modify_cluster::ModifyClusterError::InvalidClusterSecurityGroupStateFault(inner) => {
4119                Error::InvalidClusterSecurityGroupStateFault(inner)
4120            }
4121            crate::operation::modify_cluster::ModifyClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4122            crate::operation::modify_cluster::ModifyClusterError::InvalidClusterTrackFault(inner) => Error::InvalidClusterTrackFault(inner),
4123            crate::operation::modify_cluster::ModifyClusterError::InvalidElasticIpFault(inner) => Error::InvalidElasticIpFault(inner),
4124            crate::operation::modify_cluster::ModifyClusterError::InvalidRetentionPeriodFault(inner) => Error::InvalidRetentionPeriodFault(inner),
4125            crate::operation::modify_cluster::ModifyClusterError::Ipv6CidrBlockNotFoundFault(inner) => Error::Ipv6CidrBlockNotFoundFault(inner),
4126            crate::operation::modify_cluster::ModifyClusterError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
4127            crate::operation::modify_cluster::ModifyClusterError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
4128                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
4129            }
4130            crate::operation::modify_cluster::ModifyClusterError::NumberOfNodesQuotaExceededFault(inner) => {
4131                Error::NumberOfNodesQuotaExceededFault(inner)
4132            }
4133            crate::operation::modify_cluster::ModifyClusterError::TableLimitExceededFault(inner) => Error::TableLimitExceededFault(inner),
4134            crate::operation::modify_cluster::ModifyClusterError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
4135            crate::operation::modify_cluster::ModifyClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4136            crate::operation::modify_cluster::ModifyClusterError::UnsupportedOptionFault(inner) => Error::UnsupportedOptionFault(inner),
4137            crate::operation::modify_cluster::ModifyClusterError::Unhandled(inner) => Error::Unhandled(inner),
4138        }
4139    }
4140}
4141impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError, R>>
4142    for Error
4143where
4144    R: Send + Sync + std::fmt::Debug + 'static,
4145{
4146    fn from(
4147        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError, R>,
4148    ) -> Self {
4149        match err {
4150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4153                source: err.into(),
4154            }),
4155        }
4156    }
4157}
4158impl From<crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError> for Error {
4159    fn from(err: crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError) -> Self {
4160        match err {
4161            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::ClusterNotFoundFault(inner) => {
4162                Error::ClusterNotFoundFault(inner)
4163            }
4164            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::ClusterOnLatestRevisionFault(inner) => {
4165                Error::ClusterOnLatestRevisionFault(inner)
4166            }
4167            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::InvalidClusterStateFault(inner) => {
4168                Error::InvalidClusterStateFault(inner)
4169            }
4170            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::UnsupportedOperationFault(inner) => {
4171                Error::UnsupportedOperationFault(inner)
4172            }
4173            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::Unhandled(inner) => Error::Unhandled(inner),
4174        }
4175    }
4176}
4177impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError, R>> for Error
4178where
4179    R: Send + Sync + std::fmt::Debug + 'static,
4180{
4181    fn from(
4182        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError, R>,
4183    ) -> Self {
4184        match err {
4185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4188                source: err.into(),
4189            }),
4190        }
4191    }
4192}
4193impl From<crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError> for Error {
4194    fn from(err: crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError) -> Self {
4195        match err {
4196            crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4197            crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError::InvalidClusterStateFault(inner) => {
4198                Error::InvalidClusterStateFault(inner)
4199            }
4200            crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError::Unhandled(inner) => Error::Unhandled(inner),
4201        }
4202    }
4203}
4204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError, R>>
4205    for Error
4206where
4207    R: Send + Sync + std::fmt::Debug + 'static,
4208{
4209    fn from(
4210        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError, R>,
4211    ) -> Self {
4212        match err {
4213            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4214            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4215                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4216                source: err.into(),
4217            }),
4218        }
4219    }
4220}
4221impl From<crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError> for Error {
4222    fn from(err: crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError) -> Self {
4223        match err {
4224            crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError::ClusterNotFoundFault(inner) => {
4225                Error::ClusterNotFoundFault(inner)
4226            }
4227            crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError::InvalidClusterStateFault(inner) => {
4228                Error::InvalidClusterStateFault(inner)
4229            }
4230            crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError::Unhandled(inner) => Error::Unhandled(inner),
4231        }
4232    }
4233}
4234impl<R>
4235    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError, R>>
4236    for Error
4237where
4238    R: Send + Sync + std::fmt::Debug + 'static,
4239{
4240    fn from(
4241        err: ::aws_smithy_runtime_api::client::result::SdkError<
4242            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError,
4243            R,
4244        >,
4245    ) -> Self {
4246        match err {
4247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4250                source: err.into(),
4251            }),
4252        }
4253    }
4254}
4255impl From<crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError> for Error {
4256    fn from(err: crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError) -> Self {
4257        match err {
4258            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError::ClusterParameterGroupNotFoundFault(inner) => {
4259                Error::ClusterParameterGroupNotFoundFault(inner)
4260            }
4261            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError::InvalidClusterParameterGroupStateFault(inner) => {
4262                Error::InvalidClusterParameterGroupStateFault(inner)
4263            }
4264            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
4265        }
4266    }
4267}
4268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError, R>> for Error
4269where
4270    R: Send + Sync + std::fmt::Debug + 'static,
4271{
4272    fn from(
4273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError, R>,
4274    ) -> Self {
4275        match err {
4276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4279                source: err.into(),
4280            }),
4281        }
4282    }
4283}
4284impl From<crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError> for Error {
4285    fn from(err: crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError) -> Self {
4286        match err {
4287            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
4288                Error::ClusterSnapshotNotFoundFault(inner)
4289            }
4290            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
4291                Error::InvalidClusterSnapshotStateFault(inner)
4292            }
4293            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::InvalidRetentionPeriodFault(inner) => {
4294                Error::InvalidRetentionPeriodFault(inner)
4295            }
4296            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
4297        }
4298    }
4299}
4300impl<R>
4301    From<
4302        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError, R>,
4303    > for Error
4304where
4305    R: Send + Sync + std::fmt::Debug + 'static,
4306{
4307    fn from(
4308        err: ::aws_smithy_runtime_api::client::result::SdkError<
4309            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError,
4310            R,
4311        >,
4312    ) -> Self {
4313        match err {
4314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4317                source: err.into(),
4318            }),
4319        }
4320    }
4321}
4322impl From<crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError> for Error {
4323    fn from(err: crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError) -> Self {
4324        match err {
4325            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::ClusterNotFoundFault(inner) => {
4326                Error::ClusterNotFoundFault(inner)
4327            }
4328            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::InvalidClusterSnapshotScheduleStateFault(
4329                inner,
4330            ) => Error::InvalidClusterSnapshotScheduleStateFault(inner),
4331            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::SnapshotScheduleNotFoundFault(inner) => {
4332                Error::SnapshotScheduleNotFoundFault(inner)
4333            }
4334            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4335        }
4336    }
4337}
4338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError, R>>
4339    for Error
4340where
4341    R: Send + Sync + std::fmt::Debug + 'static,
4342{
4343    fn from(
4344        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError, R>,
4345    ) -> Self {
4346        match err {
4347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4350                source: err.into(),
4351            }),
4352        }
4353    }
4354}
4355impl From<crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError> for Error {
4356    fn from(err: crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError) -> Self {
4357        match err {
4358            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::ClusterSubnetGroupNotFoundFault(inner) => {
4359                Error::ClusterSubnetGroupNotFoundFault(inner)
4360            }
4361            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::ClusterSubnetQuotaExceededFault(inner) => {
4362                Error::ClusterSubnetQuotaExceededFault(inner)
4363            }
4364            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::DependentServiceRequestThrottlingFault(inner) => {
4365                Error::DependentServiceRequestThrottlingFault(inner)
4366            }
4367            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
4368            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::SubnetAlreadyInUse(inner) => {
4369                Error::SubnetAlreadyInUse(inner)
4370            }
4371            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::UnauthorizedOperation(inner) => {
4372                Error::UnauthorizedOperation(inner)
4373            }
4374            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
4375        }
4376    }
4377}
4378impl<R>
4379    From<
4380        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError, R>,
4381    > for Error
4382where
4383    R: Send + Sync + std::fmt::Debug + 'static,
4384{
4385    fn from(
4386        err: ::aws_smithy_runtime_api::client::result::SdkError<
4387            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError,
4388            R,
4389        >,
4390    ) -> Self {
4391        match err {
4392            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4393            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4394                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4395                source: err.into(),
4396            }),
4397        }
4398    }
4399}
4400impl From<crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError> for Error {
4401    fn from(err: crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError) -> Self {
4402        match err {
4403            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::ClusterNotFoundFault(inner) => {
4404                Error::ClusterNotFoundFault(inner)
4405            }
4406            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::CustomCnameAssociationFault(inner) => {
4407                Error::CustomCnameAssociationFault(inner)
4408            }
4409            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::CustomDomainAssociationNotFoundFault(inner) => {
4410                Error::CustomDomainAssociationNotFoundFault(inner)
4411            }
4412            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::UnsupportedOperationFault(inner) => {
4413                Error::UnsupportedOperationFault(inner)
4414            }
4415            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4416        }
4417    }
4418}
4419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_endpoint_access::ModifyEndpointAccessError, R>> for Error
4420where
4421    R: Send + Sync + std::fmt::Debug + 'static,
4422{
4423    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_endpoint_access::ModifyEndpointAccessError, R>) -> Self {
4424        match err {
4425            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4426            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4427                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4428                source: err.into(),
4429            }),
4430        }
4431    }
4432}
4433impl From<crate::operation::modify_endpoint_access::ModifyEndpointAccessError> for Error {
4434    fn from(err: crate::operation::modify_endpoint_access::ModifyEndpointAccessError) -> Self {
4435        match err {
4436            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4437            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::EndpointNotFoundFault(inner) => Error::EndpointNotFoundFault(inner),
4438            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
4439                Error::InvalidClusterSecurityGroupStateFault(inner)
4440            }
4441            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::InvalidClusterStateFault(inner) => {
4442                Error::InvalidClusterStateFault(inner)
4443            }
4444            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::InvalidEndpointStateFault(inner) => {
4445                Error::InvalidEndpointStateFault(inner)
4446            }
4447            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
4448            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
4449        }
4450    }
4451}
4452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_event_subscription::ModifyEventSubscriptionError, R>>
4453    for Error
4454where
4455    R: Send + Sync + std::fmt::Debug + 'static,
4456{
4457    fn from(
4458        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_event_subscription::ModifyEventSubscriptionError, R>,
4459    ) -> Self {
4460        match err {
4461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4464                source: err.into(),
4465            }),
4466        }
4467    }
4468}
4469impl From<crate::operation::modify_event_subscription::ModifyEventSubscriptionError> for Error {
4470    fn from(err: crate::operation::modify_event_subscription::ModifyEventSubscriptionError) -> Self {
4471        match err {
4472            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::InvalidSubscriptionStateFault(inner) => {
4473                Error::InvalidSubscriptionStateFault(inner)
4474            }
4475            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsInvalidTopicFault(inner) => {
4476                Error::SnsInvalidTopicFault(inner)
4477            }
4478            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsNoAuthorizationFault(inner) => {
4479                Error::SnsNoAuthorizationFault(inner)
4480            }
4481            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsTopicArnNotFoundFault(inner) => {
4482                Error::SnsTopicArnNotFoundFault(inner)
4483            }
4484            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SourceNotFoundFault(inner) => {
4485                Error::SourceNotFoundFault(inner)
4486            }
4487            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionCategoryNotFoundFault(inner) => {
4488                Error::SubscriptionCategoryNotFoundFault(inner)
4489            }
4490            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionEventIdNotFoundFault(inner) => {
4491                Error::SubscriptionEventIdNotFoundFault(inner)
4492            }
4493            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionNotFoundFault(inner) => {
4494                Error::SubscriptionNotFoundFault(inner)
4495            }
4496            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionSeverityNotFoundFault(inner) => {
4497                Error::SubscriptionSeverityNotFoundFault(inner)
4498            }
4499            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
4500        }
4501    }
4502}
4503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
4504where
4505    R: Send + Sync + std::fmt::Debug + 'static,
4506{
4507    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
4508        match err {
4509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4512                source: err.into(),
4513            }),
4514        }
4515    }
4516}
4517impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
4518    fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
4519        match err {
4520            crate::operation::modify_integration::ModifyIntegrationError::IntegrationAlreadyExistsFault(inner) => {
4521                Error::IntegrationAlreadyExistsFault(inner)
4522            }
4523            crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
4524                Error::IntegrationConflictOperationFault(inner)
4525            }
4526            crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictStateFault(inner) => {
4527                Error::IntegrationConflictStateFault(inner)
4528            }
4529            crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
4530            crate::operation::modify_integration::ModifyIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4531            crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
4532        }
4533    }
4534}
4535impl<R>
4536    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError, R>>
4537    for Error
4538where
4539    R: Send + Sync + std::fmt::Debug + 'static,
4540{
4541    fn from(
4542        err: ::aws_smithy_runtime_api::client::result::SdkError<
4543            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError,
4544            R,
4545        >,
4546    ) -> Self {
4547        match err {
4548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4551                source: err.into(),
4552            }),
4553        }
4554    }
4555}
4556impl From<crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError> for Error {
4557    fn from(err: crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError) -> Self {
4558        match err {
4559            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::DependentServiceAccessDeniedFault(inner) => {
4560                Error::DependentServiceAccessDeniedFault(inner)
4561            }
4562            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::DependentServiceUnavailableFault(inner) => {
4563                Error::DependentServiceUnavailableFault(inner)
4564            }
4565            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::RedshiftIdcApplicationNotExistsFault(inner) => {
4566                Error::RedshiftIdcApplicationNotExistsFault(inner)
4567            }
4568            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::UnsupportedOperationFault(inner) => {
4569                Error::UnsupportedOperationFault(inner)
4570            }
4571            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::Unhandled(inner) => Error::Unhandled(inner),
4572        }
4573    }
4574}
4575impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_scheduled_action::ModifyScheduledActionError, R>> for Error
4576where
4577    R: Send + Sync + std::fmt::Debug + 'static,
4578{
4579    fn from(
4580        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_scheduled_action::ModifyScheduledActionError, R>,
4581    ) -> Self {
4582        match err {
4583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4586                source: err.into(),
4587            }),
4588        }
4589    }
4590}
4591impl From<crate::operation::modify_scheduled_action::ModifyScheduledActionError> for Error {
4592    fn from(err: crate::operation::modify_scheduled_action::ModifyScheduledActionError) -> Self {
4593        match err {
4594            crate::operation::modify_scheduled_action::ModifyScheduledActionError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4595            crate::operation::modify_scheduled_action::ModifyScheduledActionError::InvalidScheduledActionFault(inner) => {
4596                Error::InvalidScheduledActionFault(inner)
4597            }
4598            crate::operation::modify_scheduled_action::ModifyScheduledActionError::InvalidScheduleFault(inner) => Error::InvalidScheduleFault(inner),
4599            crate::operation::modify_scheduled_action::ModifyScheduledActionError::ScheduledActionNotFoundFault(inner) => {
4600                Error::ScheduledActionNotFoundFault(inner)
4601            }
4602            crate::operation::modify_scheduled_action::ModifyScheduledActionError::ScheduledActionTypeUnsupportedFault(inner) => {
4603                Error::ScheduledActionTypeUnsupportedFault(inner)
4604            }
4605            crate::operation::modify_scheduled_action::ModifyScheduledActionError::UnauthorizedOperation(inner) => {
4606                Error::UnauthorizedOperation(inner)
4607            }
4608            crate::operation::modify_scheduled_action::ModifyScheduledActionError::UnsupportedOperationFault(inner) => {
4609                Error::UnsupportedOperationFault(inner)
4610            }
4611            crate::operation::modify_scheduled_action::ModifyScheduledActionError::Unhandled(inner) => Error::Unhandled(inner),
4612        }
4613    }
4614}
4615impl<R>
4616    From<
4617        ::aws_smithy_runtime_api::client::result::SdkError<
4618            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError,
4619            R,
4620        >,
4621    > for Error
4622where
4623    R: Send + Sync + std::fmt::Debug + 'static,
4624{
4625    fn from(
4626        err: ::aws_smithy_runtime_api::client::result::SdkError<
4627            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError,
4628            R,
4629        >,
4630    ) -> Self {
4631        match err {
4632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4635                source: err.into(),
4636            }),
4637        }
4638    }
4639}
4640impl From<crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError> for Error {
4641    fn from(err: crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError) -> Self {
4642        match err {
4643            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::ClusterNotFoundFault(inner) => {
4644                Error::ClusterNotFoundFault(inner)
4645            }
4646            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::InvalidClusterStateFault(inner) => {
4647                Error::InvalidClusterStateFault(inner)
4648            }
4649            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::InvalidRetentionPeriodFault(inner) => {
4650                Error::InvalidRetentionPeriodFault(inner)
4651            }
4652            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::SnapshotCopyDisabledFault(inner) => {
4653                Error::SnapshotCopyDisabledFault(inner)
4654            }
4655            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::UnauthorizedOperation(inner) => {
4656                Error::UnauthorizedOperation(inner)
4657            }
4658            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::Unhandled(inner) => {
4659                Error::Unhandled(inner)
4660            }
4661        }
4662    }
4663}
4664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError, R>> for Error
4665where
4666    R: Send + Sync + std::fmt::Debug + 'static,
4667{
4668    fn from(
4669        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError, R>,
4670    ) -> Self {
4671        match err {
4672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4675                source: err.into(),
4676            }),
4677        }
4678    }
4679}
4680impl From<crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError> for Error {
4681    fn from(err: crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError) -> Self {
4682        match err {
4683            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::InvalidScheduleFault(inner) => {
4684                Error::InvalidScheduleFault(inner)
4685            }
4686            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::SnapshotScheduleNotFoundFault(inner) => {
4687                Error::SnapshotScheduleNotFoundFault(inner)
4688            }
4689            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::SnapshotScheduleUpdateInProgressFault(inner) => {
4690                Error::SnapshotScheduleUpdateInProgressFault(inner)
4691            }
4692            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4693        }
4694    }
4695}
4696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_usage_limit::ModifyUsageLimitError, R>> for Error
4697where
4698    R: Send + Sync + std::fmt::Debug + 'static,
4699{
4700    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_usage_limit::ModifyUsageLimitError, R>) -> Self {
4701        match err {
4702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4705                source: err.into(),
4706            }),
4707        }
4708    }
4709}
4710impl From<crate::operation::modify_usage_limit::ModifyUsageLimitError> for Error {
4711    fn from(err: crate::operation::modify_usage_limit::ModifyUsageLimitError) -> Self {
4712        match err {
4713            crate::operation::modify_usage_limit::ModifyUsageLimitError::InvalidUsageLimitFault(inner) => Error::InvalidUsageLimitFault(inner),
4714            crate::operation::modify_usage_limit::ModifyUsageLimitError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4715            crate::operation::modify_usage_limit::ModifyUsageLimitError::UsageLimitNotFoundFault(inner) => Error::UsageLimitNotFoundFault(inner),
4716            crate::operation::modify_usage_limit::ModifyUsageLimitError::Unhandled(inner) => Error::Unhandled(inner),
4717        }
4718    }
4719}
4720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::pause_cluster::PauseClusterError, R>> for Error
4721where
4722    R: Send + Sync + std::fmt::Debug + 'static,
4723{
4724    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::pause_cluster::PauseClusterError, R>) -> Self {
4725        match err {
4726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4729                source: err.into(),
4730            }),
4731        }
4732    }
4733}
4734impl From<crate::operation::pause_cluster::PauseClusterError> for Error {
4735    fn from(err: crate::operation::pause_cluster::PauseClusterError) -> Self {
4736        match err {
4737            crate::operation::pause_cluster::PauseClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4738            crate::operation::pause_cluster::PauseClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4739            crate::operation::pause_cluster::PauseClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4740            crate::operation::pause_cluster::PauseClusterError::Unhandled(inner) => Error::Unhandled(inner),
4741        }
4742    }
4743}
4744impl<R>
4745    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError, R>>
4746    for Error
4747where
4748    R: Send + Sync + std::fmt::Debug + 'static,
4749{
4750    fn from(
4751        err: ::aws_smithy_runtime_api::client::result::SdkError<
4752            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError,
4753            R,
4754        >,
4755    ) -> Self {
4756        match err {
4757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4760                source: err.into(),
4761            }),
4762        }
4763    }
4764}
4765impl From<crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError> for Error {
4766    fn from(err: crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError) -> Self {
4767        match err {
4768            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::ReservedNodeAlreadyExistsFault(inner) => {
4769                Error::ReservedNodeAlreadyExistsFault(inner)
4770            }
4771            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::ReservedNodeOfferingNotFoundFault(inner) => {
4772                Error::ReservedNodeOfferingNotFoundFault(inner)
4773            }
4774            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::ReservedNodeQuotaExceededFault(inner) => {
4775                Error::ReservedNodeQuotaExceededFault(inner)
4776            }
4777            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::UnsupportedOperationFault(inner) => {
4778                Error::UnsupportedOperationFault(inner)
4779            }
4780            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::Unhandled(inner) => Error::Unhandled(inner),
4781        }
4782    }
4783}
4784impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
4785where
4786    R: Send + Sync + std::fmt::Debug + 'static,
4787{
4788    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
4789        match err {
4790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4793                source: err.into(),
4794            }),
4795        }
4796    }
4797}
4798impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
4799    fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
4800        match err {
4801            crate::operation::put_resource_policy::PutResourcePolicyError::ConflictPolicyUpdateFault(inner) => {
4802                Error::ConflictPolicyUpdateFault(inner)
4803            }
4804            crate::operation::put_resource_policy::PutResourcePolicyError::InvalidPolicyFault(inner) => Error::InvalidPolicyFault(inner),
4805            crate::operation::put_resource_policy::PutResourcePolicyError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
4806            crate::operation::put_resource_policy::PutResourcePolicyError::UnsupportedOperationFault(inner) => {
4807                Error::UnsupportedOperationFault(inner)
4808            }
4809            crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4810        }
4811    }
4812}
4813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_cluster::RebootClusterError, R>> for Error
4814where
4815    R: Send + Sync + std::fmt::Debug + 'static,
4816{
4817    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_cluster::RebootClusterError, R>) -> Self {
4818        match err {
4819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4822                source: err.into(),
4823            }),
4824        }
4825    }
4826}
4827impl From<crate::operation::reboot_cluster::RebootClusterError> for Error {
4828    fn from(err: crate::operation::reboot_cluster::RebootClusterError) -> Self {
4829        match err {
4830            crate::operation::reboot_cluster::RebootClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4831            crate::operation::reboot_cluster::RebootClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4832            crate::operation::reboot_cluster::RebootClusterError::Unhandled(inner) => Error::Unhandled(inner),
4833        }
4834    }
4835}
4836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_namespace::RegisterNamespaceError, R>> for Error
4837where
4838    R: Send + Sync + std::fmt::Debug + 'static,
4839{
4840    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_namespace::RegisterNamespaceError, R>) -> Self {
4841        match err {
4842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4845                source: err.into(),
4846            }),
4847        }
4848    }
4849}
4850impl From<crate::operation::register_namespace::RegisterNamespaceError> for Error {
4851    fn from(err: crate::operation::register_namespace::RegisterNamespaceError) -> Self {
4852        match err {
4853            crate::operation::register_namespace::RegisterNamespaceError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4854            crate::operation::register_namespace::RegisterNamespaceError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4855            crate::operation::register_namespace::RegisterNamespaceError::InvalidNamespaceFault(inner) => Error::InvalidNamespaceFault(inner),
4856            crate::operation::register_namespace::RegisterNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
4857        }
4858    }
4859}
4860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_data_share::RejectDataShareError, R>> for Error
4861where
4862    R: Send + Sync + std::fmt::Debug + 'static,
4863{
4864    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_data_share::RejectDataShareError, R>) -> Self {
4865        match err {
4866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4869                source: err.into(),
4870            }),
4871        }
4872    }
4873}
4874impl From<crate::operation::reject_data_share::RejectDataShareError> for Error {
4875    fn from(err: crate::operation::reject_data_share::RejectDataShareError) -> Self {
4876        match err {
4877            crate::operation::reject_data_share::RejectDataShareError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
4878            crate::operation::reject_data_share::RejectDataShareError::Unhandled(inner) => Error::Unhandled(inner),
4879        }
4880    }
4881}
4882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError, R>>
4883    for Error
4884where
4885    R: Send + Sync + std::fmt::Debug + 'static,
4886{
4887    fn from(
4888        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError, R>,
4889    ) -> Self {
4890        match err {
4891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4894                source: err.into(),
4895            }),
4896        }
4897    }
4898}
4899impl From<crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError> for Error {
4900    fn from(err: crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError) -> Self {
4901        match err {
4902            crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError::ClusterParameterGroupNotFoundFault(inner) => {
4903                Error::ClusterParameterGroupNotFoundFault(inner)
4904            }
4905            crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError::InvalidClusterParameterGroupStateFault(inner) => {
4906                Error::InvalidClusterParameterGroupStateFault(inner)
4907            }
4908            crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
4909        }
4910    }
4911}
4912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resize_cluster::ResizeClusterError, R>> for Error
4913where
4914    R: Send + Sync + std::fmt::Debug + 'static,
4915{
4916    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resize_cluster::ResizeClusterError, R>) -> Self {
4917        match err {
4918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4921                source: err.into(),
4922            }),
4923        }
4924    }
4925}
4926impl From<crate::operation::resize_cluster::ResizeClusterError> for Error {
4927    fn from(err: crate::operation::resize_cluster::ResizeClusterError) -> Self {
4928        match err {
4929            crate::operation::resize_cluster::ResizeClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4930            crate::operation::resize_cluster::ResizeClusterError::DependentServiceUnavailableFault(inner) => {
4931                Error::DependentServiceUnavailableFault(inner)
4932            }
4933            crate::operation::resize_cluster::ResizeClusterError::InsufficientClusterCapacityFault(inner) => {
4934                Error::InsufficientClusterCapacityFault(inner)
4935            }
4936            crate::operation::resize_cluster::ResizeClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4937            crate::operation::resize_cluster::ResizeClusterError::InvalidReservedNodeStateFault(inner) => Error::InvalidReservedNodeStateFault(inner),
4938            crate::operation::resize_cluster::ResizeClusterError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
4939            crate::operation::resize_cluster::ResizeClusterError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
4940                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
4941            }
4942            crate::operation::resize_cluster::ResizeClusterError::NumberOfNodesQuotaExceededFault(inner) => {
4943                Error::NumberOfNodesQuotaExceededFault(inner)
4944            }
4945            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeAlreadyExistsFault(inner) => {
4946                Error::ReservedNodeAlreadyExistsFault(inner)
4947            }
4948            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeAlreadyMigratedFault(inner) => {
4949                Error::ReservedNodeAlreadyMigratedFault(inner)
4950            }
4951            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeNotFoundFault(inner) => Error::ReservedNodeNotFoundFault(inner),
4952            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeOfferingNotFoundFault(inner) => {
4953                Error::ReservedNodeOfferingNotFoundFault(inner)
4954            }
4955            crate::operation::resize_cluster::ResizeClusterError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
4956            crate::operation::resize_cluster::ResizeClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4957            crate::operation::resize_cluster::ResizeClusterError::UnsupportedOptionFault(inner) => Error::UnsupportedOptionFault(inner),
4958            crate::operation::resize_cluster::ResizeClusterError::Unhandled(inner) => Error::Unhandled(inner),
4959        }
4960    }
4961}
4962impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError, R>>
4963    for Error
4964where
4965    R: Send + Sync + std::fmt::Debug + 'static,
4966{
4967    fn from(
4968        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError, R>,
4969    ) -> Self {
4970        match err {
4971            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4972            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4973                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4974                source: err.into(),
4975            }),
4976        }
4977    }
4978}
4979impl From<crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError> for Error {
4980    fn from(err: crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError) -> Self {
4981        match err {
4982            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::AccessToSnapshotDeniedFault(inner) => {
4983                Error::AccessToSnapshotDeniedFault(inner)
4984            }
4985            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterAlreadyExistsFault(inner) => {
4986                Error::ClusterAlreadyExistsFault(inner)
4987            }
4988            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterParameterGroupNotFoundFault(inner) => {
4989                Error::ClusterParameterGroupNotFoundFault(inner)
4990            }
4991            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterQuotaExceededFault(inner) => {
4992                Error::ClusterQuotaExceededFault(inner)
4993            }
4994            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterSecurityGroupNotFoundFault(inner) => {
4995                Error::ClusterSecurityGroupNotFoundFault(inner)
4996            }
4997            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
4998                Error::ClusterSnapshotNotFoundFault(inner)
4999            }
5000            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterSubnetGroupNotFoundFault(inner) => {
5001                Error::ClusterSubnetGroupNotFoundFault(inner)
5002            }
5003            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::DependentServiceRequestThrottlingFault(inner) => {
5004                Error::DependentServiceRequestThrottlingFault(inner)
5005            }
5006            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::DependentServiceUnavailableFault(inner) => {
5007                Error::DependentServiceUnavailableFault(inner)
5008            }
5009            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::HsmClientCertificateNotFoundFault(inner) => {
5010                Error::HsmClientCertificateNotFoundFault(inner)
5011            }
5012            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::HsmConfigurationNotFoundFault(inner) => {
5013                Error::HsmConfigurationNotFoundFault(inner)
5014            }
5015            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InsufficientClusterCapacityFault(inner) => {
5016                Error::InsufficientClusterCapacityFault(inner)
5017            }
5018            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
5019                Error::InvalidClusterSnapshotStateFault(inner)
5020            }
5021            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidClusterSubnetGroupStateFault(inner) => {
5022                Error::InvalidClusterSubnetGroupStateFault(inner)
5023            }
5024            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidClusterTrackFault(inner) => {
5025                Error::InvalidClusterTrackFault(inner)
5026            }
5027            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidElasticIpFault(inner) => {
5028                Error::InvalidElasticIpFault(inner)
5029            }
5030            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidReservedNodeStateFault(inner) => {
5031                Error::InvalidReservedNodeStateFault(inner)
5032            }
5033            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidRestoreFault(inner) => {
5034                Error::InvalidRestoreFault(inner)
5035            }
5036            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
5037            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
5038            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidVpcNetworkStateFault(inner) => {
5039                Error::InvalidVpcNetworkStateFault(inner)
5040            }
5041            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::Ipv6CidrBlockNotFoundFault(inner) => {
5042                Error::Ipv6CidrBlockNotFoundFault(inner)
5043            }
5044            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::LimitExceededFault(inner) => {
5045                Error::LimitExceededFault(inner)
5046            }
5047            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
5048                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
5049            }
5050            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::NumberOfNodesQuotaExceededFault(inner) => {
5051                Error::NumberOfNodesQuotaExceededFault(inner)
5052            }
5053            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeAlreadyExistsFault(inner) => {
5054                Error::ReservedNodeAlreadyExistsFault(inner)
5055            }
5056            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeAlreadyMigratedFault(inner) => {
5057                Error::ReservedNodeAlreadyMigratedFault(inner)
5058            }
5059            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeNotFoundFault(inner) => {
5060                Error::ReservedNodeNotFoundFault(inner)
5061            }
5062            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeOfferingNotFoundFault(inner) => {
5063                Error::ReservedNodeOfferingNotFoundFault(inner)
5064            }
5065            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::SnapshotScheduleNotFoundFault(inner) => {
5066                Error::SnapshotScheduleNotFoundFault(inner)
5067            }
5068            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::TagLimitExceededFault(inner) => {
5069                Error::TagLimitExceededFault(inner)
5070            }
5071            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::UnauthorizedOperation(inner) => {
5072                Error::UnauthorizedOperation(inner)
5073            }
5074            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::UnsupportedOperationFault(inner) => {
5075                Error::UnsupportedOperationFault(inner)
5076            }
5077            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5078        }
5079    }
5080}
5081impl<R>
5082    From<
5083        ::aws_smithy_runtime_api::client::result::SdkError<
5084            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError,
5085            R,
5086        >,
5087    > for Error
5088where
5089    R: Send + Sync + std::fmt::Debug + 'static,
5090{
5091    fn from(
5092        err: ::aws_smithy_runtime_api::client::result::SdkError<
5093            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError,
5094            R,
5095        >,
5096    ) -> Self {
5097        match err {
5098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5101                source: err.into(),
5102            }),
5103        }
5104    }
5105}
5106impl From<crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError> for Error {
5107    fn from(err: crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError) -> Self {
5108        match err {
5109            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::ClusterNotFoundFault(inner) => {
5110                Error::ClusterNotFoundFault(inner)
5111            }
5112            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
5113                Error::ClusterSnapshotNotFoundFault(inner)
5114            }
5115            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InProgressTableRestoreQuotaExceededFault(
5116                inner,
5117            ) => Error::InProgressTableRestoreQuotaExceededFault(inner),
5118            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
5119                Error::InvalidClusterSnapshotStateFault(inner)
5120            }
5121            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InvalidClusterStateFault(inner) => {
5122                Error::InvalidClusterStateFault(inner)
5123            }
5124            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InvalidTableRestoreArgumentFault(inner) => {
5125                Error::InvalidTableRestoreArgumentFault(inner)
5126            }
5127            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::UnsupportedOperationFault(inner) => {
5128                Error::UnsupportedOperationFault(inner)
5129            }
5130            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5131        }
5132    }
5133}
5134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_cluster::ResumeClusterError, R>> for Error
5135where
5136    R: Send + Sync + std::fmt::Debug + 'static,
5137{
5138    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_cluster::ResumeClusterError, R>) -> Self {
5139        match err {
5140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5143                source: err.into(),
5144            }),
5145        }
5146    }
5147}
5148impl From<crate::operation::resume_cluster::ResumeClusterError> for Error {
5149    fn from(err: crate::operation::resume_cluster::ResumeClusterError) -> Self {
5150        match err {
5151            crate::operation::resume_cluster::ResumeClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5152            crate::operation::resume_cluster::ResumeClusterError::InsufficientClusterCapacityFault(inner) => {
5153                Error::InsufficientClusterCapacityFault(inner)
5154            }
5155            crate::operation::resume_cluster::ResumeClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
5156            crate::operation::resume_cluster::ResumeClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
5157            crate::operation::resume_cluster::ResumeClusterError::Unhandled(inner) => Error::Unhandled(inner),
5158        }
5159    }
5160}
5161impl<R>
5162    From<
5163        ::aws_smithy_runtime_api::client::result::SdkError<
5164            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError,
5165            R,
5166        >,
5167    > for Error
5168where
5169    R: Send + Sync + std::fmt::Debug + 'static,
5170{
5171    fn from(
5172        err: ::aws_smithy_runtime_api::client::result::SdkError<
5173            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError,
5174            R,
5175        >,
5176    ) -> Self {
5177        match err {
5178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5181                source: err.into(),
5182            }),
5183        }
5184    }
5185}
5186impl From<crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError> for Error {
5187    fn from(err: crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError) -> Self {
5188        match err {
5189            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::AuthorizationNotFoundFault(inner) => Error::AuthorizationNotFoundFault(inner),
5190            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::ClusterSecurityGroupNotFoundFault(inner) => Error::ClusterSecurityGroupNotFoundFault(inner),
5191            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::InvalidClusterSecurityGroupStateFault(inner) => Error::InvalidClusterSecurityGroupStateFault(inner),
5192            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
5193        }
5194    }
5195}
5196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_endpoint_access::RevokeEndpointAccessError, R>> for Error
5197where
5198    R: Send + Sync + std::fmt::Debug + 'static,
5199{
5200    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_endpoint_access::RevokeEndpointAccessError, R>) -> Self {
5201        match err {
5202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5205                source: err.into(),
5206            }),
5207        }
5208    }
5209}
5210impl From<crate::operation::revoke_endpoint_access::RevokeEndpointAccessError> for Error {
5211    fn from(err: crate::operation::revoke_endpoint_access::RevokeEndpointAccessError) -> Self {
5212        match err {
5213            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5214            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::EndpointAuthorizationNotFoundFault(inner) => {
5215                Error::EndpointAuthorizationNotFoundFault(inner)
5216            }
5217            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::EndpointNotFoundFault(inner) => Error::EndpointNotFoundFault(inner),
5218            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidAuthorizationStateFault(inner) => {
5219                Error::InvalidAuthorizationStateFault(inner)
5220            }
5221            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
5222                Error::InvalidClusterSecurityGroupStateFault(inner)
5223            }
5224            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidClusterStateFault(inner) => {
5225                Error::InvalidClusterStateFault(inner)
5226            }
5227            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidEndpointStateFault(inner) => {
5228                Error::InvalidEndpointStateFault(inner)
5229            }
5230            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
5231        }
5232    }
5233}
5234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError, R>> for Error
5235where
5236    R: Send + Sync + std::fmt::Debug + 'static,
5237{
5238    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError, R>) -> Self {
5239        match err {
5240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5243                source: err.into(),
5244            }),
5245        }
5246    }
5247}
5248impl From<crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError> for Error {
5249    fn from(err: crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError) -> Self {
5250        match err {
5251            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::AccessToSnapshotDeniedFault(inner) => {
5252                Error::AccessToSnapshotDeniedFault(inner)
5253            }
5254            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::AuthorizationNotFoundFault(inner) => {
5255                Error::AuthorizationNotFoundFault(inner)
5256            }
5257            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::ClusterSnapshotNotFoundFault(inner) => {
5258                Error::ClusterSnapshotNotFoundFault(inner)
5259            }
5260            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::UnsupportedOperationFault(inner) => {
5261                Error::UnsupportedOperationFault(inner)
5262            }
5263            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::Unhandled(inner) => Error::Unhandled(inner),
5264        }
5265    }
5266}
5267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::rotate_encryption_key::RotateEncryptionKeyError, R>> for Error
5268where
5269    R: Send + Sync + std::fmt::Debug + 'static,
5270{
5271    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::rotate_encryption_key::RotateEncryptionKeyError, R>) -> Self {
5272        match err {
5273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5276                source: err.into(),
5277            }),
5278        }
5279    }
5280}
5281impl From<crate::operation::rotate_encryption_key::RotateEncryptionKeyError> for Error {
5282    fn from(err: crate::operation::rotate_encryption_key::RotateEncryptionKeyError) -> Self {
5283        match err {
5284            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5285            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::DependentServiceRequestThrottlingFault(inner) => {
5286                Error::DependentServiceRequestThrottlingFault(inner)
5287            }
5288            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::InvalidClusterStateFault(inner) => {
5289                Error::InvalidClusterStateFault(inner)
5290            }
5291            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::UnsupportedOperationFault(inner) => {
5292                Error::UnsupportedOperationFault(inner)
5293            }
5294            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::Unhandled(inner) => Error::Unhandled(inner),
5295        }
5296    }
5297}
5298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_status::UpdatePartnerStatusError, R>> for Error
5299where
5300    R: Send + Sync + std::fmt::Debug + 'static,
5301{
5302    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_status::UpdatePartnerStatusError, R>) -> Self {
5303        match err {
5304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5307                source: err.into(),
5308            }),
5309        }
5310    }
5311}
5312impl From<crate::operation::update_partner_status::UpdatePartnerStatusError> for Error {
5313    fn from(err: crate::operation::update_partner_status::UpdatePartnerStatusError) -> Self {
5314        match err {
5315            crate::operation::update_partner_status::UpdatePartnerStatusError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5316            crate::operation::update_partner_status::UpdatePartnerStatusError::PartnerNotFoundFault(inner) => Error::PartnerNotFoundFault(inner),
5317            crate::operation::update_partner_status::UpdatePartnerStatusError::UnauthorizedPartnerIntegrationFault(inner) => {
5318                Error::UnauthorizedPartnerIntegrationFault(inner)
5319            }
5320            crate::operation::update_partner_status::UpdatePartnerStatusError::UnsupportedOperationFault(inner) => {
5321                Error::UnsupportedOperationFault(inner)
5322            }
5323            crate::operation::update_partner_status::UpdatePartnerStatusError::Unhandled(inner) => Error::Unhandled(inner),
5324        }
5325    }
5326}
5327impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
5328where
5329    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
5330    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
5331{
5332    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
5333        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5334            meta: ::std::default::Default::default(),
5335            source: err.into(),
5336        })
5337    }
5338}
5339impl ::std::error::Error for Error {
5340    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
5341        match self {
5342            Error::AccessToClusterDeniedFault(inner) => inner.source(),
5343            Error::AccessToSnapshotDeniedFault(inner) => inner.source(),
5344            Error::AuthenticationProfileAlreadyExistsFault(inner) => inner.source(),
5345            Error::AuthenticationProfileNotFoundFault(inner) => inner.source(),
5346            Error::AuthenticationProfileQuotaExceededFault(inner) => inner.source(),
5347            Error::AuthorizationAlreadyExistsFault(inner) => inner.source(),
5348            Error::AuthorizationNotFoundFault(inner) => inner.source(),
5349            Error::AuthorizationQuotaExceededFault(inner) => inner.source(),
5350            Error::BatchDeleteRequestSizeExceededFault(inner) => inner.source(),
5351            Error::BatchModifyClusterSnapshotsLimitExceededFault(inner) => inner.source(),
5352            Error::BucketNotFoundFault(inner) => inner.source(),
5353            Error::ClusterAlreadyExistsFault(inner) => inner.source(),
5354            Error::ClusterNotFoundFault(inner) => inner.source(),
5355            Error::ClusterOnLatestRevisionFault(inner) => inner.source(),
5356            Error::ClusterParameterGroupAlreadyExistsFault(inner) => inner.source(),
5357            Error::ClusterParameterGroupNotFoundFault(inner) => inner.source(),
5358            Error::ClusterParameterGroupQuotaExceededFault(inner) => inner.source(),
5359            Error::ClusterQuotaExceededFault(inner) => inner.source(),
5360            Error::ClusterSecurityGroupAlreadyExistsFault(inner) => inner.source(),
5361            Error::ClusterSecurityGroupNotFoundFault(inner) => inner.source(),
5362            Error::ClusterSecurityGroupQuotaExceededFault(inner) => inner.source(),
5363            Error::ClusterSnapshotAlreadyExistsFault(inner) => inner.source(),
5364            Error::ClusterSnapshotNotFoundFault(inner) => inner.source(),
5365            Error::ClusterSnapshotQuotaExceededFault(inner) => inner.source(),
5366            Error::ClusterSubnetGroupAlreadyExistsFault(inner) => inner.source(),
5367            Error::ClusterSubnetGroupNotFoundFault(inner) => inner.source(),
5368            Error::ClusterSubnetGroupQuotaExceededFault(inner) => inner.source(),
5369            Error::ClusterSubnetQuotaExceededFault(inner) => inner.source(),
5370            Error::ConflictPolicyUpdateFault(inner) => inner.source(),
5371            Error::CopyToRegionDisabledFault(inner) => inner.source(),
5372            Error::CustomCnameAssociationFault(inner) => inner.source(),
5373            Error::CustomDomainAssociationNotFoundFault(inner) => inner.source(),
5374            Error::DependentServiceAccessDeniedFault(inner) => inner.source(),
5375            Error::DependentServiceRequestThrottlingFault(inner) => inner.source(),
5376            Error::DependentServiceUnavailableFault(inner) => inner.source(),
5377            Error::EndpointAlreadyExistsFault(inner) => inner.source(),
5378            Error::EndpointAuthorizationAlreadyExistsFault(inner) => inner.source(),
5379            Error::EndpointAuthorizationNotFoundFault(inner) => inner.source(),
5380            Error::EndpointAuthorizationsPerClusterLimitExceededFault(inner) => inner.source(),
5381            Error::EndpointNotFoundFault(inner) => inner.source(),
5382            Error::EndpointsPerAuthorizationLimitExceededFault(inner) => inner.source(),
5383            Error::EndpointsPerClusterLimitExceededFault(inner) => inner.source(),
5384            Error::EventSubscriptionQuotaExceededFault(inner) => inner.source(),
5385            Error::HsmClientCertificateAlreadyExistsFault(inner) => inner.source(),
5386            Error::HsmClientCertificateNotFoundFault(inner) => inner.source(),
5387            Error::HsmClientCertificateQuotaExceededFault(inner) => inner.source(),
5388            Error::HsmConfigurationAlreadyExistsFault(inner) => inner.source(),
5389            Error::HsmConfigurationNotFoundFault(inner) => inner.source(),
5390            Error::HsmConfigurationQuotaExceededFault(inner) => inner.source(),
5391            Error::InProgressTableRestoreQuotaExceededFault(inner) => inner.source(),
5392            Error::IncompatibleOrderableOptions(inner) => inner.source(),
5393            Error::InsufficientClusterCapacityFault(inner) => inner.source(),
5394            Error::InsufficientS3BucketPolicyFault(inner) => inner.source(),
5395            Error::IntegrationAlreadyExistsFault(inner) => inner.source(),
5396            Error::IntegrationConflictOperationFault(inner) => inner.source(),
5397            Error::IntegrationConflictStateFault(inner) => inner.source(),
5398            Error::IntegrationNotFoundFault(inner) => inner.source(),
5399            Error::IntegrationQuotaExceededFault(inner) => inner.source(),
5400            Error::IntegrationSourceNotFoundFault(inner) => inner.source(),
5401            Error::IntegrationTargetNotFoundFault(inner) => inner.source(),
5402            Error::InvalidAuthenticationProfileRequestFault(inner) => inner.source(),
5403            Error::InvalidAuthorizationStateFault(inner) => inner.source(),
5404            Error::InvalidClusterParameterGroupStateFault(inner) => inner.source(),
5405            Error::InvalidClusterSecurityGroupStateFault(inner) => inner.source(),
5406            Error::InvalidClusterSnapshotScheduleStateFault(inner) => inner.source(),
5407            Error::InvalidClusterSnapshotStateFault(inner) => inner.source(),
5408            Error::InvalidClusterStateFault(inner) => inner.source(),
5409            Error::InvalidClusterSubnetGroupStateFault(inner) => inner.source(),
5410            Error::InvalidClusterSubnetStateFault(inner) => inner.source(),
5411            Error::InvalidClusterTrackFault(inner) => inner.source(),
5412            Error::InvalidDataShareFault(inner) => inner.source(),
5413            Error::InvalidElasticIpFault(inner) => inner.source(),
5414            Error::InvalidEndpointStateFault(inner) => inner.source(),
5415            Error::InvalidHsmClientCertificateStateFault(inner) => inner.source(),
5416            Error::InvalidHsmConfigurationStateFault(inner) => inner.source(),
5417            Error::InvalidNamespaceFault(inner) => inner.source(),
5418            Error::InvalidPolicyFault(inner) => inner.source(),
5419            Error::InvalidReservedNodeStateFault(inner) => inner.source(),
5420            Error::InvalidRestoreFault(inner) => inner.source(),
5421            Error::InvalidRetentionPeriodFault(inner) => inner.source(),
5422            Error::InvalidS3BucketNameFault(inner) => inner.source(),
5423            Error::InvalidS3KeyPrefixFault(inner) => inner.source(),
5424            Error::InvalidScheduleFault(inner) => inner.source(),
5425            Error::InvalidScheduledActionFault(inner) => inner.source(),
5426            Error::InvalidSnapshotCopyGrantStateFault(inner) => inner.source(),
5427            Error::InvalidSubnet(inner) => inner.source(),
5428            Error::InvalidSubscriptionStateFault(inner) => inner.source(),
5429            Error::InvalidTableRestoreArgumentFault(inner) => inner.source(),
5430            Error::InvalidTagFault(inner) => inner.source(),
5431            Error::InvalidUsageLimitFault(inner) => inner.source(),
5432            Error::InvalidVpcNetworkStateFault(inner) => inner.source(),
5433            Error::Ipv6CidrBlockNotFoundFault(inner) => inner.source(),
5434            Error::LimitExceededFault(inner) => inner.source(),
5435            Error::NumberOfNodesPerClusterLimitExceededFault(inner) => inner.source(),
5436            Error::NumberOfNodesQuotaExceededFault(inner) => inner.source(),
5437            Error::PartnerNotFoundFault(inner) => inner.source(),
5438            Error::RedshiftIdcApplicationAlreadyExistsFault(inner) => inner.source(),
5439            Error::RedshiftIdcApplicationNotExistsFault(inner) => inner.source(),
5440            Error::RedshiftIdcApplicationQuotaExceededFault(inner) => inner.source(),
5441            Error::ReservedNodeAlreadyExistsFault(inner) => inner.source(),
5442            Error::ReservedNodeAlreadyMigratedFault(inner) => inner.source(),
5443            Error::ReservedNodeExchangeNotFoundFault(inner) => inner.source(),
5444            Error::ReservedNodeNotFoundFault(inner) => inner.source(),
5445            Error::ReservedNodeOfferingNotFoundFault(inner) => inner.source(),
5446            Error::ReservedNodeQuotaExceededFault(inner) => inner.source(),
5447            Error::ResizeNotFoundFault(inner) => inner.source(),
5448            Error::ResourceNotFoundFault(inner) => inner.source(),
5449            Error::SnsInvalidTopicFault(inner) => inner.source(),
5450            Error::SnsNoAuthorizationFault(inner) => inner.source(),
5451            Error::SnsTopicArnNotFoundFault(inner) => inner.source(),
5452            Error::ScheduleDefinitionTypeUnsupportedFault(inner) => inner.source(),
5453            Error::ScheduledActionAlreadyExistsFault(inner) => inner.source(),
5454            Error::ScheduledActionNotFoundFault(inner) => inner.source(),
5455            Error::ScheduledActionQuotaExceededFault(inner) => inner.source(),
5456            Error::ScheduledActionTypeUnsupportedFault(inner) => inner.source(),
5457            Error::SnapshotCopyAlreadyDisabledFault(inner) => inner.source(),
5458            Error::SnapshotCopyAlreadyEnabledFault(inner) => inner.source(),
5459            Error::SnapshotCopyDisabledFault(inner) => inner.source(),
5460            Error::SnapshotCopyGrantAlreadyExistsFault(inner) => inner.source(),
5461            Error::SnapshotCopyGrantNotFoundFault(inner) => inner.source(),
5462            Error::SnapshotCopyGrantQuotaExceededFault(inner) => inner.source(),
5463            Error::SnapshotScheduleAlreadyExistsFault(inner) => inner.source(),
5464            Error::SnapshotScheduleNotFoundFault(inner) => inner.source(),
5465            Error::SnapshotScheduleQuotaExceededFault(inner) => inner.source(),
5466            Error::SnapshotScheduleUpdateInProgressFault(inner) => inner.source(),
5467            Error::SourceNotFoundFault(inner) => inner.source(),
5468            Error::SubnetAlreadyInUse(inner) => inner.source(),
5469            Error::SubscriptionAlreadyExistFault(inner) => inner.source(),
5470            Error::SubscriptionCategoryNotFoundFault(inner) => inner.source(),
5471            Error::SubscriptionEventIdNotFoundFault(inner) => inner.source(),
5472            Error::SubscriptionNotFoundFault(inner) => inner.source(),
5473            Error::SubscriptionSeverityNotFoundFault(inner) => inner.source(),
5474            Error::TableLimitExceededFault(inner) => inner.source(),
5475            Error::TableRestoreNotFoundFault(inner) => inner.source(),
5476            Error::TagLimitExceededFault(inner) => inner.source(),
5477            Error::UnauthorizedOperation(inner) => inner.source(),
5478            Error::UnauthorizedPartnerIntegrationFault(inner) => inner.source(),
5479            Error::UnknownSnapshotCopyRegionFault(inner) => inner.source(),
5480            Error::UnsupportedOperationFault(inner) => inner.source(),
5481            Error::UnsupportedOptionFault(inner) => inner.source(),
5482            Error::UsageLimitAlreadyExistsFault(inner) => inner.source(),
5483            Error::UsageLimitNotFoundFault(inner) => inner.source(),
5484            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
5485        }
5486    }
5487}
5488impl ::aws_types::request_id::RequestId for Error {
5489    fn request_id(&self) -> Option<&str> {
5490        match self {
5491            Self::AccessToClusterDeniedFault(e) => e.request_id(),
5492            Self::AccessToSnapshotDeniedFault(e) => e.request_id(),
5493            Self::AuthenticationProfileAlreadyExistsFault(e) => e.request_id(),
5494            Self::AuthenticationProfileNotFoundFault(e) => e.request_id(),
5495            Self::AuthenticationProfileQuotaExceededFault(e) => e.request_id(),
5496            Self::AuthorizationAlreadyExistsFault(e) => e.request_id(),
5497            Self::AuthorizationNotFoundFault(e) => e.request_id(),
5498            Self::AuthorizationQuotaExceededFault(e) => e.request_id(),
5499            Self::BatchDeleteRequestSizeExceededFault(e) => e.request_id(),
5500            Self::BatchModifyClusterSnapshotsLimitExceededFault(e) => e.request_id(),
5501            Self::BucketNotFoundFault(e) => e.request_id(),
5502            Self::ClusterAlreadyExistsFault(e) => e.request_id(),
5503            Self::ClusterNotFoundFault(e) => e.request_id(),
5504            Self::ClusterOnLatestRevisionFault(e) => e.request_id(),
5505            Self::ClusterParameterGroupAlreadyExistsFault(e) => e.request_id(),
5506            Self::ClusterParameterGroupNotFoundFault(e) => e.request_id(),
5507            Self::ClusterParameterGroupQuotaExceededFault(e) => e.request_id(),
5508            Self::ClusterQuotaExceededFault(e) => e.request_id(),
5509            Self::ClusterSecurityGroupAlreadyExistsFault(e) => e.request_id(),
5510            Self::ClusterSecurityGroupNotFoundFault(e) => e.request_id(),
5511            Self::ClusterSecurityGroupQuotaExceededFault(e) => e.request_id(),
5512            Self::ClusterSnapshotAlreadyExistsFault(e) => e.request_id(),
5513            Self::ClusterSnapshotNotFoundFault(e) => e.request_id(),
5514            Self::ClusterSnapshotQuotaExceededFault(e) => e.request_id(),
5515            Self::ClusterSubnetGroupAlreadyExistsFault(e) => e.request_id(),
5516            Self::ClusterSubnetGroupNotFoundFault(e) => e.request_id(),
5517            Self::ClusterSubnetGroupQuotaExceededFault(e) => e.request_id(),
5518            Self::ClusterSubnetQuotaExceededFault(e) => e.request_id(),
5519            Self::ConflictPolicyUpdateFault(e) => e.request_id(),
5520            Self::CopyToRegionDisabledFault(e) => e.request_id(),
5521            Self::CustomCnameAssociationFault(e) => e.request_id(),
5522            Self::CustomDomainAssociationNotFoundFault(e) => e.request_id(),
5523            Self::DependentServiceAccessDeniedFault(e) => e.request_id(),
5524            Self::DependentServiceRequestThrottlingFault(e) => e.request_id(),
5525            Self::DependentServiceUnavailableFault(e) => e.request_id(),
5526            Self::EndpointAlreadyExistsFault(e) => e.request_id(),
5527            Self::EndpointAuthorizationAlreadyExistsFault(e) => e.request_id(),
5528            Self::EndpointAuthorizationNotFoundFault(e) => e.request_id(),
5529            Self::EndpointAuthorizationsPerClusterLimitExceededFault(e) => e.request_id(),
5530            Self::EndpointNotFoundFault(e) => e.request_id(),
5531            Self::EndpointsPerAuthorizationLimitExceededFault(e) => e.request_id(),
5532            Self::EndpointsPerClusterLimitExceededFault(e) => e.request_id(),
5533            Self::EventSubscriptionQuotaExceededFault(e) => e.request_id(),
5534            Self::HsmClientCertificateAlreadyExistsFault(e) => e.request_id(),
5535            Self::HsmClientCertificateNotFoundFault(e) => e.request_id(),
5536            Self::HsmClientCertificateQuotaExceededFault(e) => e.request_id(),
5537            Self::HsmConfigurationAlreadyExistsFault(e) => e.request_id(),
5538            Self::HsmConfigurationNotFoundFault(e) => e.request_id(),
5539            Self::HsmConfigurationQuotaExceededFault(e) => e.request_id(),
5540            Self::InProgressTableRestoreQuotaExceededFault(e) => e.request_id(),
5541            Self::IncompatibleOrderableOptions(e) => e.request_id(),
5542            Self::InsufficientClusterCapacityFault(e) => e.request_id(),
5543            Self::InsufficientS3BucketPolicyFault(e) => e.request_id(),
5544            Self::IntegrationAlreadyExistsFault(e) => e.request_id(),
5545            Self::IntegrationConflictOperationFault(e) => e.request_id(),
5546            Self::IntegrationConflictStateFault(e) => e.request_id(),
5547            Self::IntegrationNotFoundFault(e) => e.request_id(),
5548            Self::IntegrationQuotaExceededFault(e) => e.request_id(),
5549            Self::IntegrationSourceNotFoundFault(e) => e.request_id(),
5550            Self::IntegrationTargetNotFoundFault(e) => e.request_id(),
5551            Self::InvalidAuthenticationProfileRequestFault(e) => e.request_id(),
5552            Self::InvalidAuthorizationStateFault(e) => e.request_id(),
5553            Self::InvalidClusterParameterGroupStateFault(e) => e.request_id(),
5554            Self::InvalidClusterSecurityGroupStateFault(e) => e.request_id(),
5555            Self::InvalidClusterSnapshotScheduleStateFault(e) => e.request_id(),
5556            Self::InvalidClusterSnapshotStateFault(e) => e.request_id(),
5557            Self::InvalidClusterStateFault(e) => e.request_id(),
5558            Self::InvalidClusterSubnetGroupStateFault(e) => e.request_id(),
5559            Self::InvalidClusterSubnetStateFault(e) => e.request_id(),
5560            Self::InvalidClusterTrackFault(e) => e.request_id(),
5561            Self::InvalidDataShareFault(e) => e.request_id(),
5562            Self::InvalidElasticIpFault(e) => e.request_id(),
5563            Self::InvalidEndpointStateFault(e) => e.request_id(),
5564            Self::InvalidHsmClientCertificateStateFault(e) => e.request_id(),
5565            Self::InvalidHsmConfigurationStateFault(e) => e.request_id(),
5566            Self::InvalidNamespaceFault(e) => e.request_id(),
5567            Self::InvalidPolicyFault(e) => e.request_id(),
5568            Self::InvalidReservedNodeStateFault(e) => e.request_id(),
5569            Self::InvalidRestoreFault(e) => e.request_id(),
5570            Self::InvalidRetentionPeriodFault(e) => e.request_id(),
5571            Self::InvalidS3BucketNameFault(e) => e.request_id(),
5572            Self::InvalidS3KeyPrefixFault(e) => e.request_id(),
5573            Self::InvalidScheduleFault(e) => e.request_id(),
5574            Self::InvalidScheduledActionFault(e) => e.request_id(),
5575            Self::InvalidSnapshotCopyGrantStateFault(e) => e.request_id(),
5576            Self::InvalidSubnet(e) => e.request_id(),
5577            Self::InvalidSubscriptionStateFault(e) => e.request_id(),
5578            Self::InvalidTableRestoreArgumentFault(e) => e.request_id(),
5579            Self::InvalidTagFault(e) => e.request_id(),
5580            Self::InvalidUsageLimitFault(e) => e.request_id(),
5581            Self::InvalidVpcNetworkStateFault(e) => e.request_id(),
5582            Self::Ipv6CidrBlockNotFoundFault(e) => e.request_id(),
5583            Self::LimitExceededFault(e) => e.request_id(),
5584            Self::NumberOfNodesPerClusterLimitExceededFault(e) => e.request_id(),
5585            Self::NumberOfNodesQuotaExceededFault(e) => e.request_id(),
5586            Self::PartnerNotFoundFault(e) => e.request_id(),
5587            Self::RedshiftIdcApplicationAlreadyExistsFault(e) => e.request_id(),
5588            Self::RedshiftIdcApplicationNotExistsFault(e) => e.request_id(),
5589            Self::RedshiftIdcApplicationQuotaExceededFault(e) => e.request_id(),
5590            Self::ReservedNodeAlreadyExistsFault(e) => e.request_id(),
5591            Self::ReservedNodeAlreadyMigratedFault(e) => e.request_id(),
5592            Self::ReservedNodeExchangeNotFoundFault(e) => e.request_id(),
5593            Self::ReservedNodeNotFoundFault(e) => e.request_id(),
5594            Self::ReservedNodeOfferingNotFoundFault(e) => e.request_id(),
5595            Self::ReservedNodeQuotaExceededFault(e) => e.request_id(),
5596            Self::ResizeNotFoundFault(e) => e.request_id(),
5597            Self::ResourceNotFoundFault(e) => e.request_id(),
5598            Self::SnsInvalidTopicFault(e) => e.request_id(),
5599            Self::SnsNoAuthorizationFault(e) => e.request_id(),
5600            Self::SnsTopicArnNotFoundFault(e) => e.request_id(),
5601            Self::ScheduleDefinitionTypeUnsupportedFault(e) => e.request_id(),
5602            Self::ScheduledActionAlreadyExistsFault(e) => e.request_id(),
5603            Self::ScheduledActionNotFoundFault(e) => e.request_id(),
5604            Self::ScheduledActionQuotaExceededFault(e) => e.request_id(),
5605            Self::ScheduledActionTypeUnsupportedFault(e) => e.request_id(),
5606            Self::SnapshotCopyAlreadyDisabledFault(e) => e.request_id(),
5607            Self::SnapshotCopyAlreadyEnabledFault(e) => e.request_id(),
5608            Self::SnapshotCopyDisabledFault(e) => e.request_id(),
5609            Self::SnapshotCopyGrantAlreadyExistsFault(e) => e.request_id(),
5610            Self::SnapshotCopyGrantNotFoundFault(e) => e.request_id(),
5611            Self::SnapshotCopyGrantQuotaExceededFault(e) => e.request_id(),
5612            Self::SnapshotScheduleAlreadyExistsFault(e) => e.request_id(),
5613            Self::SnapshotScheduleNotFoundFault(e) => e.request_id(),
5614            Self::SnapshotScheduleQuotaExceededFault(e) => e.request_id(),
5615            Self::SnapshotScheduleUpdateInProgressFault(e) => e.request_id(),
5616            Self::SourceNotFoundFault(e) => e.request_id(),
5617            Self::SubnetAlreadyInUse(e) => e.request_id(),
5618            Self::SubscriptionAlreadyExistFault(e) => e.request_id(),
5619            Self::SubscriptionCategoryNotFoundFault(e) => e.request_id(),
5620            Self::SubscriptionEventIdNotFoundFault(e) => e.request_id(),
5621            Self::SubscriptionNotFoundFault(e) => e.request_id(),
5622            Self::SubscriptionSeverityNotFoundFault(e) => e.request_id(),
5623            Self::TableLimitExceededFault(e) => e.request_id(),
5624            Self::TableRestoreNotFoundFault(e) => e.request_id(),
5625            Self::TagLimitExceededFault(e) => e.request_id(),
5626            Self::UnauthorizedOperation(e) => e.request_id(),
5627            Self::UnauthorizedPartnerIntegrationFault(e) => e.request_id(),
5628            Self::UnknownSnapshotCopyRegionFault(e) => e.request_id(),
5629            Self::UnsupportedOperationFault(e) => e.request_id(),
5630            Self::UnsupportedOptionFault(e) => e.request_id(),
5631            Self::UsageLimitAlreadyExistsFault(e) => e.request_id(),
5632            Self::UsageLimitNotFoundFault(e) => e.request_id(),
5633            Self::Unhandled(e) => e.meta.request_id(),
5634        }
5635    }
5636}