AWS SDK

AWS SDK

rev. 18b1dd205ff4335251e6dd0ecb88193de1b1cede (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/error.rs

@@ -0,1 +0,563 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
pub use crate::types::error::_internal_server_error::InternalServerError;
           3  +
           4  +
pub use crate::types::error::_invalid_resource_id::InvalidResourceId;
           5  +
           6  +
pub use crate::types::error::_invalid_resource_type::InvalidResourceType;
           7  +
           8  +
pub use crate::types::error::_too_many_tags_error::TooManyTagsError;
           9  +
          10  +
pub use crate::types::error::_too_many_updates::TooManyUpdates;
          11  +
          12  +
pub use crate::types::error::_ops_item_conflict_exception::OpsItemConflictException;
          13  +
          14  +
pub use crate::types::error::_ops_item_invalid_parameter_exception::OpsItemInvalidParameterException;
          15  +
          16  +
pub use crate::types::error::_ops_item_limit_exceeded_exception::OpsItemLimitExceededException;
          17  +
          18  +
pub use crate::types::error::_ops_item_not_found_exception::OpsItemNotFoundException;
          19  +
          20  +
pub use crate::types::error::_ops_item_related_item_already_exists_exception::OpsItemRelatedItemAlreadyExistsException;
          21  +
          22  +
pub use crate::types::error::_duplicate_instance_id::DuplicateInstanceId;
          23  +
          24  +
pub use crate::types::error::_invalid_command_id::InvalidCommandId;
          25  +
          26  +
pub use crate::types::error::_invalid_instance_id::InvalidInstanceId;
          27  +
          28  +
pub use crate::types::error::_does_not_exist_exception::DoesNotExistException;
          29  +
          30  +
pub use crate::types::error::_invalid_parameters::InvalidParameters;
          31  +
          32  +
pub use crate::types::error::_association_already_exists::AssociationAlreadyExists;
          33  +
          34  +
pub use crate::types::error::_association_limit_exceeded::AssociationLimitExceeded;
          35  +
          36  +
pub use crate::types::error::_invalid_document::InvalidDocument;
          37  +
          38  +
pub use crate::types::error::_invalid_document_version::InvalidDocumentVersion;
          39  +
          40  +
pub use crate::types::error::_invalid_output_location::InvalidOutputLocation;
          41  +
          42  +
pub use crate::types::error::_invalid_schedule::InvalidSchedule;
          43  +
          44  +
pub use crate::types::error::_invalid_tag::InvalidTag;
          45  +
          46  +
pub use crate::types::error::_invalid_target::InvalidTarget;
          47  +
          48  +
pub use crate::types::error::_invalid_target_maps::InvalidTargetMaps;
          49  +
          50  +
pub use crate::types::error::_unsupported_platform_type::UnsupportedPlatformType;
          51  +
          52  +
pub use crate::types::error::_conflict_exception::ConflictException;
          53  +
          54  +
pub use crate::types::error::_service_quota_exceeded_exception::ServiceQuotaExceededException;
          55  +
          56  +
pub use crate::types::error::_document_already_exists::DocumentAlreadyExists;
          57  +
          58  +
pub use crate::types::error::_document_limit_exceeded::DocumentLimitExceeded;
          59  +
          60  +
pub use crate::types::error::_invalid_document_content::InvalidDocumentContent;
          61  +
          62  +
pub use crate::types::error::_invalid_document_schema_version::InvalidDocumentSchemaVersion;
          63  +
          64  +
pub use crate::types::error::_max_document_size_exceeded::MaxDocumentSizeExceeded;
          65  +
          66  +
pub use crate::types::error::_no_longer_supported_exception::NoLongerSupportedException;
          67  +
          68  +
pub use crate::types::error::_idempotent_parameter_mismatch::IdempotentParameterMismatch;
          69  +
          70  +
pub use crate::types::error::_resource_limit_exceeded_exception::ResourceLimitExceededException;
          71  +
          72  +
pub use crate::types::error::_ops_item_access_denied_exception::OpsItemAccessDeniedException;
          73  +
          74  +
pub use crate::types::error::_ops_item_already_exists_exception::OpsItemAlreadyExistsException;
          75  +
          76  +
pub use crate::types::error::_ops_metadata_already_exists_exception::OpsMetadataAlreadyExistsException;
          77  +
          78  +
pub use crate::types::error::_ops_metadata_invalid_argument_exception::OpsMetadataInvalidArgumentException;
          79  +
          80  +
pub use crate::types::error::_ops_metadata_limit_exceeded_exception::OpsMetadataLimitExceededException;
          81  +
          82  +
pub use crate::types::error::_ops_metadata_too_many_updates_exception::OpsMetadataTooManyUpdatesException;
          83  +
          84  +
pub use crate::types::error::_resource_data_sync_already_exists_exception::ResourceDataSyncAlreadyExistsException;
          85  +
          86  +
pub use crate::types::error::_resource_data_sync_count_exceeded_exception::ResourceDataSyncCountExceededException;
          87  +
          88  +
pub use crate::types::error::_resource_data_sync_invalid_configuration_exception::ResourceDataSyncInvalidConfigurationException;
          89  +
          90  +
pub use crate::types::error::_invalid_activation::InvalidActivation;
          91  +
          92  +
pub use crate::types::error::_invalid_activation_id::InvalidActivationId;
          93  +
          94  +
pub use crate::types::error::_association_does_not_exist::AssociationDoesNotExist;
          95  +
          96  +
pub use crate::types::error::_resource_not_found_exception::ResourceNotFoundException;
          97  +
          98  +
pub use crate::types::error::_associated_instances::AssociatedInstances;
          99  +
         100  +
pub use crate::types::error::_invalid_document_operation::InvalidDocumentOperation;
         101  +
         102  +
pub use crate::types::error::_invalid_delete_inventory_parameters_exception::InvalidDeleteInventoryParametersException;
         103  +
         104  +
pub use crate::types::error::_invalid_inventory_request_exception::InvalidInventoryRequestException;
         105  +
         106  +
pub use crate::types::error::_invalid_option_exception::InvalidOptionException;
         107  +
         108  +
pub use crate::types::error::_invalid_type_name_exception::InvalidTypeNameException;
         109  +
         110  +
pub use crate::types::error::_ops_metadata_not_found_exception::OpsMetadataNotFoundException;
         111  +
         112  +
pub use crate::types::error::_parameter_not_found::ParameterNotFound;
         113  +
         114  +
pub use crate::types::error::_resource_in_use_exception::ResourceInUseException;
         115  +
         116  +
pub use crate::types::error::_resource_data_sync_not_found_exception::ResourceDataSyncNotFoundException;
         117  +
         118  +
pub use crate::types::error::_malformed_resource_policy_document_exception::MalformedResourcePolicyDocumentException;
         119  +
         120  +
pub use crate::types::error::_resource_policy_conflict_exception::ResourcePolicyConflictException;
         121  +
         122  +
pub use crate::types::error::_resource_policy_invalid_parameter_exception::ResourcePolicyInvalidParameterException;
         123  +
         124  +
pub use crate::types::error::_resource_policy_not_found_exception::ResourcePolicyNotFoundException;
         125  +
         126  +
pub use crate::types::error::_target_in_use_exception::TargetInUseException;
         127  +
         128  +
pub use crate::types::error::_invalid_filter::InvalidFilter;
         129  +
         130  +
pub use crate::types::error::_invalid_next_token::InvalidNextToken;
         131  +
         132  +
pub use crate::types::error::_invalid_association_version::InvalidAssociationVersion;
         133  +
         134  +
pub use crate::types::error::_association_execution_does_not_exist::AssociationExecutionDoesNotExist;
         135  +
         136  +
pub use crate::types::error::_invalid_filter_key::InvalidFilterKey;
         137  +
         138  +
pub use crate::types::error::_invalid_filter_value::InvalidFilterValue;
         139  +
         140  +
pub use crate::types::error::_automation_execution_not_found_exception::AutomationExecutionNotFoundException;
         141  +
         142  +
pub use crate::types::error::_invalid_permission_type::InvalidPermissionType;
         143  +
         144  +
pub use crate::types::error::_unsupported_operating_system::UnsupportedOperatingSystem;
         145  +
         146  +
pub use crate::types::error::_invalid_instance_information_filter_value::InvalidInstanceInformationFilterValue;
         147  +
         148  +
pub use crate::types::error::_invalid_instance_property_filter_value::InvalidInstancePropertyFilterValue;
         149  +
         150  +
pub use crate::types::error::_invalid_deletion_id_exception::InvalidDeletionIdException;
         151  +
         152  +
pub use crate::types::error::_invalid_filter_option::InvalidFilterOption;
         153  +
         154  +
pub use crate::types::error::_ops_item_related_item_association_not_found_exception::OpsItemRelatedItemAssociationNotFoundException;
         155  +
         156  +
pub use crate::types::error::_access_denied_exception::AccessDeniedException;
         157  +
         158  +
pub use crate::types::error::_throttling_exception::ThrottlingException;
         159  +
         160  +
pub use crate::types::error::_validation_exception::ValidationException;
         161  +
         162  +
pub use crate::types::error::_invalid_document_type::InvalidDocumentType;
         163  +
         164  +
pub use crate::types::error::_unsupported_calendar_exception::UnsupportedCalendarException;
         165  +
         166  +
pub use crate::types::error::_invalid_plugin_name::InvalidPluginName;
         167  +
         168  +
pub use crate::types::error::_invocation_does_not_exist::InvocationDoesNotExist;
         169  +
         170  +
pub use crate::types::error::_unsupported_feature_required_exception::UnsupportedFeatureRequiredException;
         171  +
         172  +
pub use crate::types::error::_invalid_aggregator_exception::InvalidAggregatorException;
         173  +
         174  +
pub use crate::types::error::_invalid_inventory_group_exception::InvalidInventoryGroupException;
         175  +
         176  +
pub use crate::types::error::_invalid_result_attribute_exception::InvalidResultAttributeException;
         177  +
         178  +
pub use crate::types::error::_invalid_key_id::InvalidKeyId;
         179  +
         180  +
pub use crate::types::error::_parameter_version_not_found::ParameterVersionNotFound;
         181  +
         182  +
pub use crate::types::error::_service_setting_not_found::ServiceSettingNotFound;
         183  +
         184  +
pub use crate::types::error::_parameter_version_label_limit_exceeded::ParameterVersionLabelLimitExceeded;
         185  +
         186  +
pub use crate::types::error::_unsupported_operation_exception::UnsupportedOperationException;
         187  +
         188  +
pub use crate::types::error::_document_permission_limit::DocumentPermissionLimit;
         189  +
         190  +
pub use crate::types::error::_compliance_type_count_limit_exceeded_exception::ComplianceTypeCountLimitExceededException;
         191  +
         192  +
pub use crate::types::error::_invalid_item_content_exception::InvalidItemContentException;
         193  +
         194  +
pub use crate::types::error::_item_size_limit_exceeded_exception::ItemSizeLimitExceededException;
         195  +
         196  +
pub use crate::types::error::_total_size_limit_exceeded_exception::TotalSizeLimitExceededException;
         197  +
         198  +
pub use crate::types::error::_custom_schema_count_limit_exceeded_exception::CustomSchemaCountLimitExceededException;
         199  +
         200  +
pub use crate::types::error::_invalid_inventory_item_context_exception::InvalidInventoryItemContextException;
         201  +
         202  +
pub use crate::types::error::_item_content_mismatch_exception::ItemContentMismatchException;
         203  +
         204  +
pub use crate::types::error::_sub_type_count_limit_exceeded_exception::SubTypeCountLimitExceededException;
         205  +
         206  +
pub use crate::types::error::_unsupported_inventory_item_context_exception::UnsupportedInventoryItemContextException;
         207  +
         208  +
pub use crate::types::error::_unsupported_inventory_schema_version_exception::UnsupportedInventorySchemaVersionException;
         209  +
         210  +
pub use crate::types::error::_hierarchy_level_limit_exceeded_exception::HierarchyLevelLimitExceededException;
         211  +
         212  +
pub use crate::types::error::_hierarchy_type_mismatch_exception::HierarchyTypeMismatchException;
         213  +
         214  +
pub use crate::types::error::_incompatible_policy_exception::IncompatiblePolicyException;
         215  +
         216  +
pub use crate::types::error::_invalid_allowed_pattern_exception::InvalidAllowedPatternException;
         217  +
         218  +
pub use crate::types::error::_invalid_policy_attribute_exception::InvalidPolicyAttributeException;
         219  +
         220  +
pub use crate::types::error::_invalid_policy_type_exception::InvalidPolicyTypeException;
         221  +
         222  +
pub use crate::types::error::_parameter_already_exists::ParameterAlreadyExists;
         223  +
         224  +
pub use crate::types::error::_parameter_limit_exceeded::ParameterLimitExceeded;
         225  +
         226  +
pub use crate::types::error::_parameter_max_version_limit_exceeded::ParameterMaxVersionLimitExceeded;
         227  +
         228  +
pub use crate::types::error::_parameter_pattern_mismatch_exception::ParameterPatternMismatchException;
         229  +
         230  +
pub use crate::types::error::_policies_limit_exceeded_exception::PoliciesLimitExceededException;
         231  +
         232  +
pub use crate::types::error::_unsupported_parameter_type::UnsupportedParameterType;
         233  +
         234  +
pub use crate::types::error::_resource_policy_limit_exceeded_exception::ResourcePolicyLimitExceededException;
         235  +
         236  +
pub use crate::types::error::_already_exists_exception::AlreadyExistsException;
         237  +
         238  +
pub use crate::types::error::_feature_not_available_exception::FeatureNotAvailableException;
         239  +
         240  +
pub use crate::types::error::_automation_step_not_found_exception::AutomationStepNotFoundException;
         241  +
         242  +
pub use crate::types::error::_invalid_automation_signal_exception::InvalidAutomationSignalException;
         243  +
         244  +
pub use crate::types::error::_invalid_notification_config::InvalidNotificationConfig;
         245  +
         246  +
pub use crate::types::error::_invalid_output_folder::InvalidOutputFolder;
         247  +
         248  +
pub use crate::types::error::_invalid_role::InvalidRole;
         249  +
         250  +
pub use crate::types::error::_invalid_association::InvalidAssociation;
         251  +
         252  +
pub use crate::types::error::_automation_definition_not_found_exception::AutomationDefinitionNotFoundException;
         253  +
         254  +
pub use crate::types::error::_automation_definition_version_not_found_exception::AutomationDefinitionVersionNotFoundException;
         255  +
         256  +
pub use crate::types::error::_automation_execution_limit_exceeded_exception::AutomationExecutionLimitExceededException;
         257  +
         258  +
pub use crate::types::error::_invalid_automation_execution_parameters_exception::InvalidAutomationExecutionParametersException;
         259  +
         260  +
pub use crate::types::error::_automation_definition_not_approved_exception::AutomationDefinitionNotApprovedException;
         261  +
         262  +
pub use crate::types::error::_target_not_connected::TargetNotConnected;
         263  +
         264  +
pub use crate::types::error::_invalid_automation_status_update_exception::InvalidAutomationStatusUpdateException;
         265  +
         266  +
pub use crate::types::error::_association_version_limit_exceeded::AssociationVersionLimitExceeded;
         267  +
         268  +
pub use crate::types::error::_invalid_update::InvalidUpdate;
         269  +
         270  +
pub use crate::types::error::_status_unchanged::StatusUnchanged;
         271  +
         272  +
pub use crate::types::error::_document_version_limit_exceeded::DocumentVersionLimitExceeded;
         273  +
         274  +
pub use crate::types::error::_duplicate_document_content::DuplicateDocumentContent;
         275  +
         276  +
pub use crate::types::error::_duplicate_document_version_name::DuplicateDocumentVersionName;
         277  +
         278  +
pub use crate::types::error::_ops_metadata_key_limit_exceeded_exception::OpsMetadataKeyLimitExceededException;
         279  +
         280  +
pub use crate::types::error::_resource_data_sync_conflict_exception::ResourceDataSyncConflictException;
         281  +
         282  +
mod _access_denied_exception;
         283  +
         284  +
mod _already_exists_exception;
         285  +
         286  +
mod _associated_instances;
         287  +
         288  +
mod _association_already_exists;
         289  +
         290  +
mod _association_does_not_exist;
         291  +
         292  +
mod _association_execution_does_not_exist;
         293  +
         294  +
mod _association_limit_exceeded;
         295  +
         296  +
mod _association_version_limit_exceeded;
         297  +
         298  +
mod _automation_definition_not_approved_exception;
         299  +
         300  +
mod _automation_definition_not_found_exception;
         301  +
         302  +
mod _automation_definition_version_not_found_exception;
         303  +
         304  +
mod _automation_execution_limit_exceeded_exception;
         305  +
         306  +
mod _automation_execution_not_found_exception;
         307  +
         308  +
mod _automation_step_not_found_exception;
         309  +
         310  +
mod _compliance_type_count_limit_exceeded_exception;
         311  +
         312  +
mod _conflict_exception;
         313  +
         314  +
mod _custom_schema_count_limit_exceeded_exception;
         315  +
         316  +
mod _document_already_exists;
         317  +
         318  +
mod _document_limit_exceeded;
         319  +
         320  +
mod _document_permission_limit;
         321  +
         322  +
mod _document_version_limit_exceeded;
         323  +
         324  +
mod _does_not_exist_exception;
         325  +
         326  +
mod _duplicate_document_content;
         327  +
         328  +
mod _duplicate_document_version_name;
         329  +
         330  +
mod _duplicate_instance_id;
         331  +
         332  +
mod _feature_not_available_exception;
         333  +
         334  +
mod _hierarchy_level_limit_exceeded_exception;
         335  +
         336  +
mod _hierarchy_type_mismatch_exception;
         337  +
         338  +
mod _idempotent_parameter_mismatch;
         339  +
         340  +
mod _incompatible_policy_exception;
         341  +
         342  +
mod _internal_server_error;
         343  +
         344  +
mod _invalid_activation;
         345  +
         346  +
mod _invalid_activation_id;
         347  +
         348  +
mod _invalid_aggregator_exception;
         349  +
         350  +
mod _invalid_allowed_pattern_exception;
         351  +
         352  +
mod _invalid_association;
         353  +
         354  +
mod _invalid_association_version;
         355  +
         356  +
mod _invalid_automation_execution_parameters_exception;
         357  +
         358  +
mod _invalid_automation_signal_exception;
         359  +
         360  +
mod _invalid_automation_status_update_exception;
         361  +
         362  +
mod _invalid_command_id;
         363  +
         364  +
mod _invalid_delete_inventory_parameters_exception;
         365  +
         366  +
mod _invalid_deletion_id_exception;
         367  +
         368  +
mod _invalid_document;
         369  +
         370  +
mod _invalid_document_content;
         371  +
         372  +
mod _invalid_document_operation;
         373  +
         374  +
mod _invalid_document_schema_version;
         375  +
         376  +
mod _invalid_document_type;
         377  +
         378  +
mod _invalid_document_version;
         379  +
         380  +
mod _invalid_filter;
         381  +
         382  +
mod _invalid_filter_key;
         383  +
         384  +
mod _invalid_filter_option;
         385  +
         386  +
mod _invalid_filter_value;
         387  +
         388  +
mod _invalid_instance_id;
         389  +
         390  +
mod _invalid_instance_information_filter_value;
         391  +
         392  +
mod _invalid_instance_property_filter_value;
         393  +
         394  +
mod _invalid_inventory_group_exception;
         395  +
         396  +
mod _invalid_inventory_item_context_exception;
         397  +
         398  +
mod _invalid_inventory_request_exception;
         399  +
         400  +
mod _invalid_item_content_exception;
         401  +
         402  +
mod _invalid_key_id;
         403  +
         404  +
mod _invalid_next_token;
         405  +
         406  +
mod _invalid_notification_config;
         407  +
         408  +
mod _invalid_option_exception;
         409  +
         410  +
mod _invalid_output_folder;
         411  +
         412  +
mod _invalid_output_location;
         413  +
         414  +
mod _invalid_parameters;
         415  +
         416  +
mod _invalid_permission_type;
         417  +
         418  +
mod _invalid_plugin_name;
         419  +
         420  +
mod _invalid_policy_attribute_exception;
         421  +
         422  +
mod _invalid_policy_type_exception;
         423  +
         424  +
mod _invalid_resource_id;
         425  +
         426  +
mod _invalid_resource_type;
         427  +
         428  +
mod _invalid_result_attribute_exception;
         429  +
         430  +
mod _invalid_role;
         431  +
         432  +
mod _invalid_schedule;
         433  +
         434  +
mod _invalid_tag;
         435  +
         436  +
mod _invalid_target;
         437  +
         438  +
mod _invalid_target_maps;
         439  +
         440  +
mod _invalid_type_name_exception;
         441  +
         442  +
mod _invalid_update;
         443  +
         444  +
mod _invocation_does_not_exist;
         445  +
         446  +
mod _item_content_mismatch_exception;
         447  +
         448  +
mod _item_size_limit_exceeded_exception;
         449  +
         450  +
mod _malformed_resource_policy_document_exception;
         451  +
         452  +
mod _max_document_size_exceeded;
         453  +
         454  +
mod _no_longer_supported_exception;
         455  +
         456  +
mod _ops_item_access_denied_exception;
         457  +
         458  +
mod _ops_item_already_exists_exception;
         459  +
         460  +
mod _ops_item_conflict_exception;
         461  +
         462  +
mod _ops_item_invalid_parameter_exception;
         463  +
         464  +
mod _ops_item_limit_exceeded_exception;
         465  +
         466  +
mod _ops_item_not_found_exception;
         467  +
         468  +
mod _ops_item_related_item_already_exists_exception;
         469  +
         470  +
mod _ops_item_related_item_association_not_found_exception;
         471  +
         472  +
mod _ops_metadata_already_exists_exception;
         473  +
         474  +
mod _ops_metadata_invalid_argument_exception;
         475  +
         476  +
mod _ops_metadata_key_limit_exceeded_exception;
         477  +
         478  +
mod _ops_metadata_limit_exceeded_exception;
         479  +
         480  +
mod _ops_metadata_not_found_exception;
         481  +
         482  +
mod _ops_metadata_too_many_updates_exception;
         483  +
         484  +
mod _parameter_already_exists;
         485  +
         486  +
mod _parameter_limit_exceeded;
         487  +
         488  +
mod _parameter_max_version_limit_exceeded;
         489  +
         490  +
mod _parameter_not_found;
         491  +
         492  +
mod _parameter_pattern_mismatch_exception;
         493  +
         494  +
mod _parameter_version_label_limit_exceeded;
         495  +
         496  +
mod _parameter_version_not_found;
         497  +
         498  +
mod _policies_limit_exceeded_exception;
         499  +
         500  +
mod _resource_data_sync_already_exists_exception;
         501  +
         502  +
mod _resource_data_sync_conflict_exception;
         503  +
         504  +
mod _resource_data_sync_count_exceeded_exception;
         505  +
         506  +
mod _resource_data_sync_invalid_configuration_exception;
         507  +
         508  +
mod _resource_data_sync_not_found_exception;
         509  +
         510  +
mod _resource_in_use_exception;
         511  +
         512  +
mod _resource_limit_exceeded_exception;
         513  +
         514  +
mod _resource_not_found_exception;
         515  +
         516  +
mod _resource_policy_conflict_exception;
         517  +
         518  +
mod _resource_policy_invalid_parameter_exception;
         519  +
         520  +
mod _resource_policy_limit_exceeded_exception;
         521  +
         522  +
mod _resource_policy_not_found_exception;
         523  +
         524  +
mod _service_quota_exceeded_exception;
         525  +
         526  +
mod _service_setting_not_found;
         527  +
         528  +
mod _status_unchanged;
         529  +
         530  +
mod _sub_type_count_limit_exceeded_exception;
         531  +
         532  +
mod _target_in_use_exception;
         533  +
         534  +
mod _target_not_connected;
         535  +
         536  +
mod _throttling_exception;
         537  +
         538  +
mod _too_many_tags_error;
         539  +
         540  +
mod _too_many_updates;
         541  +
         542  +
mod _total_size_limit_exceeded_exception;
         543  +
         544  +
mod _unsupported_calendar_exception;
         545  +
         546  +
mod _unsupported_feature_required_exception;
         547  +
         548  +
mod _unsupported_inventory_item_context_exception;
         549  +
         550  +
mod _unsupported_inventory_schema_version_exception;
         551  +
         552  +
mod _unsupported_operating_system;
         553  +
         554  +
mod _unsupported_operation_exception;
         555  +
         556  +
mod _unsupported_parameter_type;
         557  +
         558  +
mod _unsupported_platform_type;
         559  +
         560  +
mod _validation_exception;
         561  +
         562  +
/// Builders
         563  +
pub mod builders;

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/error/_access_denied_exception.rs

@@ -0,1 +0,168 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// <p>The requester doesn't have permissions to perform the requested operation.</p>
           4  +
#[non_exhaustive]
           5  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           6  +
pub struct AccessDeniedException {
           7  +
    #[allow(missing_docs)] // documentation missing in model
           8  +
    pub message: ::std::string::String,
           9  +
    pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata,
          10  +
}
          11  +
static ACCESSDENIEDEXCEPTION_MEMBER_MESSAGE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          12  +
    ::aws_smithy_schema::ShapeId::from_parts(
          13  +
        "com.amazonaws.ssm#AccessDeniedException$Message",
          14  +
        "com.amazonaws.ssm",
          15  +
        "AccessDeniedException",
          16  +
    ),
          17  +
    ::aws_smithy_schema::ShapeType::String,
          18  +
    "Message",
          19  +
    0,
          20  +
);
          21  +
