aws-sdk-ssm 1.100.0 → 1.101.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
  SHA256:
3
- metadata.gz: 93e73b8a694febf8c6e952fc85b110882e60c2bc1fe071539af701ebe15facf2
4
- data.tar.gz: ad7a20e4c9faabd84ed9f2784d4bef9429003c26898ed6420640e9f291b47baa
3
+ metadata.gz: e292c9122019973744a4fa0856a0600224a4da16d3dc8cfc22596ceab5a69e40
4
+ data.tar.gz: 7aa34e0fb5d9e7a0381d38eb14dd817c29c6b77fbfd9ee1e0305f519eaaf451d
5
5
  SHA512:
6
- metadata.gz: 7ff60f4c22619b371c04c924f3ce45498eacb765f5d29b65de780eb09d6325d45aacf7f64a776e87f67a4a2f7f1d52ecf99e985e021f4fc47bdd844ab0a2c768
7
- data.tar.gz: 7dd2d933e43aab62907b24bf8679ae96a26db4f860727f561976211687c7310d1e692c672138ccb3fb1e5db6698cedd5e2dfeb926b35cdfcaaf694e44f44da3f
6
+ metadata.gz: 12e4709796c0f57c99f5d5e04a71e9f0dc1af6c5a318b5501b241c9ce994c599e22d97f8760393f305c68fcf1bc46898c24e1c86a2437f3eff4aff6b2b0793cf
7
+ data.tar.gz: 4bb872ab8dd90306105e666df7a852a2e039c4f68ce0195c7a9186688a7c919c0655f2b5ef3f35ab32b23389f6be1022ffd1e196cdef1291ca511a55b36e7283
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.100.0'
52
+ GEM_VERSION = '1.101.0'
53
53
 
54
54
  end
@@ -3845,6 +3845,14 @@ module Aws::SSM
3845
3845
 
3846
3846
  # Lists the tasks in a maintenance window.
3847
3847
  #
3848
+ # <note markdown="1"> For maintenance window tasks without a specified target, you cannot
3849
+ # supply values for `--max-errors` and `--max-concurrency`. Instead, the
3850
+ # system inserts a placeholder value of `1`, which may be reported in
3851
+ # the response to this command. These values do not affect the running
3852
+ # of your task and can be ignored.
3853
+ #
3854
+ # </note>
3855
+ #
3848
3856
  # @option params [required, String] :window_id
3849
3857
  # The ID of the maintenance window whose tasks should be retrieved.
3850
3858
  #
@@ -5435,6 +5443,14 @@ module Aws::SSM
5435
5443
 
5436
5444
  # Lists the tasks in a maintenance window.
5437
5445
  #
5446
+ # <note markdown="1"> For maintenance window tasks without a specified target, you cannot
5447
+ # supply values for `--max-errors` and `--max-concurrency`. Instead, the
5448
+ # system inserts a placeholder value of `1`, which may be reported in
5449
+ # the response to this command. These values do not affect the running
5450
+ # of your task and can be ignored.
5451
+ #
5452
+ # </note>
5453
+ #
5438
5454
  # @option params [required, String] :window_id
5439
5455
  # The maintenance window ID that includes the task to retrieve.
5440
5456
  #
@@ -7958,9 +7974,18 @@ module Aws::SSM
7958
7974
  # @option params [required, String] :window_id
7959
7975
  # The ID of the maintenance window the task should be added to.
7960
7976
  #
7961
- # @option params [required, Array<Types::Target>] :targets
7977
+ # @option params [Array<Types::Target>] :targets
7962
7978
  # The targets (either instances or maintenance window targets).
7963
7979
  #
7980
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
7981
+ # Command-type tasks. Depending on the task, targets are optional for
7982
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
7983
+ # Step Functions). For more information about running tasks that do not
7984
+ # specify targets, see see [Registering maintenance window tasks without
7985
+ # targets][1] in the *AWS Systems Manager User Guide*.
7986
+ #
7987
+ # </note>
7988
+ #
7964
7989
  # Specify instances using the following format:
