aws-sdk-ssm 1.32.0 → 1.33.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: c65669835a9beb3b547b0e03358fc40f0206c7c0
4
- data.tar.gz: d928e50e80ac311c5b3ec86e804e92f67584688d
3
+ metadata.gz: 6753887aa2657140f2b80918e5ded2a751822c96
4
+ data.tar.gz: 50e209c28f6816a2fe7f5444c30bd32bcf0dbb3a
5
5
  SHA512:
6
- metadata.gz: e98cde0ccc29f0aad1ab3ad589adbd1b5a234b56c36400840de155a88cd92b4b71b74c2f810a1d5dd47d938a757b4c1fb2da934e047af7541de8ea7c4657b942
7
- data.tar.gz: e7772ed487cb57634d5bfafbdbc75fbb2a5e78dffc4fa330200867b69bfde6cd3bbe2d8ae31b52b7e05b5b9bdc2d07b6e9c6c6051b25d24b322ec1d19b14deba
6
+ metadata.gz: b5ef7af896c7c369c9342abd61b4c2addebf0a7d78d88588ec72e8acc0cb1ce96f5d77391acbe1838858261ef97ad686fa2b274432935c57215bf21170182f0a
7
+ data.tar.gz: b80859f035dcabfbcd3dfb70d3408a092116989527eec05bed004b00bfa7082e8ac50a1803fe460db1eb589247c7563fa7b262ea75cf11d720cab84a09ed1ec2
data/lib/aws-sdk-ssm.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.32.0'
45
+ GEM_VERSION = '1.33.0'
46
46
 
47
47
  end
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
15
  require 'aws-sdk-core/plugins/retry_errors.rb'
16
16
  require 'aws-sdk-core/plugins/global_configuration.rb'
17
17
  require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
18
19
  require 'aws-sdk-core/plugins/response_paging.rb'
19
20
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
21
  require 'aws-sdk-core/plugins/idempotency_token.rb'
@@ -45,6 +46,7 @@ module Aws::SSM
45
46
  add_plugin(Aws::Plugins::RetryErrors)
46
47
  add_plugin(Aws::Plugins::GlobalConfiguration)
47
48
  add_plugin(Aws::Plugins::RegionalEndpoint)
49
+ add_plugin(Aws::Plugins::EndpointDiscovery)
48
50
  add_plugin(Aws::Plugins::ResponsePaging)
49
51
  add_plugin(Aws::Plugins::StubResponses)
50
52
  add_plugin(Aws::Plugins::IdempotencyToken)
@@ -98,6 +100,10 @@ module Aws::SSM
98
100
  #
99
101
  # @option options [String] :access_key_id
100
102
  #
103
+ # @option options [Boolean] :active_endpoint_cache (false)
104
+ # When set to `true`, a thread polling for endpoints will be running in
105
+ # the background every 60 secs (default). Defaults to `false`.
106
+ #
101
107
  # @option options [Boolean] :client_side_monitoring (false)
102
108
  # When `true`, client-side metrics will be collected for all API requests from
103
109
  # this client.
@@ -123,6 +129,21 @@ module Aws::SSM
123
129
  # option. You should only configure an `:endpoint` when connecting
124
130
  # to test endpoints. This should be avalid HTTP(S) URI.
125
131
  #
132
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
133
+ # Used for the maximum size limit of the LRU cache storing endpoints data
134
+ # for endpoint discovery enabled operations. Defaults to 1000.
135
+ #
136
+ # @option options [Integer] :endpoint_cache_max_threads (10)
137
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
138
+ #
139
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
140
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
141
+ # Use this option to config the time interval in seconds for making
142
+ # requests fetching endpoints information. Defaults to 60 sec.
143
+ #
144
+ # @option options [Boolean] :endpoint_discovery (false)
145
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
146
+ #
126
147
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
148
  # The log formatter.
128
149
  #
@@ -409,7 +430,7 @@ module Aws::SSM
409
430
  # document and configures the instance as specified.
410
431
  #
411
432
  # If you associate a document with an instance that already has an
412
- # associated document, the system throws the AssociationAlreadyExists
433
+ # associated document, the system returns the AssociationAlreadyExists
413
434
  # exception.
414
435
  #
415
436
  # @option params [required, String] :name
@@ -556,7 +577,7 @@ module Aws::SSM
556
577
  # document and configures the instance as specified.
557
578
  #
558
579
  # If you associate a document with an instance that already has an
559
- # associated document, the system throws the AssociationAlreadyExists
580
+ # associated document, the system returns the AssociationAlreadyExists
560
581
  # exception.
561
582
  #
562
583
  # @option params [required, Array<Types::CreateAssociationBatchRequestEntry>] :entries
