aws-sdk-ssm 1.4.0 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2ed1c4e807dedc62a888b00b49660ef8b8a2c38
4
- data.tar.gz: b9d935e609fdc3ccf2f3384b0a90024290ff8e1c
3
+ metadata.gz: ae5e10696d0c15dcd365566cad15949389c9fc0e
4
+ data.tar.gz: 269e0a153647246ff2c64935c47d7f54db8ecbba
5
5
  SHA512:
6
- metadata.gz: 179867e1d18bb0bfd7098a7834494c2c4db20db8945c41c36dede0880a2325da17dbe924d57f0796d84311cf05500ddfc7ec069bd85b7a9a86fcda0019a83535
7
- data.tar.gz: 8282907867f37f5897126401a0044ad1aeaffd0e0abce695d0dea5854f014c364aafd2ceda30ecb6b2f7f801d18b2b79199ec589996d9c19ed4c8c9d77e2c960
6
+ metadata.gz: 26f8b402e54792b1a532d7069f32d75b65499709d4788f14cb5670f3d71946aa3d4aa0d4d97b2424a25ed38c5ae64045ec147eb8e99aaae02cd2841498b0b606
7
+ data.tar.gz: 8098f7f00bab9c8114a6d40721a1a9679849338f0717e5343d75bee5fa9b68aedaf431f43a4d00d32d9289be81eae00e6d1ff0dccf8a3053944c157f0797f7d9
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -538,7 +538,7 @@ module Aws::SSM
538
538
  # associate it with one or more running instances.
539
539
  #
540
540
  # @option params [required, String] :content
541
- # A valid JSON string.
541
+ # A valid JSON or YAML string.
542
542
  #
543
543
  # @option params [required, String] :name
544
544
  # A name for the Systems Manager document.
@@ -547,6 +547,23 @@ module Aws::SSM
547
547
  # The type of document to create. Valid document types include: Policy,
548
548
  # Automation, and Command.
549
549
  #
550
+ # @option params [String] :document_format
551
+ # Specify the document format for the request. The document format can
552
+ # be either JSON or YAML. JSON is the default format.
553
+ #
554
+ # @option params [String] :target_type
555
+ # Specify a target type to define the kinds of resources the document
556
+ # can run on. For example, to run a document on EC2 instances, specify
557
+ # the following value: /AWS::EC2::Instance. If you specify a value of
558
+ # '/' the document can run on all types of resources. If you don't
559
+ # specify a value, the document can't run on any resources. For a list
560
+ # of valid resource types, see [AWS Resource Types Reference][1] in the
561
+ # *AWS CloudFormation User Guide*.
562
+ #
563
+ #
564
+ #
565
+ # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
566
+ #
550
567
  # @return [Types::CreateDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
551
568
  #
552
569
  # * {Types::CreateDocumentResult#document_description #document_description} => Types::DocumentDescription
@@ -557,6 +574,8 @@ module Aws::SSM
557
574
  # content: "DocumentContent", # required
558
575
  # name: "DocumentName", # required
559
576
  # document_type: "Command", # accepts Command, Policy, Automation
577
+ # document_format: "YAML", # accepts YAML, JSON
578
+ # target_type: "TargetType",
560
579
  # })
561
580
  #
562
581
  # @example Response structure
@@ -581,6 +600,8 @@ module Aws::SSM
581
600
  # resp.document_description.schema_version #=> String
582
601
  # resp.document_description.latest_version #=> String
583
602
  # resp.document_description.default_version #=> String
603
+ # resp.document_description.document_format #=> String, one of "YAML", "JSON"
604
+ # resp.document_description.target_type #=> String
584
605
  # resp.document_description.tags #=> Array
585
606
  # resp.document_description.tags[0].key #=> String
586
607
  # resp.document_description.tags[0].value #=> String
@@ -1318,7 +1339,7 @@ module Aws::SSM
1318
1339
  # resp = client.describe_automation_executions({
1319
1340
  # filters: [
1320
1341
  # {
1321
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus
1342
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter
1322
1343
  # values: ["AutomationExecutionFilterValue"], # required
1323
1344
  # },
1324
1345
  # ],
@@ -1332,7 +1353,7 @@ module Aws::SSM
1332
1353
  # resp.automation_execution_metadata_list[0].automation_execution_id #=> String
1333
1354
  # resp.automation_execution_metadata_list[0].document_name #=> String
1334
1355
  # resp.automation_execution_metadata_list[0].document_version #=> String
1335
- # resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelled", "Failed"
1356
+ # resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
1336
1357
  # resp.automation_execution_metadata_list[0].execution_start_time #=> Time
1337
1358
  # resp.automation_execution_metadata_list[0].execution_end_time #=> Time
1338
1359
  # resp.automation_execution_metadata_list[0].executed_by #=> String
@@ -1340,6 +1361,22 @@ module Aws::SSM
1340
1361
  # resp.automation_execution_metadata_list[0].outputs #=> Hash
1341
1362
  # resp.automation_execution_metadata_list[0].outputs["AutomationParameterKey"] #=> Array
1342
1363
  # resp.automation_execution_metadata_list[0].outputs["AutomationParameterKey"][0] #=> String
1364
+ # resp.automation_execution_metadata_list[0].mode #=> String, one of "Auto", "Interactive"
1365
+ # resp.automation_execution_metadata_list[0].parent_automation_execution_id #=> String
1366
+ # resp.automation_execution_metadata_list[0].current_step_name #=> String
1367
+ # resp.automation_execution_metadata_list[0].current_action #=> String
1368
+ # resp.automation_execution_metadata_list[0].failure_message #=> String
1369
+ # resp.automation_execution_metadata_list[0].target_parameter_name #=> String
1370
+ # resp.automation_execution_metadata_list[0].targets #=> Array
1371
+ # resp.automation_execution_metadata_list[0].targets[0].key #=> String
1372
+ # resp.automation_execution_metadata_list[0].targets[0].values #=> Array
1373
+ # resp.automation_execution_metadata_list[0].targets[0].values[0] #=> String
1374
+ # resp.automation_execution_metadata_list[0].resolved_targets.parameter_values #=> Array
1375
+ # resp.automation_execution_metadata_list[0].resolved_targets.parameter_values[0] #=> String
1376
+ # resp.automation_execution_metadata_list[0].resolved_targets.truncated #=> Boolean
1377
+ # resp.automation_execution_metadata_list[0].max_concurrency #=> String
1378
+ # resp.automation_execution_metadata_list[0].max_errors #=> String
1379
+ # resp.automation_execution_metadata_list[0].target #=> String
1343
1380
  # resp.next_token #=> String
