aws-sdk-ssm 1.117.0 → 1.118.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +94 -34
- data/lib/aws-sdk-ssm/client_api.rb +6 -0
- data/lib/aws-sdk-ssm/types.rb +153 -42
- data/lib/aws-sdk-ssm/waiters.rb +5 -0
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f2c9ad0c2c8f2ccd8f0f2b0a662de7ed68180c15651bed937b8b46a53b64a1e
|
4
|
+
data.tar.gz: 9cca567ef67161d21a7c543f46d78beb567c0bb58cd37d5d5bd9310c9d8851e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e373cdbe91a4ac4665d7c9385208754324da01acf1d1d52f55451db8d9c56d6862e0863e2ba2e54ecfd0ec79c9bbe98438a0d934779eec5abab416ddb3e90643
|
7
|
+
data.tar.gz: d4ad81e48b5e84ead1ecb9db6a160b5de4039aa301b38ff75f7978ae7fb2a2606046dfd703d68d626d8efa6e508cbfdc8fc98c8706454a3122ddb79e3e76efa2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.118.0 (2021-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added cutoff behavior support for preventing new task invocations from starting when the maintenance window cutoff time is reached.
|
8
|
+
|
4
9
|
1.117.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.118.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -442,10 +442,10 @@ module Aws::SSM
|
|
442
442
|
req.send_request(options)
|
443
443
|
end
|
444
444
|
|
445
|
-
# Associates a related
|
446
|
-
#
|
447
|
-
#
|
448
|
-
# Web Services Systems Manager.
|
445
|
+
# Associates a related item to a Systems Manager OpsCenter OpsItem. For
|
446
|
+
# example, you can associate an Incident Manager incident or analysis
|
447
|
+
# with an OpsItem. Incident Manager and OpsCenter are capabilities of
|
448
|
+
# Amazon Web Services Systems Manager.
|
449
449
|
#
|
450
450
|
# @option params [required, String] :ops_item_id
|
451
451
|
# The ID of the OpsItem to which you want to associate a resource as a
|
@@ -461,8 +461,6 @@ module Aws::SSM
|
|
461
461
|
# OpsCenter supports the following types:
|
462
462
|
#
|
463
463
|
# `AWS::SSMIncidents::IncidentRecord`\: an Incident Manager incident.
|
464
|
-
# Incident Manager is a capability of Amazon Web Services Systems
|
465
|
-
# Manager.
|
466
464
|
#
|
467
465
|
# `AWS::SSM::Document`\: a Systems Manager (SSM) document.
|
468
466
|
#
|
@@ -4194,6 +4192,7 @@ module Aws::SSM
|
|
4194
4192
|
# resp.tasks[0].max_errors #=> String
|
4195
4193
|
# resp.tasks[0].name #=> String
|
4196
4194
|
# resp.tasks[0].description #=> String
|
4195
|
+
# resp.tasks[0].cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
4197
4196
|
# resp.next_token #=> String
|
4198
4197
|
#
|
4199
4198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks AWS API Documentation
|
@@ -4477,6 +4476,11 @@ module Aws::SSM
|
|
4477
4476
|
# You can specify the `NextToken` in a subsequent call to get the next
|
4478
4477
|
# set of results.
|
4479
4478
|
#
|
4479
|
+
# If you change the KMS key alias for the KMS key used to encrypt a
|
4480
|
+
# parameter, then you must also update the key alias the parameter uses
|
4481
|
+
# to reference KMS. Otherwise, `DescribeParameters` retrieves whatever
|
4482
|
+
# the original key alias was referencing.
|
4483
|
+
#
|
4480
4484
|
# @option params [Array<Types::ParametersFilter>] :filters
|
4481
4485
|
# This data type is deprecated. Instead, use `ParameterFilters`.
|
4482
4486
|
#
|
@@ -4894,18 +4898,18 @@ module Aws::SSM
|
|
4894
4898
|
req.send_request(options)
|
4895
4899
|
end
|
4896
4900
|
|
4897
|
-
# Deletes the association between an OpsItem and a related
|
4901
|
+
# Deletes the association between an OpsItem and a related item. For
|
4898
4902
|
# example, this API operation can delete an Incident Manager incident
|
4899
4903
|
# from an OpsItem. Incident Manager is a capability of Amazon Web
|
4900
4904
|
# Services Systems Manager.
|
4901
4905
|
#
|
4902
4906
|
# @option params [required, String] :ops_item_id
|
4903
4907
|
# The ID of the OpsItem for which you want to delete an association
|
4904
|
-
# between the OpsItem and a related
|
4908
|
+
# between the OpsItem and a related item.
|
4905
4909
|
#
|
4906
4910
|
# @option params [required, String] :association_id
|
4907
4911
|
# The ID of the association for which you want to delete an association
|
4908
|
-
# between the OpsItem and a related
|
4912
|
+
# between the OpsItem and a related item.
|
4909
4913
|
#
|
4910
4914
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4911
4915
|
#
|
@@ -5875,6 +5879,7 @@ module Aws::SSM
|
|
5875
5879
|
# * {Types::GetMaintenanceWindowTaskResult#logging_info #logging_info} => Types::LoggingInfo
|
5876
5880
|
# * {Types::GetMaintenanceWindowTaskResult#name #name} => String
|
5877
5881
|
# * {Types::GetMaintenanceWindowTaskResult#description #description} => String
|
5882
|
+
# * {Types::GetMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
|
5878
5883
|
#
|
5879
5884
|
# @example Request syntax with placeholder values
|
5880
5885
|
#
|
@@ -5931,6 +5936,7 @@ module Aws::SSM
|
|
5931
5936
|
# resp.logging_info.s3_region #=> String
|
5932
5937
|
# resp.name #=> String
|
5933
5938
|
# resp.description #=> String
|
5939
|
+
# resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
5934
5940
|
#
|
5935
5941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask AWS API Documentation
|
5936
5942
|
#
|
@@ -6201,6 +6207,11 @@ module Aws::SSM
|
|
6201
6207
|
|
6202
6208
|
# Retrieves the history of all changes to a parameter.
|
6203
6209
|
#
|
6210
|
+
# If you change the KMS key alias for the KMS key used to encrypt a
|
6211
|
+
# parameter, then you must also update the key alias the parameter uses
|
6212
|
+
# to reference KMS. Otherwise, `GetParameterHistory` retrieves whatever
|
6213
|
+
# the original key alias was referencing.
|
6214
|
+
#
|
6204
6215
|
# @option params [required, String] :name
|
6205
6216
|
# The name of the parameter for which you want to review history.
|
6206
6217
|
#
|
@@ -6352,11 +6363,11 @@ module Aws::SSM
|
|
6352
6363
|
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
6353
6364
|
# Filters to limit the request results.
|
6354
6365
|
#
|
6355
|
-
# <note markdown="1">
|
6356
|
-
#
|
6366
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`\:
|
6367
|
+
# `Type`, `KeyId`, and `Label`.
|
6357
6368
|
#
|
6358
|
-
# The following `Key` values
|
6359
|
-
# `GetParametersByPath`\: `tag`, `Name`, `Path`, and `Tier`.
|
6369
|
+
# The following `Key` values aren't supported for
|
6370
|
+
# `GetParametersByPath`\: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
|
6360
6371
|
#
|
6361
6372
|
# </note>
|
6362
6373
|
#
|
@@ -7502,7 +7513,9 @@ module Aws::SSM
|
|
7502
7513
|
req.send_request(options)
|
7503
7514
|
end
|
7504
7515
|
|
7505
|
-
# Lists all related-item resources associated with
|
7516
|
+
# Lists all related-item resources associated with a Systems Manager
|
7517
|
+
# OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services
|
7518
|
+
# Systems Manager.
|
7506
7519
|
#
|
7507
7520
|
# @option params [String] :ops_item_id
|
7508
7521
|
# The ID of the OpsItem for which you want to list all related-item
|
@@ -8637,6 +8650,27 @@ module Aws::SSM
|
|
8637
8650
|
# **A suitable default value is auto-generated.** You should normally
|
8638
8651
|
# not need to pass this option.**
|
8639
8652
|
#
|
8653
|
+
# @option params [String] :cutoff_behavior
|
8654
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
8655
|
+
# specified in the maintenance windows is reached.
|
8656
|
+
#
|
8657
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
8658
|
+
# are running continue. The default value.
|
8659
|
+
#
|
8660
|
+
# * `CANCEL_TASK`\:
|
8661
|
+
#
|
8662
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
8663
|
+
# is reached, any task invocations that are already running
|
8664
|
+
# continue, but no new task invocations are started.
|
8665
|
+
#
|
8666
|
+
# * For Run Command tasks: When the cutoff time is reached, the system
|
8667
|
+
# sends a CancelCommand operation that attempts to cancel the
|
8668
|
+
# command associated with the task. However, there is no guarantee
|
8669
|
+
# that the command will be terminated and the underlying process
|
8670
|
+
# stopped.
|
8671
|
+
#
|
8672
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
8673
|
+
#
|
8640
8674
|
# @return [Types::RegisterTaskWithMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8641
8675
|
#
|
8642
8676
|
# * {Types::RegisterTaskWithMaintenanceWindowResult#window_task_id #window_task_id} => String
|
@@ -8709,6 +8743,7 @@ module Aws::SSM
|
|
8709
8743
|
# name: "MaintenanceWindowName",
|
8710
8744
|
# description: "MaintenanceWindowDescription",
|
8711
8745
|
# client_token: "ClientToken",
|
8746
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
8712
8747
|
# })
|
8713
8748
|
#
|
8714
8749
|
# @example Response structure
|
@@ -8983,9 +9018,14 @@ module Aws::SSM
|
|
8983
9018
|
# The name of the Amazon Web Services Systems Manager document (SSM
|
8984
9019
|
# document) to run. This can be a public document or a custom document.
|
8985
9020
|
# To run a shared document belonging to another account, specify the
|
8986
|
-
# document ARN. For more information about how to
|
8987
|
-
# see [Using shared SSM documents][1] in the
|
8988
|
-
# Systems Manager User Guide*.
|
9021
|
+
# document Amazon Resource Name (ARN). For more information about how to
|
9022
|
+
# use shared documents, see [Using shared SSM documents][1] in the
|
9023
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
9024
|
+
#
|
9025
|
+
# <note markdown="1"> If you specify a document name or ARN that hasn't been shared with
|
9026
|
+
# your account, you receive an `InvalidDocument` error.
|
9027
|
+
#
|
9028
|
+
# </note>
|
8989
9029
|
#
|
8990
9030
|
#
|
8991
9031
|
#
|
@@ -10590,6 +10630,27 @@ module Aws::SSM
|
|
10590
10630
|
# RegisterTaskWithMaintenanceWindow operation are also required for this
|
10591
10631
|
# API request. Optional fields that aren't specified are set to null.
|
10592
10632
|
#
|
10633
|
+
# @option params [String] :cutoff_behavior
|
10634
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
10635
|
+
# specified in the maintenance windows is reached.
|
10636
|
+
#
|
10637
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
10638
|
+
# are running continue. The default value.
|
10639
|
+
#
|
10640
|
+
# * `CANCEL_TASK`\:
|
10641
|
+
#
|
10642
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
10643
|
+
# is reached, any task invocations that are already running
|
10644
|
+
# continue, but no new task invocations are started.
|
10645
|
+
#
|
10646
|
+
# * For Run Command tasks: When the cutoff time is reached, the system
|
10647
|
+
# sends a CancelCommand operation that attempts to cancel the
|
10648
|
+
# command associated with the task. However, there is no guarantee
|
10649
|
+
# that the command will be terminated and the underlying process
|
10650
|
+
# stopped.
|
10651
|
+
#
|
10652
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
10653
|
+
#
|
10593
10654
|
# @return [Types::UpdateMaintenanceWindowTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10594
10655
|
#
|
10595
10656
|
# * {Types::UpdateMaintenanceWindowTaskResult#window_id #window_id} => String
|
@@ -10605,6 +10666,7 @@ module Aws::SSM
|
|
10605
10666
|
# * {Types::UpdateMaintenanceWindowTaskResult#logging_info #logging_info} => Types::LoggingInfo
|
10606
10667
|
# * {Types::UpdateMaintenanceWindowTaskResult#name #name} => String
|
10607
10668
|
# * {Types::UpdateMaintenanceWindowTaskResult#description #description} => String
|
10669
|
+
# * {Types::UpdateMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
|
10608
10670
|
#
|
10609
10671
|
# @example Request syntax with placeholder values
|
10610
10672
|
#
|
@@ -10674,6 +10736,7 @@ module Aws::SSM
|
|
10674
10736
|
# name: "MaintenanceWindowName",
|
10675
10737
|
# description: "MaintenanceWindowDescription",
|
10676
10738
|
# replace: false,
|
10739
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
10677
10740
|
# })
|
10678
10741
|
#
|
10679
10742
|
# @example Response structure
|
@@ -10723,6 +10786,7 @@ module Aws::SSM
|
|
10723
10786
|
# resp.logging_info.s3_region #=> String
|
10724
10787
|
# resp.name #=> String
|
10725
10788
|
# resp.description #=> String
|
10789
|
+
# resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
10726
10790
|
#
|
10727
10791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask AWS API Documentation
|
10728
10792
|
#
|
@@ -11239,29 +11303,25 @@ module Aws::SSM
|
|
11239
11303
|
# * `/ssm/managed-instance/activation-tier`
|
11240
11304
|
#
|
11241
11305
|
# @option params [required, String] :setting_value
|
11242
|
-
# The new value to specify for the service setting.
|
11243
|
-
#
|
11244
|
-
# value can be one of the following.
|
11306
|
+
# The new value to specify for the service setting. The following list
|
11307
|
+
# specifies the available values for each setting.
|
11245
11308
|
#
|
11246
|
-
# * Standard
|
11309
|
+
# * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
|
11310
|
+
# `Advanced`, `Intelligent-Tiering`
|
11247
11311
|
#
|
11248
|
-
# *
|
11312
|
+
# * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
|
11249
11313
|
#
|
11250
|
-
# *
|
11314
|
+
# * `/ssm/managed-instance/activation-tier`\: `true` or `false`
|
11251
11315
|
#
|
11252
|
-
#
|
11253
|
-
# `/ssm/managed-instance/activation-tier` setting IDs, the setting value
|
11254
|
-
# can be true or false.
|
11316
|
+
# * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
|
11255
11317
|
#
|
11256
|
-
#
|
11257
|
-
#
|
11318
|
+
# * `/ssm/automation/customer-script-log-group-name`\: the name of an
|
11319
|
+
# Amazon CloudWatch Logs log group
|
11258
11320
|
#
|
11259
|
-
#
|
11260
|
-
#
|
11261
|
-
# group.
|
11321
|
+
# * `/ssm/documents/console/public-sharing-permission`\: `Enable` or
|
11322
|
+
# `Disable`
|
11262
11323
|
#
|
11263
|
-
#
|
11264
|
-
# the setting value can be `Enable` or `Disable`.
|
11324
|
+
# * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
|
11265
11325
|
#
|
11266
11326
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
11267
11327
|
#
|
@@ -11294,7 +11354,7 @@ module Aws::SSM
|
|
11294
11354
|
params: params,
|
11295
11355
|
config: config)
|
11296
11356
|
context[:gem_name] = 'aws-sdk-ssm'
|
11297
|
-
context[:gem_version] = '1.
|
11357
|
+
context[:gem_version] = '1.118.0'
|
11298
11358
|
Seahorse::Client::Request.new(handlers, context)
|
11299
11359
|
end
|
11300
11360
|
|
@@ -667,6 +667,7 @@ module Aws::SSM
|
|
667
667
|
MaintenanceWindowTargetList = Shapes::ListShape.new(name: 'MaintenanceWindowTargetList')
|
668
668
|
MaintenanceWindowTask = Shapes::StructureShape.new(name: 'MaintenanceWindowTask')
|
669
669
|
MaintenanceWindowTaskArn = Shapes::StringShape.new(name: 'MaintenanceWindowTaskArn')
|
670
|
+
MaintenanceWindowTaskCutoffBehavior = Shapes::StringShape.new(name: 'MaintenanceWindowTaskCutoffBehavior')
|
670
671
|
MaintenanceWindowTaskId = Shapes::StringShape.new(name: 'MaintenanceWindowTaskId')
|
671
672
|
MaintenanceWindowTaskInvocationParameters = Shapes::StructureShape.new(name: 'MaintenanceWindowTaskInvocationParameters')
|
672
673
|
MaintenanceWindowTaskList = Shapes::ListShape.new(name: 'MaintenanceWindowTaskList')
|
@@ -2546,6 +2547,7 @@ module Aws::SSM
|
|
2546
2547
|
GetMaintenanceWindowTaskResult.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "LoggingInfo"))
|
2547
2548
|
GetMaintenanceWindowTaskResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
2548
2549
|
GetMaintenanceWindowTaskResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
2550
|
+
GetMaintenanceWindowTaskResult.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
2549
2551
|
GetMaintenanceWindowTaskResult.struct_class = Types::GetMaintenanceWindowTaskResult
|
2550
2552
|
|
2551
2553
|
GetOpsItemRequest.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, required: true, location_name: "OpsItemId"))
|
@@ -3310,6 +3312,7 @@ module Aws::SSM
|
|
3310
3312
|
MaintenanceWindowTask.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
3311
3313
|
MaintenanceWindowTask.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
3312
3314
|
MaintenanceWindowTask.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
3315
|
+
MaintenanceWindowTask.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
3313
3316
|
MaintenanceWindowTask.struct_class = Types::MaintenanceWindowTask
|
3314
3317
|
|
3315
3318
|
MaintenanceWindowTaskInvocationParameters.add_member(:run_command, Shapes::ShapeRef.new(shape: MaintenanceWindowRunCommandParameters, location_name: "RunCommand"))
|
@@ -3890,6 +3893,7 @@ module Aws::SSM
|
|
3890
3893
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
3891
3894
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
3892
3895
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3896
|
+
RegisterTaskWithMaintenanceWindowRequest.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
3893
3897
|
RegisterTaskWithMaintenanceWindowRequest.struct_class = Types::RegisterTaskWithMaintenanceWindowRequest
|
3894
3898
|
|
3895
3899
|
RegisterTaskWithMaintenanceWindowResult.add_member(:window_task_id, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskId, location_name: "WindowTaskId"))
|
@@ -4420,6 +4424,7 @@ module Aws::SSM
|
|
4420
4424
|
UpdateMaintenanceWindowTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
4421
4425
|
UpdateMaintenanceWindowTaskRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
4422
4426
|
UpdateMaintenanceWindowTaskRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace", metadata: {"box"=>true}))
|
4427
|
+
UpdateMaintenanceWindowTaskRequest.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
4423
4428
|
UpdateMaintenanceWindowTaskRequest.struct_class = Types::UpdateMaintenanceWindowTaskRequest
|
4424
4429
|
|
4425
4430
|
UpdateMaintenanceWindowTaskResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
@@ -4435,6 +4440,7 @@ module Aws::SSM
|
|
4435
4440
|
UpdateMaintenanceWindowTaskResult.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "LoggingInfo"))
|
4436
4441
|
UpdateMaintenanceWindowTaskResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
4437
4442
|
UpdateMaintenanceWindowTaskResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
4443
|
+
UpdateMaintenanceWindowTaskResult.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
4438
4444
|
UpdateMaintenanceWindowTaskResult.struct_class = Types::UpdateMaintenanceWindowTaskResult
|
4439
4445
|
|
4440
4446
|
UpdateManagedInstanceRoleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ManagedInstanceId, required: true, location_name: "InstanceId"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -215,8 +215,6 @@ module Aws::SSM
|
|
215
215
|
# OpsCenter supports the following types:
|
216
216
|
#
|
217
217
|
# `AWS::SSMIncidents::IncidentRecord`\: an Incident Manager incident.
|
218
|
-
# Incident Manager is a capability of Amazon Web Services Systems
|
219
|
-
# Manager.
|
220
218
|
#
|
221
219
|
# `AWS::SSM::Document`\: a Systems Manager (SSM) document.
|
222
220
|
# @return [String]
|
@@ -2014,8 +2012,10 @@ module Aws::SSM
|
|
2014
2012
|
# executions from before July 7, 2021.
|
2015
2013
|
#
|
2016
2014
|
# * **Status**\: Specify a valid command status to see a list of all
|
2017
|
-
# command executions with that status.
|
2018
|
-
#
|
2015
|
+
# command executions with that status. The status choices depend on
|
2016
|
+
# the API you call.
|
2017
|
+
#
|
2018
|
+
# The status values you can specify for `ListCommands` are:
|
2019
2019
|
#
|
2020
2020
|
# * `Pending`
|
2021
2021
|
#
|
@@ -2027,9 +2027,48 @@ module Aws::SSM
|
|
2027
2027
|
#
|
2028
2028
|
# * `Failed`
|
2029
2029
|
#
|
2030
|
-
# * `TimedOut`
|
2030
|
+
# * `TimedOut` (this includes both Delivery and Execution time outs)
|
2031
|
+
#
|
2032
|
+
# * `AccessDenied`
|
2033
|
+
#
|
2034
|
+
# * `DeliveryTimedOut`
|
2035
|
+
#
|
2036
|
+
# * `ExecutionTimedOut`
|
2037
|
+
#
|
2038
|
+
# * `Incomplete`
|
2039
|
+
#
|
2040
|
+
# * `NoInstancesInTag`
|
2041
|
+
#
|
2042
|
+
# * `LimitExceeded`
|
2043
|
+
#
|
2044
|
+
# The status values you can specify for `ListCommandInvocations`
|
2045
|
+
# are:
|
2031
2046
|
#
|
2032
|
-
# * `
|
2047
|
+
# * `Pending`
|
2048
|
+
#
|
2049
|
+
# * `InProgress`
|
2050
|
+
#
|
2051
|
+
# * `Delayed`
|
2052
|
+
#
|
2053
|
+
# * `Success`
|
2054
|
+
#
|
2055
|
+
# * `Cancelled`
|
2056
|
+
#
|
2057
|
+
# * `Failed`
|
2058
|
+
#
|
2059
|
+
# * `TimedOut` (this includes both Delivery and Execution time outs)
|
2060
|
+
#
|
2061
|
+
# * `AccessDenied`
|
2062
|
+
#
|
2063
|
+
# * `DeliveryTimedOut`
|
2064
|
+
#
|
2065
|
+
# * `ExecutionTimedOut`
|
2066
|
+
#
|
2067
|
+
# * `Undeliverable`
|
2068
|
+
#
|
2069
|
+
# * `InvalidPlatform`
|
2070
|
+
#
|
2071
|
+
# * `Terminated`
|
2033
2072
|
#
|
2034
2073
|
# * **DocumentName**\: Specify name of the Amazon Web Services Systems
|
2035
2074
|
# Manager document (SSM document) for which you want to see command
|
@@ -2071,9 +2110,7 @@ module Aws::SSM
|
|
2071
2110
|
# @return [String]
|
2072
2111
|
#
|
2073
2112
|
# @!attribute [rw] instance_name
|
2074
|
-
# The name of the
|
2075
|
-
# value for the `aws:Name` tag. For on-premises instances, this is the
|
2076
|
-
# name of the instance.
|
2113
|
+
# The fully qualified host name of the managed instance.
|
2077
2114
|
# @return [String]
|
2078
2115
|
#
|
2079
2116
|
# @!attribute [rw] comment
|
@@ -6985,12 +7022,12 @@ module Aws::SSM
|
|
6985
7022
|
#
|
6986
7023
|
# @!attribute [rw] ops_item_id
|
6987
7024
|
# The ID of the OpsItem for which you want to delete an association
|
6988
|
-
# between the OpsItem and a related
|
7025
|
+
# between the OpsItem and a related item.
|
6989
7026
|
# @return [String]
|
6990
7027
|
#
|
6991
7028
|
# @!attribute [rw] association_id
|
6992
7029
|
# The ID of the association for which you want to delete an
|
6993
|
-
# association between the OpsItem and a related
|
7030
|
+
# association between the OpsItem and a related item.
|
6994
7031
|
# @return [String]
|
6995
7032
|
#
|
6996
7033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItemRequest AWS API Documentation
|
@@ -9222,6 +9259,16 @@ module Aws::SSM
|
|
9222
9259
|
# The retrieved task description.
|
9223
9260
|
# @return [String]
|
9224
9261
|
#
|
9262
|
+
# @!attribute [rw] cutoff_behavior
|
9263
|
+
# The action to take on tasks when the maintenance window cutoff time
|
9264
|
+
# is reached. `CONTINUE_TASK` means that tasks continue to run. For
|
9265
|
+
# Automation, Lambda, Step Functions tasks, `CANCEL_TASK` means that
|
9266
|
+
# currently running task invocations continue, but no new task
|
9267
|
+
# invocations are started. For Run Command tasks, `CANCEL_TASK` means
|
9268
|
+
# the system attempts to stop the task by sending a `CancelCommand`
|
9269
|
+
# operation.
|
9270
|
+
# @return [String]
|
9271
|
+
#
|
9225
9272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult AWS API Documentation
|
9226
9273
|
#
|
9227
9274
|
class GetMaintenanceWindowTaskResult < Struct.new(
|
@@ -9238,7 +9285,8 @@ module Aws::SSM
|
|
9238
9285
|
:max_errors,
|
9239
9286
|
:logging_info,
|
9240
9287
|
:name,
|
9241
|
-
:description
|
9288
|
+
:description,
|
9289
|
+
:cutoff_behavior)
|
9242
9290
|
SENSITIVE = [:task_parameters, :description]
|
9243
9291
|
include Aws::Structure
|
9244
9292
|
end
|
@@ -9572,11 +9620,12 @@ module Aws::SSM
|
|
9572
9620
|
# @!attribute [rw] parameter_filters
|
9573
9621
|
# Filters to limit the request results.
|
9574
9622
|
#
|
9575
|
-
# <note markdown="1">
|
9576
|
-
#
|
9623
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`\:
|
9624
|
+
# `Type`, `KeyId`, and `Label`.
|
9577
9625
|
#
|
9578
|
-
# The following `Key` values
|
9579
|
-
# `GetParametersByPath`\: `tag`, `Name`, `Path`, and
|
9626
|
+
# The following `Key` values aren't supported for
|
9627
|
+
# `GetParametersByPath`\: `tag`, `DataType`, `Name`, `Path`, and
|
9628
|
+
# `Tier`.
|
9580
9629
|
#
|
9581
9630
|
# </note>
|
9582
9631
|
# @return [Array<Types::ParameterStringFilter>]
|
@@ -13609,6 +13658,11 @@ module Aws::SSM
|
|
13609
13658
|
# A description of the task.
|
13610
13659
|
# @return [String]
|
13611
13660
|
#
|
13661
|
+
# @!attribute [rw] cutoff_behavior
|
13662
|
+
# The specification for whether tasks should continue to run after the
|
13663
|
+
# cutoff time specified in the maintenance windows is reached.
|
13664
|
+
# @return [String]
|
13665
|
+
#
|
13612
13666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask AWS API Documentation
|
13613
13667
|
#
|
13614
13668
|
class MaintenanceWindowTask < Struct.new(
|
@@ -13624,7 +13678,8 @@ module Aws::SSM
|
|
13624
13678
|
:max_concurrency,
|
13625
13679
|
:max_errors,
|
13626
13680
|
:name,
|
13627
|
-
:description
|
13681
|
+
:description,
|
13682
|
+
:cutoff_behavior)
|
13628
13683
|
SENSITIVE = [:task_parameters, :description]
|
13629
13684
|
include Aws::Structure
|
13630
13685
|
end
|
@@ -15266,11 +15321,11 @@ module Aws::SSM
|
|
15266
15321
|
# and GetParametersByPath API operations. However, not all of the
|
15267
15322
|
# pattern values listed for `Key` can be used with both operations.
|
15268
15323
|
#
|
15269
|
-
# For `DescribeActions`, all of the listed patterns are valid
|
15270
|
-
#
|
15324
|
+
# For `DescribeActions`, all of the listed patterns are valid except
|
15325
|
+
# `Label`.
|
15271
15326
|
#
|
15272
15327
|
# For `GetParametersByPath`, the following patterns listed for `Key`
|
15273
|
-
# aren't valid: `tag`, `Name`, `Path`, and `Tier`.
|
15328
|
+
# aren't valid: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
|
15274
15329
|
#
|
15275
15330
|
# For examples of Amazon Web Services CLI commands demonstrating valid
|
15276
15331
|
# parameter filter constructions, see [Searching for Systems Manager
|
@@ -16731,6 +16786,7 @@ module Aws::SSM
|
|
16731
16786
|
# name: "MaintenanceWindowName",
|
16732
16787
|
# description: "MaintenanceWindowDescription",
|
16733
16788
|
# client_token: "ClientToken",
|
16789
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
16734
16790
|
# }
|
16735
16791
|
#
|
16736
16792
|
# @!attribute [rw] window_id
|
@@ -16870,6 +16926,28 @@ module Aws::SSM
|
|
16870
16926
|
# not need to pass this option.
|
16871
16927
|
# @return [String]
|
16872
16928
|
#
|
16929
|
+
# @!attribute [rw] cutoff_behavior
|
16930
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
16931
|
+
# specified in the maintenance windows is reached.
|
16932
|
+
#
|
16933
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
16934
|
+
# are running continue. The default value.
|
16935
|
+
#
|
16936
|
+
# * `CANCEL_TASK`\:
|
16937
|
+
#
|
16938
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff
|
16939
|
+
# time is reached, any task invocations that are already running
|
16940
|
+
# continue, but no new task invocations are started.
|
16941
|
+
#
|
16942
|
+
# * For Run Command tasks: When the cutoff time is reached, the
|
16943
|
+
# system sends a CancelCommand operation that attempts to cancel
|
16944
|
+
# the command associated with the task. However, there is no
|
16945
|
+
# guarantee that the command will be terminated and the underlying
|
16946
|
+
# process stopped.
|
16947
|
+
#
|
16948
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
16949
|
+
# @return [String]
|
16950
|
+
#
|
16873
16951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowRequest AWS API Documentation
|
16874
16952
|
#
|
16875
16953
|
class RegisterTaskWithMaintenanceWindowRequest < Struct.new(
|
@@ -16886,7 +16964,8 @@ module Aws::SSM
|
|
16886
16964
|
:logging_info,
|
16887
16965
|
:name,
|
16888
16966
|
:description,
|
16889
|
-
:client_token
|
16967
|
+
:client_token,
|
16968
|
+
:cutoff_behavior)
|
16890
16969
|
SENSITIVE = [:task_parameters, :description]
|
16891
16970
|
include Aws::Structure
|
16892
16971
|
end
|
@@ -17989,9 +18068,15 @@ module Aws::SSM
|
|
17989
18068
|
# The name of the Amazon Web Services Systems Manager document (SSM
|
17990
18069
|
# document) to run. This can be a public document or a custom
|
17991
18070
|
# document. To run a shared document belonging to another account,
|
17992
|
-
# specify the document ARN. For more
|
17993
|
-
# shared documents, see [Using shared SSM
|
17994
|
-
# Web Services Systems Manager User
|
18071
|
+
# specify the document Amazon Resource Name (ARN). For more
|
18072
|
+
# information about how to use shared documents, see [Using shared SSM
|
18073
|
+
# documents][1] in the *Amazon Web Services Systems Manager User
|
18074
|
+
# Guide*.
|
18075
|
+
#
|
18076
|
+
# <note markdown="1"> If you specify a document name or ARN that hasn't been shared with
|
18077
|
+
# your account, you receive an `InvalidDocument` error.
|
18078
|
+
#
|
18079
|
+
# </note>
|
17995
18080
|
#
|
17996
18081
|
#
|
17997
18082
|
#
|
@@ -20344,6 +20429,7 @@ module Aws::SSM
|
|
20344
20429
|
# name: "MaintenanceWindowName",
|
20345
20430
|
# description: "MaintenanceWindowDescription",
|
20346
20431
|
# replace: false,
|
20432
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
20347
20433
|
# }
|
20348
20434
|
#
|
20349
20435
|
# @!attribute [rw] window_id
|
@@ -20499,6 +20585,28 @@ module Aws::SSM
|
|
20499
20585
|
# null.
|
20500
20586
|
# @return [Boolean]
|
20501
20587
|
#
|
20588
|
+
# @!attribute [rw] cutoff_behavior
|
20589
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
20590
|
+
# specified in the maintenance windows is reached.
|
20591
|
+
#
|
20592
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
20593
|
+
# are running continue. The default value.
|
20594
|
+
#
|
20595
|
+
# * `CANCEL_TASK`\:
|
20596
|
+
#
|
20597
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff
|
20598
|
+
# time is reached, any task invocations that are already running
|
20599
|
+
# continue, but no new task invocations are started.
|
20600
|
+
#
|
20601
|
+
# * For Run Command tasks: When the cutoff time is reached, the
|
20602
|
+
# system sends a CancelCommand operation that attempts to cancel
|
20603
|
+
# the command associated with the task. However, there is no
|
20604
|
+
# guarantee that the command will be terminated and the underlying
|
20605
|
+
# process stopped.
|
20606
|
+
#
|
20607
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
20608
|
+
# @return [String]
|
20609
|
+
#
|
20502
20610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest AWS API Documentation
|
20503
20611
|
#
|
20504
20612
|
class UpdateMaintenanceWindowTaskRequest < Struct.new(
|
@@ -20515,7 +20623,8 @@ module Aws::SSM
|
|
20515
20623
|
:logging_info,
|
20516
20624
|
:name,
|
20517
20625
|
:description,
|
20518
|
-
:replace
|
20626
|
+
:replace,
|
20627
|
+
:cutoff_behavior)
|
20519
20628
|
SENSITIVE = [:task_parameters, :description]
|
20520
20629
|
include Aws::Structure
|
20521
20630
|
end
|
@@ -20593,6 +20702,11 @@ module Aws::SSM
|
|
20593
20702
|
# The updated task description.
|
20594
20703
|
# @return [String]
|
20595
20704
|
#
|
20705
|
+
# @!attribute [rw] cutoff_behavior
|
20706
|
+
# The specification for whether tasks should continue to run after the
|
20707
|
+
# cutoff time specified in the maintenance windows is reached.
|
20708
|
+
# @return [String]
|
20709
|
+
#
|
20596
20710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult AWS API Documentation
|
20597
20711
|
#
|
20598
20712
|
class UpdateMaintenanceWindowTaskResult < Struct.new(
|
@@ -20608,7 +20722,8 @@ module Aws::SSM
|
|
20608
20722
|
:max_errors,
|
20609
20723
|
:logging_info,
|
20610
20724
|
:name,
|
20611
|
-
:description
|
20725
|
+
:description,
|
20726
|
+
:cutoff_behavior)
|
20612
20727
|
SENSITIVE = [:task_parameters, :description]
|
20613
20728
|
include Aws::Structure
|
20614
20729
|
end
|
@@ -21178,29 +21293,25 @@ module Aws::SSM
|
|
21178
21293
|
# @return [String]
|
21179
21294
|
#
|
21180
21295
|
# @!attribute [rw] setting_value
|
21181
|
-
# The new value to specify for the service setting.
|
21182
|
-
#
|
21183
|
-
# setting value can be one of the following.
|
21296
|
+
# The new value to specify for the service setting. The following list
|
21297
|
+
# specifies the available values for each setting.
|
21184
21298
|
#
|
21185
|
-
# * Standard
|
21299
|
+
# * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
|
21300
|
+
# `Advanced`, `Intelligent-Tiering`
|
21186
21301
|
#
|
21187
|
-
# *
|
21302
|
+
# * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
|
21188
21303
|
#
|
21189
|
-
# *
|
21304
|
+
# * `/ssm/managed-instance/activation-tier`\: `true` or `false`
|
21190
21305
|
#
|
21191
|
-
#
|
21192
|
-
# `/ssm/managed-instance/activation-tier` setting IDs, the setting
|
21193
|
-
# value can be true or false.
|
21306
|
+
# * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
|
21194
21307
|
#
|
21195
|
-
#
|
21196
|
-
#
|
21308
|
+
# * `/ssm/automation/customer-script-log-group-name`\: the name of an
|
21309
|
+
# Amazon CloudWatch Logs log group
|
21197
21310
|
#
|
21198
|
-
#
|
21199
|
-
#
|
21200
|
-
# group.
|
21311
|
+
# * `/ssm/documents/console/public-sharing-permission`\: `Enable` or
|
21312
|
+
# `Disable`
|
21201
21313
|
#
|
21202
|
-
#
|
21203
|
-
# ID, the setting value can be `Enable` or `Disable`.
|
21314
|
+
# * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
|
21204
21315
|
# @return [String]
|
21205
21316
|
#
|
21206
21317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
|
data/lib/aws-sdk-ssm/waiters.rb
CHANGED
data/lib/aws-sdk-ssm.rb
CHANGED
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.
|
4
|
+
version: 1.118.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: 2021-09-
|
11
|
+
date: 2021-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|