@@ -1780,7 +1801,7 @@ module Aws::SSM
1780
1801
  # resp = client.describe_automation_executions({
1781
1802
  # filters: [
1782
1803
  # {
1783
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter
1804
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType
1784
1805
  # values: ["AutomationExecutionFilterValue"], # required
1785
1806
  # },
1786
1807
  # ],
@@ -1822,6 +1843,7 @@ module Aws::SSM
1822
1843
  # resp.automation_execution_metadata_list[0].max_concurrency #=> String
1823
1844
  # resp.automation_execution_metadata_list[0].max_errors #=> String
1824
1845
  # resp.automation_execution_metadata_list[0].target #=> String
1846
+ # resp.automation_execution_metadata_list[0].automation_type #=> String, one of "CrossAccount", "Local"
1825
1847
  # resp.next_token #=> String
1826
1848
  #
1827
1849
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions AWS API Documentation
@@ -1910,6 +1932,17 @@ module Aws::SSM
1910
1932
  # resp.step_executions[0].is_critical #=> Boolean
1911
1933
  # resp.step_executions[0].valid_next_steps #=> Array
1912
1934
  # resp.step_executions[0].valid_next_steps[0] #=> String
1935
+ # resp.step_executions[0].targets #=> Array
1936
+ # resp.step_executions[0].targets[0].key #=> String
1937
+ # resp.step_executions[0].targets[0].values #=> Array
1938
+ # resp.step_executions[0].targets[0].values[0] #=> String
1939
+ # resp.step_executions[0].target_location.accounts #=> Array
1940
+ # resp.step_executions[0].target_location.accounts[0] #=> String
1941
+ # resp.step_executions[0].target_location.regions #=> Array
1942
+ # resp.step_executions[0].target_location.regions[0] #=> String
1943
+ # resp.step_executions[0].target_location.target_location_max_concurrency #=> String
1944
+ # resp.step_executions[0].target_location.target_location_max_errors #=> String
1945
+ # resp.step_executions[0].target_location.execution_role_name #=> String
1913
1946
  # resp.next_token #=> String
1914
1947
  #
1915
1948
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions AWS API Documentation
@@ -2972,7 +3005,8 @@ module Aws::SSM
2972
3005
  #
2973
3006
  # @option params [Array<Types::MaintenanceWindowFilter>] :filters
2974
3007
  # Optional filters used to narrow down the scope of the returned
2975
- # Maintenance Windows. Supported filter keys are Name and Enabled.
3008
+ # Maintenance Windows. Supported filter keys are **Name** and
3009
+ # **Enabled**.
2976
3010
  #
2977
3011
  # @option params [Integer] :max_results
2978
3012
  # The maximum number of items to return for this call. The call also
@@ -3419,6 +3453,17 @@ module Aws::SSM
3419
3453
  # resp.automation_execution.step_executions[0].is_critical #=> Boolean
3420
3454
  # resp.automation_execution.step_executions[0].valid_next_steps #=> Array
3421
3455
  # resp.automation_execution.step_executions[0].valid_next_steps[0] #=> String
3456
+ # resp.automation_execution.step_executions[0].targets #=> Array
3457
+ # resp.automation_execution.step_executions[0].targets[0].key #=> String
3458
+ # resp.automation_execution.step_executions[0].targets[0].values #=> Array
3459
+ # resp.automation_execution.step_executions[0].targets[0].values[0] #=> String
3460
+ # resp.automation_execution.step_executions[0].target_location.accounts #=> Array
3461
+ # resp.automation_execution.step_executions[0].target_location.accounts[0] #=> String
3462
+ # resp.automation_execution.step_executions[0].target_location.regions #=> Array
3463
+ # resp.automation_execution.step_executions[0].target_location.regions[0] #=> String
3464
+ # resp.automation_execution.step_executions[0].target_location.target_location_max_concurrency #=> String
3465
+ # resp.automation_execution.step_executions[0].target_location.target_location_max_errors #=> String
3466
+ # resp.automation_execution.step_executions[0].target_location.execution_role_name #=> String
3422
3467
  # resp.automation_execution.step_executions_truncated #=> Boolean
3423
3468
  # resp.automation_execution.parameters #=> Hash
3424
3469
  # resp.automation_execution.parameters["AutomationParameterKey"] #=> Array
@@ -3447,6 +3492,19 @@ module Aws::SSM
3447
3492
  # resp.automation_execution.max_concurrency #=> String
3448
3493
  # resp.automation_execution.max_errors #=> String
3449
3494
  # resp.automation_execution.target #=> String