1344
1381
  #
1345
1382
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions AWS API Documentation
@@ -1351,6 +1388,89 @@ module Aws::SSM
1351
1388
  req.send_request(options)
1352
1389
  end
1353
1390
 
1391
+ # Information about all active and terminated step executions in an
1392
+ # Automation workflow.
1393
+ #
1394
+ # @option params [required, String] :automation_execution_id
1395
+ # The Automation execution ID for which you want step execution
1396
+ # descriptions.
1397
+ #
1398
+ # @option params [Array<Types::StepExecutionFilter>] :filters
1399
+ # One or more filters to limit the number of step executions returned by
1400
+ # the request.
1401
+ #
1402
+ # @option params [String] :next_token
1403
+ # The token for the next set of items to return. (You received this
1404
+ # token from a previous call.)
1405
+ #
1406
+ # @option params [Integer] :max_results
1407
+ # The maximum number of items to return for this call. The call also
1408
+ # returns a token that you can specify in a subsequent call to get the
1409
+ # next set of results.
1410
+ #
1411
+ # @option params [Boolean] :reverse_order
1412
+ # A boolean that indicates whether to list step executions in reverse
1413
+ # order by start time. The default value is false.
1414
+ #
1415
+ # @return [Types::DescribeAutomationStepExecutionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1416
+ #
1417
+ # * {Types::DescribeAutomationStepExecutionsResult#step_executions #step_executions} => Array&lt;Types::StepExecution&gt;
1418
+ # * {Types::DescribeAutomationStepExecutionsResult#next_token #next_token} => String
1419
+ #
1420
+ # @example Request syntax with placeholder values
1421
+ #
1422
+ # resp = client.describe_automation_step_executions({
1423
+ # automation_execution_id: "AutomationExecutionId", # required
1424
+ # filters: [
1425
+ # {
1426
+ # key: "StartTimeBefore", # required, accepts StartTimeBefore, StartTimeAfter, StepExecutionStatus, StepExecutionId, StepName, Action
1427
+ # values: ["StepExecutionFilterValue"], # required
1428
+ # },
1429
+ # ],
1430
+ # next_token: "NextToken",
1431
+ # max_results: 1,
1432
+ # reverse_order: false,
1433
+ # })
1434
+ #
1435
+ # @example Response structure
1436
+ #
1437
+ # resp.step_executions #=> Array
1438
+ # resp.step_executions[0].step_name #=> String
1439
+ # resp.step_executions[0].action #=> String
1440
+ # resp.step_executions[0].timeout_seconds #=> Integer
1441
+ # resp.step_executions[0].on_failure #=> String
1442
+ # resp.step_executions[0].max_attempts #=> Integer
1443
+ # resp.step_executions[0].execution_start_time #=> Time
1444
+ # resp.step_executions[0].execution_end_time #=> Time
1445
+ # resp.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
1446
+ # resp.step_executions[0].response_code #=> String
1447
+ # resp.step_executions[0].inputs #=> Hash
1448
+ # resp.step_executions[0].inputs["String"] #=> String
1449
+ # resp.step_executions[0].outputs #=> Hash
1450
+ # resp.step_executions[0].outputs["AutomationParameterKey"] #=> Array
1451
+ # resp.step_executions[0].outputs["AutomationParameterKey"][0] #=> String
1452
+ # resp.step_executions[0].response #=> String
1453
+ # resp.step_executions[0].failure_message #=> String
1454
+ # resp.step_executions[0].failure_details.failure_stage #=> String
1455
+ # resp.step_executions[0].failure_details.failure_type #=> String
1456
+ # resp.step_executions[0].failure_details.details #=> Hash
1457
+ # resp.step_executions[0].failure_details.details["AutomationParameterKey"] #=> Array
1458
+ # resp.step_executions[0].failure_details.details["AutomationParameterKey"][0] #=> String
1459
+ # resp.step_executions[0].step_execution_id #=> String
1460
+ # resp.step_executions[0].overridden_parameters #=> Hash
1461
+ # resp.step_executions[0].overridden_parameters["AutomationParameterKey"] #=> Array
1462
+ # resp.step_executions[0].overridden_parameters["AutomationParameterKey"][0] #=> String
1463
+ # resp.next_token #=> String
1464
+ #
1465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions AWS API Documentation
1466
+ #
1467
+ # @overload describe_automation_step_executions(params = {})
1468
+ # @param [Hash] params ({})
1469
+ def describe_automation_step_executions(params = {}, options = {})
1470
+ req = build_request(:describe_automation_step_executions, params)
1471
+ req.send_request(options)
1472
+ end
1473
+
1354
1474
  # Lists all patches that could possibly be included in a patch baseline.
1355
1475
  #
1356
1476
  # @option params [Array<Types::PatchOrchestratorFilter>] :filters
@@ -1450,6 +1570,8 @@ module Aws::SSM
1450
1570
  # resp.document.schema_version #=> String
1451
1571
  # resp.document.latest_version #=> String
1452
1572
  # resp.document.default_version #=> String
1573
+ # resp.document.document_format #=> String, one of "YAML", "JSON"
1574
+ # resp.document.target_type #=> String
1453
1575
  # resp.document.tags #=> Array
1454
1576
  # resp.document.tags[0].key #=> String
1455
1577
  # resp.document.tags[0].value #=> String
@@ -2550,13 +2672,16 @@ module Aws::SSM
2550
2672
  # resp.automation_execution.document_version #=> String
2551
2673
  # resp.automation_execution.execution_start_time #=> Time
2552
2674
  # resp.automation_execution.execution_end_time #=> Time
2553
- # resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelled", "Failed"
2675
+ # resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
2554
2676
  # resp.automation_execution.step_executions #=> Array
2555
2677
  # resp.automation_execution.step_executions[0].step_name #=> String
