aws-sdk-ssm 1.21.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 767e361e1f3f55cdf1d6f73da00d272c3ea95913
4
- data.tar.gz: ab62ecb9fda4a2adb527370050d1c86494cd1d11
3
+ metadata.gz: 2aada69a5bdcd4e76f747cc26b9204a56c73b49a
4
+ data.tar.gz: 159bf2df8be0e24ba22a208d4ab0e2dded3ebac7
5
5
  SHA512:
6
- metadata.gz: 546c9971755945f8c8d647faddae5195843beb267e802b1ab97bcb6974fdafb307e7a416d44abec29d1ff86009ed75c09ebffa4c715c3e459cf63a58039ba307
7
- data.tar.gz: 83354d1e5f09ac61fc8138b28f1844d82a26132f4c271aa0975bffb81de6a0f14ccdef1d26252857da5d5278e490cd20714cd126e8f8c4f92ac89e4933542b1a
6
+ metadata.gz: fed84bfec9c0d244a39e8872b84f4b179065ef245b065a3af619cfae385a2caf70366c33b3e97b910963af19b83d9dba4f720571b03beac35aa142f98ba79dd1
7
+ data.tar.gz: 5f6d3595d15a467f7945fbac6de3b515f1dd348ef6b6bd7b19041d78865bb2e15a42a1cc981bef9ad11c069c41505200e4d85344d10da1962c7af2a23b58b866
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -1669,6 +1669,10 @@ module Aws::SSM
1669
1669
  # resp.automation_execution_metadata_list[0].targets[0].key #=> String
1670
1670
  # resp.automation_execution_metadata_list[0].targets[0].values #=> Array
1671
1671
  # resp.automation_execution_metadata_list[0].targets[0].values[0] #=> String
1672
+ # resp.automation_execution_metadata_list[0].target_maps #=> Array
1673
+ # resp.automation_execution_metadata_list[0].target_maps[0] #=> Hash
1674
+ # resp.automation_execution_metadata_list[0].target_maps[0]["TargetMapKey"] #=> Array
1675
+ # resp.automation_execution_metadata_list[0].target_maps[0]["TargetMapKey"][0] #=> String
1672
1676
  # resp.automation_execution_metadata_list[0].resolved_targets.parameter_values #=> Array
1673
1677
  # resp.automation_execution_metadata_list[0].resolved_targets.parameter_values[0] #=> String
1674
1678
  # resp.automation_execution_metadata_list[0].resolved_targets.truncated #=> Boolean
@@ -3085,6 +3089,10 @@ module Aws::SSM
3085
3089
  # resp.automation_execution.targets[0].key #=> String
3086
3090
  # resp.automation_execution.targets[0].values #=> Array
3087
3091
  # resp.automation_execution.targets[0].values[0] #=> String
3092
+ # resp.automation_execution.target_maps #=> Array
3093
+ # resp.automation_execution.target_maps[0] #=> Hash
3094
+ # resp.automation_execution.target_maps[0]["TargetMapKey"] #=> Array
3095
+ # resp.automation_execution.target_maps[0]["TargetMapKey"][0] #=> String
3088
3096
  # resp.automation_execution.resolved_targets.parameter_values #=> Array
3089
3097
  # resp.automation_execution.resolved_targets.parameter_values[0] #=> String
3090
3098
  # resp.automation_execution.resolved_targets.truncated #=> Boolean
@@ -4319,7 +4327,7 @@ module Aws::SSM
4319
4327
  # next_token: "NextToken",
4320
4328
  # filters: [
4321
4329
  # {
4322
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
4330
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
4323
4331
  # value: "CommandFilterValue", # required
4324
4332
  # },
4325
4333
  # ],
@@ -4407,7 +4415,7 @@ module Aws::SSM
4407
4415
  # next_token: "NextToken",
4408
4416
  # filters: [
4409
4417
  # {
4410
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
4418
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
4411
4419
  # value: "CommandFilterValue", # required