3495
+ # resp.automation_execution.target_locations #=> Array
3496
+ # resp.automation_execution.target_locations[0].accounts #=> Array
3497
+ # resp.automation_execution.target_locations[0].accounts[0] #=> String
3498
+ # resp.automation_execution.target_locations[0].regions #=> Array
3499
+ # resp.automation_execution.target_locations[0].regions[0] #=> String
3500
+ # resp.automation_execution.target_locations[0].target_location_max_concurrency #=> String
3501
+ # resp.automation_execution.target_locations[0].target_location_max_errors #=> String
3502
+ # resp.automation_execution.target_locations[0].execution_role_name #=> String
3503
+ # resp.automation_execution.progress_counters.total_steps #=> Integer
3504
+ # resp.automation_execution.progress_counters.success_steps #=> Integer
3505
+ # resp.automation_execution.progress_counters.failed_steps #=> Integer
3506
+ # resp.automation_execution.progress_counters.cancelled_steps #=> Integer
3507
+ # resp.automation_execution.progress_counters.timed_out_steps #=> Integer
3450
3508
  #
3451
3509
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution AWS API Documentation
3452
3510
  #
@@ -6400,6 +6458,17 @@ module Aws::SSM
6400
6458
  # max-errors failed executions, set max-concurrency to 1 so the
6401
6459
  # executions proceed one at a time.
6402
6460
  #
6461
+ # @option params [Array<Types::TargetLocation>] :target_locations
6462
+ # A location is a combination of AWS Regions and/or AWS accounts where
6463
+ # you want to execute the Automation. Use this action to start an
6464
+ # Automation in multiple Regions and multiple accounts. For more
6465
+ # information, see [Concurrently Executing Automations in Multiple AWS
6466
+ # Regions and Accounts][1] in the *AWS Systems Manager User Guide*.
6467
+ #
6468
+ #
6469
+ #
6470
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
6471
+ #
6403
6472
  # @return [Types::StartAutomationExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6404
6473
  #
6405
6474
  # * {Types::StartAutomationExecutionResult#automation_execution_id #automation_execution_id} => String
@@ -6428,6 +6497,15 @@ module Aws::SSM
6428
6497
  # ],
6429
6498
  # max_concurrency: "MaxConcurrency",
6430
6499
  # max_errors: "MaxErrors",
6500
+ # target_locations: [
6501
+ # {
6502
+ # accounts: ["Account"],
6503
+ # regions: ["Region"],
6504
+ # target_location_max_concurrency: "MaxConcurrency",
6505
+ # target_location_max_errors: "MaxErrors",
6506
+ # execution_role_name: "ExecutionRoleName",
6507
+ # },
6508
+ # ],
6431
6509
  # })
6432
6510
  #
6433
6511
  # @example Response structure
@@ -7566,7 +7644,7 @@ module Aws::SSM
7566
7644
  params: params,
7567
7645
  config: config)
7568
7646
  context[:gem_name] = 'aws-sdk-ssm'
7569
- context[:gem_version] = '1.32.0'
7647
+ context[:gem_version] = '1.33.0'
7570
7648
  Seahorse::Client::Request.new(handlers, context)
7571
7649
  end
7572
7650
 
@@ -11,8 +11,10 @@ module Aws::SSM
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ Account = Shapes::StringShape.new(name: 'Account')
14
15
  AccountId = Shapes::StringShape.new(name: 'AccountId')
15
16
  AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
17
+ Accounts = Shapes::ListShape.new(name: 'Accounts')
16
18
  Activation = Shapes::StructureShape.new(name: 'Activation')
17
19
  ActivationCode = Shapes::StringShape.new(name: 'ActivationCode')
18
20
  ActivationDescription = Shapes::StringShape.new(name: 'ActivationDescription')
@@ -88,6 +90,7 @@ module Aws::SSM
88
90
  AutomationParameterValue = Shapes::StringShape.new(name: 'AutomationParameterValue')
89
91
  AutomationParameterValueList = Shapes::ListShape.new(name: 'AutomationParameterValueList')
90
92
  AutomationStepNotFoundException = Shapes::StructureShape.new(name: 'AutomationStepNotFoundException')
93
+ AutomationType = Shapes::StringShape.new(name: 'AutomationType')
91
94
  BaselineDescription = Shapes::StringShape.new(name: 'BaselineDescription')
92
95
  BaselineId = Shapes::StringShape.new(name: 'BaselineId')
93
96
  BaselineName = Shapes::StringShape.new(name: 'BaselineName')
@@ -311,6 +314,7 @@ module Aws::SSM
311
314
  EffectivePatchList = Shapes::ListShape.new(name: 'EffectivePatchList')
312
315
  ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
313
316
  ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
317
+ ExecutionRoleName = Shapes::StringShape.new(name: 'ExecutionRoleName')
314
318
  ExpirationDate = Shapes::TimestampShape.new(name: 'ExpirationDate')