2556
2678
  # resp.automation_execution.step_executions[0].action #=> String
2679
+ # resp.automation_execution.step_executions[0].timeout_seconds #=> Integer
2680
+ # resp.automation_execution.step_executions[0].on_failure #=> String
2681
+ # resp.automation_execution.step_executions[0].max_attempts #=> Integer
2557
2682
  # resp.automation_execution.step_executions[0].execution_start_time #=> Time
2558
2683
  # resp.automation_execution.step_executions[0].execution_end_time #=> Time
2559
- # resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelled", "Failed"
2684
+ # resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
2560
2685
  # resp.automation_execution.step_executions[0].response_code #=> String
2561
2686
  # resp.automation_execution.step_executions[0].inputs #=> Hash
2562
2687
  # resp.automation_execution.step_executions[0].inputs["String"] #=> String
@@ -2570,6 +2695,11 @@ module Aws::SSM
2570
2695
  # resp.automation_execution.step_executions[0].failure_details.details #=> Hash
2571
2696
  # resp.automation_execution.step_executions[0].failure_details.details["AutomationParameterKey"] #=> Array
2572
2697
  # resp.automation_execution.step_executions[0].failure_details.details["AutomationParameterKey"][0] #=> String
2698
+ # resp.automation_execution.step_executions[0].step_execution_id #=> String
2699
+ # resp.automation_execution.step_executions[0].overridden_parameters #=> Hash
2700
+ # resp.automation_execution.step_executions[0].overridden_parameters["AutomationParameterKey"] #=> Array
2701
+ # resp.automation_execution.step_executions[0].overridden_parameters["AutomationParameterKey"][0] #=> String
2702
+ # resp.automation_execution.step_executions_truncated #=> Boolean
2573
2703
  # resp.automation_execution.parameters #=> Hash
2574
2704
  # resp.automation_execution.parameters["AutomationParameterKey"] #=> Array
2575
2705
  # resp.automation_execution.parameters["AutomationParameterKey"][0] #=> String
@@ -2577,6 +2707,22 @@ module Aws::SSM
2577
2707
  # resp.automation_execution.outputs["AutomationParameterKey"] #=> Array
2578
2708
  # resp.automation_execution.outputs["AutomationParameterKey"][0] #=> String
2579
2709
  # resp.automation_execution.failure_message #=> String
2710
+ # resp.automation_execution.mode #=> String, one of "Auto", "Interactive"
2711
+ # resp.automation_execution.parent_automation_execution_id #=> String
2712
+ # resp.automation_execution.executed_by #=> String
2713
+ # resp.automation_execution.current_step_name #=> String
2714
+ # resp.automation_execution.current_action #=> String
2715
+ # resp.automation_execution.target_parameter_name #=> String
2716
+ # resp.automation_execution.targets #=> Array
2717
+ # resp.automation_execution.targets[0].key #=> String
2718
+ # resp.automation_execution.targets[0].values #=> Array
2719
+ # resp.automation_execution.targets[0].values[0] #=> String
2720
+ # resp.automation_execution.resolved_targets.parameter_values #=> Array
2721
+ # resp.automation_execution.resolved_targets.parameter_values[0] #=> String
2722
+ # resp.automation_execution.resolved_targets.truncated #=> Boolean
2723
+ # resp.automation_execution.max_concurrency #=> String
2724
+ # resp.automation_execution.max_errors #=> String
2725
+ # resp.automation_execution.target #=> String
2580
2726
  #
2581
2727
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution AWS API Documentation
2582
2728
  #
@@ -2737,18 +2883,24 @@ module Aws::SSM
2737
2883
  # @option params [String] :document_version
2738
2884
  # The document version for which you want information.
2739
2885
  #
2886
+ # @option params [String] :document_format
2887
+ # Returns the document in the specified format. The document format can
2888
+ # be either JSON or YAML. JSON is the default format.
2889
+ #
2740
2890
  # @return [Types::GetDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2741
2891
  #
2742
2892
  # * {Types::GetDocumentResult#name #name} => String
2743
2893
  # * {Types::GetDocumentResult#document_version #document_version} => String
2744
2894
  # * {Types::GetDocumentResult#content #content} => String
2745
2895
  # * {Types::GetDocumentResult#document_type #document_type} => String
2896
+ # * {Types::GetDocumentResult#document_format #document_format} => String
2746
2897
  #
2747
2898
  # @example Request syntax with placeholder values
2748
2899
  #
2749
2900
  # resp = client.get_document({
2750
2901
  # name: "DocumentARN", # required
2751
2902
  # document_version: "DocumentVersion",
2903
+ # document_format: "YAML", # accepts YAML, JSON
2752
2904
  # })
2753
2905
  #
2754
2906
  # @example Response structure
@@ -2757,6 +2909,7 @@ module Aws::SSM
2757
2909
  # resp.document_version #=> String
2758
2910
  # resp.content #=> String
2759
2911
  # resp.document_type #=> String, one of "Command", "Policy", "Automation"
2912
+ # resp.document_format #=> String, one of "YAML", "JSON"
2760
2913
  #
2761
2914
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument AWS API Documentation
2762
2915
  #
@@ -3987,6 +4140,7 @@ module Aws::SSM
3987
4140
  # resp.document_versions[0].document_version #=> String
3988
4141
  # resp.document_versions[0].created_date #=> Time
3989
4142
  # resp.document_versions[0].is_default_version #=> Boolean
4143
+ # resp.document_versions[0].document_format #=> String, one of "YAML", "JSON"
3990
4144
  # resp.next_token #=> String
3991
4145
  #
3992
4146
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
@@ -4051,6 +4205,8 @@ module Aws::SSM
4051
4205
  # resp.document_identifiers[0].document_version #=> String
4052
4206
  # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation"
4053
4207
  # resp.document_identifiers[0].schema_version #=> String
4208
+ # resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON"
4209
+ # resp.document_identifiers[0].target_type #=> String
4054
4210
  # resp.document_identifiers[0].tags #=> Array
4055
4211
  # resp.document_identifiers[0].tags[0].key #=> String
4056
4212
  # resp.document_identifiers[0].tags[0].value #=> String