7965
7990
  #
7966
7991
  # `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
@@ -7969,6 +7994,10 @@ module Aws::SSM
7969
7994
  #
7970
7995
  # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
7971
7996
  #
7997
+ #
7998
+ #
7999
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
8000
+ #
7972
8001
  # @option params [required, String] :task_arn
7973
8002
  # The ARN of the task to run.
7974
8003
  #
@@ -8017,13 +8046,27 @@ module Aws::SSM
8017
8046
  # scheduled in priority order with tasks that have the same priority
8018
8047
  # scheduled in parallel.
8019
8048
  #
8020
- # @option params [required, String] :max_concurrency
8049
+ # @option params [String] :max_concurrency
8021
8050
  # The maximum number of targets this task can be run for in parallel.
8022
8051
  #
8023
- # @option params [required, String] :max_errors
8052
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8053
+ # supply a value for this option. Instead, the system inserts a
8054
+ # placeholder value of `1`. This value does not affect the running of
8055
+ # your task.
8056
+ #
8057
+ # </note>
8058
+ #
8059
+ # @option params [String] :max_errors
8024
8060
  # The maximum number of errors allowed before this task stops being
8025
8061
  # scheduled.
8026
8062
  #
8063
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8064
+ # supply a value for this option. Instead, the system inserts a
8065
+ # placeholder value of `1`. This value does not affect the running of
8066
+ # your task.
8067
+ #
8068
+ # </note>
8069
+ #
8027
8070
  # @option params [Types::LoggingInfo] :logging_info
8028
8071
  # A structure containing information about an S3 bucket to write
8029
8072
  # instance-level logs to.
@@ -8057,7 +8100,7 @@ module Aws::SSM
8057
8100
  #
8058
8101
  # resp = client.register_task_with_maintenance_window({
8059
8102
  # window_id: "MaintenanceWindowId", # required
8060
- # targets: [ # required
8103
+ # targets: [
8061
8104
  # {
8062
8105
  # key: "TargetKey",
8063
8106
  # values: ["TargetValue"],
@@ -8111,8 +8154,8 @@ module Aws::SSM
8111
8154
  # },
8112
8155
  # },
8113
8156
  # priority: 1,
8114
- # max_concurrency: "MaxConcurrency", # required
8115
- # max_errors: "MaxErrors", # required
8157
+ # max_concurrency: "MaxConcurrency",
8158
+ # max_errors: "MaxErrors",
8116
8159
  # logging_info: {
8117
8160
  # s3_bucket_name: "S3BucketName", # required
8118
8161
  # s3_key_prefix: "S3KeyPrefix",
@@ -9702,6 +9745,15 @@ module Aws::SSM
9702
9745
  #
9703
9746
  # * MaxErrors
9704
9747
  #
9748
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
9749
+ # Command-type tasks. Depending on the task, targets are optional for
9750
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
9751
+ # Step Functions). For more information about running tasks that do not
9752
+ # specify targets, see see [Registering maintenance window tasks without
9753
+ # targets][1] in the *AWS Systems Manager User Guide*.
9754
+ #
9755
+ # </note>
9756
+ #
9705
9757
  # If the value for a parameter in `UpdateMaintenanceWindowTask` is null,
9706
9758
  # then the corresponding field is not modified. If you set `Replace` to
9707
9759
  # true, then all fields required by the
@@ -9718,6 +9770,10 @@ module Aws::SSM
9718
9770
  # and specify only a different `OutputS3BucketName` value, the values
9719
9771
  # for `Comment` and `NotificationConfig` are removed.
9720
9772
  #
9773
+ #
9774
+ #
9775
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
9776
+ #
9721
9777
  # @option params [required, String] :window_id
9722
9778
  # The maintenance window ID that contains the task to modify.
9723
9779
  #
@@ -9729,6 +9785,19 @@ module Aws::SSM
9729
9785
  # specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
9730
9786
  # Tags are specified using Key=tag\_name,Values=tag\_value.