315
319
  FailedCreateAssociation = Shapes::StructureShape.new(name: 'FailedCreateAssociation')
316
320
  FailedCreateAssociationList = Shapes::ListShape.new(name: 'FailedCreateAssociationList')
@@ -710,6 +714,7 @@ module Aws::SSM
710
714
  PlatformType = Shapes::StringShape.new(name: 'PlatformType')
711
715
  PlatformTypeList = Shapes::ListShape.new(name: 'PlatformTypeList')
712
716
  Product = Shapes::StringShape.new(name: 'Product')
717
+ ProgressCounters = Shapes::StructureShape.new(name: 'ProgressCounters')
713
718
  PutComplianceItemsRequest = Shapes::StructureShape.new(name: 'PutComplianceItemsRequest')
714
719
  PutComplianceItemsResult = Shapes::StructureShape.new(name: 'PutComplianceItemsResult')
715
720
  PutInventoryMessage = Shapes::StringShape.new(name: 'PutInventoryMessage')
@@ -717,6 +722,8 @@ module Aws::SSM
717
722
  PutInventoryResult = Shapes::StructureShape.new(name: 'PutInventoryResult')
718
723
  PutParameterRequest = Shapes::StructureShape.new(name: 'PutParameterRequest')
719
724
  PutParameterResult = Shapes::StructureShape.new(name: 'PutParameterResult')
725
+ Region = Shapes::StringShape.new(name: 'Region')
726
+ Regions = Shapes::ListShape.new(name: 'Regions')
720
727
  RegisterDefaultPatchBaselineRequest = Shapes::StructureShape.new(name: 'RegisterDefaultPatchBaselineRequest')
721
728
  RegisterDefaultPatchBaselineResult = Shapes::StructureShape.new(name: 'RegisterDefaultPatchBaselineResult')
722
729
  RegisterPatchBaselineForPatchGroupRequest = Shapes::StructureShape.new(name: 'RegisterPatchBaselineForPatchGroupRequest')
@@ -832,6 +839,8 @@ module Aws::SSM
832
839
  TargetCount = Shapes::IntegerShape.new(name: 'TargetCount')
833
840
  TargetInUseException = Shapes::StructureShape.new(name: 'TargetInUseException')
834
841
  TargetKey = Shapes::StringShape.new(name: 'TargetKey')
842
+ TargetLocation = Shapes::StructureShape.new(name: 'TargetLocation')
843
+ TargetLocations = Shapes::ListShape.new(name: 'TargetLocations')
835
844
  TargetMap = Shapes::MapShape.new(name: 'TargetMap')
836
845
  TargetMapKey = Shapes::StringShape.new(name: 'TargetMapKey')
837
846
  TargetMapValue = Shapes::StringShape.new(name: 'TargetMapValue')
@@ -881,6 +890,8 @@ module Aws::SSM
881
890
 
882
891
  AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
883
892
 
893
+ Accounts.member = Shapes::ShapeRef.new(shape: Account)
894
+
884
895
  Activation.add_member(:activation_id, Shapes::ShapeRef.new(shape: ActivationId, location_name: "ActivationId"))
885
896
  Activation.add_member(:description, Shapes::ShapeRef.new(shape: ActivationDescription, location_name: "Description"))
886
897
  Activation.add_member(:default_instance_name, Shapes::ShapeRef.new(shape: DefaultInstanceName, location_name: "DefaultInstanceName"))
@@ -1038,6 +1049,8 @@ module Aws::SSM
1038
1049
  AutomationExecution.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
1039
1050
  AutomationExecution.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
1040
1051
  AutomationExecution.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "Target"))
1052
+ AutomationExecution.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
1053
+ AutomationExecution.add_member(:progress_counters, Shapes::ShapeRef.new(shape: ProgressCounters, location_name: "ProgressCounters"))
1041
1054
  AutomationExecution.struct_class = Types::AutomationExecution
1042
1055
 
1043
1056
  AutomationExecutionFilter.add_member(:key, Shapes::ShapeRef.new(shape: AutomationExecutionFilterKey, required: true, location_name: "Key"))
@@ -1069,6 +1082,7 @@ module Aws::SSM
1069
1082
  AutomationExecutionMetadata.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
1070
1083
  AutomationExecutionMetadata.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
1071
1084
  AutomationExecutionMetadata.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "Target"))
1085
+ AutomationExecutionMetadata.add_member(:automation_type, Shapes::ShapeRef.new(shape: AutomationType, location_name: "AutomationType"))
1072
1086
  AutomationExecutionMetadata.struct_class = Types::AutomationExecutionMetadata
1073
1087
 
1074
1088
  AutomationExecutionMetadataList.member = Shapes::ShapeRef.new(shape: AutomationExecutionMetadata)