@@ -4837,7 +4993,7 @@ module Aws::SSM
4837
4993
  #
4838
4994
  # resp = client.send_automation_signal({
4839
4995
  # automation_execution_id: "AutomationExecutionId", # required
4840
- # signal_type: "Approve", # required, accepts Approve, Reject
4996
+ # signal_type: "Approve", # required, accepts Approve, Reject, StartStep, StopStep, Resume
4841
4997
  # payload: {
4842
4998
  # "AutomationParameterKey" => ["AutomationParameterValue"],
4843
4999
  # },
@@ -5040,6 +5196,41 @@ module Aws::SSM
5040
5196
  # User-provided idempotency token. The token must be unique, is case
5041
5197
  # insensitive, enforces the UUID format, and can't be reused.
5042
5198
  #
5199
+ # @option params [String] :mode
5200
+ # The execution mode of the automation. Valid modes include the
5201
+ # following: Auto and Interactive. The default mode is Auto.
5202
+ #
5203
+ # @option params [String] :target_parameter_name
5204
+ # The name of the parameter used as the target resource for the
5205
+ # rate-controlled execution. Required if you specify Targets.
5206
+ #
5207
+ # @option params [Array<Types::Target>] :targets
5208
+ # A key-value mapping to target resources. Required if you specify
5209
+ # TargetParameterName.
5210
+ #
5211
+ # @option params [String] :max_concurrency
5212
+ # The maximum number of targets allowed to run this task in parallel.
5213
+ # You can specify a number, such as 10, or a percentage, such as 10%.
5214
+ # The default value is 10.
5215
+ #
5216
+ # @option params [String] :max_errors
5217
+ # The number of errors that are allowed before the system stops running
5218
+ # the automation on additional targets. You can specify either an
5219
+ # absolute number of errors, for example 10, or a percentage of the
5220
+ # target set, for example 10%. If you specify 3, for example, the system
5221
+ # stops running the automation when the fourth error is received. If you
5222
+ # specify 0, then the system stops running the automation on additional
5223
+ # targets after the first error result is returned. If you run an
5224
+ # automation on 50 resources and set max-errors to 10%, then the system
5225
+ # stops running the automation on additional targets when the sixth
5226
+ # error is received.
5227
+ #
5228
+ # Executions that are already running an automation when max-errors is
5229
+ # reached are allowed to complete, but some of these executions may fail
5230
+ # as well. If you need to ensure that there won't be more than
5231
+ # max-errors failed executions, set max-concurrency to 1 so the
5232
+ # executions proceed one at a time.
5233
+ #
5043
5234
  # @return [Types::StartAutomationExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5044
5235
  #
5045
5236
  # * {Types::StartAutomationExecutionResult#automation_execution_id #automation_execution_id} => String
@@ -5053,6 +5244,16 @@ module Aws::SSM
5053
5244
  # "AutomationParameterKey" => ["AutomationParameterValue"],
5054
5245
  # },
5055
5246
  # client_token: "IdempotencyToken",
5247
+ # mode: "Auto", # accepts Auto, Interactive
5248
+ # target_parameter_name: "AutomationParameterKey",
5249
+ # targets: [
5250
+ # {
5251
+ # key: "TargetKey",
5252
+ # values: ["TargetValue"],
5253
+ # },
5254
+ # ],
5255
+ # max_concurrency: "MaxConcurrency",
5256
+ # max_errors: "MaxErrors",
5056
5257
  # })
5057
5258
  #
5058
5259
  # @example Response structure
@@ -5073,12 +5274,17 @@ module Aws::SSM
5073
5274
  # @option params [required, String] :automation_execution_id
5074
5275
  # The execution ID of the Automation to stop.
5075
5276
  #
5277
+ # @option params [String] :type
5278
+ # The stop request type. Valid types include the following: Cancel and
5279
+ # Complete. The default type is Cancel.
5280
+ #
5076
5281
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5077
5282
  #
5078
5283
  # @example Request syntax with placeholder values
5079
5284
  #
5080
5285
  # resp = client.stop_automation_execution({
5081
5286
  # automation_execution_id: "AutomationExecutionId", # required
5287
+ # type: "Complete", # accepts Complete, Cancel
5082
5288
  # })
5083
5289
  #
5084
5290
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution AWS API Documentation
@@ -5281,6 +5487,13 @@ module Aws::SSM
5281
5487
  # @option params [String] :document_version
5282
5488
  # The version of the document that you want to update.
5283
5489
  #
5490
+ # @option params [String] :document_format
5491
+ # Specify the document format for the new document version. Systems
5492
+ # Manager supports JSON and YAML documents. JSON is the default format.
5493
+ #
5494
+ # @option params [String] :target_type
5495
+ # Specify a new target type for the document.
5496
+ #
5284
5497
  # @return [Types::UpdateDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5285
5498
  #
5286
5499
  # * {Types::UpdateDocumentResult#document_description #document_description} => Types::DocumentDescription
@@ -5291,6 +5504,8 @@ module Aws::SSM
5291
5504
  # content: "DocumentContent", # required
5292
5505
  # name: "DocumentName", # required
5293
5506
  # document_version: "DocumentVersion",
5507
+ # document_format: "YAML", # accepts YAML, JSON
5508
+ # target_type: "TargetType",
5294
5509
  # })
5295
5510
  #
5296
5511
  # @example Response structure
@@ -5315,6 +5530,8 @@ module Aws::SSM
5315
5530
  # resp.document_description.schema_version #=> String
5316
5531
  # resp.document_description.latest_version #=> String
5317
5532
  # resp.document_description.default_version #=> String
5533
+ # resp.document_description.document_format #=> String, one of "YAML", "JSON"
5534
+ # resp.document_description.target_type #=> String
5318
5535
  # resp.document_description.tags #=> Array
5319
5536
  # resp.document_description.tags[0].key #=> String
5320
5537
  # resp.document_description.tags[0].value #=> String
@@ -5898,7 +6115,7 @@ module Aws::SSM
5898
6115
  params: params,
5899
6116
  config: config)
5900
6117
  context[:gem_name] = 'aws-sdk-ssm'