9731
9787
  #
9788
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
9789
+ # Command-type tasks. Depending on the task, targets are optional for
9790
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
9791
+ # Step Functions). For more information about running tasks that do not
9792
+ # specify targets, see see [Registering maintenance window tasks without
9793
+ # targets][1] in the *AWS Systems Manager User Guide*.
9794
+ #
9795
+ # </note>
9796
+ #
9797
+ #
9798
+ #
9799
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
9800
+ #
9732
9801
  # @option params [String] :task_arn
9733
9802
  # The task ARN to modify.
9734
9803
  #
@@ -9794,11 +9863,27 @@ module Aws::SSM
9794
9863
  # is the number of targets that are allowed to run this task in
9795
9864
  # parallel.
9796
9865
  #
9866
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
9867
+ # supply a value for this option. Instead, the system inserts a
9868
+ # placeholder value of `1`, which may be reported in the response to
9869
+ # this command. This value does not affect the running of your task and
9870
+ # can be ignored.
9871
+ #
9872
+ # </note>
9873
+ #
9797
9874
  # @option params [String] :max_errors
9798
9875
  # The new `MaxErrors` value to specify. `MaxErrors` is the maximum
9799
9876
  # number of errors that are allowed before the task stops being
9800
9877
  # scheduled.
9801
9878
  #
9879
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
9880
+ # supply a value for this option. Instead, the system inserts a
9881
+ # placeholder value of `1`, which may be reported in the response to
9882
+ # this command. This value does not affect the running of your task and
9883
+ # can be ignored.
9884
+ #
9885
+ # </note>
9886
+ #
9802
9887
  # @option params [Types::LoggingInfo] :logging_info
9803
9888
  # The new logging location in Amazon S3 to specify.
9804
9889
  #
@@ -10507,7 +10592,7 @@ module Aws::SSM
10507
10592
  params: params,
10508
10593
  config: config)
10509
10594
  context[:gem_name] = 'aws-sdk-ssm'
10510
- context[:gem_version] = '1.100.0'
10595
+ context[:gem_version] = '1.101.0'
10511
10596
  Seahorse::Client::Request.new(handlers, context)
10512
10597
  end
10513
10598
 
@@ -3758,15 +3758,15 @@ module Aws::SSM
3758
3758
  RegisterTargetWithMaintenanceWindowResult.struct_class = Types::RegisterTargetWithMaintenanceWindowResult
3759
3759
 
3760
3760
  RegisterTaskWithMaintenanceWindowRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, required: true, location_name: "WindowId"))
3761
- RegisterTaskWithMaintenanceWindowRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, required: true, location_name: "Targets"))
3761
+ RegisterTaskWithMaintenanceWindowRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets", metadata: {"box"=>true}))
3762
3762
  RegisterTaskWithMaintenanceWindowRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskArn, required: true, location_name: "TaskArn"))
3763
3763
  RegisterTaskWithMaintenanceWindowRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRoleArn"))
3764
3764
  RegisterTaskWithMaintenanceWindowRequest.add_member(:task_type, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskType, required: true, location_name: "TaskType"))
3765
3765
  RegisterTaskWithMaintenanceWindowRequest.add_member(:task_parameters, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskParameters, location_name: "TaskParameters"))
3766
3766
  RegisterTaskWithMaintenanceWindowRequest.add_member(:task_invocation_parameters, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskInvocationParameters, location_name: "TaskInvocationParameters"))
3767
3767
  RegisterTaskWithMaintenanceWindowRequest.add_member(:priority, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskPriority, location_name: "Priority", metadata: {"box"=>true}))
3768
- RegisterTaskWithMaintenanceWindowRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, required: true, location_name: "MaxConcurrency"))
3769
- RegisterTaskWithMaintenanceWindowRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, required: true, location_name: "MaxErrors"))
3768
+ RegisterTaskWithMaintenanceWindowRequest.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency", metadata: {"box"=>true}))
3769
+ RegisterTaskWithMaintenanceWindowRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors", metadata: {"box"=>true}))
3770
3770
  RegisterTaskWithMaintenanceWindowRequest.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "LoggingInfo"))
