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)]
|
5 + | pub enum Error {
|
6 + | /// <p>The requester doesn't have permissions to perform the requested operation.</p>
|
7 + | AccessDeniedException(crate::types::error::AccessDeniedException),
|
8 + | /// <p>Error returned if an attempt is made to register a patch group with a patch baseline that is already registered with a different patch baseline.</p>
|
9 + | AlreadyExistsException(crate::types::error::AlreadyExistsException),
|
10 + | /// <p>You must disassociate a document from all managed nodes before you can delete it.</p>
|
11 + | AssociatedInstances(crate::types::error::AssociatedInstances),
|
12 + | /// <p>The specified association already exists.</p>
|
13 + | AssociationAlreadyExists(crate::types::error::AssociationAlreadyExists),
|
14 + | /// <p>The specified association doesn't exist.</p>
|
15 + | AssociationDoesNotExist(crate::types::error::AssociationDoesNotExist),
|
16 + | /// <p>The specified execution ID doesn't exist. Verify the ID number and try again.</p>
|
17 + | AssociationExecutionDoesNotExist(crate::types::error::AssociationExecutionDoesNotExist),
|
18 + | /// <p>You can have at most 2,000 active associations.</p>
|
19 + | AssociationLimitExceeded(crate::types::error::AssociationLimitExceeded),
|
20 + | /// <p>You have reached the maximum number versions allowed for an association. Each association has a limit of 1,000 versions.</p>
|
21 + | AssociationVersionLimitExceeded(crate::types::error::AssociationVersionLimitExceeded),
|
22 + | /// <p>Indicates that the Change Manager change template used in the change request was rejected or is still in a pending state.</p>
|
23 + | AutomationDefinitionNotApprovedException(crate::types::error::AutomationDefinitionNotApprovedException),
|
24 + | /// <p>An Automation runbook with the specified name couldn't be found.</p>
|
25 + | AutomationDefinitionNotFoundException(crate::types::error::AutomationDefinitionNotFoundException),
|
26 + | /// <p>An Automation runbook with the specified name and version couldn't be found.</p>
|
27 + | AutomationDefinitionVersionNotFoundException(crate::types::error::AutomationDefinitionVersionNotFoundException),
|
28 + | /// <p>The number of simultaneously running Automation executions exceeded the allowable limit.</p>
|
29 + | AutomationExecutionLimitExceededException(crate::types::error::AutomationExecutionLimitExceededException),
|
30 + | /// <p>There is no automation execution information for the requested automation execution ID.</p>
|
31 + | AutomationExecutionNotFoundException(crate::types::error::AutomationExecutionNotFoundException),
|
32 + | /// <p>The specified step name and execution ID don't exist. Verify the information and try again.</p>
|
33 + | AutomationStepNotFoundException(crate::types::error::AutomationStepNotFoundException),
|
34 + | /// <p>You specified too many custom compliance types. You can specify a maximum of 10 different types.</p>
|
35 + | ComplianceTypeCountLimitExceededException(crate::types::error::ComplianceTypeCountLimitExceededException),
|
36 + | /// <p>An error occurred because of a conflict with a concurrent request or the current state of the resource. Retry your request.</p>
|
37 + | ConflictException(crate::types::error::ConflictException),
|
38 + | /// <p>You have exceeded the limit for custom schemas. Delete one or more custom schemas and try again.</p>
|
39 + | CustomSchemaCountLimitExceededException(crate::types::error::CustomSchemaCountLimitExceededException),
|
40 + | /// <p>The specified document already exists.</p>
|
41 + | DocumentAlreadyExists(crate::types::error::DocumentAlreadyExists),
|
42 + | /// <p>You can have at most 500 active SSM documents.</p>
|
43 + | DocumentLimitExceeded(crate::types::error::DocumentLimitExceeded),
|
44 + | /// <p>The document can't be shared with more Amazon Web Services accounts. You can specify a maximum of 20 accounts per API operation to share a private document.</p>
|
45 + | /// <p>By default, you can share a private document with a maximum of 1,000 accounts and publicly share up to five documents.</p>
|
46 + | /// <p>If you need to increase the quota for privately or publicly shared Systems Manager documents, contact Amazon Web Services Support.</p>
|
47 + | DocumentPermissionLimit(crate::types::error::DocumentPermissionLimit),
|
48 + | /// <p>The document has too many versions. Delete one or more document versions and try again.</p>
|
49 + | DocumentVersionLimitExceeded(crate::types::error::DocumentVersionLimitExceeded),
|
50 + | /// <p>Error returned when the ID specified for a resource, such as a maintenance window or patch baseline, doesn't exist.</p>
|
51 + | /// <p>For information about resource quotas in Amazon Web Services Systems Manager, see <a href="https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm">Systems Manager service quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
52 + | DoesNotExistException(crate::types::error::DoesNotExistException),
|
53 + | /// <p>The content of the association document matches another document. Change the content of the document and try again.</p>
|
54 + | DuplicateDocumentContent(crate::types::error::DuplicateDocumentContent),
|
55 + | /// <p>The version name has already been used in this document. Specify a different version name, and then try again.</p>
|
56 + | DuplicateDocumentVersionName(crate::types::error::DuplicateDocumentVersionName),
|
57 + | /// <p>You can't specify a managed node ID in more than one association.</p>
|
58 + | DuplicateInstanceId(crate::types::error::DuplicateInstanceId),
|
59 + | /// <p>You attempted to register a <code>LAMBDA</code> or <code>STEP_FUNCTIONS</code> task in a region where the corresponding service isn't available.</p>
|
60 + | FeatureNotAvailableException(crate::types::error::FeatureNotAvailableException),
|
61 + | /// <p>A hierarchy can have a maximum of 15 levels. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html">Requirements and constraints for parameter names</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
62 + | HierarchyLevelLimitExceededException(crate::types::error::HierarchyLevelLimitExceededException),
|
63 + | /// <p>Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you can't change a parameter from a <code>String</code> type to a <code>SecureString</code> type. You must create a new, unique parameter.</p>
|
64 + | HierarchyTypeMismatchException(crate::types::error::HierarchyTypeMismatchException),
|
65 + | /// <p>Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.</p>
|
66 + | IdempotentParameterMismatch(crate::types::error::IdempotentParameterMismatch),
|
67 + | /// <p>There is a conflict in the policies specified for this parameter. You can't, for example, specify two Expiration policies for a parameter. Review your policies, and try again.</p>
|
68 + | IncompatiblePolicyException(crate::types::error::IncompatiblePolicyException),
|
69 + | /// <p>An error occurred on the server side.</p>
|
70 + | InternalServerError(crate::types::error::InternalServerError),
|
71 + | /// <p>The activation isn't valid. The activation might have been deleted, or the ActivationId and the ActivationCode don't match.</p>
|
72 + | InvalidActivation(crate::types::error::InvalidActivation),
|
73 + | /// <p>The activation ID isn't valid. Verify that you entered the correct ActivationId or ActivationCode and try again.</p>
|
74 + | InvalidActivationId(crate::types::error::InvalidActivationId),
|
75 + | /// <p>The specified aggregator isn't valid for the group type. Verify that the aggregator you provided is supported.</p>
|
76 + | InvalidAggregatorException(crate::types::error::InvalidAggregatorException),
|
77 + | /// <p>The request doesn't meet the regular expression requirement.</p>
|
78 + | InvalidAllowedPatternException(crate::types::error::InvalidAllowedPatternException),
|
79 + | /// <p>The association isn't valid or doesn't exist.</p>
|
80 + | InvalidAssociation(crate::types::error::InvalidAssociation),
|
81 + | /// <p>The version you specified isn't valid. Use ListAssociationVersions to view all versions of an association according to the association ID. Or, use the <code>$LATEST</code> parameter to view the latest version of the association.</p>
|
82 + | InvalidAssociationVersion(crate::types::error::InvalidAssociationVersion),
|
83 + | /// <p>The supplied parameters for invoking the specified Automation runbook are incorrect. For example, they may not match the set of parameters permitted for the specified Automation document.</p>
|
84 + | InvalidAutomationExecutionParametersException(crate::types::error::InvalidAutomationExecutionParametersException),
|
85 + | /// <p>The signal isn't valid for the current Automation execution.</p>
|
86 + | InvalidAutomationSignalException(crate::types::error::InvalidAutomationSignalException),
|
87 + | /// <p>The specified update status operation isn't valid.</p>
|
88 + | InvalidAutomationStatusUpdateException(crate::types::error::InvalidAutomationStatusUpdateException),
|
89 + | /// <p>The specified command ID isn't valid. Verify the ID and try again.</p>
|
90 + | InvalidCommandId(crate::types::error::InvalidCommandId),
|
91 + | /// <p>One or more of the parameters specified for the delete operation isn't valid. Verify all parameters and try again.</p>
|
92 + | InvalidDeleteInventoryParametersException(crate::types::error::InvalidDeleteInventoryParametersException),
|
93 + | /// <p>The ID specified for the delete operation doesn't exist or isn't valid. Verify the ID and try again.</p>
|
94 + | InvalidDeletionIdException(crate::types::error::InvalidDeletionIdException),
|
95 + | /// <p>The specified SSM document doesn't exist.</p>
|
96 + | InvalidDocument(crate::types::error::InvalidDocument),
|
97 + | /// <p>The content for the document isn't valid.</p>
|
98 + | InvalidDocumentContent(crate::types::error::InvalidDocumentContent),
|
99 + | /// <p>You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.</p>
|
100 + | InvalidDocumentOperation(crate::types::error::InvalidDocumentOperation),
|
101 + | /// <p>The version of the document schema isn't supported.</p>
|
102 + | InvalidDocumentSchemaVersion(crate::types::error::InvalidDocumentSchemaVersion),
|
103 + | /// <p>The SSM document type isn't valid. Valid document types are described in the <code>DocumentType</code> property.</p>
|
104 + | InvalidDocumentType(crate::types::error::InvalidDocumentType),
|
105 + | /// <p>The document version isn't valid or doesn't exist.</p>
|
106 + | InvalidDocumentVersion(crate::types::error::InvalidDocumentVersion),
|
107 + | /// <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
108 + | InvalidFilter(crate::types::error::InvalidFilter),
|
109 + | /// <p>The specified key isn't valid.</p>
|
110 + | InvalidFilterKey(crate::types::error::InvalidFilterKey),
|
111 + | /// <p>The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.</p>
|
112 + | InvalidFilterOption(crate::types::error::InvalidFilterOption),
|
113 + | /// <p>The filter value isn't valid. Verify the value and try again.</p>
|
114 + | InvalidFilterValue(crate::types::error::InvalidFilterValue),
|
115 + | /// <p>The following problems can cause this exception:</p>
|
116 + | /// <ul>
|
117 + | /// <li>
|
118 + | /// <p>You don't have permission to access the managed node.</p></li>
|
119 + | /// <li>
|
120 + | /// <p>Amazon Web Services Systems Manager Agent (SSM Agent) isn't running. Verify that SSM Agent is running.</p></li>
|
121 + | /// <li>
|
122 + | /// <p>SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.</p></li>
|
123 + | /// <li>
|
124 + | /// <p>The managed node isn't in a valid state. Valid states are: <code>Running</code>, <code>Pending</code>, <code>Stopped</code>, and <code>Stopping</code>. Invalid states are: <code>Shutting-down</code> and <code>Terminated</code>.</p></li>
|
125 + | /// </ul>
|
126 + | InvalidInstanceId(crate::types::error::InvalidInstanceId),
|
127 + | /// <p>The specified filter value isn't valid.</p>
|
128 + | InvalidInstanceInformationFilterValue(crate::types::error::InvalidInstanceInformationFilterValue),
|
129 + | /// <p>The specified filter value isn't valid.</p>
|
130 + | InvalidInstancePropertyFilterValue(crate::types::error::InvalidInstancePropertyFilterValue),
|
131 + | /// <p>The specified inventory group isn't valid.</p>
|
132 + | InvalidInventoryGroupException(crate::types::error::InvalidInventoryGroupException),
|
133 + | /// <p>You specified invalid keys or values in the <code>Context</code> attribute for <code>InventoryItem</code>. Verify the keys and values, and try again.</p>
|
134 + | InvalidInventoryItemContextException(crate::types::error::InvalidInventoryItemContextException),
|
135 + | /// <p>The request isn't valid.</p>
|
136 + | InvalidInventoryRequestException(crate::types::error::InvalidInventoryRequestException),
|
137 + | /// <p>One or more content items isn't valid.</p>
|
138 + | InvalidItemContentException(crate::types::error::InvalidItemContentException),
|
139 + | /// <p>The query key ID isn't valid.</p>
|
140 + | InvalidKeyId(crate::types::error::InvalidKeyId),
|
141 + | /// <p>The specified token isn't valid.</p>
|
142 + | InvalidNextToken(crate::types::error::InvalidNextToken),
|
143 + | /// <p>One or more configuration items isn't valid. Verify that a valid Amazon Resource Name (ARN) was provided for an Amazon Simple Notification Service topic.</p>
|
144 + | InvalidNotificationConfig(crate::types::error::InvalidNotificationConfig),
|
145 + | /// <p>The delete inventory option specified isn't valid. Verify the option and try again.</p>
|
146 + | InvalidOptionException(crate::types::error::InvalidOptionException),
|
147 + | /// <p>The S3 bucket doesn't exist.</p>
|
148 + | InvalidOutputFolder(crate::types::error::InvalidOutputFolder),
|
149 + | /// <p>The output location isn't valid or doesn't exist.</p>
|
150 + | InvalidOutputLocation(crate::types::error::InvalidOutputLocation),
|
151 + | /// <p>You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM document). You can only supply values to parameters defined in the SSM document.</p>
|
152 + | InvalidParameters(crate::types::error::InvalidParameters),
|
153 + | /// <p>The permission type isn't supported. <i>Share</i> is the only supported permission type.</p>
|
154 + | InvalidPermissionType(crate::types::error::InvalidPermissionType),
|
155 + | /// <p>The plugin name isn't valid.</p>
|
156 + | InvalidPluginName(crate::types::error::InvalidPluginName),
|
157 + | /// <p>A policy attribute or its value is invalid.</p>
|
158 + | InvalidPolicyAttributeException(crate::types::error::InvalidPolicyAttributeException),
|
159 + | /// <p>The policy type isn't supported. Parameter Store supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.</p>
|
160 + | InvalidPolicyTypeException(crate::types::error::InvalidPolicyTypeException),
|
161 + | /// <p>The resource ID isn't valid. Verify that you entered the correct ID and try again.</p>
|
162 + | InvalidResourceId(crate::types::error::InvalidResourceId),
|
163 + | /// <p>The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, the instance must be a registered managed node.</p>
|
164 + | InvalidResourceType(crate::types::error::InvalidResourceType),
|
165 + | /// <p>The specified inventory item result attribute isn't valid.</p>
|
166 + | InvalidResultAttributeException(crate::types::error::InvalidResultAttributeException),
|
167 + | /// <p>The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about configuring the IAM role for Run Command notifications, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html">Monitoring Systems Manager status changes using Amazon SNS notifications</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
168 + | InvalidRole(crate::types::error::InvalidRole),
|
169 + | /// <p>The schedule is invalid. Verify your cron or rate expression and try again.</p>
|
170 + | InvalidSchedule(crate::types::error::InvalidSchedule),
|
171 + | /// <p>The specified tag key or value isn't valid.</p>
|
172 + | InvalidTag(crate::types::error::InvalidTag),
|
173 + | /// <p>The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might not have permission to perform the operation.</p>
|
174 + | InvalidTarget(crate::types::error::InvalidTarget),
|
175 + | /// <p>TargetMap parameter isn't valid.</p>
|
176 + | InvalidTargetMaps(crate::types::error::InvalidTargetMaps),
|
177 + | /// <p>The parameter type name isn't valid.</p>
|
178 + | InvalidTypeNameException(crate::types::error::InvalidTypeNameException),
|
179 + | /// <p>The update isn't valid.</p>
|
180 + | InvalidUpdate(crate::types::error::InvalidUpdate),
|
181 + | /// <p>The command ID and managed node ID you specified didn't match any invocations. Verify the command ID and the managed node ID and try again.</p>
|
182 + | InvocationDoesNotExist(crate::types::error::InvocationDoesNotExist),
|
183 + | /// <p>The inventory item has invalid content.</p>
|
184 + | ItemContentMismatchException(crate::types::error::ItemContentMismatchException),
|
185 + | /// <p>The inventory item size has exceeded the size limit.</p>
|
186 + | ItemSizeLimitExceededException(crate::types::error::ItemSizeLimitExceededException),
|
187 + | /// <p>The specified policy document is malformed or invalid, or excessive <code>PutResourcePolicy</code> or <code>DeleteResourcePolicy</code> calls have been made.</p>
|
188 + | MalformedResourcePolicyDocumentException(crate::types::error::MalformedResourcePolicyDocumentException),
|
189 + | /// <p>The size limit of a document is 64 KB.</p>
|
190 + | MaxDocumentSizeExceeded(crate::types::error::MaxDocumentSizeExceeded),
|
191 + | /// <p>The requested operation is no longer supported by Systems Manager.</p>
|
192 + | NoLongerSupportedException(crate::types::error::NoLongerSupportedException),
|
193 + | /// <p>You don't have permission to view OpsItems in the specified account. Verify that your account is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations management account.</p>
|
194 + | OpsItemAccessDeniedException(crate::types::error::OpsItemAccessDeniedException),
|
195 + | /// <p>The OpsItem already exists.</p>
|
196 + | OpsItemAlreadyExistsException(crate::types::error::OpsItemAlreadyExistsException),
|
197 + | /// <p>The specified OpsItem is in the process of being deleted.</p>
|
198 + | OpsItemConflictException(crate::types::error::OpsItemConflictException),
|
199 + | /// <p>A specified parameter argument isn't valid. Verify the available arguments and try again.</p>
|
200 + | OpsItemInvalidParameterException(crate::types::error::OpsItemInvalidParameterException),
|
201 + | /// <p>The request caused OpsItems to exceed one or more quotas.</p>
|
202 + | OpsItemLimitExceededException(crate::types::error::OpsItemLimitExceededException),
|
203 + | /// <p>The specified OpsItem ID doesn't exist. Verify the ID and try again.</p>
|
204 + | OpsItemNotFoundException(crate::types::error::OpsItemNotFoundException),
|
205 + | /// <p>The Amazon Resource Name (ARN) is already associated with the OpsItem.</p>
|
206 + | OpsItemRelatedItemAlreadyExistsException(crate::types::error::OpsItemRelatedItemAlreadyExistsException),
|
207 + | /// <p>The association wasn't found using the parameters you specified in the call. Verify the information and try again.</p>
|
208 + | OpsItemRelatedItemAssociationNotFoundException(crate::types::error::OpsItemRelatedItemAssociationNotFoundException),
|
209 + | /// <p>An OpsMetadata object already exists for the selected resource.</p>
|
210 + | OpsMetadataAlreadyExistsException(crate::types::error::OpsMetadataAlreadyExistsException),
|
211 + | /// <p>One of the arguments passed is invalid.</p>
|
212 + | OpsMetadataInvalidArgumentException(crate::types::error::OpsMetadataInvalidArgumentException),
|
213 + | /// <p>The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to an application in Application Manager.</p>
|
214 + | OpsMetadataKeyLimitExceededException(crate::types::error::OpsMetadataKeyLimitExceededException),
|
215 + | /// <p>Your account reached the maximum number of OpsMetadata objects allowed by Application Manager. The maximum is 200 OpsMetadata objects. Delete one or more OpsMetadata object and try again.</p>
|
216 + | OpsMetadataLimitExceededException(crate::types::error::OpsMetadataLimitExceededException),
|
217 + | /// <p>The OpsMetadata object doesn't exist.</p>
|
218 + | OpsMetadataNotFoundException(crate::types::error::OpsMetadataNotFoundException),
|
219 + | /// <p>The system is processing too many concurrent updates. Wait a few moments and try again.</p>
|
220 + | OpsMetadataTooManyUpdatesException(crate::types::error::OpsMetadataTooManyUpdatesException),
|
221 + | /// <p>The parameter already exists. You can't create duplicate parameters.</p>
|
222 + | ParameterAlreadyExists(crate::types::error::ParameterAlreadyExists),
|
223 + | /// <p>You have exceeded the number of parameters for this Amazon Web Services account. Delete one or more parameters and try again.</p>
|
224 + | ParameterLimitExceeded(crate::types::error::ParameterLimitExceeded),
|
225 + | /// <p>Parameter Store retains the 100 most recently created versions of a parameter. After this number of versions has been created, Parameter Store deletes the oldest version when a new one is created. However, if the oldest version has a <i>label</i> attached to it, Parameter Store won't delete the version and instead presents this error message:</p>
|
226 + | /// <p><code>An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter operation: You attempted to create a new version of <i>parameter-name</i> by calling the PutParameter API with the overwrite flag. Version <i>version-number</i>, the oldest version, can't be deleted because it has a label associated with it. Move the label to another version of the parameter, and try again.</code></p>
|
227 + | /// <p>This safeguard is to prevent parameter versions with mission critical labels assigned to them from being deleted. To continue creating new parameters, first move the label from the oldest version of the parameter to a newer one for use in your operations. For information about moving parameter labels, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-console-move">Move a parameter label (console)</a> or <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-cli-move">Move a parameter label (CLI)</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
228 + | ParameterMaxVersionLimitExceeded(crate::types::error::ParameterMaxVersionLimitExceeded),
|
229 + | /// <p>The parameter couldn't be found. Verify the name and try again.</p><note>
|
230 + | /// <p>For the <code>DeleteParameter</code> and <code>GetParameter</code> actions, if the specified parameter doesn't exist, the <code>ParameterNotFound</code> exception is <i>not</i> recorded in CloudTrail event logs.</p>
|
231 + | /// </note>
|
232 + | ParameterNotFound(crate::types::error::ParameterNotFound),
|
233 + | /// <p>The parameter name isn't valid.</p>
|
234 + | ParameterPatternMismatchException(crate::types::error::ParameterPatternMismatchException),
|
235 + | /// <p>A parameter version can have a maximum of ten labels.</p>
|
236 + | ParameterVersionLabelLimitExceeded(crate::types::error::ParameterVersionLabelLimitExceeded),
|
237 + | /// <p>The specified parameter version wasn't found. Verify the parameter name and version, and try again.</p>
|
238 + | ParameterVersionNotFound(crate::types::error::ParameterVersionNotFound),
|
239 + | /// <p>You specified more than the maximum number of allowed policies for the parameter. The maximum is 10.</p>
|
240 + | PoliciesLimitExceededException(crate::types::error::PoliciesLimitExceededException),
|
241 + | /// <p>A sync configuration with the same name already exists.</p>
|
242 + | ResourceDataSyncAlreadyExistsException(crate::types::error::ResourceDataSyncAlreadyExistsException),
|
243 + | /// <p>Another <code>UpdateResourceDataSync</code> request is being processed. Wait a few minutes and try again.</p>
|
244 + | ResourceDataSyncConflictException(crate::types::error::ResourceDataSyncConflictException),
|
245 + | /// <p>You have exceeded the allowed maximum sync configurations.</p>
|
246 + | ResourceDataSyncCountExceededException(crate::types::error::ResourceDataSyncCountExceededException),
|
247 + | /// <p>The specified sync configuration is invalid.</p>
|
248 + | ResourceDataSyncInvalidConfigurationException(crate::types::error::ResourceDataSyncInvalidConfigurationException),
|
249 + | /// <p>The specified sync name wasn't found.</p>
|
250 + | ResourceDataSyncNotFoundException(crate::types::error::ResourceDataSyncNotFoundException),
|
251 + | /// <p>Error returned if an attempt is made to delete a patch baseline that is registered for a patch group.</p>
|
252 + | ResourceInUseException(crate::types::error::ResourceInUseException),
|
253 + | /// <p>Error returned when the caller has exceeded the default resource quotas. For example, too many maintenance windows or patch baselines have been created.</p>
|
254 + | /// <p>For information about resource quotas in Systems Manager, see <a href="https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm">Systems Manager service quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
255 + | ResourceLimitExceededException(crate::types::error::ResourceLimitExceededException),
|
256 + | /// <p>The specified parameter to be shared could not be found.</p>
|
257 + | ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
|
258 + | /// <p>The hash provided in the call doesn't match the stored hash. This exception is thrown when trying to update an obsolete policy version or when multiple requests to update a policy are sent.</p>
|
259 + | ResourcePolicyConflictException(crate::types::error::ResourcePolicyConflictException),
|
260 + | /// <p>One or more parameters specified for the call aren't valid. Verify the parameters and their values and try again.</p>
|
261 + | ResourcePolicyInvalidParameterException(crate::types::error::ResourcePolicyInvalidParameterException),
|
262 + | /// <p>The <code>PutResourcePolicy</code> API action enforces two limits. A policy can't be greater than 1024 bytes in size. And only one policy can be attached to <code>OpsItemGroup</code>. Verify these limits and try again.</p>
|
263 + | ResourcePolicyLimitExceededException(crate::types::error::ResourcePolicyLimitExceededException),
|
264 + | /// <p>No policies with the specified policy ID and hash could be found.</p>
|
265 + | ResourcePolicyNotFoundException(crate::types::error::ResourcePolicyNotFoundException),
|
266 + | /// <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.</p>
|
267 + | ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
|
268 + | /// <p>The specified service setting wasn't found. Either the service name or the setting hasn't been provisioned by the Amazon Web Services service team.</p>
|
269 + | ServiceSettingNotFound(crate::types::error::ServiceSettingNotFound),
|
270 + | /// <p>The updated status is the same as the current status.</p>
|
271 + | StatusUnchanged(crate::types::error::StatusUnchanged),
|
272 + | /// <p>The sub-type count exceeded the limit for the inventory type.</p>
|
273 + | SubTypeCountLimitExceededException(crate::types::error::SubTypeCountLimitExceededException),
|
274 + | /// <p>You specified the <code>Safe</code> option for the DeregisterTargetFromMaintenanceWindow operation, but the target is still referenced in a task.</p>
|
275 + | TargetInUseException(crate::types::error::TargetInUseException),
|
276 + | /// <p>The specified target managed node for the session isn't fully configured for use with Session Manager. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html">Setting up Session Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. This error is also returned if you attempt to start a session on a managed node that is located in a different account or Region</p>
|
277 + | TargetNotConnected(crate::types::error::TargetNotConnected),
|
278 + | /// <p>The request or operation couldn't be performed because the service is throttling requests.</p>
|
279 + | ThrottlingException(crate::types::error::ThrottlingException),
|
280 + | /// <p>The <code>Targets</code> parameter includes too many tags. Remove one or more tags and try the command again.</p>
|
281 + | TooManyTagsError(crate::types::error::TooManyTagsError),
|
282 + | /// <p>There are concurrent updates for a resource that supports one update at a time.</p>
|
283 + | TooManyUpdates(crate::types::error::TooManyUpdates),
|
284 + | /// <p>The size of inventory data has exceeded the total size limit for the resource.</p>
|
285 + | TotalSizeLimitExceededException(crate::types::error::TotalSizeLimitExceededException),
|
286 + | /// <p>The calendar entry contained in the specified SSM document isn't supported.</p>
|
287 + | UnsupportedCalendarException(crate::types::error::UnsupportedCalendarException),
|
288 + | /// <p>Patching for applications released by Microsoft is only available on EC2 instances and advanced instances. To patch applications released by Microsoft on on-premises servers and VMs, you must enable advanced instances. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances-advanced.html">Turning on the advanced-instances tier</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
289 + | UnsupportedFeatureRequiredException(crate::types::error::UnsupportedFeatureRequiredException),
|
290 + | /// <p>The <code>Context</code> attribute that you specified for the <code>InventoryItem</code> isn't allowed for this inventory type. You can only use the <code>Context</code> attribute with inventory types like <code>AWS:ComplianceItem</code>.</p>
|
291 + | UnsupportedInventoryItemContextException(crate::types::error::UnsupportedInventoryItemContextException),
|
292 + | /// <p>Inventory item type schema version has to match supported versions in the service. Check output of GetInventorySchema to see the available schema version for each type.</p>
|
293 + | UnsupportedInventorySchemaVersionException(crate::types::error::UnsupportedInventorySchemaVersionException),
|
294 + | /// <p>The operating systems you specified isn't supported, or the operation isn't supported for the operating system.</p>
|
295 + | UnsupportedOperatingSystem(crate::types::error::UnsupportedOperatingSystem),
|
296 + | /// <p>This operation is not supported for the current account. You must first enable the Systems Manager integrated experience in your account.</p>
|
297 + | UnsupportedOperationException(crate::types::error::UnsupportedOperationException),
|
298 + | /// <p>The parameter type isn't supported.</p>
|
299 + | UnsupportedParameterType(crate::types::error::UnsupportedParameterType),
|
300 + | /// <p>The document doesn't support the platform type of the given managed node IDs. For example, you sent an document for a Windows managed node to a Linux node.</p>
|
301 + | UnsupportedPlatformType(crate::types::error::UnsupportedPlatformType),
|
302 + | /// <p>The request isn't valid. Verify that you entered valid contents for the command and try again.</p>
|
303 + | ValidationException(crate::types::error::ValidationException),
|
304 + | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
305 + | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
306 + | variable wildcard pattern and check `.code()`:
|
307 + | \
|
308 + | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
309 + | \
|
310 + | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
|
311 + | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
312 + | }
|
313 + | impl ::std::fmt::Display for Error {
|
314 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
315 + | match self {
|
316 + | Error::AccessDeniedException(inner) => inner.fmt(f),
|
317 + | Error::AlreadyExistsException(inner) => inner.fmt(f),
|
318 + | Error::AssociatedInstances(inner) => inner.fmt(f),
|
319 + | Error::AssociationAlreadyExists(inner) => inner.fmt(f),
|
320 + | Error::AssociationDoesNotExist(inner) => inner.fmt(f),
|
321 + | Error::AssociationExecutionDoesNotExist(inner) => inner.fmt(f),
|
322 + | Error::AssociationLimitExceeded(inner) => inner.fmt(f),
|
323 + | Error::AssociationVersionLimitExceeded(inner) => inner.fmt(f),
|
324 + | Error::AutomationDefinitionNotApprovedException(inner) => inner.fmt(f),
|
325 + | Error::AutomationDefinitionNotFoundException(inner) => inner.fmt(f),
|
326 + | Error::AutomationDefinitionVersionNotFoundException(inner) => inner.fmt(f),
|
327 + | Error::AutomationExecutionLimitExceededException(inner) => inner.fmt(f),
|
328 + | Error::AutomationExecutionNotFoundException(inner) => inner.fmt(f),
|
329 + | Error::AutomationStepNotFoundException(inner) => inner.fmt(f),
|
330 + | Error::ComplianceTypeCountLimitExceededException(inner) => inner.fmt(f),
|
331 + | Error::ConflictException(inner) => inner.fmt(f),
|
332 + | Error::CustomSchemaCountLimitExceededException(inner) => inner.fmt(f),
|
333 + | Error::DocumentAlreadyExists(inner) => inner.fmt(f),
|
334 + | Error::DocumentLimitExceeded(inner) => inner.fmt(f),
|
335 + | Error::DocumentPermissionLimit(inner) => inner.fmt(f),
|
336 + | Error::DocumentVersionLimitExceeded(inner) => inner.fmt(f),
|
337 + | Error::DoesNotExistException(inner) => inner.fmt(f),
|
338 + | Error::DuplicateDocumentContent(inner) => inner.fmt(f),
|
339 + | Error::DuplicateDocumentVersionName(inner) => inner.fmt(f),
|
340 + | Error::DuplicateInstanceId(inner) => inner.fmt(f),
|
341 + | Error::FeatureNotAvailableException(inner) => inner.fmt(f),
|
342 + | Error::HierarchyLevelLimitExceededException(inner) => inner.fmt(f),
|
343 + | Error::HierarchyTypeMismatchException(inner) => inner.fmt(f),
|
344 + | Error::IdempotentParameterMismatch(inner) => inner.fmt(f),
|
345 + | Error::IncompatiblePolicyException(inner) => inner.fmt(f),
|
346 + | Error::InternalServerError(inner) => inner.fmt(f),
|
347 + | Error::InvalidActivation(inner) => inner.fmt(f),
|
348 + | Error::InvalidActivationId(inner) => inner.fmt(f),
|
349 + | Error::InvalidAggregatorException(inner) => inner.fmt(f),
|
350 + | Error::InvalidAllowedPatternException(inner) => inner.fmt(f),
|
351 + | Error::InvalidAssociation(inner) => inner.fmt(f),
|
352 + | Error::InvalidAssociationVersion(inner) => inner.fmt(f),
|
353 + | Error::InvalidAutomationExecutionParametersException(inner) => inner.fmt(f),
|
354 + | Error::InvalidAutomationSignalException(inner) => inner.fmt(f),
|
355 + | Error::InvalidAutomationStatusUpdateException(inner) => inner.fmt(f),
|
356 + | Error::InvalidCommandId(inner) => inner.fmt(f),
|
357 + | Error::InvalidDeleteInventoryParametersException(inner) => inner.fmt(f),
|
358 + | Error::InvalidDeletionIdException(inner) => inner.fmt(f),
|
359 + | Error::InvalidDocument(inner) => inner.fmt(f),
|
360 + | Error::InvalidDocumentContent(inner) => inner.fmt(f),
|
361 + | Error::InvalidDocumentOperation(inner) => inner.fmt(f),
|
362 + | Error::InvalidDocumentSchemaVersion(inner) => inner.fmt(f),
|
363 + | Error::InvalidDocumentType(inner) => inner.fmt(f),
|
364 + | Error::InvalidDocumentVersion(inner) => inner.fmt(f),
|
365 + | Error::InvalidFilter(inner) => inner.fmt(f),
|
366 + | Error::InvalidFilterKey(inner) => inner.fmt(f),
|
367 + | Error::InvalidFilterOption(inner) => inner.fmt(f),
|
368 + | Error::InvalidFilterValue(inner) => inner.fmt(f),
|
369 + | Error::InvalidInstanceId(inner) => inner.fmt(f),
|
370 + | Error::InvalidInstanceInformationFilterValue(inner) => inner.fmt(f),
|
371 + | Error::InvalidInstancePropertyFilterValue(inner) => inner.fmt(f),
|
372 + | Error::InvalidInventoryGroupException(inner) => inner.fmt(f),
|
373 + | Error::InvalidInventoryItemContextException(inner) => inner.fmt(f),
|
374 + | Error::InvalidInventoryRequestException(inner) => inner.fmt(f),
|
375 + | Error::InvalidItemContentException(inner) => inner.fmt(f),
|
376 + | Error::InvalidKeyId(inner) => inner.fmt(f),
|
377 + | Error::InvalidNextToken(inner) => inner.fmt(f),
|
378 + | Error::InvalidNotificationConfig(inner) => inner.fmt(f),
|
379 + | Error::InvalidOptionException(inner) => inner.fmt(f),
|
380 + | Error::InvalidOutputFolder(inner) => inner.fmt(f),
|
381 + | Error::InvalidOutputLocation(inner) => inner.fmt(f),
|
382 + | Error::InvalidParameters(inner) => inner.fmt(f),
|
383 + | Error::InvalidPermissionType(inner) => inner.fmt(f),
|
384 + | Error::InvalidPluginName(inner) => inner.fmt(f),
|
385 + | Error::InvalidPolicyAttributeException(inner) => inner.fmt(f),
|
386 + | Error::InvalidPolicyTypeException(inner) => inner.fmt(f),
|
387 + | Error::InvalidResourceId(inner) => inner.fmt(f),
|
388 + | Error::InvalidResourceType(inner) => inner.fmt(f),
|
389 + | Error::InvalidResultAttributeException(inner) => inner.fmt(f),
|
390 + | Error::InvalidRole(inner) => inner.fmt(f),
|
391 + | Error::InvalidSchedule(inner) => inner.fmt(f),
|
392 + | Error::InvalidTag(inner) => inner.fmt(f),
|
393 + | Error::InvalidTarget(inner) => inner.fmt(f),
|
394 + | Error::InvalidTargetMaps(inner) => inner.fmt(f),
|
395 + | Error::InvalidTypeNameException(inner) => inner.fmt(f),
|
396 + | Error::InvalidUpdate(inner) => inner.fmt(f),
|
397 + | Error::InvocationDoesNotExist(inner) => inner.fmt(f),
|
398 + | Error::ItemContentMismatchException(inner) => inner.fmt(f),
|
399 + | Error::ItemSizeLimitExceededException(inner) => inner.fmt(f),
|
400 + | Error::MalformedResourcePolicyDocumentException(inner) => inner.fmt(f),
|
401 + | Error::MaxDocumentSizeExceeded(inner) => inner.fmt(f),
|
402 + | Error::NoLongerSupportedException(inner) => inner.fmt(f),
|
403 + | Error::OpsItemAccessDeniedException(inner) => inner.fmt(f),
|
404 + | Error::OpsItemAlreadyExistsException(inner) => inner.fmt(f),
|
405 + | Error::OpsItemConflictException(inner) => inner.fmt(f),
|
406 + | Error::OpsItemInvalidParameterException(inner) => inner.fmt(f),
|
407 + | Error::OpsItemLimitExceededException(inner) => inner.fmt(f),
|
408 + | Error::OpsItemNotFoundException(inner) => inner.fmt(f),
|
409 + | Error::OpsItemRelatedItemAlreadyExistsException(inner) => inner.fmt(f),
|
410 + | Error::OpsItemRelatedItemAssociationNotFoundException(inner) => inner.fmt(f),
|
411 + | Error::OpsMetadataAlreadyExistsException(inner) => inner.fmt(f),
|
412 + | Error::OpsMetadataInvalidArgumentException(inner) => inner.fmt(f),
|
413 + | Error::OpsMetadataKeyLimitExceededException(inner) => inner.fmt(f),
|
414 + | Error::OpsMetadataLimitExceededException(inner) => inner.fmt(f),
|
415 + | Error::OpsMetadataNotFoundException(inner) => inner.fmt(f),
|
416 + | Error::OpsMetadataTooManyUpdatesException(inner) => inner.fmt(f),
|
417 + | Error::ParameterAlreadyExists(inner) => inner.fmt(f),
|
418 + | Error::ParameterLimitExceeded(inner) => inner.fmt(f),
|
419 + | Error::ParameterMaxVersionLimitExceeded(inner) => inner.fmt(f),
|
420 + | Error::ParameterNotFound(inner) => inner.fmt(f),
|
421 + | Error::ParameterPatternMismatchException(inner) => inner.fmt(f),
|
422 + | Error::ParameterVersionLabelLimitExceeded(inner) => inner.fmt(f),
|
423 + | Error::ParameterVersionNotFound(inner) => inner.fmt(f),
|
424 + | Error::PoliciesLimitExceededException(inner) => inner.fmt(f),
|
425 + | Error::ResourceDataSyncAlreadyExistsException(inner) => inner.fmt(f),
|
426 + | Error::ResourceDataSyncConflictException(inner) => inner.fmt(f),
|
427 + | Error::ResourceDataSyncCountExceededException(inner) => inner.fmt(f),
|
428 + | Error::ResourceDataSyncInvalidConfigurationException(inner) => inner.fmt(f),
|
429 + | Error::ResourceDataSyncNotFoundException(inner) => inner.fmt(f),
|
430 + | Error::ResourceInUseException(inner) => inner.fmt(f),
|
431 + | Error::ResourceLimitExceededException(inner) => inner.fmt(f),
|
432 + | Error::ResourceNotFoundException(inner) => inner.fmt(f),
|
433 + | Error::ResourcePolicyConflictException(inner) => inner.fmt(f),
|
434 + | Error::ResourcePolicyInvalidParameterException(inner) => inner.fmt(f),
|
435 + | Error::ResourcePolicyLimitExceededException(inner) => inner.fmt(f),
|
436 + | Error::ResourcePolicyNotFoundException(inner) => inner.fmt(f),
|
437 + | Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
|
438 + | Error::ServiceSettingNotFound(inner) => inner.fmt(f),
|
439 + | Error::StatusUnchanged(inner) => inner.fmt(f),
|
440 + | Error::SubTypeCountLimitExceededException(inner) => inner.fmt(f),
|
441 + | Error::TargetInUseException(inner) => inner.fmt(f),
|
442 + | Error::TargetNotConnected(inner) => inner.fmt(f),
|
443 + | Error::ThrottlingException(inner) => inner.fmt(f),
|
444 + | Error::TooManyTagsError(inner) => inner.fmt(f),
|
445 + | Error::TooManyUpdates(inner) => inner.fmt(f),
|
446 + | Error::TotalSizeLimitExceededException(inner) => inner.fmt(f),
|
447 + | Error::UnsupportedCalendarException(inner) => inner.fmt(f),
|
448 + | Error::UnsupportedFeatureRequiredException(inner) => inner.fmt(f),
|
449 + | Error::UnsupportedInventoryItemContextException(inner) => inner.fmt(f),
|
450 + | Error::UnsupportedInventorySchemaVersionException(inner) => inner.fmt(f),
|
451 + | Error::UnsupportedOperatingSystem(inner) => inner.fmt(f),
|
452 + | Error::UnsupportedOperationException(inner) => inner.fmt(f),
|
453 + | Error::UnsupportedParameterType(inner) => inner.fmt(f),
|
454 + | Error::UnsupportedPlatformType(inner) => inner.fmt(f),
|
455 + | Error::ValidationException(inner) => inner.fmt(f),
|
456 + | Error::Unhandled(_) => {
|
457 + | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
458 + | write!(f, "unhandled error ({code})")
|
459 + | } else {
|
460 + | f.write_str("unhandled error")
|
461 + | }
|
462 + | }
|
463 + | }
|
464 + | }
|
465 + | }
|
466 + | impl From<::aws_smithy_types::error::operation::BuildError> for Error {
|
467 + | fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
|
468 + | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
469 + | source: value.into(),
|
470 + | meta: ::std::default::Default::default(),
|
471 + | })
|
472 + | }
|
473 + | }
|
474 + | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
|
475 + | fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
|
476 + | match self {
|
477 + | Self::AccessDeniedException(inner) => inner.meta(),
|
478 + | Self::AlreadyExistsException(inner) => inner.meta(),
|
479 + | Self::AssociatedInstances(inner) => inner.meta(),
|
480 + | Self::AssociationAlreadyExists(inner) => inner.meta(),
|
481 + | Self::AssociationDoesNotExist(inner) => inner.meta(),
|
482 + | Self::AssociationExecutionDoesNotExist(inner) => inner.meta(),
|
483 + | Self::AssociationLimitExceeded(inner) => inner.meta(),
|
484 + | Self::AssociationVersionLimitExceeded(inner) => inner.meta(),
|
485 + | Self::AutomationDefinitionNotApprovedException(inner) => inner.meta(),
|
486 + | Self::AutomationDefinitionNotFoundException(inner) => inner.meta(),
|
487 + | Self::AutomationDefinitionVersionNotFoundException(inner) => inner.meta(),
|
488 + | Self::AutomationExecutionLimitExceededException(inner) => inner.meta(),
|
489 + | Self::AutomationExecutionNotFoundException(inner) => inner.meta(),
|
490 + | Self::AutomationStepNotFoundException(inner) => inner.meta(),
|
491 + | Self::ComplianceTypeCountLimitExceededException(inner) => inner.meta(),
|
492 + | Self::ConflictException(inner) => inner.meta(),
|
493 + | Self::CustomSchemaCountLimitExceededException(inner) => inner.meta(),
|
494 + | Self::DocumentAlreadyExists(inner) => inner.meta(),
|
495 + | Self::DocumentLimitExceeded(inner) => inner.meta(),
|
496 + | Self::DocumentPermissionLimit(inner) => inner.meta(),
|
497 + | Self::DocumentVersionLimitExceeded(inner) => inner.meta(),
|
498 + | Self::DoesNotExistException(inner) => inner.meta(),
|
499 + | Self::DuplicateDocumentContent(inner) => inner.meta(),
|
500 + | Self::DuplicateDocumentVersionName(inner) => inner.meta(),
|
501 + | Self::DuplicateInstanceId(inner) => inner.meta(),
|
502 + | Self::FeatureNotAvailableException(inner) => inner.meta(),
|
503 + | Self::HierarchyLevelLimitExceededException(inner) => inner.meta(),
|
504 + | Self::HierarchyTypeMismatchException(inner) => inner.meta(),
|
505 + | Self::IdempotentParameterMismatch(inner) => inner.meta(),
|
506 + | Self::IncompatiblePolicyException(inner) => inner.meta(),
|
507 + | Self::InternalServerError(inner) => inner.meta(),
|
508 + | Self::InvalidActivation(inner) => inner.meta(),
|
509 + | Self::InvalidActivationId(inner) => inner.meta(),
|
510 + | Self::InvalidAggregatorException(inner) => inner.meta(),
|
511 + | Self::InvalidAllowedPatternException(inner) => inner.meta(),
|
512 + | Self::InvalidAssociation(inner) => inner.meta(),
|
513 + | Self::InvalidAssociationVersion(inner) => inner.meta(),
|
514 + | Self::InvalidAutomationExecutionParametersException(inner) => inner.meta(),
|
515 + | Self::InvalidAutomationSignalException(inner) => inner.meta(),
|
516 + | Self::InvalidAutomationStatusUpdateException(inner) => inner.meta(),
|
517 + | Self::InvalidCommandId(inner) => inner.meta(),
|
518 + | Self::InvalidDeleteInventoryParametersException(inner) => inner.meta(),
|
519 + | Self::InvalidDeletionIdException(inner) => inner.meta(),
|
520 + | Self::InvalidDocument(inner) => inner.meta(),
|
521 + | Self::InvalidDocumentContent(inner) => inner.meta(),
|
522 + | Self::InvalidDocumentOperation(inner) => inner.meta(),
|
523 + | Self::InvalidDocumentSchemaVersion(inner) => inner.meta(),
|
524 + | Self::InvalidDocumentType(inner) => inner.meta(),
|
525 + | Self::InvalidDocumentVersion(inner) => inner.meta(),
|
526 + | Self::InvalidFilter(inner) => inner.meta(),
|
527 + | Self::InvalidFilterKey(inner) => inner.meta(),
|
528 + | Self::InvalidFilterOption(inner) => inner.meta(),
|
529 + | Self::InvalidFilterValue(inner) => inner.meta(),
|
530 + | Self::InvalidInstanceId(inner) => inner.meta(),
|
531 + | Self::InvalidInstanceInformationFilterValue(inner) => inner.meta(),
|
532 + | Self::InvalidInstancePropertyFilterValue(inner) => inner.meta(),
|
533 + | Self::InvalidInventoryGroupException(inner) => inner.meta(),
|
534 + | Self::InvalidInventoryItemContextException(inner) => inner.meta(),
|
535 + | Self::InvalidInventoryRequestException(inner) => inner.meta(),
|
536 + | Self::InvalidItemContentException(inner) => inner.meta(),
|
537 + | Self::InvalidKeyId(inner) => inner.meta(),
|
538 + | Self::InvalidNextToken(inner) => inner.meta(),
|
539 + | Self::InvalidNotificationConfig(inner) => inner.meta(),
|
540 + | Self::InvalidOptionException(inner) => inner.meta(),
|
541 + | Self::InvalidOutputFolder(inner) => inner.meta(),
|
542 + | Self::InvalidOutputLocation(inner) => inner.meta(),
|
543 + | Self::InvalidParameters(inner) => inner.meta(),
|
544 + | Self::InvalidPermissionType(inner) => inner.meta(),
|
545 + | Self::InvalidPluginName(inner) => inner.meta(),
|
546 + | Self::InvalidPolicyAttributeException(inner) => inner.meta(),
|
547 + | Self::InvalidPolicyTypeException(inner) => inner.meta(),
|
548 + | Self::InvalidResourceId(inner) => inner.meta(),
|
549 + | Self::InvalidResourceType(inner) => inner.meta(),
|
550 + | Self::InvalidResultAttributeException(inner) => inner.meta(),
|
551 + | Self::InvalidRole(inner) => inner.meta(),
|
552 + | Self::InvalidSchedule(inner) => inner.meta(),
|
553 + | Self::InvalidTag(inner) => inner.meta(),
|
554 + | Self::InvalidTarget(inner) => inner.meta(),
|
555 + | Self::InvalidTargetMaps(inner) => inner.meta(),
|
556 + | Self::InvalidTypeNameException(inner) => inner.meta(),
|
557 + | Self::InvalidUpdate(inner) => inner.meta(),
|
558 + | Self::InvocationDoesNotExist(inner) => inner.meta(),
|
559 + | Self::ItemContentMismatchException(inner) => inner.meta(),
|
560 + | Self::ItemSizeLimitExceededException(inner) => inner.meta(),
|
561 + | Self::MalformedResourcePolicyDocumentException(inner) => inner.meta(),
|
562 + | Self::MaxDocumentSizeExceeded(inner) => inner.meta(),
|
563 + | Self::NoLongerSupportedException(inner) => inner.meta(),
|
564 + | Self::OpsItemAccessDeniedException(inner) => inner.meta(),
|
565 + | Self::OpsItemAlreadyExistsException(inner) => inner.meta(),
|
566 + | Self::OpsItemConflictException(inner) => inner.meta(),
|
567 + | Self::OpsItemInvalidParameterException(inner) => inner.meta(),
|
568 + | Self::OpsItemLimitExceededException(inner) => inner.meta(),
|
569 + | Self::OpsItemNotFoundException(inner) => inner.meta(),
|
570 + | Self::OpsItemRelatedItemAlreadyExistsException(inner) => inner.meta(),
|
571 + | Self::OpsItemRelatedItemAssociationNotFoundException(inner) => inner.meta(),
|
572 + | Self::OpsMetadataAlreadyExistsException(inner) => inner.meta(),
|
573 + | Self::OpsMetadataInvalidArgumentException(inner) => inner.meta(),
|
574 + | Self::OpsMetadataKeyLimitExceededException(inner) => inner.meta(),
|
575 + | Self::OpsMetadataLimitExceededException(inner) => inner.meta(),
|
576 + | Self::OpsMetadataNotFoundException(inner) => inner.meta(),
|
577 + | Self::OpsMetadataTooManyUpdatesException(inner) => inner.meta(),
|
578 + | Self::ParameterAlreadyExists(inner) => inner.meta(),
|
579 + | Self::ParameterLimitExceeded(inner) => inner.meta(),
|
580 + | Self::ParameterMaxVersionLimitExceeded(inner) => inner.meta(),
|
581 + | Self::ParameterNotFound(inner) => inner.meta(),
|
582 + | Self::ParameterPatternMismatchException(inner) => inner.meta(),
|
583 + | Self::ParameterVersionLabelLimitExceeded(inner) => inner.meta(),
|
584 + | Self::ParameterVersionNotFound(inner) => inner.meta(),
|
585 + | Self::PoliciesLimitExceededException(inner) => inner.meta(),
|
586 + | Self::ResourceDataSyncAlreadyExistsException(inner) => inner.meta(),
|
587 + | Self::ResourceDataSyncConflictException(inner) => inner.meta(),
|
588 + | Self::ResourceDataSyncCountExceededException(inner) => inner.meta(),
|
589 + | Self::ResourceDataSyncInvalidConfigurationException(inner) => inner.meta(),
|
590 + | Self::ResourceDataSyncNotFoundException(inner) => inner.meta(),
|
591 + | Self::ResourceInUseException(inner) => inner.meta(),
|
592 + | Self::ResourceLimitExceededException(inner) => inner.meta(),
|
593 + | Self::ResourceNotFoundException(inner) => inner.meta(),
|
594 + | Self::ResourcePolicyConflictException(inner) => inner.meta(),
|
595 + | Self::ResourcePolicyInvalidParameterException(inner) => inner.meta(),
|
596 + | Self::ResourcePolicyLimitExceededException(inner) => inner.meta(),
|
597 + | Self::ResourcePolicyNotFoundException(inner) => inner.meta(),
|
598 + | Self::ServiceQuotaExceededException(inner) => inner.meta(),
|
599 + | Self::ServiceSettingNotFound(inner) => inner.meta(),
|
600 + | Self::StatusUnchanged(inner) => inner.meta(),
|
601 + | Self::SubTypeCountLimitExceededException(inner) => inner.meta(),
|
602 + | Self::TargetInUseException(inner) => inner.meta(),
|
603 + | Self::TargetNotConnected(inner) => inner.meta(),
|
604 + | Self::ThrottlingException(inner) => inner.meta(),
|
605 + | Self::TooManyTagsError(inner) => inner.meta(),
|
606 + | Self::TooManyUpdates(inner) => inner.meta(),
|
607 + | Self::TotalSizeLimitExceededException(inner) => inner.meta(),
|
608 + | Self::UnsupportedCalendarException(inner) => inner.meta(),
|
609 + | Self::UnsupportedFeatureRequiredException(inner) => inner.meta(),
|
610 + | Self::UnsupportedInventoryItemContextException(inner) => inner.meta(),
|
611 + | Self::UnsupportedInventorySchemaVersionException(inner) => inner.meta(),
|
612 + | Self::UnsupportedOperatingSystem(inner) => inner.meta(),
|
613 + | Self::UnsupportedOperationException(inner) => inner.meta(),
|
614 + | Self::UnsupportedParameterType(inner) => inner.meta(),
|
615 + | Self::UnsupportedPlatformType(inner) => inner.meta(),
|
616 + | Self::ValidationException(inner) => inner.meta(),
|
617 + | Self::Unhandled(inner) => &inner.meta,
|
618 + | }
|
619 + | }
|
620 + | }
|
621 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_tags_to_resource::AddTagsToResourceError, R>> for Error
|
622 + | where
|
623 + | R: Send + Sync + std::fmt::Debug + 'static,
|
624 + | {
|
625 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_tags_to_resource::AddTagsToResourceError, R>) -> Self {
|
626 + | match err {
|
627 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
628 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
629 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
630 + | source: err.into(),
|
631 + | }),
|
632 + | }
|
633 + | }
|
634 + | }
|
635 + | impl From<crate::operation::add_tags_to_resource::AddTagsToResourceError> for Error {
|
636 + | fn from(err: crate::operation::add_tags_to_resource::AddTagsToResourceError) -> Self {
|
637 + | match err {
|
638 + | crate::operation::add_tags_to_resource::AddTagsToResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
639 + | crate::operation::add_tags_to_resource::AddTagsToResourceError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
640 + | crate::operation::add_tags_to_resource::AddTagsToResourceError::InvalidResourceType(inner) => Error::InvalidResourceType(inner),
|
641 + | crate::operation::add_tags_to_resource::AddTagsToResourceError::TooManyTagsError(inner) => Error::TooManyTagsError(inner),
|
642 + | crate::operation::add_tags_to_resource::AddTagsToResourceError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
643 + | crate::operation::add_tags_to_resource::AddTagsToResourceError::Unhandled(inner) => Error::Unhandled(inner),
|
644 + | }
|
645 + | }
|
646 + | }
|
647 + | impl<R>
|
648 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError, R>>
|
649 + | for Error
|
650 + | where
|
651 + | R: Send + Sync + std::fmt::Debug + 'static,
|
652 + | {
|
653 + | fn from(
|
654 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
655 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError,
|
656 + | R,
|
657 + | >,
|
658 + | ) -> Self {
|
659 + | match err {
|
660 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
661 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
662 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
663 + | source: err.into(),
|
664 + | }),
|
665 + | }
|
666 + | }
|
667 + | }
|
668 + | impl From<crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError> for Error {
|
669 + | fn from(err: crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError) -> Self {
|
670 + | match err {
|
671 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::InternalServerError(inner) => {
|
672 + | Error::InternalServerError(inner)
|
673 + | }
|
674 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemConflictException(inner) => {
|
675 + | Error::OpsItemConflictException(inner)
|
676 + | }
|
677 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemInvalidParameterException(inner) => {
|
678 + | Error::OpsItemInvalidParameterException(inner)
|
679 + | }
|
680 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemLimitExceededException(inner) => {
|
681 + | Error::OpsItemLimitExceededException(inner)
|
682 + | }
|
683 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemNotFoundException(inner) => {
|
684 + | Error::OpsItemNotFoundException(inner)
|
685 + | }
|
686 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemRelatedItemAlreadyExistsException(inner) => {
|
687 + | Error::OpsItemRelatedItemAlreadyExistsException(inner)
|
688 + | }
|
689 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::Unhandled(inner) => Error::Unhandled(inner),
|
690 + | }
|
691 + | }
|
692 + | }
|
693 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_command::CancelCommandError, R>> for Error
|
694 + | where
|
695 + | R: Send + Sync + std::fmt::Debug + 'static,
|
696 + | {
|
697 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_command::CancelCommandError, R>) -> Self {
|
698 + | match err {
|
699 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
700 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
701 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
702 + | source: err.into(),
|
703 + | }),
|
704 + | }
|
705 + | }
|
706 + | }
|
707 + | impl From<crate::operation::cancel_command::CancelCommandError> for Error {
|
708 + | fn from(err: crate::operation::cancel_command::CancelCommandError) -> Self {
|
709 + | match err {
|
710 + | crate::operation::cancel_command::CancelCommandError::DuplicateInstanceId(inner) => Error::DuplicateInstanceId(inner),
|
711 + | crate::operation::cancel_command::CancelCommandError::InternalServerError(inner) => Error::InternalServerError(inner),
|
712 + | crate::operation::cancel_command::CancelCommandError::InvalidCommandId(inner) => Error::InvalidCommandId(inner),
|
713 + | crate::operation::cancel_command::CancelCommandError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
714 + | crate::operation::cancel_command::CancelCommandError::Unhandled(inner) => Error::Unhandled(inner),
|
715 + | }
|
716 + | }
|
717 + | }
|
718 + | impl<R>
|
719 + | From<
|
720 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
721 + | crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError,
|
722 + | R,
|
723 + | >,
|
724 + | > for Error
|
725 + | where
|
726 + | R: Send + Sync + std::fmt::Debug + 'static,
|
727 + | {
|
728 + | fn from(
|
729 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
730 + | crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError,
|
731 + | R,
|
732 + | >,
|
733 + | ) -> Self {
|
734 + | match err {
|
735 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
736 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
737 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
738 + | source: err.into(),
|
739 + | }),
|
740 + | }
|
741 + | }
|
742 + | }
|
743 + | impl From<crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError> for Error {
|
744 + | fn from(err: crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError) -> Self {
|
745 + | match err {
|
746 + | crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError::DoesNotExistException(inner) => {
|
747 + | Error::DoesNotExistException(inner)
|
748 + | }
|
749 + | crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError::InternalServerError(inner) => {
|
750 + | Error::InternalServerError(inner)
|
751 + | }
|
752 + | crate::operation::cancel_maintenance_window_execution::CancelMaintenanceWindowExecutionError::Unhandled(inner) => Error::Unhandled(inner),
|
753 + | }
|
754 + | }
|
755 + | }
|
756 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_activation::CreateActivationError, R>> for Error
|
757 + | where
|
758 + | R: Send + Sync + std::fmt::Debug + 'static,
|
759 + | {
|
760 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_activation::CreateActivationError, R>) -> Self {
|
761 + | match err {
|
762 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
763 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
764 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
765 + | source: err.into(),
|
766 + | }),
|
767 + | }
|
768 + | }
|
769 + | }
|
770 + | impl From<crate::operation::create_activation::CreateActivationError> for Error {
|
771 + | fn from(err: crate::operation::create_activation::CreateActivationError) -> Self {
|
772 + | match err {
|
773 + | crate::operation::create_activation::CreateActivationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
774 + | crate::operation::create_activation::CreateActivationError::InvalidParameters(inner) => Error::InvalidParameters(inner),
|
775 + | crate::operation::create_activation::CreateActivationError::Unhandled(inner) => Error::Unhandled(inner),
|
776 + | }
|
777 + | }
|
778 + | }
|
779 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_association::CreateAssociationError, R>> for Error
|
780 + | where
|
781 + | R: Send + Sync + std::fmt::Debug + 'static,
|
782 + | {
|
783 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_association::CreateAssociationError, R>) -> Self {
|
784 + | match err {
|
785 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
786 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
787 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
788 + | source: err.into(),
|
789 + | }),
|
790 + | }
|
791 + | }
|
792 + | }
|
793 + | impl From<crate::operation::create_association::CreateAssociationError> for Error {
|
794 + | fn from(err: crate::operation::create_association::CreateAssociationError) -> Self {
|
795 + | match err {
|
796 + | crate::operation::create_association::CreateAssociationError::AssociationAlreadyExists(inner) => Error::AssociationAlreadyExists(inner),
|
797 + | crate::operation::create_association::CreateAssociationError::AssociationLimitExceeded(inner) => Error::AssociationLimitExceeded(inner),
|
798 + | crate::operation::create_association::CreateAssociationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
799 + | crate::operation::create_association::CreateAssociationError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
800 + | crate::operation::create_association::CreateAssociationError::InvalidDocumentVersion(inner) => Error::InvalidDocumentVersion(inner),
|
801 + | crate::operation::create_association::CreateAssociationError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
802 + | crate::operation::create_association::CreateAssociationError::InvalidOutputLocation(inner) => Error::InvalidOutputLocation(inner),
|
803 + | crate::operation::create_association::CreateAssociationError::InvalidParameters(inner) => Error::InvalidParameters(inner),
|
804 + | crate::operation::create_association::CreateAssociationError::InvalidSchedule(inner) => Error::InvalidSchedule(inner),
|
805 + | crate::operation::create_association::CreateAssociationError::InvalidTag(inner) => Error::InvalidTag(inner),
|
806 + | crate::operation::create_association::CreateAssociationError::InvalidTarget(inner) => Error::InvalidTarget(inner),
|
807 + | crate::operation::create_association::CreateAssociationError::InvalidTargetMaps(inner) => Error::InvalidTargetMaps(inner),
|
808 + | crate::operation::create_association::CreateAssociationError::UnsupportedPlatformType(inner) => Error::UnsupportedPlatformType(inner),
|
809 + | crate::operation::create_association::CreateAssociationError::Unhandled(inner) => Error::Unhandled(inner),
|
810 + | }
|
811 + | }
|
812 + | }
|
813 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_association_batch::CreateAssociationBatchError, R>> for Error
|
814 + | where
|
815 + | R: Send + Sync + std::fmt::Debug + 'static,
|
816 + | {
|
817 + | fn from(
|
818 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_association_batch::CreateAssociationBatchError, R>,
|
819 + | ) -> Self {
|
820 + | match err {
|
821 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
822 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
823 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
824 + | source: err.into(),
|
825 + | }),
|
826 + | }
|
827 + | }
|
828 + | }
|
829 + | impl From<crate::operation::create_association_batch::CreateAssociationBatchError> for Error {
|
830 + | fn from(err: crate::operation::create_association_batch::CreateAssociationBatchError) -> Self {
|
831 + | match err {
|
832 + | crate::operation::create_association_batch::CreateAssociationBatchError::AssociationLimitExceeded(inner) => {
|
833 + | Error::AssociationLimitExceeded(inner)
|
834 + | }
|
835 + | crate::operation::create_association_batch::CreateAssociationBatchError::DuplicateInstanceId(inner) => Error::DuplicateInstanceId(inner),
|
836 + | crate::operation::create_association_batch::CreateAssociationBatchError::InternalServerError(inner) => Error::InternalServerError(inner),
|
837 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
838 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidDocumentVersion(inner) => {
|
839 + | Error::InvalidDocumentVersion(inner)
|
840 + | }
|
841 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
842 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidOutputLocation(inner) => {
|
843 + | Error::InvalidOutputLocation(inner)
|
844 + | }
|
845 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidParameters(inner) => Error::InvalidParameters(inner),
|
846 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidSchedule(inner) => Error::InvalidSchedule(inner),
|
847 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidTarget(inner) => Error::InvalidTarget(inner),
|
848 + | crate::operation::create_association_batch::CreateAssociationBatchError::InvalidTargetMaps(inner) => Error::InvalidTargetMaps(inner),
|
849 + | crate::operation::create_association_batch::CreateAssociationBatchError::UnsupportedPlatformType(inner) => {
|
850 + | Error::UnsupportedPlatformType(inner)
|
851 + | }
|
852 + | crate::operation::create_association_batch::CreateAssociationBatchError::Unhandled(inner) => Error::Unhandled(inner),
|
853 + | }
|
854 + | }
|
855 + | }
|
856 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cloud_connector::CreateCloudConnectorError, R>> for Error
|
857 + | where
|
858 + | R: Send + Sync + std::fmt::Debug + 'static,
|
859 + | {
|
860 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cloud_connector::CreateCloudConnectorError, R>) -> Self {
|
861 + | match err {
|
862 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
863 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
864 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
865 + | source: err.into(),
|
866 + | }),
|
867 + | }
|
868 + | }
|
869 + | }
|
870 + | impl From<crate::operation::create_cloud_connector::CreateCloudConnectorError> for Error {
|
871 + | fn from(err: crate::operation::create_cloud_connector::CreateCloudConnectorError) -> Self {
|
872 + | match err {
|
873 + | crate::operation::create_cloud_connector::CreateCloudConnectorError::ConflictException(inner) => Error::ConflictException(inner),
|
874 + | crate::operation::create_cloud_connector::CreateCloudConnectorError::InternalServerError(inner) => Error::InternalServerError(inner),
|
875 + | crate::operation::create_cloud_connector::CreateCloudConnectorError::ServiceQuotaExceededException(inner) => {
|
876 + | Error::ServiceQuotaExceededException(inner)
|
877 + | }
|
878 + | crate::operation::create_cloud_connector::CreateCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
|
879 + | }
|
880 + | }
|
881 + | }
|
882 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_document::CreateDocumentError, R>> for Error
|
883 + | where
|
884 + | R: Send + Sync + std::fmt::Debug + 'static,
|
885 + | {
|
886 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_document::CreateDocumentError, R>) -> Self {
|
887 + | match err {
|
888 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
889 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
890 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
891 + | source: err.into(),
|
892 + | }),
|
893 + | }
|
894 + | }
|
895 + | }
|
896 + | impl From<crate::operation::create_document::CreateDocumentError> for Error {
|
897 + | fn from(err: crate::operation::create_document::CreateDocumentError) -> Self {
|
898 + | match err {
|
899 + | crate::operation::create_document::CreateDocumentError::DocumentAlreadyExists(inner) => Error::DocumentAlreadyExists(inner),
|
900 + | crate::operation::create_document::CreateDocumentError::DocumentLimitExceeded(inner) => Error::DocumentLimitExceeded(inner),
|
901 + | crate::operation::create_document::CreateDocumentError::InternalServerError(inner) => Error::InternalServerError(inner),
|
902 + | crate::operation::create_document::CreateDocumentError::InvalidDocumentContent(inner) => Error::InvalidDocumentContent(inner),
|
903 + | crate::operation::create_document::CreateDocumentError::InvalidDocumentSchemaVersion(inner) => Error::InvalidDocumentSchemaVersion(inner),
|
904 + | crate::operation::create_document::CreateDocumentError::MaxDocumentSizeExceeded(inner) => Error::MaxDocumentSizeExceeded(inner),
|
905 + | crate::operation::create_document::CreateDocumentError::NoLongerSupportedException(inner) => Error::NoLongerSupportedException(inner),
|
906 + | crate::operation::create_document::CreateDocumentError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
907 + | crate::operation::create_document::CreateDocumentError::Unhandled(inner) => Error::Unhandled(inner),
|
908 + | }
|
909 + | }
|
910 + | }
|
911 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_maintenance_window::CreateMaintenanceWindowError, R>>
|
912 + | for Error
|
913 + | where
|
914 + | R: Send + Sync + std::fmt::Debug + 'static,
|
915 + | {
|
916 + | fn from(
|
917 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_maintenance_window::CreateMaintenanceWindowError, R>,
|
918 + | ) -> Self {
|
919 + | match err {
|
920 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
921 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
922 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
923 + | source: err.into(),
|
924 + | }),
|
925 + | }
|
926 + | }
|
927 + | }
|
928 + | impl From<crate::operation::create_maintenance_window::CreateMaintenanceWindowError> for Error {
|
929 + | fn from(err: crate::operation::create_maintenance_window::CreateMaintenanceWindowError) -> Self {
|
930 + | match err {
|
931 + | crate::operation::create_maintenance_window::CreateMaintenanceWindowError::IdempotentParameterMismatch(inner) => {
|
932 + | Error::IdempotentParameterMismatch(inner)
|
933 + | }
|
934 + | crate::operation::create_maintenance_window::CreateMaintenanceWindowError::InternalServerError(inner) => {
|
935 + | Error::InternalServerError(inner)
|
936 + | }
|
937 + | crate::operation::create_maintenance_window::CreateMaintenanceWindowError::ResourceLimitExceededException(inner) => {
|
938 + | Error::ResourceLimitExceededException(inner)
|
939 + | }
|
940 + | crate::operation::create_maintenance_window::CreateMaintenanceWindowError::Unhandled(inner) => Error::Unhandled(inner),
|
941 + | }
|
942 + | }
|
943 + | }
|
944 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ops_item::CreateOpsItemError, R>> for Error
|
945 + | where
|
946 + | R: Send + Sync + std::fmt::Debug + 'static,
|
947 + | {
|
948 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ops_item::CreateOpsItemError, R>) -> Self {
|
949 + | match err {
|
950 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
951 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
952 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
953 + | source: err.into(),
|
954 + | }),
|
955 + | }
|
956 + | }
|
957 + | }
|
958 + | impl From<crate::operation::create_ops_item::CreateOpsItemError> for Error {
|
959 + | fn from(err: crate::operation::create_ops_item::CreateOpsItemError) -> Self {
|
960 + | match err {
|
961 + | crate::operation::create_ops_item::CreateOpsItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
962 + | crate::operation::create_ops_item::CreateOpsItemError::OpsItemAccessDeniedException(inner) => Error::OpsItemAccessDeniedException(inner),
|
963 + | crate::operation::create_ops_item::CreateOpsItemError::OpsItemAlreadyExistsException(inner) => {
|
964 + | Error::OpsItemAlreadyExistsException(inner)
|
965 + | }
|
966 + | crate::operation::create_ops_item::CreateOpsItemError::OpsItemInvalidParameterException(inner) => {
|
967 + | Error::OpsItemInvalidParameterException(inner)
|
968 + | }
|
969 + | crate::operation::create_ops_item::CreateOpsItemError::OpsItemLimitExceededException(inner) => {
|
970 + | Error::OpsItemLimitExceededException(inner)
|
971 + | }
|
972 + | crate::operation::create_ops_item::CreateOpsItemError::Unhandled(inner) => Error::Unhandled(inner),
|
973 + | }
|
974 + | }
|
975 + | }
|
976 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ops_metadata::CreateOpsMetadataError, R>> for Error
|
977 + | where
|
978 + | R: Send + Sync + std::fmt::Debug + 'static,
|
979 + | {
|
980 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ops_metadata::CreateOpsMetadataError, R>) -> Self {
|
981 + | match err {
|
982 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
983 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
984 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
985 + | source: err.into(),
|
986 + | }),
|
987 + | }
|
988 + | }
|
989 + | }
|
990 + | impl From<crate::operation::create_ops_metadata::CreateOpsMetadataError> for Error {
|
991 + | fn from(err: crate::operation::create_ops_metadata::CreateOpsMetadataError) -> Self {
|
992 + | match err {
|
993 + | crate::operation::create_ops_metadata::CreateOpsMetadataError::InternalServerError(inner) => Error::InternalServerError(inner),
|
994 + | crate::operation::create_ops_metadata::CreateOpsMetadataError::OpsMetadataAlreadyExistsException(inner) => {
|
995 + | Error::OpsMetadataAlreadyExistsException(inner)
|
996 + | }
|
997 + | crate::operation::create_ops_metadata::CreateOpsMetadataError::OpsMetadataInvalidArgumentException(inner) => {
|
998 + | Error::OpsMetadataInvalidArgumentException(inner)
|
999 + | }
|
1000 + | crate::operation::create_ops_metadata::CreateOpsMetadataError::OpsMetadataLimitExceededException(inner) => {
|
1001 + | Error::OpsMetadataLimitExceededException(inner)
|
1002 + | }
|
1003 + | crate::operation::create_ops_metadata::CreateOpsMetadataError::OpsMetadataTooManyUpdatesException(inner) => {
|
1004 + | Error::OpsMetadataTooManyUpdatesException(inner)
|
1005 + | }
|
1006 + | crate::operation::create_ops_metadata::CreateOpsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
|
1007 + | }
|
1008 + | }
|
1009 + | }
|
1010 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_patch_baseline::CreatePatchBaselineError, R>> for Error
|
1011 + | where
|
1012 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1013 + | {
|
1014 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_patch_baseline::CreatePatchBaselineError, R>) -> Self {
|
1015 + | match err {
|
1016 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1017 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1018 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1019 + | source: err.into(),
|
1020 + | }),
|
1021 + | }
|
1022 + | }
|
1023 + | }
|
1024 + | impl From<crate::operation::create_patch_baseline::CreatePatchBaselineError> for Error {
|
1025 + | fn from(err: crate::operation::create_patch_baseline::CreatePatchBaselineError) -> Self {
|
1026 + | match err {
|
1027 + | crate::operation::create_patch_baseline::CreatePatchBaselineError::IdempotentParameterMismatch(inner) => {
|
1028 + | Error::IdempotentParameterMismatch(inner)
|
1029 + | }
|
1030 + | crate::operation::create_patch_baseline::CreatePatchBaselineError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1031 + | crate::operation::create_patch_baseline::CreatePatchBaselineError::ResourceLimitExceededException(inner) => {
|
1032 + | Error::ResourceLimitExceededException(inner)
|
1033 + | }
|
1034 + | crate::operation::create_patch_baseline::CreatePatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
1035 + | }
|
1036 + | }
|
1037 + | }
|
1038 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_resource_data_sync::CreateResourceDataSyncError, R>>
|
1039 + | for Error
|
1040 + | where
|
1041 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1042 + | {
|
1043 + | fn from(
|
1044 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_resource_data_sync::CreateResourceDataSyncError, R>,
|
1045 + | ) -> Self {
|
1046 + | match err {
|
1047 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1048 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1049 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1050 + | source: err.into(),
|
1051 + | }),
|
1052 + | }
|
1053 + | }
|
1054 + | }
|
1055 + | impl From<crate::operation::create_resource_data_sync::CreateResourceDataSyncError> for Error {
|
1056 + | fn from(err: crate::operation::create_resource_data_sync::CreateResourceDataSyncError) -> Self {
|
1057 + | match err {
|
1058 + | crate::operation::create_resource_data_sync::CreateResourceDataSyncError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1059 + | crate::operation::create_resource_data_sync::CreateResourceDataSyncError::ResourceDataSyncAlreadyExistsException(inner) => {
|
1060 + | Error::ResourceDataSyncAlreadyExistsException(inner)
|
1061 + | }
|
1062 + | crate::operation::create_resource_data_sync::CreateResourceDataSyncError::ResourceDataSyncCountExceededException(inner) => {
|
1063 + | Error::ResourceDataSyncCountExceededException(inner)
|
1064 + | }
|
1065 + | crate::operation::create_resource_data_sync::CreateResourceDataSyncError::ResourceDataSyncInvalidConfigurationException(inner) => {
|
1066 + | Error::ResourceDataSyncInvalidConfigurationException(inner)
|
1067 + | }
|
1068 + | crate::operation::create_resource_data_sync::CreateResourceDataSyncError::Unhandled(inner) => Error::Unhandled(inner),
|
1069 + | }
|
1070 + | }
|
1071 + | }
|
1072 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_activation::DeleteActivationError, R>> for Error
|
1073 + | where
|
1074 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1075 + | {
|
1076 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_activation::DeleteActivationError, R>) -> Self {
|
1077 + | match err {
|
1078 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1079 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1080 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1081 + | source: err.into(),
|
1082 + | }),
|
1083 + | }
|
1084 + | }
|
1085 + | }
|
1086 + | impl From<crate::operation::delete_activation::DeleteActivationError> for Error {
|
1087 + | fn from(err: crate::operation::delete_activation::DeleteActivationError) -> Self {
|
1088 + | match err {
|
1089 + | crate::operation::delete_activation::DeleteActivationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1090 + | crate::operation::delete_activation::DeleteActivationError::InvalidActivation(inner) => Error::InvalidActivation(inner),
|
1091 + | crate::operation::delete_activation::DeleteActivationError::InvalidActivationId(inner) => Error::InvalidActivationId(inner),
|
1092 + | crate::operation::delete_activation::DeleteActivationError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
1093 + | crate::operation::delete_activation::DeleteActivationError::Unhandled(inner) => Error::Unhandled(inner),
|
1094 + | }
|
1095 + | }
|
1096 + | }
|
1097 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>> for Error
|
1098 + | where
|
1099 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1100 + | {
|
1101 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>) -> Self {
|
1102 + | match err {
|
1103 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1104 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1105 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1106 + | source: err.into(),
|
1107 + | }),
|
1108 + | }
|
1109 + | }
|
1110 + | }
|
1111 + | impl From<crate::operation::delete_association::DeleteAssociationError> for Error {
|
1112 + | fn from(err: crate::operation::delete_association::DeleteAssociationError) -> Self {
|
1113 + | match err {
|
1114 + | crate::operation::delete_association::DeleteAssociationError::AssociationDoesNotExist(inner) => Error::AssociationDoesNotExist(inner),
|
1115 + | crate::operation::delete_association::DeleteAssociationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1116 + | crate::operation::delete_association::DeleteAssociationError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
1117 + | crate::operation::delete_association::DeleteAssociationError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
1118 + | crate::operation::delete_association::DeleteAssociationError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
1119 + | crate::operation::delete_association::DeleteAssociationError::Unhandled(inner) => Error::Unhandled(inner),
|
1120 + | }
|
1121 + | }
|
1122 + | }
|
1123 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cloud_connector::DeleteCloudConnectorError, R>> for Error
|
1124 + | where
|
1125 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1126 + | {
|
1127 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cloud_connector::DeleteCloudConnectorError, R>) -> Self {
|
1128 + | match err {
|
1129 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1130 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1131 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1132 + | source: err.into(),
|
1133 + | }),
|
1134 + | }
|
1135 + | }
|
1136 + | }
|
1137 + | impl From<crate::operation::delete_cloud_connector::DeleteCloudConnectorError> for Error {
|
1138 + | fn from(err: crate::operation::delete_cloud_connector::DeleteCloudConnectorError) -> Self {
|
1139 + | match err {
|
1140 + | crate::operation::delete_cloud_connector::DeleteCloudConnectorError::ConflictException(inner) => Error::ConflictException(inner),
|
1141 + | crate::operation::delete_cloud_connector::DeleteCloudConnectorError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1142 + | crate::operation::delete_cloud_connector::DeleteCloudConnectorError::ResourceNotFoundException(inner) => {
|
1143 + | Error::ResourceNotFoundException(inner)
|
1144 + | }
|
1145 + | crate::operation::delete_cloud_connector::DeleteCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
|
1146 + | }
|
1147 + | }
|
1148 + | }
|
1149 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_document::DeleteDocumentError, R>> for Error
|
1150 + | where
|
1151 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1152 + | {
|
1153 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_document::DeleteDocumentError, R>) -> Self {
|
1154 + | match err {
|
1155 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1156 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1157 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1158 + | source: err.into(),
|
1159 + | }),
|
1160 + | }
|
1161 + | }
|
1162 + | }
|
1163 + | impl From<crate::operation::delete_document::DeleteDocumentError> for Error {
|
1164 + | fn from(err: crate::operation::delete_document::DeleteDocumentError) -> Self {
|
1165 + | match err {
|
1166 + | crate::operation::delete_document::DeleteDocumentError::AssociatedInstances(inner) => Error::AssociatedInstances(inner),
|
1167 + | crate::operation::delete_document::DeleteDocumentError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1168 + | crate::operation::delete_document::DeleteDocumentError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
1169 + | crate::operation::delete_document::DeleteDocumentError::InvalidDocumentOperation(inner) => Error::InvalidDocumentOperation(inner),
|
1170 + | crate::operation::delete_document::DeleteDocumentError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
1171 + | crate::operation::delete_document::DeleteDocumentError::Unhandled(inner) => Error::Unhandled(inner),
|
1172 + | }
|
1173 + | }
|
1174 + | }
|
1175 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inventory::DeleteInventoryError, R>> for Error
|
1176 + | where
|
1177 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1178 + | {
|
1179 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inventory::DeleteInventoryError, R>) -> Self {
|
1180 + | match err {
|
1181 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1182 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1183 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1184 + | source: err.into(),
|
1185 + | }),
|
1186 + | }
|
1187 + | }
|
1188 + | }
|
1189 + | impl From<crate::operation::delete_inventory::DeleteInventoryError> for Error {
|
1190 + | fn from(err: crate::operation::delete_inventory::DeleteInventoryError) -> Self {
|
1191 + | match err {
|
1192 + | crate::operation::delete_inventory::DeleteInventoryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1193 + | crate::operation::delete_inventory::DeleteInventoryError::InvalidDeleteInventoryParametersException(inner) => {
|
1194 + | Error::InvalidDeleteInventoryParametersException(inner)
|
1195 + | }
|
1196 + | crate::operation::delete_inventory::DeleteInventoryError::InvalidInventoryRequestException(inner) => {
|
1197 + | Error::InvalidInventoryRequestException(inner)
|
1198 + | }
|
1199 + | crate::operation::delete_inventory::DeleteInventoryError::InvalidOptionException(inner) => Error::InvalidOptionException(inner),
|
1200 + | crate::operation::delete_inventory::DeleteInventoryError::InvalidTypeNameException(inner) => Error::InvalidTypeNameException(inner),
|
1201 + | crate::operation::delete_inventory::DeleteInventoryError::Unhandled(inner) => Error::Unhandled(inner),
|
1202 + | }
|
1203 + | }
|
1204 + | }
|
1205 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError, R>>
|
1206 + | for Error
|
1207 + | where
|
1208 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1209 + | {
|
1210 + | fn from(
|
1211 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError, R>,
|
1212 + | ) -> Self {
|
1213 + | match err {
|
1214 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1215 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1216 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1217 + | source: err.into(),
|
1218 + | }),
|
1219 + | }
|
1220 + | }
|
1221 + | }
|
1222 + | impl From<crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError> for Error {
|
1223 + | fn from(err: crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError) -> Self {
|
1224 + | match err {
|
1225 + | crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError::InternalServerError(inner) => {
|
1226 + | Error::InternalServerError(inner)
|
1227 + | }
|
1228 + | crate::operation::delete_maintenance_window::DeleteMaintenanceWindowError::Unhandled(inner) => Error::Unhandled(inner),
|
1229 + | }
|
1230 + | }
|
1231 + | }
|
1232 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ops_item::DeleteOpsItemError, R>> for Error
|
1233 + | where
|
1234 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1235 + | {
|
1236 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ops_item::DeleteOpsItemError, R>) -> Self {
|
1237 + | match err {
|
1238 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1239 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1240 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1241 + | source: err.into(),
|
1242 + | }),
|
1243 + | }
|
1244 + | }
|
1245 + | }
|
1246 + | impl From<crate::operation::delete_ops_item::DeleteOpsItemError> for Error {
|
1247 + | fn from(err: crate::operation::delete_ops_item::DeleteOpsItemError) -> Self {
|
1248 + | match err {
|
1249 + | crate::operation::delete_ops_item::DeleteOpsItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1250 + | crate::operation::delete_ops_item::DeleteOpsItemError::OpsItemInvalidParameterException(inner) => {
|
1251 + | Error::OpsItemInvalidParameterException(inner)
|
1252 + | }
|
1253 + | crate::operation::delete_ops_item::DeleteOpsItemError::Unhandled(inner) => Error::Unhandled(inner),
|
1254 + | }
|
1255 + | }
|
1256 + | }
|
1257 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ops_metadata::DeleteOpsMetadataError, R>> for Error
|
1258 + | where
|
1259 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1260 + | {
|
1261 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ops_metadata::DeleteOpsMetadataError, R>) -> Self {
|
1262 + | match err {
|
1263 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1264 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1265 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1266 + | source: err.into(),
|
1267 + | }),
|
1268 + | }
|
1269 + | }
|
1270 + | }
|
1271 + | impl From<crate::operation::delete_ops_metadata::DeleteOpsMetadataError> for Error {
|
1272 + | fn from(err: crate::operation::delete_ops_metadata::DeleteOpsMetadataError) -> Self {
|
1273 + | match err {
|
1274 + | crate::operation::delete_ops_metadata::DeleteOpsMetadataError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1275 + | crate::operation::delete_ops_metadata::DeleteOpsMetadataError::OpsMetadataInvalidArgumentException(inner) => {
|
1276 + | Error::OpsMetadataInvalidArgumentException(inner)
|
1277 + | }
|
1278 + | crate::operation::delete_ops_metadata::DeleteOpsMetadataError::OpsMetadataNotFoundException(inner) => {
|
1279 + | Error::OpsMetadataNotFoundException(inner)
|
1280 + | }
|
1281 + | crate::operation::delete_ops_metadata::DeleteOpsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
|
1282 + | }
|
1283 + | }
|
1284 + | }
|
1285 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_parameter::DeleteParameterError, R>> for Error
|
1286 + | where
|
1287 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1288 + | {
|
1289 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_parameter::DeleteParameterError, R>) -> Self {
|
1290 + | match err {
|
1291 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1292 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1293 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1294 + | source: err.into(),
|
1295 + | }),
|
1296 + | }
|
1297 + | }
|
1298 + | }
|
1299 + | impl From<crate::operation::delete_parameter::DeleteParameterError> for Error {
|
1300 + | fn from(err: crate::operation::delete_parameter::DeleteParameterError) -> Self {
|
1301 + | match err {
|
1302 + | crate::operation::delete_parameter::DeleteParameterError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1303 + | crate::operation::delete_parameter::DeleteParameterError::ParameterNotFound(inner) => Error::ParameterNotFound(inner),
|
1304 + | crate::operation::delete_parameter::DeleteParameterError::Unhandled(inner) => Error::Unhandled(inner),
|
1305 + | }
|
1306 + | }
|
1307 + | }
|
1308 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_parameters::DeleteParametersError, R>> for Error
|
1309 + | where
|
1310 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1311 + | {
|
1312 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_parameters::DeleteParametersError, R>) -> Self {
|
1313 + | match err {
|
1314 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1315 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1316 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1317 + | source: err.into(),
|
1318 + | }),
|
1319 + | }
|
1320 + | }
|
1321 + | }
|
1322 + | impl From<crate::operation::delete_parameters::DeleteParametersError> for Error {
|
1323 + | fn from(err: crate::operation::delete_parameters::DeleteParametersError) -> Self {
|
1324 + | match err {
|
1325 + | crate::operation::delete_parameters::DeleteParametersError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1326 + | crate::operation::delete_parameters::DeleteParametersError::Unhandled(inner) => Error::Unhandled(inner),
|
1327 + | }
|
1328 + | }
|
1329 + | }
|
1330 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_patch_baseline::DeletePatchBaselineError, R>> for Error
|
1331 + | where
|
1332 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1333 + | {
|
1334 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_patch_baseline::DeletePatchBaselineError, R>) -> Self {
|
1335 + | match err {
|
1336 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1337 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1338 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1339 + | source: err.into(),
|
1340 + | }),
|
1341 + | }
|
1342 + | }
|
1343 + | }
|
1344 + | impl From<crate::operation::delete_patch_baseline::DeletePatchBaselineError> for Error {
|
1345 + | fn from(err: crate::operation::delete_patch_baseline::DeletePatchBaselineError) -> Self {
|
1346 + | match err {
|
1347 + | crate::operation::delete_patch_baseline::DeletePatchBaselineError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1348 + | crate::operation::delete_patch_baseline::DeletePatchBaselineError::ResourceInUseException(inner) => Error::ResourceInUseException(inner),
|
1349 + | crate::operation::delete_patch_baseline::DeletePatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
1350 + | }
|
1351 + | }
|
1352 + | }
|
1353 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError, R>>
|
1354 + | for Error
|
1355 + | where
|
1356 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1357 + | {
|
1358 + | fn from(
|
1359 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError, R>,
|
1360 + | ) -> Self {
|
1361 + | match err {
|
1362 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1363 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1364 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1365 + | source: err.into(),
|
1366 + | }),
|
1367 + | }
|
1368 + | }
|
1369 + | }
|
1370 + | impl From<crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError> for Error {
|
1371 + | fn from(err: crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError) -> Self {
|
1372 + | match err {
|
1373 + | crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1374 + | crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError::ResourceDataSyncInvalidConfigurationException(inner) => {
|
1375 + | Error::ResourceDataSyncInvalidConfigurationException(inner)
|
1376 + | }
|
1377 + | crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError::ResourceDataSyncNotFoundException(inner) => {
|
1378 + | Error::ResourceDataSyncNotFoundException(inner)
|
1379 + | }
|
1380 + | crate::operation::delete_resource_data_sync::DeleteResourceDataSyncError::Unhandled(inner) => Error::Unhandled(inner),
|
1381 + | }
|
1382 + | }
|
1383 + | }
|
1384 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
|
1385 + | where
|
1386 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1387 + | {
|
1388 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
|
1389 + | match err {
|
1390 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1391 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1392 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1393 + | source: err.into(),
|
1394 + | }),
|
1395 + | }
|
1396 + | }
|
1397 + | }
|
1398 + | impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
|
1399 + | fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
|
1400 + | match err {
|
1401 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1402 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::MalformedResourcePolicyDocumentException(inner) => {
|
1403 + | Error::MalformedResourcePolicyDocumentException(inner)
|
1404 + | }
|
1405 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourceNotFoundException(inner) => {
|
1406 + | Error::ResourceNotFoundException(inner)
|
1407 + | }
|
1408 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourcePolicyConflictException(inner) => {
|
1409 + | Error::ResourcePolicyConflictException(inner)
|
1410 + | }
|
1411 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourcePolicyInvalidParameterException(inner) => {
|
1412 + | Error::ResourcePolicyInvalidParameterException(inner)
|
1413 + | }
|
1414 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourcePolicyNotFoundException(inner) => {
|
1415 + | Error::ResourcePolicyNotFoundException(inner)
|
1416 + | }
|
1417 + | crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
|
1418 + | }
|
1419 + | }
|
1420 + | }
|
1421 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_managed_instance::DeregisterManagedInstanceError, R>>
|
1422 + | for Error
|
1423 + | where
|
1424 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1425 + | {
|
1426 + | fn from(
|
1427 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_managed_instance::DeregisterManagedInstanceError, R>,
|
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 + | }
|
1438 + | impl From<crate::operation::deregister_managed_instance::DeregisterManagedInstanceError> for Error {
|
1439 + | fn from(err: crate::operation::deregister_managed_instance::DeregisterManagedInstanceError) -> Self {
|
1440 + | match err {
|
1441 + | crate::operation::deregister_managed_instance::DeregisterManagedInstanceError::InternalServerError(inner) => {
|
1442 + | Error::InternalServerError(inner)
|
1443 + | }
|
1444 + | crate::operation::deregister_managed_instance::DeregisterManagedInstanceError::InvalidInstanceId(inner) => {
|
1445 + | Error::InvalidInstanceId(inner)
|
1446 + | }
|
1447 + | crate::operation::deregister_managed_instance::DeregisterManagedInstanceError::Unhandled(inner) => Error::Unhandled(inner),
|
1448 + | }
|
1449 + | }
|
1450 + | }
|
1451 + | impl<R>
|
1452 + | From<
|
1453 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1454 + | crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError,
|
1455 + | R,
|
1456 + | >,
|
1457 + | > for Error
|
1458 + | where
|
1459 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1460 + | {
|
1461 + | fn from(
|
1462 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1463 + | crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError,
|
1464 + | R,
|
1465 + | >,
|
1466 + | ) -> Self {
|
1467 + | match err {
|
1468 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1469 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1470 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1471 + | source: err.into(),
|
1472 + | }),
|
1473 + | }
|
1474 + | }
|
1475 + | }
|
1476 + | impl From<crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError> for Error {
|
1477 + | fn from(err: crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError) -> Self {
|
1478 + | match err {
|
1479 + | crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError::InternalServerError(inner) => {
|
1480 + | Error::InternalServerError(inner)
|
1481 + | }
|
1482 + | crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError::InvalidResourceId(inner) => {
|
1483 + | Error::InvalidResourceId(inner)
|
1484 + | }
|
1485 + | crate::operation::deregister_patch_baseline_for_patch_group::DeregisterPatchBaselineForPatchGroupError::Unhandled(inner) => {
|
1486 + | Error::Unhandled(inner)
|
1487 + | }
|
1488 + | }
|
1489 + | }
|
1490 + | }
|
1491 + | impl<R>
|
1492 + | From<
|
1493 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1494 + | crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError,
|
1495 + | R,
|
1496 + | >,
|
1497 + | > for Error
|
1498 + | where
|
1499 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1500 + | {
|
1501 + | fn from(
|
1502 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1503 + | crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError,
|
1504 + | R,
|
1505 + | >,
|
1506 + | ) -> Self {
|
1507 + | match err {
|
1508 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1509 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1510 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1511 + | source: err.into(),
|
1512 + | }),
|
1513 + | }
|
1514 + | }
|
1515 + | }
|
1516 + | impl From<crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError> for Error {
|
1517 + | fn from(err: crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError) -> Self {
|
1518 + | match err {
|
1519 + | crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError::DoesNotExistException(inner) => {
|
1520 + | Error::DoesNotExistException(inner)
|
1521 + | }
|
1522 + | crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError::InternalServerError(inner) => {
|
1523 + | Error::InternalServerError(inner)
|
1524 + | }
|
1525 + | crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError::TargetInUseException(inner) => {
|
1526 + | Error::TargetInUseException(inner)
|
1527 + | }
|
1528 + | crate::operation::deregister_target_from_maintenance_window::DeregisterTargetFromMaintenanceWindowError::Unhandled(inner) => {
|
1529 + | Error::Unhandled(inner)
|
1530 + | }
|
1531 + | }
|
1532 + | }
|
1533 + | }
|
1534 + | impl<R>
|
1535 + | From<
|
1536 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1537 + | crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError,
|
1538 + | R,
|
1539 + | >,
|
1540 + | > for Error
|
1541 + | where
|
1542 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1543 + | {
|
1544 + | fn from(
|
1545 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1546 + | crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError,
|
1547 + | R,
|
1548 + | >,
|
1549 + | ) -> Self {
|
1550 + | match err {
|
1551 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1552 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1553 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1554 + | source: err.into(),
|
1555 + | }),
|
1556 + | }
|
1557 + | }
|
1558 + | }
|
1559 + | impl From<crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError> for Error {
|
1560 + | fn from(err: crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError) -> Self {
|
1561 + | match err {
|
1562 + | crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError::DoesNotExistException(inner) => {
|
1563 + | Error::DoesNotExistException(inner)
|
1564 + | }
|
1565 + | crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError::InternalServerError(inner) => {
|
1566 + | Error::InternalServerError(inner)
|
1567 + | }
|
1568 + | crate::operation::deregister_task_from_maintenance_window::DeregisterTaskFromMaintenanceWindowError::Unhandled(inner) => {
|
1569 + | Error::Unhandled(inner)
|
1570 + | }
|
1571 + | }
|
1572 + | }
|
1573 + | }
|
1574 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_activations::DescribeActivationsError, R>> for Error
|
1575 + | where
|
1576 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1577 + | {
|
1578 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_activations::DescribeActivationsError, R>) -> Self {
|
1579 + | match err {
|
1580 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1581 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1582 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1583 + | source: err.into(),
|
1584 + | }),
|
1585 + | }
|
1586 + | }
|
1587 + | }
|
1588 + | impl From<crate::operation::describe_activations::DescribeActivationsError> for Error {
|
1589 + | fn from(err: crate::operation::describe_activations::DescribeActivationsError) -> Self {
|
1590 + | match err {
|
1591 + | crate::operation::describe_activations::DescribeActivationsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1592 + | crate::operation::describe_activations::DescribeActivationsError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
1593 + | crate::operation::describe_activations::DescribeActivationsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
1594 + | crate::operation::describe_activations::DescribeActivationsError::Unhandled(inner) => Error::Unhandled(inner),
|
1595 + | }
|
1596 + | }
|
1597 + | }
|
1598 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_association::DescribeAssociationError, R>> for Error
|
1599 + | where
|
1600 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1601 + | {
|
1602 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_association::DescribeAssociationError, R>) -> Self {
|
1603 + | match err {
|
1604 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1605 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1606 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1607 + | source: err.into(),
|
1608 + | }),
|
1609 + | }
|
1610 + | }
|
1611 + | }
|
1612 + | impl From<crate::operation::describe_association::DescribeAssociationError> for Error {
|
1613 + | fn from(err: crate::operation::describe_association::DescribeAssociationError) -> Self {
|
1614 + | match err {
|
1615 + | crate::operation::describe_association::DescribeAssociationError::AssociationDoesNotExist(inner) => Error::AssociationDoesNotExist(inner),
|
1616 + | crate::operation::describe_association::DescribeAssociationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1617 + | crate::operation::describe_association::DescribeAssociationError::InvalidAssociationVersion(inner) => {
|
1618 + | Error::InvalidAssociationVersion(inner)
|
1619 + | }
|
1620 + | crate::operation::describe_association::DescribeAssociationError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
1621 + | crate::operation::describe_association::DescribeAssociationError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
1622 + | crate::operation::describe_association::DescribeAssociationError::Unhandled(inner) => Error::Unhandled(inner),
|
1623 + | }
|
1624 + | }
|
1625 + | }
|
1626 + | impl<R>
|
1627 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_association_executions::DescribeAssociationExecutionsError, R>>
|
1628 + | for Error
|
1629 + | where
|
1630 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1631 + | {
|
1632 + | fn from(
|
1633 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1634 + | crate::operation::describe_association_executions::DescribeAssociationExecutionsError,
|
1635 + | R,
|
1636 + | >,
|
1637 + | ) -> Self {
|
1638 + | match err {
|
1639 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1640 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1641 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1642 + | source: err.into(),
|
1643 + | }),
|
1644 + | }
|
1645 + | }
|
1646 + | }
|
1647 + | impl From<crate::operation::describe_association_executions::DescribeAssociationExecutionsError> for Error {
|
1648 + | fn from(err: crate::operation::describe_association_executions::DescribeAssociationExecutionsError) -> Self {
|
1649 + | match err {
|
1650 + | crate::operation::describe_association_executions::DescribeAssociationExecutionsError::AssociationDoesNotExist(inner) => {
|
1651 + | Error::AssociationDoesNotExist(inner)
|
1652 + | }
|
1653 + | crate::operation::describe_association_executions::DescribeAssociationExecutionsError::InternalServerError(inner) => {
|
1654 + | Error::InternalServerError(inner)
|
1655 + | }
|
1656 + | crate::operation::describe_association_executions::DescribeAssociationExecutionsError::InvalidNextToken(inner) => {
|
1657 + | Error::InvalidNextToken(inner)
|
1658 + | }
|
1659 + | crate::operation::describe_association_executions::DescribeAssociationExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
|
1660 + | }
|
1661 + | }
|
1662 + | }
|
1663 + | impl<R>
|
1664 + | From<
|
1665 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1666 + | crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError,
|
1667 + | R,
|
1668 + | >,
|
1669 + | > for Error
|
1670 + | where
|
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_association_execution_targets::DescribeAssociationExecutionTargetsError,
|
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 + | }
|
1688 + | impl From<crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError> for Error {
|
1689 + | fn from(err: crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError) -> Self {
|
1690 + | match err {
|
1691 + | crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError::AssociationDoesNotExist(inner) => {
|
1692 + | Error::AssociationDoesNotExist(inner)
|
1693 + | }
|
1694 + | crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError::AssociationExecutionDoesNotExist(
|
1695 + | inner,
|
1696 + | ) => Error::AssociationExecutionDoesNotExist(inner),
|
1697 + | crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError::InternalServerError(inner) => {
|
1698 + | Error::InternalServerError(inner)
|
1699 + | }
|
1700 + | crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError::InvalidNextToken(inner) => {
|
1701 + | Error::InvalidNextToken(inner)
|
1702 + | }
|
1703 + | crate::operation::describe_association_execution_targets::DescribeAssociationExecutionTargetsError::Unhandled(inner) => {
|
1704 + | Error::Unhandled(inner)
|
1705 + | }
|
1706 + | }
|
1707 + | }
|
1708 + | }
|
1709 + | impl<R>
|
1710 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_automation_executions::DescribeAutomationExecutionsError, R>>
|
1711 + | for Error
|
1712 + | where
|
1713 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1714 + | {
|
1715 + | fn from(
|
1716 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1717 + | crate::operation::describe_automation_executions::DescribeAutomationExecutionsError,
|
1718 + | R,
|
1719 + | >,
|
1720 + | ) -> Self {
|
1721 + | match err {
|
1722 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1723 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1724 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1725 + | source: err.into(),
|
1726 + | }),
|
1727 + | }
|
1728 + | }
|
1729 + | }
|
1730 + | impl From<crate::operation::describe_automation_executions::DescribeAutomationExecutionsError> for Error {
|
1731 + | fn from(err: crate::operation::describe_automation_executions::DescribeAutomationExecutionsError) -> Self {
|
1732 + | match err {
|
1733 + | crate::operation::describe_automation_executions::DescribeAutomationExecutionsError::InternalServerError(inner) => {
|
1734 + | Error::InternalServerError(inner)
|
1735 + | }
|
1736 + | crate::operation::describe_automation_executions::DescribeAutomationExecutionsError::InvalidFilterKey(inner) => {
|
1737 + | Error::InvalidFilterKey(inner)
|
1738 + | }
|
1739 + | crate::operation::describe_automation_executions::DescribeAutomationExecutionsError::InvalidFilterValue(inner) => {
|
1740 + | Error::InvalidFilterValue(inner)
|
1741 + | }
|
1742 + | crate::operation::describe_automation_executions::DescribeAutomationExecutionsError::InvalidNextToken(inner) => {
|
1743 + | Error::InvalidNextToken(inner)
|
1744 + | }
|
1745 + | crate::operation::describe_automation_executions::DescribeAutomationExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
|
1746 + | }
|
1747 + | }
|
1748 + | }
|
1749 + | impl<R>
|
1750 + | From<
|
1751 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1752 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError,
|
1753 + | R,
|
1754 + | >,
|
1755 + | > for Error
|
1756 + | where
|
1757 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1758 + | {
|
1759 + | fn from(
|
1760 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1761 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError,
|
1762 + | R,
|
1763 + | >,
|
1764 + | ) -> Self {
|
1765 + | match err {
|
1766 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1767 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1768 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1769 + | source: err.into(),
|
1770 + | }),
|
1771 + | }
|
1772 + | }
|
1773 + | }
|
1774 + | impl From<crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError> for Error {
|
1775 + | fn from(err: crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError) -> Self {
|
1776 + | match err {
|
1777 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError::AutomationExecutionNotFoundException(
|
1778 + | inner,
|
1779 + | ) => Error::AutomationExecutionNotFoundException(inner),
|
1780 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError::InternalServerError(inner) => {
|
1781 + | Error::InternalServerError(inner)
|
1782 + | }
|
1783 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError::InvalidFilterKey(inner) => {
|
1784 + | Error::InvalidFilterKey(inner)
|
1785 + | }
|
1786 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError::InvalidFilterValue(inner) => {
|
1787 + | Error::InvalidFilterValue(inner)
|
1788 + | }
|
1789 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError::InvalidNextToken(inner) => {
|
1790 + | Error::InvalidNextToken(inner)
|
1791 + | }
|
1792 + | crate::operation::describe_automation_step_executions::DescribeAutomationStepExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
|
1793 + | }
|
1794 + | }
|
1795 + | }
|
1796 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_available_patches::DescribeAvailablePatchesError, R>>
|
1797 + | for Error
|
1798 + | where
|
1799 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1800 + | {
|
1801 + | fn from(
|
1802 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_available_patches::DescribeAvailablePatchesError, R>,
|
1803 + | ) -> Self {
|
1804 + | match err {
|
1805 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1806 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1807 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1808 + | source: err.into(),
|
1809 + | }),
|
1810 + | }
|
1811 + | }
|
1812 + | }
|
1813 + | impl From<crate::operation::describe_available_patches::DescribeAvailablePatchesError> for Error {
|
1814 + | fn from(err: crate::operation::describe_available_patches::DescribeAvailablePatchesError) -> Self {
|
1815 + | match err {
|
1816 + | crate::operation::describe_available_patches::DescribeAvailablePatchesError::InternalServerError(inner) => {
|
1817 + | Error::InternalServerError(inner)
|
1818 + | }
|
1819 + | crate::operation::describe_available_patches::DescribeAvailablePatchesError::Unhandled(inner) => Error::Unhandled(inner),
|
1820 + | }
|
1821 + | }
|
1822 + | }
|
1823 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_document::DescribeDocumentError, R>> for Error
|
1824 + | where
|
1825 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1826 + | {
|
1827 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_document::DescribeDocumentError, R>) -> Self {
|
1828 + | match err {
|
1829 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1830 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1831 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1832 + | source: err.into(),
|
1833 + | }),
|
1834 + | }
|
1835 + | }
|
1836 + | }
|
1837 + | impl From<crate::operation::describe_document::DescribeDocumentError> for Error {
|
1838 + | fn from(err: crate::operation::describe_document::DescribeDocumentError) -> Self {
|
1839 + | match err {
|
1840 + | crate::operation::describe_document::DescribeDocumentError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1841 + | crate::operation::describe_document::DescribeDocumentError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
1842 + | crate::operation::describe_document::DescribeDocumentError::InvalidDocumentVersion(inner) => Error::InvalidDocumentVersion(inner),
|
1843 + | crate::operation::describe_document::DescribeDocumentError::Unhandled(inner) => Error::Unhandled(inner),
|
1844 + | }
|
1845 + | }
|
1846 + | }
|
1847 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_document_permission::DescribeDocumentPermissionError, R>>
|
1848 + | for Error
|
1849 + | where
|
1850 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1851 + | {
|
1852 + | fn from(
|
1853 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_document_permission::DescribeDocumentPermissionError, R>,
|
1854 + | ) -> Self {
|
1855 + | match err {
|
1856 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1857 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1858 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1859 + | source: err.into(),
|
1860 + | }),
|
1861 + | }
|
1862 + | }
|
1863 + | }
|
1864 + | impl From<crate::operation::describe_document_permission::DescribeDocumentPermissionError> for Error {
|
1865 + | fn from(err: crate::operation::describe_document_permission::DescribeDocumentPermissionError) -> Self {
|
1866 + | match err {
|
1867 + | crate::operation::describe_document_permission::DescribeDocumentPermissionError::InternalServerError(inner) => {
|
1868 + | Error::InternalServerError(inner)
|
1869 + | }
|
1870 + | crate::operation::describe_document_permission::DescribeDocumentPermissionError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
1871 + | crate::operation::describe_document_permission::DescribeDocumentPermissionError::InvalidDocumentOperation(inner) => {
|
1872 + | Error::InvalidDocumentOperation(inner)
|
1873 + | }
|
1874 + | crate::operation::describe_document_permission::DescribeDocumentPermissionError::InvalidNextToken(inner) => {
|
1875 + | Error::InvalidNextToken(inner)
|
1876 + | }
|
1877 + | crate::operation::describe_document_permission::DescribeDocumentPermissionError::InvalidPermissionType(inner) => {
|
1878 + | Error::InvalidPermissionType(inner)
|
1879 + | }
|
1880 + | crate::operation::describe_document_permission::DescribeDocumentPermissionError::Unhandled(inner) => Error::Unhandled(inner),
|
1881 + | }
|
1882 + | }
|
1883 + | }
|
1884 + | impl<R>
|
1885 + | From<
|
1886 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1887 + | crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError,
|
1888 + | R,
|
1889 + | >,
|
1890 + | > for Error
|
1891 + | where
|
1892 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1893 + | {
|
1894 + | fn from(
|
1895 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1896 + | crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError,
|
1897 + | R,
|
1898 + | >,
|
1899 + | ) -> Self {
|
1900 + | match err {
|
1901 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1902 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1903 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1904 + | source: err.into(),
|
1905 + | }),
|
1906 + | }
|
1907 + | }
|
1908 + | }
|
1909 + | impl From<crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError> for Error {
|
1910 + | fn from(err: crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError) -> Self {
|
1911 + | match err {
|
1912 + | crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError::InternalServerError(inner) => {
|
1913 + | Error::InternalServerError(inner)
|
1914 + | }
|
1915 + | crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError::InvalidInstanceId(inner) => {
|
1916 + | Error::InvalidInstanceId(inner)
|
1917 + | }
|
1918 + | crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError::InvalidNextToken(inner) => {
|
1919 + | Error::InvalidNextToken(inner)
|
1920 + | }
|
1921 + | crate::operation::describe_effective_instance_associations::DescribeEffectiveInstanceAssociationsError::Unhandled(inner) => {
|
1922 + | Error::Unhandled(inner)
|
1923 + | }
|
1924 + | }
|
1925 + | }
|
1926 + | }
|
1927 + | impl<R>
|
1928 + | From<
|
1929 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1930 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError,
|
1931 + | R,
|
1932 + | >,
|
1933 + | > for Error
|
1934 + | where
|
1935 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1936 + | {
|
1937 + | fn from(
|
1938 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1939 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError,
|
1940 + | R,
|
1941 + | >,
|
1942 + | ) -> Self {
|
1943 + | match err {
|
1944 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1945 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1946 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1947 + | source: err.into(),
|
1948 + | }),
|
1949 + | }
|
1950 + | }
|
1951 + | }
|
1952 + | impl From<crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError> for Error {
|
1953 + | fn from(err: crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError) -> Self {
|
1954 + | match err {
|
1955 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
1956 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1957 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
1958 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError::UnsupportedOperatingSystem(inner) => Error::UnsupportedOperatingSystem(inner),
|
1959 + | crate::operation::describe_effective_patches_for_patch_baseline::DescribeEffectivePatchesForPatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
1960 + | }
|
1961 + | }
|
1962 + | }
|
1963 + | impl<R>
|
1964 + | From<
|
1965 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
1966 + | crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError,
|
1967 + | R,
|
1968 + | >,
|
1969 + | > for Error
|
1970 + | where
|
1971 + | R: Send + Sync + std::fmt::Debug + 'static,
|
1972 + | {
|
1973 + | fn from(
|
1974 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1975 + | crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError,
|
1976 + | R,
|
1977 + | >,
|
1978 + | ) -> Self {
|
1979 + | match err {
|
1980 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1981 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1982 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1983 + | source: err.into(),
|
1984 + | }),
|
1985 + | }
|
1986 + | }
|
1987 + | }
|
1988 + | impl From<crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError> for Error {
|
1989 + | fn from(err: crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError) -> Self {
|
1990 + | match err {
|
1991 + | crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError::InternalServerError(inner) => {
|
1992 + | Error::InternalServerError(inner)
|
1993 + | }
|
1994 + | crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError::InvalidInstanceId(inner) => {
|
1995 + | Error::InvalidInstanceId(inner)
|
1996 + | }
|
1997 + | crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError::InvalidNextToken(inner) => {
|
1998 + | Error::InvalidNextToken(inner)
|
1999 + | }
|
2000 + | crate::operation::describe_instance_associations_status::DescribeInstanceAssociationsStatusError::Unhandled(inner) => {
|
2001 + | Error::Unhandled(inner)
|
2002 + | }
|
2003 + | }
|
2004 + | }
|
2005 + | }
|
2006 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_information::DescribeInstanceInformationError, R>>
|
2007 + | for Error
|
2008 + | where
|
2009 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2010 + | {
|
2011 + | fn from(
|
2012 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_information::DescribeInstanceInformationError, R>,
|
2013 + | ) -> Self {
|
2014 + | match err {
|
2015 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2016 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2017 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2018 + | source: err.into(),
|
2019 + | }),
|
2020 + | }
|
2021 + | }
|
2022 + | }
|
2023 + | impl From<crate::operation::describe_instance_information::DescribeInstanceInformationError> for Error {
|
2024 + | fn from(err: crate::operation::describe_instance_information::DescribeInstanceInformationError) -> Self {
|
2025 + | match err {
|
2026 + | crate::operation::describe_instance_information::DescribeInstanceInformationError::InternalServerError(inner) => {
|
2027 + | Error::InternalServerError(inner)
|
2028 + | }
|
2029 + | crate::operation::describe_instance_information::DescribeInstanceInformationError::InvalidFilterKey(inner) => {
|
2030 + | Error::InvalidFilterKey(inner)
|
2031 + | }
|
2032 + | crate::operation::describe_instance_information::DescribeInstanceInformationError::InvalidInstanceId(inner) => {
|
2033 + | Error::InvalidInstanceId(inner)
|
2034 + | }
|
2035 + | crate::operation::describe_instance_information::DescribeInstanceInformationError::InvalidInstanceInformationFilterValue(inner) => {
|
2036 + | Error::InvalidInstanceInformationFilterValue(inner)
|
2037 + | }
|
2038 + | crate::operation::describe_instance_information::DescribeInstanceInformationError::InvalidNextToken(inner) => {
|
2039 + | Error::InvalidNextToken(inner)
|
2040 + | }
|
2041 + | crate::operation::describe_instance_information::DescribeInstanceInformationError::Unhandled(inner) => Error::Unhandled(inner),
|
2042 + | }
|
2043 + | }
|
2044 + | }
|
2045 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_patches::DescribeInstancePatchesError, R>>
|
2046 + | for Error
|
2047 + | where
|
2048 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2049 + | {
|
2050 + | fn from(
|
2051 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_patches::DescribeInstancePatchesError, R>,
|
2052 + | ) -> Self {
|
2053 + | match err {
|
2054 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2055 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2056 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2057 + | source: err.into(),
|
2058 + | }),
|
2059 + | }
|
2060 + | }
|
2061 + | }
|
2062 + | impl From<crate::operation::describe_instance_patches::DescribeInstancePatchesError> for Error {
|
2063 + | fn from(err: crate::operation::describe_instance_patches::DescribeInstancePatchesError) -> Self {
|
2064 + | match err {
|
2065 + | crate::operation::describe_instance_patches::DescribeInstancePatchesError::InternalServerError(inner) => {
|
2066 + | Error::InternalServerError(inner)
|
2067 + | }
|
2068 + | crate::operation::describe_instance_patches::DescribeInstancePatchesError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
2069 + | crate::operation::describe_instance_patches::DescribeInstancePatchesError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
2070 + | crate::operation::describe_instance_patches::DescribeInstancePatchesError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
2071 + | crate::operation::describe_instance_patches::DescribeInstancePatchesError::Unhandled(inner) => Error::Unhandled(inner),
|
2072 + | }
|
2073 + | }
|
2074 + | }
|
2075 + | impl<R>
|
2076 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError, R>>
|
2077 + | for Error
|
2078 + | where
|
2079 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2080 + | {
|
2081 + | fn from(
|
2082 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2083 + | crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError,
|
2084 + | R,
|
2085 + | >,
|
2086 + | ) -> Self {
|
2087 + | match err {
|
2088 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2089 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2090 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2091 + | source: err.into(),
|
2092 + | }),
|
2093 + | }
|
2094 + | }
|
2095 + | }
|
2096 + | impl From<crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError> for Error {
|
2097 + | fn from(err: crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError) -> Self {
|
2098 + | match err {
|
2099 + | crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError::InternalServerError(inner) => {
|
2100 + | Error::InternalServerError(inner)
|
2101 + | }
|
2102 + | crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError::InvalidNextToken(inner) => {
|
2103 + | Error::InvalidNextToken(inner)
|
2104 + | }
|
2105 + | crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError::Unhandled(inner) => Error::Unhandled(inner),
|
2106 + | }
|
2107 + | }
|
2108 + | }
|
2109 + | impl<R>
|
2110 + | From<
|
2111 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2112 + | crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError,
|
2113 + | R,
|
2114 + | >,
|
2115 + | > for Error
|
2116 + | where
|
2117 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2118 + | {
|
2119 + | fn from(
|
2120 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2121 + | crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError,
|
2122 + | R,
|
2123 + | >,
|
2124 + | ) -> Self {
|
2125 + | match err {
|
2126 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2127 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2128 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2129 + | source: err.into(),
|
2130 + | }),
|
2131 + | }
|
2132 + | }
|
2133 + | }
|
2134 + | impl From<crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError> for Error {
|
2135 + | fn from(err: crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError) -> Self {
|
2136 + | match err {
|
2137 + | crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError::InternalServerError(
|
2138 + | inner,
|
2139 + | ) => Error::InternalServerError(inner),
|
2140 + | crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError::InvalidFilter(inner) => {
|
2141 + | Error::InvalidFilter(inner)
|
2142 + | }
|
2143 + | crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError::InvalidNextToken(
|
2144 + | inner,
|
2145 + | ) => Error::InvalidNextToken(inner),
|
2146 + | crate::operation::describe_instance_patch_states_for_patch_group::DescribeInstancePatchStatesForPatchGroupError::Unhandled(inner) => {
|
2147 + | Error::Unhandled(inner)
|
2148 + | }
|
2149 + | }
|
2150 + | }
|
2151 + | }
|
2152 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_properties::DescribeInstancePropertiesError, R>>
|
2153 + | for Error
|
2154 + | where
|
2155 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2156 + | {
|
2157 + | fn from(
|
2158 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_properties::DescribeInstancePropertiesError, R>,
|
2159 + | ) -> Self {
|
2160 + | match err {
|
2161 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2162 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2163 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2164 + | source: err.into(),
|
2165 + | }),
|
2166 + | }
|
2167 + | }
|
2168 + | }
|
2169 + | impl From<crate::operation::describe_instance_properties::DescribeInstancePropertiesError> for Error {
|
2170 + | fn from(err: crate::operation::describe_instance_properties::DescribeInstancePropertiesError) -> Self {
|
2171 + | match err {
|
2172 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InternalServerError(inner) => {
|
2173 + | Error::InternalServerError(inner)
|
2174 + | }
|
2175 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InvalidActivationId(inner) => {
|
2176 + | Error::InvalidActivationId(inner)
|
2177 + | }
|
2178 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
2179 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InvalidFilterKey(inner) => {
|
2180 + | Error::InvalidFilterKey(inner)
|
2181 + | }
|
2182 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InvalidInstanceId(inner) => {
|
2183 + | Error::InvalidInstanceId(inner)
|
2184 + | }
|
2185 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InvalidInstancePropertyFilterValue(inner) => {
|
2186 + | Error::InvalidInstancePropertyFilterValue(inner)
|
2187 + | }
|
2188 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::InvalidNextToken(inner) => {
|
2189 + | Error::InvalidNextToken(inner)
|
2190 + | }
|
2191 + | crate::operation::describe_instance_properties::DescribeInstancePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
|
2192 + | }
|
2193 + | }
|
2194 + | }
|
2195 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError, R>>
|
2196 + | for Error
|
2197 + | where
|
2198 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2199 + | {
|
2200 + | fn from(
|
2201 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError, R>,
|
2202 + | ) -> Self {
|
2203 + | match err {
|
2204 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2205 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2206 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2207 + | source: err.into(),
|
2208 + | }),
|
2209 + | }
|
2210 + | }
|
2211 + | }
|
2212 + | impl From<crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError> for Error {
|
2213 + | fn from(err: crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError) -> Self {
|
2214 + | match err {
|
2215 + | crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError::InternalServerError(inner) => {
|
2216 + | Error::InternalServerError(inner)
|
2217 + | }
|
2218 + | crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError::InvalidDeletionIdException(inner) => {
|
2219 + | Error::InvalidDeletionIdException(inner)
|
2220 + | }
|
2221 + | crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError::InvalidNextToken(inner) => {
|
2222 + | Error::InvalidNextToken(inner)
|
2223 + | }
|
2224 + | crate::operation::describe_inventory_deletions::DescribeInventoryDeletionsError::Unhandled(inner) => Error::Unhandled(inner),
|
2225 + | }
|
2226 + | }
|
2227 + | }
|
2228 + | impl<R>
|
2229 + | From<
|
2230 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2231 + | crate::operation::describe_maintenance_window_executions::DescribeMaintenanceWindowExecutionsError,
|
2232 + | R,
|
2233 + | >,
|
2234 + | > for Error
|
2235 + | where
|
2236 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2237 + | {
|
2238 + | fn from(
|
2239 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2240 + | crate::operation::describe_maintenance_window_executions::DescribeMaintenanceWindowExecutionsError,
|
2241 + | R,
|
2242 + | >,
|
2243 + | ) -> Self {
|
2244 + | match err {
|
2245 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2246 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2247 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2248 + | source: err.into(),
|
2249 + | }),
|
2250 + | }
|
2251 + | }
|
2252 + | }
|
2253 + | impl From<crate::operation::describe_maintenance_window_executions::DescribeMaintenanceWindowExecutionsError> for Error {
|
2254 + | fn from(err: crate::operation::describe_maintenance_window_executions::DescribeMaintenanceWindowExecutionsError) -> Self {
|
2255 + | match err {
|
2256 + | crate::operation::describe_maintenance_window_executions::DescribeMaintenanceWindowExecutionsError::InternalServerError(inner) => {
|
2257 + | Error::InternalServerError(inner)
|
2258 + | }
|
2259 + | crate::operation::describe_maintenance_window_executions::DescribeMaintenanceWindowExecutionsError::Unhandled(inner) => {
|
2260 + | Error::Unhandled(inner)
|
2261 + | }
|
2262 + | }
|
2263 + | }
|
2264 + | }
|
2265 + | impl<R>
|
2266 + | From<
|
2267 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2268 + | crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError,
|
2269 + | R,
|
2270 + | >,
|
2271 + | > for Error
|
2272 + | where
|
2273 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2274 + | {
|
2275 + | fn from(
|
2276 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2277 + | crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError,
|
2278 + | R,
|
2279 + | >,
|
2280 + | ) -> Self {
|
2281 + | match err {
|
2282 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2283 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2284 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2285 + | source: err.into(),
|
2286 + | }),
|
2287 + | }
|
2288 + | }
|
2289 + | }
|
2290 + | impl From<crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError>
|
2291 + | for Error
|
2292 + | {
|
2293 + | fn from(
|
2294 + | err: crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError,
|
2295 + | ) -> Self {
|
2296 + | match err {
|
2297 + | crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
2298 + | crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2299 + | crate::operation::describe_maintenance_window_execution_task_invocations::DescribeMaintenanceWindowExecutionTaskInvocationsError::Unhandled(inner) => Error::Unhandled(inner),
|
2300 + | }
|
2301 + | }
|
2302 + | }
|
2303 + | impl<R>
|
2304 + | From<
|
2305 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2306 + | crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError,
|
2307 + | R,
|
2308 + | >,
|
2309 + | > for Error
|
2310 + | where
|
2311 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2312 + | {
|
2313 + | fn from(
|
2314 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2315 + | crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError,
|
2316 + | R,
|
2317 + | >,
|
2318 + | ) -> Self {
|
2319 + | match err {
|
2320 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2321 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2322 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2323 + | source: err.into(),
|
2324 + | }),
|
2325 + | }
|
2326 + | }
|
2327 + | }
|
2328 + | impl From<crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError> for Error {
|
2329 + | fn from(err: crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError) -> Self {
|
2330 + | match err {
|
2331 + | crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError::DoesNotExistException(
|
2332 + | inner,
|
2333 + | ) => Error::DoesNotExistException(inner),
|
2334 + | crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError::InternalServerError(
|
2335 + | inner,
|
2336 + | ) => Error::InternalServerError(inner),
|
2337 + | crate::operation::describe_maintenance_window_execution_tasks::DescribeMaintenanceWindowExecutionTasksError::Unhandled(inner) => {
|
2338 + | Error::Unhandled(inner)
|
2339 + | }
|
2340 + | }
|
2341 + | }
|
2342 + | }
|
2343 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError, R>>
|
2344 + | for Error
|
2345 + | where
|
2346 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2347 + | {
|
2348 + | fn from(
|
2349 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError, R>,
|
2350 + | ) -> Self {
|
2351 + | match err {
|
2352 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2353 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2354 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2355 + | source: err.into(),
|
2356 + | }),
|
2357 + | }
|
2358 + | }
|
2359 + | }
|
2360 + | impl From<crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError> for Error {
|
2361 + | fn from(err: crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError) -> Self {
|
2362 + | match err {
|
2363 + | crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError::InternalServerError(inner) => {
|
2364 + | Error::InternalServerError(inner)
|
2365 + | }
|
2366 + | crate::operation::describe_maintenance_windows::DescribeMaintenanceWindowsError::Unhandled(inner) => Error::Unhandled(inner),
|
2367 + | }
|
2368 + | }
|
2369 + | }
|
2370 + | impl<R>
|
2371 + | From<
|
2372 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2373 + | crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError,
|
2374 + | R,
|
2375 + | >,
|
2376 + | > for Error
|
2377 + | where
|
2378 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2379 + | {
|
2380 + | fn from(
|
2381 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2382 + | crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError,
|
2383 + | R,
|
2384 + | >,
|
2385 + | ) -> Self {
|
2386 + | match err {
|
2387 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2388 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2389 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2390 + | source: err.into(),
|
2391 + | }),
|
2392 + | }
|
2393 + | }
|
2394 + | }
|
2395 + | impl From<crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError> for Error {
|
2396 + | fn from(err: crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError) -> Self {
|
2397 + | match err {
|
2398 + | crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError::DoesNotExistException(inner) => {
|
2399 + | Error::DoesNotExistException(inner)
|
2400 + | }
|
2401 + | crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError::InternalServerError(inner) => {
|
2402 + | Error::InternalServerError(inner)
|
2403 + | }
|
2404 + | crate::operation::describe_maintenance_window_schedule::DescribeMaintenanceWindowScheduleError::Unhandled(inner) => {
|
2405 + | Error::Unhandled(inner)
|
2406 + | }
|
2407 + | }
|
2408 + | }
|
2409 + | }
|
2410 + | impl<R>
|
2411 + | From<
|
2412 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2413 + | crate::operation::describe_maintenance_windows_for_target::DescribeMaintenanceWindowsForTargetError,
|
2414 + | R,
|
2415 + | >,
|
2416 + | > for Error
|
2417 + | where
|
2418 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2419 + | {
|
2420 + | fn from(
|
2421 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2422 + | crate::operation::describe_maintenance_windows_for_target::DescribeMaintenanceWindowsForTargetError,
|
2423 + | R,
|
2424 + | >,
|
2425 + | ) -> Self {
|
2426 + | match err {
|
2427 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2428 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2429 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2430 + | source: err.into(),
|
2431 + | }),
|
2432 + | }
|
2433 + | }
|
2434 + | }
|
2435 + | impl From<crate::operation::describe_maintenance_windows_for_target::DescribeMaintenanceWindowsForTargetError> for Error {
|
2436 + | fn from(err: crate::operation::describe_maintenance_windows_for_target::DescribeMaintenanceWindowsForTargetError) -> Self {
|
2437 + | match err {
|
2438 + | crate::operation::describe_maintenance_windows_for_target::DescribeMaintenanceWindowsForTargetError::InternalServerError(inner) => {
|
2439 + | Error::InternalServerError(inner)
|
2440 + | }
|
2441 + | crate::operation::describe_maintenance_windows_for_target::DescribeMaintenanceWindowsForTargetError::Unhandled(inner) => {
|
2442 + | Error::Unhandled(inner)
|
2443 + | }
|
2444 + | }
|
2445 + | }
|
2446 + | }
|
2447 + | impl<R>
|
2448 + | From<
|
2449 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2450 + | crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError,
|
2451 + | R,
|
2452 + | >,
|
2453 + | > for Error
|
2454 + | where
|
2455 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2456 + | {
|
2457 + | fn from(
|
2458 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2459 + | crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError,
|
2460 + | R,
|
2461 + | >,
|
2462 + | ) -> Self {
|
2463 + | match err {
|
2464 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2465 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2466 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2467 + | source: err.into(),
|
2468 + | }),
|
2469 + | }
|
2470 + | }
|
2471 + | }
|
2472 + | impl From<crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError> for Error {
|
2473 + | fn from(err: crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError) -> Self {
|
2474 + | match err {
|
2475 + | crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError::DoesNotExistException(inner) => {
|
2476 + | Error::DoesNotExistException(inner)
|
2477 + | }
|
2478 + | crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError::InternalServerError(inner) => {
|
2479 + | Error::InternalServerError(inner)
|
2480 + | }
|
2481 + | crate::operation::describe_maintenance_window_targets::DescribeMaintenanceWindowTargetsError::Unhandled(inner) => Error::Unhandled(inner),
|
2482 + | }
|
2483 + | }
|
2484 + | }
|
2485 + | impl<R>
|
2486 + | From<
|
2487 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2488 + | crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError,
|
2489 + | R,
|
2490 + | >,
|
2491 + | > for Error
|
2492 + | where
|
2493 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2494 + | {
|
2495 + | fn from(
|
2496 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2497 + | crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError,
|
2498 + | R,
|
2499 + | >,
|
2500 + | ) -> Self {
|
2501 + | match err {
|
2502 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2503 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2504 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2505 + | source: err.into(),
|
2506 + | }),
|
2507 + | }
|
2508 + | }
|
2509 + | }
|
2510 + | impl From<crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError> for Error {
|
2511 + | fn from(err: crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError) -> Self {
|
2512 + | match err {
|
2513 + | crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError::DoesNotExistException(inner) => {
|
2514 + | Error::DoesNotExistException(inner)
|
2515 + | }
|
2516 + | crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError::InternalServerError(inner) => {
|
2517 + | Error::InternalServerError(inner)
|
2518 + | }
|
2519 + | crate::operation::describe_maintenance_window_tasks::DescribeMaintenanceWindowTasksError::Unhandled(inner) => Error::Unhandled(inner),
|
2520 + | }
|
2521 + | }
|
2522 + | }
|
2523 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ops_items::DescribeOpsItemsError, R>> for Error
|
2524 + | where
|
2525 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2526 + | {
|
2527 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ops_items::DescribeOpsItemsError, R>) -> Self {
|
2528 + | match err {
|
2529 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2530 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2531 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2532 + | source: err.into(),
|
2533 + | }),
|
2534 + | }
|
2535 + | }
|
2536 + | }
|
2537 + | impl From<crate::operation::describe_ops_items::DescribeOpsItemsError> for Error {
|
2538 + | fn from(err: crate::operation::describe_ops_items::DescribeOpsItemsError) -> Self {
|
2539 + | match err {
|
2540 + | crate::operation::describe_ops_items::DescribeOpsItemsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2541 + | crate::operation::describe_ops_items::DescribeOpsItemsError::Unhandled(inner) => Error::Unhandled(inner),
|
2542 + | }
|
2543 + | }
|
2544 + | }
|
2545 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_parameters::DescribeParametersError, R>> for Error
|
2546 + | where
|
2547 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2548 + | {
|
2549 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_parameters::DescribeParametersError, R>) -> Self {
|
2550 + | match err {
|
2551 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2552 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2553 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2554 + | source: err.into(),
|
2555 + | }),
|
2556 + | }
|
2557 + | }
|
2558 + | }
|
2559 + | impl From<crate::operation::describe_parameters::DescribeParametersError> for Error {
|
2560 + | fn from(err: crate::operation::describe_parameters::DescribeParametersError) -> Self {
|
2561 + | match err {
|
2562 + | crate::operation::describe_parameters::DescribeParametersError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2563 + | crate::operation::describe_parameters::DescribeParametersError::InvalidFilterKey(inner) => Error::InvalidFilterKey(inner),
|
2564 + | crate::operation::describe_parameters::DescribeParametersError::InvalidFilterOption(inner) => Error::InvalidFilterOption(inner),
|
2565 + | crate::operation::describe_parameters::DescribeParametersError::InvalidFilterValue(inner) => Error::InvalidFilterValue(inner),
|
2566 + | crate::operation::describe_parameters::DescribeParametersError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
2567 + | crate::operation::describe_parameters::DescribeParametersError::Unhandled(inner) => Error::Unhandled(inner),
|
2568 + | }
|
2569 + | }
|
2570 + | }
|
2571 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_baselines::DescribePatchBaselinesError, R>> for Error
|
2572 + | where
|
2573 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2574 + | {
|
2575 + | fn from(
|
2576 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_baselines::DescribePatchBaselinesError, R>,
|
2577 + | ) -> Self {
|
2578 + | match err {
|
2579 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2580 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2581 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2582 + | source: err.into(),
|
2583 + | }),
|
2584 + | }
|
2585 + | }
|
2586 + | }
|
2587 + | impl From<crate::operation::describe_patch_baselines::DescribePatchBaselinesError> for Error {
|
2588 + | fn from(err: crate::operation::describe_patch_baselines::DescribePatchBaselinesError) -> Self {
|
2589 + | match err {
|
2590 + | crate::operation::describe_patch_baselines::DescribePatchBaselinesError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2591 + | crate::operation::describe_patch_baselines::DescribePatchBaselinesError::Unhandled(inner) => Error::Unhandled(inner),
|
2592 + | }
|
2593 + | }
|
2594 + | }
|
2595 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_groups::DescribePatchGroupsError, R>> for Error
|
2596 + | where
|
2597 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2598 + | {
|
2599 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_groups::DescribePatchGroupsError, R>) -> Self {
|
2600 + | match err {
|
2601 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2602 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2603 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2604 + | source: err.into(),
|
2605 + | }),
|
2606 + | }
|
2607 + | }
|
2608 + | }
|
2609 + | impl From<crate::operation::describe_patch_groups::DescribePatchGroupsError> for Error {
|
2610 + | fn from(err: crate::operation::describe_patch_groups::DescribePatchGroupsError) -> Self {
|
2611 + | match err {
|
2612 + | crate::operation::describe_patch_groups::DescribePatchGroupsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2613 + | crate::operation::describe_patch_groups::DescribePatchGroupsError::Unhandled(inner) => Error::Unhandled(inner),
|
2614 + | }
|
2615 + | }
|
2616 + | }
|
2617 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_group_state::DescribePatchGroupStateError, R>>
|
2618 + | for Error
|
2619 + | where
|
2620 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2621 + | {
|
2622 + | fn from(
|
2623 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_group_state::DescribePatchGroupStateError, R>,
|
2624 + | ) -> Self {
|
2625 + | match err {
|
2626 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2627 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2628 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2629 + | source: err.into(),
|
2630 + | }),
|
2631 + | }
|
2632 + | }
|
2633 + | }
|
2634 + | impl From<crate::operation::describe_patch_group_state::DescribePatchGroupStateError> for Error {
|
2635 + | fn from(err: crate::operation::describe_patch_group_state::DescribePatchGroupStateError) -> Self {
|
2636 + | match err {
|
2637 + | crate::operation::describe_patch_group_state::DescribePatchGroupStateError::InternalServerError(inner) => {
|
2638 + | Error::InternalServerError(inner)
|
2639 + | }
|
2640 + | crate::operation::describe_patch_group_state::DescribePatchGroupStateError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
2641 + | crate::operation::describe_patch_group_state::DescribePatchGroupStateError::Unhandled(inner) => Error::Unhandled(inner),
|
2642 + | }
|
2643 + | }
|
2644 + | }
|
2645 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_properties::DescribePatchPropertiesError, R>>
|
2646 + | for Error
|
2647 + | where
|
2648 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2649 + | {
|
2650 + | fn from(
|
2651 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_patch_properties::DescribePatchPropertiesError, R>,
|
2652 + | ) -> Self {
|
2653 + | match err {
|
2654 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2655 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2656 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2657 + | source: err.into(),
|
2658 + | }),
|
2659 + | }
|
2660 + | }
|
2661 + | }
|
2662 + | impl From<crate::operation::describe_patch_properties::DescribePatchPropertiesError> for Error {
|
2663 + | fn from(err: crate::operation::describe_patch_properties::DescribePatchPropertiesError) -> Self {
|
2664 + | match err {
|
2665 + | crate::operation::describe_patch_properties::DescribePatchPropertiesError::InternalServerError(inner) => {
|
2666 + | Error::InternalServerError(inner)
|
2667 + | }
|
2668 + | crate::operation::describe_patch_properties::DescribePatchPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
|
2669 + | }
|
2670 + | }
|
2671 + | }
|
2672 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_sessions::DescribeSessionsError, R>> for Error
|
2673 + | where
|
2674 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2675 + | {
|
2676 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_sessions::DescribeSessionsError, R>) -> Self {
|
2677 + | match err {
|
2678 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2679 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2680 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2681 + | source: err.into(),
|
2682 + | }),
|
2683 + | }
|
2684 + | }
|
2685 + | }
|
2686 + | impl From<crate::operation::describe_sessions::DescribeSessionsError> for Error {
|
2687 + | fn from(err: crate::operation::describe_sessions::DescribeSessionsError) -> Self {
|
2688 + | match err {
|
2689 + | crate::operation::describe_sessions::DescribeSessionsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2690 + | crate::operation::describe_sessions::DescribeSessionsError::InvalidFilterKey(inner) => Error::InvalidFilterKey(inner),
|
2691 + | crate::operation::describe_sessions::DescribeSessionsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
2692 + | crate::operation::describe_sessions::DescribeSessionsError::Unhandled(inner) => Error::Unhandled(inner),
|
2693 + | }
|
2694 + | }
|
2695 + | }
|
2696 + | impl<R>
|
2697 + | From<
|
2698 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2699 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError,
|
2700 + | R,
|
2701 + | >,
|
2702 + | > for Error
|
2703 + | where
|
2704 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2705 + | {
|
2706 + | fn from(
|
2707 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2708 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError,
|
2709 + | R,
|
2710 + | >,
|
2711 + | ) -> Self {
|
2712 + | match err {
|
2713 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2714 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2715 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2716 + | source: err.into(),
|
2717 + | }),
|
2718 + | }
|
2719 + | }
|
2720 + | }
|
2721 + | impl From<crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError> for Error {
|
2722 + | fn from(err: crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError) -> Self {
|
2723 + | match err {
|
2724 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2725 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError::OpsItemConflictException(inner) => Error::OpsItemConflictException(inner),
|
2726 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError::OpsItemInvalidParameterException(inner) => Error::OpsItemInvalidParameterException(inner),
|
2727 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError::OpsItemNotFoundException(inner) => Error::OpsItemNotFoundException(inner),
|
2728 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError::OpsItemRelatedItemAssociationNotFoundException(inner) => Error::OpsItemRelatedItemAssociationNotFoundException(inner),
|
2729 + | crate::operation::disassociate_ops_item_related_item::DisassociateOpsItemRelatedItemError::Unhandled(inner) => Error::Unhandled(inner),
|
2730 + | }
|
2731 + | }
|
2732 + | }
|
2733 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_access_token::GetAccessTokenError, R>> for Error
|
2734 + | where
|
2735 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2736 + | {
|
2737 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_access_token::GetAccessTokenError, R>) -> Self {
|
2738 + | match err {
|
2739 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2740 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2741 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2742 + | source: err.into(),
|
2743 + | }),
|
2744 + | }
|
2745 + | }
|
2746 + | }
|
2747 + | impl From<crate::operation::get_access_token::GetAccessTokenError> for Error {
|
2748 + | fn from(err: crate::operation::get_access_token::GetAccessTokenError) -> Self {
|
2749 + | match err {
|
2750 + | crate::operation::get_access_token::GetAccessTokenError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
|
2751 + | crate::operation::get_access_token::GetAccessTokenError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2752 + | crate::operation::get_access_token::GetAccessTokenError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
|
2753 + | crate::operation::get_access_token::GetAccessTokenError::ThrottlingException(inner) => Error::ThrottlingException(inner),
|
2754 + | crate::operation::get_access_token::GetAccessTokenError::ValidationException(inner) => Error::ValidationException(inner),
|
2755 + | crate::operation::get_access_token::GetAccessTokenError::Unhandled(inner) => Error::Unhandled(inner),
|
2756 + | }
|
2757 + | }
|
2758 + | }
|
2759 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_automation_execution::GetAutomationExecutionError, R>> for Error
|
2760 + | where
|
2761 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2762 + | {
|
2763 + | fn from(
|
2764 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_automation_execution::GetAutomationExecutionError, R>,
|
2765 + | ) -> Self {
|
2766 + | match err {
|
2767 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2768 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2769 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2770 + | source: err.into(),
|
2771 + | }),
|
2772 + | }
|
2773 + | }
|
2774 + | }
|
2775 + | impl From<crate::operation::get_automation_execution::GetAutomationExecutionError> for Error {
|
2776 + | fn from(err: crate::operation::get_automation_execution::GetAutomationExecutionError) -> Self {
|
2777 + | match err {
|
2778 + | crate::operation::get_automation_execution::GetAutomationExecutionError::AutomationExecutionNotFoundException(inner) => {
|
2779 + | Error::AutomationExecutionNotFoundException(inner)
|
2780 + | }
|
2781 + | crate::operation::get_automation_execution::GetAutomationExecutionError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2782 + | crate::operation::get_automation_execution::GetAutomationExecutionError::Unhandled(inner) => Error::Unhandled(inner),
|
2783 + | }
|
2784 + | }
|
2785 + | }
|
2786 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_calendar_state::GetCalendarStateError, R>> for Error
|
2787 + | where
|
2788 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2789 + | {
|
2790 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_calendar_state::GetCalendarStateError, R>) -> Self {
|
2791 + | match err {
|
2792 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2793 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2794 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2795 + | source: err.into(),
|
2796 + | }),
|
2797 + | }
|
2798 + | }
|
2799 + | }
|
2800 + | impl From<crate::operation::get_calendar_state::GetCalendarStateError> for Error {
|
2801 + | fn from(err: crate::operation::get_calendar_state::GetCalendarStateError) -> Self {
|
2802 + | match err {
|
2803 + | crate::operation::get_calendar_state::GetCalendarStateError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2804 + | crate::operation::get_calendar_state::GetCalendarStateError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
2805 + | crate::operation::get_calendar_state::GetCalendarStateError::InvalidDocumentType(inner) => Error::InvalidDocumentType(inner),
|
2806 + | crate::operation::get_calendar_state::GetCalendarStateError::UnsupportedCalendarException(inner) => {
|
2807 + | Error::UnsupportedCalendarException(inner)
|
2808 + | }
|
2809 + | crate::operation::get_calendar_state::GetCalendarStateError::Unhandled(inner) => Error::Unhandled(inner),
|
2810 + | }
|
2811 + | }
|
2812 + | }
|
2813 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_connector::GetCloudConnectorError, R>> for Error
|
2814 + | where
|
2815 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2816 + | {
|
2817 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_connector::GetCloudConnectorError, R>) -> Self {
|
2818 + | match err {
|
2819 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2820 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2821 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2822 + | source: err.into(),
|
2823 + | }),
|
2824 + | }
|
2825 + | }
|
2826 + | }
|
2827 + | impl From<crate::operation::get_cloud_connector::GetCloudConnectorError> for Error {
|
2828 + | fn from(err: crate::operation::get_cloud_connector::GetCloudConnectorError) -> Self {
|
2829 + | match err {
|
2830 + | crate::operation::get_cloud_connector::GetCloudConnectorError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2831 + | crate::operation::get_cloud_connector::GetCloudConnectorError::ResourceNotFoundException(inner) => {
|
2832 + | Error::ResourceNotFoundException(inner)
|
2833 + | }
|
2834 + | crate::operation::get_cloud_connector::GetCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
|
2835 + | }
|
2836 + | }
|
2837 + | }
|
2838 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_command_invocation::GetCommandInvocationError, R>> for Error
|
2839 + | where
|
2840 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2841 + | {
|
2842 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_command_invocation::GetCommandInvocationError, R>) -> Self {
|
2843 + | match err {
|
2844 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2845 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2846 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2847 + | source: err.into(),
|
2848 + | }),
|
2849 + | }
|
2850 + | }
|
2851 + | }
|
2852 + | impl From<crate::operation::get_command_invocation::GetCommandInvocationError> for Error {
|
2853 + | fn from(err: crate::operation::get_command_invocation::GetCommandInvocationError) -> Self {
|
2854 + | match err {
|
2855 + | crate::operation::get_command_invocation::GetCommandInvocationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2856 + | crate::operation::get_command_invocation::GetCommandInvocationError::InvalidCommandId(inner) => Error::InvalidCommandId(inner),
|
2857 + | crate::operation::get_command_invocation::GetCommandInvocationError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
2858 + | crate::operation::get_command_invocation::GetCommandInvocationError::InvalidPluginName(inner) => Error::InvalidPluginName(inner),
|
2859 + | crate::operation::get_command_invocation::GetCommandInvocationError::InvocationDoesNotExist(inner) => {
|
2860 + | Error::InvocationDoesNotExist(inner)
|
2861 + | }
|
2862 + | crate::operation::get_command_invocation::GetCommandInvocationError::Unhandled(inner) => Error::Unhandled(inner),
|
2863 + | }
|
2864 + | }
|
2865 + | }
|
2866 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection_status::GetConnectionStatusError, R>> for Error
|
2867 + | where
|
2868 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2869 + | {
|
2870 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection_status::GetConnectionStatusError, R>) -> Self {
|
2871 + | match err {
|
2872 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2873 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2874 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2875 + | source: err.into(),
|
2876 + | }),
|
2877 + | }
|
2878 + | }
|
2879 + | }
|
2880 + | impl From<crate::operation::get_connection_status::GetConnectionStatusError> for Error {
|
2881 + | fn from(err: crate::operation::get_connection_status::GetConnectionStatusError) -> Self {
|
2882 + | match err {
|
2883 + | crate::operation::get_connection_status::GetConnectionStatusError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2884 + | crate::operation::get_connection_status::GetConnectionStatusError::Unhandled(inner) => Error::Unhandled(inner),
|
2885 + | }
|
2886 + | }
|
2887 + | }
|
2888 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError, R>>
|
2889 + | for Error
|
2890 + | where
|
2891 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2892 + | {
|
2893 + | fn from(
|
2894 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError, R>,
|
2895 + | ) -> Self {
|
2896 + | match err {
|
2897 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2898 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2899 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2900 + | source: err.into(),
|
2901 + | }),
|
2902 + | }
|
2903 + | }
|
2904 + | }
|
2905 + | impl From<crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError> for Error {
|
2906 + | fn from(err: crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError) -> Self {
|
2907 + | match err {
|
2908 + | crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError::InternalServerError(inner) => {
|
2909 + | Error::InternalServerError(inner)
|
2910 + | }
|
2911 + | crate::operation::get_default_patch_baseline::GetDefaultPatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
2912 + | }
|
2913 + | }
|
2914 + | }
|
2915 + | impl<R>
|
2916 + | From<
|
2917 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
2918 + | crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError,
|
2919 + | R,
|
2920 + | >,
|
2921 + | > for Error
|
2922 + | where
|
2923 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2924 + | {
|
2925 + | fn from(
|
2926 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2927 + | crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError,
|
2928 + | R,
|
2929 + | >,
|
2930 + | ) -> Self {
|
2931 + | match err {
|
2932 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2933 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2934 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2935 + | source: err.into(),
|
2936 + | }),
|
2937 + | }
|
2938 + | }
|
2939 + | }
|
2940 + | impl From<crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError> for Error {
|
2941 + | fn from(err: crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError) -> Self {
|
2942 + | match err {
|
2943 + | crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2944 + | crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError::UnsupportedFeatureRequiredException(inner) => Error::UnsupportedFeatureRequiredException(inner),
|
2945 + | crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError::UnsupportedOperatingSystem(inner) => Error::UnsupportedOperatingSystem(inner),
|
2946 + | crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError::Unhandled(inner) => Error::Unhandled(inner),
|
2947 + | }
|
2948 + | }
|
2949 + | }
|
2950 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_document::GetDocumentError, R>> for Error
|
2951 + | where
|
2952 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2953 + | {
|
2954 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_document::GetDocumentError, R>) -> Self {
|
2955 + | match err {
|
2956 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2957 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2958 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2959 + | source: err.into(),
|
2960 + | }),
|
2961 + | }
|
2962 + | }
|
2963 + | }
|
2964 + | impl From<crate::operation::get_document::GetDocumentError> for Error {
|
2965 + | fn from(err: crate::operation::get_document::GetDocumentError) -> Self {
|
2966 + | match err {
|
2967 + | crate::operation::get_document::GetDocumentError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2968 + | crate::operation::get_document::GetDocumentError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
2969 + | crate::operation::get_document::GetDocumentError::InvalidDocumentVersion(inner) => Error::InvalidDocumentVersion(inner),
|
2970 + | crate::operation::get_document::GetDocumentError::Unhandled(inner) => Error::Unhandled(inner),
|
2971 + | }
|
2972 + | }
|
2973 + | }
|
2974 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_execution_preview::GetExecutionPreviewError, R>> for Error
|
2975 + | where
|
2976 + | R: Send + Sync + std::fmt::Debug + 'static,
|
2977 + | {
|
2978 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_execution_preview::GetExecutionPreviewError, R>) -> 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 + | }
|
2988 + | impl From<crate::operation::get_execution_preview::GetExecutionPreviewError> for Error {
|
2989 + | fn from(err: crate::operation::get_execution_preview::GetExecutionPreviewError) -> Self {
|
2990 + | match err {
|
2991 + | crate::operation::get_execution_preview::GetExecutionPreviewError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2992 + | crate::operation::get_execution_preview::GetExecutionPreviewError::ResourceNotFoundException(inner) => {
|
2993 + | Error::ResourceNotFoundException(inner)
|
2994 + | }
|
2995 + | crate::operation::get_execution_preview::GetExecutionPreviewError::Unhandled(inner) => Error::Unhandled(inner),
|
2996 + | }
|
2997 + | }
|
2998 + | }
|
2999 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_inventory::GetInventoryError, R>> for Error
|
3000 + | where
|
3001 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3002 + | {
|
3003 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_inventory::GetInventoryError, R>) -> Self {
|
3004 + | match err {
|
3005 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3006 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3007 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3008 + | source: err.into(),
|
3009 + | }),
|
3010 + | }
|
3011 + | }
|
3012 + | }
|
3013 + | impl From<crate::operation::get_inventory::GetInventoryError> for Error {
|
3014 + | fn from(err: crate::operation::get_inventory::GetInventoryError) -> Self {
|
3015 + | match err {
|
3016 + | crate::operation::get_inventory::GetInventoryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3017 + | crate::operation::get_inventory::GetInventoryError::InvalidAggregatorException(inner) => Error::InvalidAggregatorException(inner),
|
3018 + | crate::operation::get_inventory::GetInventoryError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3019 + | crate::operation::get_inventory::GetInventoryError::InvalidInventoryGroupException(inner) => Error::InvalidInventoryGroupException(inner),
|
3020 + | crate::operation::get_inventory::GetInventoryError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3021 + | crate::operation::get_inventory::GetInventoryError::InvalidResultAttributeException(inner) => {
|
3022 + | Error::InvalidResultAttributeException(inner)
|
3023 + | }
|
3024 + | crate::operation::get_inventory::GetInventoryError::InvalidTypeNameException(inner) => Error::InvalidTypeNameException(inner),
|
3025 + | crate::operation::get_inventory::GetInventoryError::Unhandled(inner) => Error::Unhandled(inner),
|
3026 + | }
|
3027 + | }
|
3028 + | }
|
3029 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_inventory_schema::GetInventorySchemaError, R>> for Error
|
3030 + | where
|
3031 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3032 + | {
|
3033 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_inventory_schema::GetInventorySchemaError, R>) -> Self {
|
3034 + | match err {
|
3035 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3036 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3037 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3038 + | source: err.into(),
|
3039 + | }),
|
3040 + | }
|
3041 + | }
|
3042 + | }
|
3043 + | impl From<crate::operation::get_inventory_schema::GetInventorySchemaError> for Error {
|
3044 + | fn from(err: crate::operation::get_inventory_schema::GetInventorySchemaError) -> Self {
|
3045 + | match err {
|
3046 + | crate::operation::get_inventory_schema::GetInventorySchemaError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3047 + | crate::operation::get_inventory_schema::GetInventorySchemaError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3048 + | crate::operation::get_inventory_schema::GetInventorySchemaError::InvalidTypeNameException(inner) => {
|
3049 + | Error::InvalidTypeNameException(inner)
|
3050 + | }
|
3051 + | crate::operation::get_inventory_schema::GetInventorySchemaError::Unhandled(inner) => Error::Unhandled(inner),
|
3052 + | }
|
3053 + | }
|
3054 + | }
|
3055 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_maintenance_window::GetMaintenanceWindowError, R>> for Error
|
3056 + | where
|
3057 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3058 + | {
|
3059 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_maintenance_window::GetMaintenanceWindowError, R>) -> Self {
|
3060 + | match err {
|
3061 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3062 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3063 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3064 + | source: err.into(),
|
3065 + | }),
|
3066 + | }
|
3067 + | }
|
3068 + | }
|
3069 + | impl From<crate::operation::get_maintenance_window::GetMaintenanceWindowError> for Error {
|
3070 + | fn from(err: crate::operation::get_maintenance_window::GetMaintenanceWindowError) -> Self {
|
3071 + | match err {
|
3072 + | crate::operation::get_maintenance_window::GetMaintenanceWindowError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
3073 + | crate::operation::get_maintenance_window::GetMaintenanceWindowError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3074 + | crate::operation::get_maintenance_window::GetMaintenanceWindowError::Unhandled(inner) => Error::Unhandled(inner),
|
3075 + | }
|
3076 + | }
|
3077 + | }
|
3078 + | impl<R>
|
3079 + | From<
|
3080 + | ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError, R>,
|
3081 + | > for Error
|
3082 + | where
|
3083 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3084 + | {
|
3085 + | fn from(
|
3086 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
3087 + | crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError,
|
3088 + | R,
|
3089 + | >,
|
3090 + | ) -> Self {
|
3091 + | match err {
|
3092 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3093 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3094 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3095 + | source: err.into(),
|
3096 + | }),
|
3097 + | }
|
3098 + | }
|
3099 + | }
|
3100 + | impl From<crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError> for Error {
|
3101 + | fn from(err: crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError) -> Self {
|
3102 + | match err {
|
3103 + | crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError::DoesNotExistException(inner) => {
|
3104 + | Error::DoesNotExistException(inner)
|
3105 + | }
|
3106 + | crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError::InternalServerError(inner) => {
|
3107 + | Error::InternalServerError(inner)
|
3108 + | }
|
3109 + | crate::operation::get_maintenance_window_execution::GetMaintenanceWindowExecutionError::Unhandled(inner) => Error::Unhandled(inner),
|
3110 + | }
|
3111 + | }
|
3112 + | }
|
3113 + | impl<R>
|
3114 + | From<
|
3115 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
3116 + | crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError,
|
3117 + | R,
|
3118 + | >,
|
3119 + | > for Error
|
3120 + | where
|
3121 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3122 + | {
|
3123 + | fn from(
|
3124 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
3125 + | crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError,
|
3126 + | R,
|
3127 + | >,
|
3128 + | ) -> Self {
|
3129 + | match err {
|
3130 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3131 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3132 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3133 + | source: err.into(),
|
3134 + | }),
|
3135 + | }
|
3136 + | }
|
3137 + | }
|
3138 + | impl From<crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError> for Error {
|
3139 + | fn from(err: crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError) -> Self {
|
3140 + | match err {
|
3141 + | crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError::DoesNotExistException(inner) => {
|
3142 + | Error::DoesNotExistException(inner)
|
3143 + | }
|
3144 + | crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError::InternalServerError(inner) => {
|
3145 + | Error::InternalServerError(inner)
|
3146 + | }
|
3147 + | crate::operation::get_maintenance_window_execution_task::GetMaintenanceWindowExecutionTaskError::Unhandled(inner) => {
|
3148 + | Error::Unhandled(inner)
|
3149 + | }
|
3150 + | }
|
3151 + | }
|
3152 + | }
|
3153 + | impl<R>
|
3154 + | From<
|
3155 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
3156 + | crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError,
|
3157 + | R,
|
3158 + | >,
|
3159 + | > for Error
|
3160 + | where
|
3161 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3162 + | {
|
3163 + | fn from(
|
3164 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
3165 + | crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError,
|
3166 + | R,
|
3167 + | >,
|
3168 + | ) -> Self {
|
3169 + | match err {
|
3170 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3171 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3172 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3173 + | source: err.into(),
|
3174 + | }),
|
3175 + | }
|
3176 + | }
|
3177 + | }
|
3178 + | impl From<crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError> for Error {
|
3179 + | fn from(err: crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError) -> Self {
|
3180 + | match err {
|
3181 + | crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
3182 + | crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3183 + | crate::operation::get_maintenance_window_execution_task_invocation::GetMaintenanceWindowExecutionTaskInvocationError::Unhandled(inner) => Error::Unhandled(inner),
|
3184 + | }
|
3185 + | }
|
3186 + | }
|
3187 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError, R>>
|
3188 + | for Error
|
3189 + | where
|
3190 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3191 + | {
|
3192 + | fn from(
|
3193 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError, R>,
|
3194 + | ) -> Self {
|
3195 + | match err {
|
3196 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3197 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3198 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3199 + | source: err.into(),
|
3200 + | }),
|
3201 + | }
|
3202 + | }
|
3203 + | }
|
3204 + | impl From<crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError> for Error {
|
3205 + | fn from(err: crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError) -> Self {
|
3206 + | match err {
|
3207 + | crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError::DoesNotExistException(inner) => {
|
3208 + | Error::DoesNotExistException(inner)
|
3209 + | }
|
3210 + | crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError::InternalServerError(inner) => {
|
3211 + | Error::InternalServerError(inner)
|
3212 + | }
|
3213 + | crate::operation::get_maintenance_window_task::GetMaintenanceWindowTaskError::Unhandled(inner) => Error::Unhandled(inner),
|
3214 + | }
|
3215 + | }
|
3216 + | }
|
3217 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ops_item::GetOpsItemError, R>> for Error
|
3218 + | where
|
3219 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3220 + | {
|
3221 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ops_item::GetOpsItemError, R>) -> Self {
|
3222 + | match err {
|
3223 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3224 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3225 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3226 + | source: err.into(),
|
3227 + | }),
|
3228 + | }
|
3229 + | }
|
3230 + | }
|
3231 + | impl From<crate::operation::get_ops_item::GetOpsItemError> for Error {
|
3232 + | fn from(err: crate::operation::get_ops_item::GetOpsItemError) -> Self {
|
3233 + | match err {
|
3234 + | crate::operation::get_ops_item::GetOpsItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3235 + | crate::operation::get_ops_item::GetOpsItemError::OpsItemAccessDeniedException(inner) => Error::OpsItemAccessDeniedException(inner),
|
3236 + | crate::operation::get_ops_item::GetOpsItemError::OpsItemNotFoundException(inner) => Error::OpsItemNotFoundException(inner),
|
3237 + | crate::operation::get_ops_item::GetOpsItemError::Unhandled(inner) => Error::Unhandled(inner),
|
3238 + | }
|
3239 + | }
|
3240 + | }
|
3241 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ops_metadata::GetOpsMetadataError, R>> for Error
|
3242 + | where
|
3243 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3244 + | {
|
3245 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ops_metadata::GetOpsMetadataError, R>) -> Self {
|
3246 + | match err {
|
3247 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3248 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3249 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3250 + | source: err.into(),
|
3251 + | }),
|
3252 + | }
|
3253 + | }
|
3254 + | }
|
3255 + | impl From<crate::operation::get_ops_metadata::GetOpsMetadataError> for Error {
|
3256 + | fn from(err: crate::operation::get_ops_metadata::GetOpsMetadataError) -> Self {
|
3257 + | match err {
|
3258 + | crate::operation::get_ops_metadata::GetOpsMetadataError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3259 + | crate::operation::get_ops_metadata::GetOpsMetadataError::OpsMetadataInvalidArgumentException(inner) => {
|
3260 + | Error::OpsMetadataInvalidArgumentException(inner)
|
3261 + | }
|
3262 + | crate::operation::get_ops_metadata::GetOpsMetadataError::OpsMetadataNotFoundException(inner) => {
|
3263 + | Error::OpsMetadataNotFoundException(inner)
|
3264 + | }
|
3265 + | crate::operation::get_ops_metadata::GetOpsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
|
3266 + | }
|
3267 + | }
|
3268 + | }
|
3269 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ops_summary::GetOpsSummaryError, R>> for Error
|
3270 + | where
|
3271 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3272 + | {
|
3273 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ops_summary::GetOpsSummaryError, R>) -> Self {
|
3274 + | match err {
|
3275 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3276 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3277 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3278 + | source: err.into(),
|
3279 + | }),
|
3280 + | }
|
3281 + | }
|
3282 + | }
|
3283 + | impl From<crate::operation::get_ops_summary::GetOpsSummaryError> for Error {
|
3284 + | fn from(err: crate::operation::get_ops_summary::GetOpsSummaryError) -> Self {
|
3285 + | match err {
|
3286 + | crate::operation::get_ops_summary::GetOpsSummaryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3287 + | crate::operation::get_ops_summary::GetOpsSummaryError::InvalidAggregatorException(inner) => Error::InvalidAggregatorException(inner),
|
3288 + | crate::operation::get_ops_summary::GetOpsSummaryError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3289 + | crate::operation::get_ops_summary::GetOpsSummaryError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3290 + | crate::operation::get_ops_summary::GetOpsSummaryError::InvalidTypeNameException(inner) => Error::InvalidTypeNameException(inner),
|
3291 + | crate::operation::get_ops_summary::GetOpsSummaryError::ResourceDataSyncNotFoundException(inner) => {
|
3292 + | Error::ResourceDataSyncNotFoundException(inner)
|
3293 + | }
|
3294 + | crate::operation::get_ops_summary::GetOpsSummaryError::Unhandled(inner) => Error::Unhandled(inner),
|
3295 + | }
|
3296 + | }
|
3297 + | }
|
3298 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameter::GetParameterError, R>> for Error
|
3299 + | where
|
3300 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3301 + | {
|
3302 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameter::GetParameterError, R>) -> Self {
|
3303 + | match err {
|
3304 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3305 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3306 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3307 + | source: err.into(),
|
3308 + | }),
|
3309 + | }
|
3310 + | }
|
3311 + | }
|
3312 + | impl From<crate::operation::get_parameter::GetParameterError> for Error {
|
3313 + | fn from(err: crate::operation::get_parameter::GetParameterError) -> Self {
|
3314 + | match err {
|
3315 + | crate::operation::get_parameter::GetParameterError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3316 + | crate::operation::get_parameter::GetParameterError::InvalidKeyId(inner) => Error::InvalidKeyId(inner),
|
3317 + | crate::operation::get_parameter::GetParameterError::ParameterNotFound(inner) => Error::ParameterNotFound(inner),
|
3318 + | crate::operation::get_parameter::GetParameterError::ParameterVersionNotFound(inner) => Error::ParameterVersionNotFound(inner),
|
3319 + | crate::operation::get_parameter::GetParameterError::Unhandled(inner) => Error::Unhandled(inner),
|
3320 + | }
|
3321 + | }
|
3322 + | }
|
3323 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameter_history::GetParameterHistoryError, R>> for Error
|
3324 + | where
|
3325 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3326 + | {
|
3327 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameter_history::GetParameterHistoryError, R>) -> Self {
|
3328 + | match err {
|
3329 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3330 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3331 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3332 + | source: err.into(),
|
3333 + | }),
|
3334 + | }
|
3335 + | }
|
3336 + | }
|
3337 + | impl From<crate::operation::get_parameter_history::GetParameterHistoryError> for Error {
|
3338 + | fn from(err: crate::operation::get_parameter_history::GetParameterHistoryError) -> Self {
|
3339 + | match err {
|
3340 + | crate::operation::get_parameter_history::GetParameterHistoryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3341 + | crate::operation::get_parameter_history::GetParameterHistoryError::InvalidKeyId(inner) => Error::InvalidKeyId(inner),
|
3342 + | crate::operation::get_parameter_history::GetParameterHistoryError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3343 + | crate::operation::get_parameter_history::GetParameterHistoryError::ParameterNotFound(inner) => Error::ParameterNotFound(inner),
|
3344 + | crate::operation::get_parameter_history::GetParameterHistoryError::Unhandled(inner) => Error::Unhandled(inner),
|
3345 + | }
|
3346 + | }
|
3347 + | }
|
3348 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameters::GetParametersError, R>> for Error
|
3349 + | where
|
3350 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3351 + | {
|
3352 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameters::GetParametersError, R>) -> Self {
|
3353 + | match err {
|
3354 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3355 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3356 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3357 + | source: err.into(),
|
3358 + | }),
|
3359 + | }
|
3360 + | }
|
3361 + | }
|
3362 + | impl From<crate::operation::get_parameters::GetParametersError> for Error {
|
3363 + | fn from(err: crate::operation::get_parameters::GetParametersError) -> Self {
|
3364 + | match err {
|
3365 + | crate::operation::get_parameters::GetParametersError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3366 + | crate::operation::get_parameters::GetParametersError::InvalidKeyId(inner) => Error::InvalidKeyId(inner),
|
3367 + | crate::operation::get_parameters::GetParametersError::Unhandled(inner) => Error::Unhandled(inner),
|
3368 + | }
|
3369 + | }
|
3370 + | }
|
3371 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameters_by_path::GetParametersByPathError, R>> for Error
|
3372 + | where
|
3373 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3374 + | {
|
3375 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_parameters_by_path::GetParametersByPathError, R>) -> Self {
|
3376 + | match err {
|
3377 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3378 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3379 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3380 + | source: err.into(),
|
3381 + | }),
|
3382 + | }
|
3383 + | }
|
3384 + | }
|
3385 + | impl From<crate::operation::get_parameters_by_path::GetParametersByPathError> for Error {
|
3386 + | fn from(err: crate::operation::get_parameters_by_path::GetParametersByPathError) -> Self {
|
3387 + | match err {
|
3388 + | crate::operation::get_parameters_by_path::GetParametersByPathError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3389 + | crate::operation::get_parameters_by_path::GetParametersByPathError::InvalidFilterKey(inner) => Error::InvalidFilterKey(inner),
|
3390 + | crate::operation::get_parameters_by_path::GetParametersByPathError::InvalidFilterOption(inner) => Error::InvalidFilterOption(inner),
|
3391 + | crate::operation::get_parameters_by_path::GetParametersByPathError::InvalidFilterValue(inner) => Error::InvalidFilterValue(inner),
|
3392 + | crate::operation::get_parameters_by_path::GetParametersByPathError::InvalidKeyId(inner) => Error::InvalidKeyId(inner),
|
3393 + | crate::operation::get_parameters_by_path::GetParametersByPathError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3394 + | crate::operation::get_parameters_by_path::GetParametersByPathError::Unhandled(inner) => Error::Unhandled(inner),
|
3395 + | }
|
3396 + | }
|
3397 + | }
|
3398 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_patch_baseline::GetPatchBaselineError, R>> for Error
|
3399 + | where
|
3400 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3401 + | {
|
3402 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_patch_baseline::GetPatchBaselineError, R>) -> Self {
|
3403 + | match err {
|
3404 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3405 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3406 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3407 + | source: err.into(),
|
3408 + | }),
|
3409 + | }
|
3410 + | }
|
3411 + | }
|
3412 + | impl From<crate::operation::get_patch_baseline::GetPatchBaselineError> for Error {
|
3413 + | fn from(err: crate::operation::get_patch_baseline::GetPatchBaselineError) -> Self {
|
3414 + | match err {
|
3415 + | crate::operation::get_patch_baseline::GetPatchBaselineError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
3416 + | crate::operation::get_patch_baseline::GetPatchBaselineError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3417 + | crate::operation::get_patch_baseline::GetPatchBaselineError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
3418 + | crate::operation::get_patch_baseline::GetPatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
3419 + | }
|
3420 + | }
|
3421 + | }
|
3422 + | impl<R>
|
3423 + | From<
|
3424 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
3425 + | crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError,
|
3426 + | R,
|
3427 + | >,
|
3428 + | > for Error
|
3429 + | where
|
3430 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3431 + | {
|
3432 + | fn from(
|
3433 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
3434 + | crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError,
|
3435 + | R,
|
3436 + | >,
|
3437 + | ) -> Self {
|
3438 + | match err {
|
3439 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3440 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3441 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3442 + | source: err.into(),
|
3443 + | }),
|
3444 + | }
|
3445 + | }
|
3446 + | }
|
3447 + | impl From<crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError> for Error {
|
3448 + | fn from(err: crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError) -> Self {
|
3449 + | match err {
|
3450 + | crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError::InternalServerError(inner) => {
|
3451 + | Error::InternalServerError(inner)
|
3452 + | }
|
3453 + | crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError::Unhandled(inner) => Error::Unhandled(inner),
|
3454 + | }
|
3455 + | }
|
3456 + | }
|
3457 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
|
3458 + | where
|
3459 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3460 + | {
|
3461 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
|
3462 + | match err {
|
3463 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3464 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3465 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3466 + | source: err.into(),
|
3467 + | }),
|
3468 + | }
|
3469 + | }
|
3470 + | }
|
3471 + | impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
|
3472 + | fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
|
3473 + | match err {
|
3474 + | crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3475 + | crate::operation::get_resource_policies::GetResourcePoliciesError::ResourceNotFoundException(inner) => {
|
3476 + | Error::ResourceNotFoundException(inner)
|
3477 + | }
|
3478 + | crate::operation::get_resource_policies::GetResourcePoliciesError::ResourcePolicyInvalidParameterException(inner) => {
|
3479 + | Error::ResourcePolicyInvalidParameterException(inner)
|
3480 + | }
|
3481 + | crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
|
3482 + | }
|
3483 + | }
|
3484 + | }
|
3485 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_service_setting::GetServiceSettingError, R>> for Error
|
3486 + | where
|
3487 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3488 + | {
|
3489 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_service_setting::GetServiceSettingError, R>) -> Self {
|
3490 + | match err {
|
3491 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3492 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3493 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3494 + | source: err.into(),
|
3495 + | }),
|
3496 + | }
|
3497 + | }
|
3498 + | }
|
3499 + | impl From<crate::operation::get_service_setting::GetServiceSettingError> for Error {
|
3500 + | fn from(err: crate::operation::get_service_setting::GetServiceSettingError) -> Self {
|
3501 + | match err {
|
3502 + | crate::operation::get_service_setting::GetServiceSettingError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3503 + | crate::operation::get_service_setting::GetServiceSettingError::ServiceSettingNotFound(inner) => Error::ServiceSettingNotFound(inner),
|
3504 + | crate::operation::get_service_setting::GetServiceSettingError::Unhandled(inner) => Error::Unhandled(inner),
|
3505 + | }
|
3506 + | }
|
3507 + | }
|
3508 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::label_parameter_version::LabelParameterVersionError, R>> for Error
|
3509 + | where
|
3510 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3511 + | {
|
3512 + | fn from(
|
3513 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::label_parameter_version::LabelParameterVersionError, R>,
|
3514 + | ) -> Self {
|
3515 + | match err {
|
3516 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3517 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3518 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3519 + | source: err.into(),
|
3520 + | }),
|
3521 + | }
|
3522 + | }
|
3523 + | }
|
3524 + | impl From<crate::operation::label_parameter_version::LabelParameterVersionError> for Error {
|
3525 + | fn from(err: crate::operation::label_parameter_version::LabelParameterVersionError) -> Self {
|
3526 + | match err {
|
3527 + | crate::operation::label_parameter_version::LabelParameterVersionError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3528 + | crate::operation::label_parameter_version::LabelParameterVersionError::ParameterNotFound(inner) => Error::ParameterNotFound(inner),
|
3529 + | crate::operation::label_parameter_version::LabelParameterVersionError::ParameterVersionLabelLimitExceeded(inner) => {
|
3530 + | Error::ParameterVersionLabelLimitExceeded(inner)
|
3531 + | }
|
3532 + | crate::operation::label_parameter_version::LabelParameterVersionError::ParameterVersionNotFound(inner) => {
|
3533 + | Error::ParameterVersionNotFound(inner)
|
3534 + | }
|
3535 + | crate::operation::label_parameter_version::LabelParameterVersionError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
3536 + | crate::operation::label_parameter_version::LabelParameterVersionError::Unhandled(inner) => Error::Unhandled(inner),
|
3537 + | }
|
3538 + | }
|
3539 + | }
|
3540 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>> for Error
|
3541 + | where
|
3542 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3543 + | {
|
3544 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>) -> Self {
|
3545 + | match err {
|
3546 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3547 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3548 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3549 + | source: err.into(),
|
3550 + | }),
|
3551 + | }
|
3552 + | }
|
3553 + | }
|
3554 + | impl From<crate::operation::list_associations::ListAssociationsError> for Error {
|
3555 + | fn from(err: crate::operation::list_associations::ListAssociationsError) -> Self {
|
3556 + | match err {
|
3557 + | crate::operation::list_associations::ListAssociationsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3558 + | crate::operation::list_associations::ListAssociationsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3559 + | crate::operation::list_associations::ListAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
|
3560 + | }
|
3561 + | }
|
3562 + | }
|
3563 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_association_versions::ListAssociationVersionsError, R>>
|
3564 + | for Error
|
3565 + | where
|
3566 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3567 + | {
|
3568 + | fn from(
|
3569 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_association_versions::ListAssociationVersionsError, R>,
|
3570 + | ) -> Self {
|
3571 + | match err {
|
3572 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3573 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3574 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3575 + | source: err.into(),
|
3576 + | }),
|
3577 + | }
|
3578 + | }
|
3579 + | }
|
3580 + | impl From<crate::operation::list_association_versions::ListAssociationVersionsError> for Error {
|
3581 + | fn from(err: crate::operation::list_association_versions::ListAssociationVersionsError) -> Self {
|
3582 + | match err {
|
3583 + | crate::operation::list_association_versions::ListAssociationVersionsError::AssociationDoesNotExist(inner) => {
|
3584 + | Error::AssociationDoesNotExist(inner)
|
3585 + | }
|
3586 + | crate::operation::list_association_versions::ListAssociationVersionsError::InternalServerError(inner) => {
|
3587 + | Error::InternalServerError(inner)
|
3588 + | }
|
3589 + | crate::operation::list_association_versions::ListAssociationVersionsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3590 + | crate::operation::list_association_versions::ListAssociationVersionsError::Unhandled(inner) => Error::Unhandled(inner),
|
3591 + | }
|
3592 + | }
|
3593 + | }
|
3594 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_connectors::ListCloudConnectorsError, R>> for Error
|
3595 + | where
|
3596 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3597 + | {
|
3598 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_connectors::ListCloudConnectorsError, R>) -> 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 + | }
|
3608 + | impl From<crate::operation::list_cloud_connectors::ListCloudConnectorsError> for Error {
|
3609 + | fn from(err: crate::operation::list_cloud_connectors::ListCloudConnectorsError) -> Self {
|
3610 + | match err {
|
3611 + | crate::operation::list_cloud_connectors::ListCloudConnectorsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3612 + | crate::operation::list_cloud_connectors::ListCloudConnectorsError::Unhandled(inner) => Error::Unhandled(inner),
|
3613 + | }
|
3614 + | }
|
3615 + | }
|
3616 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_command_invocations::ListCommandInvocationsError, R>> for Error
|
3617 + | where
|
3618 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3619 + | {
|
3620 + | fn from(
|
3621 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_command_invocations::ListCommandInvocationsError, R>,
|
3622 + | ) -> Self {
|
3623 + | match err {
|
3624 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3625 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3626 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3627 + | source: err.into(),
|
3628 + | }),
|
3629 + | }
|
3630 + | }
|
3631 + | }
|
3632 + | impl From<crate::operation::list_command_invocations::ListCommandInvocationsError> for Error {
|
3633 + | fn from(err: crate::operation::list_command_invocations::ListCommandInvocationsError) -> Self {
|
3634 + | match err {
|
3635 + | crate::operation::list_command_invocations::ListCommandInvocationsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3636 + | crate::operation::list_command_invocations::ListCommandInvocationsError::InvalidCommandId(inner) => Error::InvalidCommandId(inner),
|
3637 + | crate::operation::list_command_invocations::ListCommandInvocationsError::InvalidFilterKey(inner) => Error::InvalidFilterKey(inner),
|
3638 + | crate::operation::list_command_invocations::ListCommandInvocationsError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
3639 + | crate::operation::list_command_invocations::ListCommandInvocationsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3640 + | crate::operation::list_command_invocations::ListCommandInvocationsError::Unhandled(inner) => Error::Unhandled(inner),
|
3641 + | }
|
3642 + | }
|
3643 + | }
|
3644 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_commands::ListCommandsError, R>> for Error
|
3645 + | where
|
3646 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3647 + | {
|
3648 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_commands::ListCommandsError, R>) -> Self {
|
3649 + | match err {
|
3650 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3651 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3652 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3653 + | source: err.into(),
|
3654 + | }),
|
3655 + | }
|
3656 + | }
|
3657 + | }
|
3658 + | impl From<crate::operation::list_commands::ListCommandsError> for Error {
|
3659 + | fn from(err: crate::operation::list_commands::ListCommandsError) -> Self {
|
3660 + | match err {
|
3661 + | crate::operation::list_commands::ListCommandsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3662 + | crate::operation::list_commands::ListCommandsError::InvalidCommandId(inner) => Error::InvalidCommandId(inner),
|
3663 + | crate::operation::list_commands::ListCommandsError::InvalidFilterKey(inner) => Error::InvalidFilterKey(inner),
|
3664 + | crate::operation::list_commands::ListCommandsError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
3665 + | crate::operation::list_commands::ListCommandsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3666 + | crate::operation::list_commands::ListCommandsError::Unhandled(inner) => Error::Unhandled(inner),
|
3667 + | }
|
3668 + | }
|
3669 + | }
|
3670 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compliance_items::ListComplianceItemsError, R>> for Error
|
3671 + | where
|
3672 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3673 + | {
|
3674 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compliance_items::ListComplianceItemsError, R>) -> Self {
|
3675 + | match err {
|
3676 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3677 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3678 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3679 + | source: err.into(),
|
3680 + | }),
|
3681 + | }
|
3682 + | }
|
3683 + | }
|
3684 + | impl From<crate::operation::list_compliance_items::ListComplianceItemsError> for Error {
|
3685 + | fn from(err: crate::operation::list_compliance_items::ListComplianceItemsError) -> Self {
|
3686 + | match err {
|
3687 + | crate::operation::list_compliance_items::ListComplianceItemsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3688 + | crate::operation::list_compliance_items::ListComplianceItemsError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3689 + | crate::operation::list_compliance_items::ListComplianceItemsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3690 + | crate::operation::list_compliance_items::ListComplianceItemsError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
3691 + | crate::operation::list_compliance_items::ListComplianceItemsError::InvalidResourceType(inner) => Error::InvalidResourceType(inner),
|
3692 + | crate::operation::list_compliance_items::ListComplianceItemsError::Unhandled(inner) => Error::Unhandled(inner),
|
3693 + | }
|
3694 + | }
|
3695 + | }
|
3696 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compliance_summaries::ListComplianceSummariesError, R>>
|
3697 + | for Error
|
3698 + | where
|
3699 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3700 + | {
|
3701 + | fn from(
|
3702 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compliance_summaries::ListComplianceSummariesError, R>,
|
3703 + | ) -> Self {
|
3704 + | match err {
|
3705 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3706 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3707 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3708 + | source: err.into(),
|
3709 + | }),
|
3710 + | }
|
3711 + | }
|
3712 + | }
|
3713 + | impl From<crate::operation::list_compliance_summaries::ListComplianceSummariesError> for Error {
|
3714 + | fn from(err: crate::operation::list_compliance_summaries::ListComplianceSummariesError) -> Self {
|
3715 + | match err {
|
3716 + | crate::operation::list_compliance_summaries::ListComplianceSummariesError::InternalServerError(inner) => {
|
3717 + | Error::InternalServerError(inner)
|
3718 + | }
|
3719 + | crate::operation::list_compliance_summaries::ListComplianceSummariesError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3720 + | crate::operation::list_compliance_summaries::ListComplianceSummariesError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3721 + | crate::operation::list_compliance_summaries::ListComplianceSummariesError::Unhandled(inner) => Error::Unhandled(inner),
|
3722 + | }
|
3723 + | }
|
3724 + | }
|
3725 + | impl<R>
|
3726 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError, R>>
|
3727 + | for Error
|
3728 + | where
|
3729 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3730 + | {
|
3731 + | fn from(
|
3732 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
3733 + | crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError,
|
3734 + | R,
|
3735 + | >,
|
3736 + | ) -> Self {
|
3737 + | match err {
|
3738 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3739 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3740 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3741 + | source: err.into(),
|
3742 + | }),
|
3743 + | }
|
3744 + | }
|
3745 + | }
|
3746 + | impl From<crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError> for Error {
|
3747 + | fn from(err: crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError) -> Self {
|
3748 + | match err {
|
3749 + | crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError::InternalServerError(inner) => {
|
3750 + | Error::InternalServerError(inner)
|
3751 + | }
|
3752 + | crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError::InvalidDocument(inner) => {
|
3753 + | Error::InvalidDocument(inner)
|
3754 + | }
|
3755 + | crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError::InvalidDocumentVersion(inner) => {
|
3756 + | Error::InvalidDocumentVersion(inner)
|
3757 + | }
|
3758 + | crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError::InvalidNextToken(inner) => {
|
3759 + | Error::InvalidNextToken(inner)
|
3760 + | }
|
3761 + | crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError::Unhandled(inner) => Error::Unhandled(inner),
|
3762 + | }
|
3763 + | }
|
3764 + | }
|
3765 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_documents::ListDocumentsError, R>> for Error
|
3766 + | where
|
3767 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3768 + | {
|
3769 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_documents::ListDocumentsError, R>) -> Self {
|
3770 + | match err {
|
3771 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3772 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3773 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3774 + | source: err.into(),
|
3775 + | }),
|
3776 + | }
|
3777 + | }
|
3778 + | }
|
3779 + | impl From<crate::operation::list_documents::ListDocumentsError> for Error {
|
3780 + | fn from(err: crate::operation::list_documents::ListDocumentsError) -> Self {
|
3781 + | match err {
|
3782 + | crate::operation::list_documents::ListDocumentsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3783 + | crate::operation::list_documents::ListDocumentsError::InvalidFilterKey(inner) => Error::InvalidFilterKey(inner),
|
3784 + | crate::operation::list_documents::ListDocumentsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3785 + | crate::operation::list_documents::ListDocumentsError::Unhandled(inner) => Error::Unhandled(inner),
|
3786 + | }
|
3787 + | }
|
3788 + | }
|
3789 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_document_versions::ListDocumentVersionsError, R>> for Error
|
3790 + | where
|
3791 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3792 + | {
|
3793 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_document_versions::ListDocumentVersionsError, R>) -> Self {
|
3794 + | match err {
|
3795 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3796 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3797 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3798 + | source: err.into(),
|
3799 + | }),
|
3800 + | }
|
3801 + | }
|
3802 + | }
|
3803 + | impl From<crate::operation::list_document_versions::ListDocumentVersionsError> for Error {
|
3804 + | fn from(err: crate::operation::list_document_versions::ListDocumentVersionsError) -> Self {
|
3805 + | match err {
|
3806 + | crate::operation::list_document_versions::ListDocumentVersionsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3807 + | crate::operation::list_document_versions::ListDocumentVersionsError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
3808 + | crate::operation::list_document_versions::ListDocumentVersionsError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3809 + | crate::operation::list_document_versions::ListDocumentVersionsError::Unhandled(inner) => Error::Unhandled(inner),
|
3810 + | }
|
3811 + | }
|
3812 + | }
|
3813 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inventory_entries::ListInventoryEntriesError, R>> for Error
|
3814 + | where
|
3815 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3816 + | {
|
3817 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inventory_entries::ListInventoryEntriesError, R>) -> Self {
|
3818 + | match err {
|
3819 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3820 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3821 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3822 + | source: err.into(),
|
3823 + | }),
|
3824 + | }
|
3825 + | }
|
3826 + | }
|
3827 + | impl From<crate::operation::list_inventory_entries::ListInventoryEntriesError> for Error {
|
3828 + | fn from(err: crate::operation::list_inventory_entries::ListInventoryEntriesError) -> Self {
|
3829 + | match err {
|
3830 + | crate::operation::list_inventory_entries::ListInventoryEntriesError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3831 + | crate::operation::list_inventory_entries::ListInventoryEntriesError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3832 + | crate::operation::list_inventory_entries::ListInventoryEntriesError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
3833 + | crate::operation::list_inventory_entries::ListInventoryEntriesError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3834 + | crate::operation::list_inventory_entries::ListInventoryEntriesError::InvalidTypeNameException(inner) => {
|
3835 + | Error::InvalidTypeNameException(inner)
|
3836 + | }
|
3837 + | crate::operation::list_inventory_entries::ListInventoryEntriesError::Unhandled(inner) => Error::Unhandled(inner),
|
3838 + | }
|
3839 + | }
|
3840 + | }
|
3841 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_nodes::ListNodesError, R>> for Error
|
3842 + | where
|
3843 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3844 + | {
|
3845 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_nodes::ListNodesError, R>) -> Self {
|
3846 + | match err {
|
3847 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3848 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3849 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3850 + | source: err.into(),
|
3851 + | }),
|
3852 + | }
|
3853 + | }
|
3854 + | }
|
3855 + | impl From<crate::operation::list_nodes::ListNodesError> for Error {
|
3856 + | fn from(err: crate::operation::list_nodes::ListNodesError) -> Self {
|
3857 + | match err {
|
3858 + | crate::operation::list_nodes::ListNodesError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3859 + | crate::operation::list_nodes::ListNodesError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3860 + | crate::operation::list_nodes::ListNodesError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3861 + | crate::operation::list_nodes::ListNodesError::ResourceDataSyncNotFoundException(inner) => Error::ResourceDataSyncNotFoundException(inner),
|
3862 + | crate::operation::list_nodes::ListNodesError::UnsupportedOperationException(inner) => Error::UnsupportedOperationException(inner),
|
3863 + | crate::operation::list_nodes::ListNodesError::Unhandled(inner) => Error::Unhandled(inner),
|
3864 + | }
|
3865 + | }
|
3866 + | }
|
3867 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_nodes_summary::ListNodesSummaryError, R>> for Error
|
3868 + | where
|
3869 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3870 + | {
|
3871 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_nodes_summary::ListNodesSummaryError, R>) -> Self {
|
3872 + | match err {
|
3873 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3874 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3875 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3876 + | source: err.into(),
|
3877 + | }),
|
3878 + | }
|
3879 + | }
|
3880 + | }
|
3881 + | impl From<crate::operation::list_nodes_summary::ListNodesSummaryError> for Error {
|
3882 + | fn from(err: crate::operation::list_nodes_summary::ListNodesSummaryError) -> Self {
|
3883 + | match err {
|
3884 + | crate::operation::list_nodes_summary::ListNodesSummaryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3885 + | crate::operation::list_nodes_summary::ListNodesSummaryError::InvalidAggregatorException(inner) => {
|
3886 + | Error::InvalidAggregatorException(inner)
|
3887 + | }
|
3888 + | crate::operation::list_nodes_summary::ListNodesSummaryError::InvalidFilter(inner) => Error::InvalidFilter(inner),
|
3889 + | crate::operation::list_nodes_summary::ListNodesSummaryError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
3890 + | crate::operation::list_nodes_summary::ListNodesSummaryError::ResourceDataSyncNotFoundException(inner) => {
|
3891 + | Error::ResourceDataSyncNotFoundException(inner)
|
3892 + | }
|
3893 + | crate::operation::list_nodes_summary::ListNodesSummaryError::UnsupportedOperationException(inner) => {
|
3894 + | Error::UnsupportedOperationException(inner)
|
3895 + | }
|
3896 + | crate::operation::list_nodes_summary::ListNodesSummaryError::Unhandled(inner) => Error::Unhandled(inner),
|
3897 + | }
|
3898 + | }
|
3899 + | }
|
3900 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ops_item_events::ListOpsItemEventsError, R>> for Error
|
3901 + | where
|
3902 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3903 + | {
|
3904 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ops_item_events::ListOpsItemEventsError, R>) -> Self {
|
3905 + | match err {
|
3906 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3907 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3908 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3909 + | source: err.into(),
|
3910 + | }),
|
3911 + | }
|
3912 + | }
|
3913 + | }
|
3914 + | impl From<crate::operation::list_ops_item_events::ListOpsItemEventsError> for Error {
|
3915 + | fn from(err: crate::operation::list_ops_item_events::ListOpsItemEventsError) -> Self {
|
3916 + | match err {
|
3917 + | crate::operation::list_ops_item_events::ListOpsItemEventsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3918 + | crate::operation::list_ops_item_events::ListOpsItemEventsError::OpsItemInvalidParameterException(inner) => {
|
3919 + | Error::OpsItemInvalidParameterException(inner)
|
3920 + | }
|
3921 + | crate::operation::list_ops_item_events::ListOpsItemEventsError::OpsItemLimitExceededException(inner) => {
|
3922 + | Error::OpsItemLimitExceededException(inner)
|
3923 + | }
|
3924 + | crate::operation::list_ops_item_events::ListOpsItemEventsError::OpsItemNotFoundException(inner) => Error::OpsItemNotFoundException(inner),
|
3925 + | crate::operation::list_ops_item_events::ListOpsItemEventsError::Unhandled(inner) => Error::Unhandled(inner),
|
3926 + | }
|
3927 + | }
|
3928 + | }
|
3929 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError, R>>
|
3930 + | for Error
|
3931 + | where
|
3932 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3933 + | {
|
3934 + | fn from(
|
3935 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError, R>,
|
3936 + | ) -> Self {
|
3937 + | match err {
|
3938 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3939 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3940 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3941 + | source: err.into(),
|
3942 + | }),
|
3943 + | }
|
3944 + | }
|
3945 + | }
|
3946 + | impl From<crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError> for Error {
|
3947 + | fn from(err: crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError) -> Self {
|
3948 + | match err {
|
3949 + | crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError::InternalServerError(inner) => {
|
3950 + | Error::InternalServerError(inner)
|
3951 + | }
|
3952 + | crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError::OpsItemInvalidParameterException(inner) => {
|
3953 + | Error::OpsItemInvalidParameterException(inner)
|
3954 + | }
|
3955 + | crate::operation::list_ops_item_related_items::ListOpsItemRelatedItemsError::Unhandled(inner) => Error::Unhandled(inner),
|
3956 + | }
|
3957 + | }
|
3958 + | }
|
3959 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ops_metadata::ListOpsMetadataError, R>> for Error
|
3960 + | where
|
3961 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3962 + | {
|
3963 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ops_metadata::ListOpsMetadataError, R>) -> Self {
|
3964 + | match err {
|
3965 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3966 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
3967 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
3968 + | source: err.into(),
|
3969 + | }),
|
3970 + | }
|
3971 + | }
|
3972 + | }
|
3973 + | impl From<crate::operation::list_ops_metadata::ListOpsMetadataError> for Error {
|
3974 + | fn from(err: crate::operation::list_ops_metadata::ListOpsMetadataError) -> Self {
|
3975 + | match err {
|
3976 + | crate::operation::list_ops_metadata::ListOpsMetadataError::InternalServerError(inner) => Error::InternalServerError(inner),
|
3977 + | crate::operation::list_ops_metadata::ListOpsMetadataError::OpsMetadataInvalidArgumentException(inner) => {
|
3978 + | Error::OpsMetadataInvalidArgumentException(inner)
|
3979 + | }
|
3980 + | crate::operation::list_ops_metadata::ListOpsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
|
3981 + | }
|
3982 + | }
|
3983 + | }
|
3984 + | impl<R>
|
3985 + | From<
|
3986 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
3987 + | crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError,
|
3988 + | R,
|
3989 + | >,
|
3990 + | > for Error
|
3991 + | where
|
3992 + | R: Send + Sync + std::fmt::Debug + 'static,
|
3993 + | {
|
3994 + | fn from(
|
3995 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
3996 + | crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError,
|
3997 + | R,
|
3998 + | >,
|
3999 + | ) -> Self {
|
4000 + | match err {
|
4001 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4002 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4003 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4004 + | source: err.into(),
|
4005 + | }),
|
4006 + | }
|
4007 + | }
|
4008 + | }
|
4009 + | impl From<crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError> for Error {
|
4010 + | fn from(err: crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError) -> Self {
|
4011 + | match err {
|
4012 + | crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError::InternalServerError(inner) => {
|
4013 + | Error::InternalServerError(inner)
|
4014 + | }
|
4015 + | crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError::InvalidFilter(inner) => {
|
4016 + | Error::InvalidFilter(inner)
|
4017 + | }
|
4018 + | crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError::InvalidNextToken(inner) => {
|
4019 + | Error::InvalidNextToken(inner)
|
4020 + | }
|
4021 + | crate::operation::list_resource_compliance_summaries::ListResourceComplianceSummariesError::Unhandled(inner) => Error::Unhandled(inner),
|
4022 + | }
|
4023 + | }
|
4024 + | }
|
4025 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_data_sync::ListResourceDataSyncError, R>> for Error
|
4026 + | where
|
4027 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4028 + | {
|
4029 + | fn from(
|
4030 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_data_sync::ListResourceDataSyncError, R>,
|
4031 + | ) -> Self {
|
4032 + | match err {
|
4033 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4034 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4035 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4036 + | source: err.into(),
|
4037 + | }),
|
4038 + | }
|
4039 + | }
|
4040 + | }
|
4041 + | impl From<crate::operation::list_resource_data_sync::ListResourceDataSyncError> for Error {
|
4042 + | fn from(err: crate::operation::list_resource_data_sync::ListResourceDataSyncError) -> Self {
|
4043 + | match err {
|
4044 + | crate::operation::list_resource_data_sync::ListResourceDataSyncError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4045 + | crate::operation::list_resource_data_sync::ListResourceDataSyncError::InvalidNextToken(inner) => Error::InvalidNextToken(inner),
|
4046 + | crate::operation::list_resource_data_sync::ListResourceDataSyncError::ResourceDataSyncInvalidConfigurationException(inner) => {
|
4047 + | Error::ResourceDataSyncInvalidConfigurationException(inner)
|
4048 + | }
|
4049 + | crate::operation::list_resource_data_sync::ListResourceDataSyncError::Unhandled(inner) => Error::Unhandled(inner),
|
4050 + | }
|
4051 + | }
|
4052 + | }
|
4053 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
|
4054 + | where
|
4055 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4056 + | {
|
4057 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
|
4058 + | match err {
|
4059 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4060 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4061 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4062 + | source: err.into(),
|
4063 + | }),
|
4064 + | }
|
4065 + | }
|
4066 + | }
|
4067 + | impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
|
4068 + | fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
|
4069 + | match err {
|
4070 + | crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4071 + | crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
4072 + | crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidResourceType(inner) => Error::InvalidResourceType(inner),
|
4073 + | crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
|
4074 + | }
|
4075 + | }
|
4076 + | }
|
4077 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_document_permission::ModifyDocumentPermissionError, R>>
|
4078 + | for Error
|
4079 + | where
|
4080 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4081 + | {
|
4082 + | fn from(
|
4083 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_document_permission::ModifyDocumentPermissionError, R>,
|
4084 + | ) -> Self {
|
4085 + | match err {
|
4086 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4087 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4088 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4089 + | source: err.into(),
|
4090 + | }),
|
4091 + | }
|
4092 + | }
|
4093 + | }
|
4094 + | impl From<crate::operation::modify_document_permission::ModifyDocumentPermissionError> for Error {
|
4095 + | fn from(err: crate::operation::modify_document_permission::ModifyDocumentPermissionError) -> Self {
|
4096 + | match err {
|
4097 + | crate::operation::modify_document_permission::ModifyDocumentPermissionError::DocumentLimitExceeded(inner) => {
|
4098 + | Error::DocumentLimitExceeded(inner)
|
4099 + | }
|
4100 + | crate::operation::modify_document_permission::ModifyDocumentPermissionError::DocumentPermissionLimit(inner) => {
|
4101 + | Error::DocumentPermissionLimit(inner)
|
4102 + | }
|
4103 + | crate::operation::modify_document_permission::ModifyDocumentPermissionError::InternalServerError(inner) => {
|
4104 + | Error::InternalServerError(inner)
|
4105 + | }
|
4106 + | crate::operation::modify_document_permission::ModifyDocumentPermissionError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
4107 + | crate::operation::modify_document_permission::ModifyDocumentPermissionError::InvalidPermissionType(inner) => {
|
4108 + | Error::InvalidPermissionType(inner)
|
4109 + | }
|
4110 + | crate::operation::modify_document_permission::ModifyDocumentPermissionError::Unhandled(inner) => Error::Unhandled(inner),
|
4111 + | }
|
4112 + | }
|
4113 + | }
|
4114 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_compliance_items::PutComplianceItemsError, R>> for Error
|
4115 + | where
|
4116 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4117 + | {
|
4118 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_compliance_items::PutComplianceItemsError, R>) -> Self {
|
4119 + | match err {
|
4120 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4121 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4122 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4123 + | source: err.into(),
|
4124 + | }),
|
4125 + | }
|
4126 + | }
|
4127 + | }
|
4128 + | impl From<crate::operation::put_compliance_items::PutComplianceItemsError> for Error {
|
4129 + | fn from(err: crate::operation::put_compliance_items::PutComplianceItemsError) -> Self {
|
4130 + | match err {
|
4131 + | crate::operation::put_compliance_items::PutComplianceItemsError::ComplianceTypeCountLimitExceededException(inner) => {
|
4132 + | Error::ComplianceTypeCountLimitExceededException(inner)
|
4133 + | }
|
4134 + | crate::operation::put_compliance_items::PutComplianceItemsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4135 + | crate::operation::put_compliance_items::PutComplianceItemsError::InvalidItemContentException(inner) => {
|
4136 + | Error::InvalidItemContentException(inner)
|
4137 + | }
|
4138 + | crate::operation::put_compliance_items::PutComplianceItemsError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
4139 + | crate::operation::put_compliance_items::PutComplianceItemsError::InvalidResourceType(inner) => Error::InvalidResourceType(inner),
|
4140 + | crate::operation::put_compliance_items::PutComplianceItemsError::ItemSizeLimitExceededException(inner) => {
|
4141 + | Error::ItemSizeLimitExceededException(inner)
|
4142 + | }
|
4143 + | crate::operation::put_compliance_items::PutComplianceItemsError::TotalSizeLimitExceededException(inner) => {
|
4144 + | Error::TotalSizeLimitExceededException(inner)
|
4145 + | }
|
4146 + | crate::operation::put_compliance_items::PutComplianceItemsError::Unhandled(inner) => Error::Unhandled(inner),
|
4147 + | }
|
4148 + | }
|
4149 + | }
|
4150 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_inventory::PutInventoryError, R>> for Error
|
4151 + | where
|
4152 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4153 + | {
|
4154 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_inventory::PutInventoryError, R>) -> Self {
|
4155 + | match err {
|
4156 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4157 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4158 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4159 + | source: err.into(),
|
4160 + | }),
|
4161 + | }
|
4162 + | }
|
4163 + | }
|
4164 + | impl From<crate::operation::put_inventory::PutInventoryError> for Error {
|
4165 + | fn from(err: crate::operation::put_inventory::PutInventoryError) -> Self {
|
4166 + | match err {
|
4167 + | crate::operation::put_inventory::PutInventoryError::CustomSchemaCountLimitExceededException(inner) => {
|
4168 + | Error::CustomSchemaCountLimitExceededException(inner)
|
4169 + | }
|
4170 + | crate::operation::put_inventory::PutInventoryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4171 + | crate::operation::put_inventory::PutInventoryError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
4172 + | crate::operation::put_inventory::PutInventoryError::InvalidInventoryItemContextException(inner) => {
|
4173 + | Error::InvalidInventoryItemContextException(inner)
|
4174 + | }
|
4175 + | crate::operation::put_inventory::PutInventoryError::InvalidItemContentException(inner) => Error::InvalidItemContentException(inner),
|
4176 + | crate::operation::put_inventory::PutInventoryError::InvalidTypeNameException(inner) => Error::InvalidTypeNameException(inner),
|
4177 + | crate::operation::put_inventory::PutInventoryError::ItemContentMismatchException(inner) => Error::ItemContentMismatchException(inner),
|
4178 + | crate::operation::put_inventory::PutInventoryError::ItemSizeLimitExceededException(inner) => Error::ItemSizeLimitExceededException(inner),
|
4179 + | crate::operation::put_inventory::PutInventoryError::SubTypeCountLimitExceededException(inner) => {
|
4180 + | Error::SubTypeCountLimitExceededException(inner)
|
4181 + | }
|
4182 + | crate::operation::put_inventory::PutInventoryError::TotalSizeLimitExceededException(inner) => {
|
4183 + | Error::TotalSizeLimitExceededException(inner)
|
4184 + | }
|
4185 + | crate::operation::put_inventory::PutInventoryError::UnsupportedInventoryItemContextException(inner) => {
|
4186 + | Error::UnsupportedInventoryItemContextException(inner)
|
4187 + | }
|
4188 + | crate::operation::put_inventory::PutInventoryError::UnsupportedInventorySchemaVersionException(inner) => {
|
4189 + | Error::UnsupportedInventorySchemaVersionException(inner)
|
4190 + | }
|
4191 + | crate::operation::put_inventory::PutInventoryError::Unhandled(inner) => Error::Unhandled(inner),
|
4192 + | }
|
4193 + | }
|
4194 + | }
|
4195 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_parameter::PutParameterError, R>> for Error
|
4196 + | where
|
4197 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4198 + | {
|
4199 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_parameter::PutParameterError, R>) -> Self {
|
4200 + | match err {
|
4201 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4202 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4203 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4204 + | source: err.into(),
|
4205 + | }),
|
4206 + | }
|
4207 + | }
|
4208 + | }
|
4209 + | impl From<crate::operation::put_parameter::PutParameterError> for Error {
|
4210 + | fn from(err: crate::operation::put_parameter::PutParameterError) -> Self {
|
4211 + | match err {
|
4212 + | crate::operation::put_parameter::PutParameterError::HierarchyLevelLimitExceededException(inner) => {
|
4213 + | Error::HierarchyLevelLimitExceededException(inner)
|
4214 + | }
|
4215 + | crate::operation::put_parameter::PutParameterError::HierarchyTypeMismatchException(inner) => Error::HierarchyTypeMismatchException(inner),
|
4216 + | crate::operation::put_parameter::PutParameterError::IncompatiblePolicyException(inner) => Error::IncompatiblePolicyException(inner),
|
4217 + | crate::operation::put_parameter::PutParameterError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4218 + | crate::operation::put_parameter::PutParameterError::InvalidAllowedPatternException(inner) => Error::InvalidAllowedPatternException(inner),
|
4219 + | crate::operation::put_parameter::PutParameterError::InvalidKeyId(inner) => Error::InvalidKeyId(inner),
|
4220 + | crate::operation::put_parameter::PutParameterError::InvalidPolicyAttributeException(inner) => {
|
4221 + | Error::InvalidPolicyAttributeException(inner)
|
4222 + | }
|
4223 + | crate::operation::put_parameter::PutParameterError::InvalidPolicyTypeException(inner) => Error::InvalidPolicyTypeException(inner),
|
4224 + | crate::operation::put_parameter::PutParameterError::ParameterAlreadyExists(inner) => Error::ParameterAlreadyExists(inner),
|
4225 + | crate::operation::put_parameter::PutParameterError::ParameterLimitExceeded(inner) => Error::ParameterLimitExceeded(inner),
|
4226 + | crate::operation::put_parameter::PutParameterError::ParameterMaxVersionLimitExceeded(inner) => {
|
4227 + | Error::ParameterMaxVersionLimitExceeded(inner)
|
4228 + | }
|
4229 + | crate::operation::put_parameter::PutParameterError::ParameterPatternMismatchException(inner) => {
|
4230 + | Error::ParameterPatternMismatchException(inner)
|
4231 + | }
|
4232 + | crate::operation::put_parameter::PutParameterError::PoliciesLimitExceededException(inner) => Error::PoliciesLimitExceededException(inner),
|
4233 + | crate::operation::put_parameter::PutParameterError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
4234 + | crate::operation::put_parameter::PutParameterError::UnsupportedParameterType(inner) => Error::UnsupportedParameterType(inner),
|
4235 + | crate::operation::put_parameter::PutParameterError::Unhandled(inner) => Error::Unhandled(inner),
|
4236 + | }
|
4237 + | }
|
4238 + | }
|
4239 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
|
4240 + | where
|
4241 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4242 + | {
|
4243 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
|
4244 + | match err {
|
4245 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4246 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4247 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4248 + | source: err.into(),
|
4249 + | }),
|
4250 + | }
|
4251 + | }
|
4252 + | }
|
4253 + | impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
|
4254 + | fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
|
4255 + | match err {
|
4256 + | crate::operation::put_resource_policy::PutResourcePolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4257 + | crate::operation::put_resource_policy::PutResourcePolicyError::MalformedResourcePolicyDocumentException(inner) => {
|
4258 + | Error::MalformedResourcePolicyDocumentException(inner)
|
4259 + | }
|
4260 + | crate::operation::put_resource_policy::PutResourcePolicyError::ResourceNotFoundException(inner) => {
|
4261 + | Error::ResourceNotFoundException(inner)
|
4262 + | }
|
4263 + | crate::operation::put_resource_policy::PutResourcePolicyError::ResourcePolicyConflictException(inner) => {
|
4264 + | Error::ResourcePolicyConflictException(inner)
|
4265 + | }
|
4266 + | crate::operation::put_resource_policy::PutResourcePolicyError::ResourcePolicyInvalidParameterException(inner) => {
|
4267 + | Error::ResourcePolicyInvalidParameterException(inner)
|
4268 + | }
|
4269 + | crate::operation::put_resource_policy::PutResourcePolicyError::ResourcePolicyLimitExceededException(inner) => {
|
4270 + | Error::ResourcePolicyLimitExceededException(inner)
|
4271 + | }
|
4272 + | crate::operation::put_resource_policy::PutResourcePolicyError::ResourcePolicyNotFoundException(inner) => {
|
4273 + | Error::ResourcePolicyNotFoundException(inner)
|
4274 + | }
|
4275 + | crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
|
4276 + | }
|
4277 + | }
|
4278 + | }
|
4279 + | impl<R>
|
4280 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError, R>>
|
4281 + | for Error
|
4282 + | where
|
4283 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4284 + | {
|
4285 + | fn from(
|
4286 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
4287 + | crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError,
|
4288 + | R,
|
4289 + | >,
|
4290 + | ) -> Self {
|
4291 + | match err {
|
4292 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4293 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4294 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4295 + | source: err.into(),
|
4296 + | }),
|
4297 + | }
|
4298 + | }
|
4299 + | }
|
4300 + | impl From<crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError> for Error {
|
4301 + | fn from(err: crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError) -> Self {
|
4302 + | match err {
|
4303 + | crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError::DoesNotExistException(inner) => {
|
4304 + | Error::DoesNotExistException(inner)
|
4305 + | }
|
4306 + | crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError::InternalServerError(inner) => {
|
4307 + | Error::InternalServerError(inner)
|
4308 + | }
|
4309 + | crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError::InvalidResourceId(inner) => {
|
4310 + | Error::InvalidResourceId(inner)
|
4311 + | }
|
4312 + | crate::operation::register_default_patch_baseline::RegisterDefaultPatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
4313 + | }
|
4314 + | }
|
4315 + | }
|
4316 + | impl<R>
|
4317 + | From<
|
4318 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
4319 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError,
|
4320 + | R,
|
4321 + | >,
|
4322 + | > for Error
|
4323 + | where
|
4324 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4325 + | {
|
4326 + | fn from(
|
4327 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
4328 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError,
|
4329 + | R,
|
4330 + | >,
|
4331 + | ) -> Self {
|
4332 + | match err {
|
4333 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4334 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4335 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4336 + | source: err.into(),
|
4337 + | }),
|
4338 + | }
|
4339 + | }
|
4340 + | }
|
4341 + | impl From<crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError> for Error {
|
4342 + | fn from(err: crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError) -> Self {
|
4343 + | match err {
|
4344 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError::AlreadyExistsException(inner) => {
|
4345 + | Error::AlreadyExistsException(inner)
|
4346 + | }
|
4347 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError::DoesNotExistException(inner) => {
|
4348 + | Error::DoesNotExistException(inner)
|
4349 + | }
|
4350 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError::InternalServerError(inner) => {
|
4351 + | Error::InternalServerError(inner)
|
4352 + | }
|
4353 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError::InvalidResourceId(inner) => {
|
4354 + | Error::InvalidResourceId(inner)
|
4355 + | }
|
4356 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError::ResourceLimitExceededException(
|
4357 + | inner,
|
4358 + | ) => Error::ResourceLimitExceededException(inner),
|
4359 + | crate::operation::register_patch_baseline_for_patch_group::RegisterPatchBaselineForPatchGroupError::Unhandled(inner) => {
|
4360 + | Error::Unhandled(inner)
|
4361 + | }
|
4362 + | }
|
4363 + | }
|
4364 + | }
|
4365 + | impl<R>
|
4366 + | From<
|
4367 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
4368 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError,
|
4369 + | R,
|
4370 + | >,
|
4371 + | > for Error
|
4372 + | where
|
4373 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4374 + | {
|
4375 + | fn from(
|
4376 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
4377 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError,
|
4378 + | R,
|
4379 + | >,
|
4380 + | ) -> Self {
|
4381 + | match err {
|
4382 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4383 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4384 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4385 + | source: err.into(),
|
4386 + | }),
|
4387 + | }
|
4388 + | }
|
4389 + | }
|
4390 + | impl From<crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError> for Error {
|
4391 + | fn from(err: crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError) -> Self {
|
4392 + | match err {
|
4393 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError::DoesNotExistException(inner) => {
|
4394 + | Error::DoesNotExistException(inner)
|
4395 + | }
|
4396 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError::IdempotentParameterMismatch(
|
4397 + | inner,
|
4398 + | ) => Error::IdempotentParameterMismatch(inner),
|
4399 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError::InternalServerError(inner) => {
|
4400 + | Error::InternalServerError(inner)
|
4401 + | }
|
4402 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError::ResourceLimitExceededException(
|
4403 + | inner,
|
4404 + | ) => Error::ResourceLimitExceededException(inner),
|
4405 + | crate::operation::register_target_with_maintenance_window::RegisterTargetWithMaintenanceWindowError::Unhandled(inner) => {
|
4406 + | Error::Unhandled(inner)
|
4407 + | }
|
4408 + | }
|
4409 + | }
|
4410 + | }
|
4411 + | impl<R>
|
4412 + | From<
|
4413 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
4414 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError,
|
4415 + | R,
|
4416 + | >,
|
4417 + | > for Error
|
4418 + | where
|
4419 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4420 + | {
|
4421 + | fn from(
|
4422 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
4423 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError,
|
4424 + | R,
|
4425 + | >,
|
4426 + | ) -> Self {
|
4427 + | match err {
|
4428 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4429 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4430 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4431 + | source: err.into(),
|
4432 + | }),
|
4433 + | }
|
4434 + | }
|
4435 + | }
|
4436 + | impl From<crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError> for Error {
|
4437 + | fn from(err: crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError) -> Self {
|
4438 + | match err {
|
4439 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError::DoesNotExistException(inner) => {
|
4440 + | Error::DoesNotExistException(inner)
|
4441 + | }
|
4442 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError::FeatureNotAvailableException(inner) => {
|
4443 + | Error::FeatureNotAvailableException(inner)
|
4444 + | }
|
4445 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError::IdempotentParameterMismatch(inner) => {
|
4446 + | Error::IdempotentParameterMismatch(inner)
|
4447 + | }
|
4448 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError::InternalServerError(inner) => {
|
4449 + | Error::InternalServerError(inner)
|
4450 + | }
|
4451 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError::ResourceLimitExceededException(
|
4452 + | inner,
|
4453 + | ) => Error::ResourceLimitExceededException(inner),
|
4454 + | crate::operation::register_task_with_maintenance_window::RegisterTaskWithMaintenanceWindowError::Unhandled(inner) => {
|
4455 + | Error::Unhandled(inner)
|
4456 + | }
|
4457 + | }
|
4458 + | }
|
4459 + | }
|
4460 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, R>>
|
4461 + | for Error
|
4462 + | where
|
4463 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4464 + | {
|
4465 + | fn from(
|
4466 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, R>,
|
4467 + | ) -> Self {
|
4468 + | match err {
|
4469 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4470 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4471 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4472 + | source: err.into(),
|
4473 + | }),
|
4474 + | }
|
4475 + | }
|
4476 + | }
|
4477 + | impl From<crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError> for Error {
|
4478 + | fn from(err: crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError) -> Self {
|
4479 + | match err {
|
4480 + | crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4481 + | crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::InvalidResourceId(inner) => Error::InvalidResourceId(inner),
|
4482 + | crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::InvalidResourceType(inner) => Error::InvalidResourceType(inner),
|
4483 + | crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
4484 + | crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::Unhandled(inner) => Error::Unhandled(inner),
|
4485 + | }
|
4486 + | }
|
4487 + | }
|
4488 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_service_setting::ResetServiceSettingError, R>> for Error
|
4489 + | where
|
4490 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4491 + | {
|
4492 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_service_setting::ResetServiceSettingError, R>) -> Self {
|
4493 + | match err {
|
4494 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4495 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4496 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4497 + | source: err.into(),
|
4498 + | }),
|
4499 + | }
|
4500 + | }
|
4501 + | }
|
4502 + | impl From<crate::operation::reset_service_setting::ResetServiceSettingError> for Error {
|
4503 + | fn from(err: crate::operation::reset_service_setting::ResetServiceSettingError) -> Self {
|
4504 + | match err {
|
4505 + | crate::operation::reset_service_setting::ResetServiceSettingError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4506 + | crate::operation::reset_service_setting::ResetServiceSettingError::ServiceSettingNotFound(inner) => Error::ServiceSettingNotFound(inner),
|
4507 + | crate::operation::reset_service_setting::ResetServiceSettingError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
4508 + | crate::operation::reset_service_setting::ResetServiceSettingError::Unhandled(inner) => Error::Unhandled(inner),
|
4509 + | }
|
4510 + | }
|
4511 + | }
|
4512 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_session::ResumeSessionError, R>> for Error
|
4513 + | where
|
4514 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4515 + | {
|
4516 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_session::ResumeSessionError, R>) -> Self {
|
4517 + | match err {
|
4518 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4519 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4520 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4521 + | source: err.into(),
|
4522 + | }),
|
4523 + | }
|
4524 + | }
|
4525 + | }
|
4526 + | impl From<crate::operation::resume_session::ResumeSessionError> for Error {
|
4527 + | fn from(err: crate::operation::resume_session::ResumeSessionError) -> Self {
|
4528 + | match err {
|
4529 + | crate::operation::resume_session::ResumeSessionError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
4530 + | crate::operation::resume_session::ResumeSessionError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4531 + | crate::operation::resume_session::ResumeSessionError::Unhandled(inner) => Error::Unhandled(inner),
|
4532 + | }
|
4533 + | }
|
4534 + | }
|
4535 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_automation_signal::SendAutomationSignalError, R>> for Error
|
4536 + | where
|
4537 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4538 + | {
|
4539 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_automation_signal::SendAutomationSignalError, R>) -> Self {
|
4540 + | match err {
|
4541 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4542 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4543 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4544 + | source: err.into(),
|
4545 + | }),
|
4546 + | }
|
4547 + | }
|
4548 + | }
|
4549 + | impl From<crate::operation::send_automation_signal::SendAutomationSignalError> for Error {
|
4550 + | fn from(err: crate::operation::send_automation_signal::SendAutomationSignalError) -> Self {
|
4551 + | match err {
|
4552 + | crate::operation::send_automation_signal::SendAutomationSignalError::AutomationExecutionNotFoundException(inner) => {
|
4553 + | Error::AutomationExecutionNotFoundException(inner)
|
4554 + | }
|
4555 + | crate::operation::send_automation_signal::SendAutomationSignalError::AutomationStepNotFoundException(inner) => {
|
4556 + | Error::AutomationStepNotFoundException(inner)
|
4557 + | }
|
4558 + | crate::operation::send_automation_signal::SendAutomationSignalError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4559 + | crate::operation::send_automation_signal::SendAutomationSignalError::InvalidAutomationSignalException(inner) => {
|
4560 + | Error::InvalidAutomationSignalException(inner)
|
4561 + | }
|
4562 + | crate::operation::send_automation_signal::SendAutomationSignalError::Unhandled(inner) => Error::Unhandled(inner),
|
4563 + | }
|
4564 + | }
|
4565 + | }
|
4566 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_command::SendCommandError, R>> for Error
|
4567 + | where
|
4568 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4569 + | {
|
4570 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_command::SendCommandError, R>) -> Self {
|
4571 + | match err {
|
4572 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4573 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4574 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4575 + | source: err.into(),
|
4576 + | }),
|
4577 + | }
|
4578 + | }
|
4579 + | }
|
4580 + | impl From<crate::operation::send_command::SendCommandError> for Error {
|
4581 + | fn from(err: crate::operation::send_command::SendCommandError) -> Self {
|
4582 + | match err {
|
4583 + | crate::operation::send_command::SendCommandError::DuplicateInstanceId(inner) => Error::DuplicateInstanceId(inner),
|
4584 + | crate::operation::send_command::SendCommandError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4585 + | crate::operation::send_command::SendCommandError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
4586 + | crate::operation::send_command::SendCommandError::InvalidDocumentVersion(inner) => Error::InvalidDocumentVersion(inner),
|
4587 + | crate::operation::send_command::SendCommandError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
4588 + | crate::operation::send_command::SendCommandError::InvalidNotificationConfig(inner) => Error::InvalidNotificationConfig(inner),
|
4589 + | crate::operation::send_command::SendCommandError::InvalidOutputFolder(inner) => Error::InvalidOutputFolder(inner),
|
4590 + | crate::operation::send_command::SendCommandError::InvalidParameters(inner) => Error::InvalidParameters(inner),
|
4591 + | crate::operation::send_command::SendCommandError::InvalidRole(inner) => Error::InvalidRole(inner),
|
4592 + | crate::operation::send_command::SendCommandError::MaxDocumentSizeExceeded(inner) => Error::MaxDocumentSizeExceeded(inner),
|
4593 + | crate::operation::send_command::SendCommandError::UnsupportedPlatformType(inner) => Error::UnsupportedPlatformType(inner),
|
4594 + | crate::operation::send_command::SendCommandError::Unhandled(inner) => Error::Unhandled(inner),
|
4595 + | }
|
4596 + | }
|
4597 + | }
|
4598 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_access_request::StartAccessRequestError, R>> for Error
|
4599 + | where
|
4600 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4601 + | {
|
4602 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_access_request::StartAccessRequestError, R>) -> Self {
|
4603 + | match err {
|
4604 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4605 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4606 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4607 + | source: err.into(),
|
4608 + | }),
|
4609 + | }
|
4610 + | }
|
4611 + | }
|
4612 + | impl From<crate::operation::start_access_request::StartAccessRequestError> for Error {
|
4613 + | fn from(err: crate::operation::start_access_request::StartAccessRequestError) -> Self {
|
4614 + | match err {
|
4615 + | crate::operation::start_access_request::StartAccessRequestError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
|
4616 + | crate::operation::start_access_request::StartAccessRequestError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4617 + | crate::operation::start_access_request::StartAccessRequestError::ResourceNotFoundException(inner) => {
|
4618 + | Error::ResourceNotFoundException(inner)
|
4619 + | }
|
4620 + | crate::operation::start_access_request::StartAccessRequestError::ServiceQuotaExceededException(inner) => {
|
4621 + | Error::ServiceQuotaExceededException(inner)
|
4622 + | }
|
4623 + | crate::operation::start_access_request::StartAccessRequestError::ThrottlingException(inner) => Error::ThrottlingException(inner),
|
4624 + | crate::operation::start_access_request::StartAccessRequestError::ValidationException(inner) => Error::ValidationException(inner),
|
4625 + | crate::operation::start_access_request::StartAccessRequestError::Unhandled(inner) => Error::Unhandled(inner),
|
4626 + | }
|
4627 + | }
|
4628 + | }
|
4629 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_associations_once::StartAssociationsOnceError, R>> for Error
|
4630 + | where
|
4631 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4632 + | {
|
4633 + | fn from(
|
4634 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_associations_once::StartAssociationsOnceError, R>,
|
4635 + | ) -> Self {
|
4636 + | match err {
|
4637 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4638 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4639 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4640 + | source: err.into(),
|
4641 + | }),
|
4642 + | }
|
4643 + | }
|
4644 + | }
|
4645 + | impl From<crate::operation::start_associations_once::StartAssociationsOnceError> for Error {
|
4646 + | fn from(err: crate::operation::start_associations_once::StartAssociationsOnceError) -> Self {
|
4647 + | match err {
|
4648 + | crate::operation::start_associations_once::StartAssociationsOnceError::AssociationDoesNotExist(inner) => {
|
4649 + | Error::AssociationDoesNotExist(inner)
|
4650 + | }
|
4651 + | crate::operation::start_associations_once::StartAssociationsOnceError::InvalidAssociation(inner) => Error::InvalidAssociation(inner),
|
4652 + | crate::operation::start_associations_once::StartAssociationsOnceError::Unhandled(inner) => Error::Unhandled(inner),
|
4653 + | }
|
4654 + | }
|
4655 + | }
|
4656 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_automation_execution::StartAutomationExecutionError, R>>
|
4657 + | for Error
|
4658 + | where
|
4659 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4660 + | {
|
4661 + | fn from(
|
4662 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_automation_execution::StartAutomationExecutionError, R>,
|
4663 + | ) -> Self {
|
4664 + | match err {
|
4665 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4666 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4667 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4668 + | source: err.into(),
|
4669 + | }),
|
4670 + | }
|
4671 + | }
|
4672 + | }
|
4673 + | impl From<crate::operation::start_automation_execution::StartAutomationExecutionError> for Error {
|
4674 + | fn from(err: crate::operation::start_automation_execution::StartAutomationExecutionError) -> Self {
|
4675 + | match err {
|
4676 + | crate::operation::start_automation_execution::StartAutomationExecutionError::AutomationDefinitionNotFoundException(inner) => {
|
4677 + | Error::AutomationDefinitionNotFoundException(inner)
|
4678 + | }
|
4679 + | crate::operation::start_automation_execution::StartAutomationExecutionError::AutomationDefinitionVersionNotFoundException(inner) => {
|
4680 + | Error::AutomationDefinitionVersionNotFoundException(inner)
|
4681 + | }
|
4682 + | crate::operation::start_automation_execution::StartAutomationExecutionError::AutomationExecutionLimitExceededException(inner) => {
|
4683 + | Error::AutomationExecutionLimitExceededException(inner)
|
4684 + | }
|
4685 + | crate::operation::start_automation_execution::StartAutomationExecutionError::IdempotentParameterMismatch(inner) => {
|
4686 + | Error::IdempotentParameterMismatch(inner)
|
4687 + | }
|
4688 + | crate::operation::start_automation_execution::StartAutomationExecutionError::InternalServerError(inner) => {
|
4689 + | Error::InternalServerError(inner)
|
4690 + | }
|
4691 + | crate::operation::start_automation_execution::StartAutomationExecutionError::InvalidAutomationExecutionParametersException(inner) => {
|
4692 + | Error::InvalidAutomationExecutionParametersException(inner)
|
4693 + | }
|
4694 + | crate::operation::start_automation_execution::StartAutomationExecutionError::InvalidTarget(inner) => Error::InvalidTarget(inner),
|
4695 + | crate::operation::start_automation_execution::StartAutomationExecutionError::Unhandled(inner) => Error::Unhandled(inner),
|
4696 + | }
|
4697 + | }
|
4698 + | }
|
4699 + | impl<R>
|
4700 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_change_request_execution::StartChangeRequestExecutionError, R>>
|
4701 + | for Error
|
4702 + | where
|
4703 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4704 + | {
|
4705 + | fn from(
|
4706 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
4707 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError,
|
4708 + | R,
|
4709 + | >,
|
4710 + | ) -> Self {
|
4711 + | match err {
|
4712 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4713 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4714 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4715 + | source: err.into(),
|
4716 + | }),
|
4717 + | }
|
4718 + | }
|
4719 + | }
|
4720 + | impl From<crate::operation::start_change_request_execution::StartChangeRequestExecutionError> for Error {
|
4721 + | fn from(err: crate::operation::start_change_request_execution::StartChangeRequestExecutionError) -> Self {
|
4722 + | match err {
|
4723 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::AutomationDefinitionNotApprovedException(inner) => {
|
4724 + | Error::AutomationDefinitionNotApprovedException(inner)
|
4725 + | }
|
4726 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::AutomationDefinitionNotFoundException(inner) => {
|
4727 + | Error::AutomationDefinitionNotFoundException(inner)
|
4728 + | }
|
4729 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::AutomationDefinitionVersionNotFoundException(
|
4730 + | inner,
|
4731 + | ) => Error::AutomationDefinitionVersionNotFoundException(inner),
|
4732 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::AutomationExecutionLimitExceededException(inner) => {
|
4733 + | Error::AutomationExecutionLimitExceededException(inner)
|
4734 + | }
|
4735 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::IdempotentParameterMismatch(inner) => {
|
4736 + | Error::IdempotentParameterMismatch(inner)
|
4737 + | }
|
4738 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::InternalServerError(inner) => {
|
4739 + | Error::InternalServerError(inner)
|
4740 + | }
|
4741 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::InvalidAutomationExecutionParametersException(
|
4742 + | inner,
|
4743 + | ) => Error::InvalidAutomationExecutionParametersException(inner),
|
4744 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::NoLongerSupportedException(inner) => {
|
4745 + | Error::NoLongerSupportedException(inner)
|
4746 + | }
|
4747 + | crate::operation::start_change_request_execution::StartChangeRequestExecutionError::Unhandled(inner) => Error::Unhandled(inner),
|
4748 + | }
|
4749 + | }
|
4750 + | }
|
4751 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_execution_preview::StartExecutionPreviewError, R>> for Error
|
4752 + | where
|
4753 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4754 + | {
|
4755 + | fn from(
|
4756 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_execution_preview::StartExecutionPreviewError, R>,
|
4757 + | ) -> Self {
|
4758 + | match err {
|
4759 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4760 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4761 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4762 + | source: err.into(),
|
4763 + | }),
|
4764 + | }
|
4765 + | }
|
4766 + | }
|
4767 + | impl From<crate::operation::start_execution_preview::StartExecutionPreviewError> for Error {
|
4768 + | fn from(err: crate::operation::start_execution_preview::StartExecutionPreviewError) -> Self {
|
4769 + | match err {
|
4770 + | crate::operation::start_execution_preview::StartExecutionPreviewError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4771 + | crate::operation::start_execution_preview::StartExecutionPreviewError::ValidationException(inner) => Error::ValidationException(inner),
|
4772 + | crate::operation::start_execution_preview::StartExecutionPreviewError::Unhandled(inner) => Error::Unhandled(inner),
|
4773 + | }
|
4774 + | }
|
4775 + | }
|
4776 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>> for Error
|
4777 + | where
|
4778 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4779 + | {
|
4780 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>) -> Self {
|
4781 + | match err {
|
4782 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4783 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4784 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4785 + | source: err.into(),
|
4786 + | }),
|
4787 + | }
|
4788 + | }
|
4789 + | }
|
4790 + | impl From<crate::operation::start_session::StartSessionError> for Error {
|
4791 + | fn from(err: crate::operation::start_session::StartSessionError) -> Self {
|
4792 + | match err {
|
4793 + | crate::operation::start_session::StartSessionError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4794 + | crate::operation::start_session::StartSessionError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
4795 + | crate::operation::start_session::StartSessionError::TargetNotConnected(inner) => Error::TargetNotConnected(inner),
|
4796 + | crate::operation::start_session::StartSessionError::Unhandled(inner) => Error::Unhandled(inner),
|
4797 + | }
|
4798 + | }
|
4799 + | }
|
4800 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_automation_execution::StopAutomationExecutionError, R>>
|
4801 + | for Error
|
4802 + | where
|
4803 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4804 + | {
|
4805 + | fn from(
|
4806 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_automation_execution::StopAutomationExecutionError, R>,
|
4807 + | ) -> Self {
|
4808 + | match err {
|
4809 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4810 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4811 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4812 + | source: err.into(),
|
4813 + | }),
|
4814 + | }
|
4815 + | }
|
4816 + | }
|
4817 + | impl From<crate::operation::stop_automation_execution::StopAutomationExecutionError> for Error {
|
4818 + | fn from(err: crate::operation::stop_automation_execution::StopAutomationExecutionError) -> Self {
|
4819 + | match err {
|
4820 + | crate::operation::stop_automation_execution::StopAutomationExecutionError::AutomationExecutionNotFoundException(inner) => {
|
4821 + | Error::AutomationExecutionNotFoundException(inner)
|
4822 + | }
|
4823 + | crate::operation::stop_automation_execution::StopAutomationExecutionError::InternalServerError(inner) => {
|
4824 + | Error::InternalServerError(inner)
|
4825 + | }
|
4826 + | crate::operation::stop_automation_execution::StopAutomationExecutionError::InvalidAutomationStatusUpdateException(inner) => {
|
4827 + | Error::InvalidAutomationStatusUpdateException(inner)
|
4828 + | }
|
4829 + | crate::operation::stop_automation_execution::StopAutomationExecutionError::Unhandled(inner) => Error::Unhandled(inner),
|
4830 + | }
|
4831 + | }
|
4832 + | }
|
4833 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_session::TerminateSessionError, R>> for Error
|
4834 + | where
|
4835 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4836 + | {
|
4837 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_session::TerminateSessionError, R>) -> Self {
|
4838 + | match err {
|
4839 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4840 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4841 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4842 + | source: err.into(),
|
4843 + | }),
|
4844 + | }
|
4845 + | }
|
4846 + | }
|
4847 + | impl From<crate::operation::terminate_session::TerminateSessionError> for Error {
|
4848 + | fn from(err: crate::operation::terminate_session::TerminateSessionError) -> Self {
|
4849 + | match err {
|
4850 + | crate::operation::terminate_session::TerminateSessionError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4851 + | crate::operation::terminate_session::TerminateSessionError::Unhandled(inner) => Error::Unhandled(inner),
|
4852 + | }
|
4853 + | }
|
4854 + | }
|
4855 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlabel_parameter_version::UnlabelParameterVersionError, R>>
|
4856 + | for Error
|
4857 + | where
|
4858 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4859 + | {
|
4860 + | fn from(
|
4861 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlabel_parameter_version::UnlabelParameterVersionError, R>,
|
4862 + | ) -> Self {
|
4863 + | match err {
|
4864 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4865 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4866 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4867 + | source: err.into(),
|
4868 + | }),
|
4869 + | }
|
4870 + | }
|
4871 + | }
|
4872 + | impl From<crate::operation::unlabel_parameter_version::UnlabelParameterVersionError> for Error {
|
4873 + | fn from(err: crate::operation::unlabel_parameter_version::UnlabelParameterVersionError) -> Self {
|
4874 + | match err {
|
4875 + | crate::operation::unlabel_parameter_version::UnlabelParameterVersionError::InternalServerError(inner) => {
|
4876 + | Error::InternalServerError(inner)
|
4877 + | }
|
4878 + | crate::operation::unlabel_parameter_version::UnlabelParameterVersionError::ParameterNotFound(inner) => Error::ParameterNotFound(inner),
|
4879 + | crate::operation::unlabel_parameter_version::UnlabelParameterVersionError::ParameterVersionNotFound(inner) => {
|
4880 + | Error::ParameterVersionNotFound(inner)
|
4881 + | }
|
4882 + | crate::operation::unlabel_parameter_version::UnlabelParameterVersionError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
4883 + | crate::operation::unlabel_parameter_version::UnlabelParameterVersionError::Unhandled(inner) => Error::Unhandled(inner),
|
4884 + | }
|
4885 + | }
|
4886 + | }
|
4887 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_association::UpdateAssociationError, R>> for Error
|
4888 + | where
|
4889 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4890 + | {
|
4891 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_association::UpdateAssociationError, R>) -> Self {
|
4892 + | match err {
|
4893 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4894 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4895 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4896 + | source: err.into(),
|
4897 + | }),
|
4898 + | }
|
4899 + | }
|
4900 + | }
|
4901 + | impl From<crate::operation::update_association::UpdateAssociationError> for Error {
|
4902 + | fn from(err: crate::operation::update_association::UpdateAssociationError) -> Self {
|
4903 + | match err {
|
4904 + | crate::operation::update_association::UpdateAssociationError::AssociationDoesNotExist(inner) => Error::AssociationDoesNotExist(inner),
|
4905 + | crate::operation::update_association::UpdateAssociationError::AssociationVersionLimitExceeded(inner) => {
|
4906 + | Error::AssociationVersionLimitExceeded(inner)
|
4907 + | }
|
4908 + | crate::operation::update_association::UpdateAssociationError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4909 + | crate::operation::update_association::UpdateAssociationError::InvalidAssociationVersion(inner) => Error::InvalidAssociationVersion(inner),
|
4910 + | crate::operation::update_association::UpdateAssociationError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
4911 + | crate::operation::update_association::UpdateAssociationError::InvalidDocumentVersion(inner) => Error::InvalidDocumentVersion(inner),
|
4912 + | crate::operation::update_association::UpdateAssociationError::InvalidOutputLocation(inner) => Error::InvalidOutputLocation(inner),
|
4913 + | crate::operation::update_association::UpdateAssociationError::InvalidParameters(inner) => Error::InvalidParameters(inner),
|
4914 + | crate::operation::update_association::UpdateAssociationError::InvalidSchedule(inner) => Error::InvalidSchedule(inner),
|
4915 + | crate::operation::update_association::UpdateAssociationError::InvalidTarget(inner) => Error::InvalidTarget(inner),
|
4916 + | crate::operation::update_association::UpdateAssociationError::InvalidTargetMaps(inner) => Error::InvalidTargetMaps(inner),
|
4917 + | crate::operation::update_association::UpdateAssociationError::InvalidUpdate(inner) => Error::InvalidUpdate(inner),
|
4918 + | crate::operation::update_association::UpdateAssociationError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
4919 + | crate::operation::update_association::UpdateAssociationError::Unhandled(inner) => Error::Unhandled(inner),
|
4920 + | }
|
4921 + | }
|
4922 + | }
|
4923 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_association_status::UpdateAssociationStatusError, R>>
|
4924 + | for Error
|
4925 + | where
|
4926 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4927 + | {
|
4928 + | fn from(
|
4929 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_association_status::UpdateAssociationStatusError, R>,
|
4930 + | ) -> Self {
|
4931 + | match err {
|
4932 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4933 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4934 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4935 + | source: err.into(),
|
4936 + | }),
|
4937 + | }
|
4938 + | }
|
4939 + | }
|
4940 + | impl From<crate::operation::update_association_status::UpdateAssociationStatusError> for Error {
|
4941 + | fn from(err: crate::operation::update_association_status::UpdateAssociationStatusError) -> Self {
|
4942 + | match err {
|
4943 + | crate::operation::update_association_status::UpdateAssociationStatusError::AssociationDoesNotExist(inner) => {
|
4944 + | Error::AssociationDoesNotExist(inner)
|
4945 + | }
|
4946 + | crate::operation::update_association_status::UpdateAssociationStatusError::InternalServerError(inner) => {
|
4947 + | Error::InternalServerError(inner)
|
4948 + | }
|
4949 + | crate::operation::update_association_status::UpdateAssociationStatusError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
4950 + | crate::operation::update_association_status::UpdateAssociationStatusError::InvalidInstanceId(inner) => Error::InvalidInstanceId(inner),
|
4951 + | crate::operation::update_association_status::UpdateAssociationStatusError::StatusUnchanged(inner) => Error::StatusUnchanged(inner),
|
4952 + | crate::operation::update_association_status::UpdateAssociationStatusError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
4953 + | crate::operation::update_association_status::UpdateAssociationStatusError::Unhandled(inner) => Error::Unhandled(inner),
|
4954 + | }
|
4955 + | }
|
4956 + | }
|
4957 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cloud_connector::UpdateCloudConnectorError, R>> for Error
|
4958 + | where
|
4959 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4960 + | {
|
4961 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cloud_connector::UpdateCloudConnectorError, R>) -> Self {
|
4962 + | match err {
|
4963 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4964 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4965 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4966 + | source: err.into(),
|
4967 + | }),
|
4968 + | }
|
4969 + | }
|
4970 + | }
|
4971 + | impl From<crate::operation::update_cloud_connector::UpdateCloudConnectorError> for Error {
|
4972 + | fn from(err: crate::operation::update_cloud_connector::UpdateCloudConnectorError) -> Self {
|
4973 + | match err {
|
4974 + | crate::operation::update_cloud_connector::UpdateCloudConnectorError::ConflictException(inner) => Error::ConflictException(inner),
|
4975 + | crate::operation::update_cloud_connector::UpdateCloudConnectorError::InternalServerError(inner) => Error::InternalServerError(inner),
|
4976 + | crate::operation::update_cloud_connector::UpdateCloudConnectorError::ResourceNotFoundException(inner) => {
|
4977 + | Error::ResourceNotFoundException(inner)
|
4978 + | }
|
4979 + | crate::operation::update_cloud_connector::UpdateCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
|
4980 + | }
|
4981 + | }
|
4982 + | }
|
4983 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_document::UpdateDocumentError, R>> for Error
|
4984 + | where
|
4985 + | R: Send + Sync + std::fmt::Debug + 'static,
|
4986 + | {
|
4987 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_document::UpdateDocumentError, R>) -> Self {
|
4988 + | match err {
|
4989 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4990 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
4991 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
4992 + | source: err.into(),
|
4993 + | }),
|
4994 + | }
|
4995 + | }
|
4996 + | }
|
4997 + | impl From<crate::operation::update_document::UpdateDocumentError> for Error {
|
4998 + | fn from(err: crate::operation::update_document::UpdateDocumentError) -> Self {
|
4999 + | match err {
|
5000 + | crate::operation::update_document::UpdateDocumentError::DocumentVersionLimitExceeded(inner) => Error::DocumentVersionLimitExceeded(inner),
|
5001 + | crate::operation::update_document::UpdateDocumentError::DuplicateDocumentContent(inner) => Error::DuplicateDocumentContent(inner),
|
5002 + | crate::operation::update_document::UpdateDocumentError::DuplicateDocumentVersionName(inner) => Error::DuplicateDocumentVersionName(inner),
|
5003 + | crate::operation::update_document::UpdateDocumentError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5004 + | crate::operation::update_document::UpdateDocumentError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
5005 + | crate::operation::update_document::UpdateDocumentError::InvalidDocumentContent(inner) => Error::InvalidDocumentContent(inner),
|
5006 + | crate::operation::update_document::UpdateDocumentError::InvalidDocumentOperation(inner) => Error::InvalidDocumentOperation(inner),
|
5007 + | crate::operation::update_document::UpdateDocumentError::InvalidDocumentSchemaVersion(inner) => Error::InvalidDocumentSchemaVersion(inner),
|
5008 + | crate::operation::update_document::UpdateDocumentError::InvalidDocumentVersion(inner) => Error::InvalidDocumentVersion(inner),
|
5009 + | crate::operation::update_document::UpdateDocumentError::MaxDocumentSizeExceeded(inner) => Error::MaxDocumentSizeExceeded(inner),
|
5010 + | crate::operation::update_document::UpdateDocumentError::Unhandled(inner) => Error::Unhandled(inner),
|
5011 + | }
|
5012 + | }
|
5013 + | }
|
5014 + | impl<R>
|
5015 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError, R>>
|
5016 + | for Error
|
5017 + | where
|
5018 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5019 + | {
|
5020 + | fn from(
|
5021 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
5022 + | crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError,
|
5023 + | R,
|
5024 + | >,
|
5025 + | ) -> Self {
|
5026 + | match err {
|
5027 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5028 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5029 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5030 + | source: err.into(),
|
5031 + | }),
|
5032 + | }
|
5033 + | }
|
5034 + | }
|
5035 + | impl From<crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError> for Error {
|
5036 + | fn from(err: crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError) -> Self {
|
5037 + | match err {
|
5038 + | crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError::InternalServerError(inner) => {
|
5039 + | Error::InternalServerError(inner)
|
5040 + | }
|
5041 + | crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError::InvalidDocument(inner) => {
|
5042 + | Error::InvalidDocument(inner)
|
5043 + | }
|
5044 + | crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError::InvalidDocumentSchemaVersion(inner) => {
|
5045 + | Error::InvalidDocumentSchemaVersion(inner)
|
5046 + | }
|
5047 + | crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError::InvalidDocumentVersion(inner) => {
|
5048 + | Error::InvalidDocumentVersion(inner)
|
5049 + | }
|
5050 + | crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError::Unhandled(inner) => Error::Unhandled(inner),
|
5051 + | }
|
5052 + | }
|
5053 + | }
|
5054 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_document_metadata::UpdateDocumentMetadataError, R>> for Error
|
5055 + | where
|
5056 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5057 + | {
|
5058 + | fn from(
|
5059 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_document_metadata::UpdateDocumentMetadataError, R>,
|
5060 + | ) -> Self {
|
5061 + | match err {
|
5062 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5063 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5064 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5065 + | source: err.into(),
|
5066 + | }),
|
5067 + | }
|
5068 + | }
|
5069 + | }
|
5070 + | impl From<crate::operation::update_document_metadata::UpdateDocumentMetadataError> for Error {
|
5071 + | fn from(err: crate::operation::update_document_metadata::UpdateDocumentMetadataError) -> Self {
|
5072 + | match err {
|
5073 + | crate::operation::update_document_metadata::UpdateDocumentMetadataError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5074 + | crate::operation::update_document_metadata::UpdateDocumentMetadataError::InvalidDocument(inner) => Error::InvalidDocument(inner),
|
5075 + | crate::operation::update_document_metadata::UpdateDocumentMetadataError::InvalidDocumentOperation(inner) => {
|
5076 + | Error::InvalidDocumentOperation(inner)
|
5077 + | }
|
5078 + | crate::operation::update_document_metadata::UpdateDocumentMetadataError::InvalidDocumentVersion(inner) => {
|
5079 + | Error::InvalidDocumentVersion(inner)
|
5080 + | }
|
5081 + | crate::operation::update_document_metadata::UpdateDocumentMetadataError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
5082 + | crate::operation::update_document_metadata::UpdateDocumentMetadataError::Unhandled(inner) => Error::Unhandled(inner),
|
5083 + | }
|
5084 + | }
|
5085 + | }
|
5086 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_maintenance_window::UpdateMaintenanceWindowError, R>>
|
5087 + | for Error
|
5088 + | where
|
5089 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5090 + | {
|
5091 + | fn from(
|
5092 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_maintenance_window::UpdateMaintenanceWindowError, R>,
|
5093 + | ) -> Self {
|
5094 + | match err {
|
5095 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5096 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5097 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5098 + | source: err.into(),
|
5099 + | }),
|
5100 + | }
|
5101 + | }
|
5102 + | }
|
5103 + | impl From<crate::operation::update_maintenance_window::UpdateMaintenanceWindowError> for Error {
|
5104 + | fn from(err: crate::operation::update_maintenance_window::UpdateMaintenanceWindowError) -> Self {
|
5105 + | match err {
|
5106 + | crate::operation::update_maintenance_window::UpdateMaintenanceWindowError::DoesNotExistException(inner) => {
|
5107 + | Error::DoesNotExistException(inner)
|
5108 + | }
|
5109 + | crate::operation::update_maintenance_window::UpdateMaintenanceWindowError::InternalServerError(inner) => {
|
5110 + | Error::InternalServerError(inner)
|
5111 + | }
|
5112 + | crate::operation::update_maintenance_window::UpdateMaintenanceWindowError::Unhandled(inner) => Error::Unhandled(inner),
|
5113 + | }
|
5114 + | }
|
5115 + | }
|
5116 + | impl<R>
|
5117 + | From<
|
5118 + | ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError, R>,
|
5119 + | > for Error
|
5120 + | where
|
5121 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5122 + | {
|
5123 + | fn from(
|
5124 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
5125 + | crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError,
|
5126 + | R,
|
5127 + | >,
|
5128 + | ) -> Self {
|
5129 + | match err {
|
5130 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5131 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5132 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5133 + | source: err.into(),
|
5134 + | }),
|
5135 + | }
|
5136 + | }
|
5137 + | }
|
5138 + | impl From<crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError> for Error {
|
5139 + | fn from(err: crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError) -> Self {
|
5140 + | match err {
|
5141 + | crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError::DoesNotExistException(inner) => {
|
5142 + | Error::DoesNotExistException(inner)
|
5143 + | }
|
5144 + | crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError::InternalServerError(inner) => {
|
5145 + | Error::InternalServerError(inner)
|
5146 + | }
|
5147 + | crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError::Unhandled(inner) => Error::Unhandled(inner),
|
5148 + | }
|
5149 + | }
|
5150 + | }
|
5151 + | impl<R>
|
5152 + | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError, R>>
|
5153 + | for Error
|
5154 + | where
|
5155 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5156 + | {
|
5157 + | fn from(
|
5158 + | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
5159 + | crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError,
|
5160 + | R,
|
5161 + | >,
|
5162 + | ) -> Self {
|
5163 + | match err {
|
5164 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5165 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5166 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5167 + | source: err.into(),
|
5168 + | }),
|
5169 + | }
|
5170 + | }
|
5171 + | }
|
5172 + | impl From<crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError> for Error {
|
5173 + | fn from(err: crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError) -> Self {
|
5174 + | match err {
|
5175 + | crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError::DoesNotExistException(inner) => {
|
5176 + | Error::DoesNotExistException(inner)
|
5177 + | }
|
5178 + | crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError::InternalServerError(inner) => {
|
5179 + | Error::InternalServerError(inner)
|
5180 + | }
|
5181 + | crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError::Unhandled(inner) => Error::Unhandled(inner),
|
5182 + | }
|
5183 + | }
|
5184 + | }
|
5185 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError, R>>
|
5186 + | for Error
|
5187 + | where
|
5188 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5189 + | {
|
5190 + | fn from(
|
5191 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError, R>,
|
5192 + | ) -> Self {
|
5193 + | match err {
|
5194 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5195 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5196 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5197 + | source: err.into(),
|
5198 + | }),
|
5199 + | }
|
5200 + | }
|
5201 + | }
|
5202 + | impl From<crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError> for Error {
|
5203 + | fn from(err: crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError) -> Self {
|
5204 + | match err {
|
5205 + | crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError::InternalServerError(inner) => {
|
5206 + | Error::InternalServerError(inner)
|
5207 + | }
|
5208 + | crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError::InvalidInstanceId(inner) => {
|
5209 + | Error::InvalidInstanceId(inner)
|
5210 + | }
|
5211 + | crate::operation::update_managed_instance_role::UpdateManagedInstanceRoleError::Unhandled(inner) => Error::Unhandled(inner),
|
5212 + | }
|
5213 + | }
|
5214 + | }
|
5215 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ops_item::UpdateOpsItemError, R>> for Error
|
5216 + | where
|
5217 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5218 + | {
|
5219 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ops_item::UpdateOpsItemError, R>) -> Self {
|
5220 + | match err {
|
5221 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5222 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5223 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5224 + | source: err.into(),
|
5225 + | }),
|
5226 + | }
|
5227 + | }
|
5228 + | }
|
5229 + | impl From<crate::operation::update_ops_item::UpdateOpsItemError> for Error {
|
5230 + | fn from(err: crate::operation::update_ops_item::UpdateOpsItemError) -> Self {
|
5231 + | match err {
|
5232 + | crate::operation::update_ops_item::UpdateOpsItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5233 + | crate::operation::update_ops_item::UpdateOpsItemError::OpsItemAccessDeniedException(inner) => Error::OpsItemAccessDeniedException(inner),
|
5234 + | crate::operation::update_ops_item::UpdateOpsItemError::OpsItemAlreadyExistsException(inner) => {
|
5235 + | Error::OpsItemAlreadyExistsException(inner)
|
5236 + | }
|
5237 + | crate::operation::update_ops_item::UpdateOpsItemError::OpsItemConflictException(inner) => Error::OpsItemConflictException(inner),
|
5238 + | crate::operation::update_ops_item::UpdateOpsItemError::OpsItemInvalidParameterException(inner) => {
|
5239 + | Error::OpsItemInvalidParameterException(inner)
|
5240 + | }
|
5241 + | crate::operation::update_ops_item::UpdateOpsItemError::OpsItemLimitExceededException(inner) => {
|
5242 + | Error::OpsItemLimitExceededException(inner)
|
5243 + | }
|
5244 + | crate::operation::update_ops_item::UpdateOpsItemError::OpsItemNotFoundException(inner) => Error::OpsItemNotFoundException(inner),
|
5245 + | crate::operation::update_ops_item::UpdateOpsItemError::Unhandled(inner) => Error::Unhandled(inner),
|
5246 + | }
|
5247 + | }
|
5248 + | }
|
5249 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ops_metadata::UpdateOpsMetadataError, R>> for Error
|
5250 + | where
|
5251 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5252 + | {
|
5253 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ops_metadata::UpdateOpsMetadataError, R>) -> Self {
|
5254 + | match err {
|
5255 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5256 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5257 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5258 + | source: err.into(),
|
5259 + | }),
|
5260 + | }
|
5261 + | }
|
5262 + | }
|
5263 + | impl From<crate::operation::update_ops_metadata::UpdateOpsMetadataError> for Error {
|
5264 + | fn from(err: crate::operation::update_ops_metadata::UpdateOpsMetadataError) -> Self {
|
5265 + | match err {
|
5266 + | crate::operation::update_ops_metadata::UpdateOpsMetadataError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5267 + | crate::operation::update_ops_metadata::UpdateOpsMetadataError::OpsMetadataInvalidArgumentException(inner) => {
|
5268 + | Error::OpsMetadataInvalidArgumentException(inner)
|
5269 + | }
|
5270 + | crate::operation::update_ops_metadata::UpdateOpsMetadataError::OpsMetadataKeyLimitExceededException(inner) => {
|
5271 + | Error::OpsMetadataKeyLimitExceededException(inner)
|
5272 + | }
|
5273 + | crate::operation::update_ops_metadata::UpdateOpsMetadataError::OpsMetadataNotFoundException(inner) => {
|
5274 + | Error::OpsMetadataNotFoundException(inner)
|
5275 + | }
|
5276 + | crate::operation::update_ops_metadata::UpdateOpsMetadataError::OpsMetadataTooManyUpdatesException(inner) => {
|
5277 + | Error::OpsMetadataTooManyUpdatesException(inner)
|
5278 + | }
|
5279 + | crate::operation::update_ops_metadata::UpdateOpsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
|
5280 + | }
|
5281 + | }
|
5282 + | }
|
5283 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_patch_baseline::UpdatePatchBaselineError, R>> for Error
|
5284 + | where
|
5285 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5286 + | {
|
5287 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_patch_baseline::UpdatePatchBaselineError, R>) -> Self {
|
5288 + | match err {
|
5289 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5290 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5291 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5292 + | source: err.into(),
|
5293 + | }),
|
5294 + | }
|
5295 + | }
|
5296 + | }
|
5297 + | impl From<crate::operation::update_patch_baseline::UpdatePatchBaselineError> for Error {
|
5298 + | fn from(err: crate::operation::update_patch_baseline::UpdatePatchBaselineError) -> Self {
|
5299 + | match err {
|
5300 + | crate::operation::update_patch_baseline::UpdatePatchBaselineError::DoesNotExistException(inner) => Error::DoesNotExistException(inner),
|
5301 + | crate::operation::update_patch_baseline::UpdatePatchBaselineError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5302 + | crate::operation::update_patch_baseline::UpdatePatchBaselineError::Unhandled(inner) => Error::Unhandled(inner),
|
5303 + | }
|
5304 + | }
|
5305 + | }
|
5306 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_resource_data_sync::UpdateResourceDataSyncError, R>>
|
5307 + | for Error
|
5308 + | where
|
5309 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5310 + | {
|
5311 + | fn from(
|
5312 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_resource_data_sync::UpdateResourceDataSyncError, R>,
|
5313 + | ) -> Self {
|
5314 + | match err {
|
5315 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5316 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5317 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5318 + | source: err.into(),
|
5319 + | }),
|
5320 + | }
|
5321 + | }
|
5322 + | }
|
5323 + | impl From<crate::operation::update_resource_data_sync::UpdateResourceDataSyncError> for Error {
|
5324 + | fn from(err: crate::operation::update_resource_data_sync::UpdateResourceDataSyncError) -> Self {
|
5325 + | match err {
|
5326 + | crate::operation::update_resource_data_sync::UpdateResourceDataSyncError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5327 + | crate::operation::update_resource_data_sync::UpdateResourceDataSyncError::ResourceDataSyncConflictException(inner) => {
|
5328 + | Error::ResourceDataSyncConflictException(inner)
|
5329 + | }
|
5330 + | crate::operation::update_resource_data_sync::UpdateResourceDataSyncError::ResourceDataSyncInvalidConfigurationException(inner) => {
|
5331 + | Error::ResourceDataSyncInvalidConfigurationException(inner)
|
5332 + | }
|
5333 + | crate::operation::update_resource_data_sync::UpdateResourceDataSyncError::ResourceDataSyncNotFoundException(inner) => {
|
5334 + | Error::ResourceDataSyncNotFoundException(inner)
|
5335 + | }
|
5336 + | crate::operation::update_resource_data_sync::UpdateResourceDataSyncError::Unhandled(inner) => Error::Unhandled(inner),
|
5337 + | }
|
5338 + | }
|
5339 + | }
|
5340 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_service_setting::UpdateServiceSettingError, R>> for Error
|
5341 + | where
|
5342 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5343 + | {
|
5344 + | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_service_setting::UpdateServiceSettingError, R>) -> Self {
|
5345 + | match err {
|
5346 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5347 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5348 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5349 + | source: err.into(),
|
5350 + | }),
|
5351 + | }
|
5352 + | }
|
5353 + | }
|
5354 + | impl From<crate::operation::update_service_setting::UpdateServiceSettingError> for Error {
|
5355 + | fn from(err: crate::operation::update_service_setting::UpdateServiceSettingError) -> Self {
|
5356 + | match err {
|
5357 + | crate::operation::update_service_setting::UpdateServiceSettingError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5358 + | crate::operation::update_service_setting::UpdateServiceSettingError::ServiceSettingNotFound(inner) => {
|
5359 + | Error::ServiceSettingNotFound(inner)
|
5360 + | }
|
5361 + | crate::operation::update_service_setting::UpdateServiceSettingError::TooManyUpdates(inner) => Error::TooManyUpdates(inner),
|
5362 + | crate::operation::update_service_setting::UpdateServiceSettingError::Unhandled(inner) => Error::Unhandled(inner),
|
5363 + | }
|
5364 + | }
|
5365 + | }
|
5366 + | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::validate_cloud_connector::ValidateCloudConnectorError, R>> for Error
|
5367 + | where
|
5368 + | R: Send + Sync + std::fmt::Debug + 'static,
|
5369 + | {
|
5370 + | fn from(
|
5371 + | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::validate_cloud_connector::ValidateCloudConnectorError, R>,
|
5372 + | ) -> Self {
|
5373 + | match err {
|
5374 + | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
5375 + | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5376 + | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
5377 + | source: err.into(),
|
5378 + | }),
|
5379 + | }
|
5380 + | }
|
5381 + | }
|
5382 + | impl From<crate::operation::validate_cloud_connector::ValidateCloudConnectorError> for Error {
|
5383 + | fn from(err: crate::operation::validate_cloud_connector::ValidateCloudConnectorError) -> Self {
|
5384 + | match err {
|
5385 + | crate::operation::validate_cloud_connector::ValidateCloudConnectorError::InternalServerError(inner) => Error::InternalServerError(inner),
|
5386 + | crate::operation::validate_cloud_connector::ValidateCloudConnectorError::ResourceNotFoundException(inner) => {
|
5387 + | Error::ResourceNotFoundException(inner)
|
5388 + | }
|
5389 + | crate::operation::validate_cloud_connector::ValidateCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
|
5390 + | }
|
5391 + | }
|
5392 + | }
|
5393 + | impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
|
5394 + | where
|
5395 + | O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
|
5396 + | E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
|
5397 + | {
|
5398 + | fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
|
5399 + | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
5400 + | meta: ::std::default::Default::default(),
|
5401 + | source: err.into(),
|
5402 + | })
|
5403 + | }
|
5404 + | }
|
5405 + | impl ::std::error::Error for Error {
|
5406 + | fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
5407 + | match self {
|
5408 + | Error::AccessDeniedException(inner) => inner.source(),
|
5409 + | Error::AlreadyExistsException(inner) => inner.source(),
|
5410 + | Error::AssociatedInstances(inner) => inner.source(),
|
5411 + | Error::AssociationAlreadyExists(inner) => inner.source(),
|
5412 + | Error::AssociationDoesNotExist(inner) => inner.source(),
|
5413 + | Error::AssociationExecutionDoesNotExist(inner) => inner.source(),
|
5414 + | Error::AssociationLimitExceeded(inner) => inner.source(),
|
5415 + | Error::AssociationVersionLimitExceeded(inner) => inner.source(),
|
5416 + | Error::AutomationDefinitionNotApprovedException(inner) => inner.source(),
|
5417 + | Error::AutomationDefinitionNotFoundException(inner) => inner.source(),
|
5418 + | Error::AutomationDefinitionVersionNotFoundException(inner) => inner.source(),
|
5419 + | Error::AutomationExecutionLimitExceededException(inner) => inner.source(),
|
5420 + | Error::AutomationExecutionNotFoundException(inner) => inner.source(),
|
5421 + | Error::AutomationStepNotFoundException(inner) => inner.source(),
|
5422 + | Error::ComplianceTypeCountLimitExceededException(inner) => inner.source(),
|
5423 + | Error::ConflictException(inner) => inner.source(),
|
5424 + | Error::CustomSchemaCountLimitExceededException(inner) => inner.source(),
|
5425 + | Error::DocumentAlreadyExists(inner) => inner.source(),
|
5426 + | Error::DocumentLimitExceeded(inner) => inner.source(),
|
5427 + | Error::DocumentPermissionLimit(inner) => inner.source(),
|
5428 + | Error::DocumentVersionLimitExceeded(inner) => inner.source(),
|
5429 + | Error::DoesNotExistException(inner) => inner.source(),
|
5430 + | Error::DuplicateDocumentContent(inner) => inner.source(),
|
5431 + | Error::DuplicateDocumentVersionName(inner) => inner.source(),
|
5432 + | Error::DuplicateInstanceId(inner) => inner.source(),
|
5433 + | Error::FeatureNotAvailableException(inner) => inner.source(),
|
5434 + | Error::HierarchyLevelLimitExceededException(inner) => inner.source(),
|
5435 + | Error::HierarchyTypeMismatchException(inner) => inner.source(),
|
5436 + | Error::IdempotentParameterMismatch(inner) => inner.source(),
|
5437 + | Error::IncompatiblePolicyException(inner) => inner.source(),
|
5438 + | Error::InternalServerError(inner) => inner.source(),
|
5439 + | Error::InvalidActivation(inner) => inner.source(),
|
5440 + | Error::InvalidActivationId(inner) => inner.source(),
|
5441 + | Error::InvalidAggregatorException(inner) => inner.source(),
|
5442 + | Error::InvalidAllowedPatternException(inner) => inner.source(),
|
5443 + | Error::InvalidAssociation(inner) => inner.source(),
|
5444 + | Error::InvalidAssociationVersion(inner) => inner.source(),
|
5445 + | Error::InvalidAutomationExecutionParametersException(inner) => inner.source(),
|
5446 + | Error::InvalidAutomationSignalException(inner) => inner.source(),
|
5447 + | Error::InvalidAutomationStatusUpdateException(inner) => inner.source(),
|
5448 + | Error::InvalidCommandId(inner) => inner.source(),
|
5449 + | Error::InvalidDeleteInventoryParametersException(inner) => inner.source(),
|
5450 + | Error::InvalidDeletionIdException(inner) => inner.source(),
|
5451 + | Error::InvalidDocument(inner) => inner.source(),
|
5452 + | Error::InvalidDocumentContent(inner) => inner.source(),
|
5453 + | Error::InvalidDocumentOperation(inner) => inner.source(),
|
5454 + | Error::InvalidDocumentSchemaVersion(inner) => inner.source(),
|
5455 + | Error::InvalidDocumentType(inner) => inner.source(),
|
5456 + | Error::InvalidDocumentVersion(inner) => inner.source(),
|
5457 + | Error::InvalidFilter(inner) => inner.source(),
|
5458 + | Error::InvalidFilterKey(inner) => inner.source(),
|
5459 + | Error::InvalidFilterOption(inner) => inner.source(),
|
5460 + | Error::InvalidFilterValue(inner) => inner.source(),
|
5461 + | Error::InvalidInstanceId(inner) => inner.source(),
|
5462 + | Error::InvalidInstanceInformationFilterValue(inner) => inner.source(),
|
5463 + | Error::InvalidInstancePropertyFilterValue(inner) => inner.source(),
|
5464 + | Error::InvalidInventoryGroupException(inner) => inner.source(),
|
5465 + | Error::InvalidInventoryItemContextException(inner) => inner.source(),
|
5466 + | Error::InvalidInventoryRequestException(inner) => inner.source(),
|
5467 + | Error::InvalidItemContentException(inner) => inner.source(),
|
5468 + | Error::InvalidKeyId(inner) => inner.source(),
|
5469 + | Error::InvalidNextToken(inner) => inner.source(),
|
5470 + | Error::InvalidNotificationConfig(inner) => inner.source(),
|
5471 + | Error::InvalidOptionException(inner) => inner.source(),
|
5472 + | Error::InvalidOutputFolder(inner) => inner.source(),
|
5473 + | Error::InvalidOutputLocation(inner) => inner.source(),
|
5474 + | Error::InvalidParameters(inner) => inner.source(),
|
5475 + | Error::InvalidPermissionType(inner) => inner.source(),
|
5476 + | Error::InvalidPluginName(inner) => inner.source(),
|
5477 + | Error::InvalidPolicyAttributeException(inner) => inner.source(),
|
5478 + | Error::InvalidPolicyTypeException(inner) => inner.source(),
|
5479 + | Error::InvalidResourceId(inner) => inner.source(),
|
5480 + | Error::InvalidResourceType(inner) => inner.source(),
|
5481 + | Error::InvalidResultAttributeException(inner) => inner.source(),
|
5482 + | Error::InvalidRole(inner) => inner.source(),
|
5483 + | Error::InvalidSchedule(inner) => inner.source(),
|
5484 + | Error::InvalidTag(inner) => inner.source(),
|
5485 + | Error::InvalidTarget(inner) => inner.source(),
|
5486 + | Error::InvalidTargetMaps(inner) => inner.source(),
|
5487 + | Error::InvalidTypeNameException(inner) => inner.source(),
|
5488 + | Error::InvalidUpdate(inner) => inner.source(),
|
5489 + | Error::InvocationDoesNotExist(inner) => inner.source(),
|
5490 + | Error::ItemContentMismatchException(inner) => inner.source(),
|
5491 + | Error::ItemSizeLimitExceededException(inner) => inner.source(),
|
5492 + | Error::MalformedResourcePolicyDocumentException(inner) => inner.source(),
|
5493 + | Error::MaxDocumentSizeExceeded(inner) => inner.source(),
|
5494 + | Error::NoLongerSupportedException(inner) => inner.source(),
|
5495 + | Error::OpsItemAccessDeniedException(inner) => inner.source(),
|
5496 + | Error::OpsItemAlreadyExistsException(inner) => inner.source(),
|
5497 + | Error::OpsItemConflictException(inner) => inner.source(),
|
5498 + | Error::OpsItemInvalidParameterException(inner) => inner.source(),
|
5499 + | Error::OpsItemLimitExceededException(inner) => inner.source(),
|
5500 + | Error::OpsItemNotFoundException(inner) => inner.source(),
|
5501 + | Error::OpsItemRelatedItemAlreadyExistsException(inner) => inner.source(),
|
5502 + | Error::OpsItemRelatedItemAssociationNotFoundException(inner) => inner.source(),
|
5503 + | Error::OpsMetadataAlreadyExistsException(inner) => inner.source(),
|
5504 + | Error::OpsMetadataInvalidArgumentException(inner) => inner.source(),
|
5505 + | Error::OpsMetadataKeyLimitExceededException(inner) => inner.source(),
|
5506 + | Error::OpsMetadataLimitExceededException(inner) => inner.source(),
|
5507 + | Error::OpsMetadataNotFoundException(inner) => inner.source(),
|
5508 + | Error::OpsMetadataTooManyUpdatesException(inner) => inner.source(),
|
5509 + | Error::ParameterAlreadyExists(inner) => inner.source(),
|
5510 + | Error::ParameterLimitExceeded(inner) => inner.source(),
|
5511 + | Error::ParameterMaxVersionLimitExceeded(inner) => inner.source(),
|
5512 + | Error::ParameterNotFound(inner) => inner.source(),
|
5513 + | Error::ParameterPatternMismatchException(inner) => inner.source(),
|
5514 + | Error::ParameterVersionLabelLimitExceeded(inner) => inner.source(),
|
5515 + | Error::ParameterVersionNotFound(inner) => inner.source(),
|
5516 + | Error::PoliciesLimitExceededException(inner) => inner.source(),
|
5517 + | Error::ResourceDataSyncAlreadyExistsException(inner) => inner.source(),
|
5518 + | Error::ResourceDataSyncConflictException(inner) => inner.source(),
|
5519 + | Error::ResourceDataSyncCountExceededException(inner) => inner.source(),
|
5520 + | Error::ResourceDataSyncInvalidConfigurationException(inner) => inner.source(),
|
5521 + | Error::ResourceDataSyncNotFoundException(inner) => inner.source(),
|
5522 + | Error::ResourceInUseException(inner) => inner.source(),
|
5523 + | Error::ResourceLimitExceededException(inner) => inner.source(),
|
5524 + | Error::ResourceNotFoundException(inner) => inner.source(),
|
5525 + | Error::ResourcePolicyConflictException(inner) => inner.source(),
|
5526 + | Error::ResourcePolicyInvalidParameterException(inner) => inner.source(),
|
5527 + | Error::ResourcePolicyLimitExceededException(inner) => inner.source(),
|
5528 + | Error::ResourcePolicyNotFoundException(inner) => inner.source(),
|
5529 + | Error::ServiceQuotaExceededException(inner) => inner.source(),
|
5530 + | Error::ServiceSettingNotFound(inner) => inner.source(),
|
5531 + | Error::StatusUnchanged(inner) => inner.source(),
|
5532 + | Error::SubTypeCountLimitExceededException(inner) => inner.source(),
|
5533 + | Error::TargetInUseException(inner) => inner.source(),
|
5534 + | Error::TargetNotConnected(inner) => inner.source(),
|
5535 + | Error::ThrottlingException(inner) => inner.source(),
|
5536 + | Error::TooManyTagsError(inner) => inner.source(),
|
5537 + | Error::TooManyUpdates(inner) => inner.source(),
|
5538 + | Error::TotalSizeLimitExceededException(inner) => inner.source(),
|
5539 + | Error::UnsupportedCalendarException(inner) => inner.source(),
|
5540 + | Error::UnsupportedFeatureRequiredException(inner) => inner.source(),
|
5541 + | Error::UnsupportedInventoryItemContextException(inner) => inner.source(),
|
5542 + | Error::UnsupportedInventorySchemaVersionException(inner) => inner.source(),
|
5543 + | Error::UnsupportedOperatingSystem(inner) => inner.source(),
|
5544 + | Error::UnsupportedOperationException(inner) => inner.source(),
|
5545 + | Error::UnsupportedParameterType(inner) => inner.source(),
|
5546 + | Error::UnsupportedPlatformType(inner) => inner.source(),
|
5547 + | Error::ValidationException(inner) => inner.source(),
|
5548 + | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
|
5549 + | }
|
5550 + | }
|
5551 + | }
|
5552 + | impl ::aws_types::request_id::RequestId for Error {
|
5553 + | fn request_id(&self) -> Option<&str> {
|
5554 + | match self {
|
5555 + | Self::AccessDeniedException(e) => e.request_id(),
|
5556 + | Self::AlreadyExistsException(e) => e.request_id(),
|
5557 + | Self::AssociatedInstances(e) => e.request_id(),
|
5558 + | Self::AssociationAlreadyExists(e) => e.request_id(),
|
5559 + | Self::AssociationDoesNotExist(e) => e.request_id(),
|
5560 + | Self::AssociationExecutionDoesNotExist(e) => e.request_id(),
|
5561 + | Self::AssociationLimitExceeded(e) => e.request_id(),
|
5562 + | Self::AssociationVersionLimitExceeded(e) => e.request_id(),
|
5563 + | Self::AutomationDefinitionNotApprovedException(e) => e.request_id(),
|
5564 + | Self::AutomationDefinitionNotFoundException(e) => e.request_id(),
|
5565 + | Self::AutomationDefinitionVersionNotFoundException(e) => e.request_id(),
|
5566 + | Self::AutomationExecutionLimitExceededException(e) => e.request_id(),
|
5567 + | Self::AutomationExecutionNotFoundException(e) => e.request_id(),
|
5568 + | Self::AutomationStepNotFoundException(e) => e.request_id(),
|
5569 + | Self::ComplianceTypeCountLimitExceededException(e) => e.request_id(),
|
5570 + | Self::ConflictException(e) => e.request_id(),
|
5571 + | Self::CustomSchemaCountLimitExceededException(e) => e.request_id(),
|
5572 + | Self::DocumentAlreadyExists(e) => e.request_id(),
|
5573 + | Self::DocumentLimitExceeded(e) => e.request_id(),
|
5574 + | Self::DocumentPermissionLimit(e) => e.request_id(),
|
5575 + | Self::DocumentVersionLimitExceeded(e) => e.request_id(),
|
5576 + | Self::DoesNotExistException(e) => e.request_id(),
|
5577 + | Self::DuplicateDocumentContent(e) => e.request_id(),
|
5578 + | Self::DuplicateDocumentVersionName(e) => e.request_id(),
|
5579 + | Self::DuplicateInstanceId(e) => e.request_id(),
|
5580 + | Self::FeatureNotAvailableException(e) => e.request_id(),
|
5581 + | Self::HierarchyLevelLimitExceededException(e) => e.request_id(),
|
5582 + | Self::HierarchyTypeMismatchException(e) => e.request_id(),
|
5583 + | Self::IdempotentParameterMismatch(e) => e.request_id(),
|
5584 + | Self::IncompatiblePolicyException(e) => e.request_id(),
|
5585 + | Self::InternalServerError(e) => e.request_id(),
|
5586 + | Self::InvalidActivation(e) => e.request_id(),
|
5587 + | Self::InvalidActivationId(e) => e.request_id(),
|
5588 + | Self::InvalidAggregatorException(e) => e.request_id(),
|
5589 + | Self::InvalidAllowedPatternException(e) => e.request_id(),
|
5590 + | Self::InvalidAssociation(e) => e.request_id(),
|
5591 + | Self::InvalidAssociationVersion(e) => e.request_id(),
|
5592 + | Self::InvalidAutomationExecutionParametersException(e) => e.request_id(),
|
5593 + | Self::InvalidAutomationSignalException(e) => e.request_id(),
|
5594 + | Self::InvalidAutomationStatusUpdateException(e) => e.request_id(),
|
5595 + | Self::InvalidCommandId(e) => e.request_id(),
|
5596 + | Self::InvalidDeleteInventoryParametersException(e) => e.request_id(),
|
5597 + | Self::InvalidDeletionIdException(e) => e.request_id(),
|
5598 + | Self::InvalidDocument(e) => e.request_id(),
|
5599 + | Self::InvalidDocumentContent(e) => e.request_id(),
|
5600 + | Self::InvalidDocumentOperation(e) => e.request_id(),
|
5601 + | Self::InvalidDocumentSchemaVersion(e) => e.request_id(),
|
5602 + | Self::InvalidDocumentType(e) => e.request_id(),
|
5603 + | Self::InvalidDocumentVersion(e) => e.request_id(),
|
5604 + | Self::InvalidFilter(e) => e.request_id(),
|
5605 + | Self::InvalidFilterKey(e) => e.request_id(),
|
5606 + | Self::InvalidFilterOption(e) => e.request_id(),
|
5607 + | Self::InvalidFilterValue(e) => e.request_id(),
|
5608 + | Self::InvalidInstanceId(e) => e.request_id(),
|
5609 + | Self::InvalidInstanceInformationFilterValue(e) => e.request_id(),
|
5610 + | Self::InvalidInstancePropertyFilterValue(e) => e.request_id(),
|
5611 + | Self::InvalidInventoryGroupException(e) => e.request_id(),
|
5612 + | Self::InvalidInventoryItemContextException(e) => e.request_id(),
|
5613 + | Self::InvalidInventoryRequestException(e) => e.request_id(),
|
5614 + | Self::InvalidItemContentException(e) => e.request_id(),
|
5615 + | Self::InvalidKeyId(e) => e.request_id(),
|
5616 + | Self::InvalidNextToken(e) => e.request_id(),
|
5617 + | Self::InvalidNotificationConfig(e) => e.request_id(),
|
5618 + | Self::InvalidOptionException(e) => e.request_id(),
|
5619 + | Self::InvalidOutputFolder(e) => e.request_id(),
|
5620 + | Self::InvalidOutputLocation(e) => e.request_id(),
|
5621 + | Self::InvalidParameters(e) => e.request_id(),
|
5622 + | Self::InvalidPermissionType(e) => e.request_id(),
|
5623 + | Self::InvalidPluginName(e) => e.request_id(),
|
5624 + | Self::InvalidPolicyAttributeException(e) => e.request_id(),
|
5625 + | Self::InvalidPolicyTypeException(e) => e.request_id(),
|
5626 + | Self::InvalidResourceId(e) => e.request_id(),
|
5627 + | Self::InvalidResourceType(e) => e.request_id(),
|
5628 + | Self::InvalidResultAttributeException(e) => e.request_id(),
|
5629 + | Self::InvalidRole(e) => e.request_id(),
|
5630 + | Self::InvalidSchedule(e) => e.request_id(),
|
5631 + | Self::InvalidTag(e) => e.request_id(),
|
5632 + | Self::InvalidTarget(e) => e.request_id(),
|
5633 + | Self::InvalidTargetMaps(e) => e.request_id(),
|
5634 + | Self::InvalidTypeNameException(e) => e.request_id(),
|
5635 + | Self::InvalidUpdate(e) => e.request_id(),
|
5636 + | Self::InvocationDoesNotExist(e) => e.request_id(),
|
5637 + | Self::ItemContentMismatchException(e) => e.request_id(),
|
5638 + | Self::ItemSizeLimitExceededException(e) => e.request_id(),
|
5639 + | Self::MalformedResourcePolicyDocumentException(e) => e.request_id(),
|
5640 + | Self::MaxDocumentSizeExceeded(e) => e.request_id(),
|
5641 + | Self::NoLongerSupportedException(e) => e.request_id(),
|
5642 + | Self::OpsItemAccessDeniedException(e) => e.request_id(),
|
5643 + | Self::OpsItemAlreadyExistsException(e) => e.request_id(),
|
5644 + | Self::OpsItemConflictException(e) => e.request_id(),
|
5645 + | Self::OpsItemInvalidParameterException(e) => e.request_id(),
|
5646 + | Self::OpsItemLimitExceededException(e) => e.request_id(),
|
5647 + | Self::OpsItemNotFoundException(e) => e.request_id(),
|
5648 + | Self::OpsItemRelatedItemAlreadyExistsException(e) => e.request_id(),
|
5649 + | Self::OpsItemRelatedItemAssociationNotFoundException(e) => e.request_id(),
|
5650 + | Self::OpsMetadataAlreadyExistsException(e) => e.request_id(),
|
5651 + | Self::OpsMetadataInvalidArgumentException(e) => e.request_id(),
|
5652 + | Self::OpsMetadataKeyLimitExceededException(e) => e.request_id(),
|
5653 + | Self::OpsMetadataLimitExceededException(e) => e.request_id(),
|
5654 + | Self::OpsMetadataNotFoundException(e) => e.request_id(),
|
5655 + | Self::OpsMetadataTooManyUpdatesException(e) => e.request_id(),
|
5656 + | Self::ParameterAlreadyExists(e) => e.request_id(),
|
5657 + | Self::ParameterLimitExceeded(e) => e.request_id(),
|
5658 + | Self::ParameterMaxVersionLimitExceeded(e) => e.request_id(),
|
5659 + | Self::ParameterNotFound(e) => e.request_id(),
|
5660 + | Self::ParameterPatternMismatchException(e) => e.request_id(),
|
5661 + | Self::ParameterVersionLabelLimitExceeded(e) => e.request_id(),
|
5662 + | Self::ParameterVersionNotFound(e) => e.request_id(),
|
5663 + | Self::PoliciesLimitExceededException(e) => e.request_id(),
|
5664 + | Self::ResourceDataSyncAlreadyExistsException(e) => e.request_id(),
|
5665 + | Self::ResourceDataSyncConflictException(e) => e.request_id(),
|
5666 + | Self::ResourceDataSyncCountExceededException(e) => e.request_id(),
|
5667 + | Self::ResourceDataSyncInvalidConfigurationException(e) => e.request_id(),
|
5668 + | Self::ResourceDataSyncNotFoundException(e) => e.request_id(),
|
5669 + | Self::ResourceInUseException(e) => e.request_id(),
|
5670 + | Self::ResourceLimitExceededException(e) => e.request_id(),
|
5671 + | Self::ResourceNotFoundException(e) => e.request_id(),
|
5672 + | Self::ResourcePolicyConflictException(e) => e.request_id(),
|
5673 + | Self::ResourcePolicyInvalidParameterException(e) => e.request_id(),
|
5674 + | Self::ResourcePolicyLimitExceededException(e) => e.request_id(),
|
5675 + | Self::ResourcePolicyNotFoundException(e) => e.request_id(),
|
5676 + | Self::ServiceQuotaExceededException(e) => e.request_id(),
|
5677 + | Self::ServiceSettingNotFound(e) => e.request_id(),
|
5678 + | Self::StatusUnchanged(e) => e.request_id(),
|
5679 + | Self::SubTypeCountLimitExceededException(e) => e.request_id(),
|
5680 + | Self::TargetInUseException(e) => e.request_id(),
|
5681 + | Self::TargetNotConnected(e) => e.request_id(),
|
5682 + | Self::ThrottlingException(e) => e.request_id(),
|
5683 + | Self::TooManyTagsError(e) => e.request_id(),
|
5684 + | Self::TooManyUpdates(e) => e.request_id(),
|
5685 + | Self::TotalSizeLimitExceededException(e) => e.request_id(),
|
5686 + | Self::UnsupportedCalendarException(e) => e.request_id(),
|
5687 + | Self::UnsupportedFeatureRequiredException(e) => e.request_id(),
|
5688 + | Self::UnsupportedInventoryItemContextException(e) => e.request_id(),
|
5689 + | Self::UnsupportedInventorySchemaVersionException(e) => e.request_id(),
|
5690 + | Self::UnsupportedOperatingSystem(e) => e.request_id(),
|
5691 + | Self::UnsupportedOperationException(e) => e.request_id(),
|
5692 + | Self::UnsupportedParameterType(e) => e.request_id(),
|
5693 + | Self::UnsupportedPlatformType(e) => e.request_id(),
|
5694 + | Self::ValidationException(e) => e.request_id(),
|
5695 + | Self::Unhandled(e) => e.meta.request_id(),
|
5696 + | }
|
5697 + | }
|
5698 + | }
|