5901
- context[:gem_version] = '1.4.0'
6118
+ context[:gem_version] = '1.5.0'
5902
6119
  Seahorse::Client::Request.new(handlers, context)
5903
6120
  end
5904
6121
 
@@ -68,6 +68,7 @@ module Aws::SSM
68
68
  AutomationParameterMap = Shapes::MapShape.new(name: 'AutomationParameterMap')
69
69
  AutomationParameterValue = Shapes::StringShape.new(name: 'AutomationParameterValue')
70
70
  AutomationParameterValueList = Shapes::ListShape.new(name: 'AutomationParameterValueList')
71
+ AutomationStepNotFoundException = Shapes::StructureShape.new(name: 'AutomationStepNotFoundException')
71
72
  BaselineDescription = Shapes::StringShape.new(name: 'BaselineDescription')
72
73
  BaselineId = Shapes::StringShape.new(name: 'BaselineId')
73
74
  BaselineName = Shapes::StringShape.new(name: 'BaselineName')
@@ -179,6 +180,8 @@ module Aws::SSM
179
180
  DescribeAssociationResult = Shapes::StructureShape.new(name: 'DescribeAssociationResult')
180
181
  DescribeAutomationExecutionsRequest = Shapes::StructureShape.new(name: 'DescribeAutomationExecutionsRequest')
181
182
  DescribeAutomationExecutionsResult = Shapes::StructureShape.new(name: 'DescribeAutomationExecutionsResult')
183
+ DescribeAutomationStepExecutionsRequest = Shapes::StructureShape.new(name: 'DescribeAutomationStepExecutionsRequest')
184
+ DescribeAutomationStepExecutionsResult = Shapes::StructureShape.new(name: 'DescribeAutomationStepExecutionsResult')
182
185
  DescribeAvailablePatchesRequest = Shapes::StructureShape.new(name: 'DescribeAvailablePatchesRequest')
183
186
  DescribeAvailablePatchesResult = Shapes::StructureShape.new(name: 'DescribeAvailablePatchesResult')
184
187
  DescribeDocumentPermissionRequest = Shapes::StructureShape.new(name: 'DescribeDocumentPermissionRequest')
@@ -229,6 +232,7 @@ module Aws::SSM
229
232
  DocumentFilterKey = Shapes::StringShape.new(name: 'DocumentFilterKey')
230
233
  DocumentFilterList = Shapes::ListShape.new(name: 'DocumentFilterList')
231
234
  DocumentFilterValue = Shapes::StringShape.new(name: 'DocumentFilterValue')
235
+ DocumentFormat = Shapes::StringShape.new(name: 'DocumentFormat')
232
236
  DocumentHash = Shapes::StringShape.new(name: 'DocumentHash')
233
237
  DocumentHashType = Shapes::StringShape.new(name: 'DocumentHashType')
234
238
  DocumentIdentifier = Shapes::StructureShape.new(name: 'DocumentIdentifier')
@@ -265,6 +269,7 @@ module Aws::SSM
265
269
  EffectivePatch = Shapes::StructureShape.new(name: 'EffectivePatch')
266
270
  EffectivePatchList = Shapes::ListShape.new(name: 'EffectivePatchList')
267
271
  ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
272
+ ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
268
273
  ExpirationDate = Shapes::TimestampShape.new(name: 'ExpirationDate')
269
274
  FailedCreateAssociation = Shapes::StructureShape.new(name: 'FailedCreateAssociation')
270
275
  FailedCreateAssociationList = Shapes::ListShape.new(name: 'FailedCreateAssociationList')
@@ -355,6 +360,7 @@ module Aws::SSM
355
360
  InvalidAssociationVersion = Shapes::StructureShape.new(name: 'InvalidAssociationVersion')
356
361
  InvalidAutomationExecutionParametersException = Shapes::StructureShape.new(name: 'InvalidAutomationExecutionParametersException')
357
362
  InvalidAutomationSignalException = Shapes::StructureShape.new(name: 'InvalidAutomationSignalException')
363
+ InvalidAutomationStatusUpdateException = Shapes::StructureShape.new(name: 'InvalidAutomationStatusUpdateException')
358
364
  InvalidCommandId = Shapes::StructureShape.new(name: 'InvalidCommandId')
359
365
  InvalidDocument = Shapes::StructureShape.new(name: 'InvalidDocument')
360
366
  InvalidDocumentContent = Shapes::StructureShape.new(name: 'InvalidDocumentContent')
@@ -451,6 +457,7 @@ module Aws::SSM
451
457
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
452
458
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
453
459
  LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
460
+ Long = Shapes::IntegerShape.new(name: 'Long')
454
461
  MaintenanceWindowAllowUnassociatedTargets = Shapes::BooleanShape.new(name: 'MaintenanceWindowAllowUnassociatedTargets')
455
462
  MaintenanceWindowAutomationParameters = Shapes::StructureShape.new(name: 'MaintenanceWindowAutomationParameters')
456
463
  MaintenanceWindowCutoff = Shapes::IntegerShape.new(name: 'MaintenanceWindowCutoff')
@@ -632,6 +639,7 @@ module Aws::SSM
632
639
  RegistrationsCount = Shapes::IntegerShape.new(name: 'RegistrationsCount')
633
640
  RemoveTagsFromResourceRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceRequest')
634
641
  RemoveTagsFromResourceResult = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceResult')
642
+ ResolvedTargets = Shapes::StructureShape.new(name: 'ResolvedTargets')
635
643
  ResourceComplianceSummaryItem = Shapes::StructureShape.new(name: 'ResourceComplianceSummaryItem')
636
644
  ResourceComplianceSummaryItemList = Shapes::ListShape.new(name: 'ResourceComplianceSummaryItemList')
637
645
  ResourceDataSyncAWSKMSKeyARN = Shapes::StringShape.new(name: 'ResourceDataSyncAWSKMSKeyARN')
@@ -681,9 +689,15 @@ module Aws::SSM
681
689
  StatusName = Shapes::StringShape.new(name: 'StatusName')
682
690
  StatusUnchanged = Shapes::StructureShape.new(name: 'StatusUnchanged')
683
691
  StepExecution = Shapes::StructureShape.new(name: 'StepExecution')