3771
3771
  RegisterTaskWithMaintenanceWindowRequest.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
3772
3772
  RegisterTaskWithMaintenanceWindowRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
@@ -8547,11 +8547,27 @@ module Aws::SSM
8547
8547
  #
8548
8548
  # @!attribute [rw] max_concurrency
8549
8549
  # The maximum number of targets allowed to run this task in parallel.
8550
+ #
8551
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8552
+ # supply a value for this option. Instead, the system inserts a
8553
+ # placeholder value of `1`, which may be reported in the response to
8554
+ # this command. This value does not affect the running of your task
8555
+ # and can be ignored.
8556
+ #
8557
+ # </note>
8550
8558
  # @return [String]
8551
8559
  #
8552
8560
  # @!attribute [rw] max_errors
8553
8561
  # The maximum number of errors allowed before the task stops being
8554
8562
  # scheduled.
8563
+ #
8564
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8565
+ # supply a value for this option. Instead, the system inserts a
8566
+ # placeholder value of `1`, which may be reported in the response to
8567
+ # this command. This value does not affect the running of your task
8568
+ # and can be ignored.
8569
+ #
8570
+ # </note>
8555
8571
  # @return [String]
8556
8572
  #
8557
8573
  # @!attribute [rw] logging_info
@@ -15629,7 +15645,7 @@ module Aws::SSM
15629
15645
  #
15630
15646
  # {
15631
15647
  # window_id: "MaintenanceWindowId", # required
15632
- # targets: [ # required
15648
+ # targets: [
15633
15649
  # {
15634
15650
  # key: "TargetKey",
15635
15651
  # values: ["TargetValue"],
@@ -15683,8 +15699,8 @@ module Aws::SSM
15683
15699
  # },
15684
15700
  # },
15685
15701
  # priority: 1,
15686
- # max_concurrency: "MaxConcurrency", # required
15687
- # max_errors: "MaxErrors", # required
15702
+ # max_concurrency: "MaxConcurrency",
15703
+ # max_errors: "MaxErrors",
15688
15704
  # logging_info: {
15689
15705
  # s3_bucket_name: "S3BucketName", # required
15690
15706
  # s3_key_prefix: "S3KeyPrefix",
@@ -15702,6 +15718,15 @@ module Aws::SSM
15702
15718
  # @!attribute [rw] targets
15703
15719
  # The targets (either instances or maintenance window targets).
15704
15720
  #
15721
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
15722
+ # Command-type tasks. Depending on the task, targets are optional for
15723
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
15724
+ # Step Functions). For more information about running tasks that do
15725
+ # not specify targets, see see [Registering maintenance window tasks
15726
+ # without targets][1] in the *AWS Systems Manager User Guide*.
15727
+ #
15728
+ # </note>
15729
+ #
15705
15730
  # Specify instances using the following format:
15706
15731
  #
15707
15732
  # `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
@@ -15709,6 +15734,10 @@ module Aws::SSM
15709
15734
  # Specify maintenance window targets using the following format:
15710
15735
  #
15711
15736
  # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
15737
+ #
15738
+ #
15739
+ #
15740
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
15712
15741
  # @return [Array<Types::Target>]
15713
15742
  #
15714
15743
  # @!attribute [rw] task_arn
@@ -15768,11 +15797,25 @@ module Aws::SSM
15768
15797
  #
15769
15798
  # @!attribute [rw] max_concurrency
15770
15799
  # The maximum number of targets this task can be run for in parallel.
15800
+ #
15801
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
15802
+ # supply a value for this option. Instead, the system inserts a
15803
+ # placeholder value of `1`. This value does not affect the running of
15804
+ # your task.
15805
+ #
15806
+ # </note>
15771
15807
  # @return [String]
15772
15808
  #
15773
15809
  # @!attribute [rw] max_errors
