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::InvalidTagFault(inner) => {
1519                Error::InvalidTagFault(inner)
1520            }
1521            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::RedshiftIdcApplicationAlreadyExistsFault(inner) => {
1522                Error::RedshiftIdcApplicationAlreadyExistsFault(inner)
1523            }
1524            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::RedshiftIdcApplicationQuotaExceededFault(inner) => {
1525                Error::RedshiftIdcApplicationQuotaExceededFault(inner)
1526            }
1527            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::TagLimitExceededFault(inner) => {
1528                Error::TagLimitExceededFault(inner)
1529            }
1530            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::UnsupportedOperationFault(inner) => {
1531                Error::UnsupportedOperationFault(inner)
1532            }
1533            crate::operation::create_redshift_idc_application::CreateRedshiftIdcApplicationError::Unhandled(inner) => Error::Unhandled(inner),
1534        }
1535    }
1536}
1537impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_scheduled_action::CreateScheduledActionError, R>> for Error
1538where
1539    R: Send + Sync + std::fmt::Debug + 'static,
1540{
1541    fn from(
1542        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_scheduled_action::CreateScheduledActionError, R>,
1543    ) -> Self {
1544        match err {
1545            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1546            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1547                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1548                source: err.into(),
1549            }),
1550        }
1551    }
1552}
1553impl From<crate::operation::create_scheduled_action::CreateScheduledActionError> for Error {
1554    fn from(err: crate::operation::create_scheduled_action::CreateScheduledActionError) -> Self {
1555        match err {
1556            crate::operation::create_scheduled_action::CreateScheduledActionError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1557            crate::operation::create_scheduled_action::CreateScheduledActionError::InvalidScheduledActionFault(inner) => {
1558                Error::InvalidScheduledActionFault(inner)
1559            }
1560            crate::operation::create_scheduled_action::CreateScheduledActionError::InvalidScheduleFault(inner) => Error::InvalidScheduleFault(inner),
1561            crate::operation::create_scheduled_action::CreateScheduledActionError::ScheduledActionAlreadyExistsFault(inner) => {
1562                Error::ScheduledActionAlreadyExistsFault(inner)
1563            }
1564            crate::operation::create_scheduled_action::CreateScheduledActionError::ScheduledActionQuotaExceededFault(inner) => {
1565                Error::ScheduledActionQuotaExceededFault(inner)
1566            }
1567            crate::operation::create_scheduled_action::CreateScheduledActionError::ScheduledActionTypeUnsupportedFault(inner) => {
1568                Error::ScheduledActionTypeUnsupportedFault(inner)
1569            }
1570            crate::operation::create_scheduled_action::CreateScheduledActionError::UnauthorizedOperation(inner) => {
1571                Error::UnauthorizedOperation(inner)
1572            }
1573            crate::operation::create_scheduled_action::CreateScheduledActionError::UnsupportedOperationFault(inner) => {
1574                Error::UnsupportedOperationFault(inner)
1575            }
1576            crate::operation::create_scheduled_action::CreateScheduledActionError::Unhandled(inner) => Error::Unhandled(inner),
1577        }
1578    }
1579}
1580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError, R>>
1581    for Error
1582where
1583    R: Send + Sync + std::fmt::Debug + 'static,
1584{
1585    fn from(
1586        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError, R>,
1587    ) -> Self {
1588        match err {
1589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1592                source: err.into(),
1593            }),
1594        }
1595    }
1596}
1597impl From<crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError> for Error {
1598    fn from(err: crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError) -> Self {
1599        match err {
1600            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::DependentServiceRequestThrottlingFault(inner) => {
1601                Error::DependentServiceRequestThrottlingFault(inner)
1602            }
1603            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1604            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
1605            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::SnapshotCopyGrantAlreadyExistsFault(inner) => {
1606                Error::SnapshotCopyGrantAlreadyExistsFault(inner)
1607            }
1608            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::SnapshotCopyGrantQuotaExceededFault(inner) => {
1609                Error::SnapshotCopyGrantQuotaExceededFault(inner)
1610            }
1611            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::TagLimitExceededFault(inner) => {
1612                Error::TagLimitExceededFault(inner)
1613            }
1614            crate::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantError::Unhandled(inner) => Error::Unhandled(inner),
1615        }
1616    }
1617}
1618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError, R>> for Error
1619where
1620    R: Send + Sync + std::fmt::Debug + 'static,
1621{
1622    fn from(
1623        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError, R>,
1624    ) -> Self {
1625        match err {
1626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1629                source: err.into(),
1630            }),
1631        }
1632    }
1633}
1634impl From<crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError> for Error {
1635    fn from(err: crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError) -> Self {
1636        match err {
1637            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::InvalidScheduleFault(inner) => {
1638                Error::InvalidScheduleFault(inner)
1639            }
1640            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1641            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::ScheduleDefinitionTypeUnsupportedFault(inner) => {
1642                Error::ScheduleDefinitionTypeUnsupportedFault(inner)
1643            }
1644            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::SnapshotScheduleAlreadyExistsFault(inner) => {
1645                Error::SnapshotScheduleAlreadyExistsFault(inner)
1646            }
1647            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::SnapshotScheduleQuotaExceededFault(inner) => {
1648                Error::SnapshotScheduleQuotaExceededFault(inner)
1649            }
1650            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::TagLimitExceededFault(inner) => {
1651                Error::TagLimitExceededFault(inner)
1652            }
1653            crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
1654        }
1655    }
1656}
1657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
1658where
1659    R: Send + Sync + std::fmt::Debug + 'static,
1660{
1661    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
1662        match err {
1663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1666                source: err.into(),
1667            }),
1668        }
1669    }
1670}
1671impl From<crate::operation::create_tags::CreateTagsError> for Error {
1672    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
1673        match err {
1674            crate::operation::create_tags::CreateTagsError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1675            crate::operation::create_tags::CreateTagsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
1676            crate::operation::create_tags::CreateTagsError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
1677            crate::operation::create_tags::CreateTagsError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner),
1678            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
1679        }
1680    }
1681}
1682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_limit::CreateUsageLimitError, R>> for Error
1683where
1684    R: Send + Sync + std::fmt::Debug + 'static,
1685{
1686    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_limit::CreateUsageLimitError, R>) -> Self {
1687        match err {
1688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1691                source: err.into(),
1692            }),
1693        }
1694    }
1695}
1696impl From<crate::operation::create_usage_limit::CreateUsageLimitError> for Error {
1697    fn from(err: crate::operation::create_usage_limit::CreateUsageLimitError) -> Self {
1698        match err {
1699            crate::operation::create_usage_limit::CreateUsageLimitError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1700            crate::operation::create_usage_limit::CreateUsageLimitError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1701            crate::operation::create_usage_limit::CreateUsageLimitError::InvalidUsageLimitFault(inner) => Error::InvalidUsageLimitFault(inner),
1702            crate::operation::create_usage_limit::CreateUsageLimitError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
1703            crate::operation::create_usage_limit::CreateUsageLimitError::TagLimitExceededFault(inner) => Error::TagLimitExceededFault(inner),
1704            crate::operation::create_usage_limit::CreateUsageLimitError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
1705            crate::operation::create_usage_limit::CreateUsageLimitError::UsageLimitAlreadyExistsFault(inner) => {
1706                Error::UsageLimitAlreadyExistsFault(inner)
1707            }
1708            crate::operation::create_usage_limit::CreateUsageLimitError::Unhandled(inner) => Error::Unhandled(inner),
1709        }
1710    }
1711}
1712impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deauthorize_data_share::DeauthorizeDataShareError, R>> for Error
1713where
1714    R: Send + Sync + std::fmt::Debug + 'static,
1715{
1716    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deauthorize_data_share::DeauthorizeDataShareError, R>) -> Self {
1717        match err {
1718            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1719            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1720                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1721                source: err.into(),
1722            }),
1723        }
1724    }
1725}
1726impl From<crate::operation::deauthorize_data_share::DeauthorizeDataShareError> for Error {
1727    fn from(err: crate::operation::deauthorize_data_share::DeauthorizeDataShareError) -> Self {
1728        match err {
1729            crate::operation::deauthorize_data_share::DeauthorizeDataShareError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
1730            crate::operation::deauthorize_data_share::DeauthorizeDataShareError::Unhandled(inner) => Error::Unhandled(inner),
1731        }
1732    }
1733}
1734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError, R>>
1735    for Error
1736where
1737    R: Send + Sync + std::fmt::Debug + 'static,
1738{
1739    fn from(
1740        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError, R>,
1741    ) -> Self {
1742        match err {
1743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1746                source: err.into(),
1747            }),
1748        }
1749    }
1750}
1751impl From<crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError> for Error {
1752    fn from(err: crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError) -> Self {
1753        match err {
1754            crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError::AuthenticationProfileNotFoundFault(inner) => {
1755                Error::AuthenticationProfileNotFoundFault(inner)
1756            }
1757            crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError::InvalidAuthenticationProfileRequestFault(inner) => {
1758                Error::InvalidAuthenticationProfileRequestFault(inner)
1759            }
1760            crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError::Unhandled(inner) => Error::Unhandled(inner),
1761        }
1762    }
1763}
1764impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
1765where
1766    R: Send + Sync + std::fmt::Debug + 'static,
1767{
1768    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
1769        match err {
1770            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1771            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1772                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1773                source: err.into(),
1774            }),
1775        }
1776    }
1777}
1778impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
1779    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
1780        match err {
1781            crate::operation::delete_cluster::DeleteClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1782            crate::operation::delete_cluster::DeleteClusterError::ClusterSnapshotAlreadyExistsFault(inner) => {
1783                Error::ClusterSnapshotAlreadyExistsFault(inner)
1784            }
1785            crate::operation::delete_cluster::DeleteClusterError::ClusterSnapshotQuotaExceededFault(inner) => {
1786                Error::ClusterSnapshotQuotaExceededFault(inner)
1787            }
1788            crate::operation::delete_cluster::DeleteClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
1789            crate::operation::delete_cluster::DeleteClusterError::InvalidRetentionPeriodFault(inner) => Error::InvalidRetentionPeriodFault(inner),
1790            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
1791        }
1792    }
1793}
1794impl<R>
1795    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError, R>>
1796    for Error
1797where
1798    R: Send + Sync + std::fmt::Debug + 'static,
1799{
1800    fn from(
1801        err: ::aws_smithy_runtime_api::client::result::SdkError<
1802            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError,
1803            R,
1804        >,
1805    ) -> Self {
1806        match err {
1807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1810                source: err.into(),
1811            }),
1812        }
1813    }
1814}
1815impl From<crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError> for Error {
1816    fn from(err: crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError) -> Self {
1817        match err {
1818            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError::ClusterParameterGroupNotFoundFault(inner) => {
1819                Error::ClusterParameterGroupNotFoundFault(inner)
1820            }
1821            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError::InvalidClusterParameterGroupStateFault(inner) => {
1822                Error::InvalidClusterParameterGroupStateFault(inner)
1823            }
1824            crate::operation::delete_cluster_parameter_group::DeleteClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
1825        }
1826    }
1827}
1828impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError, R>>
1829    for Error
1830where
1831    R: Send + Sync + std::fmt::Debug + 'static,
1832{
1833    fn from(
1834        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError, R>,
1835    ) -> Self {
1836        match err {
1837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1840                source: err.into(),
1841            }),
1842        }
1843    }
1844}
1845impl From<crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError> for Error {
1846    fn from(err: crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError) -> Self {
1847        match err {
1848            crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError::ClusterSecurityGroupNotFoundFault(inner) => {
1849                Error::ClusterSecurityGroupNotFoundFault(inner)
1850            }
1851            crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError::InvalidClusterSecurityGroupStateFault(inner) => {
1852                Error::InvalidClusterSecurityGroupStateFault(inner)
1853            }
1854            crate::operation::delete_cluster_security_group::DeleteClusterSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
1855        }
1856    }
1857}
1858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError, R>> for Error
1859where
1860    R: Send + Sync + std::fmt::Debug + 'static,
1861{
1862    fn from(
1863        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError, R>,
1864    ) -> Self {
1865        match err {
1866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1869                source: err.into(),
1870            }),
1871        }
1872    }
1873}
1874impl From<crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError> for Error {
1875    fn from(err: crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError) -> Self {
1876        match err {
1877            crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
1878                Error::ClusterSnapshotNotFoundFault(inner)
1879            }
1880            crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
1881                Error::InvalidClusterSnapshotStateFault(inner)
1882            }
1883            crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1884        }
1885    }
1886}
1887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError, R>>
1888    for Error
1889where
1890    R: Send + Sync + std::fmt::Debug + 'static,
1891{
1892    fn from(
1893        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError, R>,
1894    ) -> Self {
1895        match err {
1896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1899                source: err.into(),
1900            }),
1901        }
1902    }
1903}
1904impl From<crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError> for Error {
1905    fn from(err: crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError) -> Self {
1906        match err {
1907            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::ClusterSubnetGroupNotFoundFault(inner) => {
1908                Error::ClusterSubnetGroupNotFoundFault(inner)
1909            }
1910            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::InvalidClusterSubnetGroupStateFault(inner) => {
1911                Error::InvalidClusterSubnetGroupStateFault(inner)
1912            }
1913            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::InvalidClusterSubnetStateFault(inner) => {
1914                Error::InvalidClusterSubnetStateFault(inner)
1915            }
1916            crate::operation::delete_cluster_subnet_group::DeleteClusterSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
1917        }
1918    }
1919}
1920impl<R>
1921    From<
1922        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError, R>,
1923    > for Error
1924where
1925    R: Send + Sync + std::fmt::Debug + 'static,
1926{
1927    fn from(
1928        err: ::aws_smithy_runtime_api::client::result::SdkError<
1929            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError,
1930            R,
1931        >,
1932    ) -> Self {
1933        match err {
1934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1937                source: err.into(),
1938            }),
1939        }
1940    }
1941}
1942impl From<crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError> for Error {
1943    fn from(err: crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError) -> Self {
1944        match err {
1945            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::ClusterNotFoundFault(inner) => {
1946                Error::ClusterNotFoundFault(inner)
1947            }
1948            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::CustomCnameAssociationFault(inner) => {
1949                Error::CustomCnameAssociationFault(inner)
1950            }
1951            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::CustomDomainAssociationNotFoundFault(inner) => {
1952                Error::CustomDomainAssociationNotFoundFault(inner)
1953            }
1954            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::UnsupportedOperationFault(inner) => {
1955                Error::UnsupportedOperationFault(inner)
1956            }
1957            crate::operation::delete_custom_domain_association::DeleteCustomDomainAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1958        }
1959    }
1960}
1961impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_access::DeleteEndpointAccessError, R>> for Error
1962where
1963    R: Send + Sync + std::fmt::Debug + 'static,
1964{
1965    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_access::DeleteEndpointAccessError, R>) -> Self {
1966        match err {
1967            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1968            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1969                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1970                source: err.into(),
1971            }),
1972        }
1973    }
1974}
1975impl From<crate::operation::delete_endpoint_access::DeleteEndpointAccessError> for Error {
1976    fn from(err: crate::operation::delete_endpoint_access::DeleteEndpointAccessError) -> Self {
1977        match err {
1978            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
1979            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::EndpointNotFoundFault(inner) => Error::EndpointNotFoundFault(inner),
1980            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
1981                Error::InvalidClusterSecurityGroupStateFault(inner)
1982            }
1983            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::InvalidClusterStateFault(inner) => {
1984                Error::InvalidClusterStateFault(inner)
1985            }
1986            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::InvalidEndpointStateFault(inner) => {
1987                Error::InvalidEndpointStateFault(inner)
1988            }
1989            crate::operation::delete_endpoint_access::DeleteEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
1990        }
1991    }
1992}
1993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_event_subscription::DeleteEventSubscriptionError, R>>
1994    for Error
1995where
1996    R: Send + Sync + std::fmt::Debug + 'static,
1997{
1998    fn from(
1999        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_event_subscription::DeleteEventSubscriptionError, R>,
2000    ) -> Self {
2001        match err {
2002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2005                source: err.into(),
2006            }),
2007        }
2008    }
2009}
2010impl From<crate::operation::delete_event_subscription::DeleteEventSubscriptionError> for Error {
2011    fn from(err: crate::operation::delete_event_subscription::DeleteEventSubscriptionError) -> Self {
2012        match err {
2013            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::InvalidSubscriptionStateFault(inner) => {
2014                Error::InvalidSubscriptionStateFault(inner)
2015            }
2016            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::SubscriptionNotFoundFault(inner) => {
2017                Error::SubscriptionNotFoundFault(inner)
2018            }
2019            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
2020        }
2021    }
2022}
2023impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError, R>>
2024    for Error
2025where
2026    R: Send + Sync + std::fmt::Debug + 'static,
2027{
2028    fn from(
2029        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError, R>,
2030    ) -> Self {
2031        match err {
2032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2035                source: err.into(),
2036            }),
2037        }
2038    }
2039}
2040impl From<crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError> for Error {
2041    fn from(err: crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError) -> Self {
2042        match err {
2043            crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError::HsmClientCertificateNotFoundFault(inner) => {
2044                Error::HsmClientCertificateNotFoundFault(inner)
2045            }
2046            crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError::InvalidHsmClientCertificateStateFault(inner) => {
2047                Error::InvalidHsmClientCertificateStateFault(inner)
2048            }
2049            crate::operation::delete_hsm_client_certificate::DeleteHsmClientCertificateError::Unhandled(inner) => Error::Unhandled(inner),
2050        }
2051    }
2052}
2053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError, R>> for Error
2054where
2055    R: Send + Sync + std::fmt::Debug + 'static,
2056{
2057    fn from(
2058        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError, R>,
2059    ) -> Self {
2060        match err {
2061            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2062            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2063                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2064                source: err.into(),
2065            }),
2066        }
2067    }
2068}
2069impl From<crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError> for Error {
2070    fn from(err: crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError) -> Self {
2071        match err {
2072            crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError::HsmConfigurationNotFoundFault(inner) => {
2073                Error::HsmConfigurationNotFoundFault(inner)
2074            }
2075            crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError::InvalidHsmConfigurationStateFault(inner) => {
2076                Error::InvalidHsmConfigurationStateFault(inner)
2077            }
2078            crate::operation::delete_hsm_configuration::DeleteHsmConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2079        }
2080    }
2081}
2082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2083where
2084    R: Send + Sync + std::fmt::Debug + 'static,
2085{
2086    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2087        match err {
2088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2091                source: err.into(),
2092            }),
2093        }
2094    }
2095}
2096impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2097    fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2098        match err {
2099            crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2100                Error::IntegrationConflictOperationFault(inner)
2101            }
2102            crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictStateFault(inner) => {
2103                Error::IntegrationConflictStateFault(inner)
2104            }
2105            crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2106            crate::operation::delete_integration::DeleteIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
2107            crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2108        }
2109    }
2110}
2111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner::DeletePartnerError, R>> for Error
2112where
2113    R: Send + Sync + std::fmt::Debug + 'static,
2114{
2115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner::DeletePartnerError, R>) -> Self {
2116        match err {
2117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2120                source: err.into(),
2121            }),
2122        }
2123    }
2124}
2125impl From<crate::operation::delete_partner::DeletePartnerError> for Error {
2126    fn from(err: crate::operation::delete_partner::DeletePartnerError) -> Self {
2127        match err {
2128            crate::operation::delete_partner::DeletePartnerError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
2129            crate::operation::delete_partner::DeletePartnerError::PartnerNotFoundFault(inner) => Error::PartnerNotFoundFault(inner),
2130            crate::operation::delete_partner::DeletePartnerError::UnauthorizedPartnerIntegrationFault(inner) => {
2131                Error::UnauthorizedPartnerIntegrationFault(inner)
2132            }
2133            crate::operation::delete_partner::DeletePartnerError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
2134            crate::operation::delete_partner::DeletePartnerError::Unhandled(inner) => Error::Unhandled(inner),
2135        }
2136    }
2137}
2138impl<R>
2139    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError, R>>
2140    for Error
2141where
2142    R: Send + Sync + std::fmt::Debug + 'static,
2143{
2144    fn from(
2145        err: ::aws_smithy_runtime_api::client::result::SdkError<
2146            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError,
2147            R,
2148        >,
2149    ) -> Self {
2150        match err {
2151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2154                source: err.into(),
2155            }),
2156        }
2157    }
2158}
2159impl From<crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError> for Error {
2160    fn from(err: crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError) -> Self {
2161        match err {
2162            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::DependentServiceAccessDeniedFault(inner) => {
2163                Error::DependentServiceAccessDeniedFault(inner)
2164            }
2165            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::DependentServiceUnavailableFault(inner) => {
2166                Error::DependentServiceUnavailableFault(inner)
2167            }
2168            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::RedshiftIdcApplicationNotExistsFault(inner) => {
2169                Error::RedshiftIdcApplicationNotExistsFault(inner)
2170            }
2171            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::UnsupportedOperationFault(inner) => {
2172                Error::UnsupportedOperationFault(inner)
2173            }
2174            crate::operation::delete_redshift_idc_application::DeleteRedshiftIdcApplicationError::Unhandled(inner) => Error::Unhandled(inner),
2175        }
2176    }
2177}
2178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
2179where
2180    R: Send + Sync + std::fmt::Debug + 'static,
2181{
2182    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
2183        match err {
2184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2187                source: err.into(),
2188            }),
2189        }
2190    }
2191}
2192impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
2193    fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
2194        match err {
2195            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
2196            crate::operation::delete_resource_policy::DeleteResourcePolicyError::UnsupportedOperationFault(inner) => {
2197                Error::UnsupportedOperationFault(inner)
2198            }
2199            crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2200        }
2201    }
2202}
2203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_scheduled_action::DeleteScheduledActionError, R>> for Error
2204where
2205    R: Send + Sync + std::fmt::Debug + 'static,
2206{
2207    fn from(
2208        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_scheduled_action::DeleteScheduledActionError, R>,
2209    ) -> Self {
2210        match err {
2211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2214                source: err.into(),
2215            }),
2216        }
2217    }
2218}
2219impl From<crate::operation::delete_scheduled_action::DeleteScheduledActionError> for Error {
2220    fn from(err: crate::operation::delete_scheduled_action::DeleteScheduledActionError) -> Self {
2221        match err {
2222            crate::operation::delete_scheduled_action::DeleteScheduledActionError::ScheduledActionNotFoundFault(inner) => {
2223                Error::ScheduledActionNotFoundFault(inner)
2224            }
2225            crate::operation::delete_scheduled_action::DeleteScheduledActionError::UnauthorizedOperation(inner) => {
2226                Error::UnauthorizedOperation(inner)
2227            }
2228            crate::operation::delete_scheduled_action::DeleteScheduledActionError::Unhandled(inner) => Error::Unhandled(inner),
2229        }
2230    }
2231}
2232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError, R>>
2233    for Error
2234where
2235    R: Send + Sync + std::fmt::Debug + 'static,
2236{
2237    fn from(
2238        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError, R>,
2239    ) -> Self {
2240        match err {
2241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2244                source: err.into(),
2245            }),
2246        }
2247    }
2248}
2249impl From<crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError> for Error {
2250    fn from(err: crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError) -> Self {
2251        match err {
2252            crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError::InvalidSnapshotCopyGrantStateFault(inner) => {
2253                Error::InvalidSnapshotCopyGrantStateFault(inner)
2254            }
2255            crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError::SnapshotCopyGrantNotFoundFault(inner) => {
2256                Error::SnapshotCopyGrantNotFoundFault(inner)
2257            }
2258            crate::operation::delete_snapshot_copy_grant::DeleteSnapshotCopyGrantError::Unhandled(inner) => Error::Unhandled(inner),
2259        }
2260    }
2261}
2262impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError, R>> for Error
2263where
2264    R: Send + Sync + std::fmt::Debug + 'static,
2265{
2266    fn from(
2267        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError, R>,
2268    ) -> Self {
2269        match err {
2270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2273                source: err.into(),
2274            }),
2275        }
2276    }
2277}
2278impl From<crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError> for Error {
2279    fn from(err: crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError) -> Self {
2280        match err {
2281            crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError::InvalidClusterSnapshotScheduleStateFault(inner) => {
2282                Error::InvalidClusterSnapshotScheduleStateFault(inner)
2283            }
2284            crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError::SnapshotScheduleNotFoundFault(inner) => {
2285                Error::SnapshotScheduleNotFoundFault(inner)
2286            }
2287            crate::operation::delete_snapshot_schedule::DeleteSnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
2288        }
2289    }
2290}
2291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
2292where
2293    R: Send + Sync + std::fmt::Debug + 'static,
2294{
2295    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
2296        match err {
2297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2300                source: err.into(),
2301            }),
2302        }
2303    }
2304}
2305impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
2306    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
2307        match err {
2308            crate::operation::delete_tags::DeleteTagsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2309            crate::operation::delete_tags::DeleteTagsError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
2310            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
2311        }
2312    }
2313}
2314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_limit::DeleteUsageLimitError, R>> for Error
2315where
2316    R: Send + Sync + std::fmt::Debug + 'static,
2317{
2318    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_limit::DeleteUsageLimitError, R>) -> Self {
2319        match err {
2320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2323                source: err.into(),
2324            }),
2325        }
2326    }
2327}
2328impl From<crate::operation::delete_usage_limit::DeleteUsageLimitError> for Error {
2329    fn from(err: crate::operation::delete_usage_limit::DeleteUsageLimitError) -> Self {
2330        match err {
2331            crate::operation::delete_usage_limit::DeleteUsageLimitError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
2332            crate::operation::delete_usage_limit::DeleteUsageLimitError::UsageLimitNotFoundFault(inner) => Error::UsageLimitNotFoundFault(inner),
2333            crate::operation::delete_usage_limit::DeleteUsageLimitError::Unhandled(inner) => Error::Unhandled(inner),
2334        }
2335    }
2336}
2337impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_namespace::DeregisterNamespaceError, R>> for Error
2338where
2339    R: Send + Sync + std::fmt::Debug + 'static,
2340{
2341    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_namespace::DeregisterNamespaceError, R>) -> Self {
2342        match err {
2343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2346                source: err.into(),
2347            }),
2348        }
2349    }
2350}
2351impl From<crate::operation::deregister_namespace::DeregisterNamespaceError> for Error {
2352    fn from(err: crate::operation::deregister_namespace::DeregisterNamespaceError) -> Self {
2353        match err {
2354            crate::operation::deregister_namespace::DeregisterNamespaceError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
2355            crate::operation::deregister_namespace::DeregisterNamespaceError::InvalidClusterStateFault(inner) => {
2356                Error::InvalidClusterStateFault(inner)
2357            }
2358            crate::operation::deregister_namespace::DeregisterNamespaceError::InvalidNamespaceFault(inner) => Error::InvalidNamespaceFault(inner),
2359            crate::operation::deregister_namespace::DeregisterNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
2360        }
2361    }
2362}
2363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
2364    for Error
2365where
2366    R: Send + Sync + std::fmt::Debug + 'static,
2367{
2368    fn from(
2369        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
2370    ) -> Self {
2371        match err {
2372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2375                source: err.into(),
2376            }),
2377        }
2378    }
2379}
2380impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
2381    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
2382        match err {
2383            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
2384        }
2385    }
2386}
2387impl<R>
2388    From<
2389        ::aws_smithy_runtime_api::client::result::SdkError<
2390            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError,
2391            R,
2392        >,
2393    > for Error
2394where
2395    R: Send + Sync + std::fmt::Debug + 'static,
2396{
2397    fn from(
2398        err: ::aws_smithy_runtime_api::client::result::SdkError<
2399            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError,
2400            R,
2401        >,
2402    ) -> Self {
2403        match err {
2404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2407                source: err.into(),
2408            }),
2409        }
2410    }
2411}
2412impl From<crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError> for Error {
2413    fn from(err: crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError) -> Self {
2414        match err {
2415            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError::AuthenticationProfileNotFoundFault(inner) => {
2416                Error::AuthenticationProfileNotFoundFault(inner)
2417            }
2418            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError::InvalidAuthenticationProfileRequestFault(
2419                inner,
2420            ) => Error::InvalidAuthenticationProfileRequestFault(inner),
2421            crate::operation::describe_authentication_profiles::DescribeAuthenticationProfilesError::Unhandled(inner) => Error::Unhandled(inner),
2422        }
2423    }
2424}
2425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError, R>>
2426    for Error
2427where
2428    R: Send + Sync + std::fmt::Debug + 'static,
2429{
2430    fn from(
2431        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError, R>,
2432    ) -> Self {
2433        match err {
2434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2437                source: err.into(),
2438            }),
2439        }
2440    }
2441}
2442impl From<crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError> for Error {
2443    fn from(err: crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError) -> Self {
2444        match err {
2445            crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError::ClusterNotFoundFault(inner) => {
2446                Error::ClusterNotFoundFault(inner)
2447            }
2448            crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError::InvalidClusterStateFault(inner) => {
2449                Error::InvalidClusterStateFault(inner)
2450            }
2451            crate::operation::describe_cluster_db_revisions::DescribeClusterDbRevisionsError::Unhandled(inner) => Error::Unhandled(inner),
2452        }
2453    }
2454}
2455impl<R>
2456    From<
2457        ::aws_smithy_runtime_api::client::result::SdkError<
2458            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError,
2459            R,
2460        >,
2461    > for Error
2462where
2463    R: Send + Sync + std::fmt::Debug + 'static,
2464{
2465    fn from(
2466        err: ::aws_smithy_runtime_api::client::result::SdkError<
2467            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError,
2468            R,
2469        >,
2470    ) -> Self {
2471        match err {
2472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2475                source: err.into(),
2476            }),
2477        }
2478    }
2479}
2480impl From<crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError> for Error {
2481    fn from(err: crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError) -> Self {
2482        match err {
2483            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError::ClusterParameterGroupNotFoundFault(inner) => {
2484                Error::ClusterParameterGroupNotFoundFault(inner)
2485            }
2486            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError::InvalidTagFault(inner) => {
2487                Error::InvalidTagFault(inner)
2488            }
2489            crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2490        }
2491    }
2492}
2493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_parameters::DescribeClusterParametersError, R>>
2494    for Error
2495where
2496    R: Send + Sync + std::fmt::Debug + 'static,
2497{
2498    fn from(
2499        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_parameters::DescribeClusterParametersError, R>,
2500    ) -> Self {
2501        match err {
2502            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2503            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2504                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2505                source: err.into(),
2506            }),
2507        }
2508    }
2509}
2510impl From<crate::operation::describe_cluster_parameters::DescribeClusterParametersError> for Error {
2511    fn from(err: crate::operation::describe_cluster_parameters::DescribeClusterParametersError) -> Self {
2512        match err {
2513            crate::operation::describe_cluster_parameters::DescribeClusterParametersError::ClusterParameterGroupNotFoundFault(inner) => {
2514                Error::ClusterParameterGroupNotFoundFault(inner)
2515            }
2516            crate::operation::describe_cluster_parameters::DescribeClusterParametersError::Unhandled(inner) => Error::Unhandled(inner),
2517        }
2518    }
2519}
2520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_clusters::DescribeClustersError, R>> for Error
2521where
2522    R: Send + Sync + std::fmt::Debug + 'static,
2523{
2524    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_clusters::DescribeClustersError, R>) -> Self {
2525        match err {
2526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2529                source: err.into(),
2530            }),
2531        }
2532    }
2533}
2534impl From<crate::operation::describe_clusters::DescribeClustersError> for Error {
2535    fn from(err: crate::operation::describe_clusters::DescribeClustersError) -> Self {
2536        match err {
2537            crate::operation::describe_clusters::DescribeClustersError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
2538            crate::operation::describe_clusters::DescribeClustersError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2539            crate::operation::describe_clusters::DescribeClustersError::Unhandled(inner) => Error::Unhandled(inner),
2540        }
2541    }
2542}
2543impl<R>
2544    From<
2545        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError, R>,
2546    > for Error
2547where
2548    R: Send + Sync + std::fmt::Debug + 'static,
2549{
2550    fn from(
2551        err: ::aws_smithy_runtime_api::client::result::SdkError<
2552            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError,
2553            R,
2554        >,
2555    ) -> Self {
2556        match err {
2557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2560                source: err.into(),
2561            }),
2562        }
2563    }
2564}
2565impl From<crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError> for Error {
2566    fn from(err: crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError) -> Self {
2567        match err {
2568            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError::ClusterSecurityGroupNotFoundFault(inner) => {
2569                Error::ClusterSecurityGroupNotFoundFault(inner)
2570            }
2571            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError::InvalidTagFault(inner) => {
2572                Error::InvalidTagFault(inner)
2573            }
2574            crate::operation::describe_cluster_security_groups::DescribeClusterSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2575        }
2576    }
2577}
2578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError, R>>
2579    for Error
2580where
2581    R: Send + Sync + std::fmt::Debug + 'static,
2582{
2583    fn from(
2584        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError, R>,
2585    ) -> Self {
2586        match err {
2587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2590                source: err.into(),
2591            }),
2592        }
2593    }
2594}
2595impl From<crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError> for Error {
2596    fn from(err: crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError) -> Self {
2597        match err {
2598            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::ClusterNotFoundFault(inner) => {
2599                Error::ClusterNotFoundFault(inner)
2600            }
2601            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::ClusterSnapshotNotFoundFault(inner) => {
2602                Error::ClusterSnapshotNotFoundFault(inner)
2603            }
2604            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2605            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::UnsupportedOperationFault(inner) => {
2606                Error::UnsupportedOperationFault(inner)
2607            }
2608            crate::operation::describe_cluster_snapshots::DescribeClusterSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
2609        }
2610    }
2611}
2612impl<R>
2613    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError, R>>
2614    for Error
2615where
2616    R: Send + Sync + std::fmt::Debug + 'static,
2617{
2618    fn from(
2619        err: ::aws_smithy_runtime_api::client::result::SdkError<
2620            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError,
2621            R,
2622        >,
2623    ) -> Self {
2624        match err {
2625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2628                source: err.into(),
2629            }),
2630        }
2631    }
2632}
2633impl From<crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError> for Error {
2634    fn from(err: crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError) -> Self {
2635        match err {
2636            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError::ClusterSubnetGroupNotFoundFault(inner) => {
2637                Error::ClusterSubnetGroupNotFoundFault(inner)
2638            }
2639            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError::InvalidTagFault(inner) => {
2640                Error::InvalidTagFault(inner)
2641            }
2642            crate::operation::describe_cluster_subnet_groups::DescribeClusterSubnetGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2643        }
2644    }
2645}
2646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_tracks::DescribeClusterTracksError, R>> for Error
2647where
2648    R: Send + Sync + std::fmt::Debug + 'static,
2649{
2650    fn from(
2651        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_tracks::DescribeClusterTracksError, R>,
2652    ) -> Self {
2653        match err {
2654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2657                source: err.into(),
2658            }),
2659        }
2660    }
2661}
2662impl From<crate::operation::describe_cluster_tracks::DescribeClusterTracksError> for Error {
2663    fn from(err: crate::operation::describe_cluster_tracks::DescribeClusterTracksError) -> Self {
2664        match err {
2665            crate::operation::describe_cluster_tracks::DescribeClusterTracksError::InvalidClusterTrackFault(inner) => {
2666                Error::InvalidClusterTrackFault(inner)
2667            }
2668            crate::operation::describe_cluster_tracks::DescribeClusterTracksError::UnauthorizedOperation(inner) => {
2669                Error::UnauthorizedOperation(inner)
2670            }
2671            crate::operation::describe_cluster_tracks::DescribeClusterTracksError::Unhandled(inner) => Error::Unhandled(inner),
2672        }
2673    }
2674}
2675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_versions::DescribeClusterVersionsError, R>>
2676    for Error
2677where
2678    R: Send + Sync + std::fmt::Debug + 'static,
2679{
2680    fn from(
2681        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_versions::DescribeClusterVersionsError, R>,
2682    ) -> Self {
2683        match err {
2684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2687                source: err.into(),
2688            }),
2689        }
2690    }
2691}
2692impl From<crate::operation::describe_cluster_versions::DescribeClusterVersionsError> for Error {
2693    fn from(err: crate::operation::describe_cluster_versions::DescribeClusterVersionsError) -> Self {
2694        match err {
2695            crate::operation::describe_cluster_versions::DescribeClusterVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2696        }
2697    }
2698}
2699impl<R>
2700    From<
2701        ::aws_smithy_runtime_api::client::result::SdkError<
2702            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError,
2703            R,
2704        >,
2705    > for Error
2706where
2707    R: Send + Sync + std::fmt::Debug + 'static,
2708{
2709    fn from(
2710        err: ::aws_smithy_runtime_api::client::result::SdkError<
2711            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError,
2712            R,
2713        >,
2714    ) -> Self {
2715        match err {
2716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2719                source: err.into(),
2720            }),
2721        }
2722    }
2723}
2724impl From<crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError> for Error {
2725    fn from(err: crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError) -> Self {
2726        match err {
2727            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError::CustomDomainAssociationNotFoundFault(
2728                inner,
2729            ) => Error::CustomDomainAssociationNotFoundFault(inner),
2730            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError::UnsupportedOperationFault(inner) => {
2731                Error::UnsupportedOperationFault(inner)
2732            }
2733            crate::operation::describe_custom_domain_associations::DescribeCustomDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2734        }
2735    }
2736}
2737impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_data_shares::DescribeDataSharesError, R>> for Error
2738where
2739    R: Send + Sync + std::fmt::Debug + 'static,
2740{
2741    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_data_shares::DescribeDataSharesError, R>) -> Self {
2742        match err {
2743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2746                source: err.into(),
2747            }),
2748        }
2749    }
2750}
2751impl From<crate::operation::describe_data_shares::DescribeDataSharesError> for Error {
2752    fn from(err: crate::operation::describe_data_shares::DescribeDataSharesError) -> Self {
2753        match err {
2754            crate::operation::describe_data_shares::DescribeDataSharesError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
2755            crate::operation::describe_data_shares::DescribeDataSharesError::Unhandled(inner) => Error::Unhandled(inner),
2756        }
2757    }
2758}
2759impl<R>
2760    From<
2761        ::aws_smithy_runtime_api::client::result::SdkError<
2762            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError,
2763            R,
2764        >,
2765    > for Error
2766where
2767    R: Send + Sync + std::fmt::Debug + 'static,
2768{
2769    fn from(
2770        err: ::aws_smithy_runtime_api::client::result::SdkError<
2771            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError,
2772            R,
2773        >,
2774    ) -> Self {
2775        match err {
2776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2779                source: err.into(),
2780            }),
2781        }
2782    }
2783}
2784impl From<crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError> for Error {
2785    fn from(err: crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError) -> Self {
2786        match err {
2787            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError::InvalidNamespaceFault(inner) => {
2788                Error::InvalidNamespaceFault(inner)
2789            }
2790            crate::operation::describe_data_shares_for_consumer::DescribeDataSharesForConsumerError::Unhandled(inner) => Error::Unhandled(inner),
2791        }
2792    }
2793}
2794impl<R>
2795    From<
2796        ::aws_smithy_runtime_api::client::result::SdkError<
2797            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError,
2798            R,
2799        >,
2800    > for Error
2801where
2802    R: Send + Sync + std::fmt::Debug + 'static,
2803{
2804    fn from(
2805        err: ::aws_smithy_runtime_api::client::result::SdkError<
2806            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError,
2807            R,
2808        >,
2809    ) -> Self {
2810        match err {
2811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2814                source: err.into(),
2815            }),
2816        }
2817    }
2818}
2819impl From<crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError> for Error {
2820    fn from(err: crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError) -> Self {
2821        match err {
2822            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError::InvalidNamespaceFault(inner) => {
2823                Error::InvalidNamespaceFault(inner)
2824            }
2825            crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError::Unhandled(inner) => Error::Unhandled(inner),
2826        }
2827    }
2828}
2829impl<R>
2830    From<
2831        ::aws_smithy_runtime_api::client::result::SdkError<
2832            crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError,
2833            R,
2834        >,
2835    > for Error
2836where
2837    R: Send + Sync + std::fmt::Debug + 'static,
2838{
2839    fn from(
2840        err: ::aws_smithy_runtime_api::client::result::SdkError<
2841            crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError,
2842            R,
2843        >,
2844    ) -> Self {
2845        match err {
2846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2849                source: err.into(),
2850            }),
2851        }
2852    }
2853}
2854impl From<crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError> for Error {
2855    fn from(err: crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError) -> Self {
2856        match err {
2857            crate::operation::describe_default_cluster_parameters::DescribeDefaultClusterParametersError::Unhandled(inner) => Error::Unhandled(inner),
2858        }
2859    }
2860}
2861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_access::DescribeEndpointAccessError, R>> for Error
2862where
2863    R: Send + Sync + std::fmt::Debug + 'static,
2864{
2865    fn from(
2866        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_access::DescribeEndpointAccessError, R>,
2867    ) -> Self {
2868        match err {
2869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2872                source: err.into(),
2873            }),
2874        }
2875    }
2876}
2877impl From<crate::operation::describe_endpoint_access::DescribeEndpointAccessError> for Error {
2878    fn from(err: crate::operation::describe_endpoint_access::DescribeEndpointAccessError) -> Self {
2879        match err {
2880            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::ClusterNotFoundFault(inner) => {
2881                Error::ClusterNotFoundFault(inner)
2882            }
2883            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::EndpointNotFoundFault(inner) => {
2884                Error::EndpointNotFoundFault(inner)
2885            }
2886            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::InvalidClusterStateFault(inner) => {
2887                Error::InvalidClusterStateFault(inner)
2888            }
2889            crate::operation::describe_endpoint_access::DescribeEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
2890        }
2891    }
2892}
2893impl<R>
2894    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError, R>>
2895    for Error
2896where
2897    R: Send + Sync + std::fmt::Debug + 'static,
2898{
2899    fn from(
2900        err: ::aws_smithy_runtime_api::client::result::SdkError<
2901            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError,
2902            R,
2903        >,
2904    ) -> Self {
2905        match err {
2906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2909                source: err.into(),
2910            }),
2911        }
2912    }
2913}
2914impl From<crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError> for Error {
2915    fn from(err: crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError) -> Self {
2916        match err {
2917            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError::ClusterNotFoundFault(inner) => {
2918                Error::ClusterNotFoundFault(inner)
2919            }
2920            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError::UnsupportedOperationFault(inner) => {
2921                Error::UnsupportedOperationFault(inner)
2922            }
2923            crate::operation::describe_endpoint_authorization::DescribeEndpointAuthorizationError::Unhandled(inner) => Error::Unhandled(inner),
2924        }
2925    }
2926}
2927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_categories::DescribeEventCategoriesError, R>>
2928    for Error
2929where
2930    R: Send + Sync + std::fmt::Debug + 'static,
2931{
2932    fn from(
2933        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_categories::DescribeEventCategoriesError, R>,
2934    ) -> Self {
2935        match err {
2936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2939                source: err.into(),
2940            }),
2941        }
2942    }
2943}
2944impl From<crate::operation::describe_event_categories::DescribeEventCategoriesError> for Error {
2945    fn from(err: crate::operation::describe_event_categories::DescribeEventCategoriesError) -> Self {
2946        match err {
2947            crate::operation::describe_event_categories::DescribeEventCategoriesError::Unhandled(inner) => Error::Unhandled(inner),
2948        }
2949    }
2950}
2951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_events::DescribeEventsError, R>> for Error
2952where
2953    R: Send + Sync + std::fmt::Debug + 'static,
2954{
2955    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_events::DescribeEventsError, R>) -> Self {
2956        match err {
2957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2960                source: err.into(),
2961            }),
2962        }
2963    }
2964}
2965impl From<crate::operation::describe_events::DescribeEventsError> for Error {
2966    fn from(err: crate::operation::describe_events::DescribeEventsError) -> Self {
2967        match err {
2968            crate::operation::describe_events::DescribeEventsError::Unhandled(inner) => Error::Unhandled(inner),
2969        }
2970    }
2971}
2972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, R>>
2973    for Error
2974where
2975    R: Send + Sync + std::fmt::Debug + 'static,
2976{
2977    fn from(
2978        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, R>,
2979    ) -> Self {
2980        match err {
2981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2984                source: err.into(),
2985            }),
2986        }
2987    }
2988}
2989impl From<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError> for Error {
2990    fn from(err: crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError) -> Self {
2991        match err {
2992            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
2993            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::SubscriptionNotFoundFault(inner) => {
2994                Error::SubscriptionNotFoundFault(inner)
2995            }
2996            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
2997        }
2998    }
2999}
3000impl<R>
3001    From<
3002        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError, R>,
3003    > for Error
3004where
3005    R: Send + Sync + std::fmt::Debug + 'static,
3006{
3007    fn from(
3008        err: ::aws_smithy_runtime_api::client::result::SdkError<
3009            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError,
3010            R,
3011        >,
3012    ) -> Self {
3013        match err {
3014            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3015            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3016                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3017                source: err.into(),
3018            }),
3019        }
3020    }
3021}
3022impl From<crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError> for Error {
3023    fn from(err: crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError) -> Self {
3024        match err {
3025            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError::HsmClientCertificateNotFoundFault(inner) => {
3026                Error::HsmClientCertificateNotFoundFault(inner)
3027            }
3028            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError::InvalidTagFault(inner) => {
3029                Error::InvalidTagFault(inner)
3030            }
3031            crate::operation::describe_hsm_client_certificates::DescribeHsmClientCertificatesError::Unhandled(inner) => Error::Unhandled(inner),
3032        }
3033    }
3034}
3035impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError, R>>
3036    for Error
3037where
3038    R: Send + Sync + std::fmt::Debug + 'static,
3039{
3040    fn from(
3041        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError, R>,
3042    ) -> Self {
3043        match err {
3044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3047                source: err.into(),
3048            }),
3049        }
3050    }
3051}
3052impl From<crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError> for Error {
3053    fn from(err: crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError) -> Self {
3054        match err {
3055            crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError::HsmConfigurationNotFoundFault(inner) => {
3056                Error::HsmConfigurationNotFoundFault(inner)
3057            }
3058            crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
3059            crate::operation::describe_hsm_configurations::DescribeHsmConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
3060        }
3061    }
3062}
3063impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3064    for Error
3065where
3066    R: Send + Sync + std::fmt::Debug + 'static,
3067{
3068    fn from(
3069        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3070    ) -> Self {
3071        match err {
3072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3075                source: err.into(),
3076            }),
3077        }
3078    }
3079}
3080impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3081    fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3082        match err {
3083            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3084                Error::IntegrationNotFoundFault(inner)
3085            }
3086            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidNamespaceFault(inner) => {
3087                Error::InvalidNamespaceFault(inner)
3088            }
3089            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::UnsupportedOperationFault(inner) => {
3090                Error::UnsupportedOperationFault(inner)
3091            }
3092            crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3093        }
3094    }
3095}
3096impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3097where
3098    R: Send + Sync + std::fmt::Debug + 'static,
3099{
3100    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3101        match err {
3102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3105                source: err.into(),
3106            }),
3107        }
3108    }
3109}
3110impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3111    fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3112        match err {
3113            crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3114                Error::IntegrationNotFoundFault(inner)
3115            }
3116            crate::operation::describe_integrations::DescribeIntegrationsError::UnsupportedOperationFault(inner) => {
3117                Error::UnsupportedOperationFault(inner)
3118            }
3119            crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3120        }
3121    }
3122}
3123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_logging_status::DescribeLoggingStatusError, R>> for Error
3124where
3125    R: Send + Sync + std::fmt::Debug + 'static,
3126{
3127    fn from(
3128        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_logging_status::DescribeLoggingStatusError, R>,
3129    ) -> Self {
3130        match err {
3131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3134                source: err.into(),
3135            }),
3136        }
3137    }
3138}
3139impl From<crate::operation::describe_logging_status::DescribeLoggingStatusError> for Error {
3140    fn from(err: crate::operation::describe_logging_status::DescribeLoggingStatusError) -> Self {
3141        match err {
3142            crate::operation::describe_logging_status::DescribeLoggingStatusError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3143            crate::operation::describe_logging_status::DescribeLoggingStatusError::UnsupportedOperationFault(inner) => {
3144                Error::UnsupportedOperationFault(inner)
3145            }
3146            crate::operation::describe_logging_status::DescribeLoggingStatusError::Unhandled(inner) => Error::Unhandled(inner),
3147        }
3148    }
3149}
3150impl<R>
3151    From<
3152        ::aws_smithy_runtime_api::client::result::SdkError<
3153            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError,
3154            R,
3155        >,
3156    > for Error
3157where
3158    R: Send + Sync + std::fmt::Debug + 'static,
3159{
3160    fn from(
3161        err: ::aws_smithy_runtime_api::client::result::SdkError<
3162            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError,
3163            R,
3164        >,
3165    ) -> Self {
3166        match err {
3167            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3168            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3169                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3170                source: err.into(),
3171            }),
3172        }
3173    }
3174}
3175impl From<crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError> for Error {
3176    fn from(err: crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError) -> Self {
3177        match err {
3178            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::AccessToSnapshotDeniedFault(inner) => {
3179                Error::AccessToSnapshotDeniedFault(inner)
3180            }
3181            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::ClusterNotFoundFault(inner) => {
3182                Error::ClusterNotFoundFault(inner)
3183            }
3184            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::ClusterSnapshotNotFoundFault(inner) => {
3185                Error::ClusterSnapshotNotFoundFault(inner)
3186            }
3187            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::InvalidClusterSnapshotStateFault(inner) => {
3188                Error::InvalidClusterSnapshotStateFault(inner)
3189            }
3190            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::UnsupportedOperationFault(inner) => {
3191                Error::UnsupportedOperationFault(inner)
3192            }
3193            crate::operation::describe_node_configuration_options::DescribeNodeConfigurationOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3194        }
3195    }
3196}
3197impl<R>
3198    From<
3199        ::aws_smithy_runtime_api::client::result::SdkError<
3200            crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError,
3201            R,
3202        >,
3203    > for Error
3204where
3205    R: Send + Sync + std::fmt::Debug + 'static,
3206{
3207    fn from(
3208        err: ::aws_smithy_runtime_api::client::result::SdkError<
3209            crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError,
3210            R,
3211        >,
3212    ) -> Self {
3213        match err {
3214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3217                source: err.into(),
3218            }),
3219        }
3220    }
3221}
3222impl From<crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError> for Error {
3223    fn from(err: crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError) -> Self {
3224        match err {
3225            crate::operation::describe_orderable_cluster_options::DescribeOrderableClusterOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3226        }
3227    }
3228}
3229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partners::DescribePartnersError, R>> for Error
3230where
3231    R: Send + Sync + std::fmt::Debug + 'static,
3232{
3233    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partners::DescribePartnersError, R>) -> Self {
3234        match err {
3235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3238                source: err.into(),
3239            }),
3240        }
3241    }
3242}
3243impl From<crate::operation::describe_partners::DescribePartnersError> for Error {
3244    fn from(err: crate::operation::describe_partners::DescribePartnersError) -> Self {
3245        match err {
3246            crate::operation::describe_partners::DescribePartnersError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3247            crate::operation::describe_partners::DescribePartnersError::UnauthorizedPartnerIntegrationFault(inner) => {
3248                Error::UnauthorizedPartnerIntegrationFault(inner)
3249            }
3250            crate::operation::describe_partners::DescribePartnersError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3251            crate::operation::describe_partners::DescribePartnersError::Unhandled(inner) => Error::Unhandled(inner),
3252        }
3253    }
3254}
3255impl<R>
3256    From<
3257        ::aws_smithy_runtime_api::client::result::SdkError<
3258            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError,
3259            R,
3260        >,
3261    > for Error
3262where
3263    R: Send + Sync + std::fmt::Debug + 'static,
3264{
3265    fn from(
3266        err: ::aws_smithy_runtime_api::client::result::SdkError<
3267            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError,
3268            R,
3269        >,
3270    ) -> Self {
3271        match err {
3272            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3273            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3274                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3275                source: err.into(),
3276            }),
3277        }
3278    }
3279}
3280impl From<crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError> for Error {
3281    fn from(err: crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError) -> Self {
3282        match err {
3283            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::DependentServiceAccessDeniedFault(inner) => {
3284                Error::DependentServiceAccessDeniedFault(inner)
3285            }
3286            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::DependentServiceUnavailableFault(inner) => {
3287                Error::DependentServiceUnavailableFault(inner)
3288            }
3289            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::RedshiftIdcApplicationNotExistsFault(
3290                inner,
3291            ) => Error::RedshiftIdcApplicationNotExistsFault(inner),
3292            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::UnsupportedOperationFault(inner) => {
3293                Error::UnsupportedOperationFault(inner)
3294            }
3295            crate::operation::describe_redshift_idc_applications::DescribeRedshiftIdcApplicationsError::Unhandled(inner) => Error::Unhandled(inner),
3296        }
3297    }
3298}
3299impl<R>
3300    From<
3301        ::aws_smithy_runtime_api::client::result::SdkError<
3302            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError,
3303            R,
3304        >,
3305    > for Error
3306where
3307    R: Send + Sync + std::fmt::Debug + 'static,
3308{
3309    fn from(
3310        err: ::aws_smithy_runtime_api::client::result::SdkError<
3311            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError,
3312            R,
3313        >,
3314    ) -> Self {
3315        match err {
3316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3319                source: err.into(),
3320            }),
3321        }
3322    }
3323}
3324impl From<crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError> for Error {
3325    fn from(err: crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError) -> Self {
3326        match err {
3327            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::ReservedNodeExchangeNotFoundFault(
3328                inner,
3329            ) => Error::ReservedNodeExchangeNotFoundFault(inner),
3330            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::ReservedNodeNotFoundFault(inner) => {
3331                Error::ReservedNodeNotFoundFault(inner)
3332            }
3333            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::UnsupportedOperationFault(inner) => {
3334                Error::UnsupportedOperationFault(inner)
3335            }
3336            crate::operation::describe_reserved_node_exchange_status::DescribeReservedNodeExchangeStatusError::Unhandled(inner) => {
3337                Error::Unhandled(inner)
3338            }
3339        }
3340    }
3341}
3342impl<R>
3343    From<
3344        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError, R>,
3345    > for Error
3346where
3347    R: Send + Sync + std::fmt::Debug + 'static,
3348{
3349    fn from(
3350        err: ::aws_smithy_runtime_api::client::result::SdkError<
3351            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError,
3352            R,
3353        >,
3354    ) -> Self {
3355        match err {
3356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3359                source: err.into(),
3360            }),
3361        }
3362    }
3363}
3364impl From<crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError> for Error {
3365    fn from(err: crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError) -> Self {
3366        match err {
3367            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::DependentServiceUnavailableFault(inner) => {
3368                Error::DependentServiceUnavailableFault(inner)
3369            }
3370            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::ReservedNodeOfferingNotFoundFault(inner) => {
3371                Error::ReservedNodeOfferingNotFoundFault(inner)
3372            }
3373            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::UnsupportedOperationFault(inner) => {
3374                Error::UnsupportedOperationFault(inner)
3375            }
3376            crate::operation::describe_reserved_node_offerings::DescribeReservedNodeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
3377        }
3378    }
3379}
3380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_nodes::DescribeReservedNodesError, R>> for Error
3381where
3382    R: Send + Sync + std::fmt::Debug + 'static,
3383{
3384    fn from(
3385        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_nodes::DescribeReservedNodesError, R>,
3386    ) -> Self {
3387        match err {
3388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3391                source: err.into(),
3392            }),
3393        }
3394    }
3395}
3396impl From<crate::operation::describe_reserved_nodes::DescribeReservedNodesError> for Error {
3397    fn from(err: crate::operation::describe_reserved_nodes::DescribeReservedNodesError) -> Self {
3398        match err {
3399            crate::operation::describe_reserved_nodes::DescribeReservedNodesError::DependentServiceUnavailableFault(inner) => {
3400                Error::DependentServiceUnavailableFault(inner)
3401            }
3402            crate::operation::describe_reserved_nodes::DescribeReservedNodesError::ReservedNodeNotFoundFault(inner) => {
3403                Error::ReservedNodeNotFoundFault(inner)
3404            }
3405            crate::operation::describe_reserved_nodes::DescribeReservedNodesError::Unhandled(inner) => Error::Unhandled(inner),
3406        }
3407    }
3408}
3409impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_resize::DescribeResizeError, R>> for Error
3410where
3411    R: Send + Sync + std::fmt::Debug + 'static,
3412{
3413    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_resize::DescribeResizeError, R>) -> Self {
3414        match err {
3415            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3416            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3417                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3418                source: err.into(),
3419            }),
3420        }
3421    }
3422}
3423impl From<crate::operation::describe_resize::DescribeResizeError> for Error {
3424    fn from(err: crate::operation::describe_resize::DescribeResizeError) -> Self {
3425        match err {
3426            crate::operation::describe_resize::DescribeResizeError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3427            crate::operation::describe_resize::DescribeResizeError::ResizeNotFoundFault(inner) => Error::ResizeNotFoundFault(inner),
3428            crate::operation::describe_resize::DescribeResizeError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3429            crate::operation::describe_resize::DescribeResizeError::Unhandled(inner) => Error::Unhandled(inner),
3430        }
3431    }
3432}
3433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, R>>
3434    for Error
3435where
3436    R: Send + Sync + std::fmt::Debug + 'static,
3437{
3438    fn from(
3439        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_actions::DescribeScheduledActionsError, R>,
3440    ) -> Self {
3441        match err {
3442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3445                source: err.into(),
3446            }),
3447        }
3448    }
3449}
3450impl From<crate::operation::describe_scheduled_actions::DescribeScheduledActionsError> for Error {
3451    fn from(err: crate::operation::describe_scheduled_actions::DescribeScheduledActionsError) -> Self {
3452        match err {
3453            crate::operation::describe_scheduled_actions::DescribeScheduledActionsError::ScheduledActionNotFoundFault(inner) => {
3454                Error::ScheduledActionNotFoundFault(inner)
3455            }
3456            crate::operation::describe_scheduled_actions::DescribeScheduledActionsError::UnauthorizedOperation(inner) => {
3457                Error::UnauthorizedOperation(inner)
3458            }
3459            crate::operation::describe_scheduled_actions::DescribeScheduledActionsError::Unhandled(inner) => Error::Unhandled(inner),
3460        }
3461    }
3462}
3463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError, R>>
3464    for Error
3465where
3466    R: Send + Sync + std::fmt::Debug + 'static,
3467{
3468    fn from(
3469        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError, R>,
3470    ) -> Self {
3471        match err {
3472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3475                source: err.into(),
3476            }),
3477        }
3478    }
3479}
3480impl From<crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError> for Error {
3481    fn from(err: crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError) -> Self {
3482        match err {
3483            crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
3484            crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError::SnapshotCopyGrantNotFoundFault(inner) => {
3485                Error::SnapshotCopyGrantNotFoundFault(inner)
3486            }
3487            crate::operation::describe_snapshot_copy_grants::DescribeSnapshotCopyGrantsError::Unhandled(inner) => Error::Unhandled(inner),
3488        }
3489    }
3490}
3491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError, R>>
3492    for Error
3493where
3494    R: Send + Sync + std::fmt::Debug + 'static,
3495{
3496    fn from(
3497        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError, R>,
3498    ) -> Self {
3499        match err {
3500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3503                source: err.into(),
3504            }),
3505        }
3506    }
3507}
3508impl From<crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError> for Error {
3509    fn from(err: crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError) -> Self {
3510        match err {
3511            crate::operation::describe_snapshot_schedules::DescribeSnapshotSchedulesError::Unhandled(inner) => Error::Unhandled(inner),
3512        }
3513    }
3514}
3515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_storage::DescribeStorageError, R>> for Error
3516where
3517    R: Send + Sync + std::fmt::Debug + 'static,
3518{
3519    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_storage::DescribeStorageError, R>) -> Self {
3520        match err {
3521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3524                source: err.into(),
3525            }),
3526        }
3527    }
3528}
3529impl From<crate::operation::describe_storage::DescribeStorageError> for Error {
3530    fn from(err: crate::operation::describe_storage::DescribeStorageError) -> Self {
3531        match err {
3532            crate::operation::describe_storage::DescribeStorageError::Unhandled(inner) => Error::Unhandled(inner),
3533        }
3534    }
3535}
3536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError, R>>
3537    for Error
3538where
3539    R: Send + Sync + std::fmt::Debug + 'static,
3540{
3541    fn from(
3542        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError, R>,
3543    ) -> Self {
3544        match err {
3545            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3546            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3547                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3548                source: err.into(),
3549            }),
3550        }
3551    }
3552}
3553impl From<crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError> for Error {
3554    fn from(err: crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError) -> Self {
3555        match err {
3556            crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError::ClusterNotFoundFault(inner) => {
3557                Error::ClusterNotFoundFault(inner)
3558            }
3559            crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError::TableRestoreNotFoundFault(inner) => {
3560                Error::TableRestoreNotFoundFault(inner)
3561            }
3562            crate::operation::describe_table_restore_status::DescribeTableRestoreStatusError::Unhandled(inner) => Error::Unhandled(inner),
3563        }
3564    }
3565}
3566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
3567where
3568    R: Send + Sync + std::fmt::Debug + 'static,
3569{
3570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
3571        match err {
3572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3575                source: err.into(),
3576            }),
3577        }
3578    }
3579}
3580impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
3581    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
3582        match err {
3583            crate::operation::describe_tags::DescribeTagsError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
3584            crate::operation::describe_tags::DescribeTagsError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
3585            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
3586        }
3587    }
3588}
3589impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_usage_limits::DescribeUsageLimitsError, R>> for Error
3590where
3591    R: Send + Sync + std::fmt::Debug + 'static,
3592{
3593    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_usage_limits::DescribeUsageLimitsError, R>) -> Self {
3594        match err {
3595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3598                source: err.into(),
3599            }),
3600        }
3601    }
3602}
3603impl From<crate::operation::describe_usage_limits::DescribeUsageLimitsError> for Error {
3604    fn from(err: crate::operation::describe_usage_limits::DescribeUsageLimitsError) -> Self {
3605        match err {
3606            crate::operation::describe_usage_limits::DescribeUsageLimitsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3607            crate::operation::describe_usage_limits::DescribeUsageLimitsError::UnsupportedOperationFault(inner) => {
3608                Error::UnsupportedOperationFault(inner)
3609            }
3610            crate::operation::describe_usage_limits::DescribeUsageLimitsError::Unhandled(inner) => Error::Unhandled(inner),
3611        }
3612    }
3613}
3614impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_logging::DisableLoggingError, R>> for Error
3615where
3616    R: Send + Sync + std::fmt::Debug + 'static,
3617{
3618    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_logging::DisableLoggingError, R>) -> Self {
3619        match err {
3620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3623                source: err.into(),
3624            }),
3625        }
3626    }
3627}
3628impl From<crate::operation::disable_logging::DisableLoggingError> for Error {
3629    fn from(err: crate::operation::disable_logging::DisableLoggingError) -> Self {
3630        match err {
3631            crate::operation::disable_logging::DisableLoggingError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3632            crate::operation::disable_logging::DisableLoggingError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
3633            crate::operation::disable_logging::DisableLoggingError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3634            crate::operation::disable_logging::DisableLoggingError::Unhandled(inner) => Error::Unhandled(inner),
3635        }
3636    }
3637}
3638impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_snapshot_copy::DisableSnapshotCopyError, R>> for Error
3639where
3640    R: Send + Sync + std::fmt::Debug + 'static,
3641{
3642    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_snapshot_copy::DisableSnapshotCopyError, R>) -> Self {
3643        match err {
3644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3647                source: err.into(),
3648            }),
3649        }
3650    }
3651}
3652impl From<crate::operation::disable_snapshot_copy::DisableSnapshotCopyError> for Error {
3653    fn from(err: crate::operation::disable_snapshot_copy::DisableSnapshotCopyError) -> Self {
3654        match err {
3655            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3656            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::InvalidClusterStateFault(inner) => {
3657                Error::InvalidClusterStateFault(inner)
3658            }
3659            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::SnapshotCopyAlreadyDisabledFault(inner) => {
3660                Error::SnapshotCopyAlreadyDisabledFault(inner)
3661            }
3662            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
3663            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::UnsupportedOperationFault(inner) => {
3664                Error::UnsupportedOperationFault(inner)
3665            }
3666            crate::operation::disable_snapshot_copy::DisableSnapshotCopyError::Unhandled(inner) => Error::Unhandled(inner),
3667        }
3668    }
3669}
3670impl<R>
3671    From<
3672        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError, R>,
3673    > for Error
3674where
3675    R: Send + Sync + std::fmt::Debug + 'static,
3676{
3677    fn from(
3678        err: ::aws_smithy_runtime_api::client::result::SdkError<
3679            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError,
3680            R,
3681        >,
3682    ) -> Self {
3683        match err {
3684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3687                source: err.into(),
3688            }),
3689        }
3690    }
3691}
3692impl From<crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError> for Error {
3693    fn from(err: crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError) -> Self {
3694        match err {
3695            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError::InvalidDataShareFault(inner) => {
3696                Error::InvalidDataShareFault(inner)
3697            }
3698            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError::InvalidNamespaceFault(inner) => {
3699                Error::InvalidNamespaceFault(inner)
3700            }
3701            crate::operation::disassociate_data_share_consumer::DisassociateDataShareConsumerError::Unhandled(inner) => Error::Unhandled(inner),
3702        }
3703    }
3704}
3705impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_logging::EnableLoggingError, R>> for Error
3706where
3707    R: Send + Sync + std::fmt::Debug + 'static,
3708{
3709    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_logging::EnableLoggingError, R>) -> Self {
3710        match err {
3711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3714                source: err.into(),
3715            }),
3716        }
3717    }
3718}
3719impl From<crate::operation::enable_logging::EnableLoggingError> for Error {
3720    fn from(err: crate::operation::enable_logging::EnableLoggingError) -> Self {
3721        match err {
3722            crate::operation::enable_logging::EnableLoggingError::BucketNotFoundFault(inner) => Error::BucketNotFoundFault(inner),
3723            crate::operation::enable_logging::EnableLoggingError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3724            crate::operation::enable_logging::EnableLoggingError::InsufficientS3BucketPolicyFault(inner) => {
3725                Error::InsufficientS3BucketPolicyFault(inner)
3726            }
3727            crate::operation::enable_logging::EnableLoggingError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
3728            crate::operation::enable_logging::EnableLoggingError::InvalidS3BucketNameFault(inner) => Error::InvalidS3BucketNameFault(inner),
3729            crate::operation::enable_logging::EnableLoggingError::InvalidS3KeyPrefixFault(inner) => Error::InvalidS3KeyPrefixFault(inner),
3730            crate::operation::enable_logging::EnableLoggingError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3731            crate::operation::enable_logging::EnableLoggingError::Unhandled(inner) => Error::Unhandled(inner),
3732        }
3733    }
3734}
3735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_snapshot_copy::EnableSnapshotCopyError, R>> for Error
3736where
3737    R: Send + Sync + std::fmt::Debug + 'static,
3738{
3739    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_snapshot_copy::EnableSnapshotCopyError, R>) -> Self {
3740        match err {
3741            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3742            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3743                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3744                source: err.into(),
3745            }),
3746        }
3747    }
3748}
3749impl From<crate::operation::enable_snapshot_copy::EnableSnapshotCopyError> for Error {
3750    fn from(err: crate::operation::enable_snapshot_copy::EnableSnapshotCopyError) -> Self {
3751        match err {
3752            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3753            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::CopyToRegionDisabledFault(inner) => {
3754                Error::CopyToRegionDisabledFault(inner)
3755            }
3756            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::DependentServiceRequestThrottlingFault(inner) => {
3757                Error::DependentServiceRequestThrottlingFault(inner)
3758            }
3759            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::IncompatibleOrderableOptions(inner) => {
3760                Error::IncompatibleOrderableOptions(inner)
3761            }
3762            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::InvalidClusterStateFault(inner) => {
3763                Error::InvalidClusterStateFault(inner)
3764            }
3765            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::InvalidRetentionPeriodFault(inner) => {
3766                Error::InvalidRetentionPeriodFault(inner)
3767            }
3768            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
3769            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::SnapshotCopyAlreadyEnabledFault(inner) => {
3770                Error::SnapshotCopyAlreadyEnabledFault(inner)
3771            }
3772            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::SnapshotCopyGrantNotFoundFault(inner) => {
3773                Error::SnapshotCopyGrantNotFoundFault(inner)
3774            }
3775            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
3776            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::UnknownSnapshotCopyRegionFault(inner) => {
3777                Error::UnknownSnapshotCopyRegionFault(inner)
3778            }
3779            crate::operation::enable_snapshot_copy::EnableSnapshotCopyError::Unhandled(inner) => Error::Unhandled(inner),
3780        }
3781    }
3782}
3783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_primary_compute::FailoverPrimaryComputeError, R>> for Error
3784where
3785    R: Send + Sync + std::fmt::Debug + 'static,
3786{
3787    fn from(
3788        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_primary_compute::FailoverPrimaryComputeError, R>,
3789    ) -> Self {
3790        match err {
3791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3794                source: err.into(),
3795            }),
3796        }
3797    }
3798}
3799impl From<crate::operation::failover_primary_compute::FailoverPrimaryComputeError> for Error {
3800    fn from(err: crate::operation::failover_primary_compute::FailoverPrimaryComputeError) -> Self {
3801        match err {
3802            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::ClusterNotFoundFault(inner) => {
3803                Error::ClusterNotFoundFault(inner)
3804            }
3805            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::InvalidClusterStateFault(inner) => {
3806                Error::InvalidClusterStateFault(inner)
3807            }
3808            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::UnauthorizedOperation(inner) => {
3809                Error::UnauthorizedOperation(inner)
3810            }
3811            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::UnsupportedOperationFault(inner) => {
3812                Error::UnsupportedOperationFault(inner)
3813            }
3814            crate::operation::failover_primary_compute::FailoverPrimaryComputeError::Unhandled(inner) => Error::Unhandled(inner),
3815        }
3816    }
3817}
3818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_credentials::GetClusterCredentialsError, R>> for Error
3819where
3820    R: Send + Sync + std::fmt::Debug + 'static,
3821{
3822    fn from(
3823        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_credentials::GetClusterCredentialsError, R>,
3824    ) -> Self {
3825        match err {
3826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3829                source: err.into(),
3830            }),
3831        }
3832    }
3833}
3834impl From<crate::operation::get_cluster_credentials::GetClusterCredentialsError> for Error {
3835    fn from(err: crate::operation::get_cluster_credentials::GetClusterCredentialsError) -> Self {
3836        match err {
3837            crate::operation::get_cluster_credentials::GetClusterCredentialsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3838            crate::operation::get_cluster_credentials::GetClusterCredentialsError::UnsupportedOperationFault(inner) => {
3839                Error::UnsupportedOperationFault(inner)
3840            }
3841            crate::operation::get_cluster_credentials::GetClusterCredentialsError::Unhandled(inner) => Error::Unhandled(inner),
3842        }
3843    }
3844}
3845impl<R>
3846    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError, R>>
3847    for Error
3848where
3849    R: Send + Sync + std::fmt::Debug + 'static,
3850{
3851    fn from(
3852        err: ::aws_smithy_runtime_api::client::result::SdkError<
3853            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError,
3854            R,
3855        >,
3856    ) -> Self {
3857        match err {
3858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3861                source: err.into(),
3862            }),
3863        }
3864    }
3865}
3866impl From<crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError> for Error {
3867    fn from(err: crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError) -> Self {
3868        match err {
3869            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError::ClusterNotFoundFault(inner) => {
3870                Error::ClusterNotFoundFault(inner)
3871            }
3872            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError::UnsupportedOperationFault(inner) => {
3873                Error::UnsupportedOperationFault(inner)
3874            }
3875            crate::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIAMError::Unhandled(inner) => Error::Unhandled(inner),
3876        }
3877    }
3878}
3879impl<R>
3880    From<
3881        ::aws_smithy_runtime_api::client::result::SdkError<
3882            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError,
3883            R,
3884        >,
3885    > for Error
3886where
3887    R: Send + Sync + std::fmt::Debug + 'static,
3888{
3889    fn from(
3890        err: ::aws_smithy_runtime_api::client::result::SdkError<
3891            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError,
3892            R,
3893        >,
3894    ) -> Self {
3895        match err {
3896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3899                source: err.into(),
3900            }),
3901        }
3902    }
3903}
3904impl From<crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError> for Error {
3905    fn from(err: crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError) -> Self {
3906        match err {
3907            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
3908            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ClusterSnapshotNotFoundFault(inner) => Error::ClusterSnapshotNotFoundFault(inner),
3909            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::DependentServiceUnavailableFault(inner) => Error::DependentServiceUnavailableFault(inner),
3910            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::InvalidReservedNodeStateFault(inner) => Error::InvalidReservedNodeStateFault(inner),
3911            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ReservedNodeAlreadyMigratedFault(inner) => Error::ReservedNodeAlreadyMigratedFault(inner),
3912            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ReservedNodeNotFoundFault(inner) => Error::ReservedNodeNotFoundFault(inner),
3913            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::ReservedNodeOfferingNotFoundFault(inner) => Error::ReservedNodeOfferingNotFoundFault(inner),
3914            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
3915            crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3916        }
3917    }
3918}
3919impl<R>
3920    From<
3921        ::aws_smithy_runtime_api::client::result::SdkError<
3922            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError,
3923            R,
3924        >,
3925    > for Error
3926where
3927    R: Send + Sync + std::fmt::Debug + 'static,
3928{
3929    fn from(
3930        err: ::aws_smithy_runtime_api::client::result::SdkError<
3931            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError,
3932            R,
3933        >,
3934    ) -> Self {
3935        match err {
3936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3939                source: err.into(),
3940            }),
3941        }
3942    }
3943}
3944impl From<crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError> for Error {
3945    fn from(err: crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError) -> Self {
3946        match err {
3947            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::DependentServiceUnavailableFault(
3948                inner,
3949            ) => Error::DependentServiceUnavailableFault(inner),
3950            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::InvalidReservedNodeStateFault(inner) => {
3951                Error::InvalidReservedNodeStateFault(inner)
3952            }
3953            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::ReservedNodeAlreadyMigratedFault(
3954                inner,
3955            ) => Error::ReservedNodeAlreadyMigratedFault(inner),
3956            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::ReservedNodeNotFoundFault(inner) => {
3957                Error::ReservedNodeNotFoundFault(inner)
3958            }
3959            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::ReservedNodeOfferingNotFoundFault(
3960                inner,
3961            ) => Error::ReservedNodeOfferingNotFoundFault(inner),
3962            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::UnsupportedOperationFault(inner) => {
3963                Error::UnsupportedOperationFault(inner)
3964            }
3965            crate::operation::get_reserved_node_exchange_offerings::GetReservedNodeExchangeOfferingsError::Unhandled(inner) => {
3966                Error::Unhandled(inner)
3967            }
3968        }
3969    }
3970}
3971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
3972where
3973    R: Send + Sync + std::fmt::Debug + 'static,
3974{
3975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
3976        match err {
3977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3980                source: err.into(),
3981            }),
3982        }
3983    }
3984}
3985impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
3986    fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
3987        match err {
3988            crate::operation::get_resource_policy::GetResourcePolicyError::InvalidPolicyFault(inner) => Error::InvalidPolicyFault(inner),
3989            crate::operation::get_resource_policy::GetResourcePolicyError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
3990            crate::operation::get_resource_policy::GetResourcePolicyError::UnsupportedOperationFault(inner) => {
3991                Error::UnsupportedOperationFault(inner)
3992            }
3993            crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
3994        }
3995    }
3996}
3997impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_recommendations::ListRecommendationsError, R>> for Error
3998where
3999    R: Send + Sync + std::fmt::Debug + 'static,
4000{
4001    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_recommendations::ListRecommendationsError, R>) -> Self {
4002        match err {
4003            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4004            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4005                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4006                source: err.into(),
4007            }),
4008        }
4009    }
4010}
4011impl From<crate::operation::list_recommendations::ListRecommendationsError> for Error {
4012    fn from(err: crate::operation::list_recommendations::ListRecommendationsError) -> Self {
4013        match err {
4014            crate::operation::list_recommendations::ListRecommendationsError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4015            crate::operation::list_recommendations::ListRecommendationsError::UnsupportedOperationFault(inner) => {
4016                Error::UnsupportedOperationFault(inner)
4017            }
4018            crate::operation::list_recommendations::ListRecommendationsError::Unhandled(inner) => Error::Unhandled(inner),
4019        }
4020    }
4021}
4022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError, R>>
4023    for Error
4024where
4025    R: Send + Sync + std::fmt::Debug + 'static,
4026{
4027    fn from(
4028        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError, R>,
4029    ) -> Self {
4030        match err {
4031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4034                source: err.into(),
4035            }),
4036        }
4037    }
4038}
4039impl From<crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError> for Error {
4040    fn from(err: crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError) -> Self {
4041        match err {
4042            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::ClusterNotFoundFault(inner) => {
4043                Error::ClusterNotFoundFault(inner)
4044            }
4045            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::InvalidClusterStateFault(inner) => {
4046                Error::InvalidClusterStateFault(inner)
4047            }
4048            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::UnsupportedOperationFault(inner) => {
4049                Error::UnsupportedOperationFault(inner)
4050            }
4051            crate::operation::modify_aqua_configuration::ModifyAquaConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
4052        }
4053    }
4054}
4055impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError, R>>
4056    for Error
4057where
4058    R: Send + Sync + std::fmt::Debug + 'static,
4059{
4060    fn from(
4061        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError, R>,
4062    ) -> Self {
4063        match err {
4064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4067                source: err.into(),
4068            }),
4069        }
4070    }
4071}
4072impl From<crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError> for Error {
4073    fn from(err: crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError) -> Self {
4074        match err {
4075            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::AuthenticationProfileNotFoundFault(inner) => {
4076                Error::AuthenticationProfileNotFoundFault(inner)
4077            }
4078            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::AuthenticationProfileQuotaExceededFault(inner) => {
4079                Error::AuthenticationProfileQuotaExceededFault(inner)
4080            }
4081            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::InvalidAuthenticationProfileRequestFault(inner) => {
4082                Error::InvalidAuthenticationProfileRequestFault(inner)
4083            }
4084            crate::operation::modify_authentication_profile::ModifyAuthenticationProfileError::Unhandled(inner) => Error::Unhandled(inner),
4085        }
4086    }
4087}
4088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster::ModifyClusterError, R>> for Error
4089where
4090    R: Send + Sync + std::fmt::Debug + 'static,
4091{
4092    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster::ModifyClusterError, R>) -> Self {
4093        match err {
4094            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4095            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4096                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4097                source: err.into(),
4098            }),
4099        }
4100    }
4101}
4102impl From<crate::operation::modify_cluster::ModifyClusterError> for Error {
4103    fn from(err: crate::operation::modify_cluster::ModifyClusterError) -> Self {
4104        match err {
4105            crate::operation::modify_cluster::ModifyClusterError::ClusterAlreadyExistsFault(inner) => Error::ClusterAlreadyExistsFault(inner),
4106            crate::operation::modify_cluster::ModifyClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4107            crate::operation::modify_cluster::ModifyClusterError::ClusterParameterGroupNotFoundFault(inner) => {
4108                Error::ClusterParameterGroupNotFoundFault(inner)
4109            }
4110            crate::operation::modify_cluster::ModifyClusterError::ClusterSecurityGroupNotFoundFault(inner) => {
4111                Error::ClusterSecurityGroupNotFoundFault(inner)
4112            }
4113            crate::operation::modify_cluster::ModifyClusterError::CustomCnameAssociationFault(inner) => Error::CustomCnameAssociationFault(inner),
4114            crate::operation::modify_cluster::ModifyClusterError::DependentServiceRequestThrottlingFault(inner) => {
4115                Error::DependentServiceRequestThrottlingFault(inner)
4116            }
4117            crate::operation::modify_cluster::ModifyClusterError::HsmClientCertificateNotFoundFault(inner) => {
4118                Error::HsmClientCertificateNotFoundFault(inner)
4119            }
4120            crate::operation::modify_cluster::ModifyClusterError::HsmConfigurationNotFoundFault(inner) => Error::HsmConfigurationNotFoundFault(inner),
4121            crate::operation::modify_cluster::ModifyClusterError::InsufficientClusterCapacityFault(inner) => {
4122                Error::InsufficientClusterCapacityFault(inner)
4123            }
4124            crate::operation::modify_cluster::ModifyClusterError::InvalidClusterSecurityGroupStateFault(inner) => {
4125                Error::InvalidClusterSecurityGroupStateFault(inner)
4126            }
4127            crate::operation::modify_cluster::ModifyClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4128            crate::operation::modify_cluster::ModifyClusterError::InvalidClusterTrackFault(inner) => Error::InvalidClusterTrackFault(inner),
4129            crate::operation::modify_cluster::ModifyClusterError::InvalidElasticIpFault(inner) => Error::InvalidElasticIpFault(inner),
4130            crate::operation::modify_cluster::ModifyClusterError::InvalidRetentionPeriodFault(inner) => Error::InvalidRetentionPeriodFault(inner),
4131            crate::operation::modify_cluster::ModifyClusterError::Ipv6CidrBlockNotFoundFault(inner) => Error::Ipv6CidrBlockNotFoundFault(inner),
4132            crate::operation::modify_cluster::ModifyClusterError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
4133            crate::operation::modify_cluster::ModifyClusterError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
4134                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
4135            }
4136            crate::operation::modify_cluster::ModifyClusterError::NumberOfNodesQuotaExceededFault(inner) => {
4137                Error::NumberOfNodesQuotaExceededFault(inner)
4138            }
4139            crate::operation::modify_cluster::ModifyClusterError::TableLimitExceededFault(inner) => Error::TableLimitExceededFault(inner),
4140            crate::operation::modify_cluster::ModifyClusterError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
4141            crate::operation::modify_cluster::ModifyClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4142            crate::operation::modify_cluster::ModifyClusterError::UnsupportedOptionFault(inner) => Error::UnsupportedOptionFault(inner),
4143            crate::operation::modify_cluster::ModifyClusterError::Unhandled(inner) => Error::Unhandled(inner),
4144        }
4145    }
4146}
4147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError, R>>
4148    for Error
4149where
4150    R: Send + Sync + std::fmt::Debug + 'static,
4151{
4152    fn from(
4153        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError, R>,
4154    ) -> Self {
4155        match err {
4156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4159                source: err.into(),
4160            }),
4161        }
4162    }
4163}
4164impl From<crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError> for Error {
4165    fn from(err: crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError) -> Self {
4166        match err {
4167            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::ClusterNotFoundFault(inner) => {
4168                Error::ClusterNotFoundFault(inner)
4169            }
4170            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::ClusterOnLatestRevisionFault(inner) => {
4171                Error::ClusterOnLatestRevisionFault(inner)
4172            }
4173            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::InvalidClusterStateFault(inner) => {
4174                Error::InvalidClusterStateFault(inner)
4175            }
4176            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::UnsupportedOperationFault(inner) => {
4177                Error::UnsupportedOperationFault(inner)
4178            }
4179            crate::operation::modify_cluster_db_revision::ModifyClusterDbRevisionError::Unhandled(inner) => Error::Unhandled(inner),
4180        }
4181    }
4182}
4183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError, R>> for Error
4184where
4185    R: Send + Sync + std::fmt::Debug + 'static,
4186{
4187    fn from(
4188        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError, R>,
4189    ) -> Self {
4190        match err {
4191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4194                source: err.into(),
4195            }),
4196        }
4197    }
4198}
4199impl From<crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError> for Error {
4200    fn from(err: crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError) -> Self {
4201        match err {
4202            crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4203            crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError::InvalidClusterStateFault(inner) => {
4204                Error::InvalidClusterStateFault(inner)
4205            }
4206            crate::operation::modify_cluster_iam_roles::ModifyClusterIamRolesError::Unhandled(inner) => Error::Unhandled(inner),
4207        }
4208    }
4209}
4210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError, R>>
4211    for Error
4212where
4213    R: Send + Sync + std::fmt::Debug + 'static,
4214{
4215    fn from(
4216        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError, R>,
4217    ) -> Self {
4218        match err {
4219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4222                source: err.into(),
4223            }),
4224        }
4225    }
4226}
4227impl From<crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError> for Error {
4228    fn from(err: crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError) -> Self {
4229        match err {
4230            crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError::ClusterNotFoundFault(inner) => {
4231                Error::ClusterNotFoundFault(inner)
4232            }
4233            crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError::InvalidClusterStateFault(inner) => {
4234                Error::InvalidClusterStateFault(inner)
4235            }
4236            crate::operation::modify_cluster_maintenance::ModifyClusterMaintenanceError::Unhandled(inner) => Error::Unhandled(inner),
4237        }
4238    }
4239}
4240impl<R>
4241    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError, R>>
4242    for Error
4243where
4244    R: Send + Sync + std::fmt::Debug + 'static,
4245{
4246    fn from(
4247        err: ::aws_smithy_runtime_api::client::result::SdkError<
4248            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError,
4249            R,
4250        >,
4251    ) -> Self {
4252        match err {
4253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4256                source: err.into(),
4257            }),
4258        }
4259    }
4260}
4261impl From<crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError> for Error {
4262    fn from(err: crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError) -> Self {
4263        match err {
4264            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError::ClusterParameterGroupNotFoundFault(inner) => {
4265                Error::ClusterParameterGroupNotFoundFault(inner)
4266            }
4267            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError::InvalidClusterParameterGroupStateFault(inner) => {
4268                Error::InvalidClusterParameterGroupStateFault(inner)
4269            }
4270            crate::operation::modify_cluster_parameter_group::ModifyClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
4271        }
4272    }
4273}
4274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError, R>> for Error
4275where
4276    R: Send + Sync + std::fmt::Debug + 'static,
4277{
4278    fn from(
4279        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError, R>,
4280    ) -> Self {
4281        match err {
4282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4285                source: err.into(),
4286            }),
4287        }
4288    }
4289}
4290impl From<crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError> for Error {
4291    fn from(err: crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError) -> Self {
4292        match err {
4293            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
4294                Error::ClusterSnapshotNotFoundFault(inner)
4295            }
4296            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
4297                Error::InvalidClusterSnapshotStateFault(inner)
4298            }
4299            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::InvalidRetentionPeriodFault(inner) => {
4300                Error::InvalidRetentionPeriodFault(inner)
4301            }
4302            crate::operation::modify_cluster_snapshot::ModifyClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
4303        }
4304    }
4305}
4306impl<R>
4307    From<
4308        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError, R>,
4309    > for Error
4310where
4311    R: Send + Sync + std::fmt::Debug + 'static,
4312{
4313    fn from(
4314        err: ::aws_smithy_runtime_api::client::result::SdkError<
4315            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError,
4316            R,
4317        >,
4318    ) -> Self {
4319        match err {
4320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4323                source: err.into(),
4324            }),
4325        }
4326    }
4327}
4328impl From<crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError> for Error {
4329    fn from(err: crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError) -> Self {
4330        match err {
4331            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::ClusterNotFoundFault(inner) => {
4332                Error::ClusterNotFoundFault(inner)
4333            }
4334            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::InvalidClusterSnapshotScheduleStateFault(
4335                inner,
4336            ) => Error::InvalidClusterSnapshotScheduleStateFault(inner),
4337            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::SnapshotScheduleNotFoundFault(inner) => {
4338                Error::SnapshotScheduleNotFoundFault(inner)
4339            }
4340            crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4341        }
4342    }
4343}
4344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError, R>>
4345    for Error
4346where
4347    R: Send + Sync + std::fmt::Debug + 'static,
4348{
4349    fn from(
4350        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError, R>,
4351    ) -> Self {
4352        match err {
4353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4356                source: err.into(),
4357            }),
4358        }
4359    }
4360}
4361impl From<crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError> for Error {
4362    fn from(err: crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError) -> Self {
4363        match err {
4364            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::ClusterSubnetGroupNotFoundFault(inner) => {
4365                Error::ClusterSubnetGroupNotFoundFault(inner)
4366            }
4367            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::ClusterSubnetQuotaExceededFault(inner) => {
4368                Error::ClusterSubnetQuotaExceededFault(inner)
4369            }
4370            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::DependentServiceRequestThrottlingFault(inner) => {
4371                Error::DependentServiceRequestThrottlingFault(inner)
4372            }
4373            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
4374            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::SubnetAlreadyInUse(inner) => {
4375                Error::SubnetAlreadyInUse(inner)
4376            }
4377            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::UnauthorizedOperation(inner) => {
4378                Error::UnauthorizedOperation(inner)
4379            }
4380            crate::operation::modify_cluster_subnet_group::ModifyClusterSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
4381        }
4382    }
4383}
4384impl<R>
4385    From<
4386        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError, R>,
4387    > for Error
4388where
4389    R: Send + Sync + std::fmt::Debug + 'static,
4390{
4391    fn from(
4392        err: ::aws_smithy_runtime_api::client::result::SdkError<
4393            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError,
4394            R,
4395        >,
4396    ) -> Self {
4397        match err {
4398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4401                source: err.into(),
4402            }),
4403        }
4404    }
4405}
4406impl From<crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError> for Error {
4407    fn from(err: crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError) -> Self {
4408        match err {
4409            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::ClusterNotFoundFault(inner) => {
4410                Error::ClusterNotFoundFault(inner)
4411            }
4412            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::CustomCnameAssociationFault(inner) => {
4413                Error::CustomCnameAssociationFault(inner)
4414            }
4415            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::CustomDomainAssociationNotFoundFault(inner) => {
4416                Error::CustomDomainAssociationNotFoundFault(inner)
4417            }
4418            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::UnsupportedOperationFault(inner) => {
4419                Error::UnsupportedOperationFault(inner)
4420            }
4421            crate::operation::modify_custom_domain_association::ModifyCustomDomainAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4422        }
4423    }
4424}
4425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_endpoint_access::ModifyEndpointAccessError, R>> for Error
4426where
4427    R: Send + Sync + std::fmt::Debug + 'static,
4428{
4429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_endpoint_access::ModifyEndpointAccessError, R>) -> Self {
4430        match err {
4431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4434                source: err.into(),
4435            }),
4436        }
4437    }
4438}
4439impl From<crate::operation::modify_endpoint_access::ModifyEndpointAccessError> for Error {
4440    fn from(err: crate::operation::modify_endpoint_access::ModifyEndpointAccessError) -> Self {
4441        match err {
4442            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4443            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::EndpointNotFoundFault(inner) => Error::EndpointNotFoundFault(inner),
4444            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
4445                Error::InvalidClusterSecurityGroupStateFault(inner)
4446            }
4447            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::InvalidClusterStateFault(inner) => {
4448                Error::InvalidClusterStateFault(inner)
4449            }
4450            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::InvalidEndpointStateFault(inner) => {
4451                Error::InvalidEndpointStateFault(inner)
4452            }
4453            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
4454            crate::operation::modify_endpoint_access::ModifyEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
4455        }
4456    }
4457}
4458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_event_subscription::ModifyEventSubscriptionError, R>>
4459    for Error
4460where
4461    R: Send + Sync + std::fmt::Debug + 'static,
4462{
4463    fn from(
4464        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_event_subscription::ModifyEventSubscriptionError, R>,
4465    ) -> Self {
4466        match err {
4467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4470                source: err.into(),
4471            }),
4472        }
4473    }
4474}
4475impl From<crate::operation::modify_event_subscription::ModifyEventSubscriptionError> for Error {
4476    fn from(err: crate::operation::modify_event_subscription::ModifyEventSubscriptionError) -> Self {
4477        match err {
4478            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::InvalidSubscriptionStateFault(inner) => {
4479                Error::InvalidSubscriptionStateFault(inner)
4480            }
4481            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsInvalidTopicFault(inner) => {
4482                Error::SnsInvalidTopicFault(inner)
4483            }
4484            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsNoAuthorizationFault(inner) => {
4485                Error::SnsNoAuthorizationFault(inner)
4486            }
4487            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsTopicArnNotFoundFault(inner) => {
4488                Error::SnsTopicArnNotFoundFault(inner)
4489            }
4490            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SourceNotFoundFault(inner) => {
4491                Error::SourceNotFoundFault(inner)
4492            }
4493            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionCategoryNotFoundFault(inner) => {
4494                Error::SubscriptionCategoryNotFoundFault(inner)
4495            }
4496            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionEventIdNotFoundFault(inner) => {
4497                Error::SubscriptionEventIdNotFoundFault(inner)
4498            }
4499            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionNotFoundFault(inner) => {
4500                Error::SubscriptionNotFoundFault(inner)
4501            }
4502            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionSeverityNotFoundFault(inner) => {
4503                Error::SubscriptionSeverityNotFoundFault(inner)
4504            }
4505            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
4506        }
4507    }
4508}
4509impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
4510where
4511    R: Send + Sync + std::fmt::Debug + 'static,
4512{
4513    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
4514        match err {
4515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4518                source: err.into(),
4519            }),
4520        }
4521    }
4522}
4523impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
4524    fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
4525        match err {
4526            crate::operation::modify_integration::ModifyIntegrationError::IntegrationAlreadyExistsFault(inner) => {
4527                Error::IntegrationAlreadyExistsFault(inner)
4528            }
4529            crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
4530                Error::IntegrationConflictOperationFault(inner)
4531            }
4532            crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictStateFault(inner) => {
4533                Error::IntegrationConflictStateFault(inner)
4534            }
4535            crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
4536            crate::operation::modify_integration::ModifyIntegrationError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4537            crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
4538        }
4539    }
4540}
4541impl<R>
4542    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError, R>>
4543    for Error
4544where
4545    R: Send + Sync + std::fmt::Debug + 'static,
4546{
4547    fn from(
4548        err: ::aws_smithy_runtime_api::client::result::SdkError<
4549            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError,
4550            R,
4551        >,
4552    ) -> Self {
4553        match err {
4554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4557                source: err.into(),
4558            }),
4559        }
4560    }
4561}
4562impl From<crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError> for Error {
4563    fn from(err: crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError) -> Self {
4564        match err {
4565            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::DependentServiceAccessDeniedFault(inner) => {
4566                Error::DependentServiceAccessDeniedFault(inner)
4567            }
4568            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::DependentServiceUnavailableFault(inner) => {
4569                Error::DependentServiceUnavailableFault(inner)
4570            }
4571            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::RedshiftIdcApplicationNotExistsFault(inner) => {
4572                Error::RedshiftIdcApplicationNotExistsFault(inner)
4573            }
4574            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::UnsupportedOperationFault(inner) => {
4575                Error::UnsupportedOperationFault(inner)
4576            }
4577            crate::operation::modify_redshift_idc_application::ModifyRedshiftIdcApplicationError::Unhandled(inner) => Error::Unhandled(inner),
4578        }
4579    }
4580}
4581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_scheduled_action::ModifyScheduledActionError, R>> for Error
4582where
4583    R: Send + Sync + std::fmt::Debug + 'static,
4584{
4585    fn from(
4586        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_scheduled_action::ModifyScheduledActionError, R>,
4587    ) -> Self {
4588        match err {
4589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4592                source: err.into(),
4593            }),
4594        }
4595    }
4596}
4597impl From<crate::operation::modify_scheduled_action::ModifyScheduledActionError> for Error {
4598    fn from(err: crate::operation::modify_scheduled_action::ModifyScheduledActionError) -> Self {
4599        match err {
4600            crate::operation::modify_scheduled_action::ModifyScheduledActionError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4601            crate::operation::modify_scheduled_action::ModifyScheduledActionError::InvalidScheduledActionFault(inner) => {
4602                Error::InvalidScheduledActionFault(inner)
4603            }
4604            crate::operation::modify_scheduled_action::ModifyScheduledActionError::InvalidScheduleFault(inner) => Error::InvalidScheduleFault(inner),
4605            crate::operation::modify_scheduled_action::ModifyScheduledActionError::ScheduledActionNotFoundFault(inner) => {
4606                Error::ScheduledActionNotFoundFault(inner)
4607            }
4608            crate::operation::modify_scheduled_action::ModifyScheduledActionError::ScheduledActionTypeUnsupportedFault(inner) => {
4609                Error::ScheduledActionTypeUnsupportedFault(inner)
4610            }
4611            crate::operation::modify_scheduled_action::ModifyScheduledActionError::UnauthorizedOperation(inner) => {
4612                Error::UnauthorizedOperation(inner)
4613            }
4614            crate::operation::modify_scheduled_action::ModifyScheduledActionError::UnsupportedOperationFault(inner) => {
4615                Error::UnsupportedOperationFault(inner)
4616            }
4617            crate::operation::modify_scheduled_action::ModifyScheduledActionError::Unhandled(inner) => Error::Unhandled(inner),
4618        }
4619    }
4620}
4621impl<R>
4622    From<
4623        ::aws_smithy_runtime_api::client::result::SdkError<
4624            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError,
4625            R,
4626        >,
4627    > for Error
4628where
4629    R: Send + Sync + std::fmt::Debug + 'static,
4630{
4631    fn from(
4632        err: ::aws_smithy_runtime_api::client::result::SdkError<
4633            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError,
4634            R,
4635        >,
4636    ) -> Self {
4637        match err {
4638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4641                source: err.into(),
4642            }),
4643        }
4644    }
4645}
4646impl From<crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError> for Error {
4647    fn from(err: crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError) -> Self {
4648        match err {
4649            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::ClusterNotFoundFault(inner) => {
4650                Error::ClusterNotFoundFault(inner)
4651            }
4652            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::InvalidClusterStateFault(inner) => {
4653                Error::InvalidClusterStateFault(inner)
4654            }
4655            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::InvalidRetentionPeriodFault(inner) => {
4656                Error::InvalidRetentionPeriodFault(inner)
4657            }
4658            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::SnapshotCopyDisabledFault(inner) => {
4659                Error::SnapshotCopyDisabledFault(inner)
4660            }
4661            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::UnauthorizedOperation(inner) => {
4662                Error::UnauthorizedOperation(inner)
4663            }
4664            crate::operation::modify_snapshot_copy_retention_period::ModifySnapshotCopyRetentionPeriodError::Unhandled(inner) => {
4665                Error::Unhandled(inner)
4666            }
4667        }
4668    }
4669}
4670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError, R>> for Error
4671where
4672    R: Send + Sync + std::fmt::Debug + 'static,
4673{
4674    fn from(
4675        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError, R>,
4676    ) -> Self {
4677        match err {
4678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4681                source: err.into(),
4682            }),
4683        }
4684    }
4685}
4686impl From<crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError> for Error {
4687    fn from(err: crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError) -> Self {
4688        match err {
4689            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::InvalidScheduleFault(inner) => {
4690                Error::InvalidScheduleFault(inner)
4691            }
4692            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::SnapshotScheduleNotFoundFault(inner) => {
4693                Error::SnapshotScheduleNotFoundFault(inner)
4694            }
4695            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::SnapshotScheduleUpdateInProgressFault(inner) => {
4696                Error::SnapshotScheduleUpdateInProgressFault(inner)
4697            }
4698            crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4699        }
4700    }
4701}
4702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_usage_limit::ModifyUsageLimitError, R>> for Error
4703where
4704    R: Send + Sync + std::fmt::Debug + 'static,
4705{
4706    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_usage_limit::ModifyUsageLimitError, R>) -> Self {
4707        match err {
4708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4711                source: err.into(),
4712            }),
4713        }
4714    }
4715}
4716impl From<crate::operation::modify_usage_limit::ModifyUsageLimitError> for Error {
4717    fn from(err: crate::operation::modify_usage_limit::ModifyUsageLimitError) -> Self {
4718        match err {
4719            crate::operation::modify_usage_limit::ModifyUsageLimitError::InvalidUsageLimitFault(inner) => Error::InvalidUsageLimitFault(inner),
4720            crate::operation::modify_usage_limit::ModifyUsageLimitError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4721            crate::operation::modify_usage_limit::ModifyUsageLimitError::UsageLimitNotFoundFault(inner) => Error::UsageLimitNotFoundFault(inner),
4722            crate::operation::modify_usage_limit::ModifyUsageLimitError::Unhandled(inner) => Error::Unhandled(inner),
4723        }
4724    }
4725}
4726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::pause_cluster::PauseClusterError, R>> for Error
4727where
4728    R: Send + Sync + std::fmt::Debug + 'static,
4729{
4730    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::pause_cluster::PauseClusterError, R>) -> Self {
4731        match err {
4732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4735                source: err.into(),
4736            }),
4737        }
4738    }
4739}
4740impl From<crate::operation::pause_cluster::PauseClusterError> for Error {
4741    fn from(err: crate::operation::pause_cluster::PauseClusterError) -> Self {
4742        match err {
4743            crate::operation::pause_cluster::PauseClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4744            crate::operation::pause_cluster::PauseClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4745            crate::operation::pause_cluster::PauseClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4746            crate::operation::pause_cluster::PauseClusterError::Unhandled(inner) => Error::Unhandled(inner),
4747        }
4748    }
4749}
4750impl<R>
4751    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError, R>>
4752    for Error
4753where
4754    R: Send + Sync + std::fmt::Debug + 'static,
4755{
4756    fn from(
4757        err: ::aws_smithy_runtime_api::client::result::SdkError<
4758            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError,
4759            R,
4760        >,
4761    ) -> Self {
4762        match err {
4763            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4764            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4765                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4766                source: err.into(),
4767            }),
4768        }
4769    }
4770}
4771impl From<crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError> for Error {
4772    fn from(err: crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError) -> Self {
4773        match err {
4774            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::ReservedNodeAlreadyExistsFault(inner) => {
4775                Error::ReservedNodeAlreadyExistsFault(inner)
4776            }
4777            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::ReservedNodeOfferingNotFoundFault(inner) => {
4778                Error::ReservedNodeOfferingNotFoundFault(inner)
4779            }
4780            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::ReservedNodeQuotaExceededFault(inner) => {
4781                Error::ReservedNodeQuotaExceededFault(inner)
4782            }
4783            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::UnsupportedOperationFault(inner) => {
4784                Error::UnsupportedOperationFault(inner)
4785            }
4786            crate::operation::purchase_reserved_node_offering::PurchaseReservedNodeOfferingError::Unhandled(inner) => Error::Unhandled(inner),
4787        }
4788    }
4789}
4790impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
4791where
4792    R: Send + Sync + std::fmt::Debug + 'static,
4793{
4794    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
4795        match err {
4796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4799                source: err.into(),
4800            }),
4801        }
4802    }
4803}
4804impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
4805    fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
4806        match err {
4807            crate::operation::put_resource_policy::PutResourcePolicyError::ConflictPolicyUpdateFault(inner) => {
4808                Error::ConflictPolicyUpdateFault(inner)
4809            }
4810            crate::operation::put_resource_policy::PutResourcePolicyError::InvalidPolicyFault(inner) => Error::InvalidPolicyFault(inner),
4811            crate::operation::put_resource_policy::PutResourcePolicyError::ResourceNotFoundFault(inner) => Error::ResourceNotFoundFault(inner),
4812            crate::operation::put_resource_policy::PutResourcePolicyError::UnsupportedOperationFault(inner) => {
4813                Error::UnsupportedOperationFault(inner)
4814            }
4815            crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4816        }
4817    }
4818}
4819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_cluster::RebootClusterError, R>> for Error
4820where
4821    R: Send + Sync + std::fmt::Debug + 'static,
4822{
4823    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_cluster::RebootClusterError, R>) -> Self {
4824        match err {
4825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4828                source: err.into(),
4829            }),
4830        }
4831    }
4832}
4833impl From<crate::operation::reboot_cluster::RebootClusterError> for Error {
4834    fn from(err: crate::operation::reboot_cluster::RebootClusterError) -> Self {
4835        match err {
4836            crate::operation::reboot_cluster::RebootClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4837            crate::operation::reboot_cluster::RebootClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4838            crate::operation::reboot_cluster::RebootClusterError::Unhandled(inner) => Error::Unhandled(inner),
4839        }
4840    }
4841}
4842impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_namespace::RegisterNamespaceError, R>> for Error
4843where
4844    R: Send + Sync + std::fmt::Debug + 'static,
4845{
4846    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_namespace::RegisterNamespaceError, R>) -> Self {
4847        match err {
4848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4851                source: err.into(),
4852            }),
4853        }
4854    }
4855}
4856impl From<crate::operation::register_namespace::RegisterNamespaceError> for Error {
4857    fn from(err: crate::operation::register_namespace::RegisterNamespaceError) -> Self {
4858        match err {
4859            crate::operation::register_namespace::RegisterNamespaceError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4860            crate::operation::register_namespace::RegisterNamespaceError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4861            crate::operation::register_namespace::RegisterNamespaceError::InvalidNamespaceFault(inner) => Error::InvalidNamespaceFault(inner),
4862            crate::operation::register_namespace::RegisterNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
4863        }
4864    }
4865}
4866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_data_share::RejectDataShareError, R>> for Error
4867where
4868    R: Send + Sync + std::fmt::Debug + 'static,
4869{
4870    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_data_share::RejectDataShareError, R>) -> Self {
4871        match err {
4872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4875                source: err.into(),
4876            }),
4877        }
4878    }
4879}
4880impl From<crate::operation::reject_data_share::RejectDataShareError> for Error {
4881    fn from(err: crate::operation::reject_data_share::RejectDataShareError) -> Self {
4882        match err {
4883            crate::operation::reject_data_share::RejectDataShareError::InvalidDataShareFault(inner) => Error::InvalidDataShareFault(inner),
4884            crate::operation::reject_data_share::RejectDataShareError::Unhandled(inner) => Error::Unhandled(inner),
4885        }
4886    }
4887}
4888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError, R>>
4889    for Error
4890where
4891    R: Send + Sync + std::fmt::Debug + 'static,
4892{
4893    fn from(
4894        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError, R>,
4895    ) -> Self {
4896        match err {
4897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4900                source: err.into(),
4901            }),
4902        }
4903    }
4904}
4905impl From<crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError> for Error {
4906    fn from(err: crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError) -> Self {
4907        match err {
4908            crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError::ClusterParameterGroupNotFoundFault(inner) => {
4909                Error::ClusterParameterGroupNotFoundFault(inner)
4910            }
4911            crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError::InvalidClusterParameterGroupStateFault(inner) => {
4912                Error::InvalidClusterParameterGroupStateFault(inner)
4913            }
4914            crate::operation::reset_cluster_parameter_group::ResetClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
4915        }
4916    }
4917}
4918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resize_cluster::ResizeClusterError, R>> for Error
4919where
4920    R: Send + Sync + std::fmt::Debug + 'static,
4921{
4922    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resize_cluster::ResizeClusterError, R>) -> Self {
4923        match err {
4924            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4925            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4926                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4927                source: err.into(),
4928            }),
4929        }
4930    }
4931}
4932impl From<crate::operation::resize_cluster::ResizeClusterError> for Error {
4933    fn from(err: crate::operation::resize_cluster::ResizeClusterError) -> Self {
4934        match err {
4935            crate::operation::resize_cluster::ResizeClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
4936            crate::operation::resize_cluster::ResizeClusterError::DependentServiceUnavailableFault(inner) => {
4937                Error::DependentServiceUnavailableFault(inner)
4938            }
4939            crate::operation::resize_cluster::ResizeClusterError::InsufficientClusterCapacityFault(inner) => {
4940                Error::InsufficientClusterCapacityFault(inner)
4941            }
4942            crate::operation::resize_cluster::ResizeClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
4943            crate::operation::resize_cluster::ResizeClusterError::InvalidReservedNodeStateFault(inner) => Error::InvalidReservedNodeStateFault(inner),
4944            crate::operation::resize_cluster::ResizeClusterError::LimitExceededFault(inner) => Error::LimitExceededFault(inner),
4945            crate::operation::resize_cluster::ResizeClusterError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
4946                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
4947            }
4948            crate::operation::resize_cluster::ResizeClusterError::NumberOfNodesQuotaExceededFault(inner) => {
4949                Error::NumberOfNodesQuotaExceededFault(inner)
4950            }
4951            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeAlreadyExistsFault(inner) => {
4952                Error::ReservedNodeAlreadyExistsFault(inner)
4953            }
4954            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeAlreadyMigratedFault(inner) => {
4955                Error::ReservedNodeAlreadyMigratedFault(inner)
4956            }
4957            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeNotFoundFault(inner) => Error::ReservedNodeNotFoundFault(inner),
4958            crate::operation::resize_cluster::ResizeClusterError::ReservedNodeOfferingNotFoundFault(inner) => {
4959                Error::ReservedNodeOfferingNotFoundFault(inner)
4960            }
4961            crate::operation::resize_cluster::ResizeClusterError::UnauthorizedOperation(inner) => Error::UnauthorizedOperation(inner),
4962            crate::operation::resize_cluster::ResizeClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
4963            crate::operation::resize_cluster::ResizeClusterError::UnsupportedOptionFault(inner) => Error::UnsupportedOptionFault(inner),
4964            crate::operation::resize_cluster::ResizeClusterError::Unhandled(inner) => Error::Unhandled(inner),
4965        }
4966    }
4967}
4968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError, R>>
4969    for Error
4970where
4971    R: Send + Sync + std::fmt::Debug + 'static,
4972{
4973    fn from(
4974        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError, R>,
4975    ) -> Self {
4976        match err {
4977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4980                source: err.into(),
4981            }),
4982        }
4983    }
4984}
4985impl From<crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError> for Error {
4986    fn from(err: crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError) -> Self {
4987        match err {
4988            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::AccessToSnapshotDeniedFault(inner) => {
4989                Error::AccessToSnapshotDeniedFault(inner)
4990            }
4991            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterAlreadyExistsFault(inner) => {
4992                Error::ClusterAlreadyExistsFault(inner)
4993            }
4994            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterParameterGroupNotFoundFault(inner) => {
4995                Error::ClusterParameterGroupNotFoundFault(inner)
4996            }
4997            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterQuotaExceededFault(inner) => {
4998                Error::ClusterQuotaExceededFault(inner)
4999            }
5000            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterSecurityGroupNotFoundFault(inner) => {
5001                Error::ClusterSecurityGroupNotFoundFault(inner)
5002            }
5003            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
5004                Error::ClusterSnapshotNotFoundFault(inner)
5005            }
5006            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ClusterSubnetGroupNotFoundFault(inner) => {
5007                Error::ClusterSubnetGroupNotFoundFault(inner)
5008            }
5009            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::DependentServiceRequestThrottlingFault(inner) => {
5010                Error::DependentServiceRequestThrottlingFault(inner)
5011            }
5012            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::DependentServiceUnavailableFault(inner) => {
5013                Error::DependentServiceUnavailableFault(inner)
5014            }
5015            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::HsmClientCertificateNotFoundFault(inner) => {
5016                Error::HsmClientCertificateNotFoundFault(inner)
5017            }
5018            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::HsmConfigurationNotFoundFault(inner) => {
5019                Error::HsmConfigurationNotFoundFault(inner)
5020            }
5021            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InsufficientClusterCapacityFault(inner) => {
5022                Error::InsufficientClusterCapacityFault(inner)
5023            }
5024            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
5025                Error::InvalidClusterSnapshotStateFault(inner)
5026            }
5027            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidClusterSubnetGroupStateFault(inner) => {
5028                Error::InvalidClusterSubnetGroupStateFault(inner)
5029            }
5030            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidClusterTrackFault(inner) => {
5031                Error::InvalidClusterTrackFault(inner)
5032            }
5033            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidElasticIpFault(inner) => {
5034                Error::InvalidElasticIpFault(inner)
5035            }
5036            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidReservedNodeStateFault(inner) => {
5037                Error::InvalidReservedNodeStateFault(inner)
5038            }
5039            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidRestoreFault(inner) => {
5040                Error::InvalidRestoreFault(inner)
5041            }
5042            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
5043            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidTagFault(inner) => Error::InvalidTagFault(inner),
5044            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::InvalidVpcNetworkStateFault(inner) => {
5045                Error::InvalidVpcNetworkStateFault(inner)
5046            }
5047            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::Ipv6CidrBlockNotFoundFault(inner) => {
5048                Error::Ipv6CidrBlockNotFoundFault(inner)
5049            }
5050            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::LimitExceededFault(inner) => {
5051                Error::LimitExceededFault(inner)
5052            }
5053            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::NumberOfNodesPerClusterLimitExceededFault(inner) => {
5054                Error::NumberOfNodesPerClusterLimitExceededFault(inner)
5055            }
5056            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::NumberOfNodesQuotaExceededFault(inner) => {
5057                Error::NumberOfNodesQuotaExceededFault(inner)
5058            }
5059            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeAlreadyExistsFault(inner) => {
5060                Error::ReservedNodeAlreadyExistsFault(inner)
5061            }
5062            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeAlreadyMigratedFault(inner) => {
5063                Error::ReservedNodeAlreadyMigratedFault(inner)
5064            }
5065            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeNotFoundFault(inner) => {
5066                Error::ReservedNodeNotFoundFault(inner)
5067            }
5068            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::ReservedNodeOfferingNotFoundFault(inner) => {
5069                Error::ReservedNodeOfferingNotFoundFault(inner)
5070            }
5071            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::SnapshotScheduleNotFoundFault(inner) => {
5072                Error::SnapshotScheduleNotFoundFault(inner)
5073            }
5074            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::TagLimitExceededFault(inner) => {
5075                Error::TagLimitExceededFault(inner)
5076            }
5077            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::UnauthorizedOperation(inner) => {
5078                Error::UnauthorizedOperation(inner)
5079            }
5080            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::UnsupportedOperationFault(inner) => {
5081                Error::UnsupportedOperationFault(inner)
5082            }
5083            crate::operation::restore_from_cluster_snapshot::RestoreFromClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5084        }
5085    }
5086}
5087impl<R>
5088    From<
5089        ::aws_smithy_runtime_api::client::result::SdkError<
5090            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError,
5091            R,
5092        >,
5093    > for Error
5094where
5095    R: Send + Sync + std::fmt::Debug + 'static,
5096{
5097    fn from(
5098        err: ::aws_smithy_runtime_api::client::result::SdkError<
5099            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError,
5100            R,
5101        >,
5102    ) -> Self {
5103        match err {
5104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5107                source: err.into(),
5108            }),
5109        }
5110    }
5111}
5112impl From<crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError> for Error {
5113    fn from(err: crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError) -> Self {
5114        match err {
5115            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::ClusterNotFoundFault(inner) => {
5116                Error::ClusterNotFoundFault(inner)
5117            }
5118            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::ClusterSnapshotNotFoundFault(inner) => {
5119                Error::ClusterSnapshotNotFoundFault(inner)
5120            }
5121            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InProgressTableRestoreQuotaExceededFault(
5122                inner,
5123            ) => Error::InProgressTableRestoreQuotaExceededFault(inner),
5124            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InvalidClusterSnapshotStateFault(inner) => {
5125                Error::InvalidClusterSnapshotStateFault(inner)
5126            }
5127            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InvalidClusterStateFault(inner) => {
5128                Error::InvalidClusterStateFault(inner)
5129            }
5130            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::InvalidTableRestoreArgumentFault(inner) => {
5131                Error::InvalidTableRestoreArgumentFault(inner)
5132            }
5133            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::UnsupportedOperationFault(inner) => {
5134                Error::UnsupportedOperationFault(inner)
5135            }
5136            crate::operation::restore_table_from_cluster_snapshot::RestoreTableFromClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5137        }
5138    }
5139}
5140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_cluster::ResumeClusterError, R>> for Error
5141where
5142    R: Send + Sync + std::fmt::Debug + 'static,
5143{
5144    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_cluster::ResumeClusterError, R>) -> Self {
5145        match err {
5146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5149                source: err.into(),
5150            }),
5151        }
5152    }
5153}
5154impl From<crate::operation::resume_cluster::ResumeClusterError> for Error {
5155    fn from(err: crate::operation::resume_cluster::ResumeClusterError) -> Self {
5156        match err {
5157            crate::operation::resume_cluster::ResumeClusterError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5158            crate::operation::resume_cluster::ResumeClusterError::InsufficientClusterCapacityFault(inner) => {
5159                Error::InsufficientClusterCapacityFault(inner)
5160            }
5161            crate::operation::resume_cluster::ResumeClusterError::InvalidClusterStateFault(inner) => Error::InvalidClusterStateFault(inner),
5162            crate::operation::resume_cluster::ResumeClusterError::UnsupportedOperationFault(inner) => Error::UnsupportedOperationFault(inner),
5163            crate::operation::resume_cluster::ResumeClusterError::Unhandled(inner) => Error::Unhandled(inner),
5164        }
5165    }
5166}
5167impl<R>
5168    From<
5169        ::aws_smithy_runtime_api::client::result::SdkError<
5170            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError,
5171            R,
5172        >,
5173    > for Error
5174where
5175    R: Send + Sync + std::fmt::Debug + 'static,
5176{
5177    fn from(
5178        err: ::aws_smithy_runtime_api::client::result::SdkError<
5179            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError,
5180            R,
5181        >,
5182    ) -> Self {
5183        match err {
5184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5187                source: err.into(),
5188            }),
5189        }
5190    }
5191}
5192impl From<crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError> for Error {
5193    fn from(err: crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError) -> Self {
5194        match err {
5195            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::AuthorizationNotFoundFault(inner) => Error::AuthorizationNotFoundFault(inner),
5196            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::ClusterSecurityGroupNotFoundFault(inner) => Error::ClusterSecurityGroupNotFoundFault(inner),
5197            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::InvalidClusterSecurityGroupStateFault(inner) => Error::InvalidClusterSecurityGroupStateFault(inner),
5198            crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
5199        }
5200    }
5201}
5202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_endpoint_access::RevokeEndpointAccessError, R>> for Error
5203where
5204    R: Send + Sync + std::fmt::Debug + 'static,
5205{
5206    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_endpoint_access::RevokeEndpointAccessError, R>) -> Self {
5207        match err {
5208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5211                source: err.into(),
5212            }),
5213        }
5214    }
5215}
5216impl From<crate::operation::revoke_endpoint_access::RevokeEndpointAccessError> for Error {
5217    fn from(err: crate::operation::revoke_endpoint_access::RevokeEndpointAccessError) -> Self {
5218        match err {
5219            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5220            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::EndpointAuthorizationNotFoundFault(inner) => {
5221                Error::EndpointAuthorizationNotFoundFault(inner)
5222            }
5223            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::EndpointNotFoundFault(inner) => Error::EndpointNotFoundFault(inner),
5224            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidAuthorizationStateFault(inner) => {
5225                Error::InvalidAuthorizationStateFault(inner)
5226            }
5227            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidClusterSecurityGroupStateFault(inner) => {
5228                Error::InvalidClusterSecurityGroupStateFault(inner)
5229            }
5230            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidClusterStateFault(inner) => {
5231                Error::InvalidClusterStateFault(inner)
5232            }
5233            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::InvalidEndpointStateFault(inner) => {
5234                Error::InvalidEndpointStateFault(inner)
5235            }
5236            crate::operation::revoke_endpoint_access::RevokeEndpointAccessError::Unhandled(inner) => Error::Unhandled(inner),
5237        }
5238    }
5239}
5240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError, R>> for Error
5241where
5242    R: Send + Sync + std::fmt::Debug + 'static,
5243{
5244    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError, R>) -> Self {
5245        match err {
5246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5249                source: err.into(),
5250            }),
5251        }
5252    }
5253}
5254impl From<crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError> for Error {
5255    fn from(err: crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError) -> Self {
5256        match err {
5257            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::AccessToSnapshotDeniedFault(inner) => {
5258                Error::AccessToSnapshotDeniedFault(inner)
5259            }
5260            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::AuthorizationNotFoundFault(inner) => {
5261                Error::AuthorizationNotFoundFault(inner)
5262            }
5263            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::ClusterSnapshotNotFoundFault(inner) => {
5264                Error::ClusterSnapshotNotFoundFault(inner)
5265            }
5266            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::UnsupportedOperationFault(inner) => {
5267                Error::UnsupportedOperationFault(inner)
5268            }
5269            crate::operation::revoke_snapshot_access::RevokeSnapshotAccessError::Unhandled(inner) => Error::Unhandled(inner),
5270        }
5271    }
5272}
5273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::rotate_encryption_key::RotateEncryptionKeyError, R>> for Error
5274where
5275    R: Send + Sync + std::fmt::Debug + 'static,
5276{
5277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::rotate_encryption_key::RotateEncryptionKeyError, R>) -> Self {
5278        match err {
5279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5282                source: err.into(),
5283            }),
5284        }
5285    }
5286}
5287impl From<crate::operation::rotate_encryption_key::RotateEncryptionKeyError> for Error {
5288    fn from(err: crate::operation::rotate_encryption_key::RotateEncryptionKeyError) -> Self {
5289        match err {
5290            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5291            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::DependentServiceRequestThrottlingFault(inner) => {
5292                Error::DependentServiceRequestThrottlingFault(inner)
5293            }
5294            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::InvalidClusterStateFault(inner) => {
5295                Error::InvalidClusterStateFault(inner)
5296            }
5297            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::UnsupportedOperationFault(inner) => {
5298                Error::UnsupportedOperationFault(inner)
5299            }
5300            crate::operation::rotate_encryption_key::RotateEncryptionKeyError::Unhandled(inner) => Error::Unhandled(inner),
5301        }
5302    }
5303}
5304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_status::UpdatePartnerStatusError, R>> for Error
5305where
5306    R: Send + Sync + std::fmt::Debug + 'static,
5307{
5308    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_status::UpdatePartnerStatusError, R>) -> Self {
5309        match err {
5310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5313                source: err.into(),
5314            }),
5315        }
5316    }
5317}
5318impl From<crate::operation::update_partner_status::UpdatePartnerStatusError> for Error {
5319    fn from(err: crate::operation::update_partner_status::UpdatePartnerStatusError) -> Self {
5320        match err {
5321            crate::operation::update_partner_status::UpdatePartnerStatusError::ClusterNotFoundFault(inner) => Error::ClusterNotFoundFault(inner),
5322            crate::operation::update_partner_status::UpdatePartnerStatusError::PartnerNotFoundFault(inner) => Error::PartnerNotFoundFault(inner),
5323            crate::operation::update_partner_status::UpdatePartnerStatusError::UnauthorizedPartnerIntegrationFault(inner) => {
5324                Error::UnauthorizedPartnerIntegrationFault(inner)
5325            }
5326            crate::operation::update_partner_status::UpdatePartnerStatusError::UnsupportedOperationFault(inner) => {
5327                Error::UnsupportedOperationFault(inner)
5328            }
5329            crate::operation::update_partner_status::UpdatePartnerStatusError::Unhandled(inner) => Error::Unhandled(inner),
5330        }
5331    }
5332}
5333impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
5334where
5335    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
5336    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
5337{
5338    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
5339        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5340            meta: ::std::default::Default::default(),
5341            source: err.into(),
5342        })
5343    }
5344}
5345impl ::std::error::Error for Error {
5346    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
5347        match self {
5348            Error::AccessToClusterDeniedFault(inner) => inner.source(),
5349            Error::AccessToSnapshotDeniedFault(inner) => inner.source(),
5350            Error::AuthenticationProfileAlreadyExistsFault(inner) => inner.source(),
5351            Error::AuthenticationProfileNotFoundFault(inner) => inner.source(),
5352            Error::AuthenticationProfileQuotaExceededFault(inner) => inner.source(),
5353            Error::AuthorizationAlreadyExistsFault(inner) => inner.source(),
5354            Error::AuthorizationNotFoundFault(inner) => inner.source(),
5355            Error::AuthorizationQuotaExceededFault(inner) => inner.source(),
5356            Error::BatchDeleteRequestSizeExceededFault(inner) => inner.source(),
5357            Error::BatchModifyClusterSnapshotsLimitExceededFault(inner) => inner.source(),
5358            Error::BucketNotFoundFault(inner) => inner.source(),
5359            Error::ClusterAlreadyExistsFault(inner) => inner.source(),
5360            Error::ClusterNotFoundFault(inner) => inner.source(),
5361            Error::ClusterOnLatestRevisionFault(inner) => inner.source(),
5362            Error::ClusterParameterGroupAlreadyExistsFault(inner) => inner.source(),
5363            Error::ClusterParameterGroupNotFoundFault(inner) => inner.source(),
5364            Error::ClusterParameterGroupQuotaExceededFault(inner) => inner.source(),
5365            Error::ClusterQuotaExceededFault(inner) => inner.source(),
5366            Error::ClusterSecurityGroupAlreadyExistsFault(inner) => inner.source(),
5367            Error::ClusterSecurityGroupNotFoundFault(inner) => inner.source(),
5368            Error::ClusterSecurityGroupQuotaExceededFault(inner) => inner.source(),
5369            Error::ClusterSnapshotAlreadyExistsFault(inner) => inner.source(),
5370            Error::ClusterSnapshotNotFoundFault(inner) => inner.source(),
5371            Error::ClusterSnapshotQuotaExceededFault(inner) => inner.source(),
5372            Error::ClusterSubnetGroupAlreadyExistsFault(inner) => inner.source(),
5373            Error::ClusterSubnetGroupNotFoundFault(inner) => inner.source(),
5374            Error::ClusterSubnetGroupQuotaExceededFault(inner) => inner.source(),
5375            Error::ClusterSubnetQuotaExceededFault(inner) => inner.source(),
5376            Error::ConflictPolicyUpdateFault(inner) => inner.source(),
5377            Error::CopyToRegionDisabledFault(inner) => inner.source(),
5378            Error::CustomCnameAssociationFault(inner) => inner.source(),
5379            Error::CustomDomainAssociationNotFoundFault(inner) => inner.source(),
5380            Error::DependentServiceAccessDeniedFault(inner) => inner.source(),
5381            Error::DependentServiceRequestThrottlingFault(inner) => inner.source(),
5382            Error::DependentServiceUnavailableFault(inner) => inner.source(),
5383            Error::EndpointAlreadyExistsFault(inner) => inner.source(),
5384            Error::EndpointAuthorizationAlreadyExistsFault(inner) => inner.source(),
5385            Error::EndpointAuthorizationNotFoundFault(inner) => inner.source(),
5386            Error::EndpointAuthorizationsPerClusterLimitExceededFault(inner) => inner.source(),
5387            Error::EndpointNotFoundFault(inner) => inner.source(),
5388            Error::EndpointsPerAuthorizationLimitExceededFault(inner) => inner.source(),
5389            Error::EndpointsPerClusterLimitExceededFault(inner) => inner.source(),
5390            Error::EventSubscriptionQuotaExceededFault(inner) => inner.source(),
5391            Error::HsmClientCertificateAlreadyExistsFault(inner) => inner.source(),
5392            Error::HsmClientCertificateNotFoundFault(inner) => inner.source(),
5393            Error::HsmClientCertificateQuotaExceededFault(inner) => inner.source(),
5394            Error::HsmConfigurationAlreadyExistsFault(inner) => inner.source(),
5395            Error::HsmConfigurationNotFoundFault(inner) => inner.source(),
5396            Error::HsmConfigurationQuotaExceededFault(inner) => inner.source(),
5397            Error::InProgressTableRestoreQuotaExceededFault(inner) => inner.source(),
5398            Error::IncompatibleOrderableOptions(inner) => inner.source(),
5399            Error::InsufficientClusterCapacityFault(inner) => inner.source(),
5400            Error::InsufficientS3BucketPolicyFault(inner) => inner.source(),
5401            Error::IntegrationAlreadyExistsFault(inner) => inner.source(),
5402            Error::IntegrationConflictOperationFault(inner) => inner.source(),
5403            Error::IntegrationConflictStateFault(inner) => inner.source(),
5404            Error::IntegrationNotFoundFault(inner) => inner.source(),
5405            Error::IntegrationQuotaExceededFault(inner) => inner.source(),
5406            Error::IntegrationSourceNotFoundFault(inner) => inner.source(),
5407            Error::IntegrationTargetNotFoundFault(inner) => inner.source(),
5408            Error::InvalidAuthenticationProfileRequestFault(inner) => inner.source(),
5409            Error::InvalidAuthorizationStateFault(inner) => inner.source(),
5410            Error::InvalidClusterParameterGroupStateFault(inner) => inner.source(),
5411            Error::InvalidClusterSecurityGroupStateFault(inner) => inner.source(),
5412            Error::InvalidClusterSnapshotScheduleStateFault(inner) => inner.source(),
5413            Error::InvalidClusterSnapshotStateFault(inner) => inner.source(),
5414            Error::InvalidClusterStateFault(inner) => inner.source(),
5415            Error::InvalidClusterSubnetGroupStateFault(inner) => inner.source(),
5416            Error::InvalidClusterSubnetStateFault(inner) => inner.source(),
5417            Error::InvalidClusterTrackFault(inner) => inner.source(),
5418            Error::InvalidDataShareFault(inner) => inner.source(),
5419            Error::InvalidElasticIpFault(inner) => inner.source(),
5420            Error::InvalidEndpointStateFault(inner) => inner.source(),
5421            Error::InvalidHsmClientCertificateStateFault(inner) => inner.source(),
5422            Error::InvalidHsmConfigurationStateFault(inner) => inner.source(),
5423            Error::InvalidNamespaceFault(inner) => inner.source(),
5424            Error::InvalidPolicyFault(inner) => inner.source(),
5425            Error::InvalidReservedNodeStateFault(inner) => inner.source(),
5426            Error::InvalidRestoreFault(inner) => inner.source(),
5427            Error::InvalidRetentionPeriodFault(inner) => inner.source(),
5428            Error::InvalidS3BucketNameFault(inner) => inner.source(),
5429            Error::InvalidS3KeyPrefixFault(inner) => inner.source(),
5430            Error::InvalidScheduleFault(inner) => inner.source(),
5431            Error::InvalidScheduledActionFault(inner) => inner.source(),
5432            Error::InvalidSnapshotCopyGrantStateFault(inner) => inner.source(),
5433            Error::InvalidSubnet(inner) => inner.source(),
5434            Error::InvalidSubscriptionStateFault(inner) => inner.source(),
5435            Error::InvalidTableRestoreArgumentFault(inner) => inner.source(),
5436            Error::InvalidTagFault(inner) => inner.source(),
5437            Error::InvalidUsageLimitFault(inner) => inner.source(),
5438            Error::InvalidVpcNetworkStateFault(inner) => inner.source(),
5439            Error::Ipv6CidrBlockNotFoundFault(inner) => inner.source(),
5440            Error::LimitExceededFault(inner) => inner.source(),
5441            Error::NumberOfNodesPerClusterLimitExceededFault(inner) => inner.source(),
5442            Error::NumberOfNodesQuotaExceededFault(inner) => inner.source(),
5443            Error::PartnerNotFoundFault(inner) => inner.source(),
5444            Error::RedshiftIdcApplicationAlreadyExistsFault(inner) => inner.source(),
5445            Error::RedshiftIdcApplicationNotExistsFault(inner) => inner.source(),
5446            Error::RedshiftIdcApplicationQuotaExceededFault(inner) => inner.source(),
5447            Error::ReservedNodeAlreadyExistsFault(inner) => inner.source(),
5448            Error::ReservedNodeAlreadyMigratedFault(inner) => inner.source(),
5449            Error::ReservedNodeExchangeNotFoundFault(inner) => inner.source(),
5450            Error::ReservedNodeNotFoundFault(inner) => inner.source(),
5451            Error::ReservedNodeOfferingNotFoundFault(inner) => inner.source(),
5452            Error::ReservedNodeQuotaExceededFault(inner) => inner.source(),
5453            Error::ResizeNotFoundFault(inner) => inner.source(),
5454            Error::ResourceNotFoundFault(inner) => inner.source(),
5455            Error::SnsInvalidTopicFault(inner) => inner.source(),
5456            Error::SnsNoAuthorizationFault(inner) => inner.source(),
5457            Error::SnsTopicArnNotFoundFault(inner) => inner.source(),
5458            Error::ScheduleDefinitionTypeUnsupportedFault(inner) => inner.source(),
5459            Error::ScheduledActionAlreadyExistsFault(inner) => inner.source(),
5460            Error::ScheduledActionNotFoundFault(inner) => inner.source(),
5461            Error::ScheduledActionQuotaExceededFault(inner) => inner.source(),
5462            Error::ScheduledActionTypeUnsupportedFault(inner) => inner.source(),
5463            Error::SnapshotCopyAlreadyDisabledFault(inner) => inner.source(),
5464            Error::SnapshotCopyAlreadyEnabledFault(inner) => inner.source(),
5465            Error::SnapshotCopyDisabledFault(inner) => inner.source(),
5466            Error::SnapshotCopyGrantAlreadyExistsFault(inner) => inner.source(),
5467            Error::SnapshotCopyGrantNotFoundFault(inner) => inner.source(),
5468            Error::SnapshotCopyGrantQuotaExceededFault(inner) => inner.source(),
5469            Error::SnapshotScheduleAlreadyExistsFault(inner) => inner.source(),
5470            Error::SnapshotScheduleNotFoundFault(inner) => inner.source(),
5471            Error::SnapshotScheduleQuotaExceededFault(inner) => inner.source(),
5472            Error::SnapshotScheduleUpdateInProgressFault(inner) => inner.source(),
5473            Error::SourceNotFoundFault(inner) => inner.source(),
5474            Error::SubnetAlreadyInUse(inner) => inner.source(),
5475            Error::SubscriptionAlreadyExistFault(inner) => inner.source(),
5476            Error::SubscriptionCategoryNotFoundFault(inner) => inner.source(),
5477            Error::SubscriptionEventIdNotFoundFault(inner) => inner.source(),
5478            Error::SubscriptionNotFoundFault(inner) => inner.source(),
5479            Error::SubscriptionSeverityNotFoundFault(inner) => inner.source(),
5480            Error::TableLimitExceededFault(inner) => inner.source(),
5481            Error::TableRestoreNotFoundFault(inner) => inner.source(),
5482            Error::TagLimitExceededFault(inner) => inner.source(),
5483            Error::UnauthorizedOperation(inner) => inner.source(),
5484            Error::UnauthorizedPartnerIntegrationFault(inner) => inner.source(),
5485            Error::UnknownSnapshotCopyRegionFault(inner) => inner.source(),
5486            Error::UnsupportedOperationFault(inner) => inner.source(),
5487            Error::UnsupportedOptionFault(inner) => inner.source(),
5488            Error::UsageLimitAlreadyExistsFault(inner) => inner.source(),
5489            Error::UsageLimitNotFoundFault(inner) => inner.source(),
5490            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
5491        }
5492    }
5493}
5494impl ::aws_types::request_id::RequestId for Error {
5495    fn request_id(&self) -> Option<&str> {
5496        match self {
5497            Self::AccessToClusterDeniedFault(e) => e.request_id(),
5498            Self::AccessToSnapshotDeniedFault(e) => e.request_id(),
5499            Self::AuthenticationProfileAlreadyExistsFault(e) => e.request_id(),
5500            Self::AuthenticationProfileNotFoundFault(e) => e.request_id(),
5501            Self::AuthenticationProfileQuotaExceededFault(e) => e.request_id(),
5502            Self::AuthorizationAlreadyExistsFault(e) => e.request_id(),
5503            Self::AuthorizationNotFoundFault(e) => e.request_id(),
5504            Self::AuthorizationQuotaExceededFault(e) => e.request_id(),
5505            Self::BatchDeleteRequestSizeExceededFault(e) => e.request_id(),
5506            Self::BatchModifyClusterSnapshotsLimitExceededFault(e) => e.request_id(),
5507            Self::BucketNotFoundFault(e) => e.request_id(),
5508            Self::ClusterAlreadyExistsFault(e) => e.request_id(),
5509            Self::ClusterNotFoundFault(e) => e.request_id(),
5510            Self::ClusterOnLatestRevisionFault(e) => e.request_id(),
5511            Self::ClusterParameterGroupAlreadyExistsFault(e) => e.request_id(),
5512            Self::ClusterParameterGroupNotFoundFault(e) => e.request_id(),
5513            Self::ClusterParameterGroupQuotaExceededFault(e) => e.request_id(),
5514            Self::ClusterQuotaExceededFault(e) => e.request_id(),
5515            Self::ClusterSecurityGroupAlreadyExistsFault(e) => e.request_id(),
5516            Self::ClusterSecurityGroupNotFoundFault(e) => e.request_id(),
5517            Self::ClusterSecurityGroupQuotaExceededFault(e) => e.request_id(),
5518            Self::ClusterSnapshotAlreadyExistsFault(e) => e.request_id(),
5519            Self::ClusterSnapshotNotFoundFault(e) => e.request_id(),
5520            Self::ClusterSnapshotQuotaExceededFault(e) => e.request_id(),
5521            Self::ClusterSubnetGroupAlreadyExistsFault(e) => e.request_id(),
5522            Self::ClusterSubnetGroupNotFoundFault(e) => e.request_id(),
5523            Self::ClusterSubnetGroupQuotaExceededFault(e) => e.request_id(),
5524            Self::ClusterSubnetQuotaExceededFault(e) => e.request_id(),
5525            Self::ConflictPolicyUpdateFault(e) => e.request_id(),
5526            Self::CopyToRegionDisabledFault(e) => e.request_id(),
5527            Self::CustomCnameAssociationFault(e) => e.request_id(),
5528            Self::CustomDomainAssociationNotFoundFault(e) => e.request_id(),
5529            Self::DependentServiceAccessDeniedFault(e) => e.request_id(),
5530            Self::DependentServiceRequestThrottlingFault(e) => e.request_id(),
5531            Self::DependentServiceUnavailableFault(e) => e.request_id(),
5532            Self::EndpointAlreadyExistsFault(e) => e.request_id(),
5533            Self::EndpointAuthorizationAlreadyExistsFault(e) => e.request_id(),
5534            Self::EndpointAuthorizationNotFoundFault(e) => e.request_id(),
5535            Self::EndpointAuthorizationsPerClusterLimitExceededFault(e) => e.request_id(),
5536            Self::EndpointNotFoundFault(e) => e.request_id(),
5537            Self::EndpointsPerAuthorizationLimitExceededFault(e) => e.request_id(),
5538            Self::EndpointsPerClusterLimitExceededFault(e) => e.request_id(),
5539            Self::EventSubscriptionQuotaExceededFault(e) => e.request_id(),
5540            Self::HsmClientCertificateAlreadyExistsFault(e) => e.request_id(),
5541            Self::HsmClientCertificateNotFoundFault(e) => e.request_id(),
5542            Self::HsmClientCertificateQuotaExceededFault(e) => e.request_id(),
5543            Self::HsmConfigurationAlreadyExistsFault(e) => e.request_id(),
5544            Self::HsmConfigurationNotFoundFault(e) => e.request_id(),
5545            Self::HsmConfigurationQuotaExceededFault(e) => e.request_id(),
5546            Self::InProgressTableRestoreQuotaExceededFault(e) => e.request_id(),
5547            Self::IncompatibleOrderableOptions(e) => e.request_id(),
5548            Self::InsufficientClusterCapacityFault(e) => e.request_id(),
5549            Self::InsufficientS3BucketPolicyFault(e) => e.request_id(),
5550            Self::IntegrationAlreadyExistsFault(e) => e.request_id(),
5551            Self::IntegrationConflictOperationFault(e) => e.request_id(),
5552            Self::IntegrationConflictStateFault(e) => e.request_id(),
5553            Self::IntegrationNotFoundFault(e) => e.request_id(),
5554            Self::IntegrationQuotaExceededFault(e) => e.request_id(),
5555            Self::IntegrationSourceNotFoundFault(e) => e.request_id(),
5556            Self::IntegrationTargetNotFoundFault(e) => e.request_id(),
5557            Self::InvalidAuthenticationProfileRequestFault(e) => e.request_id(),
5558            Self::InvalidAuthorizationStateFault(e) => e.request_id(),
5559            Self::InvalidClusterParameterGroupStateFault(e) => e.request_id(),
5560            Self::InvalidClusterSecurityGroupStateFault(e) => e.request_id(),
5561            Self::InvalidClusterSnapshotScheduleStateFault(e) => e.request_id(),
5562            Self::InvalidClusterSnapshotStateFault(e) => e.request_id(),
5563            Self::InvalidClusterStateFault(e) => e.request_id(),
5564            Self::InvalidClusterSubnetGroupStateFault(e) => e.request_id(),
5565            Self::InvalidClusterSubnetStateFault(e) => e.request_id(),
5566            Self::InvalidClusterTrackFault(e) => e.request_id(),
5567            Self::InvalidDataShareFault(e) => e.request_id(),
5568            Self::InvalidElasticIpFault(e) => e.request_id(),
5569            Self::InvalidEndpointStateFault(e) => e.request_id(),
5570            Self::InvalidHsmClientCertificateStateFault(e) => e.request_id(),
5571            Self::InvalidHsmConfigurationStateFault(e) => e.request_id(),
5572            Self::InvalidNamespaceFault(e) => e.request_id(),
5573            Self::InvalidPolicyFault(e) => e.request_id(),
5574            Self::InvalidReservedNodeStateFault(e) => e.request_id(),
5575            Self::InvalidRestoreFault(e) => e.request_id(),
5576            Self::InvalidRetentionPeriodFault(e) => e.request_id(),
5577            Self::InvalidS3BucketNameFault(e) => e.request_id(),
5578            Self::InvalidS3KeyPrefixFault(e) => e.request_id(),
5579            Self::InvalidScheduleFault(e) => e.request_id(),
5580            Self::InvalidScheduledActionFault(e) => e.request_id(),
5581            Self::InvalidSnapshotCopyGrantStateFault(e) => e.request_id(),
5582            Self::InvalidSubnet(e) => e.request_id(),
5583            Self::InvalidSubscriptionStateFault(e) => e.request_id(),
5584            Self::InvalidTableRestoreArgumentFault(e) => e.request_id(),
5585            Self::InvalidTagFault(e) => e.request_id(),
5586            Self::InvalidUsageLimitFault(e) => e.request_id(),
5587            Self::InvalidVpcNetworkStateFault(e) => e.request_id(),
5588            Self::Ipv6CidrBlockNotFoundFault(e) => e.request_id(),
5589            Self::LimitExceededFault(e) => e.request_id(),
5590            Self::NumberOfNodesPerClusterLimitExceededFault(e) => e.request_id(),
5591            Self::NumberOfNodesQuotaExceededFault(e) => e.request_id(),
5592            Self::PartnerNotFoundFault(e) => e.request_id(),
5593            Self::RedshiftIdcApplicationAlreadyExistsFault(e) => e.request_id(),
5594            Self::RedshiftIdcApplicationNotExistsFault(e) => e.request_id(),
5595            Self::RedshiftIdcApplicationQuotaExceededFault(e) => e.request_id(),
5596            Self::ReservedNodeAlreadyExistsFault(e) => e.request_id(),
5597            Self::ReservedNodeAlreadyMigratedFault(e) => e.request_id(),
5598            Self::ReservedNodeExchangeNotFoundFault(e) => e.request_id(),
5599            Self::ReservedNodeNotFoundFault(e) => e.request_id(),
5600            Self::ReservedNodeOfferingNotFoundFault(e) => e.request_id(),
5601            Self::ReservedNodeQuotaExceededFault(e) => e.request_id(),
5602            Self::ResizeNotFoundFault(e) => e.request_id(),
5603            Self::ResourceNotFoundFault(e) => e.request_id(),
5604            Self::SnsInvalidTopicFault(e) => e.request_id(),
5605            Self::SnsNoAuthorizationFault(e) => e.request_id(),
5606            Self::SnsTopicArnNotFoundFault(e) => e.request_id(),
5607            Self::ScheduleDefinitionTypeUnsupportedFault(e) => e.request_id(),
5608            Self::ScheduledActionAlreadyExistsFault(e) => e.request_id(),
5609            Self::ScheduledActionNotFoundFault(e) => e.request_id(),
5610            Self::ScheduledActionQuotaExceededFault(e) => e.request_id(),
5611            Self::ScheduledActionTypeUnsupportedFault(e) => e.request_id(),
5612            Self::SnapshotCopyAlreadyDisabledFault(e) => e.request_id(),
5613            Self::SnapshotCopyAlreadyEnabledFault(e) => e.request_id(),
5614            Self::SnapshotCopyDisabledFault(e) => e.request_id(),
5615            Self::SnapshotCopyGrantAlreadyExistsFault(e) => e.request_id(),
5616            Self::SnapshotCopyGrantNotFoundFault(e) => e.request_id(),
5617            Self::SnapshotCopyGrantQuotaExceededFault(e) => e.request_id(),
5618            Self::SnapshotScheduleAlreadyExistsFault(e) => e.request_id(),
5619            Self::SnapshotScheduleNotFoundFault(e) => e.request_id(),
5620            Self::SnapshotScheduleQuotaExceededFault(e) => e.request_id(),
5621            Self::SnapshotScheduleUpdateInProgressFault(e) => e.request_id(),
5622            Self::SourceNotFoundFault(e) => e.request_id(),
5623            Self::SubnetAlreadyInUse(e) => e.request_id(),
5624            Self::SubscriptionAlreadyExistFault(e) => e.request_id(),
5625            Self::SubscriptionCategoryNotFoundFault(e) => e.request_id(),
5626            Self::SubscriptionEventIdNotFoundFault(e) => e.request_id(),
5627            Self::SubscriptionNotFoundFault(e) => e.request_id(),
5628            Self::SubscriptionSeverityNotFoundFault(e) => e.request_id(),
5629            Self::TableLimitExceededFault(e) => e.request_id(),
5630            Self::TableRestoreNotFoundFault(e) => e.request_id(),
5631            Self::TagLimitExceededFault(e) => e.request_id(),
5632            Self::UnauthorizedOperation(e) => e.request_id(),
5633            Self::UnauthorizedPartnerIntegrationFault(e) => e.request_id(),
5634            Self::UnknownSnapshotCopyRegionFault(e) => e.request_id(),
5635            Self::UnsupportedOperationFault(e) => e.request_id(),
5636            Self::UnsupportedOptionFault(e) => e.request_id(),
5637            Self::UsageLimitAlreadyExistsFault(e) => e.request_id(),
5638            Self::UsageLimitNotFoundFault(e) => e.request_id(),
5639            Self::Unhandled(e) => e.meta.request_id(),
5640        }
5641    }
5642}