692
+ StepExecutionFilter = Shapes::StructureShape.new(name: 'StepExecutionFilter')
693
+ StepExecutionFilterKey = Shapes::StringShape.new(name: 'StepExecutionFilterKey')
694
+ StepExecutionFilterList = Shapes::ListShape.new(name: 'StepExecutionFilterList')
695
+ StepExecutionFilterValue = Shapes::StringShape.new(name: 'StepExecutionFilterValue')
696
+ StepExecutionFilterValueList = Shapes::ListShape.new(name: 'StepExecutionFilterValueList')
684
697
  StepExecutionList = Shapes::ListShape.new(name: 'StepExecutionList')
685
698
  StopAutomationExecutionRequest = Shapes::StructureShape.new(name: 'StopAutomationExecutionRequest')
686
699
  StopAutomationExecutionResult = Shapes::StructureShape.new(name: 'StopAutomationExecutionResult')
700
+ StopType = Shapes::StringShape.new(name: 'StopType')
687
701
  String = Shapes::StringShape.new(name: 'String')
688
702
  StringDateTime = Shapes::StringShape.new(name: 'StringDateTime')
689
703
  StringList = Shapes::ListShape.new(name: 'StringList')
@@ -696,6 +710,8 @@ module Aws::SSM
696
710
  TargetCount = Shapes::IntegerShape.new(name: 'TargetCount')
697
711
  TargetInUseException = Shapes::StructureShape.new(name: 'TargetInUseException')
698
712
  TargetKey = Shapes::StringShape.new(name: 'TargetKey')
713
+ TargetParameterList = Shapes::ListShape.new(name: 'TargetParameterList')
714
+ TargetType = Shapes::StringShape.new(name: 'TargetType')
699
715
  TargetValue = Shapes::StringShape.new(name: 'TargetValue')
700
716
  TargetValues = Shapes::ListShape.new(name: 'TargetValues')
701
717
  Targets = Shapes::ListShape.new(name: 'Targets')
@@ -826,9 +842,21 @@ module Aws::SSM
826
842
  AutomationExecution.add_member(:execution_end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ExecutionEndTime"))
827
843
  AutomationExecution.add_member(:automation_execution_status, Shapes::ShapeRef.new(shape: AutomationExecutionStatus, location_name: "AutomationExecutionStatus"))
828
844
  AutomationExecution.add_member(:step_executions, Shapes::ShapeRef.new(shape: StepExecutionList, location_name: "StepExecutions"))
845
+ AutomationExecution.add_member(:step_executions_truncated, Shapes::ShapeRef.new(shape: Boolean, location_name: "StepExecutionsTruncated"))
829
846
  AutomationExecution.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
830
847
  AutomationExecution.add_member(:outputs, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Outputs"))
831
848
  AutomationExecution.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
849
+ AutomationExecution.add_member(:mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "Mode"))
850
+ AutomationExecution.add_member(:parent_automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "ParentAutomationExecutionId"))
851
+ AutomationExecution.add_member(:executed_by, Shapes::ShapeRef.new(shape: String, location_name: "ExecutedBy"))
852
+ AutomationExecution.add_member(:current_step_name, Shapes::ShapeRef.new(shape: String, location_name: "CurrentStepName"))
853
+ AutomationExecution.add_member(:current_action, Shapes::ShapeRef.new(shape: String, location_name: "CurrentAction"))
854
+ AutomationExecution.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
855
+ AutomationExecution.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
856
+ AutomationExecution.add_member(:resolved_targets, Shapes::ShapeRef.new(shape: ResolvedTargets, location_name: "ResolvedTargets"))
857
+ AutomationExecution.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
858
+ AutomationExecution.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
859
+ AutomationExecution.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "Target"))
832
860
  AutomationExecution.struct_class = Types::AutomationExecution
833
861
 
834
862
  AutomationExecutionFilter.add_member(:key, Shapes::ShapeRef.new(shape: AutomationExecutionFilterKey, required: true, location_name: "Key"))
@@ -848,6 +876,17 @@ module Aws::SSM
848
876
  AutomationExecutionMetadata.add_member(:executed_by, Shapes::ShapeRef.new(shape: String, location_name: "ExecutedBy"))
849
877
  AutomationExecutionMetadata.add_member(:log_file, Shapes::ShapeRef.new(shape: String, location_name: "LogFile"))
850
878
  AutomationExecutionMetadata.add_member(:outputs, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Outputs"))
879
+ AutomationExecutionMetadata.add_member(:mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "Mode"))
880
+ AutomationExecutionMetadata.add_member(:parent_automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "ParentAutomationExecutionId"))
881
+ AutomationExecutionMetadata.add_member(:current_step_name, Shapes::ShapeRef.new(shape: String, location_name: "CurrentStepName"))
882
+ AutomationExecutionMetadata.add_member(:current_action, Shapes::ShapeRef.new(shape: String, location_name: "CurrentAction"))
883
+ AutomationExecutionMetadata.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
884
+ AutomationExecutionMetadata.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
885
+ AutomationExecutionMetadata.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
886
+ AutomationExecutionMetadata.add_member(:resolved_targets, Shapes::ShapeRef.new(shape: ResolvedTargets, location_name: "ResolvedTargets"))
887
+ AutomationExecutionMetadata.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
888
+ AutomationExecutionMetadata.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
889
+ AutomationExecutionMetadata.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "Target"))
851
890
  AutomationExecutionMetadata.struct_class = Types::AutomationExecutionMetadata
852
891
 
853
892
  AutomationExecutionMetadataList.member = Shapes::ShapeRef.new(shape: AutomationExecutionMetadata)
@@ -1027,6 +1066,8 @@ module Aws::SSM
1027
1066
  CreateDocumentRequest.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, required: true, location_name: "Content"))
1028
1067
  CreateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
1029
1068
  CreateDocumentRequest.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1069
+ CreateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1070
+ CreateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
1030
1071
  CreateDocumentRequest.struct_class = Types::CreateDocumentRequest
1031
1072
 
1032
1073
  CreateDocumentResult.add_member(:document_description, Shapes::ShapeRef.new(shape: DocumentDescription, location_name: "DocumentDescription"))
@@ -1173,6 +1214,17 @@ module Aws::SSM
1173
1214
  DescribeAutomationExecutionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1174