@@ -2676,6 +2690,13 @@ module Aws::SSM
2676
2690
 
2677
2691
  PlatformTypeList.member = Shapes::ShapeRef.new(shape: PlatformType)
2678
2692
 
2693
+ ProgressCounters.add_member(:total_steps, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalSteps"))
2694
+ ProgressCounters.add_member(:success_steps, Shapes::ShapeRef.new(shape: Integer, location_name: "SuccessSteps"))
2695
+ ProgressCounters.add_member(:failed_steps, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedSteps"))
2696
+ ProgressCounters.add_member(:cancelled_steps, Shapes::ShapeRef.new(shape: Integer, location_name: "CancelledSteps"))
2697
+ ProgressCounters.add_member(:timed_out_steps, Shapes::ShapeRef.new(shape: Integer, location_name: "TimedOutSteps"))
2698
+ ProgressCounters.struct_class = Types::ProgressCounters
2699
+
2679
2700
  PutComplianceItemsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ComplianceResourceId, required: true, location_name: "ResourceId"))
2680
2701
  PutComplianceItemsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ComplianceResourceType, required: true, location_name: "ResourceType"))
2681
2702
  PutComplianceItemsRequest.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceTypeName, required: true, location_name: "ComplianceType"))
@@ -2705,6 +2726,8 @@ module Aws::SSM
2705
2726
  PutParameterResult.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2706
2727
  PutParameterResult.struct_class = Types::PutParameterResult
2707
2728
 
2729
+ Regions.member = Shapes::ShapeRef.new(shape: Region)
2730
+
2708
2731
  RegisterDefaultPatchBaselineRequest.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, required: true, location_name: "BaselineId"))
2709
2732
  RegisterDefaultPatchBaselineRequest.struct_class = Types::RegisterDefaultPatchBaselineRequest
2710
2733
 
@@ -2899,6 +2922,7 @@ module Aws::SSM
2899
2922
  StartAutomationExecutionRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps"))
2900
2923
  StartAutomationExecutionRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
2901
2924
  StartAutomationExecutionRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
2925
+ StartAutomationExecutionRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
2902
2926
  StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
2903
2927
 
2904
2928
  StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -2934,6 +2958,8 @@ module Aws::SSM
2934
2958
  StepExecution.add_member(:next_step, Shapes::ShapeRef.new(shape: String, location_name: "NextStep", metadata: {"box"=>true}))
2935
2959
  StepExecution.add_member(:is_critical, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsCritical", metadata: {"box"=>true}))
2936
2960
  StepExecution.add_member(:valid_next_steps, Shapes::ShapeRef.new(shape: ValidNextStepList, location_name: "ValidNextSteps"))
2961
+ StepExecution.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets", metadata: {"box"=>true}))
2962
+ StepExecution.add_member(:target_location, Shapes::ShapeRef.new(shape: TargetLocation, location_name: "TargetLocation", metadata: {"box"=>true}))
2937
2963
  StepExecution.struct_class = Types::StepExecution
2938
2964
 
2939
2965
  StepExecutionFilter.add_member(:key, Shapes::ShapeRef.new(shape: StepExecutionFilterKey, required: true, location_name: "Key"))
@@ -2964,6 +2990,15 @@ module Aws::SSM
2964
2990
  Target.add_member(:values, Shapes::ShapeRef.new(shape: TargetValues, location_name: "Values"))
2965
2991
  Target.struct_class = Types::Target
2966
2992
 
2993
+ TargetLocation.add_member(:accounts, Shapes::ShapeRef.new(shape: Accounts, location_name: "Accounts"))
2994
+ TargetLocation.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "Regions"))
2995
+ TargetLocation.add_member(:target_location_max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "TargetLocationMaxConcurrency", metadata: {"box"=>true}))
2996
+ TargetLocation.add_member(:target_location_max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "TargetLocationMaxErrors", metadata: {"box"=>true}))
2997
+ TargetLocation.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName", metadata: {"box"=>true}))
2998
+ TargetLocation.struct_class = Types::TargetLocation
2999
+
3000
+ TargetLocations.member = Shapes::ShapeRef.new(shape: TargetLocation)
3001
+
2967
3002
  TargetMap.key = Shapes::ShapeRef.new(shape: TargetMapKey)
2968
3003
  TargetMap.value = Shapes::ShapeRef.new(shape: TargetMapValueList)
2969
3004
 
@@ -788,6 +788,16 @@ module Aws::SSM
788
788
  # The target of the execution.
789
789
  # @return [String]
790
790
  #
