aws-sdk-ssm 1.191.0 → 1.193.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +149 -22
- data/lib/aws-sdk-ssm/client_api.rb +86 -0
- data/lib/aws-sdk-ssm/errors.rb +78 -0
- data/lib/aws-sdk-ssm/types.rb +277 -11
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +45 -6
- data/sig/errors.rbs +15 -0
- data/sig/types.rbs +71 -12
- metadata +2 -2
| @@ -14,6 +14,11 @@ module Aws::SSM | |
| 14 14 |  | 
| 15 15 | 
             
                include Seahorse::Model
         | 
| 16 16 |  | 
| 17 | 
            +
                AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
         | 
| 18 | 
            +
                AccessKeyIdType = Shapes::StringShape.new(name: 'AccessKeyIdType')
         | 
| 19 | 
            +
                AccessKeySecretType = Shapes::StringShape.new(name: 'AccessKeySecretType')
         | 
| 20 | 
            +
                AccessRequestId = Shapes::StringShape.new(name: 'AccessRequestId')
         | 
| 21 | 
            +
                AccessRequestStatus = Shapes::StringShape.new(name: 'AccessRequestStatus')
         | 
| 17 22 | 
             
                Account = Shapes::StringShape.new(name: 'Account')
         | 
| 18 23 | 
             
                AccountId = Shapes::StringShape.new(name: 'AccountId')
         | 
| 19 24 | 
             
                AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
         | 
| @@ -223,6 +228,7 @@ module Aws::SSM | |
| 223 228 | 
             
                CreateResourceDataSyncRequest = Shapes::StructureShape.new(name: 'CreateResourceDataSyncRequest')
         | 
| 224 229 | 
             
                CreateResourceDataSyncResult = Shapes::StructureShape.new(name: 'CreateResourceDataSyncResult')
         | 
| 225 230 | 
             
                CreatedDate = Shapes::TimestampShape.new(name: 'CreatedDate')
         | 
| 231 | 
            +
                Credentials = Shapes::StructureShape.new(name: 'Credentials')
         | 
| 226 232 | 
             
                CustomSchemaCountLimitExceededException = Shapes::StructureShape.new(name: 'CustomSchemaCountLimitExceededException')
         | 
| 227 233 | 
             
                DateTime = Shapes::TimestampShape.new(name: 'DateTime')
         | 
| 228 234 | 
             
                DefaultBaseline = Shapes::BooleanShape.new(name: 'DefaultBaseline')
         | 
| @@ -414,6 +420,8 @@ module Aws::SSM | |
| 414 420 | 
             
                FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
         | 
| 415 421 | 
             
                Fault = Shapes::StringShape.new(name: 'Fault')
         | 
| 416 422 | 
             
                FeatureNotAvailableException = Shapes::StructureShape.new(name: 'FeatureNotAvailableException')
         | 
| 423 | 
            +
                GetAccessTokenRequest = Shapes::StructureShape.new(name: 'GetAccessTokenRequest')
         | 
| 424 | 
            +
                GetAccessTokenResponse = Shapes::StructureShape.new(name: 'GetAccessTokenResponse')
         | 
| 417 425 | 
             
                GetAutomationExecutionRequest = Shapes::StructureShape.new(name: 'GetAutomationExecutionRequest')
         | 
| 418 426 | 
             
                GetAutomationExecutionResult = Shapes::StructureShape.new(name: 'GetAutomationExecutionResult')
         | 
| 419 427 | 
             
                GetCalendarStateRequest = Shapes::StructureShape.new(name: 'GetCalendarStateRequest')
         | 
| @@ -947,6 +955,7 @@ module Aws::SSM | |
| 947 955 | 
             
                PatchAdvisoryId = Shapes::StringShape.new(name: 'PatchAdvisoryId')
         | 
| 948 956 | 
             
                PatchAdvisoryIdList = Shapes::ListShape.new(name: 'PatchAdvisoryIdList')
         | 
| 949 957 | 
             
                PatchArch = Shapes::StringShape.new(name: 'PatchArch')
         | 
| 958 | 
            +
                PatchAvailableSecurityUpdateCount = Shapes::IntegerShape.new(name: 'PatchAvailableSecurityUpdateCount')
         | 