static ACCESSDENIEDEXCEPTION_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
          22  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#AccessDeniedException", "com.amazonaws.ssm", "AccessDeniedException"),
          23  +
    ::aws_smithy_schema::ShapeType::Structure,
          24  +
    &[&ACCESSDENIEDEXCEPTION_MEMBER_MESSAGE],
          25  +
);
          26  +
impl AccessDeniedException {
          27  +
    /// The schema for this shape.
          28  +
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &ACCESSDENIEDEXCEPTION_SCHEMA;
          29  +
}
          30  +
impl ::aws_smithy_schema::serde::SerializableStruct for AccessDeniedException {
          31  +
    #[allow(unused_variables, clippy::diverging_sub_expression)]
          32  +
    fn serialize_members(
          33  +
        &self,
          34  +
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
          35  +
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
          36  +
        {
          37  +
            let val = &self.message;
          38  +
            ser.write_string(&ACCESSDENIEDEXCEPTION_MEMBER_MESSAGE, val)?;
          39  +
        }
          40  +
        Ok(())
          41  +
    }
          42  +
}
          43  +
impl AccessDeniedException {
          44  +
    /// Deserializes this structure from a [`ShapeDeserializer`].
          45  +
    pub fn deserialize(
          46  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          47  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          48  +
        #[allow(unused_variables, unused_mut)]
          49  +
        let mut builder = Self::builder();
          50  +
        #[allow(
          51  +
            unused_variables,
          52  +
            unreachable_code,
          53  +
            clippy::single_match,
          54  +
            clippy::match_single_binding,
          55  +
            clippy::diverging_sub_expression
          56  +
        )]
          57  +
        deserializer.read_struct(&ACCESSDENIEDEXCEPTION_SCHEMA, &mut |member, deser| {
          58  +
            match member.member_index() {
          59  +
                Some(0) => {
          60  +
                    builder.message = Some(deser.read_string(member)?);
          61  +
                }
          62  +
                _ => {}
          63  +
            }
          64  +
            Ok(())
          65  +
        })?;
          66  +
        builder.message = builder.message.or(Some(String::new()));
          67  +
        builder.build().map_err(|e| aws_smithy_schema::serde::SerdeError::custom(e.to_string()))
          68  +
    }
          69  +
}
          70  +
