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