791
+ # @!attribute [rw] target_locations
792
+ # The combination of AWS Regions and/or AWS accounts where you want to
793
+ # execute the Automation.
794
+ # @return [Array<Types::TargetLocation>]
795
+ #
796
+ # @!attribute [rw] progress_counters
797
+ # An aggregate of step execution statuses displayed in the AWS Console
798
+ # for a multi-Region and multi-account Automation execution.
799
+ # @return [Types::ProgressCounters]
800
+ #
791
801
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution AWS API Documentation
792
802
  #
793
803
  class AutomationExecution < Struct.new(
@@ -813,7 +823,9 @@ module Aws::SSM
813
823
  :resolved_targets,
814
824
  :max_concurrency,
815
825
  :max_errors,
816
- :target)
826
+ :target,
827
+ :target_locations,
828
+ :progress_counters)
817
829
  include Aws::Structure
818
830
  end
819
831
 
@@ -824,7 +836,7 @@ module Aws::SSM
824
836
  # data as a hash:
825
837
  #
826
838
  # {
827
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter
839
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType
828
840
  # values: ["AutomationExecutionFilterValue"], # required
829
841
  # }
830
842
  #
@@ -938,6 +950,18 @@ module Aws::SSM
938
950
  # The list of execution outputs as defined in the Automation document.
939
951
  # @return [String]
940
952
  #
953
+ # @!attribute [rw] automation_type
954
+ # Use this filter with DescribeAutomationExecution. Specify either
955
+ # Local of CrossAccount. CrossAccount is an Automation that executes
956
+ # in multiple AWS Regions and accounts. For more information, see
957
+ # [Concurrently Executing Automations in Multiple AWS Regions and
958
+ # Accounts][1] in the *AWS Systems Manager User Guide*.
959
+ #
960
+ #
961
+ #
962
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
963
+ # @return [String]
964
+ #
941
965
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata AWS API Documentation
942
966
  #
943
967
  class AutomationExecutionMetadata < Struct.new(
@@ -961,7 +985,8 @@ module Aws::SSM
961
985
  :resolved_targets,
962
986
  :max_concurrency,
963
987
  :max_errors,
964
- :target)
988
+ :target,
989
+ :automation_type)
965
990
  include Aws::Structure
966
991
  end
967
992
 
@@ -1274,45 +1299,43 @@ module Aws::SSM
1274
1299
  # @!attribute [rw] value
1275
1300
  # The filter value. Valid values for each filter key are as follows:
1276
1301
  #
1277
- # * InvokedAfter: A timestamp to limit your results. For example,
1278
- # specify `2018-07-07T00:00:00Z` to see results occurring July 7,
1279
- # 2018, and later.
1302
+ # * **InvokedAfter**\: Specify a timestamp to limit your results. For
1303
+ # example, specify `2018-07-07T00:00:00Z` to see a list of command
1304
+ # executions occurring July 7, 2018, and later.
1280
1305
  #
1281
- # * InvokedBefore: A timestamp to limit your results. For example,
1282
- # specify `2018-07-07T00:00:00Z` to see results before July 7, 2018.
1306
+ # * **InvokedBefore**\: Specify a timestamp to limit your results. For
1307
+ # example, specify `2018-07-07T00:00:00Z` to see a list of command
1308
+ # executions from before July 7, 2018.
1283
1309
  #
1284
- # * Status: Specify a valid command status to see a list of all
1310
+ # * **Status**\: Specify a valid command status to see a list of all
1285
1311
  # command executions with that status. Status values you can specify
1286
1312
  # include:
1287
1313
  #
1288
- # * Pending
1314
+ # * `Pending`
1289
1315
  #
1290
- # * InProgress
1316
+ # * `InProgress`
1291
1317
  #
1292
- # * Success
1318
+ # * `Success`
1293
1319
  #
1294
- # * Cancelled
1295
- #
1296
- # * Failed
1320
+ # * `Cancelled`
1297
1321
  #
1298
- # * TimedOut
1322
+ # * `Failed`
1299
1323
  #
1300
- # * Cancelling
1324
+ # * `TimedOut`
1301
1325
  #
1302
- # * DocumentName: The name of the SSM document for which you want to
1303
- # see command results.
1326
+ # * `Cancelling`
1304
1327
  #
1305
- # For example, specify `AWS-RunPatchBaseline` to see command
1306
- # executions that used this SSM document to perform security
1307
- # patching operations on instances.
1328
+ # * **DocumentName**\: Specify name of the SSM document for which you
1329
+ # want to see command execution results. For example, specify
1330
+ # `AWS-RunPatchBaseline` to see command executions that used this
1331
+ # SSM document to perform security patching operations on instances.
1308
1332
  #
1309
- # * ExecutionStage: An enum whose value can be either `Executing` or
1310
- # `Complete`.
1333
+ # * **ExecutionStage**\: Specify one of the following values:
1311
1334
  #