4412
4420
  # },
4413
4421
  # ],
@@ -5422,7 +5430,23 @@ module Aws::SSM
5422
5430
  # The ARN of the task to execute
5423
5431
  #
5424
5432
  # @option params [String] :service_role_arn
5425
- # The role that should be assumed when executing the task.
5433
+ # The role to assume when running the Maintenance Window task.
5434
+ #
5435
+ # If you do not specify a service role ARN, Systems Manager will use
5436
+ # your account's service-linked role for Systems Manager by default. If
5437
+ # no service-linked role for Systems Manager exists in your account, it
5438
+ # will be created when you run `RegisterTaskWithMaintenanceWindow`
5439
+ # without specifying a service role ARN.
5440
+ #
5441
+ # For more information, see [Service-Linked Role Permissions for Systems
5442
+ # Manager][1] and [Should I Use a Service-Linked Role or a Custom
5443
+ # Service Role to Run Maintenance Window Tasks? ][2] in the *AWS Systems
5444
+ # Manager User Guide*.
5445
+ #
5446
+ #
5447
+ #
5448
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
5449
+ # [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
5426
5450
  #
5427
5451
  # @option params [required, String] :task_type
5428
5452
  # The type of task being registered.
@@ -5904,6 +5928,10 @@ module Aws::SSM
5904
5928
  # A key-value mapping to target resources. Required if you specify
5905
5929
  # TargetParameterName.
5906
5930
  #
5931
+ # @option params [Array<Hash>] :target_maps
5932
+ # A key-value mapping of document parameters to target resources. Both
5933
+ # Targets and TargetMaps cannot be specified together.
5934
+ #
5907
5935
  # @option params [String] :max_concurrency
5908
5936
  # The maximum number of targets allowed to run this task in parallel.
5909
5937
  # You can specify a number, such as 10, or a percentage, such as 10%.
@@ -5948,6 +5976,11 @@ module Aws::SSM
5948
5976
  # values: ["TargetValue"],
5949
5977
  # },
5950
5978
  # ],
5979
+ # target_maps: [
5980
+ # {
5981
+ # "TargetMapKey" => ["TargetMapValue"],
5982
+ # },
5983
+ # ],
5951
5984
  # max_concurrency: "MaxConcurrency",
5952
5985
  # max_errors: "MaxErrors",
5953
5986
  # })
@@ -6485,6 +6518,22 @@ module Aws::SSM
6485
6518
  # The IAM service role ARN to modify. The system assumes this role
6486
6519
  # during task execution.
6487
6520
  #
6521
+ # If you do not specify a service role ARN, Systems Manager will use
6522
+ # your account's service-linked role for Systems Manager by default. If
6523
+ # no service-linked role for Systems Manager exists in your account, it
6524
+ # will be created when you run `RegisterTaskWithMaintenanceWindow`
6525
+ # without specifying a service role ARN.
6526
+ #
6527
+ # For more information, see [Service-Linked Role Permissions for Systems
6528
+ # Manager][1] and [Should I Use a Service-Linked Role or a Custom
6529
+ # Service Role to Run Maintenance Window Tasks? ][2] in the *AWS Systems
6530
+ # Manager User Guide*.
6531
+ #
6532
+ #
6533
+ #
6534
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
6535
+ # [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
6536
+ #
6488
6537
  # @option params [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>] :task_parameters
6489
6538
  # The parameters to modify.
6490
6539
  #
@@ -6889,7 +6938,7 @@ module Aws::SSM
6889
6938
  params: params,
6890
6939
  config: config)
6891
6940
  context[:gem_name] = 'aws-sdk-ssm'
6892
- context[:gem_version] = '1.21.0'
6941
+ context[:gem_version] = '1.22.0'
6893
6942
  Seahorse::Client::Request.new(handlers, context)
6894
6943
  end
6895
6944
 
@@ -779,6 +779,11 @@ module Aws::SSM
779
779
  TargetCount = Shapes::IntegerShape.new(name: 'TargetCount')