| 950 959 | 
             
                PatchBaselineIdentity = Shapes::StructureShape.new(name: 'PatchBaselineIdentity')
         | 
| 951 960 | 
             
                PatchBaselineIdentityList = Shapes::ListShape.new(name: 'PatchBaselineIdentityList')
         | 
| 952 961 | 
             
                PatchBaselineMaxResults = Shapes::IntegerShape.new(name: 'PatchBaselineMaxResults')
         | 
| @@ -961,6 +970,7 @@ module Aws::SSM | |
| 961 970 | 
             
                PatchComplianceDataState = Shapes::StringShape.new(name: 'PatchComplianceDataState')
         | 
| 962 971 | 
             
                PatchComplianceLevel = Shapes::StringShape.new(name: 'PatchComplianceLevel')
         | 
| 963 972 | 
             
                PatchComplianceMaxResults = Shapes::IntegerShape.new(name: 'PatchComplianceMaxResults')
         | 
| 973 | 
            +
                PatchComplianceStatus = Shapes::StringShape.new(name: 'PatchComplianceStatus')
         | 
| 964 974 | 
             
                PatchContentUrl = Shapes::StringShape.new(name: 'PatchContentUrl')
         | 
| 965 975 | 
             
                PatchCriticalNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchCriticalNonCompliantCount')
         | 
| 966 976 | 
             
                PatchDeploymentStatus = Shapes::StringShape.new(name: 'PatchDeploymentStatus')
         | 
| @@ -1143,6 +1153,7 @@ module Aws::SSM | |
| 1143 1153 | 
             
                SendAutomationSignalResult = Shapes::StructureShape.new(name: 'SendAutomationSignalResult')
         | 
| 1144 1154 | 
             
                SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
         | 
| 1145 1155 | 
             
                SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
         | 
| 1156 | 
            +
                ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
         | 
| 1146 1157 | 
             
                ServiceRole = Shapes::StringShape.new(name: 'ServiceRole')
         | 
| 1147 1158 | 
             
                ServiceSetting = Shapes::StructureShape.new(name: 'ServiceSetting')
         | 
| 1148 1159 | 
             
                ServiceSettingId = Shapes::StringShape.new(name: 'ServiceSettingId')
         | 
| @@ -1169,6 +1180,7 @@ module Aws::SSM | |
| 1169 1180 | 
             
                SessionState = Shapes::StringShape.new(name: 'SessionState')
         | 
| 1170 1181 | 
             
                SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
         | 
| 1171 1182 | 
             
                SessionTarget = Shapes::StringShape.new(name: 'SessionTarget')
         | 
| 1183 | 
            +
                SessionTokenType = Shapes::StringShape.new(name: 'SessionTokenType')
         | 
| 1172 1184 | 
             
                SeveritySummary = Shapes::StructureShape.new(name: 'SeveritySummary')
         | 
| 1173 1185 | 
             
                SharedDocumentVersion = Shapes::StringShape.new(name: 'SharedDocumentVersion')
         | 
| 1174 1186 | 
             
                SignalType = Shapes::StringShape.new(name: 'SignalType')
         | 
| @@ -1178,6 +1190,8 @@ module Aws::SSM | |
| 1178 1190 | 
             
                SourceType = Shapes::StringShape.new(name: 'SourceType')
         | 
| 1179 1191 | 
             
                StandardErrorContent = Shapes::StringShape.new(name: 'StandardErrorContent')
         | 
| 1180 1192 | 
             
                StandardOutputContent = Shapes::StringShape.new(name: 'StandardOutputContent')
         | 
| 1193 | 
            +
                StartAccessRequestRequest = Shapes::StructureShape.new(name: 'StartAccessRequestRequest')
         | 
| 1194 | 
            +
                StartAccessRequestResponse = Shapes::StructureShape.new(name: 'StartAccessRequestResponse')
         | 
| 1181 1195 | 
             
                StartAssociationsOnceRequest = Shapes::StructureShape.new(name: 'StartAssociationsOnceRequest')
         | 
| 1182 1196 | 
             
                StartAssociationsOnceResult = Shapes::StructureShape.new(name: 'StartAssociationsOnceResult')
         | 