1312
- # * Specify `Executing` to see a list of command executions that are
1335
+ # * `Executing`\: Returns a list of command executions that are
1313
1336
  # currently still running.
1314
1337
  #
1315
- # * Specify `Complete` to see a list of command exeuctions that have
1338
+ # * `Complete`\: Returns a list of command executions that have
1316
1339
  # already completed.
1317
1340
  # @return [String]
1318
1341
  #
@@ -1986,7 +2009,7 @@ module Aws::SSM
1986
2009
  include Aws::Structure
1987
2010
  end
1988
2011
 
1989
- # Describes the association of a Systems Manager document and an
2012
+ # Describes the association of a Systems Manager SSM document and an
1990
2013
  # instance.
1991
2014
  #
1992
2015
  # @note When making an API call, you may pass CreateAssociationBatchRequestEntry
@@ -3366,7 +3389,7 @@ module Aws::SSM
3366
3389
  # {
3367
3390
  # filters: [
3368
3391
  # {
3369
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter
3392
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType
3370
3393
  # values: ["AutomationExecutionFilterValue"], # required
3371
3394
  # },
3372
3395
  # ],
@@ -4574,7 +4597,8 @@ module Aws::SSM
4574
4597
  #
4575
4598
  # @!attribute [rw] filters
4576
4599
  # Optional filters used to narrow down the scope of the returned
4577
- # Maintenance Windows. Supported filter keys are Name and Enabled.
4600
+ # Maintenance Windows. Supported filter keys are **Name** and
4601
+ # **Enabled**.
4578
4602
  # @return [Array<Types::MaintenanceWindowFilter>]
4579
4603
  #
4580
4604
  # @!attribute [rw] max_results
@@ -9022,7 +9046,7 @@ module Aws::SSM
9022
9046
  #
9023
9047
  # @!attribute [rw] timeout_seconds
9024
9048
  # If this time is reached and the command has not already started
9025
- # executing, it doesn not execute.
9049
+ # executing, it doesn't run.
9026
9050
  # @return [Integer]
9027
9051
  #
9028
9052
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowRunCommandParameters AWS API Documentation
@@ -10531,6 +10555,46 @@ module Aws::SSM
10531
10555
  include Aws::Structure
10532
10556
  end
10533
10557
 
10558
+ # An aggregate of step execution statuses displayed in the AWS Console
10559
+ # for a multi-Region and multi-account Automation execution.
10560
+ #
10561
+ # @!attribute [rw] total_steps
10562
+ # The total number of steps executed in all specified AWS Regions and
10563
+ # accounts for the current Automation execution.
10564
+ # @return [Integer]
10565
+ #
10566
+ # @!attribute [rw] success_steps
10567
+ # The total number of steps that successfully completed in all
10568
+ # specified AWS Regions and accounts for the current Automation
10569
+ # execution.
10570
+ # @return [Integer]
10571
+ #
10572
+ # @!attribute [rw] failed_steps
10573
+ # The total number of steps that failed to execute in all specified
10574
+ # AWS Regions and accounts for the current Automation execution.
10575
+ # @return [Integer]
10576
+ #
10577
+ # @!attribute [rw] cancelled_steps
10578
+ # The total number of steps that the system cancelled in all specified
10579
+ # AWS Regions and accounts for the current Automation execution.
10580
+ # @return [Integer]
10581
+ #
10582
+ # @!attribute [rw] timed_out_steps
10583
+ # The total number of steps that timed out in all specified AWS
10584
+ # Regions and accounts for the current Automation execution.
10585
+ # @return [Integer]
10586
+ #
10587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ProgressCounters AWS API Documentation
10588
+ #
10589
+ class ProgressCounters < Struct.new(
10590
+ :total_steps,
10591
+ :success_steps,
10592
+ :failed_steps,
10593
+ :cancelled_steps,
10594
+ :timed_out_steps)
10595
+ include Aws::Structure
10596
+ end
10597
+
10534
10598
  # @note When making an API call, you may pass PutComplianceItemsRequest
10535
10599
  # data as a hash:
10536
10600
  #
@@ -12001,6 +12065,15 @@ module Aws::SSM
12001
12065
  # ],
12002
12066
  # max_concurrency: "MaxConcurrency",
12003
12067
  # max_errors: "MaxErrors",
12068
+ # target_locations: [
12069
+ # {
12070
+ # accounts: ["Account"],
12071
+ # regions: ["Region"],
12072
+ # target_location_max_concurrency: "MaxConcurrency",
12073
+ # target_location_max_errors: "MaxErrors",
12074
+ # execution_role_name: "ExecutionRoleName",
12075
+ # },
12076
+ # ],
12004
12077
  # }