15774
15810
  # The maximum number of errors allowed before this task stops being
15775
15811
  # scheduled.
15812
+ #
15813
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
15814
+ # supply a value for this option. Instead, the system inserts a
15815
+ # placeholder value of `1`. This value does not affect the running of
15816
+ # your task.
15817
+ #
15818
+ # </note>
15776
15819
  # @return [String]
15777
15820
  #
15778
15821
  # @!attribute [rw] logging_info
@@ -17924,6 +17967,15 @@ module Aws::SSM
17924
17967
  # An array of search criteria that targets instances using a Key,Value
17925
17968
  # combination that you specify.
17926
17969
  #
17970
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
17971
+ # Command-type tasks. Depending on the task, targets are optional for
17972
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
17973
+ # Step Functions). For more information about running tasks that do not
17974
+ # specify targets, see see [Registering maintenance window tasks without
17975
+ # targets][1] in the *AWS Systems Manager User Guide*.
17976
+ #
17977
+ # </note>
17978
+ #
17927
17979
  # Supported formats include the following.
17928
17980
  #
17929
17981
  # * `Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3 `
@@ -17974,12 +18026,13 @@ module Aws::SSM
17974
18026
  # AWS Region where the association was created.
17975
18027
  #
17976
18028
  # For more information about how to send commands that target instances
17977
- # using `Key,Value` parameters, see [Targeting multiple instances][1] in
18029
+ # using `Key,Value` parameters, see [Targeting multiple instances][2] in
17978
18030
  # the *AWS Systems Manager User Guide*.
17979
18031
  #
17980
18032
  #
17981
18033
  #
17982
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
18034
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
18035
+ # [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
17983
18036
  #
17984
18037
  # @note When making an API call, you may pass Target
17985
18038
  # data as a hash:
@@ -19096,6 +19149,19 @@ module Aws::SSM
19096
19149
  # The targets (either instances or tags) to modify. Instances are
19097
19150
  # specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
19098
19151
  # Tags are specified using Key=tag\_name,Values=tag\_value.
19152
+ #
19153
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
19154
+ # Command-type tasks. Depending on the task, targets are optional for
19155
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
19156
+ # Step Functions). For more information about running tasks that do
19157
+ # not specify targets, see see [Registering maintenance window tasks
19158
+ # without targets][1] in the *AWS Systems Manager User Guide*.
19159
+ #
19160
+ # </note>
19161
+ #
19162
+ #
19163
+ #
19164
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
19099
19165
  # @return [Array<Types::Target>]
19100
19166
  #
19101
19167
  # @!attribute [rw] task_arn
@@ -19170,12 +19236,28 @@ module Aws::SSM
19170
19236
  # The new `MaxConcurrency` value you want to specify. `MaxConcurrency`
19171
19237
  # is the number of targets that are allowed to run this task in
19172
19238
  # parallel.
19239
+ #
19240
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
19241
+ # supply a value for this option. Instead, the system inserts a
19242
+ # placeholder value of `1`, which may be reported in the response to
19243
+ # this command. This value does not affect the running of your task
19244
+ # and can be ignored.
19245
+ #
19246
+ # </note>
19173
19247
  # @return [String]
19174
19248
  #
19175
19249
  # @!attribute [rw] max_errors
19176
19250
  # The new `MaxErrors` value to specify. `MaxErrors` is the maximum
19177
19251
  # number of errors that are allowed before the task stops being
19178
19252
  # scheduled.
19253
+ #
19254
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
19255
+ # supply a value for this option. Instead, the system inserts a
19256
+ # placeholder value of `1`, which may be reported in the response to
19257
+ # this command. This value does not affect the running of your task
19258
+ # and can be ignored.
19259
+ #
19260
+ # </note>
19179
19261
  # @return [String]
19180
19262
  #
19181
19263
  # @!attribute [rw] logging_info
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.100.0
4
+ version: 1.101.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: 2020-12-15 00:00:00.000000000 Z
11
+ date: 2020-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core