impl AccessDeniedException {
          71  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          72  +
    pub fn deserialize_with_response(
          73  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          74  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          75  +
        _status: u16,
          76  +
        body: &[u8],
          77  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          78  +
        if body.is_empty() {
          79  +
            return Self::builder()
          80  +
                .build()
          81  +
                .map_err(|e| aws_smithy_schema::serde::SerdeError::custom(e.to_string()));
          82  +
        }
          83  +
        Self::deserialize(deserializer)
          84  +
    }
          85  +
}
          86  +
impl AccessDeniedException {
          87  +
    /// Returns the error message.
          88  +
    pub fn message(&self) -> &str {
          89  +
        &self.message
          90  +
    }
          91  +
}
          92  +
impl ::std::fmt::Display for AccessDeniedException {
          93  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
          94  +
        ::std::write!(f, "AccessDeniedException")?;
          95  +
        {
          96  +
            ::std::write!(f, ": {}", &self.message)?;
          97  +
        }
          98  +
        Ok(())
          99  +
    }
         100  +
}
         101  +
impl ::std::error::Error for AccessDeniedException {}
         102  +
impl ::aws_types::request_id::RequestId for crate::types::error::AccessDeniedException {
         103  +
    fn request_id(&self) -> Option<&str> {
         104  +
        use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
         105  +
        self.meta().request_id()
         106  +
    }
         107  +
}
         108  +
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for AccessDeniedException {
         109  +
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         110  +
        &self.meta
         111  +
    }
         112  +
}
         113  +