| 1183 1197 | 
             
                StartAutomationExecutionRequest = Shapes::StructureShape.new(name: 'StartAutomationExecutionRequest')
         | 
| @@ -1206,6 +1220,7 @@ module Aws::SSM | |
| 1206 1220 | 
             
                StopType = Shapes::StringShape.new(name: 'StopType')
         | 
| 1207 1221 | 
             
                StreamUrl = Shapes::StringShape.new(name: 'StreamUrl')
         | 
| 1208 1222 | 
             
                String = Shapes::StringShape.new(name: 'String')
         | 
| 1223 | 
            +
                String1to256 = Shapes::StringShape.new(name: 'String1to256')
         | 
| 1209 1224 | 
             
                StringDateTime = Shapes::StringShape.new(name: 'StringDateTime')
         | 
| 1210 1225 | 
             
                StringList = Shapes::ListShape.new(name: 'StringList')
         | 
| 1211 1226 | 
             
                SubTypeCountLimitExceededException = Shapes::StructureShape.new(name: 'SubTypeCountLimitExceededException')
         | 
| @@ -1235,6 +1250,7 @@ module Aws::SSM | |
| 1235 1250 | 
             
                Targets = Shapes::ListShape.new(name: 'Targets')
         | 
| 1236 1251 | 
             
                TerminateSessionRequest = Shapes::StructureShape.new(name: 'TerminateSessionRequest')
         | 
| 1237 1252 | 
             
                TerminateSessionResponse = Shapes::StructureShape.new(name: 'TerminateSessionResponse')
         | 
| 1253 | 
            +
                ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
         | 
| 1238 1254 | 
             
                TimeoutSeconds = Shapes::IntegerShape.new(name: 'TimeoutSeconds')
         | 
| 1239 1255 | 
             
                TokenValue = Shapes::StringShape.new(name: 'TokenValue')
         | 
| 1240 1256 | 
             
                TooManyTagsError = Shapes::StructureShape.new(name: 'TooManyTagsError')
         | 
| @@ -1286,6 +1302,9 @@ module Aws::SSM | |
| 1286 1302 | 
             
                ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
         | 
| 1287 1303 | 
             
                Version = Shapes::StringShape.new(name: 'Version')
         | 
| 1288 1304 |  | 
| 1305 | 
            +
                AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
         | 
| 1306 | 
            +
                AccessDeniedException.struct_class = Types::AccessDeniedException
         | 
| 1307 | 
            +
             | 
| 1289 1308 | 
             
                AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
         | 
| 1290 1309 |  | 
| 1291 1310 | 
             
                AccountSharingInfo.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
         | 
| @@ -1644,6 +1663,7 @@ module Aws::SSM | |
| 1644 1663 | 
             
                BaselineOverride.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
         | 
| 1645 1664 | 
             
                BaselineOverride.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity"))
         | 
| 1646 1665 | 
             
                BaselineOverride.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
         | 
| 1666 | 
            +
                BaselineOverride.add_member(:available_security_updates_compliance_status, Shapes::ShapeRef.new(shape: PatchComplianceStatus, location_name: "AvailableSecurityUpdatesComplianceStatus"))
         | 
| 1647 1667 | 
             
                BaselineOverride.struct_class = Types::BaselineOverride
         | 
| 1648 1668 |  | 
| 1649 1669 | 
             
                CalendarNameOrARNList.member = Shapes::ShapeRef.new(shape: CalendarNameOrARN)
         | 
| @@ -1940,6 +1960,7 @@ module Aws::SSM | |
| 1940 1960 | 
             
                CreatePatchBaselineRequest.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
         | 
| 1941 1961 | 
             
                CreatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
         | 
| 1942 1962 | 
             
                CreatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
         | 
| 1963 | 
            +
                CreatePatchBaselineRequest.add_member(:available_security_updates_compliance_status, Shapes::ShapeRef.new(shape: PatchComplianceStatus, location_name: "AvailableSecurityUpdatesComplianceStatus"))
         | 
| 1943 1964 | 
             
                CreatePatchBaselineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
         | 
| 1944 1965 | 
             
                CreatePatchBaselineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
         | 