1215
  DescribeAutomationExecutionsResult.struct_class = Types::DescribeAutomationExecutionsResult
1175
1216
 
1217
+ DescribeAutomationStepExecutionsRequest.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, required: true, location_name: "AutomationExecutionId"))
1218
+ DescribeAutomationStepExecutionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: StepExecutionFilterList, location_name: "Filters"))
1219
+ DescribeAutomationStepExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1220
+ DescribeAutomationStepExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
1221
+ DescribeAutomationStepExecutionsRequest.add_member(:reverse_order, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReverseOrder", metadata: {"box"=>true}))
1222
+ DescribeAutomationStepExecutionsRequest.struct_class = Types::DescribeAutomationStepExecutionsRequest
1223
+
1224
+ DescribeAutomationStepExecutionsResult.add_member(:step_executions, Shapes::ShapeRef.new(shape: StepExecutionList, location_name: "StepExecutions"))
1225
+ DescribeAutomationStepExecutionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1226
+ DescribeAutomationStepExecutionsResult.struct_class = Types::DescribeAutomationStepExecutionsResult
1227
+
1176
1228
  DescribeAvailablePatchesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: PatchOrchestratorFilterList, location_name: "Filters"))
1177
1229
  DescribeAvailablePatchesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PatchBaselineMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
1178
1230
  DescribeAvailablePatchesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -1380,6 +1432,8 @@ module Aws::SSM
1380
1432
  DocumentDescription.add_member(:schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, location_name: "SchemaVersion"))
1381
1433
  DocumentDescription.add_member(:latest_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "LatestVersion"))
1382
1434
  DocumentDescription.add_member(:default_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DefaultVersion"))
1435
+ DocumentDescription.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1436
+ DocumentDescription.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
1383
1437
  DocumentDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1384
1438
  DocumentDescription.struct_class = Types::DocumentDescription
1385
1439
 
@@ -1395,6 +1449,8 @@ module Aws::SSM
1395
1449
  DocumentIdentifier.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1396
1450
  DocumentIdentifier.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1397
1451
  DocumentIdentifier.add_member(:schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, location_name: "SchemaVersion"))
1452
+ DocumentIdentifier.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1453
+ DocumentIdentifier.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
1398
1454
  DocumentIdentifier.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1399
1455
  DocumentIdentifier.struct_class = Types::DocumentIdentifier
1400
1456
 
@@ -1420,6 +1476,7 @@ module Aws::SSM
1420
1476
  DocumentVersionInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1421
1477
  DocumentVersionInfo.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
1422
1478
  DocumentVersionInfo.add_member(:is_default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefaultVersion"))
1479
+ DocumentVersionInfo.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1423
1480
  DocumentVersionInfo.struct_class = Types::DocumentVersionInfo
1424
1481
 
1425
1482
  DocumentVersionList.member = Shapes::ShapeRef.new(shape: DocumentVersionInfo)
@@ -1489,12 +1546,14 @@ module Aws::SSM
1489
1546
 
1490
1547
  GetDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
1491
1548
  GetDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1549
+ GetDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1492
1550
  GetDocumentRequest.struct_class = Types::GetDocumentRequest
1493
1551
 
1494
1552
  GetDocumentResult.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
1495
1553
  GetDocumentResult.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1496
1554
  GetDocumentResult.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, location_name: "Content"))
1497
1555
  GetDocumentResult.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1556
+ GetDocumentResult.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1498
1557
  GetDocumentResult.struct_class = Types::GetDocumentResult
1499
1558
 
1500
1559
  GetInventoryRequest.add_member(:filters, Shapes::ShapeRef.new(shape: InventoryFilterList, location_name: "Filters"))
@@ -2326,6 +2385,10 @@ module Aws::SSM
2326
2385
 
2327
2386
  RemoveTagsFromResourceResult.struct_class = Types::RemoveTagsFromResourceResult
2328
2387
 
2388
+ ResolvedTargets.add_member(:parameter_values, Shapes::ShapeRef.new(shape: TargetParameterList, location_name: "ParameterValues"))
2389
+ ResolvedTargets.add_member(:truncated, Shapes::ShapeRef.new(shape: Boolean, location_name: "Truncated"))
2390
+ ResolvedTargets.struct_class = Types::ResolvedTargets
2391
+
2329
2392
  ResourceComplianceSummaryItem.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceTypeName, location_name: "ComplianceType"))
2330
2393
  ResourceComplianceSummaryItem.add_member(:resource_type, Shapes::ShapeRef.new(shape: ComplianceResourceType, location_name: "ResourceType"))
2331
2394
  ResourceComplianceSummaryItem.add_member(:resource_id, Shapes::ShapeRef.new(shape: ComplianceResourceId, location_name: "ResourceId"))
@@ -2407,6 +2470,11 @@ module Aws::SSM
2407
2470
  StartAutomationExecutionRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion", metadata: {"box"=>true}))
2408
2471
  StartAutomationExecutionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
2409
2472
  StartAutomationExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
2473
+ StartAutomationExecutionRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "Mode"))
2474
+ StartAutomationExecutionRequest.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
2475
+ StartAutomationExecutionRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
2476
+ StartAutomationExecutionRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
2477
+ StartAutomationExecutionRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
2410
2478
  StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
2411
2479
 
2412
2480
  StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -2414,6 +2482,9 @@ module Aws::SSM
2414
2482
 
2415
2483
  StepExecution.add_member(:step_name, Shapes::ShapeRef.new(shape: String, location_name: "StepName"))
2416
2484
  StepExecution.add_member(:action, Shapes::ShapeRef.new(shape: AutomationActionName, location_name: "Action"))