impl AccessDeniedException {
         114  +
    /// Creates a new builder-style object to manufacture [`AccessDeniedException`](crate::types::error::AccessDeniedException).
         115  +
    pub fn builder() -> crate::types::error::builders::AccessDeniedExceptionBuilder {
         116  +
        crate::types::error::builders::AccessDeniedExceptionBuilder::default()
         117  +
    }
         118  +
}
         119  +
         120  +
/// A builder for [`AccessDeniedException`](crate::types::error::AccessDeniedException).
         121  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         122  +
#[non_exhaustive]
         123  +
pub struct AccessDeniedExceptionBuilder {
         124  +
    pub(crate) message: ::std::option::Option<::std::string::String>,
         125  +
    meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
         126  +
}
         127  +
impl AccessDeniedExceptionBuilder {
         128  +
    #[allow(missing_docs)] // documentation missing in model
         129  +
    /// This field is required.
         130  +
    pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         131  +
        self.message = ::std::option::Option::Some(input.into());
         132  +
        self
         133  +
    }
         134  +
    #[allow(missing_docs)] // documentation missing in model
         135  +
    pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         136  +
        self.message = input;
         137  +
        self
         138  +
    }
         139  +
    #[allow(missing_docs)] // documentation missing in model
         140  +
    pub fn get_message(&self) -> &::std::option::Option<::std::string::String> {
         141  +
        &self.message
         142  +
    }
         143  +
    /// Sets error metadata
         144  +
    pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self {
         145  +
        self.meta = Some(meta);
         146  +
        self
         147  +
    }
         148  +
         149  +
    /// Sets error metadata
         150  +
    pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self {
         151  +
        self.meta = meta;
         152  +
        self
         153  +
    }
         154  +
    /// Consumes the builder and constructs a [`AccessDeniedException`](crate::types::error::AccessDeniedException).
         155  +
    /// This method will fail if any of the following fields are not set:
         156  +
    /// - [`message`](crate::types::error::builders::AccessDeniedExceptionBuilder::message)
         157  +
    pub fn build(self) -> ::std::result::Result<crate::types::error::AccessDeniedException, ::aws_smithy_types::error::operation::BuildError> {
         158  +
        ::std::result::Result::Ok(crate::types::error::AccessDeniedException {
         159  +
            message: self.message.ok_or_else(|| {
         160  +
                ::aws_smithy_types::error::operation::BuildError::missing_field(
         161  +
                    "message",
         162  +
                    "message was not specified but it is required when building AccessDeniedException",
         163  +
                )
         164  +
            })?,
         165  +
            meta: self.meta.unwrap_or_default(),
         166  +
        })
         167  +
    }
         168  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/error/_already_exists_exception.rs