| 1945 1966 | 
             
                CreatePatchBaselineRequest.struct_class = Types::CreatePatchBaselineRequest
         | 
| @@ -1955,6 +1976,12 @@ module Aws::SSM | |
| 1955 1976 |  | 
| 1956 1977 | 
             
                CreateResourceDataSyncResult.struct_class = Types::CreateResourceDataSyncResult
         | 
| 1957 1978 |  | 
| 1979 | 
            +
                Credentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyIdType, required: true, location_name: "AccessKeyId"))
         | 
| 1980 | 
            +
                Credentials.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: AccessKeySecretType, required: true, location_name: "SecretAccessKey"))
         | 
| 1981 | 
            +
                Credentials.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionTokenType, required: true, location_name: "SessionToken"))
         | 
| 1982 | 
            +
                Credentials.add_member(:expiration_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "ExpirationTime"))
         | 
| 1983 | 
            +
                Credentials.struct_class = Types::Credentials
         | 
| 1984 | 
            +
             | 
| 1958 1985 | 
             
                CustomSchemaCountLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
         | 
| 1959 1986 | 
             
                CustomSchemaCountLimitExceededException.struct_class = Types::CustomSchemaCountLimitExceededException
         | 
| 1960 1987 |  | 
| @@ -2370,6 +2397,7 @@ module Aws::SSM | |
| 2370 2397 | 
             
                DescribePatchGroupStateResult.add_member(:instances_with_critical_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithCriticalNonCompliantPatches", metadata: {"box"=>true}))
         | 
| 2371 2398 | 
             
                DescribePatchGroupStateResult.add_member(:instances_with_security_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithSecurityNonCompliantPatches", metadata: {"box"=>true}))
         | 
| 2372 2399 | 
             
                DescribePatchGroupStateResult.add_member(:instances_with_other_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithOtherNonCompliantPatches", metadata: {"box"=>true}))
         | 
| 2400 | 
            +
                DescribePatchGroupStateResult.add_member(:instances_with_available_security_updates, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithAvailableSecurityUpdates", metadata: {"box"=>true}))
         | 
| 2373 2401 | 
             
                DescribePatchGroupStateResult.struct_class = Types::DescribePatchGroupStateResult
         | 
| 2374 2402 |  | 
| 2375 2403 | 
             
                DescribePatchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PatchBaselineMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
         | 
| @@ -2588,6 +2616,13 @@ module Aws::SSM | |
| 2588 2616 | 
             
                FeatureNotAvailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
         | 
| 2589 2617 | 
             
                FeatureNotAvailableException.struct_class = Types::FeatureNotAvailableException
         | 
| 2590 2618 |  | 
| 2619 | 
            +
                GetAccessTokenRequest.add_member(:access_request_id, Shapes::ShapeRef.new(shape: AccessRequestId, required: true, location_name: "AccessRequestId"))
         | 
| 2620 | 
            +
                GetAccessTokenRequest.struct_class = Types::GetAccessTokenRequest
         | 
| 2621 | 
            +
             | 
| 2622 | 
            +
                GetAccessTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
         | 
| 2623 | 
            +
                GetAccessTokenResponse.add_member(:access_request_status, Shapes::ShapeRef.new(shape: AccessRequestStatus, location_name: "AccessRequestStatus"))
         | 
| 2624 | 
            +
                GetAccessTokenResponse.struct_class = Types::GetAccessTokenResponse
         | 
| 2625 | 
            +
             | 
| 2591 2626 | 
             
                GetAutomationExecutionRequest.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, required: true, location_name: "AutomationExecutionId"))
         | 
| 2592 2627 | 
             
                GetAutomationExecutionRequest.struct_class = Types::GetAutomationExecutionRequest
         | 
| 2593 2628 |  | 
| @@ -2891,6 +2926,7 @@ module Aws::SSM | |
| 2891 2926 | 
             
                GetPatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
         | 
| 2892 2927 | 
             
                GetPatchBaselineResult.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
         | 
| 2893 2928 | 
             
                GetPatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
         | 
| 2929 | 
            +
                GetPatchBaselineResult.add_member(:available_security_updates_compliance_status, Shapes::ShapeRef.new(shape: PatchComplianceStatus, location_name: "AvailableSecurityUpdatesComplianceStatus"))
         | 
| 2894 2930 | 
             
                GetPatchBaselineResult.struct_class = Types::GetPatchBaselineResult
         | 
| 2895 2931 |  | 
| 2896 2932 | 
             
                GetResourcePoliciesRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
         | 
| @@ -3031,6 +3067,7 @@ module Aws::SSM | |
| 3031 3067 | 
             
                InstancePatchState.add_member(:failed_count, Shapes::ShapeRef.new(shape: PatchFailedCount, location_name: "FailedCount"))
         | 
| 3032 3068 | 
             
                InstancePatchState.add_member(:unreported_not_applicable_count, Shapes::ShapeRef.new(shape: PatchUnreportedNotApplicableCount, location_name: "UnreportedNotApplicableCount", metadata: {"box"=>true}))
         | 
| 3033 3069 | 
             
                InstancePatchState.add_member(:not_applicable_count, Shapes::ShapeRef.new(shape: PatchNotApplicableCount, location_name: "NotApplicableCount"))
         | 
| 3070 | 
            +
                InstancePatchState.add_member(:available_security_update_count, Shapes::ShapeRef.new(shape: PatchAvailableSecurityUpdateCount, location_name: "AvailableSecurityUpdateCount", metadata: {"box"=>true}))
         | 
| 3034 3071 | 
             
                InstancePatchState.add_member(:operation_start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "OperationStartTime"))
         | 
| 3035 3072 | 
             
                InstancePatchState.add_member(:operation_end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "OperationEndTime"))
         | 
