aws_sdk_route53/
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>This CIDR block is already in use.</p>
7    CidrBlockInUseException(crate::types::error::CidrBlockInUseException),
8    /// <p>A CIDR collection with this name and a different caller reference already exists in this account.</p>
9    CidrCollectionAlreadyExistsException(crate::types::error::CidrCollectionAlreadyExistsException),
10    /// <p>This CIDR collection is in use, and isn't empty.</p>
11    CidrCollectionInUseException(crate::types::error::CidrCollectionInUseException),
12    /// <p>The CIDR collection version you provided, doesn't match the one in the <code>ListCidrCollections</code> operation.</p>
13    CidrCollectionVersionMismatchException(crate::types::error::CidrCollectionVersionMismatchException),
14    /// <p>Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.</p>
15    ConcurrentModification(crate::types::error::ConcurrentModification),
16    /// <p>The cause of this error depends on the operation that you're performing:</p>
17    /// <ul>
18    /// <li>
19    /// <p><b>Create a public hosted zone:</b> Two hosted zones that have the same name or that have a parent/child relationship (example.com and test.example.com) can't have any common name servers. You tried to create a hosted zone that has the same name as an existing hosted zone or that's the parent or child of an existing hosted zone, and you specified a delegation set that shares one or more name servers with the existing hosted zone. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p></li>
20    /// <li>
21    /// <p><b>Create a private hosted zone:</b> A hosted zone with the specified name already exists and is already associated with the Amazon VPC that you specified.</p></li>
22    /// <li>
23    /// <p><b>Associate VPCs with a private hosted zone:</b> The VPC that you specified is already associated with another hosted zone that has the same name.</p></li>
24    /// </ul>
25    ConflictingDomainExists(crate::types::error::ConflictingDomainExists),
26    /// <p>You tried to update a traffic policy instance by using a traffic policy version that has a different DNS type than the current type for the instance. You specified the type in the JSON document in the <code>CreateTrafficPolicy</code> or <code>CreateTrafficPolicyVersion</code>request.</p>
27    ConflictingTypes(crate::types::error::ConflictingTypes),
28    /// <p>The hosted zone doesn't have any DNSSEC resources.</p>
29    DnssecNotFound(crate::types::error::DnssecNotFound),
30    /// <p>A delegation set with the same owner and caller reference combination has already been created.</p>
31    DelegationSetAlreadyCreated(crate::types::error::DelegationSetAlreadyCreated),
32    /// <p>The specified delegation set has already been marked as reusable.</p>
33    DelegationSetAlreadyReusable(crate::types::error::DelegationSetAlreadyReusable),
34    /// <p>The specified delegation contains associated hosted zones which must be deleted before the reusable delegation set can be deleted.</p>
35    DelegationSetInUse(crate::types::error::DelegationSetInUse),
36    /// <p>You can create a hosted zone that has the same name as an existing hosted zone (example.com is common), but there is a limit to the number of hosted zones that have the same name. If you get this error, Amazon Route 53 has reached that limit. If you own the domain name and Route 53 generates this error, contact Customer Support.</p>
37    DelegationSetNotAvailable(crate::types::error::DelegationSetNotAvailable),
38    /// <p>A reusable delegation set with the specified ID does not exist.</p>
39    DelegationSetNotReusable(crate::types::error::DelegationSetNotReusable),
40    /// <p>The health check you're attempting to create already exists. Amazon Route 53 returns this error when you submit a request that has the following values:</p>
41    /// <ul>
42    /// <li>
43    /// <p>The same value for <code>CallerReference</code> as an existing health check, and one or more values that differ from the existing health check that has the same caller reference.</p></li>
44    /// <li>
45    /// <p>The same value for <code>CallerReference</code> as a health check that you created and later deleted, regardless of the other settings in the request.</p></li>
46    /// </ul>
47    HealthCheckAlreadyExists(crate::types::error::HealthCheckAlreadyExists),
48    /// <p>This error code is not in use.</p>
49    #[deprecated]
50    HealthCheckInUse(crate::types::error::HealthCheckInUse),
51    /// <p>The value of <code>HealthCheckVersion</code> in the request doesn't match the value of <code>HealthCheckVersion</code> in the health check.</p>
52    HealthCheckVersionMismatch(crate::types::error::HealthCheckVersionMismatch),
53    /// <p>The hosted zone you're trying to create already exists. Amazon Route 53 returns this error when a hosted zone has already been created with the specified <code>CallerReference</code>.</p>
54    HostedZoneAlreadyExists(crate::types::error::HostedZoneAlreadyExists),
55    /// <p>The hosted zone contains resource records that are not SOA or NS records.</p>
56    HostedZoneNotEmpty(crate::types::error::HostedZoneNotEmpty),
57    /// <p>The specified HostedZone can't be found.</p>
58    HostedZoneNotFound(crate::types::error::HostedZoneNotFound),
59    /// <p>The specified hosted zone is a public hosted zone, not a private hosted zone.</p>
60    HostedZoneNotPrivate(crate::types::error::HostedZoneNotPrivate),
61    /// <p>The hosted zone nameservers don't match the parent nameservers. The hosted zone and parent must have the same nameservers.</p>
62    HostedZonePartiallyDelegated(crate::types::error::HostedZonePartiallyDelegated),
63    /// <p>The resource you're trying to access is unsupported on this Amazon Route 53 endpoint.</p>
64    IncompatibleVersion(crate::types::error::IncompatibleVersion),
65    /// <p>Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:</p>
66    /// <ul>
67    /// <li>
68    /// <p>There is no resource policy that specifies the log group ARN in the value for <code>Resource</code>.</p></li>
69    /// <li>
70    /// <p>The resource policy that includes the log group ARN in the value for <code>Resource</code> doesn't have the necessary permissions.</p></li>
71    /// <li>
72    /// <p>The resource policy hasn't finished propagating yet.</p></li>
73    /// <li>
74    /// <p>The Key management service (KMS) key you specified doesn’t exist or it can’t be used with the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.</p></li>
75    /// <li>
76    /// <p>The Key management service (KMS) key you specified is marked as disabled for the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.</p></li>
77    /// </ul>
78    InsufficientCloudWatchLogsResourcePolicy(crate::types::error::InsufficientCloudWatchLogsResourcePolicy),
79    /// <p>Parameter name is not valid.</p>
80    InvalidArgument(crate::types::error::InvalidArgument),
81    /// <p>This exception contains a list of messages that might contain one or more error messages. Each error message indicates one error in the change batch.</p>
82    InvalidChangeBatch(crate::types::error::InvalidChangeBatch),
83    /// <p>The specified domain name is not valid.</p>
84    InvalidDomainName(crate::types::error::InvalidDomainName),
85    /// <p>The input is not valid.</p>
86    InvalidInput(crate::types::error::InvalidInput),
87    /// <p>The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC signing.</p>
88    InvalidKmsArn(crate::types::error::InvalidKmsArn),
89    /// <p>The key-signing key (KSK) name that you specified isn't a valid name.</p>
90    InvalidKeySigningKeyName(crate::types::error::InvalidKeySigningKeyName),
91    /// <p>The key-signing key (KSK) status isn't valid or another KSK has the status <code>INTERNAL_FAILURE</code>.</p>
92    InvalidKeySigningKeyStatus(crate::types::error::InvalidKeySigningKeyStatus),
93    /// <p>The value that you specified to get the second or subsequent page of results is invalid.</p>
94    InvalidPaginationToken(crate::types::error::InvalidPaginationToken),
95    /// <p>Your hosted zone status isn't valid for this operation. In the hosted zone, change the status to enable <code>DNSSEC</code> or disable <code>DNSSEC</code>.</p>
96    InvalidSigningStatus(crate::types::error::InvalidSigningStatus),
97    /// <p>The format of the traffic policy document that you specified in the <code>Document</code> element is not valid.</p>
98    InvalidTrafficPolicyDocument(crate::types::error::InvalidTrafficPolicyDocument),
99    /// <p>The VPC ID that you specified either isn't a valid ID or the current account is not authorized to access this VPC.</p>
100    InvalidVpcId(crate::types::error::InvalidVpcId),
101    /// <p>You've already created a key-signing key (KSK) with this name or with the same customer managed key ARN.</p>
102    KeySigningKeyAlreadyExists(crate::types::error::KeySigningKeyAlreadyExists),
103    /// <p>The key-signing key (KSK) is specified in a parent DS record.</p>
104    KeySigningKeyInParentDsRecord(crate::types::error::KeySigningKeyInParentDsRecord),
105    /// <p>The key-signing key (KSK) that you specified can't be deactivated because it's the only KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, or add or enable another KSK.</p>
106    KeySigningKeyInUse(crate::types::error::KeySigningKeyInUse),
107    /// <p>A key-signing key (KSK) with <code>ACTIVE</code> status wasn't found.</p>
108    KeySigningKeyWithActiveStatusNotFound(crate::types::error::KeySigningKeyWithActiveStatusNotFound),
109    /// <p>The VPC that you're trying to disassociate from the private hosted zone is the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't support disassociating the last VPC from a hosted zone.</p>
110    LastVpcAssociation(crate::types::error::LastVpcAssociation),
111    /// <p>This operation can't be completed because the current account has reached the limit on the resource you are trying to create. To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
112    LimitsExceeded(crate::types::error::LimitsExceeded),
113    /// <p>A change with the specified change ID does not exist.</p>
114    NoSuchChange(crate::types::error::NoSuchChange),
115    /// <p>The CIDR collection you specified, doesn't exist.</p>
116    NoSuchCidrCollectionException(crate::types::error::NoSuchCidrCollectionException),
117    /// <p>The CIDR collection location doesn't match any locations in your account.</p>
118    NoSuchCidrLocationException(crate::types::error::NoSuchCidrLocationException),
119    /// <p>There is no CloudWatch Logs log group with the specified ARN.</p>
120    NoSuchCloudWatchLogsLogGroup(crate::types::error::NoSuchCloudWatchLogsLogGroup),
121    /// <p>A reusable delegation set with the specified ID does not exist.</p>
122    NoSuchDelegationSet(crate::types::error::NoSuchDelegationSet),
123    /// <p>Amazon Route 53 doesn't support the specified geographic location. For a list of supported geolocation codes, see the <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GeoLocation.html">GeoLocation</a> data type.</p>
124    NoSuchGeoLocation(crate::types::error::NoSuchGeoLocation),
125    /// <p>No health check exists with the specified ID.</p>
126    NoSuchHealthCheck(crate::types::error::NoSuchHealthCheck),
127    /// <p>No hosted zone exists with the ID that you specified.</p>
128    NoSuchHostedZone(crate::types::error::NoSuchHostedZone),
129    /// <p>The specified key-signing key (KSK) doesn't exist.</p>
130    NoSuchKeySigningKey(crate::types::error::NoSuchKeySigningKey),
131    /// <p>There is no DNS query logging configuration with the specified ID.</p>
132    NoSuchQueryLoggingConfig(crate::types::error::NoSuchQueryLoggingConfig),
133    /// <p>No traffic policy exists with the specified ID.</p>
134    NoSuchTrafficPolicy(crate::types::error::NoSuchTrafficPolicy),
135    /// <p>No traffic policy instance exists with the specified ID.</p>
136    NoSuchTrafficPolicyInstance(crate::types::error::NoSuchTrafficPolicyInstance),
137    /// <p>Associating the specified VPC with the specified hosted zone has not been authorized.</p>
138    NotAuthorizedException(crate::types::error::NotAuthorizedException),
139    /// <p>If Amazon Route 53 can't process a request before the next request arrives, it will reject subsequent requests for the same hosted zone and return an <code>HTTP 400 error</code> (<code>Bad request</code>). If Route 53 returns this error repeatedly for the same request, we recommend that you wait, in intervals of increasing duration, before you try the request again.</p>
140    PriorRequestNotComplete(crate::types::error::PriorRequestNotComplete),
141    /// <p>You're trying to associate a VPC with a public hosted zone. Amazon Route 53 doesn't support associating a VPC with a public hosted zone.</p>
142    PublicZoneVpcAssociation(crate::types::error::PublicZoneVpcAssociation),
143    /// <p>You can create only one query logging configuration for a hosted zone, and a query logging configuration already exists for this hosted zone.</p>
144    QueryLoggingConfigAlreadyExists(crate::types::error::QueryLoggingConfigAlreadyExists),
145    /// <p>The limit on the number of requests per second was exceeded.</p>
146    ThrottlingException(crate::types::error::ThrottlingException),
147    /// <p>This health check can't be created because the current account has reached the limit on the number of active health checks.</p>
148    /// <p>For information about default limits, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
149    /// <p>For information about how to get the current limit for an account, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html">GetAccountLimit</a>. To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
150    /// <p>You have reached the maximum number of active health checks for an Amazon Web Services account. To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
151    TooManyHealthChecks(crate::types::error::TooManyHealthChecks),
152    /// <p>This operation can't be completed either because the current account has reached the limit on the number of hosted zones or because you've reached the limit on the number of hosted zones that can be associated with a reusable delegation set.</p>
153    /// <p>For information about default limits, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
154    /// <p>To get the current limit on hosted zones that can be created by an account, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html">GetAccountLimit</a>.</p>
155    /// <p>To get the current limit on hosted zones that can be associated with a reusable delegation set, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetReusableDelegationSetLimit.html">GetReusableDelegationSetLimit</a>.</p>
156    /// <p>To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
157    TooManyHostedZones(crate::types::error::TooManyHostedZones),
158    /// <p>You've reached the limit for the number of key-signing keys (KSKs). Remove at least one KSK, and then try again.</p>
159    TooManyKeySigningKeys(crate::types::error::TooManyKeySigningKeys),
160    /// <p>This traffic policy can't be created because the current account has reached the limit on the number of traffic policies.</p>
161    /// <p>For information about default limits, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
162    /// <p>To get the current limit for an account, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html">GetAccountLimit</a>.</p>
163    /// <p>To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
164    TooManyTrafficPolicies(crate::types::error::TooManyTrafficPolicies),
165    /// <p>This traffic policy instance can't be created because the current account has reached the limit on the number of traffic policy instances.</p>
166    /// <p>For information about default limits, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
167    /// <p>For information about how to get the current limit for an account, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html">GetAccountLimit</a>.</p>
168    /// <p>To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
169    TooManyTrafficPolicyInstances(crate::types::error::TooManyTrafficPolicyInstances),
170    /// <p>This traffic policy version can't be created because you've reached the limit of 1000 on the number of versions that you can create for the current traffic policy.</p>
171    /// <p>To create more traffic policy versions, you can use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html">GetTrafficPolicy</a> to get the traffic policy document for a specified traffic policy version, and then use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a> to create a new traffic policy using the traffic policy document.</p>
172    TooManyTrafficPolicyVersionsForCurrentPolicy(crate::types::error::TooManyTrafficPolicyVersionsForCurrentPolicy),
173    /// <p>You've created the maximum number of authorizations that can be created for the specified hosted zone. To authorize another VPC to be associated with the hosted zone, submit a <code>DeleteVPCAssociationAuthorization</code> request to remove an existing authorization. To get a list of existing authorizations, submit a <code>ListVPCAssociationAuthorizations</code> request.</p>
174    TooManyVpcAssociationAuthorizations(crate::types::error::TooManyVpcAssociationAuthorizations),
175    /// <p>A traffic policy that has the same value for <code>Name</code> already exists.</p>
176    TrafficPolicyAlreadyExists(crate::types::error::TrafficPolicyAlreadyExists),
177    /// <p>One or more traffic policy instances were created by using the specified traffic policy.</p>
178    TrafficPolicyInUse(crate::types::error::TrafficPolicyInUse),
179    /// <p>There is already a traffic policy instance with the specified ID.</p>
180    TrafficPolicyInstanceAlreadyExists(crate::types::error::TrafficPolicyInstanceAlreadyExists),
181    /// <p>The VPC that you specified is not authorized to be associated with the hosted zone.</p>
182    VpcAssociationAuthorizationNotFound(crate::types::error::VpcAssociationAuthorizationNotFound),
183    /// <p>The specified VPC and hosted zone are not currently associated.</p>
184    VpcAssociationNotFound(crate::types::error::VpcAssociationNotFound),
185    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
186    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
187    variable wildcard pattern and check `.code()`:
188     \
189    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
190     \
191    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
192    Unhandled(crate::error::sealed_unhandled::Unhandled),
193}
194impl ::std::fmt::Display for Error {
195    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
196        match self {
197            Error::CidrBlockInUseException(inner) => inner.fmt(f),
198            Error::CidrCollectionAlreadyExistsException(inner) => inner.fmt(f),
199            Error::CidrCollectionInUseException(inner) => inner.fmt(f),
200            Error::CidrCollectionVersionMismatchException(inner) => inner.fmt(f),
201            Error::ConcurrentModification(inner) => inner.fmt(f),
202            Error::ConflictingDomainExists(inner) => inner.fmt(f),
203            Error::ConflictingTypes(inner) => inner.fmt(f),
204            Error::DnssecNotFound(inner) => inner.fmt(f),
205            Error::DelegationSetAlreadyCreated(inner) => inner.fmt(f),
206            Error::DelegationSetAlreadyReusable(inner) => inner.fmt(f),
207            Error::DelegationSetInUse(inner) => inner.fmt(f),
208            Error::DelegationSetNotAvailable(inner) => inner.fmt(f),
209            Error::DelegationSetNotReusable(inner) => inner.fmt(f),
210            Error::HealthCheckAlreadyExists(inner) => inner.fmt(f),
211            Error::HealthCheckInUse(inner) => inner.fmt(f),
212            Error::HealthCheckVersionMismatch(inner) => inner.fmt(f),
213            Error::HostedZoneAlreadyExists(inner) => inner.fmt(f),
214            Error::HostedZoneNotEmpty(inner) => inner.fmt(f),
215            Error::HostedZoneNotFound(inner) => inner.fmt(f),
216            Error::HostedZoneNotPrivate(inner) => inner.fmt(f),
217            Error::HostedZonePartiallyDelegated(inner) => inner.fmt(f),
218            Error::IncompatibleVersion(inner) => inner.fmt(f),
219            Error::InsufficientCloudWatchLogsResourcePolicy(inner) => inner.fmt(f),
220            Error::InvalidArgument(inner) => inner.fmt(f),
221            Error::InvalidChangeBatch(inner) => inner.fmt(f),
222            Error::InvalidDomainName(inner) => inner.fmt(f),
223            Error::InvalidInput(inner) => inner.fmt(f),
224            Error::InvalidKmsArn(inner) => inner.fmt(f),
225            Error::InvalidKeySigningKeyName(inner) => inner.fmt(f),
226            Error::InvalidKeySigningKeyStatus(inner) => inner.fmt(f),
227            Error::InvalidPaginationToken(inner) => inner.fmt(f),
228            Error::InvalidSigningStatus(inner) => inner.fmt(f),
229            Error::InvalidTrafficPolicyDocument(inner) => inner.fmt(f),
230            Error::InvalidVpcId(inner) => inner.fmt(f),
231            Error::KeySigningKeyAlreadyExists(inner) => inner.fmt(f),
232            Error::KeySigningKeyInParentDsRecord(inner) => inner.fmt(f),
233            Error::KeySigningKeyInUse(inner) => inner.fmt(f),
234            Error::KeySigningKeyWithActiveStatusNotFound(inner) => inner.fmt(f),
235            Error::LastVpcAssociation(inner) => inner.fmt(f),
236            Error::LimitsExceeded(inner) => inner.fmt(f),
237            Error::NoSuchChange(inner) => inner.fmt(f),
238            Error::NoSuchCidrCollectionException(inner) => inner.fmt(f),
239            Error::NoSuchCidrLocationException(inner) => inner.fmt(f),
240            Error::NoSuchCloudWatchLogsLogGroup(inner) => inner.fmt(f),
241            Error::NoSuchDelegationSet(inner) => inner.fmt(f),
242            Error::NoSuchGeoLocation(inner) => inner.fmt(f),
243            Error::NoSuchHealthCheck(inner) => inner.fmt(f),
244            Error::NoSuchHostedZone(inner) => inner.fmt(f),
245            Error::NoSuchKeySigningKey(inner) => inner.fmt(f),
246            Error::NoSuchQueryLoggingConfig(inner) => inner.fmt(f),
247            Error::NoSuchTrafficPolicy(inner) => inner.fmt(f),
248            Error::NoSuchTrafficPolicyInstance(inner) => inner.fmt(f),
249            Error::NotAuthorizedException(inner) => inner.fmt(f),
250            Error::PriorRequestNotComplete(inner) => inner.fmt(f),
251            Error::PublicZoneVpcAssociation(inner) => inner.fmt(f),
252            Error::QueryLoggingConfigAlreadyExists(inner) => inner.fmt(f),
253            Error::ThrottlingException(inner) => inner.fmt(f),
254            Error::TooManyHealthChecks(inner) => inner.fmt(f),
255            Error::TooManyHostedZones(inner) => inner.fmt(f),
256            Error::TooManyKeySigningKeys(inner) => inner.fmt(f),
257            Error::TooManyTrafficPolicies(inner) => inner.fmt(f),
258            Error::TooManyTrafficPolicyInstances(inner) => inner.fmt(f),
259            Error::TooManyTrafficPolicyVersionsForCurrentPolicy(inner) => inner.fmt(f),
260            Error::TooManyVpcAssociationAuthorizations(inner) => inner.fmt(f),
261            Error::TrafficPolicyAlreadyExists(inner) => inner.fmt(f),
262            Error::TrafficPolicyInUse(inner) => inner.fmt(f),
263            Error::TrafficPolicyInstanceAlreadyExists(inner) => inner.fmt(f),
264            Error::VpcAssociationAuthorizationNotFound(inner) => inner.fmt(f),
265            Error::VpcAssociationNotFound(inner) => inner.fmt(f),
266            Error::Unhandled(_) => {
267                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
268                    write!(f, "unhandled error ({code})")
269                } else {
270                    f.write_str("unhandled error")
271                }
272            }
273        }
274    }
275}
276impl From<::aws_smithy_types::error::operation::BuildError> for Error {
277    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
278        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
279            source: value.into(),
280            meta: ::std::default::Default::default(),
281        })
282    }
283}
284impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
285    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
286        match self {
287            Self::CidrBlockInUseException(inner) => inner.meta(),
288            Self::CidrCollectionAlreadyExistsException(inner) => inner.meta(),
289            Self::CidrCollectionInUseException(inner) => inner.meta(),
290            Self::CidrCollectionVersionMismatchException(inner) => inner.meta(),
291            Self::ConcurrentModification(inner) => inner.meta(),
292            Self::ConflictingDomainExists(inner) => inner.meta(),
293            Self::ConflictingTypes(inner) => inner.meta(),
294            Self::DnssecNotFound(inner) => inner.meta(),
295            Self::DelegationSetAlreadyCreated(inner) => inner.meta(),
296            Self::DelegationSetAlreadyReusable(inner) => inner.meta(),
297            Self::DelegationSetInUse(inner) => inner.meta(),
298            Self::DelegationSetNotAvailable(inner) => inner.meta(),
299            Self::DelegationSetNotReusable(inner) => inner.meta(),
300            Self::HealthCheckAlreadyExists(inner) => inner.meta(),
301            Self::HealthCheckInUse(inner) => inner.meta(),
302            Self::HealthCheckVersionMismatch(inner) => inner.meta(),
303            Self::HostedZoneAlreadyExists(inner) => inner.meta(),
304            Self::HostedZoneNotEmpty(inner) => inner.meta(),
305            Self::HostedZoneNotFound(inner) => inner.meta(),
306            Self::HostedZoneNotPrivate(inner) => inner.meta(),
307            Self::HostedZonePartiallyDelegated(inner) => inner.meta(),
308            Self::IncompatibleVersion(inner) => inner.meta(),
309            Self::InsufficientCloudWatchLogsResourcePolicy(inner) => inner.meta(),
310            Self::InvalidArgument(inner) => inner.meta(),
311            Self::InvalidChangeBatch(inner) => inner.meta(),
312            Self::InvalidDomainName(inner) => inner.meta(),
313            Self::InvalidInput(inner) => inner.meta(),
314            Self::InvalidKmsArn(inner) => inner.meta(),
315            Self::InvalidKeySigningKeyName(inner) => inner.meta(),
316            Self::InvalidKeySigningKeyStatus(inner) => inner.meta(),
317            Self::InvalidPaginationToken(inner) => inner.meta(),
318            Self::InvalidSigningStatus(inner) => inner.meta(),
319            Self::InvalidTrafficPolicyDocument(inner) => inner.meta(),
320            Self::InvalidVpcId(inner) => inner.meta(),
321            Self::KeySigningKeyAlreadyExists(inner) => inner.meta(),
322            Self::KeySigningKeyInParentDsRecord(inner) => inner.meta(),
323            Self::KeySigningKeyInUse(inner) => inner.meta(),
324            Self::KeySigningKeyWithActiveStatusNotFound(inner) => inner.meta(),
325            Self::LastVpcAssociation(inner) => inner.meta(),
326            Self::LimitsExceeded(inner) => inner.meta(),
327            Self::NoSuchChange(inner) => inner.meta(),
328            Self::NoSuchCidrCollectionException(inner) => inner.meta(),
329            Self::NoSuchCidrLocationException(inner) => inner.meta(),
330            Self::NoSuchCloudWatchLogsLogGroup(inner) => inner.meta(),
331            Self::NoSuchDelegationSet(inner) => inner.meta(),
332            Self::NoSuchGeoLocation(inner) => inner.meta(),
333            Self::NoSuchHealthCheck(inner) => inner.meta(),
334            Self::NoSuchHostedZone(inner) => inner.meta(),
335            Self::NoSuchKeySigningKey(inner) => inner.meta(),
336            Self::NoSuchQueryLoggingConfig(inner) => inner.meta(),
337            Self::NoSuchTrafficPolicy(inner) => inner.meta(),
338            Self::NoSuchTrafficPolicyInstance(inner) => inner.meta(),
339            Self::NotAuthorizedException(inner) => inner.meta(),
340            Self::PriorRequestNotComplete(inner) => inner.meta(),
341            Self::PublicZoneVpcAssociation(inner) => inner.meta(),
342            Self::QueryLoggingConfigAlreadyExists(inner) => inner.meta(),
343            Self::ThrottlingException(inner) => inner.meta(),
344            Self::TooManyHealthChecks(inner) => inner.meta(),
345            Self::TooManyHostedZones(inner) => inner.meta(),
346            Self::TooManyKeySigningKeys(inner) => inner.meta(),
347            Self::TooManyTrafficPolicies(inner) => inner.meta(),
348            Self::TooManyTrafficPolicyInstances(inner) => inner.meta(),
349            Self::TooManyTrafficPolicyVersionsForCurrentPolicy(inner) => inner.meta(),
350            Self::TooManyVpcAssociationAuthorizations(inner) => inner.meta(),
351            Self::TrafficPolicyAlreadyExists(inner) => inner.meta(),
352            Self::TrafficPolicyInUse(inner) => inner.meta(),
353            Self::TrafficPolicyInstanceAlreadyExists(inner) => inner.meta(),
354            Self::VpcAssociationAuthorizationNotFound(inner) => inner.meta(),
355            Self::VpcAssociationNotFound(inner) => inner.meta(),
356            Self::Unhandled(inner) => &inner.meta,
357        }
358    }
359}
360impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::activate_key_signing_key::ActivateKeySigningKeyError, R>> for Error
361where
362    R: Send + Sync + std::fmt::Debug + 'static,
363{
364    fn from(
365        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::activate_key_signing_key::ActivateKeySigningKeyError, R>,
366    ) -> Self {
367        match err {
368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
371                source: err.into(),
372            }),
373        }
374    }
375}
376impl From<crate::operation::activate_key_signing_key::ActivateKeySigningKeyError> for Error {
377    fn from(err: crate::operation::activate_key_signing_key::ActivateKeySigningKeyError) -> Self {
378        match err {
379            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::ConcurrentModification(inner) => {
380                Error::ConcurrentModification(inner)
381            }
382            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::InvalidInput(inner) => Error::InvalidInput(inner),
383            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::InvalidKeySigningKeyStatus(inner) => {
384                Error::InvalidKeySigningKeyStatus(inner)
385            }
386            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::InvalidKmsArn(inner) => Error::InvalidKmsArn(inner),
387            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::InvalidSigningStatus(inner) => Error::InvalidSigningStatus(inner),
388            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::NoSuchKeySigningKey(inner) => Error::NoSuchKeySigningKey(inner),
389            crate::operation::activate_key_signing_key::ActivateKeySigningKeyError::Unhandled(inner) => Error::Unhandled(inner),
390        }
391    }
392}
393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError, R>>
394    for Error
395where
396    R: Send + Sync + std::fmt::Debug + 'static,
397{
398    fn from(
399        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError, R>,
400    ) -> Self {
401        match err {
402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
405                source: err.into(),
406            }),
407        }
408    }
409}
410impl From<crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError> for Error {
411    fn from(err: crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError) -> Self {
412        match err {
413            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::ConflictingDomainExists(inner) => {
414                Error::ConflictingDomainExists(inner)
415            }
416            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::InvalidInput(inner) => Error::InvalidInput(inner),
417            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::InvalidVpcId(inner) => Error::InvalidVpcId(inner),
418            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::LimitsExceeded(inner) => Error::LimitsExceeded(inner),
419            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::NoSuchHostedZone(inner) => {
420                Error::NoSuchHostedZone(inner)
421            }
422            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::NotAuthorizedException(inner) => {
423                Error::NotAuthorizedException(inner)
424            }
425            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::PriorRequestNotComplete(inner) => {
426                Error::PriorRequestNotComplete(inner)
427            }
428            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::PublicZoneVpcAssociation(inner) => {
429                Error::PublicZoneVpcAssociation(inner)
430            }
431            crate::operation::associate_vpc_with_hosted_zone::AssociateVPCWithHostedZoneError::Unhandled(inner) => Error::Unhandled(inner),
432        }
433    }
434}
435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::change_cidr_collection::ChangeCidrCollectionError, R>> for Error
436where
437    R: Send + Sync + std::fmt::Debug + 'static,
438{
439    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::change_cidr_collection::ChangeCidrCollectionError, R>) -> Self {
440        match err {
441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
444                source: err.into(),
445            }),
446        }
447    }
448}
449impl From<crate::operation::change_cidr_collection::ChangeCidrCollectionError> for Error {
450    fn from(err: crate::operation::change_cidr_collection::ChangeCidrCollectionError) -> Self {
451        match err {
452            crate::operation::change_cidr_collection::ChangeCidrCollectionError::CidrBlockInUseException(inner) => {
453                Error::CidrBlockInUseException(inner)
454            }
455            crate::operation::change_cidr_collection::ChangeCidrCollectionError::CidrCollectionVersionMismatchException(inner) => {
456                Error::CidrCollectionVersionMismatchException(inner)
457            }
458            crate::operation::change_cidr_collection::ChangeCidrCollectionError::ConcurrentModification(inner) => {
459                Error::ConcurrentModification(inner)
460            }
461            crate::operation::change_cidr_collection::ChangeCidrCollectionError::InvalidInput(inner) => Error::InvalidInput(inner),
462            crate::operation::change_cidr_collection::ChangeCidrCollectionError::LimitsExceeded(inner) => Error::LimitsExceeded(inner),
463            crate::operation::change_cidr_collection::ChangeCidrCollectionError::NoSuchCidrCollectionException(inner) => {
464                Error::NoSuchCidrCollectionException(inner)
465            }
466            crate::operation::change_cidr_collection::ChangeCidrCollectionError::Unhandled(inner) => Error::Unhandled(inner),
467        }
468    }
469}
470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError, R>>
471    for Error
472where
473    R: Send + Sync + std::fmt::Debug + 'static,
474{
475    fn from(
476        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError, R>,
477    ) -> Self {
478        match err {
479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
482                source: err.into(),
483            }),
484        }
485    }
486}
487impl From<crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError> for Error {
488    fn from(err: crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError) -> Self {
489        match err {
490            crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError::InvalidChangeBatch(inner) => {
491                Error::InvalidChangeBatch(inner)
492            }
493            crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError::InvalidInput(inner) => Error::InvalidInput(inner),
494            crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
495            crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
496            crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError::PriorRequestNotComplete(inner) => {
497                Error::PriorRequestNotComplete(inner)
498            }
499            crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError::Unhandled(inner) => Error::Unhandled(inner),
500        }
501    }
502}
503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::change_tags_for_resource::ChangeTagsForResourceError, R>> for Error
504where
505    R: Send + Sync + std::fmt::Debug + 'static,
506{
507    fn from(
508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::change_tags_for_resource::ChangeTagsForResourceError, R>,
509    ) -> Self {
510        match err {
511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
514                source: err.into(),
515            }),
516        }
517    }
518}
519impl From<crate::operation::change_tags_for_resource::ChangeTagsForResourceError> for Error {
520    fn from(err: crate::operation::change_tags_for_resource::ChangeTagsForResourceError) -> Self {
521        match err {
522            crate::operation::change_tags_for_resource::ChangeTagsForResourceError::InvalidInput(inner) => Error::InvalidInput(inner),
523            crate::operation::change_tags_for_resource::ChangeTagsForResourceError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
524            crate::operation::change_tags_for_resource::ChangeTagsForResourceError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
525            crate::operation::change_tags_for_resource::ChangeTagsForResourceError::PriorRequestNotComplete(inner) => {
526                Error::PriorRequestNotComplete(inner)
527            }
528            crate::operation::change_tags_for_resource::ChangeTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
529            crate::operation::change_tags_for_resource::ChangeTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
530        }
531    }
532}
533impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cidr_collection::CreateCidrCollectionError, R>> for Error
534where
535    R: Send + Sync + std::fmt::Debug + 'static,
536{
537    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cidr_collection::CreateCidrCollectionError, R>) -> Self {
538        match err {
539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
542                source: err.into(),
543            }),
544        }
545    }
546}
547impl From<crate::operation::create_cidr_collection::CreateCidrCollectionError> for Error {
548    fn from(err: crate::operation::create_cidr_collection::CreateCidrCollectionError) -> Self {
549        match err {
550            crate::operation::create_cidr_collection::CreateCidrCollectionError::CidrCollectionAlreadyExistsException(inner) => {
551                Error::CidrCollectionAlreadyExistsException(inner)
552            }
553            crate::operation::create_cidr_collection::CreateCidrCollectionError::ConcurrentModification(inner) => {
554                Error::ConcurrentModification(inner)
555            }
556            crate::operation::create_cidr_collection::CreateCidrCollectionError::InvalidInput(inner) => Error::InvalidInput(inner),
557            crate::operation::create_cidr_collection::CreateCidrCollectionError::LimitsExceeded(inner) => Error::LimitsExceeded(inner),
558            crate::operation::create_cidr_collection::CreateCidrCollectionError::Unhandled(inner) => Error::Unhandled(inner),
559        }
560    }
561}
562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_health_check::CreateHealthCheckError, R>> for Error
563where
564    R: Send + Sync + std::fmt::Debug + 'static,
565{
566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_health_check::CreateHealthCheckError, R>) -> Self {
567        match err {
568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
571                source: err.into(),
572            }),
573        }
574    }
575}
576impl From<crate::operation::create_health_check::CreateHealthCheckError> for Error {
577    fn from(err: crate::operation::create_health_check::CreateHealthCheckError) -> Self {
578        match err {
579            crate::operation::create_health_check::CreateHealthCheckError::HealthCheckAlreadyExists(inner) => Error::HealthCheckAlreadyExists(inner),
580            crate::operation::create_health_check::CreateHealthCheckError::InvalidInput(inner) => Error::InvalidInput(inner),
581            crate::operation::create_health_check::CreateHealthCheckError::TooManyHealthChecks(inner) => Error::TooManyHealthChecks(inner),
582            crate::operation::create_health_check::CreateHealthCheckError::Unhandled(inner) => Error::Unhandled(inner),
583        }
584    }
585}
586impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hosted_zone::CreateHostedZoneError, R>> for Error
587where
588    R: Send + Sync + std::fmt::Debug + 'static,
589{
590    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hosted_zone::CreateHostedZoneError, R>) -> Self {
591        match err {
592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
595                source: err.into(),
596            }),
597        }
598    }
599}
600impl From<crate::operation::create_hosted_zone::CreateHostedZoneError> for Error {
601    fn from(err: crate::operation::create_hosted_zone::CreateHostedZoneError) -> Self {
602        match err {
603            crate::operation::create_hosted_zone::CreateHostedZoneError::ConflictingDomainExists(inner) => Error::ConflictingDomainExists(inner),
604            crate::operation::create_hosted_zone::CreateHostedZoneError::DelegationSetNotAvailable(inner) => Error::DelegationSetNotAvailable(inner),
605            crate::operation::create_hosted_zone::CreateHostedZoneError::DelegationSetNotReusable(inner) => Error::DelegationSetNotReusable(inner),
606            crate::operation::create_hosted_zone::CreateHostedZoneError::HostedZoneAlreadyExists(inner) => Error::HostedZoneAlreadyExists(inner),
607            crate::operation::create_hosted_zone::CreateHostedZoneError::InvalidDomainName(inner) => Error::InvalidDomainName(inner),
608            crate::operation::create_hosted_zone::CreateHostedZoneError::InvalidInput(inner) => Error::InvalidInput(inner),
609            crate::operation::create_hosted_zone::CreateHostedZoneError::InvalidVpcId(inner) => Error::InvalidVpcId(inner),
610            crate::operation::create_hosted_zone::CreateHostedZoneError::NoSuchDelegationSet(inner) => Error::NoSuchDelegationSet(inner),
611            crate::operation::create_hosted_zone::CreateHostedZoneError::TooManyHostedZones(inner) => Error::TooManyHostedZones(inner),
612            crate::operation::create_hosted_zone::CreateHostedZoneError::Unhandled(inner) => Error::Unhandled(inner),
613        }
614    }
615}
616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_signing_key::CreateKeySigningKeyError, R>> for Error
617where
618    R: Send + Sync + std::fmt::Debug + 'static,
619{
620    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_signing_key::CreateKeySigningKeyError, R>) -> Self {
621        match err {
622            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
623            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
624                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
625                source: err.into(),
626            }),
627        }
628    }
629}
630impl From<crate::operation::create_key_signing_key::CreateKeySigningKeyError> for Error {
631    fn from(err: crate::operation::create_key_signing_key::CreateKeySigningKeyError) -> Self {
632        match err {
633            crate::operation::create_key_signing_key::CreateKeySigningKeyError::ConcurrentModification(inner) => Error::ConcurrentModification(inner),
634            crate::operation::create_key_signing_key::CreateKeySigningKeyError::InvalidArgument(inner) => Error::InvalidArgument(inner),
635            crate::operation::create_key_signing_key::CreateKeySigningKeyError::InvalidInput(inner) => Error::InvalidInput(inner),
636            crate::operation::create_key_signing_key::CreateKeySigningKeyError::InvalidKeySigningKeyName(inner) => {
637                Error::InvalidKeySigningKeyName(inner)
638            }
639            crate::operation::create_key_signing_key::CreateKeySigningKeyError::InvalidKeySigningKeyStatus(inner) => {
640                Error::InvalidKeySigningKeyStatus(inner)
641            }
642            crate::operation::create_key_signing_key::CreateKeySigningKeyError::InvalidKmsArn(inner) => Error::InvalidKmsArn(inner),
643            crate::operation::create_key_signing_key::CreateKeySigningKeyError::InvalidSigningStatus(inner) => Error::InvalidSigningStatus(inner),
644            crate::operation::create_key_signing_key::CreateKeySigningKeyError::KeySigningKeyAlreadyExists(inner) => {
645                Error::KeySigningKeyAlreadyExists(inner)
646            }
647            crate::operation::create_key_signing_key::CreateKeySigningKeyError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
648            crate::operation::create_key_signing_key::CreateKeySigningKeyError::TooManyKeySigningKeys(inner) => Error::TooManyKeySigningKeys(inner),
649            crate::operation::create_key_signing_key::CreateKeySigningKeyError::Unhandled(inner) => Error::Unhandled(inner),
650        }
651    }
652}
653impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_query_logging_config::CreateQueryLoggingConfigError, R>>
654    for Error
655where
656    R: Send + Sync + std::fmt::Debug + 'static,
657{
658    fn from(
659        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_query_logging_config::CreateQueryLoggingConfigError, R>,
660    ) -> Self {
661        match err {
662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
665                source: err.into(),
666            }),
667        }
668    }
669}
670impl From<crate::operation::create_query_logging_config::CreateQueryLoggingConfigError> for Error {
671    fn from(err: crate::operation::create_query_logging_config::CreateQueryLoggingConfigError) -> Self {
672        match err {
673            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::ConcurrentModification(inner) => {
674                Error::ConcurrentModification(inner)
675            }
676            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::InsufficientCloudWatchLogsResourcePolicy(inner) => {
677                Error::InsufficientCloudWatchLogsResourcePolicy(inner)
678            }
679            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::InvalidInput(inner) => Error::InvalidInput(inner),
680            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::NoSuchCloudWatchLogsLogGroup(inner) => {
681                Error::NoSuchCloudWatchLogsLogGroup(inner)
682            }
683            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
684            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::QueryLoggingConfigAlreadyExists(inner) => {
685                Error::QueryLoggingConfigAlreadyExists(inner)
686            }
687            crate::operation::create_query_logging_config::CreateQueryLoggingConfigError::Unhandled(inner) => Error::Unhandled(inner),
688        }
689    }
690}
691impl<R>
692    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError, R>>
693    for Error
694where
695    R: Send + Sync + std::fmt::Debug + 'static,
696{
697    fn from(
698        err: ::aws_smithy_runtime_api::client::result::SdkError<
699            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError,
700            R,
701        >,
702    ) -> Self {
703        match err {
704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
707                source: err.into(),
708            }),
709        }
710    }
711}
712impl From<crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError> for Error {
713    fn from(err: crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError) -> Self {
714        match err {
715            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::DelegationSetAlreadyCreated(inner) => {
716                Error::DelegationSetAlreadyCreated(inner)
717            }
718            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::DelegationSetAlreadyReusable(inner) => {
719                Error::DelegationSetAlreadyReusable(inner)
720            }
721            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::DelegationSetNotAvailable(inner) => {
722                Error::DelegationSetNotAvailable(inner)
723            }
724            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::HostedZoneNotFound(inner) => {
725                Error::HostedZoneNotFound(inner)
726            }
727            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::InvalidArgument(inner) => {
728                Error::InvalidArgument(inner)
729            }
730            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::InvalidInput(inner) => Error::InvalidInput(inner),
731            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::LimitsExceeded(inner) => Error::LimitsExceeded(inner),
732            crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_policy::CreateTrafficPolicyError, R>> for Error
737where
738    R: Send + Sync + std::fmt::Debug + 'static,
739{
740    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_policy::CreateTrafficPolicyError, R>) -> Self {
741        match err {
742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
745                source: err.into(),
746            }),
747        }
748    }
749}
750impl From<crate::operation::create_traffic_policy::CreateTrafficPolicyError> for Error {
751    fn from(err: crate::operation::create_traffic_policy::CreateTrafficPolicyError) -> Self {
752        match err {
753            crate::operation::create_traffic_policy::CreateTrafficPolicyError::InvalidInput(inner) => Error::InvalidInput(inner),
754            crate::operation::create_traffic_policy::CreateTrafficPolicyError::InvalidTrafficPolicyDocument(inner) => {
755                Error::InvalidTrafficPolicyDocument(inner)
756            }
757            crate::operation::create_traffic_policy::CreateTrafficPolicyError::TooManyTrafficPolicies(inner) => Error::TooManyTrafficPolicies(inner),
758            crate::operation::create_traffic_policy::CreateTrafficPolicyError::TrafficPolicyAlreadyExists(inner) => {
759                Error::TrafficPolicyAlreadyExists(inner)
760            }
761            crate::operation::create_traffic_policy::CreateTrafficPolicyError::Unhandled(inner) => Error::Unhandled(inner),
762        }
763    }
764}
765impl<R>
766    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError, R>>
767    for Error
768where
769    R: Send + Sync + std::fmt::Debug + 'static,
770{
771    fn from(
772        err: ::aws_smithy_runtime_api::client::result::SdkError<
773            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError,
774            R,
775        >,
776    ) -> Self {
777        match err {
778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
781                source: err.into(),
782            }),
783        }
784    }
785}
786impl From<crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError> for Error {
787    fn from(err: crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError) -> Self {
788        match err {
789            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError::InvalidInput(inner) => Error::InvalidInput(inner),
790            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError::NoSuchHostedZone(inner) => {
791                Error::NoSuchHostedZone(inner)
792            }
793            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError::NoSuchTrafficPolicy(inner) => {
794                Error::NoSuchTrafficPolicy(inner)
795            }
796            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError::TooManyTrafficPolicyInstances(inner) => {
797                Error::TooManyTrafficPolicyInstances(inner)
798            }
799            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError::TrafficPolicyInstanceAlreadyExists(inner) => {
800                Error::TrafficPolicyInstanceAlreadyExists(inner)
801            }
802            crate::operation::create_traffic_policy_instance::CreateTrafficPolicyInstanceError::Unhandled(inner) => Error::Unhandled(inner),
803        }
804    }
805}
806impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError, R>>
807    for Error
808where
809    R: Send + Sync + std::fmt::Debug + 'static,
810{
811    fn from(
812        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError, R>,
813    ) -> Self {
814        match err {
815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
818                source: err.into(),
819            }),
820        }
821    }
822}
823impl From<crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError> for Error {
824    fn from(err: crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError) -> Self {
825        match err {
826            crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError::ConcurrentModification(inner) => {
827                Error::ConcurrentModification(inner)
828            }
829            crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError::InvalidInput(inner) => Error::InvalidInput(inner),
830            crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError::InvalidTrafficPolicyDocument(inner) => {
831                Error::InvalidTrafficPolicyDocument(inner)
832            }
833            crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError::NoSuchTrafficPolicy(inner) => {
834                Error::NoSuchTrafficPolicy(inner)
835            }
836            crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError::TooManyTrafficPolicyVersionsForCurrentPolicy(inner) => {
837                Error::TooManyTrafficPolicyVersionsForCurrentPolicy(inner)
838            }
839            crate::operation::create_traffic_policy_version::CreateTrafficPolicyVersionError::Unhandled(inner) => Error::Unhandled(inner),
840        }
841    }
842}
843impl<R>
844    From<
845        ::aws_smithy_runtime_api::client::result::SdkError<
846            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError,
847            R,
848        >,
849    > for Error
850where
851    R: Send + Sync + std::fmt::Debug + 'static,
852{
853    fn from(
854        err: ::aws_smithy_runtime_api::client::result::SdkError<
855            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError,
856            R,
857        >,
858    ) -> Self {
859        match err {
860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
863                source: err.into(),
864            }),
865        }
866    }
867}
868impl From<crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError> for Error {
869    fn from(err: crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError) -> Self {
870        match err {
871            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError::ConcurrentModification(inner) => {
872                Error::ConcurrentModification(inner)
873            }
874            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError::InvalidInput(inner) => {
875                Error::InvalidInput(inner)
876            }
877            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError::InvalidVpcId(inner) => {
878                Error::InvalidVpcId(inner)
879            }
880            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError::NoSuchHostedZone(inner) => {
881                Error::NoSuchHostedZone(inner)
882            }
883            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError::TooManyVpcAssociationAuthorizations(
884                inner,
885            ) => Error::TooManyVpcAssociationAuthorizations(inner),
886            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError::Unhandled(inner) => {
887                Error::Unhandled(inner)
888            }
889        }
890    }
891}
892impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError, R>>
893    for Error
894where
895    R: Send + Sync + std::fmt::Debug + 'static,
896{
897    fn from(
898        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError, R>,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError> for Error {
910    fn from(err: crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError) -> Self {
911        match err {
912            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::ConcurrentModification(inner) => {
913                Error::ConcurrentModification(inner)
914            }
915            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::InvalidInput(inner) => Error::InvalidInput(inner),
916            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::InvalidKeySigningKeyStatus(inner) => {
917                Error::InvalidKeySigningKeyStatus(inner)
918            }
919            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::InvalidSigningStatus(inner) => {
920                Error::InvalidSigningStatus(inner)
921            }
922            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::KeySigningKeyInParentDsRecord(inner) => {
923                Error::KeySigningKeyInParentDsRecord(inner)
924            }
925            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::KeySigningKeyInUse(inner) => Error::KeySigningKeyInUse(inner),
926            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::NoSuchKeySigningKey(inner) => {
927                Error::NoSuchKeySigningKey(inner)
928            }
929            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError::Unhandled(inner) => Error::Unhandled(inner),
930        }
931    }
932}
933impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cidr_collection::DeleteCidrCollectionError, R>> for Error
934where
935    R: Send + Sync + std::fmt::Debug + 'static,
936{
937    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cidr_collection::DeleteCidrCollectionError, R>) -> Self {
938        match err {
939            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
940            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
941                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
942                source: err.into(),
943            }),
944        }
945    }
946}
947impl From<crate::operation::delete_cidr_collection::DeleteCidrCollectionError> for Error {
948    fn from(err: crate::operation::delete_cidr_collection::DeleteCidrCollectionError) -> Self {
949        match err {
950            crate::operation::delete_cidr_collection::DeleteCidrCollectionError::CidrCollectionInUseException(inner) => {
951                Error::CidrCollectionInUseException(inner)
952            }
953            crate::operation::delete_cidr_collection::DeleteCidrCollectionError::ConcurrentModification(inner) => {
954                Error::ConcurrentModification(inner)
955            }
956            crate::operation::delete_cidr_collection::DeleteCidrCollectionError::InvalidInput(inner) => Error::InvalidInput(inner),
957            crate::operation::delete_cidr_collection::DeleteCidrCollectionError::NoSuchCidrCollectionException(inner) => {
958                Error::NoSuchCidrCollectionException(inner)
959            }
960            crate::operation::delete_cidr_collection::DeleteCidrCollectionError::Unhandled(inner) => Error::Unhandled(inner),
961        }
962    }
963}
964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_health_check::DeleteHealthCheckError, R>> for Error
965where
966    R: Send + Sync + std::fmt::Debug + 'static,
967{
968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_health_check::DeleteHealthCheckError, R>) -> Self {
969        match err {
970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
973                source: err.into(),
974            }),
975        }
976    }
977}
978impl From<crate::operation::delete_health_check::DeleteHealthCheckError> for Error {
979    fn from(err: crate::operation::delete_health_check::DeleteHealthCheckError) -> Self {
980        match err {
981            crate::operation::delete_health_check::DeleteHealthCheckError::HealthCheckInUse(inner) => Error::HealthCheckInUse(inner),
982            crate::operation::delete_health_check::DeleteHealthCheckError::InvalidInput(inner) => Error::InvalidInput(inner),
983            crate::operation::delete_health_check::DeleteHealthCheckError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
984            crate::operation::delete_health_check::DeleteHealthCheckError::Unhandled(inner) => Error::Unhandled(inner),
985        }
986    }
987}
988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hosted_zone::DeleteHostedZoneError, R>> for Error
989where
990    R: Send + Sync + std::fmt::Debug + 'static,
991{
992    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hosted_zone::DeleteHostedZoneError, R>) -> Self {
993        match err {
994            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
995            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
996                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
997                source: err.into(),
998            }),
999        }
1000    }
1001}
1002impl From<crate::operation::delete_hosted_zone::DeleteHostedZoneError> for Error {
1003    fn from(err: crate::operation::delete_hosted_zone::DeleteHostedZoneError) -> Self {
1004        match err {
1005            crate::operation::delete_hosted_zone::DeleteHostedZoneError::HostedZoneNotEmpty(inner) => Error::HostedZoneNotEmpty(inner),
1006            crate::operation::delete_hosted_zone::DeleteHostedZoneError::InvalidDomainName(inner) => Error::InvalidDomainName(inner),
1007            crate::operation::delete_hosted_zone::DeleteHostedZoneError::InvalidInput(inner) => Error::InvalidInput(inner),
1008            crate::operation::delete_hosted_zone::DeleteHostedZoneError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
1009            crate::operation::delete_hosted_zone::DeleteHostedZoneError::PriorRequestNotComplete(inner) => Error::PriorRequestNotComplete(inner),
1010            crate::operation::delete_hosted_zone::DeleteHostedZoneError::Unhandled(inner) => Error::Unhandled(inner),
1011        }
1012    }
1013}
1014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_signing_key::DeleteKeySigningKeyError, R>> for Error
1015where
1016    R: Send + Sync + std::fmt::Debug + 'static,
1017{
1018    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_signing_key::DeleteKeySigningKeyError, R>) -> Self {
1019        match err {
1020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1023                source: err.into(),
1024            }),
1025        }
1026    }
1027}
1028impl From<crate::operation::delete_key_signing_key::DeleteKeySigningKeyError> for Error {
1029    fn from(err: crate::operation::delete_key_signing_key::DeleteKeySigningKeyError) -> Self {
1030        match err {
1031            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::ConcurrentModification(inner) => Error::ConcurrentModification(inner),
1032            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::InvalidInput(inner) => Error::InvalidInput(inner),
1033            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::InvalidKeySigningKeyStatus(inner) => {
1034                Error::InvalidKeySigningKeyStatus(inner)
1035            }
1036            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::InvalidKmsArn(inner) => Error::InvalidKmsArn(inner),
1037            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::InvalidSigningStatus(inner) => Error::InvalidSigningStatus(inner),
1038            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::NoSuchKeySigningKey(inner) => Error::NoSuchKeySigningKey(inner),
1039            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError::Unhandled(inner) => Error::Unhandled(inner),
1040        }
1041    }
1042}
1043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError, R>>
1044    for Error
1045where
1046    R: Send + Sync + std::fmt::Debug + 'static,
1047{
1048    fn from(
1049        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError, R>,
1050    ) -> Self {
1051        match err {
1052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1055                source: err.into(),
1056            }),
1057        }
1058    }
1059}
1060impl From<crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError> for Error {
1061    fn from(err: crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError) -> Self {
1062        match err {
1063            crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError::ConcurrentModification(inner) => {
1064                Error::ConcurrentModification(inner)
1065            }
1066            crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError::InvalidInput(inner) => Error::InvalidInput(inner),
1067            crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError::NoSuchQueryLoggingConfig(inner) => {
1068                Error::NoSuchQueryLoggingConfig(inner)
1069            }
1070            crate::operation::delete_query_logging_config::DeleteQueryLoggingConfigError::Unhandled(inner) => Error::Unhandled(inner),
1071        }
1072    }
1073}
1074impl<R>
1075    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError, R>>
1076    for Error
1077where
1078    R: Send + Sync + std::fmt::Debug + 'static,
1079{
1080    fn from(
1081        err: ::aws_smithy_runtime_api::client::result::SdkError<
1082            crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError,
1083            R,
1084        >,
1085    ) -> Self {
1086        match err {
1087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1090                source: err.into(),
1091            }),
1092        }
1093    }
1094}
1095impl From<crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError> for Error {
1096    fn from(err: crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError) -> Self {
1097        match err {
1098            crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError::DelegationSetInUse(inner) => {
1099                Error::DelegationSetInUse(inner)
1100            }
1101            crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError::DelegationSetNotReusable(inner) => {
1102                Error::DelegationSetNotReusable(inner)
1103            }
1104            crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError::InvalidInput(inner) => Error::InvalidInput(inner),
1105            crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError::NoSuchDelegationSet(inner) => {
1106                Error::NoSuchDelegationSet(inner)
1107            }
1108            crate::operation::delete_reusable_delegation_set::DeleteReusableDelegationSetError::Unhandled(inner) => Error::Unhandled(inner),
1109        }
1110    }
1111}
1112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_policy::DeleteTrafficPolicyError, R>> for Error
1113where
1114    R: Send + Sync + std::fmt::Debug + 'static,
1115{
1116    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_policy::DeleteTrafficPolicyError, R>) -> Self {
1117        match err {
1118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1121                source: err.into(),
1122            }),
1123        }
1124    }
1125}
1126impl From<crate::operation::delete_traffic_policy::DeleteTrafficPolicyError> for Error {
1127    fn from(err: crate::operation::delete_traffic_policy::DeleteTrafficPolicyError) -> Self {
1128        match err {
1129            crate::operation::delete_traffic_policy::DeleteTrafficPolicyError::ConcurrentModification(inner) => Error::ConcurrentModification(inner),
1130            crate::operation::delete_traffic_policy::DeleteTrafficPolicyError::InvalidInput(inner) => Error::InvalidInput(inner),
1131            crate::operation::delete_traffic_policy::DeleteTrafficPolicyError::NoSuchTrafficPolicy(inner) => Error::NoSuchTrafficPolicy(inner),
1132            crate::operation::delete_traffic_policy::DeleteTrafficPolicyError::TrafficPolicyInUse(inner) => Error::TrafficPolicyInUse(inner),
1133            crate::operation::delete_traffic_policy::DeleteTrafficPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1134        }
1135    }
1136}
1137impl<R>
1138    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError, R>>
1139    for Error
1140where
1141    R: Send + Sync + std::fmt::Debug + 'static,
1142{
1143    fn from(
1144        err: ::aws_smithy_runtime_api::client::result::SdkError<
1145            crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError,
1146            R,
1147        >,
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::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError> for Error {
1159    fn from(err: crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError) -> Self {
1160        match err {
1161            crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError::InvalidInput(inner) => Error::InvalidInput(inner),
1162            crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError::NoSuchTrafficPolicyInstance(inner) => {
1163                Error::NoSuchTrafficPolicyInstance(inner)
1164            }
1165            crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError::PriorRequestNotComplete(inner) => {
1166                Error::PriorRequestNotComplete(inner)
1167            }
1168            crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1169        }
1170    }
1171}
1172impl<R>
1173    From<
1174        ::aws_smithy_runtime_api::client::result::SdkError<
1175            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError,
1176            R,
1177        >,
1178    > for Error
1179where
1180    R: Send + Sync + std::fmt::Debug + 'static,
1181{
1182    fn from(
1183        err: ::aws_smithy_runtime_api::client::result::SdkError<
1184            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError,
1185            R,
1186        >,
1187    ) -> Self {
1188        match err {
1189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1192                source: err.into(),
1193            }),
1194        }
1195    }
1196}
1197impl From<crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError> for Error {
1198    fn from(err: crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError) -> Self {
1199        match err {
1200            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError::ConcurrentModification(inner) => {
1201                Error::ConcurrentModification(inner)
1202            }
1203            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError::InvalidInput(inner) => {
1204                Error::InvalidInput(inner)
1205            }
1206            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError::InvalidVpcId(inner) => {
1207                Error::InvalidVpcId(inner)
1208            }
1209            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError::NoSuchHostedZone(inner) => {
1210                Error::NoSuchHostedZone(inner)
1211            }
1212            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError::VpcAssociationAuthorizationNotFound(
1213                inner,
1214            ) => Error::VpcAssociationAuthorizationNotFound(inner),
1215            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError::Unhandled(inner) => {
1216                Error::Unhandled(inner)
1217            }
1218        }
1219    }
1220}
1221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError, R>>
1222    for Error
1223where
1224    R: Send + Sync + std::fmt::Debug + 'static,
1225{
1226    fn from(
1227        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError, R>,
1228    ) -> Self {
1229        match err {
1230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1233                source: err.into(),
1234            }),
1235        }
1236    }
1237}
1238impl From<crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError> for Error {
1239    fn from(err: crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError) -> Self {
1240        match err {
1241            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::ConcurrentModification(inner) => {
1242                Error::ConcurrentModification(inner)
1243            }
1244            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::DnssecNotFound(inner) => Error::DnssecNotFound(inner),
1245            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::InvalidArgument(inner) => Error::InvalidArgument(inner),
1246            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::InvalidInput(inner) => Error::InvalidInput(inner),
1247            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::InvalidKeySigningKeyStatus(inner) => {
1248                Error::InvalidKeySigningKeyStatus(inner)
1249            }
1250            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::InvalidKmsArn(inner) => Error::InvalidKmsArn(inner),
1251            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::KeySigningKeyInParentDsRecord(inner) => {
1252                Error::KeySigningKeyInParentDsRecord(inner)
1253            }
1254            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
1255            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError::Unhandled(inner) => Error::Unhandled(inner),
1256        }
1257    }
1258}
1259impl<R>
1260    From<
1261        ::aws_smithy_runtime_api::client::result::SdkError<
1262            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError,
1263            R,
1264        >,
1265    > for Error
1266where
1267    R: Send + Sync + std::fmt::Debug + 'static,
1268{
1269    fn from(
1270        err: ::aws_smithy_runtime_api::client::result::SdkError<
1271            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError,
1272            R,
1273        >,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError> for Error {
1285    fn from(err: crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError) -> Self {
1286        match err {
1287            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError::InvalidInput(inner) => {
1288                Error::InvalidInput(inner)
1289            }
1290            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError::InvalidVpcId(inner) => {
1291                Error::InvalidVpcId(inner)
1292            }
1293            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError::LastVpcAssociation(inner) => {
1294                Error::LastVpcAssociation(inner)
1295            }
1296            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError::NoSuchHostedZone(inner) => {
1297                Error::NoSuchHostedZone(inner)
1298            }
1299            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError::VpcAssociationNotFound(inner) => {
1300                Error::VpcAssociationNotFound(inner)
1301            }
1302            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError::Unhandled(inner) => Error::Unhandled(inner),
1303        }
1304    }
1305}
1306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError, R>>
1307    for Error
1308where
1309    R: Send + Sync + std::fmt::Debug + 'static,
1310{
1311    fn from(
1312        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError, R>,
1313    ) -> Self {
1314        match err {
1315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1318                source: err.into(),
1319            }),
1320        }
1321    }
1322}
1323impl From<crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError> for Error {
1324    fn from(err: crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError) -> Self {
1325        match err {
1326            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::ConcurrentModification(inner) => {
1327                Error::ConcurrentModification(inner)
1328            }
1329            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::DnssecNotFound(inner) => Error::DnssecNotFound(inner),
1330            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::HostedZonePartiallyDelegated(inner) => {
1331                Error::HostedZonePartiallyDelegated(inner)
1332            }
1333            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::InvalidArgument(inner) => Error::InvalidArgument(inner),
1334            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::InvalidInput(inner) => Error::InvalidInput(inner),
1335            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::InvalidKeySigningKeyStatus(inner) => {
1336                Error::InvalidKeySigningKeyStatus(inner)
1337            }
1338            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::InvalidKmsArn(inner) => Error::InvalidKmsArn(inner),
1339            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::KeySigningKeyWithActiveStatusNotFound(inner) => {
1340                Error::KeySigningKeyWithActiveStatusNotFound(inner)
1341            }
1342            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
1343            crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDNSSECError::Unhandled(inner) => Error::Unhandled(inner),
1344        }
1345    }
1346}
1347impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_account_limit::GetAccountLimitError, R>> for Error
1348where
1349    R: Send + Sync + std::fmt::Debug + 'static,
1350{
1351    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_account_limit::GetAccountLimitError, R>) -> 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::get_account_limit::GetAccountLimitError> for Error {
1362    fn from(err: crate::operation::get_account_limit::GetAccountLimitError) -> Self {
1363        match err {
1364            crate::operation::get_account_limit::GetAccountLimitError::InvalidInput(inner) => Error::InvalidInput(inner),
1365            crate::operation::get_account_limit::GetAccountLimitError::Unhandled(inner) => Error::Unhandled(inner),
1366        }
1367    }
1368}
1369impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_change::GetChangeError, R>> for Error
1370where
1371    R: Send + Sync + std::fmt::Debug + 'static,
1372{
1373    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_change::GetChangeError, R>) -> Self {
1374        match err {
1375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1378                source: err.into(),
1379            }),
1380        }
1381    }
1382}
1383impl From<crate::operation::get_change::GetChangeError> for Error {
1384    fn from(err: crate::operation::get_change::GetChangeError) -> Self {
1385        match err {
1386            crate::operation::get_change::GetChangeError::InvalidInput(inner) => Error::InvalidInput(inner),
1387            crate::operation::get_change::GetChangeError::NoSuchChange(inner) => Error::NoSuchChange(inner),
1388            crate::operation::get_change::GetChangeError::Unhandled(inner) => Error::Unhandled(inner),
1389        }
1390    }
1391}
1392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError, R>> for Error
1393where
1394    R: Send + Sync + std::fmt::Debug + 'static,
1395{
1396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError, R>) -> Self {
1397        match err {
1398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1401                source: err.into(),
1402            }),
1403        }
1404    }
1405}
1406impl From<crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError> for Error {
1407    fn from(err: crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError) -> Self {
1408        match err {
1409            crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError::Unhandled(inner) => Error::Unhandled(inner),
1410        }
1411    }
1412}
1413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dnssec::GetDNSSECError, R>> for Error
1414where
1415    R: Send + Sync + std::fmt::Debug + 'static,
1416{
1417    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dnssec::GetDNSSECError, R>) -> Self {
1418        match err {
1419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1422                source: err.into(),
1423            }),
1424        }
1425    }
1426}
1427impl From<crate::operation::get_dnssec::GetDNSSECError> for Error {
1428    fn from(err: crate::operation::get_dnssec::GetDNSSECError) -> Self {
1429        match err {
1430            crate::operation::get_dnssec::GetDNSSECError::InvalidArgument(inner) => Error::InvalidArgument(inner),
1431            crate::operation::get_dnssec::GetDNSSECError::InvalidInput(inner) => Error::InvalidInput(inner),
1432            crate::operation::get_dnssec::GetDNSSECError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
1433            crate::operation::get_dnssec::GetDNSSECError::Unhandled(inner) => Error::Unhandled(inner),
1434        }
1435    }
1436}
1437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_geo_location::GetGeoLocationError, R>> for Error
1438where
1439    R: Send + Sync + std::fmt::Debug + 'static,
1440{
1441    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_geo_location::GetGeoLocationError, R>) -> Self {
1442        match err {
1443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1446                source: err.into(),
1447            }),
1448        }
1449    }
1450}
1451impl From<crate::operation::get_geo_location::GetGeoLocationError> for Error {
1452    fn from(err: crate::operation::get_geo_location::GetGeoLocationError) -> Self {
1453        match err {
1454            crate::operation::get_geo_location::GetGeoLocationError::InvalidInput(inner) => Error::InvalidInput(inner),
1455            crate::operation::get_geo_location::GetGeoLocationError::NoSuchGeoLocation(inner) => Error::NoSuchGeoLocation(inner),
1456            crate::operation::get_geo_location::GetGeoLocationError::Unhandled(inner) => Error::Unhandled(inner),
1457        }
1458    }
1459}
1460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_health_check::GetHealthCheckError, R>> for Error
1461where
1462    R: Send + Sync + std::fmt::Debug + 'static,
1463{
1464    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_health_check::GetHealthCheckError, R>) -> Self {
1465        match err {
1466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1469                source: err.into(),
1470            }),
1471        }
1472    }
1473}
1474impl From<crate::operation::get_health_check::GetHealthCheckError> for Error {
1475    fn from(err: crate::operation::get_health_check::GetHealthCheckError) -> Self {
1476        match err {
1477            crate::operation::get_health_check::GetHealthCheckError::IncompatibleVersion(inner) => Error::IncompatibleVersion(inner),
1478            crate::operation::get_health_check::GetHealthCheckError::InvalidInput(inner) => Error::InvalidInput(inner),
1479            crate::operation::get_health_check::GetHealthCheckError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
1480            crate::operation::get_health_check::GetHealthCheckError::Unhandled(inner) => Error::Unhandled(inner),
1481        }
1482    }
1483}
1484impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_health_check_count::GetHealthCheckCountError, R>> for Error
1485where
1486    R: Send + Sync + std::fmt::Debug + 'static,
1487{
1488    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_health_check_count::GetHealthCheckCountError, R>) -> Self {
1489        match err {
1490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1493                source: err.into(),
1494            }),
1495        }
1496    }
1497}
1498impl From<crate::operation::get_health_check_count::GetHealthCheckCountError> for Error {
1499    fn from(err: crate::operation::get_health_check_count::GetHealthCheckCountError) -> Self {
1500        match err {
1501            crate::operation::get_health_check_count::GetHealthCheckCountError::Unhandled(inner) => Error::Unhandled(inner),
1502        }
1503    }
1504}
1505impl<R>
1506    From<
1507        ::aws_smithy_runtime_api::client::result::SdkError<
1508            crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError,
1509            R,
1510        >,
1511    > for Error
1512where
1513    R: Send + Sync + std::fmt::Debug + 'static,
1514{
1515    fn from(
1516        err: ::aws_smithy_runtime_api::client::result::SdkError<
1517            crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError,
1518            R,
1519        >,
1520    ) -> Self {
1521        match err {
1522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1525                source: err.into(),
1526            }),
1527        }
1528    }
1529}
1530impl From<crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError> for Error {
1531    fn from(err: crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError) -> Self {
1532        match err {
1533            crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError::InvalidInput(inner) => {
1534                Error::InvalidInput(inner)
1535            }
1536            crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError::NoSuchHealthCheck(inner) => {
1537                Error::NoSuchHealthCheck(inner)
1538            }
1539            crate::operation::get_health_check_last_failure_reason::GetHealthCheckLastFailureReasonError::Unhandled(inner) => Error::Unhandled(inner),
1540        }
1541    }
1542}
1543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_health_check_status::GetHealthCheckStatusError, R>> for Error
1544where
1545    R: Send + Sync + std::fmt::Debug + 'static,
1546{
1547    fn from(
1548        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_health_check_status::GetHealthCheckStatusError, R>,
1549    ) -> Self {
1550        match err {
1551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1554                source: err.into(),
1555            }),
1556        }
1557    }
1558}
1559impl From<crate::operation::get_health_check_status::GetHealthCheckStatusError> for Error {
1560    fn from(err: crate::operation::get_health_check_status::GetHealthCheckStatusError) -> Self {
1561        match err {
1562            crate::operation::get_health_check_status::GetHealthCheckStatusError::InvalidInput(inner) => Error::InvalidInput(inner),
1563            crate::operation::get_health_check_status::GetHealthCheckStatusError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
1564            crate::operation::get_health_check_status::GetHealthCheckStatusError::Unhandled(inner) => Error::Unhandled(inner),
1565        }
1566    }
1567}
1568impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hosted_zone::GetHostedZoneError, R>> for Error
1569where
1570    R: Send + Sync + std::fmt::Debug + 'static,
1571{
1572    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hosted_zone::GetHostedZoneError, R>) -> Self {
1573        match err {
1574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1577                source: err.into(),
1578            }),
1579        }
1580    }
1581}
1582impl From<crate::operation::get_hosted_zone::GetHostedZoneError> for Error {
1583    fn from(err: crate::operation::get_hosted_zone::GetHostedZoneError) -> Self {
1584        match err {
1585            crate::operation::get_hosted_zone::GetHostedZoneError::InvalidInput(inner) => Error::InvalidInput(inner),
1586            crate::operation::get_hosted_zone::GetHostedZoneError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
1587            crate::operation::get_hosted_zone::GetHostedZoneError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hosted_zone_count::GetHostedZoneCountError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hosted_zone_count::GetHostedZoneCountError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::get_hosted_zone_count::GetHostedZoneCountError> for Error {
1606    fn from(err: crate::operation::get_hosted_zone_count::GetHostedZoneCountError) -> Self {
1607        match err {
1608            crate::operation::get_hosted_zone_count::GetHostedZoneCountError::InvalidInput(inner) => Error::InvalidInput(inner),
1609            crate::operation::get_hosted_zone_count::GetHostedZoneCountError::Unhandled(inner) => Error::Unhandled(inner),
1610        }
1611    }
1612}
1613impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError, R>> for Error
1614where
1615    R: Send + Sync + std::fmt::Debug + 'static,
1616{
1617    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError, R>) -> Self {
1618        match err {
1619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1622                source: err.into(),
1623            }),
1624        }
1625    }
1626}
1627impl From<crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError> for Error {
1628    fn from(err: crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError) -> Self {
1629        match err {
1630            crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError::HostedZoneNotPrivate(inner) => Error::HostedZoneNotPrivate(inner),
1631            crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError::InvalidInput(inner) => Error::InvalidInput(inner),
1632            crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
1633            crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError::Unhandled(inner) => Error::Unhandled(inner),
1634        }
1635    }
1636}
1637impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_query_logging_config::GetQueryLoggingConfigError, R>> for Error
1638where
1639    R: Send + Sync + std::fmt::Debug + 'static,
1640{
1641    fn from(
1642        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_query_logging_config::GetQueryLoggingConfigError, R>,
1643    ) -> Self {
1644        match err {
1645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1648                source: err.into(),
1649            }),
1650        }
1651    }
1652}
1653impl From<crate::operation::get_query_logging_config::GetQueryLoggingConfigError> for Error {
1654    fn from(err: crate::operation::get_query_logging_config::GetQueryLoggingConfigError) -> Self {
1655        match err {
1656            crate::operation::get_query_logging_config::GetQueryLoggingConfigError::InvalidInput(inner) => Error::InvalidInput(inner),
1657            crate::operation::get_query_logging_config::GetQueryLoggingConfigError::NoSuchQueryLoggingConfig(inner) => {
1658                Error::NoSuchQueryLoggingConfig(inner)
1659            }
1660            crate::operation::get_query_logging_config::GetQueryLoggingConfigError::Unhandled(inner) => Error::Unhandled(inner),
1661        }
1662    }
1663}
1664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError, R>>
1665    for Error
1666where
1667    R: Send + Sync + std::fmt::Debug + 'static,
1668{
1669    fn from(
1670        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError, R>,
1671    ) -> Self {
1672        match err {
1673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1676                source: err.into(),
1677            }),
1678        }
1679    }
1680}
1681impl From<crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError> for Error {
1682    fn from(err: crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError) -> Self {
1683        match err {
1684            crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError::DelegationSetNotReusable(inner) => {
1685                Error::DelegationSetNotReusable(inner)
1686            }
1687            crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError::InvalidInput(inner) => Error::InvalidInput(inner),
1688            crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError::NoSuchDelegationSet(inner) => {
1689                Error::NoSuchDelegationSet(inner)
1690            }
1691            crate::operation::get_reusable_delegation_set::GetReusableDelegationSetError::Unhandled(inner) => Error::Unhandled(inner),
1692        }
1693    }
1694}
1695impl<R>
1696    From<
1697        ::aws_smithy_runtime_api::client::result::SdkError<
1698            crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError,
1699            R,
1700        >,
1701    > for Error
1702where
1703    R: Send + Sync + std::fmt::Debug + 'static,
1704{
1705    fn from(
1706        err: ::aws_smithy_runtime_api::client::result::SdkError<
1707            crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError,
1708            R,
1709        >,
1710    ) -> Self {
1711        match err {
1712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1715                source: err.into(),
1716            }),
1717        }
1718    }
1719}
1720impl From<crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError> for Error {
1721    fn from(err: crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError) -> Self {
1722        match err {
1723            crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError::InvalidInput(inner) => {
1724                Error::InvalidInput(inner)
1725            }
1726            crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError::NoSuchDelegationSet(inner) => {
1727                Error::NoSuchDelegationSet(inner)
1728            }
1729            crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError::Unhandled(inner) => Error::Unhandled(inner),
1730        }
1731    }
1732}
1733impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_traffic_policy::GetTrafficPolicyError, R>> for Error
1734where
1735    R: Send + Sync + std::fmt::Debug + 'static,
1736{
1737    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_traffic_policy::GetTrafficPolicyError, R>) -> Self {
1738        match err {
1739            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1740            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1741                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1742                source: err.into(),
1743            }),
1744        }
1745    }
1746}
1747impl From<crate::operation::get_traffic_policy::GetTrafficPolicyError> for Error {
1748    fn from(err: crate::operation::get_traffic_policy::GetTrafficPolicyError) -> Self {
1749        match err {
1750            crate::operation::get_traffic_policy::GetTrafficPolicyError::InvalidInput(inner) => Error::InvalidInput(inner),
1751            crate::operation::get_traffic_policy::GetTrafficPolicyError::NoSuchTrafficPolicy(inner) => Error::NoSuchTrafficPolicy(inner),
1752            crate::operation::get_traffic_policy::GetTrafficPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1753        }
1754    }
1755}
1756impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError, R>>
1757    for Error
1758where
1759    R: Send + Sync + std::fmt::Debug + 'static,
1760{
1761    fn from(
1762        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError, R>,
1763    ) -> Self {
1764        match err {
1765            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1766            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1767                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1768                source: err.into(),
1769            }),
1770        }
1771    }
1772}
1773impl From<crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError> for Error {
1774    fn from(err: crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError) -> Self {
1775        match err {
1776            crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError::InvalidInput(inner) => Error::InvalidInput(inner),
1777            crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError::NoSuchTrafficPolicyInstance(inner) => {
1778                Error::NoSuchTrafficPolicyInstance(inner)
1779            }
1780            crate::operation::get_traffic_policy_instance::GetTrafficPolicyInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1781        }
1782    }
1783}
1784impl<R>
1785    From<
1786        ::aws_smithy_runtime_api::client::result::SdkError<
1787            crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCountError,
1788            R,
1789        >,
1790    > for Error
1791where
1792    R: Send + Sync + std::fmt::Debug + 'static,
1793{
1794    fn from(
1795        err: ::aws_smithy_runtime_api::client::result::SdkError<
1796            crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCountError,
1797            R,
1798        >,
1799    ) -> Self {
1800        match err {
1801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1804                source: err.into(),
1805            }),
1806        }
1807    }
1808}
1809impl From<crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCountError> for Error {
1810    fn from(err: crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCountError) -> Self {
1811        match err {
1812            crate::operation::get_traffic_policy_instance_count::GetTrafficPolicyInstanceCountError::Unhandled(inner) => Error::Unhandled(inner),
1813        }
1814    }
1815}
1816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cidr_blocks::ListCidrBlocksError, R>> for Error
1817where
1818    R: Send + Sync + std::fmt::Debug + 'static,
1819{
1820    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cidr_blocks::ListCidrBlocksError, R>) -> Self {
1821        match err {
1822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1825                source: err.into(),
1826            }),
1827        }
1828    }
1829}
1830impl From<crate::operation::list_cidr_blocks::ListCidrBlocksError> for Error {
1831    fn from(err: crate::operation::list_cidr_blocks::ListCidrBlocksError) -> Self {
1832        match err {
1833            crate::operation::list_cidr_blocks::ListCidrBlocksError::InvalidInput(inner) => Error::InvalidInput(inner),
1834            crate::operation::list_cidr_blocks::ListCidrBlocksError::NoSuchCidrCollectionException(inner) => {
1835                Error::NoSuchCidrCollectionException(inner)
1836            }
1837            crate::operation::list_cidr_blocks::ListCidrBlocksError::NoSuchCidrLocationException(inner) => Error::NoSuchCidrLocationException(inner),
1838            crate::operation::list_cidr_blocks::ListCidrBlocksError::Unhandled(inner) => Error::Unhandled(inner),
1839        }
1840    }
1841}
1842impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cidr_collections::ListCidrCollectionsError, R>> for Error
1843where
1844    R: Send + Sync + std::fmt::Debug + 'static,
1845{
1846    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cidr_collections::ListCidrCollectionsError, R>) -> Self {
1847        match err {
1848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1851                source: err.into(),
1852            }),
1853        }
1854    }
1855}
1856impl From<crate::operation::list_cidr_collections::ListCidrCollectionsError> for Error {
1857    fn from(err: crate::operation::list_cidr_collections::ListCidrCollectionsError) -> Self {
1858        match err {
1859            crate::operation::list_cidr_collections::ListCidrCollectionsError::InvalidInput(inner) => Error::InvalidInput(inner),
1860            crate::operation::list_cidr_collections::ListCidrCollectionsError::Unhandled(inner) => Error::Unhandled(inner),
1861        }
1862    }
1863}
1864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cidr_locations::ListCidrLocationsError, R>> for Error
1865where
1866    R: Send + Sync + std::fmt::Debug + 'static,
1867{
1868    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cidr_locations::ListCidrLocationsError, R>) -> Self {
1869        match err {
1870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1873                source: err.into(),
1874            }),
1875        }
1876    }
1877}
1878impl From<crate::operation::list_cidr_locations::ListCidrLocationsError> for Error {
1879    fn from(err: crate::operation::list_cidr_locations::ListCidrLocationsError) -> Self {
1880        match err {
1881            crate::operation::list_cidr_locations::ListCidrLocationsError::InvalidInput(inner) => Error::InvalidInput(inner),
1882            crate::operation::list_cidr_locations::ListCidrLocationsError::NoSuchCidrCollectionException(inner) => {
1883                Error::NoSuchCidrCollectionException(inner)
1884            }
1885            crate::operation::list_cidr_locations::ListCidrLocationsError::Unhandled(inner) => Error::Unhandled(inner),
1886        }
1887    }
1888}
1889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_geo_locations::ListGeoLocationsError, R>> for Error
1890where
1891    R: Send + Sync + std::fmt::Debug + 'static,
1892{
1893    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_geo_locations::ListGeoLocationsError, R>) -> Self {
1894        match err {
1895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1898                source: err.into(),
1899            }),
1900        }
1901    }
1902}
1903impl From<crate::operation::list_geo_locations::ListGeoLocationsError> for Error {
1904    fn from(err: crate::operation::list_geo_locations::ListGeoLocationsError) -> Self {
1905        match err {
1906            crate::operation::list_geo_locations::ListGeoLocationsError::InvalidInput(inner) => Error::InvalidInput(inner),
1907            crate::operation::list_geo_locations::ListGeoLocationsError::Unhandled(inner) => Error::Unhandled(inner),
1908        }
1909    }
1910}
1911impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_health_checks::ListHealthChecksError, R>> for Error
1912where
1913    R: Send + Sync + std::fmt::Debug + 'static,
1914{
1915    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_health_checks::ListHealthChecksError, R>) -> Self {
1916        match err {
1917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1920                source: err.into(),
1921            }),
1922        }
1923    }
1924}
1925impl From<crate::operation::list_health_checks::ListHealthChecksError> for Error {
1926    fn from(err: crate::operation::list_health_checks::ListHealthChecksError) -> Self {
1927        match err {
1928            crate::operation::list_health_checks::ListHealthChecksError::IncompatibleVersion(inner) => Error::IncompatibleVersion(inner),
1929            crate::operation::list_health_checks::ListHealthChecksError::InvalidInput(inner) => Error::InvalidInput(inner),
1930            crate::operation::list_health_checks::ListHealthChecksError::Unhandled(inner) => Error::Unhandled(inner),
1931        }
1932    }
1933}
1934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hosted_zones::ListHostedZonesError, R>> for Error
1935where
1936    R: Send + Sync + std::fmt::Debug + 'static,
1937{
1938    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hosted_zones::ListHostedZonesError, R>) -> Self {
1939        match err {
1940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1943                source: err.into(),
1944            }),
1945        }
1946    }
1947}
1948impl From<crate::operation::list_hosted_zones::ListHostedZonesError> for Error {
1949    fn from(err: crate::operation::list_hosted_zones::ListHostedZonesError) -> Self {
1950        match err {
1951            crate::operation::list_hosted_zones::ListHostedZonesError::DelegationSetNotReusable(inner) => Error::DelegationSetNotReusable(inner),
1952            crate::operation::list_hosted_zones::ListHostedZonesError::InvalidInput(inner) => Error::InvalidInput(inner),
1953            crate::operation::list_hosted_zones::ListHostedZonesError::NoSuchDelegationSet(inner) => Error::NoSuchDelegationSet(inner),
1954            crate::operation::list_hosted_zones::ListHostedZonesError::Unhandled(inner) => Error::Unhandled(inner),
1955        }
1956    }
1957}
1958impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError, R>> for Error
1959where
1960    R: Send + Sync + std::fmt::Debug + 'static,
1961{
1962    fn from(
1963        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError, R>,
1964    ) -> Self {
1965        match err {
1966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1969                source: err.into(),
1970            }),
1971        }
1972    }
1973}
1974impl From<crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError> for Error {
1975    fn from(err: crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError) -> Self {
1976        match err {
1977            crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError::InvalidDomainName(inner) => Error::InvalidDomainName(inner),
1978            crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError::InvalidInput(inner) => Error::InvalidInput(inner),
1979            crate::operation::list_hosted_zones_by_name::ListHostedZonesByNameError::Unhandled(inner) => Error::Unhandled(inner),
1980        }
1981    }
1982}
1983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError, R>> for Error
1984where
1985    R: Send + Sync + std::fmt::Debug + 'static,
1986{
1987    fn from(
1988        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError, R>,
1989    ) -> Self {
1990        match err {
1991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1994                source: err.into(),
1995            }),
1996        }
1997    }
1998}
1999impl From<crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError> for Error {
2000    fn from(err: crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError) -> Self {
2001        match err {
2002            crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError::InvalidInput(inner) => Error::InvalidInput(inner),
2003            crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError::InvalidPaginationToken(inner) => {
2004                Error::InvalidPaginationToken(inner)
2005            }
2006            crate::operation::list_hosted_zones_by_vpc::ListHostedZonesByVPCError::Unhandled(inner) => Error::Unhandled(inner),
2007        }
2008    }
2009}
2010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError, R>>
2011    for Error
2012where
2013    R: Send + Sync + std::fmt::Debug + 'static,
2014{
2015    fn from(
2016        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError, R>,
2017    ) -> Self {
2018        match err {
2019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2022                source: err.into(),
2023            }),
2024        }
2025    }
2026}
2027impl From<crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError> for Error {
2028    fn from(err: crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError) -> Self {
2029        match err {
2030            crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError::InvalidInput(inner) => Error::InvalidInput(inner),
2031            crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError::InvalidPaginationToken(inner) => {
2032                Error::InvalidPaginationToken(inner)
2033            }
2034            crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2035            crate::operation::list_query_logging_configs::ListQueryLoggingConfigsError::Unhandled(inner) => Error::Unhandled(inner),
2036        }
2037    }
2038}
2039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_record_sets::ListResourceRecordSetsError, R>>
2040    for Error
2041where
2042    R: Send + Sync + std::fmt::Debug + 'static,
2043{
2044    fn from(
2045        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_record_sets::ListResourceRecordSetsError, R>,
2046    ) -> Self {
2047        match err {
2048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2051                source: err.into(),
2052            }),
2053        }
2054    }
2055}
2056impl From<crate::operation::list_resource_record_sets::ListResourceRecordSetsError> for Error {
2057    fn from(err: crate::operation::list_resource_record_sets::ListResourceRecordSetsError) -> Self {
2058        match err {
2059            crate::operation::list_resource_record_sets::ListResourceRecordSetsError::InvalidInput(inner) => Error::InvalidInput(inner),
2060            crate::operation::list_resource_record_sets::ListResourceRecordSetsError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2061            crate::operation::list_resource_record_sets::ListResourceRecordSetsError::Unhandled(inner) => Error::Unhandled(inner),
2062        }
2063    }
2064}
2065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError, R>>
2066    for Error
2067where
2068    R: Send + Sync + std::fmt::Debug + 'static,
2069{
2070    fn from(
2071        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError, R>,
2072    ) -> Self {
2073        match err {
2074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2077                source: err.into(),
2078            }),
2079        }
2080    }
2081}
2082impl From<crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError> for Error {
2083    fn from(err: crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError) -> Self {
2084        match err {
2085            crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError::InvalidInput(inner) => Error::InvalidInput(inner),
2086            crate::operation::list_reusable_delegation_sets::ListReusableDelegationSetsError::Unhandled(inner) => Error::Unhandled(inner),
2087        }
2088    }
2089}
2090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2091where
2092    R: Send + Sync + std::fmt::Debug + 'static,
2093{
2094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2095        match err {
2096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2099                source: err.into(),
2100            }),
2101        }
2102    }
2103}
2104impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2105    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2106        match err {
2107            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidInput(inner) => Error::InvalidInput(inner),
2108            crate::operation::list_tags_for_resource::ListTagsForResourceError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
2109            crate::operation::list_tags_for_resource::ListTagsForResourceError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2110            crate::operation::list_tags_for_resource::ListTagsForResourceError::PriorRequestNotComplete(inner) => {
2111                Error::PriorRequestNotComplete(inner)
2112            }
2113            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2114            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2115        }
2116    }
2117}
2118impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resources::ListTagsForResourcesError, R>> for Error
2119where
2120    R: Send + Sync + std::fmt::Debug + 'static,
2121{
2122    fn from(
2123        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resources::ListTagsForResourcesError, R>,
2124    ) -> Self {
2125        match err {
2126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2129                source: err.into(),
2130            }),
2131        }
2132    }
2133}
2134impl From<crate::operation::list_tags_for_resources::ListTagsForResourcesError> for Error {
2135    fn from(err: crate::operation::list_tags_for_resources::ListTagsForResourcesError) -> Self {
2136        match err {
2137            crate::operation::list_tags_for_resources::ListTagsForResourcesError::InvalidInput(inner) => Error::InvalidInput(inner),
2138            crate::operation::list_tags_for_resources::ListTagsForResourcesError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
2139            crate::operation::list_tags_for_resources::ListTagsForResourcesError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2140            crate::operation::list_tags_for_resources::ListTagsForResourcesError::PriorRequestNotComplete(inner) => {
2141                Error::PriorRequestNotComplete(inner)
2142            }
2143            crate::operation::list_tags_for_resources::ListTagsForResourcesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2144            crate::operation::list_tags_for_resources::ListTagsForResourcesError::Unhandled(inner) => Error::Unhandled(inner),
2145        }
2146    }
2147}
2148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_traffic_policies::ListTrafficPoliciesError, R>> for Error
2149where
2150    R: Send + Sync + std::fmt::Debug + 'static,
2151{
2152    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_traffic_policies::ListTrafficPoliciesError, R>) -> Self {
2153        match err {
2154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2157                source: err.into(),
2158            }),
2159        }
2160    }
2161}
2162impl From<crate::operation::list_traffic_policies::ListTrafficPoliciesError> for Error {
2163    fn from(err: crate::operation::list_traffic_policies::ListTrafficPoliciesError) -> Self {
2164        match err {
2165            crate::operation::list_traffic_policies::ListTrafficPoliciesError::InvalidInput(inner) => Error::InvalidInput(inner),
2166            crate::operation::list_traffic_policies::ListTrafficPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
2167        }
2168    }
2169}
2170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError, R>>
2171    for Error
2172where
2173    R: Send + Sync + std::fmt::Debug + 'static,
2174{
2175    fn from(
2176        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError, R>,
2177    ) -> Self {
2178        match err {
2179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2182                source: err.into(),
2183            }),
2184        }
2185    }
2186}
2187impl From<crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError> for Error {
2188    fn from(err: crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError) -> Self {
2189        match err {
2190            crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError::InvalidInput(inner) => Error::InvalidInput(inner),
2191            crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError::NoSuchTrafficPolicyInstance(inner) => {
2192                Error::NoSuchTrafficPolicyInstance(inner)
2193            }
2194            crate::operation::list_traffic_policy_instances::ListTrafficPolicyInstancesError::Unhandled(inner) => Error::Unhandled(inner),
2195        }
2196    }
2197}
2198impl<R>
2199    From<
2200        ::aws_smithy_runtime_api::client::result::SdkError<
2201            crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError,
2202            R,
2203        >,
2204    > for Error
2205where
2206    R: Send + Sync + std::fmt::Debug + 'static,
2207{
2208    fn from(
2209        err: ::aws_smithy_runtime_api::client::result::SdkError<
2210            crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError,
2211            R,
2212        >,
2213    ) -> Self {
2214        match err {
2215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2218                source: err.into(),
2219            }),
2220        }
2221    }
2222}
2223impl From<crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError> for Error {
2224    fn from(err: crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError) -> Self {
2225        match err {
2226            crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError::InvalidInput(inner) => Error::InvalidInput(inner),
2227            crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2228            crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError::NoSuchTrafficPolicyInstance(inner) => Error::NoSuchTrafficPolicyInstance(inner),
2229            crate::operation::list_traffic_policy_instances_by_hosted_zone::ListTrafficPolicyInstancesByHostedZoneError::Unhandled(inner) => Error::Unhandled(inner),
2230        }
2231    }
2232}
2233impl<R>
2234    From<
2235        ::aws_smithy_runtime_api::client::result::SdkError<
2236            crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError,
2237            R,
2238        >,
2239    > for Error
2240where
2241    R: Send + Sync + std::fmt::Debug + 'static,
2242{
2243    fn from(
2244        err: ::aws_smithy_runtime_api::client::result::SdkError<
2245            crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError,
2246            R,
2247        >,
2248    ) -> Self {
2249        match err {
2250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2253                source: err.into(),
2254            }),
2255        }
2256    }
2257}
2258impl From<crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError> for Error {
2259    fn from(err: crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError) -> Self {
2260        match err {
2261            crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError::InvalidInput(inner) => {
2262                Error::InvalidInput(inner)
2263            }
2264            crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError::NoSuchTrafficPolicy(inner) => {
2265                Error::NoSuchTrafficPolicy(inner)
2266            }
2267            crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError::NoSuchTrafficPolicyInstance(
2268                inner,
2269            ) => Error::NoSuchTrafficPolicyInstance(inner),
2270            crate::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyError::Unhandled(inner) => {
2271                Error::Unhandled(inner)
2272            }
2273        }
2274    }
2275}
2276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError, R>>
2277    for Error
2278where
2279    R: Send + Sync + std::fmt::Debug + 'static,
2280{
2281    fn from(
2282        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError, R>,
2283    ) -> Self {
2284        match err {
2285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2288                source: err.into(),
2289            }),
2290        }
2291    }
2292}
2293impl From<crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError> for Error {
2294    fn from(err: crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError) -> Self {
2295        match err {
2296            crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError::InvalidInput(inner) => Error::InvalidInput(inner),
2297            crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError::NoSuchTrafficPolicy(inner) => {
2298                Error::NoSuchTrafficPolicy(inner)
2299            }
2300            crate::operation::list_traffic_policy_versions::ListTrafficPolicyVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2301        }
2302    }
2303}
2304impl<R>
2305    From<
2306        ::aws_smithy_runtime_api::client::result::SdkError<
2307            crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError,
2308            R,
2309        >,
2310    > for Error
2311where
2312    R: Send + Sync + std::fmt::Debug + 'static,
2313{
2314    fn from(
2315        err: ::aws_smithy_runtime_api::client::result::SdkError<
2316            crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError,
2317            R,
2318        >,
2319    ) -> Self {
2320        match err {
2321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2324                source: err.into(),
2325            }),
2326        }
2327    }
2328}
2329impl From<crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError> for Error {
2330    fn from(err: crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError) -> Self {
2331        match err {
2332            crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError::InvalidInput(inner) => {
2333                Error::InvalidInput(inner)
2334            }
2335            crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError::InvalidPaginationToken(inner) => {
2336                Error::InvalidPaginationToken(inner)
2337            }
2338            crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError::NoSuchHostedZone(inner) => {
2339                Error::NoSuchHostedZone(inner)
2340            }
2341            crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError::Unhandled(inner) => Error::Unhandled(inner),
2342        }
2343    }
2344}
2345impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_dns_answer::TestDNSAnswerError, R>> for Error
2346where
2347    R: Send + Sync + std::fmt::Debug + 'static,
2348{
2349    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_dns_answer::TestDNSAnswerError, R>) -> Self {
2350        match err {
2351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2354                source: err.into(),
2355            }),
2356        }
2357    }
2358}
2359impl From<crate::operation::test_dns_answer::TestDNSAnswerError> for Error {
2360    fn from(err: crate::operation::test_dns_answer::TestDNSAnswerError) -> Self {
2361        match err {
2362            crate::operation::test_dns_answer::TestDNSAnswerError::InvalidInput(inner) => Error::InvalidInput(inner),
2363            crate::operation::test_dns_answer::TestDNSAnswerError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2364            crate::operation::test_dns_answer::TestDNSAnswerError::Unhandled(inner) => Error::Unhandled(inner),
2365        }
2366    }
2367}
2368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_health_check::UpdateHealthCheckError, R>> for Error
2369where
2370    R: Send + Sync + std::fmt::Debug + 'static,
2371{
2372    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_health_check::UpdateHealthCheckError, R>) -> Self {
2373        match err {
2374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2377                source: err.into(),
2378            }),
2379        }
2380    }
2381}
2382impl From<crate::operation::update_health_check::UpdateHealthCheckError> for Error {
2383    fn from(err: crate::operation::update_health_check::UpdateHealthCheckError) -> Self {
2384        match err {
2385            crate::operation::update_health_check::UpdateHealthCheckError::HealthCheckVersionMismatch(inner) => {
2386                Error::HealthCheckVersionMismatch(inner)
2387            }
2388            crate::operation::update_health_check::UpdateHealthCheckError::InvalidInput(inner) => Error::InvalidInput(inner),
2389            crate::operation::update_health_check::UpdateHealthCheckError::NoSuchHealthCheck(inner) => Error::NoSuchHealthCheck(inner),
2390            crate::operation::update_health_check::UpdateHealthCheckError::Unhandled(inner) => Error::Unhandled(inner),
2391        }
2392    }
2393}
2394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError, R>>
2395    for Error
2396where
2397    R: Send + Sync + std::fmt::Debug + 'static,
2398{
2399    fn from(
2400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError, R>,
2401    ) -> Self {
2402        match err {
2403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2406                source: err.into(),
2407            }),
2408        }
2409    }
2410}
2411impl From<crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError> for Error {
2412    fn from(err: crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError) -> Self {
2413        match err {
2414            crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError::InvalidInput(inner) => Error::InvalidInput(inner),
2415            crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2416            crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError::PriorRequestNotComplete(inner) => {
2417                Error::PriorRequestNotComplete(inner)
2418            }
2419            crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError::Unhandled(inner) => Error::Unhandled(inner),
2420        }
2421    }
2422}
2423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError, R>>
2424    for Error
2425where
2426    R: Send + Sync + std::fmt::Debug + 'static,
2427{
2428    fn from(
2429        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError, R>,
2430    ) -> Self {
2431        match err {
2432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2435                source: err.into(),
2436            }),
2437        }
2438    }
2439}
2440impl From<crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError> for Error {
2441    fn from(err: crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError) -> Self {
2442        match err {
2443            crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError::InvalidInput(inner) => Error::InvalidInput(inner),
2444            crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError::LimitsExceeded(inner) => Error::LimitsExceeded(inner),
2445            crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError::NoSuchHostedZone(inner) => Error::NoSuchHostedZone(inner),
2446            crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError::PriorRequestNotComplete(inner) => {
2447                Error::PriorRequestNotComplete(inner)
2448            }
2449            crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError::Unhandled(inner) => Error::Unhandled(inner),
2450        }
2451    }
2452}
2453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError, 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::update_traffic_policy_comment::UpdateTrafficPolicyCommentError, 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::update_traffic_policy_comment::UpdateTrafficPolicyCommentError> for Error {
2471    fn from(err: crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError) -> Self {
2472        match err {
2473            crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError::ConcurrentModification(inner) => {
2474                Error::ConcurrentModification(inner)
2475            }
2476            crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError::InvalidInput(inner) => Error::InvalidInput(inner),
2477            crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError::NoSuchTrafficPolicy(inner) => {
2478                Error::NoSuchTrafficPolicy(inner)
2479            }
2480            crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError::Unhandled(inner) => Error::Unhandled(inner),
2481        }
2482    }
2483}
2484impl<R>
2485    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError, R>>
2486    for Error
2487where
2488    R: Send + Sync + std::fmt::Debug + 'static,
2489{
2490    fn from(
2491        err: ::aws_smithy_runtime_api::client::result::SdkError<
2492            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError,
2493            R,
2494        >,
2495    ) -> Self {
2496        match err {
2497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2500                source: err.into(),
2501            }),
2502        }
2503    }
2504}
2505impl From<crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError> for Error {
2506    fn from(err: crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError) -> Self {
2507        match err {
2508            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError::ConflictingTypes(inner) => {
2509                Error::ConflictingTypes(inner)
2510            }
2511            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError::InvalidInput(inner) => Error::InvalidInput(inner),
2512            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError::NoSuchTrafficPolicy(inner) => {
2513                Error::NoSuchTrafficPolicy(inner)
2514            }
2515            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError::NoSuchTrafficPolicyInstance(inner) => {
2516                Error::NoSuchTrafficPolicyInstance(inner)
2517            }
2518            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError::PriorRequestNotComplete(inner) => {
2519                Error::PriorRequestNotComplete(inner)
2520            }
2521            crate::operation::update_traffic_policy_instance::UpdateTrafficPolicyInstanceError::Unhandled(inner) => Error::Unhandled(inner),
2522        }
2523    }
2524}
2525impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
2526where
2527    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
2528    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
2529{
2530    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
2531        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2532            meta: ::std::default::Default::default(),
2533            source: err.into(),
2534        })
2535    }
2536}
2537impl ::std::error::Error for Error {
2538    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2539        match self {
2540            Error::CidrBlockInUseException(inner) => inner.source(),
2541            Error::CidrCollectionAlreadyExistsException(inner) => inner.source(),
2542            Error::CidrCollectionInUseException(inner) => inner.source(),
2543            Error::CidrCollectionVersionMismatchException(inner) => inner.source(),
2544            Error::ConcurrentModification(inner) => inner.source(),
2545            Error::ConflictingDomainExists(inner) => inner.source(),
2546            Error::ConflictingTypes(inner) => inner.source(),
2547            Error::DnssecNotFound(inner) => inner.source(),
2548            Error::DelegationSetAlreadyCreated(inner) => inner.source(),
2549            Error::DelegationSetAlreadyReusable(inner) => inner.source(),
2550            Error::DelegationSetInUse(inner) => inner.source(),
2551            Error::DelegationSetNotAvailable(inner) => inner.source(),
2552            Error::DelegationSetNotReusable(inner) => inner.source(),
2553            Error::HealthCheckAlreadyExists(inner) => inner.source(),
2554            Error::HealthCheckInUse(inner) => inner.source(),
2555            Error::HealthCheckVersionMismatch(inner) => inner.source(),
2556            Error::HostedZoneAlreadyExists(inner) => inner.source(),
2557            Error::HostedZoneNotEmpty(inner) => inner.source(),
2558            Error::HostedZoneNotFound(inner) => inner.source(),
2559            Error::HostedZoneNotPrivate(inner) => inner.source(),
2560            Error::HostedZonePartiallyDelegated(inner) => inner.source(),
2561            Error::IncompatibleVersion(inner) => inner.source(),
2562            Error::InsufficientCloudWatchLogsResourcePolicy(inner) => inner.source(),
2563            Error::InvalidArgument(inner) => inner.source(),
2564            Error::InvalidChangeBatch(inner) => inner.source(),
2565            Error::InvalidDomainName(inner) => inner.source(),
2566            Error::InvalidInput(inner) => inner.source(),
2567            Error::InvalidKmsArn(inner) => inner.source(),
2568            Error::InvalidKeySigningKeyName(inner) => inner.source(),
2569            Error::InvalidKeySigningKeyStatus(inner) => inner.source(),
2570            Error::InvalidPaginationToken(inner) => inner.source(),
2571            Error::InvalidSigningStatus(inner) => inner.source(),
2572            Error::InvalidTrafficPolicyDocument(inner) => inner.source(),
2573            Error::InvalidVpcId(inner) => inner.source(),
2574            Error::KeySigningKeyAlreadyExists(inner) => inner.source(),
2575            Error::KeySigningKeyInParentDsRecord(inner) => inner.source(),
2576            Error::KeySigningKeyInUse(inner) => inner.source(),
2577            Error::KeySigningKeyWithActiveStatusNotFound(inner) => inner.source(),
2578            Error::LastVpcAssociation(inner) => inner.source(),
2579            Error::LimitsExceeded(inner) => inner.source(),
2580            Error::NoSuchChange(inner) => inner.source(),
2581            Error::NoSuchCidrCollectionException(inner) => inner.source(),
2582            Error::NoSuchCidrLocationException(inner) => inner.source(),
2583            Error::NoSuchCloudWatchLogsLogGroup(inner) => inner.source(),
2584            Error::NoSuchDelegationSet(inner) => inner.source(),
2585            Error::NoSuchGeoLocation(inner) => inner.source(),
2586            Error::NoSuchHealthCheck(inner) => inner.source(),
2587            Error::NoSuchHostedZone(inner) => inner.source(),
2588            Error::NoSuchKeySigningKey(inner) => inner.source(),
2589            Error::NoSuchQueryLoggingConfig(inner) => inner.source(),
2590            Error::NoSuchTrafficPolicy(inner) => inner.source(),
2591            Error::NoSuchTrafficPolicyInstance(inner) => inner.source(),
2592            Error::NotAuthorizedException(inner) => inner.source(),
2593            Error::PriorRequestNotComplete(inner) => inner.source(),
2594            Error::PublicZoneVpcAssociation(inner) => inner.source(),
2595            Error::QueryLoggingConfigAlreadyExists(inner) => inner.source(),
2596            Error::ThrottlingException(inner) => inner.source(),
2597            Error::TooManyHealthChecks(inner) => inner.source(),
2598            Error::TooManyHostedZones(inner) => inner.source(),
2599            Error::TooManyKeySigningKeys(inner) => inner.source(),
2600            Error::TooManyTrafficPolicies(inner) => inner.source(),
2601            Error::TooManyTrafficPolicyInstances(inner) => inner.source(),
2602            Error::TooManyTrafficPolicyVersionsForCurrentPolicy(inner) => inner.source(),
2603            Error::TooManyVpcAssociationAuthorizations(inner) => inner.source(),
2604            Error::TrafficPolicyAlreadyExists(inner) => inner.source(),
2605            Error::TrafficPolicyInUse(inner) => inner.source(),
2606            Error::TrafficPolicyInstanceAlreadyExists(inner) => inner.source(),
2607            Error::VpcAssociationAuthorizationNotFound(inner) => inner.source(),
2608            Error::VpcAssociationNotFound(inner) => inner.source(),
2609            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2610        }
2611    }
2612}
2613impl ::aws_types::request_id::RequestId for Error {
2614    fn request_id(&self) -> Option<&str> {
2615        match self {
2616            Self::CidrBlockInUseException(e) => e.request_id(),
2617            Self::CidrCollectionAlreadyExistsException(e) => e.request_id(),
2618            Self::CidrCollectionInUseException(e) => e.request_id(),
2619            Self::CidrCollectionVersionMismatchException(e) => e.request_id(),
2620            Self::ConcurrentModification(e) => e.request_id(),
2621            Self::ConflictingDomainExists(e) => e.request_id(),
2622            Self::ConflictingTypes(e) => e.request_id(),
2623            Self::DnssecNotFound(e) => e.request_id(),
2624            Self::DelegationSetAlreadyCreated(e) => e.request_id(),
2625            Self::DelegationSetAlreadyReusable(e) => e.request_id(),
2626            Self::DelegationSetInUse(e) => e.request_id(),
2627            Self::DelegationSetNotAvailable(e) => e.request_id(),
2628            Self::DelegationSetNotReusable(e) => e.request_id(),
2629            Self::HealthCheckAlreadyExists(e) => e.request_id(),
2630            Self::HealthCheckInUse(e) => e.request_id(),
2631            Self::HealthCheckVersionMismatch(e) => e.request_id(),
2632            Self::HostedZoneAlreadyExists(e) => e.request_id(),
2633            Self::HostedZoneNotEmpty(e) => e.request_id(),
2634            Self::HostedZoneNotFound(e) => e.request_id(),
2635            Self::HostedZoneNotPrivate(e) => e.request_id(),
2636            Self::HostedZonePartiallyDelegated(e) => e.request_id(),
2637            Self::IncompatibleVersion(e) => e.request_id(),
2638            Self::InsufficientCloudWatchLogsResourcePolicy(e) => e.request_id(),
2639            Self::InvalidArgument(e) => e.request_id(),
2640            Self::InvalidChangeBatch(e) => e.request_id(),
2641            Self::InvalidDomainName(e) => e.request_id(),
2642            Self::InvalidInput(e) => e.request_id(),
2643            Self::InvalidKmsArn(e) => e.request_id(),
2644            Self::InvalidKeySigningKeyName(e) => e.request_id(),
2645            Self::InvalidKeySigningKeyStatus(e) => e.request_id(),
2646            Self::InvalidPaginationToken(e) => e.request_id(),
2647            Self::InvalidSigningStatus(e) => e.request_id(),
2648            Self::InvalidTrafficPolicyDocument(e) => e.request_id(),
2649            Self::InvalidVpcId(e) => e.request_id(),
2650            Self::KeySigningKeyAlreadyExists(e) => e.request_id(),
2651            Self::KeySigningKeyInParentDsRecord(e) => e.request_id(),
2652            Self::KeySigningKeyInUse(e) => e.request_id(),
2653            Self::KeySigningKeyWithActiveStatusNotFound(e) => e.request_id(),
2654            Self::LastVpcAssociation(e) => e.request_id(),
2655            Self::LimitsExceeded(e) => e.request_id(),
2656            Self::NoSuchChange(e) => e.request_id(),
2657            Self::NoSuchCidrCollectionException(e) => e.request_id(),
2658            Self::NoSuchCidrLocationException(e) => e.request_id(),
2659            Self::NoSuchCloudWatchLogsLogGroup(e) => e.request_id(),
2660            Self::NoSuchDelegationSet(e) => e.request_id(),
2661            Self::NoSuchGeoLocation(e) => e.request_id(),
2662            Self::NoSuchHealthCheck(e) => e.request_id(),
2663            Self::NoSuchHostedZone(e) => e.request_id(),
2664            Self::NoSuchKeySigningKey(e) => e.request_id(),
2665            Self::NoSuchQueryLoggingConfig(e) => e.request_id(),
2666            Self::NoSuchTrafficPolicy(e) => e.request_id(),
2667            Self::NoSuchTrafficPolicyInstance(e) => e.request_id(),
2668            Self::NotAuthorizedException(e) => e.request_id(),
2669            Self::PriorRequestNotComplete(e) => e.request_id(),
2670            Self::PublicZoneVpcAssociation(e) => e.request_id(),
2671            Self::QueryLoggingConfigAlreadyExists(e) => e.request_id(),
2672            Self::ThrottlingException(e) => e.request_id(),
2673            Self::TooManyHealthChecks(e) => e.request_id(),
2674            Self::TooManyHostedZones(e) => e.request_id(),
2675            Self::TooManyKeySigningKeys(e) => e.request_id(),
2676            Self::TooManyTrafficPolicies(e) => e.request_id(),
2677            Self::TooManyTrafficPolicyInstances(e) => e.request_id(),
2678            Self::TooManyTrafficPolicyVersionsForCurrentPolicy(e) => e.request_id(),
2679            Self::TooManyVpcAssociationAuthorizations(e) => e.request_id(),
2680            Self::TrafficPolicyAlreadyExists(e) => e.request_id(),
2681            Self::TrafficPolicyInUse(e) => e.request_id(),
2682            Self::TrafficPolicyInstanceAlreadyExists(e) => e.request_id(),
2683            Self::VpcAssociationAuthorizationNotFound(e) => e.request_id(),
2684            Self::VpcAssociationNotFound(e) => e.request_id(),
2685            Self::Unhandled(e) => e.meta.request_id(),
2686        }
2687    }
2688}