12005
12078
  #
12006
12079
  # @!attribute [rw] document_name
@@ -12066,6 +12139,18 @@ module Aws::SSM
12066
12139
  # executions proceed one at a time.
12067
12140
  # @return [String]
12068
12141
  #
12142
+ # @!attribute [rw] target_locations
12143
+ # A location is a combination of AWS Regions and/or AWS accounts where
12144
+ # you want to execute the Automation. Use this action to start an
12145
+ # Automation in multiple Regions and multiple accounts. For more
12146
+ # information, see [Concurrently Executing Automations in Multiple AWS
12147
+ # Regions and Accounts][1] in the *AWS Systems Manager User Guide*.
12148
+ #
12149
+ #
12150
+ #
12151
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
12152
+ # @return [Array<Types::TargetLocation>]
12153
+ #
12069
12154
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest AWS API Documentation
12070
12155
  #
12071
12156
  class StartAutomationExecutionRequest < Struct.new(
@@ -12078,7 +12163,8 @@ module Aws::SSM
12078
12163
  :targets,
12079
12164
  :target_maps,
12080
12165
  :max_concurrency,
12081
- :max_errors)
12166
+ :max_errors,
12167
+ :target_locations)
12082
12168
  include Aws::Structure
12083
12169
  end
12084
12170
 
@@ -12263,6 +12349,15 @@ module Aws::SSM
12263
12349
  # support the automation to go to another specific step.
12264
12350
  # @return [Array<String>]
12265
12351
  #
12352
+ # @!attribute [rw] targets
12353
+ # The targets for the step execution.
12354
+ # @return [Array<Types::Target>]
12355
+ #
12356
+ # @!attribute [rw] target_location
12357
+ # The combination of AWS Regions and accounts targeted by the current
12358
+ # Automation execution.
12359
+ # @return [Types::TargetLocation]
12360
+ #
12266
12361
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecution AWS API Documentation
12267
12362
  #
12268
12363
  class StepExecution < Struct.new(
@@ -12285,7 +12380,9 @@ module Aws::SSM
12285
12380
  :is_end,
12286
12381
  :next_step,
12287
12382
  :is_critical,
12288
- :valid_next_steps)
12383
+ :valid_next_steps,
12384
+ :targets,
12385
+ :target_location)
12289
12386
  include Aws::Structure
12290
12387
  end
12291
12388
 
@@ -12423,6 +12520,55 @@ module Aws::SSM
12423
12520
  include Aws::Structure
12424
12521
  end
12425
12522
 
12523
+ # The combination of AWS Regions and accounts targeted by the current
12524
+ # Automation execution.
12525
+ #
12526
+ # @note When making an API call, you may pass TargetLocation
12527
+ # data as a hash:
12528
+ #
12529
+ # {
12530
+ # accounts: ["Account"],
12531
+ # regions: ["Region"],
12532
+ # target_location_max_concurrency: "MaxConcurrency",
12533
+ # target_location_max_errors: "MaxErrors",
12534
+ # execution_role_name: "ExecutionRoleName",
12535
+ # }
12536
+ #
12537
+ # @!attribute [rw] accounts
12538
+ # The AWS accounts targeted by the current Automation execution.
12539
+ # @return [Array<String>]
12540
+ #
12541
+ # @!attribute [rw] regions
12542
+ # The AWS Regions targeted by the current Automation execution.
12543
+ # @return [Array<String>]
12544
+ #
12545
+ # @!attribute [rw] target_location_max_concurrency
12546
+ # The maxium number of AWS accounts and AWS regions allowed to run the
12547
+ # Automation concurrently
12548
+ # @return [String]
12549
+ #
12550
+ # @!attribute [rw] target_location_max_errors
12551
+ # The maxium number of errors allowed before the system stops queueing
12552
+ # additional Automation executions for the currently executing
12553
+ # Automation.
12554
+ # @return [String]
12555
+ #
12556
+ # @!attribute [rw] execution_role_name
12557
+ # The Automation execution role used by the currently executing
12558
+ # Automation.
12559
+ # @return [String]
12560
+ #
12561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TargetLocation AWS API Documentation
12562
+ #
12563
+ class TargetLocation < Struct.new(
12564
+ :accounts,
12565
+ :regions,
12566
+ :target_location_max_concurrency,
12567
+ :target_location_max_errors,
12568
+ :execution_role_name)
12569
+ include Aws::Structure
12570
+ end
12571
+
12426
12572
  # @note When making an API call, you may pass TerminateSessionRequest
12427
12573
  # data as a hash:
12428
12574
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-26 00:00:00.000000000 Z
11
+ date: 2018-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.26.0
22
+ version: 3.37.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.26.0
32
+ version: 3.37.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement