Skip to main content

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