2485
+ StepExecution.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "TimeoutSeconds", metadata: {"box"=>true}))
2486
+ StepExecution.add_member(:on_failure, Shapes::ShapeRef.new(shape: String, location_name: "OnFailure"))
2487
+ StepExecution.add_member(:max_attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAttempts", metadata: {"box"=>true}))
2417
2488
  StepExecution.add_member(:execution_start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ExecutionStartTime"))
2418
2489
  StepExecution.add_member(:execution_end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ExecutionEndTime"))
2419
2490
  StepExecution.add_member(:step_status, Shapes::ShapeRef.new(shape: AutomationExecutionStatus, location_name: "StepStatus"))
@@ -2423,11 +2494,22 @@ module Aws::SSM
2423
2494
  StepExecution.add_member(:response, Shapes::ShapeRef.new(shape: String, location_name: "Response"))
2424
2495
  StepExecution.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
2425
2496
  StepExecution.add_member(:failure_details, Shapes::ShapeRef.new(shape: FailureDetails, location_name: "FailureDetails"))
2497
+ StepExecution.add_member(:step_execution_id, Shapes::ShapeRef.new(shape: String, location_name: "StepExecutionId"))
2498
+ StepExecution.add_member(:overridden_parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "OverriddenParameters"))
2426
2499
  StepExecution.struct_class = Types::StepExecution
2427
2500
 
2501
+ StepExecutionFilter.add_member(:key, Shapes::ShapeRef.new(shape: StepExecutionFilterKey, required: true, location_name: "Key"))
2502
+ StepExecutionFilter.add_member(:values, Shapes::ShapeRef.new(shape: StepExecutionFilterValueList, required: true, location_name: "Values"))
2503
+ StepExecutionFilter.struct_class = Types::StepExecutionFilter
2504
+
2505
+ StepExecutionFilterList.member = Shapes::ShapeRef.new(shape: StepExecutionFilter)
2506
+
2507
+ StepExecutionFilterValueList.member = Shapes::ShapeRef.new(shape: StepExecutionFilterValue)
2508
+
2428
2509
  StepExecutionList.member = Shapes::ShapeRef.new(shape: StepExecution)
2429
2510
 
2430
2511
  StopAutomationExecutionRequest.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, required: true, location_name: "AutomationExecutionId"))
2512
+ StopAutomationExecutionRequest.add_member(:type, Shapes::ShapeRef.new(shape: StopType, location_name: "Type"))
2431
2513
  StopAutomationExecutionRequest.struct_class = Types::StopAutomationExecutionRequest
2432
2514
 
2433
2515
  StopAutomationExecutionResult.struct_class = Types::StopAutomationExecutionResult
@@ -2444,6 +2526,8 @@ module Aws::SSM
2444
2526
  Target.add_member(:values, Shapes::ShapeRef.new(shape: TargetValues, location_name: "Values"))
2445
2527
  Target.struct_class = Types::Target
2446
2528
 
2529
+ TargetParameterList.member = Shapes::ShapeRef.new(shape: ParameterValue)
2530
+
2447
2531
  TargetValues.member = Shapes::ShapeRef.new(shape: TargetValue)
2448
2532
 
2449
2533
  Targets.member = Shapes::ShapeRef.new(shape: Target)
@@ -2480,6 +2564,8 @@ module Aws::SSM
2480
2564
  UpdateDocumentRequest.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, required: true, location_name: "Content"))
2481
2565
  UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
2482
2566
  UpdateDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
2567
+ UpdateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
2568
+ UpdateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
2483
2569
  UpdateDocumentRequest.struct_class = Types::UpdateDocumentRequest
2484
2570
 
2485
2571
  UpdateDocumentResult.add_member(:document_description, Shapes::ShapeRef.new(shape: DocumentDescription, location_name: "DocumentDescription"))
@@ -2879,10 +2965,25 @@ module Aws::SSM
2879
2965
  o.http_request_uri = "/"
2880
2966
  o.input = Shapes::ShapeRef.new(shape: DescribeAutomationExecutionsRequest)
2881
2967
  o.output = Shapes::ShapeRef.new(shape: DescribeAutomationExecutionsResult)
2968
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterKey)
2969
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterValue)
2882
2970
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
2883
2971
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2884
2972
  end)
2885
2973
 
2974
+ api.add_operation(:describe_automation_step_executions, Seahorse::Model::Operation.new.tap do |o|
2975
+ o.name = "DescribeAutomationStepExecutions"
2976
+ o.http_method = "POST"
2977
+ o.http_request_uri = "/"
2978
+ o.input = Shapes::ShapeRef.new(shape: DescribeAutomationStepExecutionsRequest)
2979
+ o.output = Shapes::ShapeRef.new(shape: DescribeAutomationStepExecutionsResult)
2980
+ o.errors << Shapes::ShapeRef.new(shape: AutomationExecutionNotFoundException)
2981
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
2982
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterKey)
2983
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFilterValue)
2984
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2985
+ end)
2986
+
2886
2987
  api.add_operation(:describe_available_patches, Seahorse::Model::Operation.new.tap do |o|
2887
2988
  o.name = "DescribeAvailablePatches"
2888
2989
  o.http_method = "POST"
@@ -3608,6 +3709,7 @@ module Aws::SSM
3608
3709
  o.input = Shapes::ShapeRef.new(shape: SendAutomationSignalRequest)
3609
3710
  o.output = Shapes::ShapeRef.new(shape: SendAutomationSignalResult)
3610
3711
  o.errors << Shapes::ShapeRef.new(shape: AutomationExecutionNotFoundException)
3712
+ o.errors << Shapes::ShapeRef.new(shape: AutomationStepNotFoundException)
3611
3713
  o.errors << Shapes::ShapeRef.new(shape: InvalidAutomationSignalException)
3612
3714
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3613
3715
  end)
@@ -3641,6 +3743,7 @@ module Aws::SSM
3641
3743
  o.errors << Shapes::ShapeRef.new(shape: AutomationExecutionLimitExceededException)
3642
3744
  o.errors << Shapes::ShapeRef.new(shape: AutomationDefinitionVersionNotFoundException)
3643
3745
  o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatch)
3746
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
3644
3747
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3645
3748
  end)
3646
3749
 
@@ -3651,6 +3754,7 @@ module Aws::SSM
3651
3754
  o.input = Shapes::ShapeRef.new(shape: StopAutomationExecutionRequest)
3652
3755
  o.output = Shapes::ShapeRef.new(shape: StopAutomationExecutionResult)
3653
3756
  o.errors << Shapes::ShapeRef.new(shape: AutomationExecutionNotFoundException)
3757
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutomationStatusUpdateException)
3654
3758
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3655
3759
  end)
3656
3760