780
780
  TargetInUseException = Shapes::StructureShape.new(name: 'TargetInUseException')
781
781
  TargetKey = Shapes::StringShape.new(name: 'TargetKey')
782
+ TargetMap = Shapes::MapShape.new(name: 'TargetMap')
783
+ TargetMapKey = Shapes::StringShape.new(name: 'TargetMapKey')
784
+ TargetMapValue = Shapes::StringShape.new(name: 'TargetMapValue')
785
+ TargetMapValueList = Shapes::ListShape.new(name: 'TargetMapValueList')
786
+ TargetMaps = Shapes::ListShape.new(name: 'TargetMaps')
782
787
  TargetParameterList = Shapes::ListShape.new(name: 'TargetParameterList')
783
788
  TargetType = Shapes::StringShape.new(name: 'TargetType')
784
789
  TargetValue = Shapes::StringShape.new(name: 'TargetValue')
@@ -965,6 +970,7 @@ module Aws::SSM
965
970
  AutomationExecution.add_member(:current_action, Shapes::ShapeRef.new(shape: String, location_name: "CurrentAction"))
966
971
  AutomationExecution.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
967
972
  AutomationExecution.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
973
+ AutomationExecution.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps"))
968
974
  AutomationExecution.add_member(:resolved_targets, Shapes::ShapeRef.new(shape: ResolvedTargets, location_name: "ResolvedTargets"))
969
975
  AutomationExecution.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
970
976
  AutomationExecution.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
@@ -995,6 +1001,7 @@ module Aws::SSM
995
1001
  AutomationExecutionMetadata.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
996
1002
  AutomationExecutionMetadata.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
997
1003
  AutomationExecutionMetadata.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
1004
+ AutomationExecutionMetadata.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps"))
998
1005
  AutomationExecutionMetadata.add_member(:resolved_targets, Shapes::ShapeRef.new(shape: ResolvedTargets, location_name: "ResolvedTargets"))
999
1006
  AutomationExecutionMetadata.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
1000
1007
  AutomationExecutionMetadata.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
@@ -2702,6 +2709,7 @@ module Aws::SSM
2702
2709
  StartAutomationExecutionRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "Mode"))
2703
2710
  StartAutomationExecutionRequest.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
2704
2711
  StartAutomationExecutionRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
2712
+ StartAutomationExecutionRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps"))
2705
2713
  StartAutomationExecutionRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
2706
2714
  StartAutomationExecutionRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
2707
2715
  StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
@@ -2759,6 +2767,13 @@ module Aws::SSM
2759
2767
  Target.add_member(:values, Shapes::ShapeRef.new(shape: TargetValues, location_name: "Values"))
2760
2768
  Target.struct_class = Types::Target
2761
2769
 
2770
+ TargetMap.key = Shapes::ShapeRef.new(shape: TargetMapKey)
2771
+ TargetMap.value = Shapes::ShapeRef.new(shape: TargetMapValueList)
2772
+
2773
+ TargetMapValueList.member = Shapes::ShapeRef.new(shape: TargetMapValue)
2774
+
2775
+ TargetMaps.member = Shapes::ShapeRef.new(shape: TargetMap)
2776
+
2762
2777
  TargetParameterList.member = Shapes::ShapeRef.new(shape: ParameterValue)
2763
2778
 
2764
2779
  TargetValues.member = Shapes::ShapeRef.new(shape: TargetValue)
@@ -689,6 +689,11 @@ module Aws::SSM
689
689
  # The specified targets.
690
690
  # @return [Array<Types::Target>]
691
691
  #
692
+ # @!attribute [rw] target_maps
693
+ # The specified key-value mapping of document parameters to target
694
+ # resources.
695
+ # @return [Array<Hash<String,Array<String>>>]
696
+ #
692
697
  # @!attribute [rw] resolved_targets
693
698
  # A list of resolved targets in the rate control execution.
