aws_sdk_config/
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>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, you cannot create a service-linked recorder because a service-linked recorder already exists for the specified service.</p>
7    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, you cannot delete the service-linked recorder because it is currently in use by the linked Amazon Web Services service.</p>
8    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteDeliveryChannel.html">DeleteDeliveryChannel</a>, you cannot delete the specified delivery channel because the customer managed configuration recorder is running. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a> operation to stop the customer managed configuration recorder.</p>
9    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
10    /// <ul>
11    /// <li>
12    /// <p>For service-linked configuration recorders, the configuration recorder is not in use by the service. No association or dissociation of resource types is permitted.</p></li>
13    /// <li>
14    /// <p>For service-linked configuration recorders, your requested change to the configuration recorder has been denied by its linked Amazon Web Services service.</p></li>
15    /// </ul>
16    ConflictException(crate::types::error::ConflictException),
17    /// <p>You have specified a template that is not valid or supported.</p>
18    ConformancePackTemplateValidationException(crate::types::error::ConformancePackTemplateValidationException),
19    /// <p>Using the same client token with one or more different parameters. Specify a new client token with the parameter changes and try again.</p>
20    IdempotentParameterMismatch(crate::types::error::IdempotentParameterMismatch),
21    /// <p>Your Amazon S3 bucket policy does not allow Config to write to it.</p>
22    InsufficientDeliveryPolicyException(crate::types::error::InsufficientDeliveryPolicyException),
23    /// <p>Indicates one of the following errors:</p>
24    /// <ul>
25    /// <li>
26    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p></li>
27    /// <li>
28    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p></li>
29    /// <li>
30    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConfigRule.html">PutOrganizationConfigRule</a>, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p></li>
31    /// <li>
32    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html">PutConformancePack</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConformancePack.html">PutOrganizationConformancePack</a>, a conformance pack cannot be created because you do not have the following permissions:</p>
33    /// <ul>
34    /// <li>
35    /// <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p></li>
36    /// <li>
37    /// <p>You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.</p></li>
38    /// </ul></li>
39    /// <li>
40    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p></li>
41    /// </ul>
42    InsufficientPermissionsException(crate::types::error::InsufficientPermissionsException),
43    /// <p>You have provided a name for the customer managed configuration recorder that is not valid.</p>
44    InvalidConfigurationRecorderNameException(crate::types::error::InvalidConfigurationRecorderNameException),
45    /// <p>The specified delivery channel name is not valid.</p>
46    InvalidDeliveryChannelNameException(crate::types::error::InvalidDeliveryChannelNameException),
47    /// <p>The syntax of the query is incorrect.</p>
48    InvalidExpressionException(crate::types::error::InvalidExpressionException),
49    /// <p>The specified limit is outside the allowable range.</p>
50    InvalidLimitException(crate::types::error::InvalidLimitException),
51    /// <p>The specified next token is not valid. Specify the <code>nextToken</code> string that was returned in the previous response to get the next page of results.</p>
52    InvalidNextTokenException(crate::types::error::InvalidNextTokenException),
53    /// <p>One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.</p>
54    InvalidParameterValueException(crate::types::error::InvalidParameterValueException),
55    /// <p>One of the following errors:</p>
56    /// <ul>
57    /// <li>
58    /// <p>You have provided a combination of parameter values that is not valid. For example:</p>
59    /// <ul>
60    /// <li>
61    /// <p>Setting the <code>allSupported</code> field of <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html">RecordingGroup</a> to <code>true</code>, but providing a non-empty list for the <code>resourceTypes</code>field of <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html">RecordingGroup</a>.</p></li>
62    /// <li>
63    /// <p>Setting the <code>allSupported</code> field of <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html">RecordingGroup</a> to <code>true</code>, but also setting the <code>useOnly</code> field of <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html">RecordingStrategy</a> to <code>EXCLUSION_BY_RESOURCE_TYPES</code>.</p></li>
64    /// </ul></li>
65    /// <li>
66    /// <p>Every parameter is either null, false, or empty.</p></li>
67    /// <li>
68    /// <p>You have reached the limit of the number of resource types you can provide for the recording group.</p></li>
69    /// <li>
70    /// <p>You have provided resource types or a recording strategy that are not valid.</p></li>
71    /// </ul>
72    InvalidRecordingGroupException(crate::types::error::InvalidRecordingGroupException),
73    /// <p>The specified <code>ResultToken</code> is not valid.</p>
74    InvalidResultTokenException(crate::types::error::InvalidResultTokenException),
75    /// <p>You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the customer managed configuration recorder.</p>
76    InvalidRoleException(crate::types::error::InvalidRoleException),
77    /// <p>The specified Amazon S3 key prefix is not valid.</p>
78    InvalidS3KeyPrefixException(crate::types::error::InvalidS3KeyPrefixException),
79    /// <p>The specified Amazon KMS Key ARN is not valid.</p>
80    InvalidS3KmsKeyArnException(crate::types::error::InvalidS3KmsKeyArnException),
81    /// <p>The specified Amazon SNS topic does not exist.</p>
82    InvalidSnsTopicArnException(crate::types::error::InvalidSnsTopicArnException),
83    /// <p>The specified time range is not valid. The earlier time is not chronologically before the later time.</p>
84    InvalidTimeRangeException(crate::types::error::InvalidTimeRangeException),
85    /// <p>You cannot delete the delivery channel you specified because the customer managed configuration recorder is running.</p>
86    LastDeliveryChannelDeleteFailedException(crate::types::error::LastDeliveryChannelDeleteFailedException),
87    /// <p>For <code>PutServiceLinkedConfigurationRecorder</code> API, this exception is thrown if the number of service-linked roles in the account exceeds the limit.</p>
88    /// <p>For <code>StartConfigRulesEvaluation</code> API, this exception is thrown if an evaluation is in progress or if you call the <code>StartConfigRulesEvaluation</code> API more than once per minute.</p>
89    /// <p>For <code>PutConfigurationAggregator</code> API, this exception is thrown if the number of accounts and aggregators exceeds the limit.</p>
90    LimitExceededException(crate::types::error::LimitExceededException),
91    /// <p>You have reached the limit of active custom resource types in your account. There is a limit of 100,000. Delete unused resources using <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteResourceConfig.html">DeleteResourceConfig</a> <code></code>.</p>
92    MaxActiveResourcesExceededException(crate::types::error::MaxActiveResourcesExceededException),
93    /// <p>Failed to add the Config rule because the account already contains the maximum number of 1000 rules. Consider deleting any deactivated rules before you add new rules.</p>
94    MaxNumberOfConfigRulesExceededException(crate::types::error::MaxNumberOfConfigRulesExceededException),
95    /// <p>You have reached the limit of the number of configuration recorders you can create.</p>
96    MaxNumberOfConfigurationRecordersExceededException(crate::types::error::MaxNumberOfConfigurationRecordersExceededException),
97    /// <p>You have reached the limit of the number of conformance packs you can create in an account. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html"> <b>Service Limits</b> </a> in the <i>Config Developer Guide</i>.</p>
98    MaxNumberOfConformancePacksExceededException(crate::types::error::MaxNumberOfConformancePacksExceededException),
99    /// <p>You have reached the limit of the number of delivery channels you can create.</p>
100    MaxNumberOfDeliveryChannelsExceededException(crate::types::error::MaxNumberOfDeliveryChannelsExceededException),
101    /// <p>You have reached the limit of the number of organization Config rules you can create. For more information, see see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html"> <b>Service Limits</b> </a> in the <i>Config Developer Guide</i>.</p>
102    MaxNumberOfOrganizationConfigRulesExceededException(crate::types::error::MaxNumberOfOrganizationConfigRulesExceededException),
103    /// <p>You have reached the limit of the number of organization conformance packs you can create in an account. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html"> <b>Service Limits</b> </a> in the <i>Config Developer Guide</i>.</p>
104    MaxNumberOfOrganizationConformancePacksExceededException(crate::types::error::MaxNumberOfOrganizationConformancePacksExceededException),
105    /// <p>Failed to add the retention configuration because a retention configuration with that name already exists.</p>
106    MaxNumberOfRetentionConfigurationsExceededException(crate::types::error::MaxNumberOfRetentionConfigurationsExceededException),
107    /// <p>There are no customer managed configuration recorders available to record your resources. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a> operation to create the customer managed configuration recorder.</p>
108    NoAvailableConfigurationRecorderException(crate::types::error::NoAvailableConfigurationRecorderException),
109    /// <p>There is no delivery channel available to record configurations.</p>
110    NoAvailableDeliveryChannelException(crate::types::error::NoAvailableDeliveryChannelException),
111    /// <p>Organization is no longer available.</p>
112    NoAvailableOrganizationException(crate::types::error::NoAvailableOrganizationException),
113    /// <p>There is no configuration recorder running.</p>
114    NoRunningConfigurationRecorderException(crate::types::error::NoRunningConfigurationRecorderException),
115    /// <p>The specified Amazon S3 bucket does not exist.</p>
116    NoSuchBucketException(crate::types::error::NoSuchBucketException),
117    /// <p>The Config rule in the request is not valid. Verify that the rule is an Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.</p>
118    NoSuchConfigRuleException(crate::types::error::NoSuchConfigRuleException),
119    /// <p>Config rule that you passed in the filter does not exist.</p>
120    NoSuchConfigRuleInConformancePackException(crate::types::error::NoSuchConfigRuleInConformancePackException),
121    /// <p>You have specified a configuration aggregator that does not exist.</p>
122    NoSuchConfigurationAggregatorException(crate::types::error::NoSuchConfigurationAggregatorException),
123    /// <p>You have specified a configuration recorder that does not exist.</p>
124    NoSuchConfigurationRecorderException(crate::types::error::NoSuchConfigurationRecorderException),
125    /// <p>You specified one or more conformance packs that do not exist.</p>
126    NoSuchConformancePackException(crate::types::error::NoSuchConformancePackException),
127    /// <p>You have specified a delivery channel that does not exist.</p>
128    NoSuchDeliveryChannelException(crate::types::error::NoSuchDeliveryChannelException),
129    /// <p>The Config rule in the request is not valid. Verify that the rule is an organization Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.</p>
130    NoSuchOrganizationConfigRuleException(crate::types::error::NoSuchOrganizationConfigRuleException),
131    /// <p>Config organization conformance pack that you passed in the filter does not exist.</p>
132    /// <p>For DeleteOrganizationConformancePack, you tried to delete an organization conformance pack that does not exist.</p>
133    NoSuchOrganizationConformancePackException(crate::types::error::NoSuchOrganizationConformancePackException),
134    /// <p>You specified an Config rule without a remediation configuration.</p>
135    NoSuchRemediationConfigurationException(crate::types::error::NoSuchRemediationConfigurationException),
136    /// <p>You tried to delete a remediation exception that does not exist.</p>
137    NoSuchRemediationExceptionException(crate::types::error::NoSuchRemediationExceptionException),
138    /// <p>You have specified a retention configuration that does not exist.</p>
139    NoSuchRetentionConfigurationException(crate::types::error::NoSuchRetentionConfigurationException),
140    /// <p>For <code>PutConfigurationAggregator</code> API, you can see this exception for the following reasons:</p>
141    /// <ul>
142    /// <li>
143    /// <p>No permission to call <code>EnableAWSServiceAccess</code> API</p></li>
144    /// <li>
145    /// <p>The configuration aggregator cannot be updated because your Amazon Web Services Organization management account or the delegated administrator role changed. Delete this aggregator and create a new one with the current Amazon Web Services Organization.</p></li>
146    /// <li>
147    /// <p>The configuration aggregator is associated with a previous Amazon Web Services Organization and Config cannot aggregate data with current Amazon Web Services Organization. Delete this aggregator and create a new one with the current Amazon Web Services Organization.</p></li>
148    /// <li>
149    /// <p>You are not a registered delegated administrator for Config with permissions to call <code>ListDelegatedAdministrators</code> API. Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.</p></li>
150    /// </ul>
151    /// <p>For all <code>OrganizationConfigRule</code> and <code>OrganizationConformancePack</code> APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.</p>
152    OrganizationAccessDeniedException(crate::types::error::OrganizationAccessDeniedException),
153    /// <p>Config resource cannot be created because your organization does not have all features enabled.</p>
154    OrganizationAllFeaturesNotEnabledException(crate::types::error::OrganizationAllFeaturesNotEnabledException),
155    /// <p>You have specified a template that is not valid or supported.</p>
156    OrganizationConformancePackTemplateValidationException(crate::types::error::OrganizationConformancePackTemplateValidationException),
157    /// <p>The configuration item size is outside the allowable range.</p>
158    OversizedConfigurationItemException(crate::types::error::OversizedConfigurationItemException),
159    /// <p>Remediation action is in progress. You can either cancel execution in Amazon Web Services Systems Manager or wait and try again later.</p>
160    RemediationInProgressException(crate::types::error::RemediationInProgressException),
161    /// <p>Two users are trying to modify the same query at the same time. Wait for a moment and try again.</p>
162    ResourceConcurrentModificationException(crate::types::error::ResourceConcurrentModificationException),
163    /// <p>You see this exception in the following cases:</p>
164    /// <ul>
165    /// <li>
166    /// <p>For DeleteConfigRule, Config is deleting this rule. Try your request again later.</p></li>
167    /// <li>
168    /// <p>For DeleteConfigRule, the rule is deleting your evaluation results. Try your request again later.</p></li>
169    /// <li>
170    /// <p>For DeleteConfigRule, a remediation action is associated with the rule and Config cannot delete this rule. Delete the remediation action associated with the rule before deleting the rule and try your request again later.</p></li>
171    /// <li>
172    /// <p>For PutConfigOrganizationRule, organization Config rule deletion is in progress. Try your request again later.</p></li>
173    /// <li>
174    /// <p>For DeleteOrganizationConfigRule, organization Config rule creation is in progress. Try your request again later.</p></li>
175    /// <li>
176    /// <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.</p></li>
177    /// <li>
178    /// <p>For DeleteConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.</p></li>
179    /// </ul>
180    ResourceInUseException(crate::types::error::ResourceInUseException),
181    /// <p>You have specified a resource that is either unknown or has not been discovered.</p>
182    ResourceNotDiscoveredException(crate::types::error::ResourceNotDiscoveredException),
183    /// <p>You have specified a resource that does not exist.</p>
184    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
185    /// <p>You have reached the limit of the number of tags you can use. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html"> <b>Service Limits</b> </a> in the <i>Config Developer Guide</i>.</p>
186    TooManyTagsException(crate::types::error::TooManyTagsException),
187    /// <p>The requested operation is not valid.</p>
188    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a>, you will see this exception because you cannot use this operation to create a service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a> operation to create a service-linked configuration recorder.</p>
189    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteConfigurationRecorder.html">DeleteConfigurationRecorder</a>, you will see this exception because you cannot use this operation to delete a service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a> operation to delete a service-linked configuration recorder.</p>
190    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StartConfigurationRecorder.html">StartConfigurationRecorder</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a>, you will see this exception because these operations do not affect service-linked configuration recorders. Service-linked configuration recorders are always recording. To stop recording, you must delete the service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a> operation to delete a service-linked configuration recorder.</p>
191    UnmodifiableEntityException(crate::types::error::UnmodifiableEntityException),
192    /// <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
193    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
194    /// <ul>
195    /// <li>
196    /// <p>There are missing required fields.</p></li>
197    /// <li>
198    /// <p>The input value fails the validation.</p></li>
199    /// <li>
200    /// <p>You are trying to create more than 300 queries.</p></li>
201    /// </ul>
202    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
203    /// <ul>
204    /// <li>
205    /// <p>You have specified more than one configuration recorder.</p></li>
206    /// <li>
207    /// <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p></li>
208    /// </ul>
209    /// <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
210    /// <ul>
211    /// <li>
212    /// <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p></li>
213    /// <li>
214    /// <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p></li>
215    /// <li>
216    /// <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p></li>
217    /// </ul>
218    ValidationException(crate::types::error::ValidationException),
219    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
220    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
221    variable wildcard pattern and check `.code()`:
222     \
223    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
224     \
225    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
226    Unhandled(crate::error::sealed_unhandled::Unhandled),
227}
228impl ::std::fmt::Display for Error {
229    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
230        match self {
231            Error::ConflictException(inner) => inner.fmt(f),
232            Error::ConformancePackTemplateValidationException(inner) => inner.fmt(f),
233            Error::IdempotentParameterMismatch(inner) => inner.fmt(f),
234            Error::InsufficientDeliveryPolicyException(inner) => inner.fmt(f),
235            Error::InsufficientPermissionsException(inner) => inner.fmt(f),
236            Error::InvalidConfigurationRecorderNameException(inner) => inner.fmt(f),
237            Error::InvalidDeliveryChannelNameException(inner) => inner.fmt(f),
238            Error::InvalidExpressionException(inner) => inner.fmt(f),
239            Error::InvalidLimitException(inner) => inner.fmt(f),
240            Error::InvalidNextTokenException(inner) => inner.fmt(f),
241            Error::InvalidParameterValueException(inner) => inner.fmt(f),
242            Error::InvalidRecordingGroupException(inner) => inner.fmt(f),
243            Error::InvalidResultTokenException(inner) => inner.fmt(f),
244            Error::InvalidRoleException(inner) => inner.fmt(f),
245            Error::InvalidS3KeyPrefixException(inner) => inner.fmt(f),
246            Error::InvalidS3KmsKeyArnException(inner) => inner.fmt(f),
247            Error::InvalidSnsTopicArnException(inner) => inner.fmt(f),
248            Error::InvalidTimeRangeException(inner) => inner.fmt(f),
249            Error::LastDeliveryChannelDeleteFailedException(inner) => inner.fmt(f),
250            Error::LimitExceededException(inner) => inner.fmt(f),
251            Error::MaxActiveResourcesExceededException(inner) => inner.fmt(f),
252            Error::MaxNumberOfConfigRulesExceededException(inner) => inner.fmt(f),
253            Error::MaxNumberOfConfigurationRecordersExceededException(inner) => inner.fmt(f),
254            Error::MaxNumberOfConformancePacksExceededException(inner) => inner.fmt(f),
255            Error::MaxNumberOfDeliveryChannelsExceededException(inner) => inner.fmt(f),
256            Error::MaxNumberOfOrganizationConfigRulesExceededException(inner) => inner.fmt(f),
257            Error::MaxNumberOfOrganizationConformancePacksExceededException(inner) => inner.fmt(f),
258            Error::MaxNumberOfRetentionConfigurationsExceededException(inner) => inner.fmt(f),
259            Error::NoAvailableConfigurationRecorderException(inner) => inner.fmt(f),
260            Error::NoAvailableDeliveryChannelException(inner) => inner.fmt(f),
261            Error::NoAvailableOrganizationException(inner) => inner.fmt(f),
262            Error::NoRunningConfigurationRecorderException(inner) => inner.fmt(f),
263            Error::NoSuchBucketException(inner) => inner.fmt(f),
264            Error::NoSuchConfigRuleException(inner) => inner.fmt(f),
265            Error::NoSuchConfigRuleInConformancePackException(inner) => inner.fmt(f),
266            Error::NoSuchConfigurationAggregatorException(inner) => inner.fmt(f),
267            Error::NoSuchConfigurationRecorderException(inner) => inner.fmt(f),
268            Error::NoSuchConformancePackException(inner) => inner.fmt(f),
269            Error::NoSuchDeliveryChannelException(inner) => inner.fmt(f),
270            Error::NoSuchOrganizationConfigRuleException(inner) => inner.fmt(f),
271            Error::NoSuchOrganizationConformancePackException(inner) => inner.fmt(f),
272            Error::NoSuchRemediationConfigurationException(inner) => inner.fmt(f),
273            Error::NoSuchRemediationExceptionException(inner) => inner.fmt(f),
274            Error::NoSuchRetentionConfigurationException(inner) => inner.fmt(f),
275            Error::OrganizationAccessDeniedException(inner) => inner.fmt(f),
276            Error::OrganizationAllFeaturesNotEnabledException(inner) => inner.fmt(f),
277            Error::OrganizationConformancePackTemplateValidationException(inner) => inner.fmt(f),
278            Error::OversizedConfigurationItemException(inner) => inner.fmt(f),
279            Error::RemediationInProgressException(inner) => inner.fmt(f),
280            Error::ResourceConcurrentModificationException(inner) => inner.fmt(f),
281            Error::ResourceInUseException(inner) => inner.fmt(f),
282            Error::ResourceNotDiscoveredException(inner) => inner.fmt(f),
283            Error::ResourceNotFoundException(inner) => inner.fmt(f),
284            Error::TooManyTagsException(inner) => inner.fmt(f),
285            Error::UnmodifiableEntityException(inner) => inner.fmt(f),
286            Error::ValidationException(inner) => inner.fmt(f),
287            Error::Unhandled(_) => {
288                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
289                    write!(f, "unhandled error ({code})")
290                } else {
291                    f.write_str("unhandled error")
292                }
293            }
294        }
295    }
296}
297impl From<::aws_smithy_types::error::operation::BuildError> for Error {
298    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
299        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
300            source: value.into(),
301            meta: ::std::default::Default::default(),
302        })
303    }
304}
305impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
306    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
307        match self {
308            Self::ConflictException(inner) => inner.meta(),
309            Self::ConformancePackTemplateValidationException(inner) => inner.meta(),
310            Self::IdempotentParameterMismatch(inner) => inner.meta(),
311            Self::InsufficientDeliveryPolicyException(inner) => inner.meta(),
312            Self::InsufficientPermissionsException(inner) => inner.meta(),
313            Self::InvalidConfigurationRecorderNameException(inner) => inner.meta(),
314            Self::InvalidDeliveryChannelNameException(inner) => inner.meta(),
315            Self::InvalidExpressionException(inner) => inner.meta(),
316            Self::InvalidLimitException(inner) => inner.meta(),
317            Self::InvalidNextTokenException(inner) => inner.meta(),
318            Self::InvalidParameterValueException(inner) => inner.meta(),
319            Self::InvalidRecordingGroupException(inner) => inner.meta(),
320            Self::InvalidResultTokenException(inner) => inner.meta(),
321            Self::InvalidRoleException(inner) => inner.meta(),
322            Self::InvalidS3KeyPrefixException(inner) => inner.meta(),
323            Self::InvalidS3KmsKeyArnException(inner) => inner.meta(),
324            Self::InvalidSnsTopicArnException(inner) => inner.meta(),
325            Self::InvalidTimeRangeException(inner) => inner.meta(),
326            Self::LastDeliveryChannelDeleteFailedException(inner) => inner.meta(),
327            Self::LimitExceededException(inner) => inner.meta(),
328            Self::MaxActiveResourcesExceededException(inner) => inner.meta(),
329            Self::MaxNumberOfConfigRulesExceededException(inner) => inner.meta(),
330            Self::MaxNumberOfConfigurationRecordersExceededException(inner) => inner.meta(),
331            Self::MaxNumberOfConformancePacksExceededException(inner) => inner.meta(),
332            Self::MaxNumberOfDeliveryChannelsExceededException(inner) => inner.meta(),
333            Self::MaxNumberOfOrganizationConfigRulesExceededException(inner) => inner.meta(),
334            Self::MaxNumberOfOrganizationConformancePacksExceededException(inner) => inner.meta(),
335            Self::MaxNumberOfRetentionConfigurationsExceededException(inner) => inner.meta(),
336            Self::NoAvailableConfigurationRecorderException(inner) => inner.meta(),
337            Self::NoAvailableDeliveryChannelException(inner) => inner.meta(),
338            Self::NoAvailableOrganizationException(inner) => inner.meta(),
339            Self::NoRunningConfigurationRecorderException(inner) => inner.meta(),
340            Self::NoSuchBucketException(inner) => inner.meta(),
341            Self::NoSuchConfigRuleException(inner) => inner.meta(),
342            Self::NoSuchConfigRuleInConformancePackException(inner) => inner.meta(),
343            Self::NoSuchConfigurationAggregatorException(inner) => inner.meta(),
344            Self::NoSuchConfigurationRecorderException(inner) => inner.meta(),
345            Self::NoSuchConformancePackException(inner) => inner.meta(),
346            Self::NoSuchDeliveryChannelException(inner) => inner.meta(),
347            Self::NoSuchOrganizationConfigRuleException(inner) => inner.meta(),
348            Self::NoSuchOrganizationConformancePackException(inner) => inner.meta(),
349            Self::NoSuchRemediationConfigurationException(inner) => inner.meta(),
350            Self::NoSuchRemediationExceptionException(inner) => inner.meta(),
351            Self::NoSuchRetentionConfigurationException(inner) => inner.meta(),
352            Self::OrganizationAccessDeniedException(inner) => inner.meta(),
353            Self::OrganizationAllFeaturesNotEnabledException(inner) => inner.meta(),
354            Self::OrganizationConformancePackTemplateValidationException(inner) => inner.meta(),
355            Self::OversizedConfigurationItemException(inner) => inner.meta(),
356            Self::RemediationInProgressException(inner) => inner.meta(),
357            Self::ResourceConcurrentModificationException(inner) => inner.meta(),
358            Self::ResourceInUseException(inner) => inner.meta(),
359            Self::ResourceNotDiscoveredException(inner) => inner.meta(),
360            Self::ResourceNotFoundException(inner) => inner.meta(),
361            Self::TooManyTagsException(inner) => inner.meta(),
362            Self::UnmodifiableEntityException(inner) => inner.meta(),
363            Self::ValidationException(inner) => inner.meta(),
364            Self::Unhandled(inner) => &inner.meta,
365        }
366    }
367}
368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_resource_types::AssociateResourceTypesError, R>> for Error
369where
370    R: Send + Sync + std::fmt::Debug + 'static,
371{
372    fn from(
373        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_resource_types::AssociateResourceTypesError, R>,
374    ) -> Self {
375        match err {
376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
379                source: err.into(),
380            }),
381        }
382    }
383}
384impl From<crate::operation::associate_resource_types::AssociateResourceTypesError> for Error {
385    fn from(err: crate::operation::associate_resource_types::AssociateResourceTypesError) -> Self {
386        match err {
387            crate::operation::associate_resource_types::AssociateResourceTypesError::ConflictException(inner) => Error::ConflictException(inner),
388            crate::operation::associate_resource_types::AssociateResourceTypesError::NoSuchConfigurationRecorderException(inner) => {
389                Error::NoSuchConfigurationRecorderException(inner)
390            }
391            crate::operation::associate_resource_types::AssociateResourceTypesError::ValidationException(inner) => Error::ValidationException(inner),
392            crate::operation::associate_resource_types::AssociateResourceTypesError::Unhandled(inner) => Error::Unhandled(inner),
393        }
394    }
395}
396impl<R>
397    From<
398        ::aws_smithy_runtime_api::client::result::SdkError<
399            crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError,
400            R,
401        >,
402    > for Error
403where
404    R: Send + Sync + std::fmt::Debug + 'static,
405{
406    fn from(
407        err: ::aws_smithy_runtime_api::client::result::SdkError<
408            crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError,
409            R,
410        >,
411    ) -> Self {
412        match err {
413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
416                source: err.into(),
417            }),
418        }
419    }
420}
421impl From<crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError> for Error {
422    fn from(err: crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError) -> Self {
423        match err {
424            crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError::NoSuchConfigurationAggregatorException(
425                inner,
426            ) => Error::NoSuchConfigurationAggregatorException(inner),
427            crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError::ValidationException(inner) => {
428                Error::ValidationException(inner)
429            }
430            crate::operation::batch_get_aggregate_resource_config::BatchGetAggregateResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
431        }
432    }
433}
434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_resource_config::BatchGetResourceConfigError, R>>
435    for Error
436where
437    R: Send + Sync + std::fmt::Debug + 'static,
438{
439    fn from(
440        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_resource_config::BatchGetResourceConfigError, R>,
441    ) -> Self {
442        match err {
443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
446                source: err.into(),
447            }),
448        }
449    }
450}
451impl From<crate::operation::batch_get_resource_config::BatchGetResourceConfigError> for Error {
452    fn from(err: crate::operation::batch_get_resource_config::BatchGetResourceConfigError) -> Self {
453        match err {
454            crate::operation::batch_get_resource_config::BatchGetResourceConfigError::NoAvailableConfigurationRecorderException(inner) => {
455                Error::NoAvailableConfigurationRecorderException(inner)
456            }
457            crate::operation::batch_get_resource_config::BatchGetResourceConfigError::ValidationException(inner) => Error::ValidationException(inner),
458            crate::operation::batch_get_resource_config::BatchGetResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
459        }
460    }
461}
462impl<R>
463    From<
464        ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorizationError,
466            R,
467        >,
468    > for Error
469where
470    R: Send + Sync + std::fmt::Debug + 'static,
471{
472    fn from(
473        err: ::aws_smithy_runtime_api::client::result::SdkError<
474            crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorizationError,
475            R,
476        >,
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::delete_aggregation_authorization::DeleteAggregationAuthorizationError> for Error {
488    fn from(err: crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorizationError) -> Self {
489        match err {
490            crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorizationError::InvalidParameterValueException(inner) => {
491                Error::InvalidParameterValueException(inner)
492            }
493            crate::operation::delete_aggregation_authorization::DeleteAggregationAuthorizationError::Unhandled(inner) => Error::Unhandled(inner),
494        }
495    }
496}
497impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_config_rule::DeleteConfigRuleError, R>> for Error
498where
499    R: Send + Sync + std::fmt::Debug + 'static,
500{
501    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_config_rule::DeleteConfigRuleError, R>) -> Self {
502        match err {
503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
506                source: err.into(),
507            }),
508        }
509    }
510}
511impl From<crate::operation::delete_config_rule::DeleteConfigRuleError> for Error {
512    fn from(err: crate::operation::delete_config_rule::DeleteConfigRuleError) -> Self {
513        match err {
514            crate::operation::delete_config_rule::DeleteConfigRuleError::NoSuchConfigRuleException(inner) => Error::NoSuchConfigRuleException(inner),
515            crate::operation::delete_config_rule::DeleteConfigRuleError::ResourceInUseException(inner) => Error::ResourceInUseException(inner),
516            crate::operation::delete_config_rule::DeleteConfigRuleError::Unhandled(inner) => Error::Unhandled(inner),
517        }
518    }
519}
520impl<R>
521    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError, R>>
522    for Error
523where
524    R: Send + Sync + std::fmt::Debug + 'static,
525{
526    fn from(
527        err: ::aws_smithy_runtime_api::client::result::SdkError<
528            crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError,
529            R,
530        >,
531    ) -> Self {
532        match err {
533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
536                source: err.into(),
537            }),
538        }
539    }
540}
541impl From<crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError> for Error {
542    fn from(err: crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError) -> Self {
543        match err {
544            crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError::NoSuchConfigurationAggregatorException(inner) => {
545                Error::NoSuchConfigurationAggregatorException(inner)
546            }
547            crate::operation::delete_configuration_aggregator::DeleteConfigurationAggregatorError::Unhandled(inner) => Error::Unhandled(inner),
548        }
549    }
550}
551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError, R>>
552    for Error
553where
554    R: Send + Sync + std::fmt::Debug + 'static,
555{
556    fn from(
557        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError, R>,
558    ) -> Self {
559        match err {
560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
563                source: err.into(),
564            }),
565        }
566    }
567}
568impl From<crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError> for Error {
569    fn from(err: crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError) -> Self {
570        match err {
571            crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError::NoSuchConfigurationRecorderException(inner) => {
572                Error::NoSuchConfigurationRecorderException(inner)
573            }
574            crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError::UnmodifiableEntityException(inner) => {
575                Error::UnmodifiableEntityException(inner)
576            }
577            crate::operation::delete_configuration_recorder::DeleteConfigurationRecorderError::Unhandled(inner) => Error::Unhandled(inner),
578        }
579    }
580}
581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_conformance_pack::DeleteConformancePackError, R>> for Error
582where
583    R: Send + Sync + std::fmt::Debug + 'static,
584{
585    fn from(
586        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_conformance_pack::DeleteConformancePackError, R>,
587    ) -> Self {
588        match err {
589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
592                source: err.into(),
593            }),
594        }
595    }
596}
597impl From<crate::operation::delete_conformance_pack::DeleteConformancePackError> for Error {
598    fn from(err: crate::operation::delete_conformance_pack::DeleteConformancePackError) -> Self {
599        match err {
600            crate::operation::delete_conformance_pack::DeleteConformancePackError::NoSuchConformancePackException(inner) => {
601                Error::NoSuchConformancePackException(inner)
602            }
603            crate::operation::delete_conformance_pack::DeleteConformancePackError::ResourceInUseException(inner) => {
604                Error::ResourceInUseException(inner)
605            }
606            crate::operation::delete_conformance_pack::DeleteConformancePackError::Unhandled(inner) => Error::Unhandled(inner),
607        }
608    }
609}
610impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_delivery_channel::DeleteDeliveryChannelError, R>> for Error
611where
612    R: Send + Sync + std::fmt::Debug + 'static,
613{
614    fn from(
615        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_delivery_channel::DeleteDeliveryChannelError, R>,
616    ) -> Self {
617        match err {
618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
621                source: err.into(),
622            }),
623        }
624    }
625}
626impl From<crate::operation::delete_delivery_channel::DeleteDeliveryChannelError> for Error {
627    fn from(err: crate::operation::delete_delivery_channel::DeleteDeliveryChannelError) -> Self {
628        match err {
629            crate::operation::delete_delivery_channel::DeleteDeliveryChannelError::LastDeliveryChannelDeleteFailedException(inner) => {
630                Error::LastDeliveryChannelDeleteFailedException(inner)
631            }
632            crate::operation::delete_delivery_channel::DeleteDeliveryChannelError::NoSuchDeliveryChannelException(inner) => {
633                Error::NoSuchDeliveryChannelException(inner)
634            }
635            crate::operation::delete_delivery_channel::DeleteDeliveryChannelError::Unhandled(inner) => Error::Unhandled(inner),
636        }
637    }
638}
639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_evaluation_results::DeleteEvaluationResultsError, R>>
640    for Error
641where
642    R: Send + Sync + std::fmt::Debug + 'static,
643{
644    fn from(
645        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_evaluation_results::DeleteEvaluationResultsError, R>,
646    ) -> Self {
647        match err {
648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
651                source: err.into(),
652            }),
653        }
654    }
655}
656impl From<crate::operation::delete_evaluation_results::DeleteEvaluationResultsError> for Error {
657    fn from(err: crate::operation::delete_evaluation_results::DeleteEvaluationResultsError) -> Self {
658        match err {
659            crate::operation::delete_evaluation_results::DeleteEvaluationResultsError::NoSuchConfigRuleException(inner) => {
660                Error::NoSuchConfigRuleException(inner)
661            }
662            crate::operation::delete_evaluation_results::DeleteEvaluationResultsError::ResourceInUseException(inner) => {
663                Error::ResourceInUseException(inner)
664            }
665            crate::operation::delete_evaluation_results::DeleteEvaluationResultsError::Unhandled(inner) => Error::Unhandled(inner),
666        }
667    }
668}
669impl<R>
670    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError, R>>
671    for Error
672where
673    R: Send + Sync + std::fmt::Debug + 'static,
674{
675    fn from(
676        err: ::aws_smithy_runtime_api::client::result::SdkError<
677            crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError,
678            R,
679        >,
680    ) -> Self {
681        match err {
682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
685                source: err.into(),
686            }),
687        }
688    }
689}
690impl From<crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError> for Error {
691    fn from(err: crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError) -> Self {
692        match err {
693            crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError::NoSuchOrganizationConfigRuleException(inner) => {
694                Error::NoSuchOrganizationConfigRuleException(inner)
695            }
696            crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError::OrganizationAccessDeniedException(inner) => {
697                Error::OrganizationAccessDeniedException(inner)
698            }
699            crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError::ResourceInUseException(inner) => {
700                Error::ResourceInUseException(inner)
701            }
702            crate::operation::delete_organization_config_rule::DeleteOrganizationConfigRuleError::Unhandled(inner) => Error::Unhandled(inner),
703        }
704    }
705}
706impl<R>
707    From<
708        ::aws_smithy_runtime_api::client::result::SdkError<
709            crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError,
710            R,
711        >,
712    > for Error
713where
714    R: Send + Sync + std::fmt::Debug + 'static,
715{
716    fn from(
717        err: ::aws_smithy_runtime_api::client::result::SdkError<
718            crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError,
719            R,
720        >,
721    ) -> Self {
722        match err {
723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
726                source: err.into(),
727            }),
728        }
729    }
730}
731impl From<crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError> for Error {
732    fn from(err: crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError) -> Self {
733        match err {
734            crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError::NoSuchOrganizationConformancePackException(inner) => Error::NoSuchOrganizationConformancePackException(inner),
735            crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
736            crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError::ResourceInUseException(inner) => Error::ResourceInUseException(inner),
737            crate::operation::delete_organization_conformance_pack::DeleteOrganizationConformancePackError::Unhandled(inner) => Error::Unhandled(inner),
738        }
739    }
740}
741impl<R>
742    From<
743        ::aws_smithy_runtime_api::client::result::SdkError<
744            crate::operation::delete_pending_aggregation_request::DeletePendingAggregationRequestError,
745            R,
746        >,
747    > for Error
748where
749    R: Send + Sync + std::fmt::Debug + 'static,
750{
751    fn from(
752        err: ::aws_smithy_runtime_api::client::result::SdkError<
753            crate::operation::delete_pending_aggregation_request::DeletePendingAggregationRequestError,
754            R,
755        >,
756    ) -> Self {
757        match err {
758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
761                source: err.into(),
762            }),
763        }
764    }
765}
766impl From<crate::operation::delete_pending_aggregation_request::DeletePendingAggregationRequestError> for Error {
767    fn from(err: crate::operation::delete_pending_aggregation_request::DeletePendingAggregationRequestError) -> Self {
768        match err {
769            crate::operation::delete_pending_aggregation_request::DeletePendingAggregationRequestError::InvalidParameterValueException(inner) => {
770                Error::InvalidParameterValueException(inner)
771            }
772            crate::operation::delete_pending_aggregation_request::DeletePendingAggregationRequestError::Unhandled(inner) => Error::Unhandled(inner),
773        }
774    }
775}
776impl<R>
777    From<
778        ::aws_smithy_runtime_api::client::result::SdkError<
779            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError,
780            R,
781        >,
782    > for Error
783where
784    R: Send + Sync + std::fmt::Debug + 'static,
785{
786    fn from(
787        err: ::aws_smithy_runtime_api::client::result::SdkError<
788            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError,
789            R,
790        >,
791    ) -> Self {
792        match err {
793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
796                source: err.into(),
797            }),
798        }
799    }
800}
801impl From<crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError> for Error {
802    fn from(err: crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError) -> Self {
803        match err {
804            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError::InsufficientPermissionsException(inner) => {
805                Error::InsufficientPermissionsException(inner)
806            }
807            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError::InvalidParameterValueException(inner) => {
808                Error::InvalidParameterValueException(inner)
809            }
810            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError::NoSuchRemediationConfigurationException(
811                inner,
812            ) => Error::NoSuchRemediationConfigurationException(inner),
813            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError::RemediationInProgressException(inner) => {
814                Error::RemediationInProgressException(inner)
815            }
816            crate::operation::delete_remediation_configuration::DeleteRemediationConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
817        }
818    }
819}
820impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError, R>>
821    for Error
822where
823    R: Send + Sync + std::fmt::Debug + 'static,
824{
825    fn from(
826        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError, R>,
827    ) -> Self {
828        match err {
829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
832                source: err.into(),
833            }),
834        }
835    }
836}
837impl From<crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError> for Error {
838    fn from(err: crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError) -> Self {
839        match err {
840            crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError::NoSuchRemediationExceptionException(inner) => {
841                Error::NoSuchRemediationExceptionException(inner)
842            }
843            crate::operation::delete_remediation_exceptions::DeleteRemediationExceptionsError::Unhandled(inner) => Error::Unhandled(inner),
844        }
845    }
846}
847impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_config::DeleteResourceConfigError, R>> for Error
848where
849    R: Send + Sync + std::fmt::Debug + 'static,
850{
851    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_config::DeleteResourceConfigError, R>) -> Self {
852        match err {
853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
856                source: err.into(),
857            }),
858        }
859    }
860}
861impl From<crate::operation::delete_resource_config::DeleteResourceConfigError> for Error {
862    fn from(err: crate::operation::delete_resource_config::DeleteResourceConfigError) -> Self {
863        match err {
864            crate::operation::delete_resource_config::DeleteResourceConfigError::NoRunningConfigurationRecorderException(inner) => {
865                Error::NoRunningConfigurationRecorderException(inner)
866            }
867            crate::operation::delete_resource_config::DeleteResourceConfigError::ValidationException(inner) => Error::ValidationException(inner),
868            crate::operation::delete_resource_config::DeleteResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
869        }
870    }
871}
872impl<R>
873    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError, R>>
874    for Error
875where
876    R: Send + Sync + std::fmt::Debug + 'static,
877{
878    fn from(
879        err: ::aws_smithy_runtime_api::client::result::SdkError<
880            crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError,
881            R,
882        >,
883    ) -> Self {
884        match err {
885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
888                source: err.into(),
889            }),
890        }
891    }
892}
893impl From<crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError> for Error {
894    fn from(err: crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError) -> Self {
895        match err {
896            crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError::InvalidParameterValueException(inner) => {
897                Error::InvalidParameterValueException(inner)
898            }
899            crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError::NoSuchRetentionConfigurationException(inner) => {
900                Error::NoSuchRetentionConfigurationException(inner)
901            }
902            crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
903        }
904    }
905}
906impl<R>
907    From<
908        ::aws_smithy_runtime_api::client::result::SdkError<
909            crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError,
910            R,
911        >,
912    > for Error
913where
914    R: Send + Sync + std::fmt::Debug + 'static,
915{
916    fn from(
917        err: ::aws_smithy_runtime_api::client::result::SdkError<
918            crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError,
919            R,
920        >,
921    ) -> Self {
922        match err {
923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
926                source: err.into(),
927            }),
928        }
929    }
930}
931impl From<crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError> for Error {
932    fn from(err: crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError) -> Self {
933        match err {
934            crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError::ConflictException(inner) => Error::ConflictException(inner),
935            crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError::NoSuchConfigurationRecorderException(inner) => Error::NoSuchConfigurationRecorderException(inner),
936            crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError::ValidationException(inner) => Error::ValidationException(inner),
937            crate::operation::delete_service_linked_configuration_recorder::DeleteServiceLinkedConfigurationRecorderError::Unhandled(inner) => Error::Unhandled(inner),
938        }
939    }
940}
941impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_stored_query::DeleteStoredQueryError, R>> for Error
942where
943    R: Send + Sync + std::fmt::Debug + 'static,
944{
945    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_stored_query::DeleteStoredQueryError, R>) -> Self {
946        match err {
947            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
948            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
949                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
950                source: err.into(),
951            }),
952        }
953    }
954}
955impl From<crate::operation::delete_stored_query::DeleteStoredQueryError> for Error {
956    fn from(err: crate::operation::delete_stored_query::DeleteStoredQueryError) -> Self {
957        match err {
958            crate::operation::delete_stored_query::DeleteStoredQueryError::ResourceNotFoundException(inner) => {
959                Error::ResourceNotFoundException(inner)
960            }
961            crate::operation::delete_stored_query::DeleteStoredQueryError::ValidationException(inner) => Error::ValidationException(inner),
962            crate::operation::delete_stored_query::DeleteStoredQueryError::Unhandled(inner) => Error::Unhandled(inner),
963        }
964    }
965}
966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError, R>> for Error
967where
968    R: Send + Sync + std::fmt::Debug + 'static,
969{
970    fn from(
971        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError, R>,
972    ) -> Self {
973        match err {
974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
977                source: err.into(),
978            }),
979        }
980    }
981}
982impl From<crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError> for Error {
983    fn from(err: crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError) -> Self {
984        match err {
985            crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError::NoAvailableConfigurationRecorderException(inner) => {
986                Error::NoAvailableConfigurationRecorderException(inner)
987            }
988            crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError::NoRunningConfigurationRecorderException(inner) => {
989                Error::NoRunningConfigurationRecorderException(inner)
990            }
991            crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError::NoSuchDeliveryChannelException(inner) => {
992                Error::NoSuchDeliveryChannelException(inner)
993            }
994            crate::operation::deliver_config_snapshot::DeliverConfigSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
995        }
996    }
997}
998impl<R>
999    From<
1000        ::aws_smithy_runtime_api::client::result::SdkError<
1001            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError,
1002            R,
1003        >,
1004    > for Error
1005where
1006    R: Send + Sync + std::fmt::Debug + 'static,
1007{
1008    fn from(
1009        err: ::aws_smithy_runtime_api::client::result::SdkError<
1010            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError,
1011            R,
1012        >,
1013    ) -> Self {
1014        match err {
1015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1018                source: err.into(),
1019            }),
1020        }
1021    }
1022}
1023impl From<crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError> for Error {
1024    fn from(err: crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError) -> Self {
1025        match err {
1026            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1027            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1028            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
1029            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError::ValidationException(inner) => Error::ValidationException(inner),
1030            crate::operation::describe_aggregate_compliance_by_config_rules::DescribeAggregateComplianceByConfigRulesError::Unhandled(inner) => Error::Unhandled(inner),
1031        }
1032    }
1033}
1034impl<R>
1035    From<
1036        ::aws_smithy_runtime_api::client::result::SdkError<
1037            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError,
1038            R,
1039        >,
1040    > for Error
1041where
1042    R: Send + Sync + std::fmt::Debug + 'static,
1043{
1044    fn from(
1045        err: ::aws_smithy_runtime_api::client::result::SdkError<
1046            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError,
1047            R,
1048        >,
1049    ) -> Self {
1050        match err {
1051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1054                source: err.into(),
1055            }),
1056        }
1057    }
1058}
1059impl From<crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError> for Error {
1060    fn from(err: crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError) -> Self {
1061        match err {
1062            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1063            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1064            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
1065            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError::ValidationException(inner) => Error::ValidationException(inner),
1066            crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksError::Unhandled(inner) => Error::Unhandled(inner),
1067        }
1068    }
1069}
1070impl<R>
1071    From<
1072        ::aws_smithy_runtime_api::client::result::SdkError<
1073            crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError,
1074            R,
1075        >,
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::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError,
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::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError> for Error {
1096    fn from(err: crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError) -> Self {
1097        match err {
1098            crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError::InvalidLimitException(inner) => {
1099                Error::InvalidLimitException(inner)
1100            }
1101            crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError::InvalidNextTokenException(inner) => {
1102                Error::InvalidNextTokenException(inner)
1103            }
1104            crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError::InvalidParameterValueException(inner) => {
1105                Error::InvalidParameterValueException(inner)
1106            }
1107            crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsError::Unhandled(inner) => {
1108                Error::Unhandled(inner)
1109            }
1110        }
1111    }
1112}
1113impl<R>
1114    From<
1115        ::aws_smithy_runtime_api::client::result::SdkError<
1116            crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError,
1117            R,
1118        >,
1119    > for Error
1120where
1121    R: Send + Sync + std::fmt::Debug + 'static,
1122{
1123    fn from(
1124        err: ::aws_smithy_runtime_api::client::result::SdkError<
1125            crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError,
1126            R,
1127        >,
1128    ) -> Self {
1129        match err {
1130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1133                source: err.into(),
1134            }),
1135        }
1136    }
1137}
1138impl From<crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError> for Error {
1139    fn from(err: crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError) -> Self {
1140        match err {
1141            crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError::InvalidNextTokenException(inner) => {
1142                Error::InvalidNextTokenException(inner)
1143            }
1144            crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError::InvalidParameterValueException(inner) => {
1145                Error::InvalidParameterValueException(inner)
1146            }
1147            crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError::NoSuchConfigRuleException(inner) => {
1148                Error::NoSuchConfigRuleException(inner)
1149            }
1150            crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleError::Unhandled(inner) => Error::Unhandled(inner),
1151        }
1152    }
1153}
1154impl<R>
1155    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError, R>>
1156    for Error
1157where
1158    R: Send + Sync + std::fmt::Debug + 'static,
1159{
1160    fn from(
1161        err: ::aws_smithy_runtime_api::client::result::SdkError<
1162            crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError,
1163            R,
1164        >,
1165    ) -> Self {
1166        match err {
1167            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1168            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1169                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1170                source: err.into(),
1171            }),
1172        }
1173    }
1174}
1175impl From<crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError> for Error {
1176    fn from(err: crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError) -> Self {
1177        match err {
1178            crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError::InvalidNextTokenException(inner) => {
1179                Error::InvalidNextTokenException(inner)
1180            }
1181            crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError::InvalidParameterValueException(inner) => {
1182                Error::InvalidParameterValueException(inner)
1183            }
1184            crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceError::Unhandled(inner) => Error::Unhandled(inner),
1185        }
1186    }
1187}
1188impl<R>
1189    From<
1190        ::aws_smithy_runtime_api::client::result::SdkError<
1191            crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError,
1192            R,
1193        >,
1194    > for Error
1195where
1196    R: Send + Sync + std::fmt::Debug + 'static,
1197{
1198    fn from(
1199        err: ::aws_smithy_runtime_api::client::result::SdkError<
1200            crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError,
1201            R,
1202        >,
1203    ) -> Self {
1204        match err {
1205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1208                source: err.into(),
1209            }),
1210        }
1211    }
1212}
1213impl From<crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError> for Error {
1214    fn from(err: crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError) -> Self {
1215        match err {
1216            crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError::InvalidNextTokenException(inner) => {
1217                Error::InvalidNextTokenException(inner)
1218            }
1219            crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError::InvalidParameterValueException(
1220                inner,
1221            ) => Error::InvalidParameterValueException(inner),
1222            crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError::NoSuchConfigRuleException(inner) => {
1223                Error::NoSuchConfigRuleException(inner)
1224            }
1225            crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusError::Unhandled(inner) => {
1226                Error::Unhandled(inner)
1227            }
1228        }
1229    }
1230}
1231impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_config_rules::DescribeConfigRulesError, R>> for Error
1232where
1233    R: Send + Sync + std::fmt::Debug + 'static,
1234{
1235    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_config_rules::DescribeConfigRulesError, R>) -> Self {
1236        match err {
1237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1240                source: err.into(),
1241            }),
1242        }
1243    }
1244}
1245impl From<crate::operation::describe_config_rules::DescribeConfigRulesError> for Error {
1246    fn from(err: crate::operation::describe_config_rules::DescribeConfigRulesError) -> Self {
1247        match err {
1248            crate::operation::describe_config_rules::DescribeConfigRulesError::InvalidNextTokenException(inner) => {
1249                Error::InvalidNextTokenException(inner)
1250            }
1251            crate::operation::describe_config_rules::DescribeConfigRulesError::InvalidParameterValueException(inner) => {
1252                Error::InvalidParameterValueException(inner)
1253            }
1254            crate::operation::describe_config_rules::DescribeConfigRulesError::NoSuchConfigRuleException(inner) => {
1255                Error::NoSuchConfigRuleException(inner)
1256            }
1257            crate::operation::describe_config_rules::DescribeConfigRulesError::Unhandled(inner) => Error::Unhandled(inner),
1258        }
1259    }
1260}
1261impl<R>
1262    From<
1263        ::aws_smithy_runtime_api::client::result::SdkError<
1264            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError,
1265            R,
1266        >,
1267    > for Error
1268where
1269    R: Send + Sync + std::fmt::Debug + 'static,
1270{
1271    fn from(
1272        err: ::aws_smithy_runtime_api::client::result::SdkError<
1273            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError,
1274            R,
1275        >,
1276    ) -> Self {
1277        match err {
1278            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1279            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1280                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1281                source: err.into(),
1282            }),
1283        }
1284    }
1285}
1286impl From<crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError> for Error {
1287    fn from(err: crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError) -> Self {
1288        match err {
1289            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError::InvalidLimitException(inner) => {
1290                Error::InvalidLimitException(inner)
1291            }
1292            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError::InvalidNextTokenException(inner) => {
1293                Error::InvalidNextTokenException(inner)
1294            }
1295            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError::InvalidParameterValueException(inner) => {
1296                Error::InvalidParameterValueException(inner)
1297            }
1298            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError::NoSuchConfigurationAggregatorException(
1299                inner,
1300            ) => Error::NoSuchConfigurationAggregatorException(inner),
1301            crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsError::Unhandled(inner) => Error::Unhandled(inner),
1302        }
1303    }
1304}
1305impl<R>
1306    From<
1307        ::aws_smithy_runtime_api::client::result::SdkError<
1308            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError,
1309            R,
1310        >,
1311    > for Error
1312where
1313    R: Send + Sync + std::fmt::Debug + 'static,
1314{
1315    fn from(
1316        err: ::aws_smithy_runtime_api::client::result::SdkError<
1317            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError,
1318            R,
1319        >,
1320    ) -> Self {
1321        match err {
1322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1325                source: err.into(),
1326            }),
1327        }
1328    }
1329}
1330impl From<crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError> for Error {
1331    fn from(err: crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError) -> Self {
1332        match err {
1333            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1334            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1335            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
1336            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
1337            crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusError::Unhandled(inner) => Error::Unhandled(inner),
1338        }
1339    }
1340}
1341impl<R>
1342    From<
1343        ::aws_smithy_runtime_api::client::result::SdkError<
1344            crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError,
1345            R,
1346        >,
1347    > for Error
1348where
1349    R: Send + Sync + std::fmt::Debug + 'static,
1350{
1351    fn from(
1352        err: ::aws_smithy_runtime_api::client::result::SdkError<
1353            crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError,
1354            R,
1355        >,
1356    ) -> Self {
1357        match err {
1358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1361                source: err.into(),
1362            }),
1363        }
1364    }
1365}
1366impl From<crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError> for Error {
1367    fn from(err: crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError) -> Self {
1368        match err {
1369            crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError::NoSuchConfigurationRecorderException(inner) => {
1370                Error::NoSuchConfigurationRecorderException(inner)
1371            }
1372            crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError::ValidationException(inner) => {
1373                Error::ValidationException(inner)
1374            }
1375            crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError::Unhandled(inner) => Error::Unhandled(inner),
1376        }
1377    }
1378}
1379impl<R>
1380    From<
1381        ::aws_smithy_runtime_api::client::result::SdkError<
1382            crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError,
1383            R,
1384        >,
1385    > for Error
1386where
1387    R: Send + Sync + std::fmt::Debug + 'static,
1388{
1389    fn from(
1390        err: ::aws_smithy_runtime_api::client::result::SdkError<
1391            crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError,
1392            R,
1393        >,
1394    ) -> Self {
1395        match err {
1396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1399                source: err.into(),
1400            }),
1401        }
1402    }
1403}
1404impl From<crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError> for Error {
1405    fn from(err: crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError) -> Self {
1406        match err {
1407            crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError::NoSuchConfigurationRecorderException(inner) => Error::NoSuchConfigurationRecorderException(inner),
1408            crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError::ValidationException(inner) => Error::ValidationException(inner),
1409            crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError::Unhandled(inner) => Error::Unhandled(inner),
1410        }
1411    }
1412}
1413impl<R>
1414    From<
1415        ::aws_smithy_runtime_api::client::result::SdkError<
1416            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError,
1417            R,
1418        >,
1419    > for Error
1420where
1421    R: Send + Sync + std::fmt::Debug + 'static,
1422{
1423    fn from(
1424        err: ::aws_smithy_runtime_api::client::result::SdkError<
1425            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError,
1426            R,
1427        >,
1428    ) -> Self {
1429        match err {
1430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1433                source: err.into(),
1434            }),
1435        }
1436    }
1437}
1438impl From<crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError> for Error {
1439    fn from(err: crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError) -> Self {
1440        match err {
1441            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1442            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1443            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
1444            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError::NoSuchConfigRuleInConformancePackException(inner) => Error::NoSuchConfigRuleInConformancePackException(inner),
1445            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError::NoSuchConformancePackException(inner) => Error::NoSuchConformancePackException(inner),
1446            crate::operation::describe_conformance_pack_compliance::DescribeConformancePackComplianceError::Unhandled(inner) => Error::Unhandled(inner),
1447        }
1448    }
1449}
1450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conformance_packs::DescribeConformancePacksError, R>>
1451    for Error
1452where
1453    R: Send + Sync + std::fmt::Debug + 'static,
1454{
1455    fn from(
1456        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conformance_packs::DescribeConformancePacksError, R>,
1457    ) -> Self {
1458        match err {
1459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1462                source: err.into(),
1463            }),
1464        }
1465    }
1466}
1467impl From<crate::operation::describe_conformance_packs::DescribeConformancePacksError> for Error {
1468    fn from(err: crate::operation::describe_conformance_packs::DescribeConformancePacksError) -> Self {
1469        match err {
1470            crate::operation::describe_conformance_packs::DescribeConformancePacksError::InvalidLimitException(inner) => {
1471                Error::InvalidLimitException(inner)
1472            }
1473            crate::operation::describe_conformance_packs::DescribeConformancePacksError::InvalidNextTokenException(inner) => {
1474                Error::InvalidNextTokenException(inner)
1475            }
1476            crate::operation::describe_conformance_packs::DescribeConformancePacksError::InvalidParameterValueException(inner) => {
1477                Error::InvalidParameterValueException(inner)
1478            }
1479            crate::operation::describe_conformance_packs::DescribeConformancePacksError::NoSuchConformancePackException(inner) => {
1480                Error::NoSuchConformancePackException(inner)
1481            }
1482            crate::operation::describe_conformance_packs::DescribeConformancePacksError::Unhandled(inner) => Error::Unhandled(inner),
1483        }
1484    }
1485}
1486impl<R>
1487    From<
1488        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError, R>,
1489    > for Error
1490where
1491    R: Send + Sync + std::fmt::Debug + 'static,
1492{
1493    fn from(
1494        err: ::aws_smithy_runtime_api::client::result::SdkError<
1495            crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError,
1496            R,
1497        >,
1498    ) -> Self {
1499        match err {
1500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1503                source: err.into(),
1504            }),
1505        }
1506    }
1507}
1508impl From<crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError> for Error {
1509    fn from(err: crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError) -> Self {
1510        match err {
1511            crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError::InvalidLimitException(inner) => {
1512                Error::InvalidLimitException(inner)
1513            }
1514            crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError::InvalidNextTokenException(inner) => {
1515                Error::InvalidNextTokenException(inner)
1516            }
1517            crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError::InvalidParameterValueException(inner) => {
1518                Error::InvalidParameterValueException(inner)
1519            }
1520            crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusError::Unhandled(inner) => Error::Unhandled(inner),
1521        }
1522    }
1523}
1524impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError, R>>
1525    for Error
1526where
1527    R: Send + Sync + std::fmt::Debug + 'static,
1528{
1529    fn from(
1530        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError, R>,
1531    ) -> Self {
1532        match err {
1533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1536                source: err.into(),
1537            }),
1538        }
1539    }
1540}
1541impl From<crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError> for Error {
1542    fn from(err: crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError) -> Self {
1543        match err {
1544            crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError::NoSuchDeliveryChannelException(inner) => {
1545                Error::NoSuchDeliveryChannelException(inner)
1546            }
1547            crate::operation::describe_delivery_channels::DescribeDeliveryChannelsError::Unhandled(inner) => Error::Unhandled(inner),
1548        }
1549    }
1550}
1551impl<R>
1552    From<
1553        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError, R>,
1554    > for Error
1555where
1556    R: Send + Sync + std::fmt::Debug + 'static,
1557{
1558    fn from(
1559        err: ::aws_smithy_runtime_api::client::result::SdkError<
1560            crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError,
1561            R,
1562        >,
1563    ) -> Self {
1564        match err {
1565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1568                source: err.into(),
1569            }),
1570        }
1571    }
1572}
1573impl From<crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError> for Error {
1574    fn from(err: crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError) -> Self {
1575        match err {
1576            crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError::NoSuchDeliveryChannelException(inner) => {
1577                Error::NoSuchDeliveryChannelException(inner)
1578            }
1579            crate::operation::describe_delivery_channel_status::DescribeDeliveryChannelStatusError::Unhandled(inner) => Error::Unhandled(inner),
1580        }
1581    }
1582}
1583impl<R>
1584    From<
1585        ::aws_smithy_runtime_api::client::result::SdkError<
1586            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError,
1587            R,
1588        >,
1589    > for Error
1590where
1591    R: Send + Sync + std::fmt::Debug + 'static,
1592{
1593    fn from(
1594        err: ::aws_smithy_runtime_api::client::result::SdkError<
1595            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError,
1596            R,
1597        >,
1598    ) -> Self {
1599        match err {
1600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1603                source: err.into(),
1604            }),
1605        }
1606    }
1607}
1608impl From<crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError> for Error {
1609    fn from(err: crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError) -> Self {
1610        match err {
1611            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError::InvalidLimitException(inner) => {
1612                Error::InvalidLimitException(inner)
1613            }
1614            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError::InvalidNextTokenException(inner) => {
1615                Error::InvalidNextTokenException(inner)
1616            }
1617            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError::NoSuchOrganizationConfigRuleException(
1618                inner,
1619            ) => Error::NoSuchOrganizationConfigRuleException(inner),
1620            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError::OrganizationAccessDeniedException(inner) => {
1621                Error::OrganizationAccessDeniedException(inner)
1622            }
1623            crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError::Unhandled(inner) => Error::Unhandled(inner),
1624        }
1625    }
1626}
1627impl<R>
1628    From<
1629        ::aws_smithy_runtime_api::client::result::SdkError<
1630            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError,
1631            R,
1632        >,
1633    > for Error
1634where
1635    R: Send + Sync + std::fmt::Debug + 'static,
1636{
1637    fn from(
1638        err: ::aws_smithy_runtime_api::client::result::SdkError<
1639            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError,
1640            R,
1641        >,
1642    ) -> Self {
1643        match err {
1644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1647                source: err.into(),
1648            }),
1649        }
1650    }
1651}
1652impl From<crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError> for Error {
1653    fn from(err: crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError) -> Self {
1654        match err {
1655            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1656            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1657            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError::NoSuchOrganizationConfigRuleException(inner) => Error::NoSuchOrganizationConfigRuleException(inner),
1658            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
1659            crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesError::Unhandled(inner) => Error::Unhandled(inner),
1660        }
1661    }
1662}
1663impl<R>
1664    From<
1665        ::aws_smithy_runtime_api::client::result::SdkError<
1666            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError,
1667            R,
1668        >,
1669    > for Error
1670where
1671    R: Send + Sync + std::fmt::Debug + 'static,
1672{
1673    fn from(
1674        err: ::aws_smithy_runtime_api::client::result::SdkError<
1675            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError,
1676            R,
1677        >,
1678    ) -> Self {
1679        match err {
1680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1683                source: err.into(),
1684            }),
1685        }
1686    }
1687}
1688impl From<crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError> for Error {
1689    fn from(err: crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError) -> Self {
1690        match err {
1691            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1692            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1693            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError::NoSuchOrganizationConformancePackException(inner) => Error::NoSuchOrganizationConformancePackException(inner),
1694            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
1695            crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksError::Unhandled(inner) => Error::Unhandled(inner),
1696        }
1697    }
1698}
1699impl<R>
1700    From<
1701        ::aws_smithy_runtime_api::client::result::SdkError<
1702            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError,
1703            R,
1704        >,
1705    > for Error
1706where
1707    R: Send + Sync + std::fmt::Debug + 'static,
1708{
1709    fn from(
1710        err: ::aws_smithy_runtime_api::client::result::SdkError<
1711            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError,
1712            R,
1713        >,
1714    ) -> Self {
1715        match err {
1716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1719                source: err.into(),
1720            }),
1721        }
1722    }
1723}
1724impl From<crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError> for Error {
1725    fn from(err: crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError) -> Self {
1726        match err {
1727            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1728            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1729            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError::NoSuchOrganizationConformancePackException(inner) => Error::NoSuchOrganizationConformancePackException(inner),
1730            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
1731            crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesError::Unhandled(inner) => Error::Unhandled(inner),
1732        }
1733    }
1734}
1735impl<R>
1736    From<
1737        ::aws_smithy_runtime_api::client::result::SdkError<
1738            crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError,
1739            R,
1740        >,
1741    > for Error
1742where
1743    R: Send + Sync + std::fmt::Debug + 'static,
1744{
1745    fn from(
1746        err: ::aws_smithy_runtime_api::client::result::SdkError<
1747            crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError,
1748            R,
1749        >,
1750    ) -> Self {
1751        match err {
1752            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1753            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1754                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1755                source: err.into(),
1756            }),
1757        }
1758    }
1759}
1760impl From<crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError> for Error {
1761    fn from(err: crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError) -> Self {
1762        match err {
1763            crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError::InvalidLimitException(inner) => {
1764                Error::InvalidLimitException(inner)
1765            }
1766            crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError::InvalidNextTokenException(inner) => {
1767                Error::InvalidNextTokenException(inner)
1768            }
1769            crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError::InvalidParameterValueException(
1770                inner,
1771            ) => Error::InvalidParameterValueException(inner),
1772            crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsError::Unhandled(inner) => {
1773                Error::Unhandled(inner)
1774            }
1775        }
1776    }
1777}
1778impl<R>
1779    From<
1780        ::aws_smithy_runtime_api::client::result::SdkError<
1781            crate::operation::describe_remediation_configurations::DescribeRemediationConfigurationsError,
1782            R,
1783        >,
1784    > for Error
1785where
1786    R: Send + Sync + std::fmt::Debug + 'static,
1787{
1788    fn from(
1789        err: ::aws_smithy_runtime_api::client::result::SdkError<
1790            crate::operation::describe_remediation_configurations::DescribeRemediationConfigurationsError,
1791            R,
1792        >,
1793    ) -> Self {
1794        match err {
1795            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1796            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1797                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1798                source: err.into(),
1799            }),
1800        }
1801    }
1802}
1803impl From<crate::operation::describe_remediation_configurations::DescribeRemediationConfigurationsError> for Error {
1804    fn from(err: crate::operation::describe_remediation_configurations::DescribeRemediationConfigurationsError) -> Self {
1805        match err {
1806            crate::operation::describe_remediation_configurations::DescribeRemediationConfigurationsError::Unhandled(inner) => {
1807                Error::Unhandled(inner)
1808            }
1809        }
1810    }
1811}
1812impl<R>
1813    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError, R>>
1814    for Error
1815where
1816    R: Send + Sync + std::fmt::Debug + 'static,
1817{
1818    fn from(
1819        err: ::aws_smithy_runtime_api::client::result::SdkError<
1820            crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError,
1821            R,
1822        >,
1823    ) -> Self {
1824        match err {
1825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1828                source: err.into(),
1829            }),
1830        }
1831    }
1832}
1833impl From<crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError> for Error {
1834    fn from(err: crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError) -> Self {
1835        match err {
1836            crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError::InvalidNextTokenException(inner) => {
1837                Error::InvalidNextTokenException(inner)
1838            }
1839            crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError::InvalidParameterValueException(inner) => {
1840                Error::InvalidParameterValueException(inner)
1841            }
1842            crate::operation::describe_remediation_exceptions::DescribeRemediationExceptionsError::Unhandled(inner) => Error::Unhandled(inner),
1843        }
1844    }
1845}
1846impl<R>
1847    From<
1848        ::aws_smithy_runtime_api::client::result::SdkError<
1849            crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError,
1850            R,
1851        >,
1852    > for Error
1853where
1854    R: Send + Sync + std::fmt::Debug + 'static,
1855{
1856    fn from(
1857        err: ::aws_smithy_runtime_api::client::result::SdkError<
1858            crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError,
1859            R,
1860        >,
1861    ) -> Self {
1862        match err {
1863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1866                source: err.into(),
1867            }),
1868        }
1869    }
1870}
1871impl From<crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError> for Error {
1872    fn from(err: crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError) -> Self {
1873        match err {
1874            crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1875            crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
1876            crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError::NoSuchRemediationConfigurationException(inner) => Error::NoSuchRemediationConfigurationException(inner),
1877            crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusError::Unhandled(inner) => Error::Unhandled(inner),
1878        }
1879    }
1880}
1881impl<R>
1882    From<
1883        ::aws_smithy_runtime_api::client::result::SdkError<
1884            crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError,
1885            R,
1886        >,
1887    > for Error
1888where
1889    R: Send + Sync + std::fmt::Debug + 'static,
1890{
1891    fn from(
1892        err: ::aws_smithy_runtime_api::client::result::SdkError<
1893            crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError,
1894            R,
1895        >,
1896    ) -> Self {
1897        match err {
1898            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1899            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1900                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1901                source: err.into(),
1902            }),
1903        }
1904    }
1905}
1906impl From<crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError> for Error {
1907    fn from(err: crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError) -> Self {
1908        match err {
1909            crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError::InvalidNextTokenException(inner) => {
1910                Error::InvalidNextTokenException(inner)
1911            }
1912            crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError::InvalidParameterValueException(inner) => {
1913                Error::InvalidParameterValueException(inner)
1914            }
1915            crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError::NoSuchRetentionConfigurationException(
1916                inner,
1917            ) => Error::NoSuchRetentionConfigurationException(inner),
1918            crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
1919        }
1920    }
1921}
1922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_resource_types::DisassociateResourceTypesError, R>>
1923    for Error
1924where
1925    R: Send + Sync + std::fmt::Debug + 'static,
1926{
1927    fn from(
1928        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_resource_types::DisassociateResourceTypesError, R>,
1929    ) -> Self {
1930        match err {
1931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1934                source: err.into(),
1935            }),
1936        }
1937    }
1938}
1939impl From<crate::operation::disassociate_resource_types::DisassociateResourceTypesError> for Error {
1940    fn from(err: crate::operation::disassociate_resource_types::DisassociateResourceTypesError) -> Self {
1941        match err {
1942            crate::operation::disassociate_resource_types::DisassociateResourceTypesError::ConflictException(inner) => {
1943                Error::ConflictException(inner)
1944            }
1945            crate::operation::disassociate_resource_types::DisassociateResourceTypesError::NoSuchConfigurationRecorderException(inner) => {
1946                Error::NoSuchConfigurationRecorderException(inner)
1947            }
1948            crate::operation::disassociate_resource_types::DisassociateResourceTypesError::ValidationException(inner) => {
1949                Error::ValidationException(inner)
1950            }
1951            crate::operation::disassociate_resource_types::DisassociateResourceTypesError::Unhandled(inner) => Error::Unhandled(inner),
1952        }
1953    }
1954}
1955impl<R>
1956    From<
1957        ::aws_smithy_runtime_api::client::result::SdkError<
1958            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError,
1959            R,
1960        >,
1961    > for Error
1962where
1963    R: Send + Sync + std::fmt::Debug + 'static,
1964{
1965    fn from(
1966        err: ::aws_smithy_runtime_api::client::result::SdkError<
1967            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError,
1968            R,
1969        >,
1970    ) -> Self {
1971        match err {
1972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1975                source: err.into(),
1976            }),
1977        }
1978    }
1979}
1980impl From<crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError> for Error {
1981    fn from(err: crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError) -> Self {
1982        match err {
1983            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
1984            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1985            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
1986            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError::ValidationException(inner) => Error::ValidationException(inner),
1987            crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleError::Unhandled(inner) => Error::Unhandled(inner),
1988        }
1989    }
1990}
1991impl<R>
1992    From<
1993        ::aws_smithy_runtime_api::client::result::SdkError<
1994            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError,
1995            R,
1996        >,
1997    > for Error
1998where
1999    R: Send + Sync + std::fmt::Debug + 'static,
2000{
2001    fn from(
2002        err: ::aws_smithy_runtime_api::client::result::SdkError<
2003            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError,
2004            R,
2005        >,
2006    ) -> Self {
2007        match err {
2008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2011                source: err.into(),
2012            }),
2013        }
2014    }
2015}
2016impl From<crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError> for Error {
2017    fn from(err: crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError) -> Self {
2018        match err {
2019            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2020            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
2021            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
2022            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError::ValidationException(inner) => Error::ValidationException(inner),
2023            crate::operation::get_aggregate_config_rule_compliance_summary::GetAggregateConfigRuleComplianceSummaryError::Unhandled(inner) => Error::Unhandled(inner),
2024        }
2025    }
2026}
2027impl<R>
2028    From<
2029        ::aws_smithy_runtime_api::client::result::SdkError<
2030            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError,
2031            R,
2032        >,
2033    > for Error
2034where
2035    R: Send + Sync + std::fmt::Debug + 'static,
2036{
2037    fn from(
2038        err: ::aws_smithy_runtime_api::client::result::SdkError<
2039            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError,
2040            R,
2041        >,
2042    ) -> Self {
2043        match err {
2044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2047                source: err.into(),
2048            }),
2049        }
2050    }
2051}
2052impl From<crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError> for Error {
2053    fn from(err: crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError) -> Self {
2054        match err {
2055            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2056            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
2057            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
2058            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError::ValidationException(inner) => Error::ValidationException(inner),
2059            crate::operation::get_aggregate_conformance_pack_compliance_summary::GetAggregateConformancePackComplianceSummaryError::Unhandled(inner) => Error::Unhandled(inner),
2060        }
2061    }
2062}
2063impl<R>
2064    From<
2065        ::aws_smithy_runtime_api::client::result::SdkError<
2066            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError,
2067            R,
2068        >,
2069    > for Error
2070where
2071    R: Send + Sync + std::fmt::Debug + 'static,
2072{
2073    fn from(
2074        err: ::aws_smithy_runtime_api::client::result::SdkError<
2075            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError,
2076            R,
2077        >,
2078    ) -> Self {
2079        match err {
2080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2083                source: err.into(),
2084            }),
2085        }
2086    }
2087}
2088impl From<crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError> for Error {
2089    fn from(err: crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError) -> Self {
2090        match err {
2091            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2092            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
2093            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError::NoSuchConfigurationAggregatorException(inner) => Error::NoSuchConfigurationAggregatorException(inner),
2094            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError::ValidationException(inner) => Error::ValidationException(inner),
2095            crate::operation::get_aggregate_discovered_resource_counts::GetAggregateDiscoveredResourceCountsError::Unhandled(inner) => Error::Unhandled(inner),
2096        }
2097    }
2098}
2099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError, R>>
2100    for Error
2101where
2102    R: Send + Sync + std::fmt::Debug + 'static,
2103{
2104    fn from(
2105        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError, R>,
2106    ) -> Self {
2107        match err {
2108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2111                source: err.into(),
2112            }),
2113        }
2114    }
2115}
2116impl From<crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError> for Error {
2117    fn from(err: crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError) -> Self {
2118        match err {
2119            crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError::NoSuchConfigurationAggregatorException(inner) => {
2120                Error::NoSuchConfigurationAggregatorException(inner)
2121            }
2122            crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError::OversizedConfigurationItemException(inner) => {
2123                Error::OversizedConfigurationItemException(inner)
2124            }
2125            crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError::ResourceNotDiscoveredException(inner) => {
2126                Error::ResourceNotDiscoveredException(inner)
2127            }
2128            crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError::ValidationException(inner) => {
2129                Error::ValidationException(inner)
2130            }
2131            crate::operation::get_aggregate_resource_config::GetAggregateResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
2132        }
2133    }
2134}
2135impl<R>
2136    From<
2137        ::aws_smithy_runtime_api::client::result::SdkError<
2138            crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError,
2139            R,
2140        >,
2141    > for Error
2142where
2143    R: Send + Sync + std::fmt::Debug + 'static,
2144{
2145    fn from(
2146        err: ::aws_smithy_runtime_api::client::result::SdkError<
2147            crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError,
2148            R,
2149        >,
2150    ) -> Self {
2151        match err {
2152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2155                source: err.into(),
2156            }),
2157        }
2158    }
2159}
2160impl From<crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError> for Error {
2161    fn from(err: crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError) -> Self {
2162        match err {
2163            crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError::InvalidNextTokenException(inner) => {
2164                Error::InvalidNextTokenException(inner)
2165            }
2166            crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError::InvalidParameterValueException(inner) => {
2167                Error::InvalidParameterValueException(inner)
2168            }
2169            crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError::NoSuchConfigRuleException(inner) => {
2170                Error::NoSuchConfigRuleException(inner)
2171            }
2172            crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleError::Unhandled(inner) => {
2173                Error::Unhandled(inner)
2174            }
2175        }
2176    }
2177}
2178impl<R>
2179    From<
2180        ::aws_smithy_runtime_api::client::result::SdkError<
2181            crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceError,
2182            R,
2183        >,
2184    > for Error
2185where
2186    R: Send + Sync + std::fmt::Debug + 'static,
2187{
2188    fn from(
2189        err: ::aws_smithy_runtime_api::client::result::SdkError<
2190            crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceError,
2191            R,
2192        >,
2193    ) -> Self {
2194        match err {
2195            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2196            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2197                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2198                source: err.into(),
2199            }),
2200        }
2201    }
2202}
2203impl From<crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceError> for Error {
2204    fn from(err: crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceError) -> Self {
2205        match err {
2206            crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceError::InvalidParameterValueException(inner) => {
2207                Error::InvalidParameterValueException(inner)
2208            }
2209            crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceError::Unhandled(inner) => Error::Unhandled(inner),
2210        }
2211    }
2212}
2213impl<R>
2214    From<
2215        ::aws_smithy_runtime_api::client::result::SdkError<
2216            crate::operation::get_compliance_summary_by_config_rule::GetComplianceSummaryByConfigRuleError,
2217            R,
2218        >,
2219    > for Error
2220where
2221    R: Send + Sync + std::fmt::Debug + 'static,
2222{
2223    fn from(
2224        err: ::aws_smithy_runtime_api::client::result::SdkError<
2225            crate::operation::get_compliance_summary_by_config_rule::GetComplianceSummaryByConfigRuleError,
2226            R,
2227        >,
2228    ) -> Self {
2229        match err {
2230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2233                source: err.into(),
2234            }),
2235        }
2236    }
2237}
2238impl From<crate::operation::get_compliance_summary_by_config_rule::GetComplianceSummaryByConfigRuleError> for Error {
2239    fn from(err: crate::operation::get_compliance_summary_by_config_rule::GetComplianceSummaryByConfigRuleError) -> Self {
2240        match err {
2241            crate::operation::get_compliance_summary_by_config_rule::GetComplianceSummaryByConfigRuleError::Unhandled(inner) => {
2242                Error::Unhandled(inner)
2243            }
2244        }
2245    }
2246}
2247impl<R>
2248    From<
2249        ::aws_smithy_runtime_api::client::result::SdkError<
2250            crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError,
2251            R,
2252        >,
2253    > for Error
2254where
2255    R: Send + Sync + std::fmt::Debug + 'static,
2256{
2257    fn from(
2258        err: ::aws_smithy_runtime_api::client::result::SdkError<
2259            crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError,
2260            R,
2261        >,
2262    ) -> Self {
2263        match err {
2264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2267                source: err.into(),
2268            }),
2269        }
2270    }
2271}
2272impl From<crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError> for Error {
2273    fn from(err: crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError) -> Self {
2274        match err {
2275            crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError::InvalidParameterValueException(
2276                inner,
2277            ) => Error::InvalidParameterValueException(inner),
2278            crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError::Unhandled(inner) => {
2279                Error::Unhandled(inner)
2280            }
2281        }
2282    }
2283}
2284impl<R>
2285    From<
2286        ::aws_smithy_runtime_api::client::result::SdkError<
2287            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError,
2288            R,
2289        >,
2290    > for Error
2291where
2292    R: Send + Sync + std::fmt::Debug + 'static,
2293{
2294    fn from(
2295        err: ::aws_smithy_runtime_api::client::result::SdkError<
2296            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError,
2297            R,
2298        >,
2299    ) -> Self {
2300        match err {
2301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2304                source: err.into(),
2305            }),
2306        }
2307    }
2308}
2309impl From<crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError> for Error {
2310    fn from(err: crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError) -> Self {
2311        match err {
2312            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2313            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
2314            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
2315            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError::NoSuchConfigRuleInConformancePackException(inner) => Error::NoSuchConfigRuleInConformancePackException(inner),
2316            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError::NoSuchConformancePackException(inner) => Error::NoSuchConformancePackException(inner),
2317            crate::operation::get_conformance_pack_compliance_details::GetConformancePackComplianceDetailsError::Unhandled(inner) => Error::Unhandled(inner),
2318        }
2319    }
2320}
2321impl<R>
2322    From<
2323        ::aws_smithy_runtime_api::client::result::SdkError<
2324            crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError,
2325            R,
2326        >,
2327    > for Error
2328where
2329    R: Send + Sync + std::fmt::Debug + 'static,
2330{
2331    fn from(
2332        err: ::aws_smithy_runtime_api::client::result::SdkError<
2333            crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError,
2334            R,
2335        >,
2336    ) -> Self {
2337        match err {
2338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2341                source: err.into(),
2342            }),
2343        }
2344    }
2345}
2346impl From<crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError> for Error {
2347    fn from(err: crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError) -> Self {
2348        match err {
2349            crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError::InvalidLimitException(inner) => {
2350                Error::InvalidLimitException(inner)
2351            }
2352            crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError::InvalidNextTokenException(inner) => {
2353                Error::InvalidNextTokenException(inner)
2354            }
2355            crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError::NoSuchConformancePackException(
2356                inner,
2357            ) => Error::NoSuchConformancePackException(inner),
2358            crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryError::Unhandled(inner) => {
2359                Error::Unhandled(inner)
2360            }
2361        }
2362    }
2363}
2364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_rule_policy::GetCustomRulePolicyError, R>> for Error
2365where
2366    R: Send + Sync + std::fmt::Debug + 'static,
2367{
2368    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_rule_policy::GetCustomRulePolicyError, R>) -> Self {
2369        match err {
2370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2373                source: err.into(),
2374            }),
2375        }
2376    }
2377}
2378impl From<crate::operation::get_custom_rule_policy::GetCustomRulePolicyError> for Error {
2379    fn from(err: crate::operation::get_custom_rule_policy::GetCustomRulePolicyError) -> Self {
2380        match err {
2381            crate::operation::get_custom_rule_policy::GetCustomRulePolicyError::NoSuchConfigRuleException(inner) => {
2382                Error::NoSuchConfigRuleException(inner)
2383            }
2384            crate::operation::get_custom_rule_policy::GetCustomRulePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2385        }
2386    }
2387}
2388impl<R>
2389    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError, R>>
2390    for Error
2391where
2392    R: Send + Sync + std::fmt::Debug + 'static,
2393{
2394    fn from(
2395        err: ::aws_smithy_runtime_api::client::result::SdkError<
2396            crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError,
2397            R,
2398        >,
2399    ) -> Self {
2400        match err {
2401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2404                source: err.into(),
2405            }),
2406        }
2407    }
2408}
2409impl From<crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError> for Error {
2410    fn from(err: crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError) -> Self {
2411        match err {
2412            crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError::InvalidLimitException(inner) => {
2413                Error::InvalidLimitException(inner)
2414            }
2415            crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError::InvalidNextTokenException(inner) => {
2416                Error::InvalidNextTokenException(inner)
2417            }
2418            crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError::ValidationException(inner) => {
2419                Error::ValidationException(inner)
2420            }
2421            crate::operation::get_discovered_resource_counts::GetDiscoveredResourceCountsError::Unhandled(inner) => Error::Unhandled(inner),
2422        }
2423    }
2424}
2425impl<R>
2426    From<
2427        ::aws_smithy_runtime_api::client::result::SdkError<
2428            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError,
2429            R,
2430        >,
2431    > for Error
2432where
2433    R: Send + Sync + std::fmt::Debug + 'static,
2434{
2435    fn from(
2436        err: ::aws_smithy_runtime_api::client::result::SdkError<
2437            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError,
2438            R,
2439        >,
2440    ) -> Self {
2441        match err {
2442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2445                source: err.into(),
2446            }),
2447        }
2448    }
2449}
2450impl From<crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError> for Error {
2451    fn from(err: crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError) -> Self {
2452        match err {
2453            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2454            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
2455            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError::NoSuchOrganizationConfigRuleException(inner) => Error::NoSuchOrganizationConfigRuleException(inner),
2456            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
2457            crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusError::Unhandled(inner) => Error::Unhandled(inner),
2458        }
2459    }
2460}
2461impl<R>
2462    From<
2463        ::aws_smithy_runtime_api::client::result::SdkError<
2464            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError,
2465            R,
2466        >,
2467    > for Error
2468where
2469    R: Send + Sync + std::fmt::Debug + 'static,
2470{
2471    fn from(
2472        err: ::aws_smithy_runtime_api::client::result::SdkError<
2473            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError,
2474            R,
2475        >,
2476    ) -> Self {
2477        match err {
2478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2481                source: err.into(),
2482            }),
2483        }
2484    }
2485}
2486impl From<crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError> for Error {
2487    fn from(err: crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError) -> Self {
2488        match err {
2489            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2490            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
2491            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError::NoSuchOrganizationConformancePackException(inner) => Error::NoSuchOrganizationConformancePackException(inner),
2492            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
2493            crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusError::Unhandled(inner) => Error::Unhandled(inner),
2494        }
2495    }
2496}
2497impl<R>
2498    From<
2499        ::aws_smithy_runtime_api::client::result::SdkError<
2500            crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError,
2501            R,
2502        >,
2503    > for Error
2504where
2505    R: Send + Sync + std::fmt::Debug + 'static,
2506{
2507    fn from(
2508        err: ::aws_smithy_runtime_api::client::result::SdkError<
2509            crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError,
2510            R,
2511        >,
2512    ) -> Self {
2513        match err {
2514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2517                source: err.into(),
2518            }),
2519        }
2520    }
2521}
2522impl From<crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError> for Error {
2523    fn from(err: crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError) -> Self {
2524        match err {
2525            crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError::NoSuchOrganizationConfigRuleException(
2526                inner,
2527            ) => Error::NoSuchOrganizationConfigRuleException(inner),
2528            crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError::OrganizationAccessDeniedException(inner) => {
2529                Error::OrganizationAccessDeniedException(inner)
2530            }
2531            crate::operation::get_organization_custom_rule_policy::GetOrganizationCustomRulePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2532        }
2533    }
2534}
2535impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_config_history::GetResourceConfigHistoryError, R>>
2536    for Error
2537where
2538    R: Send + Sync + std::fmt::Debug + 'static,
2539{
2540    fn from(
2541        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_config_history::GetResourceConfigHistoryError, R>,
2542    ) -> Self {
2543        match err {
2544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2547                source: err.into(),
2548            }),
2549        }
2550    }
2551}
2552impl From<crate::operation::get_resource_config_history::GetResourceConfigHistoryError> for Error {
2553    fn from(err: crate::operation::get_resource_config_history::GetResourceConfigHistoryError) -> Self {
2554        match err {
2555            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::InvalidLimitException(inner) => {
2556                Error::InvalidLimitException(inner)
2557            }
2558            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::InvalidNextTokenException(inner) => {
2559                Error::InvalidNextTokenException(inner)
2560            }
2561            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::InvalidTimeRangeException(inner) => {
2562                Error::InvalidTimeRangeException(inner)
2563            }
2564            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::NoAvailableConfigurationRecorderException(inner) => {
2565                Error::NoAvailableConfigurationRecorderException(inner)
2566            }
2567            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::ResourceNotDiscoveredException(inner) => {
2568                Error::ResourceNotDiscoveredException(inner)
2569            }
2570            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::ValidationException(inner) => {
2571                Error::ValidationException(inner)
2572            }
2573            crate::operation::get_resource_config_history::GetResourceConfigHistoryError::Unhandled(inner) => Error::Unhandled(inner),
2574        }
2575    }
2576}
2577impl<R>
2578    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError, R>>
2579    for Error
2580where
2581    R: Send + Sync + std::fmt::Debug + 'static,
2582{
2583    fn from(
2584        err: ::aws_smithy_runtime_api::client::result::SdkError<
2585            crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError,
2586            R,
2587        >,
2588    ) -> Self {
2589        match err {
2590            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2591            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2592                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2593                source: err.into(),
2594            }),
2595        }
2596    }
2597}
2598impl From<crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError> for Error {
2599    fn from(err: crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError) -> Self {
2600        match err {
2601            crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError::ResourceNotFoundException(inner) => {
2602                Error::ResourceNotFoundException(inner)
2603            }
2604            crate::operation::get_resource_evaluation_summary::GetResourceEvaluationSummaryError::Unhandled(inner) => Error::Unhandled(inner),
2605        }
2606    }
2607}
2608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_stored_query::GetStoredQueryError, R>> for Error
2609where
2610    R: Send + Sync + std::fmt::Debug + 'static,
2611{
2612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_stored_query::GetStoredQueryError, R>) -> Self {
2613        match err {
2614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2617                source: err.into(),
2618            }),
2619        }
2620    }
2621}
2622impl From<crate::operation::get_stored_query::GetStoredQueryError> for Error {
2623    fn from(err: crate::operation::get_stored_query::GetStoredQueryError) -> Self {
2624        match err {
2625            crate::operation::get_stored_query::GetStoredQueryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2626            crate::operation::get_stored_query::GetStoredQueryError::ValidationException(inner) => Error::ValidationException(inner),
2627            crate::operation::get_stored_query::GetStoredQueryError::Unhandled(inner) => Error::Unhandled(inner),
2628        }
2629    }
2630}
2631impl<R>
2632    From<
2633        ::aws_smithy_runtime_api::client::result::SdkError<
2634            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError,
2635            R,
2636        >,
2637    > for Error
2638where
2639    R: Send + Sync + std::fmt::Debug + 'static,
2640{
2641    fn from(
2642        err: ::aws_smithy_runtime_api::client::result::SdkError<
2643            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError,
2644            R,
2645        >,
2646    ) -> Self {
2647        match err {
2648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2651                source: err.into(),
2652            }),
2653        }
2654    }
2655}
2656impl From<crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError> for Error {
2657    fn from(err: crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError) -> Self {
2658        match err {
2659            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError::InvalidLimitException(inner) => {
2660                Error::InvalidLimitException(inner)
2661            }
2662            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError::InvalidNextTokenException(inner) => {
2663                Error::InvalidNextTokenException(inner)
2664            }
2665            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError::NoSuchConfigurationAggregatorException(
2666                inner,
2667            ) => Error::NoSuchConfigurationAggregatorException(inner),
2668            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError::ValidationException(inner) => {
2669                Error::ValidationException(inner)
2670            }
2671            crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesError::Unhandled(inner) => Error::Unhandled(inner),
2672        }
2673    }
2674}
2675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configuration_recorders::ListConfigurationRecordersError, R>>
2676    for Error
2677where
2678    R: Send + Sync + std::fmt::Debug + 'static,
2679{
2680    fn from(
2681        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configuration_recorders::ListConfigurationRecordersError, R>,
2682    ) -> Self {
2683        match err {
2684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2687                source: err.into(),
2688            }),
2689        }
2690    }
2691}
2692impl From<crate::operation::list_configuration_recorders::ListConfigurationRecordersError> for Error {
2693    fn from(err: crate::operation::list_configuration_recorders::ListConfigurationRecordersError) -> Self {
2694        match err {
2695            crate::operation::list_configuration_recorders::ListConfigurationRecordersError::ValidationException(inner) => {
2696                Error::ValidationException(inner)
2697            }
2698            crate::operation::list_configuration_recorders::ListConfigurationRecordersError::Unhandled(inner) => Error::Unhandled(inner),
2699        }
2700    }
2701}
2702impl<R>
2703    From<
2704        ::aws_smithy_runtime_api::client::result::SdkError<
2705            crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError,
2706            R,
2707        >,
2708    > for Error
2709where
2710    R: Send + Sync + std::fmt::Debug + 'static,
2711{
2712    fn from(
2713        err: ::aws_smithy_runtime_api::client::result::SdkError<
2714            crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError,
2715            R,
2716        >,
2717    ) -> Self {
2718        match err {
2719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2722                source: err.into(),
2723            }),
2724        }
2725    }
2726}
2727impl From<crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError> for Error {
2728    fn from(err: crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError) -> Self {
2729        match err {
2730            crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError::InvalidLimitException(inner) => {
2731                Error::InvalidLimitException(inner)
2732            }
2733            crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError::InvalidNextTokenException(inner) => {
2734                Error::InvalidNextTokenException(inner)
2735            }
2736            crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError::InvalidParameterValueException(
2737                inner,
2738            ) => Error::InvalidParameterValueException(inner),
2739            crate::operation::list_conformance_pack_compliance_scores::ListConformancePackComplianceScoresError::Unhandled(inner) => {
2740                Error::Unhandled(inner)
2741            }
2742        }
2743    }
2744}
2745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_discovered_resources::ListDiscoveredResourcesError, R>>
2746    for Error
2747where
2748    R: Send + Sync + std::fmt::Debug + 'static,
2749{
2750    fn from(
2751        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_discovered_resources::ListDiscoveredResourcesError, R>,
2752    ) -> Self {
2753        match err {
2754            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2755            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2756                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2757                source: err.into(),
2758            }),
2759        }
2760    }
2761}
2762impl From<crate::operation::list_discovered_resources::ListDiscoveredResourcesError> for Error {
2763    fn from(err: crate::operation::list_discovered_resources::ListDiscoveredResourcesError) -> Self {
2764        match err {
2765            crate::operation::list_discovered_resources::ListDiscoveredResourcesError::InvalidLimitException(inner) => {
2766                Error::InvalidLimitException(inner)
2767            }
2768            crate::operation::list_discovered_resources::ListDiscoveredResourcesError::InvalidNextTokenException(inner) => {
2769                Error::InvalidNextTokenException(inner)
2770            }
2771            crate::operation::list_discovered_resources::ListDiscoveredResourcesError::NoAvailableConfigurationRecorderException(inner) => {
2772                Error::NoAvailableConfigurationRecorderException(inner)
2773            }
2774            crate::operation::list_discovered_resources::ListDiscoveredResourcesError::ValidationException(inner) => {
2775                Error::ValidationException(inner)
2776            }
2777            crate::operation::list_discovered_resources::ListDiscoveredResourcesError::Unhandled(inner) => Error::Unhandled(inner),
2778        }
2779    }
2780}
2781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_evaluations::ListResourceEvaluationsError, R>>
2782    for Error
2783where
2784    R: Send + Sync + std::fmt::Debug + 'static,
2785{
2786    fn from(
2787        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_evaluations::ListResourceEvaluationsError, R>,
2788    ) -> Self {
2789        match err {
2790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2793                source: err.into(),
2794            }),
2795        }
2796    }
2797}
2798impl From<crate::operation::list_resource_evaluations::ListResourceEvaluationsError> for Error {
2799    fn from(err: crate::operation::list_resource_evaluations::ListResourceEvaluationsError) -> Self {
2800        match err {
2801            crate::operation::list_resource_evaluations::ListResourceEvaluationsError::InvalidNextTokenException(inner) => {
2802                Error::InvalidNextTokenException(inner)
2803            }
2804            crate::operation::list_resource_evaluations::ListResourceEvaluationsError::InvalidParameterValueException(inner) => {
2805                Error::InvalidParameterValueException(inner)
2806            }
2807            crate::operation::list_resource_evaluations::ListResourceEvaluationsError::InvalidTimeRangeException(inner) => {
2808                Error::InvalidTimeRangeException(inner)
2809            }
2810            crate::operation::list_resource_evaluations::ListResourceEvaluationsError::Unhandled(inner) => Error::Unhandled(inner),
2811        }
2812    }
2813}
2814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stored_queries::ListStoredQueriesError, R>> for Error
2815where
2816    R: Send + Sync + std::fmt::Debug + 'static,
2817{
2818    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stored_queries::ListStoredQueriesError, R>) -> Self {
2819        match err {
2820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2823                source: err.into(),
2824            }),
2825        }
2826    }
2827}
2828impl From<crate::operation::list_stored_queries::ListStoredQueriesError> for Error {
2829    fn from(err: crate::operation::list_stored_queries::ListStoredQueriesError) -> Self {
2830        match err {
2831            crate::operation::list_stored_queries::ListStoredQueriesError::InvalidNextTokenException(inner) => {
2832                Error::InvalidNextTokenException(inner)
2833            }
2834            crate::operation::list_stored_queries::ListStoredQueriesError::ValidationException(inner) => Error::ValidationException(inner),
2835            crate::operation::list_stored_queries::ListStoredQueriesError::Unhandled(inner) => Error::Unhandled(inner),
2836        }
2837    }
2838}
2839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2840where
2841    R: Send + Sync + std::fmt::Debug + 'static,
2842{
2843    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2844        match err {
2845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2848                source: err.into(),
2849            }),
2850        }
2851    }
2852}
2853impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2854    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2855        match err {
2856            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
2857            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidNextTokenException(inner) => {
2858                Error::InvalidNextTokenException(inner)
2859            }
2860            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
2861                Error::ResourceNotFoundException(inner)
2862            }
2863            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
2864            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2865        }
2866    }
2867}
2868impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError, R>>
2869    for Error
2870where
2871    R: Send + Sync + std::fmt::Debug + 'static,
2872{
2873    fn from(
2874        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError, R>,
2875    ) -> Self {
2876        match err {
2877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2880                source: err.into(),
2881            }),
2882        }
2883    }
2884}
2885impl From<crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError> for Error {
2886    fn from(err: crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError) -> Self {
2887        match err {
2888            crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError::InvalidParameterValueException(inner) => {
2889                Error::InvalidParameterValueException(inner)
2890            }
2891            crate::operation::put_aggregation_authorization::PutAggregationAuthorizationError::Unhandled(inner) => Error::Unhandled(inner),
2892        }
2893    }
2894}
2895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_config_rule::PutConfigRuleError, R>> for Error
2896where
2897    R: Send + Sync + std::fmt::Debug + 'static,
2898{
2899    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_config_rule::PutConfigRuleError, R>) -> Self {
2900        match err {
2901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2904                source: err.into(),
2905            }),
2906        }
2907    }
2908}
2909impl From<crate::operation::put_config_rule::PutConfigRuleError> for Error {
2910    fn from(err: crate::operation::put_config_rule::PutConfigRuleError) -> Self {
2911        match err {
2912            crate::operation::put_config_rule::PutConfigRuleError::InsufficientPermissionsException(inner) => {
2913                Error::InsufficientPermissionsException(inner)
2914            }
2915            crate::operation::put_config_rule::PutConfigRuleError::InvalidParameterValueException(inner) => {
2916                Error::InvalidParameterValueException(inner)
2917            }
2918            crate::operation::put_config_rule::PutConfigRuleError::MaxNumberOfConfigRulesExceededException(inner) => {
2919                Error::MaxNumberOfConfigRulesExceededException(inner)
2920            }
2921            crate::operation::put_config_rule::PutConfigRuleError::NoAvailableConfigurationRecorderException(inner) => {
2922                Error::NoAvailableConfigurationRecorderException(inner)
2923            }
2924            crate::operation::put_config_rule::PutConfigRuleError::ResourceInUseException(inner) => Error::ResourceInUseException(inner),
2925            crate::operation::put_config_rule::PutConfigRuleError::Unhandled(inner) => Error::Unhandled(inner),
2926        }
2927    }
2928}
2929impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError, R>>
2930    for Error
2931where
2932    R: Send + Sync + std::fmt::Debug + 'static,
2933{
2934    fn from(
2935        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError, R>,
2936    ) -> Self {
2937        match err {
2938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2941                source: err.into(),
2942            }),
2943        }
2944    }
2945}
2946impl From<crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError> for Error {
2947    fn from(err: crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError) -> Self {
2948        match err {
2949            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::InvalidParameterValueException(inner) => {
2950                Error::InvalidParameterValueException(inner)
2951            }
2952            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::InvalidRoleException(inner) => {
2953                Error::InvalidRoleException(inner)
2954            }
2955            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::LimitExceededException(inner) => {
2956                Error::LimitExceededException(inner)
2957            }
2958            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::NoAvailableOrganizationException(inner) => {
2959                Error::NoAvailableOrganizationException(inner)
2960            }
2961            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::OrganizationAccessDeniedException(inner) => {
2962                Error::OrganizationAccessDeniedException(inner)
2963            }
2964            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::OrganizationAllFeaturesNotEnabledException(inner) => {
2965                Error::OrganizationAllFeaturesNotEnabledException(inner)
2966            }
2967            crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError::Unhandled(inner) => Error::Unhandled(inner),
2968        }
2969    }
2970}
2971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_configuration_recorder::PutConfigurationRecorderError, R>>
2972    for Error
2973where
2974    R: Send + Sync + std::fmt::Debug + 'static,
2975{
2976    fn from(
2977        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_configuration_recorder::PutConfigurationRecorderError, R>,
2978    ) -> Self {
2979        match err {
2980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2983                source: err.into(),
2984            }),
2985        }
2986    }
2987}
2988impl From<crate::operation::put_configuration_recorder::PutConfigurationRecorderError> for Error {
2989    fn from(err: crate::operation::put_configuration_recorder::PutConfigurationRecorderError) -> Self {
2990        match err {
2991            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::InvalidConfigurationRecorderNameException(inner) => {
2992                Error::InvalidConfigurationRecorderNameException(inner)
2993            }
2994            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::InvalidRecordingGroupException(inner) => {
2995                Error::InvalidRecordingGroupException(inner)
2996            }
2997            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::InvalidRoleException(inner) => {
2998                Error::InvalidRoleException(inner)
2999            }
3000            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::MaxNumberOfConfigurationRecordersExceededException(
3001                inner,
3002            ) => Error::MaxNumberOfConfigurationRecordersExceededException(inner),
3003            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::UnmodifiableEntityException(inner) => {
3004                Error::UnmodifiableEntityException(inner)
3005            }
3006            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::ValidationException(inner) => {
3007                Error::ValidationException(inner)
3008            }
3009            crate::operation::put_configuration_recorder::PutConfigurationRecorderError::Unhandled(inner) => Error::Unhandled(inner),
3010        }
3011    }
3012}
3013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_conformance_pack::PutConformancePackError, R>> for Error
3014where
3015    R: Send + Sync + std::fmt::Debug + 'static,
3016{
3017    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_conformance_pack::PutConformancePackError, R>) -> Self {
3018        match err {
3019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3022                source: err.into(),
3023            }),
3024        }
3025    }
3026}
3027impl From<crate::operation::put_conformance_pack::PutConformancePackError> for Error {
3028    fn from(err: crate::operation::put_conformance_pack::PutConformancePackError) -> Self {
3029        match err {
3030            crate::operation::put_conformance_pack::PutConformancePackError::ConformancePackTemplateValidationException(inner) => {
3031                Error::ConformancePackTemplateValidationException(inner)
3032            }
3033            crate::operation::put_conformance_pack::PutConformancePackError::InsufficientPermissionsException(inner) => {
3034                Error::InsufficientPermissionsException(inner)
3035            }
3036            crate::operation::put_conformance_pack::PutConformancePackError::InvalidParameterValueException(inner) => {
3037                Error::InvalidParameterValueException(inner)
3038            }
3039            crate::operation::put_conformance_pack::PutConformancePackError::MaxNumberOfConformancePacksExceededException(inner) => {
3040                Error::MaxNumberOfConformancePacksExceededException(inner)
3041            }
3042            crate::operation::put_conformance_pack::PutConformancePackError::ResourceInUseException(inner) => Error::ResourceInUseException(inner),
3043            crate::operation::put_conformance_pack::PutConformancePackError::Unhandled(inner) => Error::Unhandled(inner),
3044        }
3045    }
3046}
3047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_delivery_channel::PutDeliveryChannelError, R>> for Error
3048where
3049    R: Send + Sync + std::fmt::Debug + 'static,
3050{
3051    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_delivery_channel::PutDeliveryChannelError, R>) -> Self {
3052        match err {
3053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3056                source: err.into(),
3057            }),
3058        }
3059    }
3060}
3061impl From<crate::operation::put_delivery_channel::PutDeliveryChannelError> for Error {
3062    fn from(err: crate::operation::put_delivery_channel::PutDeliveryChannelError) -> Self {
3063        match err {
3064            crate::operation::put_delivery_channel::PutDeliveryChannelError::InsufficientDeliveryPolicyException(inner) => {
3065                Error::InsufficientDeliveryPolicyException(inner)
3066            }
3067            crate::operation::put_delivery_channel::PutDeliveryChannelError::InvalidDeliveryChannelNameException(inner) => {
3068                Error::InvalidDeliveryChannelNameException(inner)
3069            }
3070            crate::operation::put_delivery_channel::PutDeliveryChannelError::InvalidS3KeyPrefixException(inner) => {
3071                Error::InvalidS3KeyPrefixException(inner)
3072            }
3073            crate::operation::put_delivery_channel::PutDeliveryChannelError::InvalidS3KmsKeyArnException(inner) => {
3074                Error::InvalidS3KmsKeyArnException(inner)
3075            }
3076            crate::operation::put_delivery_channel::PutDeliveryChannelError::InvalidSnsTopicArnException(inner) => {
3077                Error::InvalidSnsTopicArnException(inner)
3078            }
3079            crate::operation::put_delivery_channel::PutDeliveryChannelError::MaxNumberOfDeliveryChannelsExceededException(inner) => {
3080                Error::MaxNumberOfDeliveryChannelsExceededException(inner)
3081            }
3082            crate::operation::put_delivery_channel::PutDeliveryChannelError::NoAvailableConfigurationRecorderException(inner) => {
3083                Error::NoAvailableConfigurationRecorderException(inner)
3084            }
3085            crate::operation::put_delivery_channel::PutDeliveryChannelError::NoSuchBucketException(inner) => Error::NoSuchBucketException(inner),
3086            crate::operation::put_delivery_channel::PutDeliveryChannelError::Unhandled(inner) => Error::Unhandled(inner),
3087        }
3088    }
3089}
3090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_evaluations::PutEvaluationsError, R>> for Error
3091where
3092    R: Send + Sync + std::fmt::Debug + 'static,
3093{
3094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_evaluations::PutEvaluationsError, R>) -> Self {
3095        match err {
3096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099                source: err.into(),
3100            }),
3101        }
3102    }
3103}
3104impl From<crate::operation::put_evaluations::PutEvaluationsError> for Error {
3105    fn from(err: crate::operation::put_evaluations::PutEvaluationsError) -> Self {
3106        match err {
3107            crate::operation::put_evaluations::PutEvaluationsError::InvalidParameterValueException(inner) => {
3108                Error::InvalidParameterValueException(inner)
3109            }
3110            crate::operation::put_evaluations::PutEvaluationsError::InvalidResultTokenException(inner) => Error::InvalidResultTokenException(inner),
3111            crate::operation::put_evaluations::PutEvaluationsError::NoSuchConfigRuleException(inner) => Error::NoSuchConfigRuleException(inner),
3112            crate::operation::put_evaluations::PutEvaluationsError::Unhandled(inner) => Error::Unhandled(inner),
3113        }
3114    }
3115}
3116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_external_evaluation::PutExternalEvaluationError, R>> for Error
3117where
3118    R: Send + Sync + std::fmt::Debug + 'static,
3119{
3120    fn from(
3121        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_external_evaluation::PutExternalEvaluationError, R>,
3122    ) -> Self {
3123        match err {
3124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3127                source: err.into(),
3128            }),
3129        }
3130    }
3131}
3132impl From<crate::operation::put_external_evaluation::PutExternalEvaluationError> for Error {
3133    fn from(err: crate::operation::put_external_evaluation::PutExternalEvaluationError) -> Self {
3134        match err {
3135            crate::operation::put_external_evaluation::PutExternalEvaluationError::InvalidParameterValueException(inner) => {
3136                Error::InvalidParameterValueException(inner)
3137            }
3138            crate::operation::put_external_evaluation::PutExternalEvaluationError::NoSuchConfigRuleException(inner) => {
3139                Error::NoSuchConfigRuleException(inner)
3140            }
3141            crate::operation::put_external_evaluation::PutExternalEvaluationError::Unhandled(inner) => Error::Unhandled(inner),
3142        }
3143    }
3144}
3145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError, R>>
3146    for Error
3147where
3148    R: Send + Sync + std::fmt::Debug + 'static,
3149{
3150    fn from(
3151        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError, R>,
3152    ) -> Self {
3153        match err {
3154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3157                source: err.into(),
3158            }),
3159        }
3160    }
3161}
3162impl From<crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError> for Error {
3163    fn from(err: crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError) -> Self {
3164        match err {
3165            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::InsufficientPermissionsException(inner) => {
3166                Error::InsufficientPermissionsException(inner)
3167            }
3168            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::InvalidParameterValueException(inner) => {
3169                Error::InvalidParameterValueException(inner)
3170            }
3171            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::MaxNumberOfOrganizationConfigRulesExceededException(
3172                inner,
3173            ) => Error::MaxNumberOfOrganizationConfigRulesExceededException(inner),
3174            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::NoAvailableOrganizationException(inner) => {
3175                Error::NoAvailableOrganizationException(inner)
3176            }
3177            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::OrganizationAccessDeniedException(inner) => {
3178                Error::OrganizationAccessDeniedException(inner)
3179            }
3180            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::OrganizationAllFeaturesNotEnabledException(inner) => {
3181                Error::OrganizationAllFeaturesNotEnabledException(inner)
3182            }
3183            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::ResourceInUseException(inner) => {
3184                Error::ResourceInUseException(inner)
3185            }
3186            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::ValidationException(inner) => {
3187                Error::ValidationException(inner)
3188            }
3189            crate::operation::put_organization_config_rule::PutOrganizationConfigRuleError::Unhandled(inner) => Error::Unhandled(inner),
3190        }
3191    }
3192}
3193impl<R>
3194    From<
3195        ::aws_smithy_runtime_api::client::result::SdkError<
3196            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError,
3197            R,
3198        >,
3199    > for Error
3200where
3201    R: Send + Sync + std::fmt::Debug + 'static,
3202{
3203    fn from(
3204        err: ::aws_smithy_runtime_api::client::result::SdkError<
3205            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError,
3206            R,
3207        >,
3208    ) -> Self {
3209        match err {
3210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3213                source: err.into(),
3214            }),
3215        }
3216    }
3217}
3218impl From<crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError> for Error {
3219    fn from(err: crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError) -> Self {
3220        match err {
3221            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::InsufficientPermissionsException(inner) => Error::InsufficientPermissionsException(inner),
3222            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::MaxNumberOfOrganizationConformancePacksExceededException(inner) => Error::MaxNumberOfOrganizationConformancePacksExceededException(inner),
3223            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::NoAvailableOrganizationException(inner) => Error::NoAvailableOrganizationException(inner),
3224            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::OrganizationAccessDeniedException(inner) => Error::OrganizationAccessDeniedException(inner),
3225            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::OrganizationAllFeaturesNotEnabledException(inner) => Error::OrganizationAllFeaturesNotEnabledException(inner),
3226            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::OrganizationConformancePackTemplateValidationException(inner) => Error::OrganizationConformancePackTemplateValidationException(inner),
3227            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::ResourceInUseException(inner) => Error::ResourceInUseException(inner),
3228            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::ValidationException(inner) => Error::ValidationException(inner),
3229            crate::operation::put_organization_conformance_pack::PutOrganizationConformancePackError::Unhandled(inner) => Error::Unhandled(inner),
3230        }
3231    }
3232}
3233impl<R>
3234    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_remediation_configurations::PutRemediationConfigurationsError, R>>
3235    for Error
3236where
3237    R: Send + Sync + std::fmt::Debug + 'static,
3238{
3239    fn from(
3240        err: ::aws_smithy_runtime_api::client::result::SdkError<
3241            crate::operation::put_remediation_configurations::PutRemediationConfigurationsError,
3242            R,
3243        >,
3244    ) -> Self {
3245        match err {
3246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3249                source: err.into(),
3250            }),
3251        }
3252    }
3253}
3254impl From<crate::operation::put_remediation_configurations::PutRemediationConfigurationsError> for Error {
3255    fn from(err: crate::operation::put_remediation_configurations::PutRemediationConfigurationsError) -> Self {
3256        match err {
3257            crate::operation::put_remediation_configurations::PutRemediationConfigurationsError::InsufficientPermissionsException(inner) => {
3258                Error::InsufficientPermissionsException(inner)
3259            }
3260            crate::operation::put_remediation_configurations::PutRemediationConfigurationsError::InvalidParameterValueException(inner) => {
3261                Error::InvalidParameterValueException(inner)
3262            }
3263            crate::operation::put_remediation_configurations::PutRemediationConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
3264        }
3265    }
3266}
3267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_remediation_exceptions::PutRemediationExceptionsError, R>>
3268    for Error
3269where
3270    R: Send + Sync + std::fmt::Debug + 'static,
3271{
3272    fn from(
3273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_remediation_exceptions::PutRemediationExceptionsError, R>,
3274    ) -> Self {
3275        match err {
3276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3279                source: err.into(),
3280            }),
3281        }
3282    }
3283}
3284impl From<crate::operation::put_remediation_exceptions::PutRemediationExceptionsError> for Error {
3285    fn from(err: crate::operation::put_remediation_exceptions::PutRemediationExceptionsError) -> Self {
3286        match err {
3287            crate::operation::put_remediation_exceptions::PutRemediationExceptionsError::InsufficientPermissionsException(inner) => {
3288                Error::InsufficientPermissionsException(inner)
3289            }
3290            crate::operation::put_remediation_exceptions::PutRemediationExceptionsError::InvalidParameterValueException(inner) => {
3291                Error::InvalidParameterValueException(inner)
3292            }
3293            crate::operation::put_remediation_exceptions::PutRemediationExceptionsError::Unhandled(inner) => Error::Unhandled(inner),
3294        }
3295    }
3296}
3297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_config::PutResourceConfigError, R>> for Error
3298where
3299    R: Send + Sync + std::fmt::Debug + 'static,
3300{
3301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_config::PutResourceConfigError, R>) -> Self {
3302        match err {
3303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3306                source: err.into(),
3307            }),
3308        }
3309    }
3310}
3311impl From<crate::operation::put_resource_config::PutResourceConfigError> for Error {
3312    fn from(err: crate::operation::put_resource_config::PutResourceConfigError) -> Self {
3313        match err {
3314            crate::operation::put_resource_config::PutResourceConfigError::InsufficientPermissionsException(inner) => {
3315                Error::InsufficientPermissionsException(inner)
3316            }
3317            crate::operation::put_resource_config::PutResourceConfigError::MaxActiveResourcesExceededException(inner) => {
3318                Error::MaxActiveResourcesExceededException(inner)
3319            }
3320            crate::operation::put_resource_config::PutResourceConfigError::NoRunningConfigurationRecorderException(inner) => {
3321                Error::NoRunningConfigurationRecorderException(inner)
3322            }
3323            crate::operation::put_resource_config::PutResourceConfigError::ValidationException(inner) => Error::ValidationException(inner),
3324            crate::operation::put_resource_config::PutResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
3325        }
3326    }
3327}
3328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_retention_configuration::PutRetentionConfigurationError, R>>
3329    for Error
3330where
3331    R: Send + Sync + std::fmt::Debug + 'static,
3332{
3333    fn from(
3334        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_retention_configuration::PutRetentionConfigurationError, R>,
3335    ) -> Self {
3336        match err {
3337            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3338            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3339                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3340                source: err.into(),
3341            }),
3342        }
3343    }
3344}
3345impl From<crate::operation::put_retention_configuration::PutRetentionConfigurationError> for Error {
3346    fn from(err: crate::operation::put_retention_configuration::PutRetentionConfigurationError) -> Self {
3347        match err {
3348            crate::operation::put_retention_configuration::PutRetentionConfigurationError::InvalidParameterValueException(inner) => {
3349                Error::InvalidParameterValueException(inner)
3350            }
3351            crate::operation::put_retention_configuration::PutRetentionConfigurationError::MaxNumberOfRetentionConfigurationsExceededException(
3352                inner,
3353            ) => Error::MaxNumberOfRetentionConfigurationsExceededException(inner),
3354            crate::operation::put_retention_configuration::PutRetentionConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3355        }
3356    }
3357}
3358impl<R>
3359    From<
3360        ::aws_smithy_runtime_api::client::result::SdkError<
3361            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError,
3362            R,
3363        >,
3364    > for Error
3365where
3366    R: Send + Sync + std::fmt::Debug + 'static,
3367{
3368    fn from(
3369        err: ::aws_smithy_runtime_api::client::result::SdkError<
3370            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError,
3371            R,
3372        >,
3373    ) -> Self {
3374        match err {
3375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3378                source: err.into(),
3379            }),
3380        }
3381    }
3382}
3383impl From<crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError> for Error {
3384    fn from(err: crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError) -> Self {
3385        match err {
3386            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError::ConflictException(inner) => Error::ConflictException(inner),
3387            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError::InsufficientPermissionsException(inner) => Error::InsufficientPermissionsException(inner),
3388            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError::LimitExceededException(inner) => Error::LimitExceededException(inner),
3389            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError::ValidationException(inner) => Error::ValidationException(inner),
3390            crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError::Unhandled(inner) => Error::Unhandled(inner),
3391        }
3392    }
3393}
3394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_stored_query::PutStoredQueryError, R>> for Error
3395where
3396    R: Send + Sync + std::fmt::Debug + 'static,
3397{
3398    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_stored_query::PutStoredQueryError, R>) -> Self {
3399        match err {
3400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3403                source: err.into(),
3404            }),
3405        }
3406    }
3407}
3408impl From<crate::operation::put_stored_query::PutStoredQueryError> for Error {
3409    fn from(err: crate::operation::put_stored_query::PutStoredQueryError) -> Self {
3410        match err {
3411            crate::operation::put_stored_query::PutStoredQueryError::ResourceConcurrentModificationException(inner) => {
3412                Error::ResourceConcurrentModificationException(inner)
3413            }
3414            crate::operation::put_stored_query::PutStoredQueryError::TooManyTagsException(inner) => Error::TooManyTagsException(inner),
3415            crate::operation::put_stored_query::PutStoredQueryError::ValidationException(inner) => Error::ValidationException(inner),
3416            crate::operation::put_stored_query::PutStoredQueryError::Unhandled(inner) => Error::Unhandled(inner),
3417        }
3418    }
3419}
3420impl<R>
3421    From<
3422        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError, R>,
3423    > for Error
3424where
3425    R: Send + Sync + std::fmt::Debug + 'static,
3426{
3427    fn from(
3428        err: ::aws_smithy_runtime_api::client::result::SdkError<
3429            crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError,
3430            R,
3431        >,
3432    ) -> Self {
3433        match err {
3434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3437                source: err.into(),
3438            }),
3439        }
3440    }
3441}
3442impl From<crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError> for Error {
3443    fn from(err: crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError) -> Self {
3444        match err {
3445            crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError::InvalidExpressionException(inner) => {
3446                Error::InvalidExpressionException(inner)
3447            }
3448            crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError::InvalidLimitException(inner) => {
3449                Error::InvalidLimitException(inner)
3450            }
3451            crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError::InvalidNextTokenException(inner) => {
3452                Error::InvalidNextTokenException(inner)
3453            }
3454            crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError::NoSuchConfigurationAggregatorException(inner) => {
3455                Error::NoSuchConfigurationAggregatorException(inner)
3456            }
3457            crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
3458        }
3459    }
3460}
3461impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::select_resource_config::SelectResourceConfigError, R>> for Error
3462where
3463    R: Send + Sync + std::fmt::Debug + 'static,
3464{
3465    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::select_resource_config::SelectResourceConfigError, R>) -> Self {
3466        match err {
3467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3470                source: err.into(),
3471            }),
3472        }
3473    }
3474}
3475impl From<crate::operation::select_resource_config::SelectResourceConfigError> for Error {
3476    fn from(err: crate::operation::select_resource_config::SelectResourceConfigError) -> Self {
3477        match err {
3478            crate::operation::select_resource_config::SelectResourceConfigError::InvalidExpressionException(inner) => {
3479                Error::InvalidExpressionException(inner)
3480            }
3481            crate::operation::select_resource_config::SelectResourceConfigError::InvalidLimitException(inner) => Error::InvalidLimitException(inner),
3482            crate::operation::select_resource_config::SelectResourceConfigError::InvalidNextTokenException(inner) => {
3483                Error::InvalidNextTokenException(inner)
3484            }
3485            crate::operation::select_resource_config::SelectResourceConfigError::Unhandled(inner) => Error::Unhandled(inner),
3486        }
3487    }
3488}
3489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError, R>>
3490    for Error
3491where
3492    R: Send + Sync + std::fmt::Debug + 'static,
3493{
3494    fn from(
3495        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError, R>,
3496    ) -> Self {
3497        match err {
3498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3501                source: err.into(),
3502            }),
3503        }
3504    }
3505}
3506impl From<crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError> for Error {
3507    fn from(err: crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError) -> Self {
3508        match err {
3509            crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError::InvalidParameterValueException(inner) => {
3510                Error::InvalidParameterValueException(inner)
3511            }
3512            crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError::LimitExceededException(inner) => {
3513                Error::LimitExceededException(inner)
3514            }
3515            crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError::NoSuchConfigRuleException(inner) => {
3516                Error::NoSuchConfigRuleException(inner)
3517            }
3518            crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError::ResourceInUseException(inner) => {
3519                Error::ResourceInUseException(inner)
3520            }
3521            crate::operation::start_config_rules_evaluation::StartConfigRulesEvaluationError::Unhandled(inner) => Error::Unhandled(inner),
3522        }
3523    }
3524}
3525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_configuration_recorder::StartConfigurationRecorderError, R>>
3526    for Error
3527where
3528    R: Send + Sync + std::fmt::Debug + 'static,
3529{
3530    fn from(
3531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_configuration_recorder::StartConfigurationRecorderError, R>,
3532    ) -> Self {
3533        match err {
3534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3537                source: err.into(),
3538            }),
3539        }
3540    }
3541}
3542impl From<crate::operation::start_configuration_recorder::StartConfigurationRecorderError> for Error {
3543    fn from(err: crate::operation::start_configuration_recorder::StartConfigurationRecorderError) -> Self {
3544        match err {
3545            crate::operation::start_configuration_recorder::StartConfigurationRecorderError::NoAvailableDeliveryChannelException(inner) => {
3546                Error::NoAvailableDeliveryChannelException(inner)
3547            }
3548            crate::operation::start_configuration_recorder::StartConfigurationRecorderError::NoSuchConfigurationRecorderException(inner) => {
3549                Error::NoSuchConfigurationRecorderException(inner)
3550            }
3551            crate::operation::start_configuration_recorder::StartConfigurationRecorderError::UnmodifiableEntityException(inner) => {
3552                Error::UnmodifiableEntityException(inner)
3553            }
3554            crate::operation::start_configuration_recorder::StartConfigurationRecorderError::Unhandled(inner) => Error::Unhandled(inner),
3555        }
3556    }
3557}
3558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_remediation_execution::StartRemediationExecutionError, R>>
3559    for Error
3560where
3561    R: Send + Sync + std::fmt::Debug + 'static,
3562{
3563    fn from(
3564        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_remediation_execution::StartRemediationExecutionError, R>,
3565    ) -> Self {
3566        match err {
3567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3570                source: err.into(),
3571            }),
3572        }
3573    }
3574}
3575impl From<crate::operation::start_remediation_execution::StartRemediationExecutionError> for Error {
3576    fn from(err: crate::operation::start_remediation_execution::StartRemediationExecutionError) -> Self {
3577        match err {
3578            crate::operation::start_remediation_execution::StartRemediationExecutionError::InsufficientPermissionsException(inner) => {
3579                Error::InsufficientPermissionsException(inner)
3580            }
3581            crate::operation::start_remediation_execution::StartRemediationExecutionError::InvalidParameterValueException(inner) => {
3582                Error::InvalidParameterValueException(inner)
3583            }
3584            crate::operation::start_remediation_execution::StartRemediationExecutionError::NoSuchRemediationConfigurationException(inner) => {
3585                Error::NoSuchRemediationConfigurationException(inner)
3586            }
3587            crate::operation::start_remediation_execution::StartRemediationExecutionError::Unhandled(inner) => Error::Unhandled(inner),
3588        }
3589    }
3590}
3591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_resource_evaluation::StartResourceEvaluationError, R>>
3592    for Error
3593where
3594    R: Send + Sync + std::fmt::Debug + 'static,
3595{
3596    fn from(
3597        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_resource_evaluation::StartResourceEvaluationError, R>,
3598    ) -> Self {
3599        match err {
3600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3603                source: err.into(),
3604            }),
3605        }
3606    }
3607}
3608impl From<crate::operation::start_resource_evaluation::StartResourceEvaluationError> for Error {
3609    fn from(err: crate::operation::start_resource_evaluation::StartResourceEvaluationError) -> Self {
3610        match err {
3611            crate::operation::start_resource_evaluation::StartResourceEvaluationError::IdempotentParameterMismatch(inner) => {
3612                Error::IdempotentParameterMismatch(inner)
3613            }
3614            crate::operation::start_resource_evaluation::StartResourceEvaluationError::InvalidParameterValueException(inner) => {
3615                Error::InvalidParameterValueException(inner)
3616            }
3617            crate::operation::start_resource_evaluation::StartResourceEvaluationError::Unhandled(inner) => Error::Unhandled(inner),
3618        }
3619    }
3620}
3621impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_configuration_recorder::StopConfigurationRecorderError, R>>
3622    for Error
3623where
3624    R: Send + Sync + std::fmt::Debug + 'static,
3625{
3626    fn from(
3627        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_configuration_recorder::StopConfigurationRecorderError, R>,
3628    ) -> Self {
3629        match err {
3630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3633                source: err.into(),
3634            }),
3635        }
3636    }
3637}
3638impl From<crate::operation::stop_configuration_recorder::StopConfigurationRecorderError> for Error {
3639    fn from(err: crate::operation::stop_configuration_recorder::StopConfigurationRecorderError) -> Self {
3640        match err {
3641            crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::NoSuchConfigurationRecorderException(inner) => {
3642                Error::NoSuchConfigurationRecorderException(inner)
3643            }
3644            crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::UnmodifiableEntityException(inner) => {
3645                Error::UnmodifiableEntityException(inner)
3646            }
3647            crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::Unhandled(inner) => Error::Unhandled(inner),
3648        }
3649    }
3650}
3651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
3652where
3653    R: Send + Sync + std::fmt::Debug + 'static,
3654{
3655    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
3656        match err {
3657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3660                source: err.into(),
3661            }),
3662        }
3663    }
3664}
3665impl From<crate::operation::tag_resource::TagResourceError> for Error {
3666    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
3667        match err {
3668            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3669            crate::operation::tag_resource::TagResourceError::TooManyTagsException(inner) => Error::TooManyTagsException(inner),
3670            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
3671            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
3672        }
3673    }
3674}
3675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
3676where
3677    R: Send + Sync + std::fmt::Debug + 'static,
3678{
3679    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
3680        match err {
3681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3684                source: err.into(),
3685            }),
3686        }
3687    }
3688}
3689impl From<crate::operation::untag_resource::UntagResourceError> for Error {
3690    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
3691        match err {
3692            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3693            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
3694            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
3695        }
3696    }
3697}
3698impl ::std::error::Error for Error {
3699    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
3700        match self {
3701            Error::ConflictException(inner) => inner.source(),
3702            Error::ConformancePackTemplateValidationException(inner) => inner.source(),
3703            Error::IdempotentParameterMismatch(inner) => inner.source(),
3704            Error::InsufficientDeliveryPolicyException(inner) => inner.source(),
3705            Error::InsufficientPermissionsException(inner) => inner.source(),
3706            Error::InvalidConfigurationRecorderNameException(inner) => inner.source(),
3707            Error::InvalidDeliveryChannelNameException(inner) => inner.source(),
3708            Error::InvalidExpressionException(inner) => inner.source(),
3709            Error::InvalidLimitException(inner) => inner.source(),
3710            Error::InvalidNextTokenException(inner) => inner.source(),
3711            Error::InvalidParameterValueException(inner) => inner.source(),
3712            Error::InvalidRecordingGroupException(inner) => inner.source(),
3713            Error::InvalidResultTokenException(inner) => inner.source(),
3714            Error::InvalidRoleException(inner) => inner.source(),
3715            Error::InvalidS3KeyPrefixException(inner) => inner.source(),
3716            Error::InvalidS3KmsKeyArnException(inner) => inner.source(),
3717            Error::InvalidSnsTopicArnException(inner) => inner.source(),
3718            Error::InvalidTimeRangeException(inner) => inner.source(),
3719            Error::LastDeliveryChannelDeleteFailedException(inner) => inner.source(),
3720            Error::LimitExceededException(inner) => inner.source(),
3721            Error::MaxActiveResourcesExceededException(inner) => inner.source(),
3722            Error::MaxNumberOfConfigRulesExceededException(inner) => inner.source(),
3723            Error::MaxNumberOfConfigurationRecordersExceededException(inner) => inner.source(),
3724            Error::MaxNumberOfConformancePacksExceededException(inner) => inner.source(),
3725            Error::MaxNumberOfDeliveryChannelsExceededException(inner) => inner.source(),
3726            Error::MaxNumberOfOrganizationConfigRulesExceededException(inner) => inner.source(),
3727            Error::MaxNumberOfOrganizationConformancePacksExceededException(inner) => inner.source(),
3728            Error::MaxNumberOfRetentionConfigurationsExceededException(inner) => inner.source(),
3729            Error::NoAvailableConfigurationRecorderException(inner) => inner.source(),
3730            Error::NoAvailableDeliveryChannelException(inner) => inner.source(),
3731            Error::NoAvailableOrganizationException(inner) => inner.source(),
3732            Error::NoRunningConfigurationRecorderException(inner) => inner.source(),
3733            Error::NoSuchBucketException(inner) => inner.source(),
3734            Error::NoSuchConfigRuleException(inner) => inner.source(),
3735            Error::NoSuchConfigRuleInConformancePackException(inner) => inner.source(),
3736            Error::NoSuchConfigurationAggregatorException(inner) => inner.source(),
3737            Error::NoSuchConfigurationRecorderException(inner) => inner.source(),
3738            Error::NoSuchConformancePackException(inner) => inner.source(),
3739            Error::NoSuchDeliveryChannelException(inner) => inner.source(),
3740            Error::NoSuchOrganizationConfigRuleException(inner) => inner.source(),
3741            Error::NoSuchOrganizationConformancePackException(inner) => inner.source(),
3742            Error::NoSuchRemediationConfigurationException(inner) => inner.source(),
3743            Error::NoSuchRemediationExceptionException(inner) => inner.source(),
3744            Error::NoSuchRetentionConfigurationException(inner) => inner.source(),
3745            Error::OrganizationAccessDeniedException(inner) => inner.source(),
3746            Error::OrganizationAllFeaturesNotEnabledException(inner) => inner.source(),
3747            Error::OrganizationConformancePackTemplateValidationException(inner) => inner.source(),
3748            Error::OversizedConfigurationItemException(inner) => inner.source(),
3749            Error::RemediationInProgressException(inner) => inner.source(),
3750            Error::ResourceConcurrentModificationException(inner) => inner.source(),
3751            Error::ResourceInUseException(inner) => inner.source(),
3752            Error::ResourceNotDiscoveredException(inner) => inner.source(),
3753            Error::ResourceNotFoundException(inner) => inner.source(),
3754            Error::TooManyTagsException(inner) => inner.source(),
3755            Error::UnmodifiableEntityException(inner) => inner.source(),
3756            Error::ValidationException(inner) => inner.source(),
3757            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
3758        }
3759    }
3760}
3761impl ::aws_types::request_id::RequestId for Error {
3762    fn request_id(&self) -> Option<&str> {
3763        match self {
3764            Self::ConflictException(e) => e.request_id(),
3765            Self::ConformancePackTemplateValidationException(e) => e.request_id(),
3766            Self::IdempotentParameterMismatch(e) => e.request_id(),
3767            Self::InsufficientDeliveryPolicyException(e) => e.request_id(),
3768            Self::InsufficientPermissionsException(e) => e.request_id(),
3769            Self::InvalidConfigurationRecorderNameException(e) => e.request_id(),
3770            Self::InvalidDeliveryChannelNameException(e) => e.request_id(),
3771            Self::InvalidExpressionException(e) => e.request_id(),
3772            Self::InvalidLimitException(e) => e.request_id(),
3773            Self::InvalidNextTokenException(e) => e.request_id(),
3774            Self::InvalidParameterValueException(e) => e.request_id(),
3775            Self::InvalidRecordingGroupException(e) => e.request_id(),
3776            Self::InvalidResultTokenException(e) => e.request_id(),
3777            Self::InvalidRoleException(e) => e.request_id(),
3778            Self::InvalidS3KeyPrefixException(e) => e.request_id(),
3779            Self::InvalidS3KmsKeyArnException(e) => e.request_id(),
3780            Self::InvalidSnsTopicArnException(e) => e.request_id(),
3781            Self::InvalidTimeRangeException(e) => e.request_id(),
3782            Self::LastDeliveryChannelDeleteFailedException(e) => e.request_id(),
3783            Self::LimitExceededException(e) => e.request_id(),
3784            Self::MaxActiveResourcesExceededException(e) => e.request_id(),
3785            Self::MaxNumberOfConfigRulesExceededException(e) => e.request_id(),
3786            Self::MaxNumberOfConfigurationRecordersExceededException(e) => e.request_id(),
3787            Self::MaxNumberOfConformancePacksExceededException(e) => e.request_id(),
3788            Self::MaxNumberOfDeliveryChannelsExceededException(e) => e.request_id(),
3789            Self::MaxNumberOfOrganizationConfigRulesExceededException(e) => e.request_id(),
3790            Self::MaxNumberOfOrganizationConformancePacksExceededException(e) => e.request_id(),
3791            Self::MaxNumberOfRetentionConfigurationsExceededException(e) => e.request_id(),
3792            Self::NoAvailableConfigurationRecorderException(e) => e.request_id(),
3793            Self::NoAvailableDeliveryChannelException(e) => e.request_id(),
3794            Self::NoAvailableOrganizationException(e) => e.request_id(),
3795            Self::NoRunningConfigurationRecorderException(e) => e.request_id(),
3796            Self::NoSuchBucketException(e) => e.request_id(),
3797            Self::NoSuchConfigRuleException(e) => e.request_id(),
3798            Self::NoSuchConfigRuleInConformancePackException(e) => e.request_id(),
3799            Self::NoSuchConfigurationAggregatorException(e) => e.request_id(),
3800            Self::NoSuchConfigurationRecorderException(e) => e.request_id(),
3801            Self::NoSuchConformancePackException(e) => e.request_id(),
3802            Self::NoSuchDeliveryChannelException(e) => e.request_id(),
3803            Self::NoSuchOrganizationConfigRuleException(e) => e.request_id(),
3804            Self::NoSuchOrganizationConformancePackException(e) => e.request_id(),
3805            Self::NoSuchRemediationConfigurationException(e) => e.request_id(),
3806            Self::NoSuchRemediationExceptionException(e) => e.request_id(),
3807            Self::NoSuchRetentionConfigurationException(e) => e.request_id(),
3808            Self::OrganizationAccessDeniedException(e) => e.request_id(),
3809            Self::OrganizationAllFeaturesNotEnabledException(e) => e.request_id(),
3810            Self::OrganizationConformancePackTemplateValidationException(e) => e.request_id(),
3811            Self::OversizedConfigurationItemException(e) => e.request_id(),
3812            Self::RemediationInProgressException(e) => e.request_id(),
3813            Self::ResourceConcurrentModificationException(e) => e.request_id(),
3814            Self::ResourceInUseException(e) => e.request_id(),
3815            Self::ResourceNotDiscoveredException(e) => e.request_id(),
3816            Self::ResourceNotFoundException(e) => e.request_id(),
3817            Self::TooManyTagsException(e) => e.request_id(),
3818            Self::UnmodifiableEntityException(e) => e.request_id(),
3819            Self::ValidationException(e) => e.request_id(),
3820            Self::Unhandled(e) => e.meta.request_id(),
3821        }
3822    }
3823}