| 3036 3073 | 
             
                InstancePatchState.add_member(:operation, Shapes::ShapeRef.new(shape: PatchOperationType, required: true, location_name: "Operation"))
         | 
| @@ -4541,6 +4578,13 @@ module Aws::SSM | |
| 4541 4578 | 
             
                SendCommandResult.add_member(:command, Shapes::ShapeRef.new(shape: Command, location_name: "Command"))
         | 
| 4542 4579 | 
             
                SendCommandResult.struct_class = Types::SendCommandResult
         | 
| 4543 4580 |  | 
| 4581 | 
            +
                ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
         | 
| 4582 | 
            +
                ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
         | 
| 4583 | 
            +
                ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
         | 
| 4584 | 
            +
                ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QuotaCode"))
         | 
| 4585 | 
            +
                ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
         | 
| 4586 | 
            +
                ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
         | 
| 4587 | 
            +
             | 
| 4544 4588 | 
             
                ServiceSetting.add_member(:setting_id, Shapes::ShapeRef.new(shape: ServiceSettingId, location_name: "SettingId"))
         | 
| 4545 4589 | 
             
                ServiceSetting.add_member(:setting_value, Shapes::ShapeRef.new(shape: ServiceSettingValue, location_name: "SettingValue"))
         | 
| 4546 4590 | 
             
                ServiceSetting.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
         | 
| @@ -4590,6 +4634,14 @@ module Aws::SSM | |
| 4590 4634 | 
             
                SeveritySummary.add_member(:unspecified_count, Shapes::ShapeRef.new(shape: ComplianceSummaryCount, location_name: "UnspecifiedCount"))
         | 
| 4591 4635 | 
             
                SeveritySummary.struct_class = Types::SeveritySummary
         | 
| 4592 4636 |  | 
| 4637 | 
            +
                StartAccessRequestRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String1to256, required: true, location_name: "Reason"))
         | 
| 4638 | 
            +
                StartAccessRequestRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, required: true, location_name: "Targets"))
         | 
| 4639 | 
            +
                StartAccessRequestRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
         | 
| 4640 | 
            +
                StartAccessRequestRequest.struct_class = Types::StartAccessRequestRequest
         | 
| 4641 | 
            +
             | 
| 4642 | 
            +
                StartAccessRequestResponse.add_member(:access_request_id, Shapes::ShapeRef.new(shape: AccessRequestId, location_name: "AccessRequestId"))
         | 
| 4643 | 
            +
                StartAccessRequestResponse.struct_class = Types::StartAccessRequestResponse
         | 