694
699
  # @return [Types::ResolvedTargets]
@@ -728,6 +733,7 @@ module Aws::SSM
728
733
  :current_action,
729
734
  :target_parameter_name,
730
735
  :targets,
736
+ :target_maps,
731
737
  :resolved_targets,
732
738
  :max_concurrency,
733
739
  :max_errors,
@@ -833,6 +839,11 @@ module Aws::SSM
833
839
  # The targets defined by the user when starting the Automation.
834
840
  # @return [Array<Types::Target>]
835
841
  #
842
+ # @!attribute [rw] target_maps
843
+ # The specified key-value mapping of document parameters to target
844
+ # resources.
845
+ # @return [Array<Hash<String,Array<String>>>]
846
+ #
836
847
  # @!attribute [rw] resolved_targets
837
848
  # A list of targets that resolved during the execution.
838
849
  # @return [Types::ResolvedTargets]
@@ -870,6 +881,7 @@ module Aws::SSM
870
881
  :failure_message,
871
882
  :target_parameter_name,
872
883
  :targets,
884
+ :target_maps,
873
885
  :resolved_targets,
874
886
  :max_concurrency,
875
887
  :max_errors,
@@ -1146,7 +1158,7 @@ module Aws::SSM
1146
1158
  # data as a hash:
1147
1159
  #
1148
1160
  # {
1149
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
1161
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
1150
1162
  # value: "CommandFilterValue", # required
1151
1163
  # }
1152
1164
  #
@@ -1155,46 +1167,7 @@ module Aws::SSM
1155
1167
  # @return [String]
1156
1168
  #
1157
1169
  # @!attribute [rw] value
1158
- # The filter value. Valid values for each filter key are as follows:
1159
- #
1160
- # * **InvokedAfter**\: Specify a timestamp to limit your results. For
1161
- # example, specify `2018-07-07T00:00:00Z` to see a list of command
1162
- # executions occurring July 7, 2018, and later.
1163
- #
1164
- # * **InvokedBefore**\: Specify a timestamp to limit your results. For
1165
- # example, specify `2018-07-07T00:00:00Z` to see a list of command
1166
- # executions from before July 7, 2018.
1167
- #
1168
- # * **Status**\: Specify a valid command status to see a list of all
1169
- # command executions with that status. Status values you can specify
1170
- # include:
1171
- #
1172
- # * `Pending`
1173
- #
1174
- # * `InProgress`
1175
- #
1176
- # * `Success`
1177
- #
1178
- # * `Cancelled`
1179
- #
1180
- # * `Failed`
1181
- #
1182
- # * `TimedOut`
1183
- #
1184
- # * `Cancelling`
1185
- #
1186
- # * **DocumentName**\: Specify name of the SSM document for which you
1187
- # want to see command execution results. For example, specify
1188
- # `AWS-RunPatchBaseline` to see command executions that used this
1189
- # SSM document to perform security patching operations on instances.
1190
- #
1191
- # * **ExecutionStage**\: Specify one of the following values:
1192
- #
1193
- # * `Executing`\: Returns a list of command executions that are
1194
- # currently still running.
1195
- #
1196
- # * `Complete`\: Returns a list of command exeuctions that have
1197
- # already completed.
1170
+ # The filter value.
1198
1171
  # @return [String]
1199
1172
  #
1200
1173
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandFilter AWS API Documentation
@@ -7218,7 +7191,7 @@ module Aws::SSM
7218
7191
  # next_token: "NextToken",
7219
7192
  # filters: [
7220
7193
  # {
7221
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
7194
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
7222
7195
  # value: "CommandFilterValue", # required
7223
7196
  # },
7224
7197
  # ],
@@ -7293,7 +7266,7 @@ module Aws::SSM
7293
7266
  # next_token: "NextToken",
7294
7267
  # filters: [
7295
7268
  # {
7296
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
7269
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
7297
7270
  # value: "CommandFilterValue", # required
7298
7271
  # },