@@ -0,1 +0,182 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// <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>
           4  +
#[non_exhaustive]
           5  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           6  +
pub struct AlreadyExistsException {
           7  +
    #[allow(missing_docs)] // documentation missing in model
           8  +
    pub message: ::std::option::Option<::std::string::String>,
           9  +
    pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata,
          10  +
}
          11  +
static ALREADYEXISTSEXCEPTION_MEMBER_MESSAGE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          12  +
    ::aws_smithy_schema::ShapeId::from_parts(
          13  +
        "com.amazonaws.ssm#AlreadyExistsException$Message",
          14  +
        "com.amazonaws.ssm",
          15  +
        "AlreadyExistsException",
          16  +
    ),
          17  +
    ::aws_smithy_schema::ShapeType::String,
          18  +
    "Message",
          19  +
    0,
          20  +
);
          21  +
static ALREADYEXISTSEXCEPTION_TRAITS: std::sync::LazyLock<::aws_smithy_schema::TraitMap> = std::sync::LazyLock::new(|| {
          22  +
    let mut map = ::aws_smithy_schema::TraitMap::new();
          23  +
    map.insert(Box::new(::aws_smithy_schema::DocumentTrait::new(
          24  +
        ::aws_smithy_schema::ShapeId::from_parts("aws.protocols#awsQueryError", "aws.protocols", "awsQueryError"),
          25  +
        {
          26  +
            let mut obj = ::aws_smithy_types::document::DocumentObject::new();
          27  +
            obj.insert(
          28  +
                "code".to_string(),
          29  +
                ::aws_smithy_types::Document::String("AlreadyExistsException".to_string()),
          30  +
            );
          31  +
            obj.insert(
          32  +
                "httpResponseCode".to_string(),
          33  +
                ::aws_smithy_types::Document::Number(::aws_smithy_types::Number::PosInt(400u64)),
          34  +
            );
          35  +
            ::aws_smithy_types::Document::Object(obj)
          36  +
        },
          37  +
    )));
          38  +
    map
          39  +
});
          40  +
static ALREADYEXISTSEXCEPTION_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
          41  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#AlreadyExistsException", "com.amazonaws.ssm", "AlreadyExistsException"),
          42  +
    ::aws_smithy_schema::ShapeType::Structure,
          43  +
    &[&ALREADYEXISTSEXCEPTION_MEMBER_MESSAGE],
          44  +
)
          45  +
.with_traits(&ALREADYEXISTSEXCEPTION_TRAITS);
          46  +
impl AlreadyExistsException {
          47  +
    /// The schema for this shape.
          48  +
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &ALREADYEXISTSEXCEPTION_SCHEMA;
          49  +
}
          50  +
impl ::aws_smithy_schema::serde::SerializableStruct for AlreadyExistsException {
          51  +
    #[allow(unused_variables, clippy::diverging_sub_expression)]
          52  +
    fn serialize_members(
          53  +
        &self,
          54  +
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
          55  +
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
          56  +
        if let Some(ref val) = self.message {
          57  +
            ser.write_string(&ALREADYEXISTSEXCEPTION_MEMBER_MESSAGE, val)?;
          58  +
        }
          59  +
        Ok(())
          60  +
    }
          61  +
}
          62  +
impl AlreadyExistsException {
          63  +
    /// Deserializes this structure from a [`ShapeDeserializer`].
          64  +
    pub fn deserialize(
          65  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          66  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          67  +
        #[allow(unused_variables, unused_mut)]
          68  +
        let mut builder = Self::builder();
          69  +
        #[allow(
          70  +
            unused_variables,
          71  +
            unreachable_code,
          72  +
            clippy::single_match,
          73  +
            clippy::match_single_binding,
          74  +
            clippy::diverging_sub_expression
          75  +
        )]
          76  +
        deserializer.read_struct(&ALREADYEXISTSEXCEPTION_SCHEMA, &mut |member, deser| {
          77  +
            match member.member_index() {
          78  +
                Some(0) => {
          79  +
                    if deser.is_null() {
          80  +
                        deser.read_null()?;
          81  +
                    } else {
          82  +
                        builder.message = Some(deser.read_string(member)?);
          83  +
                    }
          84  +
                }
          85  +
                _ => {}
          86  +
            }
          87  +
            Ok(())
          88  +
        })?;
          89  +
        Ok(builder.build())
          90  +
    }
          91  +
}
          92  +
impl AlreadyExistsException {
          93  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          94  +
    pub fn deserialize_with_response(
          95  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          96  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          97  +
        _status: u16,
          98  +
        body: &[u8],
          99  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         100  +
        if body.is_empty() {
         101  +
            return Ok(Self::builder().build());
         102  +
        }
         103  +
        Self::deserialize(deserializer)
         104  +
    }
         105  +
}
         106  +
impl AlreadyExistsException {
         107  +
    /// Returns the error message.
         108  +
    pub fn message(&self) -> ::std::option::Option<&str> {
         109  +
        self.message.as_deref()
         110  +
    }
         111  +
}
         112  +
impl ::std::fmt::Display for AlreadyExistsException {
         113  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         114  +
        ::std::write!(f, "AlreadyExistsException")?;
         115  +
        if let ::std::option::Option::Some(inner_1) = &self.message {
         116  +
            {
         117  +
                ::std::write!(f, ": {inner_1}")?;
         118  +
            }
         119  +
        }
         120  +
        Ok(())
         121  +
    }
         122  +
}
         123  +
impl ::std::error::Error for AlreadyExistsException {}
         124  +
impl ::aws_types::request_id::RequestId for crate::types::error::AlreadyExistsException {
         125  +
    fn request_id(&self) -> Option<&str> {
         126  +
        use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
         127  +
        self.meta().request_id()
         128  +
    }
         129  +
}
         130  +
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for AlreadyExistsException {
         131  +
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         132  +
        &self.meta
         133  +
    }
         134  +
}
         135  +
impl AlreadyExistsException {
         136  +
    /// Creates a new builder-style object to manufacture [`AlreadyExistsException`](crate::types::error::AlreadyExistsException).
         137  +
    pub fn builder() -> crate::types::error::builders::AlreadyExistsExceptionBuilder {
         138  +
        crate::types::error::builders::AlreadyExistsExceptionBuilder::default()
         139  +
    }
         140  +
}
         141  +
         142  +
/// A builder for [`AlreadyExistsException`](crate::types::error::AlreadyExistsException).
         143  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         144  +
#[non_exhaustive]
         145  +
pub struct AlreadyExistsExceptionBuilder {
         146  +
    pub(crate) message: ::std::option::Option<::std::string::String>,
         147  +
    meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
         148  +
}
         149  +
impl AlreadyExistsExceptionBuilder {
         150  +
    #[allow(missing_docs)] // documentation missing in model
         151  +
    pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         152  +
        self.message = ::std::option::Option::Some(input.into());
         153  +
        self
         154  +
    }
         155  +
    #[allow(missing_docs)] // documentation missing in model
         156  +
    pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         157  +
        self.message = input;
         158  +
        self
         159  +
    }
         160  +
    #[allow(missing_docs)] // documentation missing in model
         161  +
    pub fn get_message(&self) -> &::std::option::Option<::std::string::String> {
         162  +
        &self.message
         163  +
    }
         164  +
    /// Sets error metadata
         165  +
    pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self {
         166  +
        self.meta = Some(meta);
         167  +
        self
         168  +
    }
         169  +
         170  +
    /// Sets error metadata
         171  +
    pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self {
         172  +
        self.meta = meta;
         173  +
        self
         174  +
    }
         175  +
    /// Consumes the builder and constructs a [`AlreadyExistsException`](crate::types::error::AlreadyExistsException).
         176  +
    pub fn build(self) -> crate::types::error::AlreadyExistsException {
         177  +
        crate::types::error::AlreadyExistsException {
         178  +
            message: self.message,
         179  +
            meta: self.meta.unwrap_or_default(),
         180  +
        }
         181  +
    }
         182  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/error/_associated_instances.rs

@@ -0,1 +0,182 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// <p>You must disassociate a document from all managed nodes before you can delete it.</p>
           4  +
#[non_exhaustive]
           5  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           6  +
pub struct AssociatedInstances {
           7  +
    #[allow(missing_docs)] // documentation missing in model
           8  +
    pub message: ::std::option::Option<::std::string::String>,
           9  +
    pub(crate) meta: ::aws_smithy_types::error::ErrorMetadata,
          10  +
}
          11  +
static ASSOCIATEDINSTANCES_MEMBER_MESSAGE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          12  +
    ::aws_smithy_schema::ShapeId::from_parts(
          13  +
        "com.amazonaws.ssm#AssociatedInstances$Message",
          14  +
        "com.amazonaws.ssm",
          15  +
        "AssociatedInstances",
          16  +
    ),
          17  +
    ::aws_smithy_schema::ShapeType::String,
          18  +
    "Message",
          19  +
    0,
          20  +
);
          21  +
static ASSOCIATEDINSTANCES_TRAITS: std::sync::LazyLock<::aws_smithy_schema::TraitMap> = std::sync::LazyLock::new(|| {
          22  +
    let mut map = ::aws_smithy_schema::TraitMap::new();
          23  +
    map.insert(Box::new(::aws_smithy_schema::DocumentTrait::new(
          24  +
        ::aws_smithy_schema::ShapeId::from_parts("aws.protocols#awsQueryError", "aws.protocols", "awsQueryError"),
          25  +
        {
          26  +
            let mut obj = ::aws_smithy_types::document::DocumentObject::new();
          27  +
            obj.insert(
          28  +
                "code".to_string(),
          29  +
                ::aws_smithy_types::Document::String("AssociatedInstances".to_string()),
          30  +
            );
          31  +
            obj.insert(
          32  +
                "httpResponseCode".to_string(),
          33  +
                ::aws_smithy_types::Document::Number(::aws_smithy_types::Number::PosInt(400u64)),
          34  +
            );
          35  +
            ::aws_smithy_types::Document::Object(obj)
          36  +
        },
          37  +
    )));
          38  +
    map
          39  +
});
          40  +
static ASSOCIATEDINSTANCES_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
          41  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#AssociatedInstances", "com.amazonaws.ssm", "AssociatedInstances"),
          42  +
    ::aws_smithy_schema::ShapeType::Structure,
          43  +
    &[&ASSOCIATEDINSTANCES_MEMBER_MESSAGE],
          44  +
)
          45  +
.with_traits(&ASSOCIATEDINSTANCES_TRAITS);
          46  +
impl AssociatedInstances {
          47  +
    /// The schema for this shape.
          48  +
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &ASSOCIATEDINSTANCES_SCHEMA;
          49  +
}
          50  +
impl ::aws_smithy_schema::serde::SerializableStruct for AssociatedInstances {
          51  +
    #[allow(unused_variables, clippy::diverging_sub_expression)]
          52  +
    fn serialize_members(
          53  +
        &self,
          54  +
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
          55  +
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
          56  +
        if let Some(ref val) = self.message {
          57  +
            ser.write_string(&ASSOCIATEDINSTANCES_MEMBER_MESSAGE, val)?;
          58  +
        }
          59  +
        Ok(())
          60  +
    }
          61  +
}
          62  +
impl AssociatedInstances {
          63  +
    /// Deserializes this structure from a [`ShapeDeserializer`].
          64  +
    pub fn deserialize(
          65  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          66  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          67  +
        #[allow(unused_variables, unused_mut)]
          68  +
        let mut builder = Self::builder();
          69  +
        #[allow(
          70  +
            unused_variables,
          71  +
            unreachable_code,
          72  +
            clippy::single_match,
          73  +
            clippy::match_single_binding,
          74  +
            clippy::diverging_sub_expression
          75  +
        )]
          76  +
        deserializer.read_struct(&ASSOCIATEDINSTANCES_SCHEMA, &mut |member, deser| {
          77  +
            match member.member_index() {
          78  +
                Some(0) => {
          79  +
                    if deser.is_null() {
          80  +
                        deser.read_null()?;
          81  +
                    } else {
          82  +
                        builder.message = Some(deser.read_string(member)?);
          83  +
                    }
          84  +
                }
          85  +
                _ => {}
          86  +
            }
          87  +
            Ok(())
          88  +
        })?;
          89  +
        Ok(builder.build())
          90  +
    }
          91  +
}
          92  +
impl AssociatedInstances {
          93  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          94  +
    pub fn deserialize_with_response(
          95  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          96  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          97  +
        _status: u16,
          98  +
        body: &[u8],
          99  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         100  +
        if body.is_empty() {
         101  +
            return Ok(Self::builder().build());
         102  +
        }
         103  +
        Self::deserialize(deserializer)
         104  +
    }
         105  +
}
         106  +
impl AssociatedInstances {
         107  +
    /// Returns the error message.
         108  +
    pub fn message(&self) -> ::std::option::Option<&str> {
         109  +
        self.message.as_deref()
         110  +
    }
         111  +
}
         112  +
impl ::std::fmt::Display for AssociatedInstances {
         113  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         114  +
        ::std::write!(f, "AssociatedInstances")?;
         115  +
        if let ::std::option::Option::Some(inner_1) = &self.message {
         116  +
            {
         117  +
                ::std::write!(f, ": {inner_1}")?;
         118  +
            }
         119  +
        }
         120  +
        Ok(())
         121  +
    }
         122  +
}
         123  +
impl ::std::error::Error for AssociatedInstances {}
         124  +
impl ::aws_types::request_id::RequestId for crate::types::error::AssociatedInstances {
         125  +
    fn request_id(&self) -> Option<&str> {
         126  +
        use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
         127  +
        self.meta().request_id()
         128  +
    }
         129  +
}
         130  +
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for AssociatedInstances {
         131  +
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         132  +
        &self.meta
         133  +
    }
         134  +
}
         135  +
impl AssociatedInstances {
         136  +
    /// Creates a new builder-style object to manufacture [`AssociatedInstances`](crate::types::error::AssociatedInstances).
         137  +
    pub fn builder() -> crate::types::error::builders::AssociatedInstancesBuilder {
         138  +
        crate::types::error::builders::AssociatedInstancesBuilder::default()
         139  +
    }
         140  +
}
         141  +
         142  +
/// A builder for [`AssociatedInstances`](crate::types::error::AssociatedInstances).
         143  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         144  +
#[non_exhaustive]
         145  +
pub struct AssociatedInstancesBuilder {
         146  +
    pub(crate) message: ::std::option::Option<::std::string::String>,
         147  +
    meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
         148  +
}
         149  +
impl AssociatedInstancesBuilder {
         150  +
    #[allow(missing_docs)] // documentation missing in model
         151  +
    pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         152  +
        self.message = ::std::option::Option::Some(input.into());
         153  +
        self
         154  +
    }
         155  +
    #[allow(missing_docs)] // documentation missing in model
         156  +
    pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         157  +
        self.message = input;
         158  +
        self
         159  +
    }
         160  +
    #[allow(missing_docs)] // documentation missing in model
         161  +
    pub fn get_message(&self) -> &::std::option::Option<::std::string::String> {
         162  +
        &self.message
         163  +
    }
         164  +
    /// Sets error metadata
         165  +
    pub fn meta(mut self, meta: ::aws_smithy_types::error::ErrorMetadata) -> Self {
         166  +
        self.meta = Some(meta);
         167  +
        self
         168  +
    }
         169  +
         170  +
    /// Sets error metadata
         171  +
    pub fn set_meta(&mut self, meta: std::option::Option<::aws_smithy_types::error::ErrorMetadata>) -> &mut Self {
         172  +
        self.meta = meta;
         173  +
        self
         174  +
    }
         175  +
    /// Consumes the builder and constructs a [`AssociatedInstances`](crate::types::error::AssociatedInstances).
         176  +
    pub fn build(self) -> crate::types::error::AssociatedInstances {
         177  +
        crate::types::error::AssociatedInstances {
         178  +
            message: self.message,
         179  +
            meta: self.meta.unwrap_or_default(),
         180  +
        }
         181  +
    }
         182  +
}