| 4644 | 
            +
             | 
| 4593 4645 | 
             
                StartAssociationsOnceRequest.add_member(:association_ids, Shapes::ShapeRef.new(shape: AssociationIdList, required: true, location_name: "AssociationIds"))
         | 
| 4594 4646 | 
             
                StartAssociationsOnceRequest.struct_class = Types::StartAssociationsOnceRequest
         | 
| 4595 4647 |  | 
| @@ -4757,6 +4809,11 @@ module Aws::SSM | |
| 4757 4809 | 
             
                TerminateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
         | 
| 4758 4810 | 
             
                TerminateSessionResponse.struct_class = Types::TerminateSessionResponse
         | 
| 4759 4811 |  | 
| 4812 | 
            +
                ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
         | 
| 4813 | 
            +
                ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "QuotaCode"))
         | 
| 4814 | 
            +
                ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "ServiceCode"))
         | 
| 4815 | 
            +
                ThrottlingException.struct_class = Types::ThrottlingException
         | 
| 4816 | 
            +
             | 
| 4760 4817 | 
             
                TooManyTagsError.struct_class = Types::TooManyTagsError
         | 
| 4761 4818 |  | 
| 4762 4819 | 
             
                TooManyUpdates.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
         | 
| @@ -4986,6 +5043,7 @@ module Aws::SSM | |
| 4986 5043 | 
             
                UpdatePatchBaselineRequest.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
         | 
| 4987 5044 | 
             
                UpdatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
         | 
| 4988 5045 | 
             
                UpdatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
         | 
| 5046 | 
            +
                UpdatePatchBaselineRequest.add_member(:available_security_updates_compliance_status, Shapes::ShapeRef.new(shape: PatchComplianceStatus, location_name: "AvailableSecurityUpdatesComplianceStatus"))
         | 
| 4989 5047 | 
             
                UpdatePatchBaselineRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace", metadata: {"box"=>true}))
         | 
| 4990 5048 | 
             
                UpdatePatchBaselineRequest.struct_class = Types::UpdatePatchBaselineRequest
         | 
| 4991 5049 |  | 
| @@ -5003,6 +5061,7 @@ module Aws::SSM | |
| 5003 5061 | 
             
                UpdatePatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
         | 
| 5004 5062 | 
             
                UpdatePatchBaselineResult.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
         | 
| 5005 5063 | 
             
                UpdatePatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
         | 
| 5064 | 
            +
                UpdatePatchBaselineResult.add_member(:available_security_updates_compliance_status, Shapes::ShapeRef.new(shape: PatchComplianceStatus, location_name: "AvailableSecurityUpdatesComplianceStatus"))
         | 
| 5006 5065 | 
             
                UpdatePatchBaselineResult.struct_class = Types::UpdatePatchBaselineResult
         | 
| 5007 5066 |  | 
| 5008 5067 | 
             
                UpdateResourceDataSyncRequest.add_member(:sync_name, Shapes::ShapeRef.new(shape: ResourceDataSyncName, required: true, location_name: "SyncName"))
         | 
| @@ -5939,6 +5998,19 @@ module Aws::SSM | |
| 5939 5998 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: OpsItemConflictException)
         | 
| 5940 5999 | 
             
                  end)
         | 
| 5941 6000 |  | 
| 6001 | 
            +
                  api.add_operation(:get_access_token, Seahorse::Model::Operation.new.tap do |o|
         | 
| 6002 | 
            +
                    o.name = "GetAccessToken"
         | 
| 6003 | 
            +
                    o.http_method = "POST"
         | 
| 6004 | 
            +
                    o.http_request_uri = "/"
         | 
| 6005 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: GetAccessTokenRequest)
         | 
| 6006 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: GetAccessTokenResponse)
         | 
| 6007 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 6008 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
         | 
| 6009 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         | 
| 6010 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
         | 
| 6011 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
         | 
| 6012 | 
            +
                  end)
         | 
| 6013 | 
            +
             | 
| 5942 6014 | 
             
                  api.add_operation(:get_automation_execution, Seahorse::Model::Operation.new.tap do |o|
         | 
| 5943 6015 | 
             
                    o.name = "GetAutomationExecution"
         | 
| 5944 6016 | 
             
                    o.http_method = "POST"
         | 
| @@ -6773,6 +6845,20 @@ module Aws::SSM | |
| 6773 6845 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InvalidNotificationConfig)
         | 
| 6774 6846 | 
             
                  end)
         | 
| 6775 6847 |  | 
| 6848 | 
            +
                  api.add_operation(:start_access_request, Seahorse::Model::Operation.new.tap do |o|
         | 
| 6849 | 
            +
                    o.name = "StartAccessRequest"
         | 
| 6850 | 
            +
                    o.http_method = "POST"
         | 
| 6851 | 
            +
                    o.http_request_uri = "/"
         | 
| 6852 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: StartAccessRequestRequest)
         | 
| 6853 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: StartAccessRequestResponse)
         | 
| 6854 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 6855 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
         | 
| 6856 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         | 
| 6857 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
         | 
| 6858 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
         | 
| 6859 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
         | 
| 6860 | 
            +
                  end)
         | 
| 6861 | 
            +
             | 
| 6776 6862 | 
             
                  api.add_operation(:start_associations_once, Seahorse::Model::Operation.new.tap do |o|
         | 
| 6777 6863 | 
             
                    o.name = "StartAssociationsOnce"
         | 
| 6778 6864 | 
             
                    o.http_method = "POST"
         | 
    
        data/lib/aws-sdk-ssm/errors.rb
    CHANGED
    
    | @@ -27,6 +27,7 @@ module Aws::SSM | |
| 27 27 | 
             
              # See {Seahorse::Client::RequestContext} for more information.
         | 
| 28 28 | 
             
              #
         | 
| 29 29 | 
             
              # ## Error Classes
         | 
| 30 | 
            +
              # * {AccessDeniedException}
         | 
| 30 31 | 
             
              # * {AlreadyExistsException}
         | 
| 31 32 | 
             
              # * {AssociatedInstances}
         | 
| 32 33 | 
             
              # * {AssociationAlreadyExists}
         | 
| @@ -145,11 +146,13 @@ module Aws::SSM | |
| 145 146 | 
             
              # * {ResourcePolicyInvalidParameterException}
         | 
| 146 147 | 
             
              # * {ResourcePolicyLimitExceededException}
         | 
| 147 148 | 
             
              # * {ResourcePolicyNotFoundException}
         | 
| 149 | 
            +
              # * {ServiceQuotaExceededException}
         | 
| 148 150 | 
             
              # * {ServiceSettingNotFound}
         | 
| 149 151 | 
             
              # * {StatusUnchanged}
         | 
| 150 152 | 
             
              # * {SubTypeCountLimitExceededException}
         | 
| 151 153 | 
             
              # * {TargetInUseException}
         | 
| 152 154 | 
             
              # * {TargetNotConnected}
         | 
| 155 | 
            +
              # * {ThrottlingException}
         | 
| 153 156 | 
             
              # * {TooManyTagsError}
         | 
| 154 157 | 
             
              # * {TooManyUpdates}
         | 
| 155 158 | 
             
              # * {TotalSizeLimitExceededException}
         | 
| @@ -169,6 +172,21 @@ module Aws::SSM | |
| 169 172 |  | 
| 170 173 | 
             
                extend Aws::Errors::DynamicErrors
         | 
| 171 174 |  | 
| 175 | 
            +
                class AccessDeniedException < ServiceError
         | 
| 176 | 
            +
             | 
| 177 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 178 | 
            +
                  # @param [String] message
         | 
| 179 | 
            +
                  # @param [Aws::SSM::Types::AccessDeniedException] data
         | 
| 180 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 181 | 
            +
                    super(context, message, data)
         | 
| 182 | 
            +
                  end
         | 
| 183 | 
            +
             | 
| 184 | 
            +
                  # @return [String]
         | 
| 185 | 
            +
                  def message
         | 
| 186 | 
            +
                    @message || @data[:message]
         | 
| 187 | 
            +
                  end
         | 
| 188 | 
            +
                end
         | 
| 189 | 
            +
             | 
| 172 190 | 
             
                class AlreadyExistsException < ServiceError
         | 
| 173 191 |  | 
| 174 192 | 
             
                  # @param [Seahorse::Client::RequestContext] context
         | 
| @@ -1954,6 +1972,41 @@ module Aws::SSM | |
| 1954 1972 | 
             
                  end
         | 
| 1955 1973 | 
             
                end
         | 
| 1956 1974 |  | 
| 1975 | 
            +
                class ServiceQuotaExceededException < ServiceError
         | 
| 1976 | 
            +
             | 
| 1977 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 1978 | 
            +
                  # @param [String] message
         | 
| 1979 | 
            +
                  # @param [Aws::SSM::Types::ServiceQuotaExceededException] data
         | 
| 1980 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 1981 | 
            +
                    super(context, message, data)
         | 
| 1982 | 
            +
                  end
         | 
| 1983 | 
            +
             | 
| 1984 | 
            +
                  # @return [String]
         | 
| 1985 | 
            +
                  def message
         | 
| 1986 | 
            +
                    @message || @data[:message]
         | 
| 1987 | 
            +
                  end
         | 
| 1988 | 
            +
             | 
| 1989 | 
            +
                  # @return [String]
         | 
| 1990 | 
            +
                  def resource_id
         | 
| 1991 | 
            +
                    @data[:resource_id]
         | 
| 1992 | 
            +
                  end
         | 
| 1993 | 
            +
             | 
| 1994 | 
            +
                  # @return [String]
         | 
| 1995 | 
            +
                  def resource_type
         | 
| 1996 | 
            +
                    @data[:resource_type]
         | 
| 1997 | 
            +
                  end
         | 
| 1998 | 
            +
             | 
| 1999 | 
            +
                  # @return [String]
         | 
| 2000 | 
            +
                  def quota_code
         | 
| 2001 | 
            +
                    @data[:quota_code]
         | 
| 2002 | 
            +
                  end
         | 
| 2003 | 
            +
             | 
| 2004 | 
            +
                  # @return [String]
         | 
| 2005 | 
            +
                  def service_code
         | 
| 2006 | 
            +
                    @data[:service_code]
         | 
| 2007 | 
            +
                  end
         | 
| 2008 | 
            +
                end
         | 
| 2009 | 
            +
             | 
| 1957 2010 | 
             
                class ServiceSettingNotFound < ServiceError
         | 
| 1958 2011 |  | 
| 1959 2012 | 
             
                  # @param [Seahorse::Client::RequestContext] context
         | 
| @@ -2024,6 +2077,31 @@ module Aws::SSM | |
| 2024 2077 | 
             
                  end
         | 
| 2025 2078 | 
             
                end
         | 
| 2026 2079 |  | 
| 2080 | 
            +
                class ThrottlingException < ServiceError
         | 
| 2081 | 
            +
             | 
| 2082 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 2083 | 
            +
                  # @param [String] message
         | 
| 2084 | 
            +
                  # @param [Aws::SSM::Types::ThrottlingException] data
         | 
| 2085 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 2086 | 
            +
                    super(context, message, data)
         | 
| 2087 | 
            +
                  end
         | 
| 2088 | 
            +
             | 
| 2089 | 
            +
                  # @return [String]
         | 
| 2090 | 
            +
                  def message
         | 
| 2091 | 
            +
                    @message || @data[:message]
         | 
| 2092 | 
            +
                  end
         | 
| 2093 | 
            +
             | 
| 2094 | 
            +
                  # @return [String]
         | 
| 2095 | 
            +
                  def quota_code
         | 
| 2096 | 
            +
                    @data[:quota_code]
         | 
| 2097 | 
            +
                  end
         | 
| 2098 | 
            +
             | 
| 2099 | 
            +
                  # @return [String]
         | 
| 2100 | 
            +
                  def service_code
         | 
| 2101 | 
            +
                    @data[:service_code]
         | 
| 2102 | 
            +
                  end
         | 
| 2103 | 
            +
                end
         | 
| 2104 | 
            +
             | 
| 2027 2105 | 
             
                class TooManyTagsError < ServiceError
         | 
| 2028 2106 |  | 
| 2029 2107 | 
             
                  # @param [Seahorse::Client::RequestContext] context
         |