7299
7272
  # ],
@@ -10305,7 +10278,24 @@ module Aws::SSM
10305
10278
  # @return [String]
10306
10279
  #
10307
10280
  # @!attribute [rw] service_role_arn
10308
- # The role that should be assumed when executing the task.
10281
+ # The role to assume when running the Maintenance Window task.
10282
+ #
10283
+ # If you do not specify a service role ARN, Systems Manager will use
10284
+ # your account's service-linked role for Systems Manager by default.
10285
+ # If no service-linked role for Systems Manager exists in your
10286
+ # account, it will be created when you run
10287
+ # `RegisterTaskWithMaintenanceWindow` without specifying a service
10288
+ # role ARN.
10289
+ #
10290
+ # For more information, see [Service-Linked Role Permissions for
10291
+ # Systems Manager][1] and [Should I Use a Service-Linked Role or a
10292
+ # Custom Service Role to Run Maintenance Window Tasks? ][2] in the
10293
+ # *AWS Systems Manager User Guide*.
10294
+ #
10295
+ #
10296
+ #
10297
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
10298
+ # [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
10309
10299
  # @return [String]
10310
10300
  #
10311
10301
  # @!attribute [rw] task_type
@@ -11032,6 +11022,11 @@ module Aws::SSM
11032
11022
  # values: ["TargetValue"],
11033
11023
  # },
11034
11024
  # ],
11025
+ # target_maps: [
11026
+ # {
11027
+ # "TargetMapKey" => ["TargetMapValue"],
11028
+ # },
11029
+ # ],
11035
11030
  # max_concurrency: "MaxConcurrency",
11036
11031
  # max_errors: "MaxErrors",
11037
11032
  # }
@@ -11069,6 +11064,11 @@ module Aws::SSM
11069
11064
  # TargetParameterName.
11070
11065
  # @return [Array<Types::Target>]
11071
11066
  #
11067
+ # @!attribute [rw] target_maps
11068
+ # A key-value mapping of document parameters to target resources. Both
11069
+ # Targets and TargetMaps cannot be specified together.
11070
+ # @return [Array<Hash<String,Array<String>>>]
11071
+ #
11072
11072
  # @!attribute [rw] max_concurrency
11073
11073
  # The maximum number of targets allowed to run this task in parallel.
11074
11074
  # You can specify a number, such as 10, or a percentage, such as 10%.
@@ -11104,6 +11104,7 @@ module Aws::SSM
11104
11104
  :mode,
11105
11105
  :target_parameter_name,
11106
11106
  :targets,
11107
+ :target_maps,
11107
11108
  :max_concurrency,
11108
11109
  :max_errors)
11109
11110
  include Aws::Structure
@@ -11920,6 +11921,23 @@ module Aws::SSM
11920
11921
  # @!attribute [rw] service_role_arn
11921
11922
  # The IAM service role ARN to modify. The system assumes this role
11922
11923
  # during task execution.
11924
+ #
11925
+ # If you do not specify a service role ARN, Systems Manager will use
11926
+ # your account's service-linked role for Systems Manager by default.
11927
+ # If no service-linked role for Systems Manager exists in your
11928
+ # account, it will be created when you run
11929
+ # `RegisterTaskWithMaintenanceWindow` without specifying a service
11930
+ # role ARN.
11931
+ #
11932
+ # For more information, see [Service-Linked Role Permissions for
11933
+ # Systems Manager][1] and [Should I Use a Service-Linked Role or a
11934
+ # Custom Service Role to Run Maintenance Window Tasks? ][2] in the
11935
+ # *AWS Systems Manager User Guide*.
11936
+ #
11937
+ #
11938
+ #
11939
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
11940
+ # [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
11923
11941
  # @return [String]
11924
11942
  #
11925
11943
  # @!attribute [rw] task_parameters
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.21.0
4
+ version: 1.22.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-08-07 00:00:00.000000000 Z
11
+ date: 2018-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core