aws-sdk-ssm 1.117.0 → 1.121.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +124 -36
- data/lib/aws-sdk-ssm/client_api.rb +7 -0
- data/lib/aws-sdk-ssm/types.rb +182 -50
- data/lib/aws-sdk-ssm/waiters.rb +5 -0
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78139ee3ce5843f0744edb86a82ac0a4cef853056fbac5fc3c37135fc4e9610b
|
4
|
+
data.tar.gz: c5c4fd7eac00e53cdb9ad4541b56f4ab75fd3704782545c35b9b3d3c92187432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62126909a385d34e442d071b7a1a56819141741b59dc3be76f3a716ae7a0af28f27ab10148ada5fddd5a92a2d6d5a58fe8f00fd2328a064f07d2f7b21652fa88
|
7
|
+
data.tar.gz: 84405caeaf85fcf48eec06db59cd2d8b73466ae2a2319e2379248c0699026e12137d9f5106d6aab079e46225c4ee1a19236c3a8407e722f4d154a8b1d5933ae3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.121.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.120.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.119.0 (2021-10-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - When "AutoApprovable" is true for a Change Template, then specifying --auto-approve (boolean) in Start-Change-Request-Execution will create a change request that bypasses approver review. (except for change calendar restrictions)
|
18
|
+
|
19
|
+
1.118.0 (2021-09-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added cutoff behavior support for preventing new task invocations from starting when the maintenance window cutoff time is reached.
|
23
|
+
|
4
24
|
1.117.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.121.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -285,6 +285,15 @@ module Aws::SSM
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -442,10 +451,10 @@ module Aws::SSM
|
|
442
451
|
req.send_request(options)
|
443
452
|
end
|
444
453
|
|
445
|
-
# Associates a related
|
446
|
-
#
|
447
|
-
#
|
448
|
-
# Web Services Systems Manager.
|
454
|
+
# Associates a related item to a Systems Manager OpsCenter OpsItem. For
|
455
|
+
# example, you can associate an Incident Manager incident or analysis
|
456
|
+
# with an OpsItem. Incident Manager and OpsCenter are capabilities of
|
457
|
+
# Amazon Web Services Systems Manager.
|
449
458
|
#
|
450
459
|
# @option params [required, String] :ops_item_id
|
451
460
|
# The ID of the OpsItem to which you want to associate a resource as a
|
@@ -461,8 +470,6 @@ module Aws::SSM
|
|
461
470
|
# OpsCenter supports the following types:
|
462
471
|
#
|
463
472
|
# `AWS::SSMIncidents::IncidentRecord`\: an Incident Manager incident.
|
464
|
-
# Incident Manager is a capability of Amazon Web Services Systems
|
465
|
-
# Manager.
|
466
473
|
#
|
467
474
|
# `AWS::SSM::Document`\: a Systems Manager (SSM) document.
|
468
475
|
#
|
@@ -735,8 +742,10 @@ module Aws::SSM
|
|
735
742
|
# @option params [Array<Types::Target>] :targets
|
736
743
|
# The targets for the association. You can target instances by using
|
737
744
|
# tags, Amazon Web Services resource groups, all instances in an Amazon
|
738
|
-
# Web Services account, or individual instance IDs.
|
739
|
-
#
|
745
|
+
# Web Services account, or individual instance IDs. You can target all
|
746
|
+
# instances in an Amazon Web Services account by specifying the
|
747
|
+
# `InstanceIds` key with a value of `*`. For more information about
|
748
|
+
# choosing targets for an association, see [Using targets and rate
|
740
749
|
# controls with State Manager associations][1] in the *Amazon Web
|
741
750
|
# Services Systems Manager User Guide*.
|
742
751
|
#
|
@@ -4194,6 +4203,7 @@ module Aws::SSM
|
|
4194
4203
|
# resp.tasks[0].max_errors #=> String
|
4195
4204
|
# resp.tasks[0].name #=> String
|
4196
4205
|
# resp.tasks[0].description #=> String
|
4206
|
+
# resp.tasks[0].cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
4197
4207
|
# resp.next_token #=> String
|
4198
4208
|
#
|
4199
4209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks AWS API Documentation
|
@@ -4477,6 +4487,11 @@ module Aws::SSM
|
|
4477
4487
|
# You can specify the `NextToken` in a subsequent call to get the next
|
4478
4488
|
# set of results.
|
4479
4489
|
#
|
4490
|
+
# If you change the KMS key alias for the KMS key used to encrypt a
|
4491
|
+
# parameter, then you must also update the key alias the parameter uses
|
4492
|
+
# to reference KMS. Otherwise, `DescribeParameters` retrieves whatever
|
4493
|
+
# the original key alias was referencing.
|
4494
|
+
#
|
4480
4495
|
# @option params [Array<Types::ParametersFilter>] :filters
|
4481
4496
|
# This data type is deprecated. Instead, use `ParameterFilters`.
|
4482
4497
|
#
|
@@ -4894,18 +4909,18 @@ module Aws::SSM
|
|
4894
4909
|
req.send_request(options)
|
4895
4910
|
end
|
4896
4911
|
|
4897
|
-
# Deletes the association between an OpsItem and a related
|
4912
|
+
# Deletes the association between an OpsItem and a related item. For
|
4898
4913
|
# example, this API operation can delete an Incident Manager incident
|
4899
4914
|
# from an OpsItem. Incident Manager is a capability of Amazon Web
|
4900
4915
|
# Services Systems Manager.
|
4901
4916
|
#
|
4902
4917
|
# @option params [required, String] :ops_item_id
|
4903
4918
|
# The ID of the OpsItem for which you want to delete an association
|
4904
|
-
# between the OpsItem and a related
|
4919
|
+
# between the OpsItem and a related item.
|
4905
4920
|
#
|
4906
4921
|
# @option params [required, String] :association_id
|
4907
4922
|
# The ID of the association for which you want to delete an association
|
4908
|
-
# between the OpsItem and a related
|
4923
|
+
# between the OpsItem and a related item.
|
4909
4924
|
#
|
4910
4925
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4911
4926
|
#
|
@@ -5875,6 +5890,7 @@ module Aws::SSM
|
|
5875
5890
|
# * {Types::GetMaintenanceWindowTaskResult#logging_info #logging_info} => Types::LoggingInfo
|
5876
5891
|
# * {Types::GetMaintenanceWindowTaskResult#name #name} => String
|
5877
5892
|
# * {Types::GetMaintenanceWindowTaskResult#description #description} => String
|
5893
|
+
# * {Types::GetMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
|
5878
5894
|
#
|
5879
5895
|
# @example Request syntax with placeholder values
|
5880
5896
|
#
|
@@ -5931,6 +5947,7 @@ module Aws::SSM
|
|
5931
5947
|
# resp.logging_info.s3_region #=> String
|
5932
5948
|
# resp.name #=> String
|
5933
5949
|
# resp.description #=> String
|
5950
|
+
# resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
5934
5951
|
#
|
5935
5952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask AWS API Documentation
|
5936
5953
|
#
|
@@ -6201,6 +6218,11 @@ module Aws::SSM
|
|
6201
6218
|
|
6202
6219
|
# Retrieves the history of all changes to a parameter.
|
6203
6220
|
#
|
6221
|
+
# If you change the KMS key alias for the KMS key used to encrypt a
|
6222
|
+
# parameter, then you must also update the key alias the parameter uses
|
6223
|
+
# to reference KMS. Otherwise, `GetParameterHistory` retrieves whatever
|
6224
|
+
# the original key alias was referencing.
|
6225
|
+
#
|
6204
6226
|
# @option params [required, String] :name
|
6205
6227
|
# The name of the parameter for which you want to review history.
|
6206
6228
|
#
|
@@ -6352,11 +6374,11 @@ module Aws::SSM
|
|
6352
6374
|
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
6353
6375
|
# Filters to limit the request results.
|
6354
6376
|
#
|
6355
|
-
# <note markdown="1">
|
6356
|
-
#
|
6377
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`\:
|
6378
|
+
# `Type`, `KeyId`, and `Label`.
|
6357
6379
|
#
|
6358
|
-
# The following `Key` values
|
6359
|
-
# `GetParametersByPath`\: `tag`, `Name`, `Path`, and `Tier`.
|
6380
|
+
# The following `Key` values aren't supported for
|
6381
|
+
# `GetParametersByPath`\: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
|
6360
6382
|
#
|
6361
6383
|
# </note>
|
6362
6384
|
#
|
@@ -7502,7 +7524,9 @@ module Aws::SSM
|
|
7502
7524
|
req.send_request(options)
|
7503
7525
|
end
|
7504
7526
|
|
7505
|
-
# Lists all related-item resources associated with
|
7527
|
+
# Lists all related-item resources associated with a Systems Manager
|
7528
|
+
# OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services
|
7529
|
+
# Systems Manager.
|
7506
7530
|
#
|
7507
7531
|
# @option params [String] :ops_item_id
|
7508
7532
|
# The ID of the OpsItem for which you want to list all related-item
|
@@ -8637,6 +8661,27 @@ module Aws::SSM
|
|
8637
8661
|
# **A suitable default value is auto-generated.** You should normally
|
8638
8662
|
# not need to pass this option.**
|
8639
8663
|
#
|
8664
|
+
# @option params [String] :cutoff_behavior
|
8665
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
8666
|
+
# specified in the maintenance windows is reached.
|
8667
|
+
#
|
8668
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
8669
|
+
# are running continue. The default value.
|
8670
|
+
#
|
8671
|
+
# * `CANCEL_TASK`\:
|
8672
|
+
#
|
8673
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
8674
|
+
# is reached, any task invocations that are already running
|
8675
|
+
# continue, but no new task invocations are started.
|
8676
|
+
#
|
8677
|
+
# * For Run Command tasks: When the cutoff time is reached, the system
|
8678
|
+
# sends a CancelCommand operation that attempts to cancel the
|
8679
|
+
# command associated with the task. However, there is no guarantee
|
8680
|
+
# that the command will be terminated and the underlying process
|
8681
|
+
# stopped.
|
8682
|
+
#
|
8683
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
8684
|
+
#
|
8640
8685
|
# @return [Types::RegisterTaskWithMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8641
8686
|
#
|
8642
8687
|
# * {Types::RegisterTaskWithMaintenanceWindowResult#window_task_id #window_task_id} => String
|
@@ -8709,6 +8754,7 @@ module Aws::SSM
|
|
8709
8754
|
# name: "MaintenanceWindowName",
|
8710
8755
|
# description: "MaintenanceWindowDescription",
|
8711
8756
|
# client_token: "ClientToken",
|
8757
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
8712
8758
|
# })
|
8713
8759
|
#
|
8714
8760
|
# @example Response structure
|
@@ -8983,9 +9029,14 @@ module Aws::SSM
|
|
8983
9029
|
# The name of the Amazon Web Services Systems Manager document (SSM
|
8984
9030
|
# document) to run. This can be a public document or a custom document.
|
8985
9031
|
# 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*.
|
9032
|
+
# document Amazon Resource Name (ARN). For more information about how to
|
9033
|
+
# use shared documents, see [Using shared SSM documents][1] in the
|
9034
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
9035
|
+
#
|
9036
|
+
# <note markdown="1"> If you specify a document name or ARN that hasn't been shared with
|
9037
|
+
# your account, you receive an `InvalidDocument` error.
|
9038
|
+
#
|
9039
|
+
# </note>
|
8989
9040
|
#
|
8990
9041
|
#
|
8991
9042
|
#
|
@@ -9377,6 +9428,22 @@ module Aws::SSM
|
|
9377
9428
|
# The user-provided idempotency token. The token must be unique, is case
|
9378
9429
|
# insensitive, enforces the UUID format, and can't be reused.
|
9379
9430
|
#
|
9431
|
+
# @option params [Boolean] :auto_approve
|
9432
|
+
# Indicates whether the change request can be approved automatically
|
9433
|
+
# without the need for manual approvals.
|
9434
|
+
#
|
9435
|
+
# If `AutoApprovable` is enabled in a change template, then setting
|
9436
|
+
# `AutoApprove` to `true` in `StartChangeRequestExecution` creates a
|
9437
|
+
# change request that bypasses approver review.
|
9438
|
+
#
|
9439
|
+
# <note markdown="1"> Change Calendar restrictions are not bypassed in this scenario. If the
|
9440
|
+
# state of an associated calendar is `CLOSED`, change freeze approvers
|
9441
|
+
# must still grant permission for this change request to run. If they
|
9442
|
+
# don't, the change won't be processed until the calendar state is
|
9443
|
+
# again `OPEN`.
|
9444
|
+
#
|
9445
|
+
# </note>
|
9446
|
+
#
|
9380
9447
|
# @option params [required, Array<Types::Runbook>] :runbooks
|
9381
9448
|
# Information about the Automation runbooks that are run during the
|
9382
9449
|
# runbook workflow.
|
@@ -9424,6 +9491,7 @@ module Aws::SSM
|
|
9424
9491
|
# },
|
9425
9492
|
# change_request_name: "ChangeRequestName",
|
9426
9493
|
# client_token: "IdempotencyToken",
|
9494
|
+
# auto_approve: false,
|
9427
9495
|
# runbooks: [ # required
|
9428
9496
|
# {
|
9429
9497
|
# document_name: "DocumentARN", # required
|
@@ -10590,6 +10658,27 @@ module Aws::SSM
|
|
10590
10658
|
# RegisterTaskWithMaintenanceWindow operation are also required for this
|
10591
10659
|
# API request. Optional fields that aren't specified are set to null.
|
10592
10660
|
#
|
10661
|
+
# @option params [String] :cutoff_behavior
|
10662
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
10663
|
+
# specified in the maintenance windows is reached.
|
10664
|
+
#
|
10665
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
10666
|
+
# are running continue. The default value.
|
10667
|
+
#
|
10668
|
+
# * `CANCEL_TASK`\:
|
10669
|
+
#
|
10670
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
10671
|
+
# is reached, any task invocations that are already running
|
10672
|
+
# continue, but no new task invocations are started.
|
10673
|
+
#
|
10674
|
+
# * For Run Command tasks: When the cutoff time is reached, the system
|
10675
|
+
# sends a CancelCommand operation that attempts to cancel the
|
10676
|
+
# command associated with the task. However, there is no guarantee
|
10677
|
+
# that the command will be terminated and the underlying process
|
10678
|
+
# stopped.
|
10679
|
+
#
|
10680
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
10681
|
+
#
|
10593
10682
|
# @return [Types::UpdateMaintenanceWindowTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10594
10683
|
#
|
10595
10684
|
# * {Types::UpdateMaintenanceWindowTaskResult#window_id #window_id} => String
|
@@ -10605,6 +10694,7 @@ module Aws::SSM
|
|
10605
10694
|
# * {Types::UpdateMaintenanceWindowTaskResult#logging_info #logging_info} => Types::LoggingInfo
|
10606
10695
|
# * {Types::UpdateMaintenanceWindowTaskResult#name #name} => String
|
10607
10696
|
# * {Types::UpdateMaintenanceWindowTaskResult#description #description} => String
|
10697
|
+
# * {Types::UpdateMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
|
10608
10698
|
#
|
10609
10699
|
# @example Request syntax with placeholder values
|
10610
10700
|
#
|
@@ -10674,6 +10764,7 @@ module Aws::SSM
|
|
10674
10764
|
# name: "MaintenanceWindowName",
|
10675
10765
|
# description: "MaintenanceWindowDescription",
|
10676
10766
|
# replace: false,
|
10767
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
10677
10768
|
# })
|
10678
10769
|
#
|
10679
10770
|
# @example Response structure
|
@@ -10723,6 +10814,7 @@ module Aws::SSM
|
|
10723
10814
|
# resp.logging_info.s3_region #=> String
|
10724
10815
|
# resp.name #=> String
|
10725
10816
|
# resp.description #=> String
|
10817
|
+
# resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
10726
10818
|
#
|
10727
10819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask AWS API Documentation
|
10728
10820
|
#
|
@@ -11239,29 +11331,25 @@ module Aws::SSM
|
|
11239
11331
|
# * `/ssm/managed-instance/activation-tier`
|
11240
11332
|
#
|
11241
11333
|
# @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.
|
11334
|
+
# The new value to specify for the service setting. The following list
|
11335
|
+
# specifies the available values for each setting.
|
11245
11336
|
#
|
11246
|
-
# * Standard
|
11337
|
+
# * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
|
11338
|
+
# `Advanced`, `Intelligent-Tiering`
|
11247
11339
|
#
|
11248
|
-
# *
|
11340
|
+
# * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
|
11249
11341
|
#
|
11250
|
-
# *
|
11342
|
+
# * `/ssm/managed-instance/activation-tier`\: `true` or `false`
|
11251
11343
|
#
|
11252
|
-
#
|
11253
|
-
# `/ssm/managed-instance/activation-tier` setting IDs, the setting value
|
11254
|
-
# can be true or false.
|
11344
|
+
# * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
|
11255
11345
|
#
|
11256
|
-
#
|
11257
|
-
#
|
11346
|
+
# * `/ssm/automation/customer-script-log-group-name`\: the name of an
|
11347
|
+
# Amazon CloudWatch Logs log group
|
11258
11348
|
#
|
11259
|
-
#
|
11260
|
-
#
|
11261
|
-
# group.
|
11349
|
+
# * `/ssm/documents/console/public-sharing-permission`\: `Enable` or
|
11350
|
+
# `Disable`
|
11262
11351
|
#
|
11263
|
-
#
|
11264
|
-
# the setting value can be `Enable` or `Disable`.
|
11352
|
+
# * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
|
11265
11353
|
#
|
11266
11354
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
11267
11355
|
#
|
@@ -11294,7 +11382,7 @@ module Aws::SSM
|
|
11294
11382
|
params: params,
|
11295
11383
|
config: config)
|
11296
11384
|
context[:gem_name] = 'aws-sdk-ssm'
|
11297
|
-
context[:gem_version] = '1.
|
11385
|
+
context[:gem_version] = '1.121.0'
|
11298
11386
|
Seahorse::Client::Request.new(handlers, context)
|
11299
11387
|
end
|
11300
11388
|
|
@@ -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"))
|
@@ -4154,6 +4158,7 @@ module Aws::SSM
|
|
4154
4158
|
StartChangeRequestExecutionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
|
4155
4159
|
StartChangeRequestExecutionRequest.add_member(:change_request_name, Shapes::ShapeRef.new(shape: ChangeRequestName, location_name: "ChangeRequestName"))
|
4156
4160
|
StartChangeRequestExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
|
4161
|
+
StartChangeRequestExecutionRequest.add_member(:auto_approve, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoApprove"))
|
4157
4162
|
StartChangeRequestExecutionRequest.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, required: true, location_name: "Runbooks"))
|
4158
4163
|
StartChangeRequestExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
4159
4164
|
StartChangeRequestExecutionRequest.add_member(:scheduled_end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledEndTime"))
|
@@ -4420,6 +4425,7 @@ module Aws::SSM
|
|
4420
4425
|
UpdateMaintenanceWindowTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
4421
4426
|
UpdateMaintenanceWindowTaskRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
4422
4427
|
UpdateMaintenanceWindowTaskRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace", metadata: {"box"=>true}))
|
4428
|
+
UpdateMaintenanceWindowTaskRequest.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
4423
4429
|
UpdateMaintenanceWindowTaskRequest.struct_class = Types::UpdateMaintenanceWindowTaskRequest
|
4424
4430
|
|
4425
4431
|
UpdateMaintenanceWindowTaskResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
@@ -4435,6 +4441,7 @@ module Aws::SSM
|
|
4435
4441
|
UpdateMaintenanceWindowTaskResult.add_member(:logging_info, Shapes::ShapeRef.new(shape: LoggingInfo, location_name: "LoggingInfo"))
|
4436
4442
|
UpdateMaintenanceWindowTaskResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
|
4437
4443
|
UpdateMaintenanceWindowTaskResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
|
4444
|
+
UpdateMaintenanceWindowTaskResult.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
|
4438
4445
|
UpdateMaintenanceWindowTaskResult.struct_class = Types::UpdateMaintenanceWindowTaskResult
|
4439
4446
|
|
4440
4447
|
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]
|
@@ -282,7 +280,9 @@ module Aws::SSM
|
|
282
280
|
# @return [String]
|
283
281
|
#
|
284
282
|
# @!attribute [rw] targets
|
285
|
-
# The instances targeted by the request to create an association.
|
283
|
+
# The instances targeted by the request to create an association. You
|
284
|
+
# can target all instances in an Amazon Web Services account by
|
285
|
+
# specifying the `InstanceIds` key with a value of `*`.
|
286
286
|
# @return [Array<Types::Target>]
|
287
287
|
#
|
288
288
|
# @!attribute [rw] last_execution_date
|
@@ -2014,22 +2014,63 @@ module Aws::SSM
|
|
2014
2014
|
# executions from before July 7, 2021.
|
2015
2015
|
#
|
2016
2016
|
# * **Status**\: Specify a valid command status to see a list of all
|
2017
|
-
# command executions with that status.
|
2018
|
-
#
|
2017
|
+
# command executions with that status. The status choices depend on
|
2018
|
+
# the API you call.
|
2019
|
+
#
|
2020
|
+
# The status values you can specify for `ListCommands` are:
|
2021
|
+
#
|
2022
|
+
# * `Pending`
|
2023
|
+
#
|
2024
|
+
# * `InProgress`
|
2025
|
+
#
|
2026
|
+
# * `Success`
|
2027
|
+
#
|
2028
|
+
# * `Cancelled`
|
2029
|
+
#
|
2030
|
+
# * `Failed`
|
2031
|
+
#
|
2032
|
+
# * `TimedOut` (this includes both Delivery and Execution time outs)
|
2033
|
+
#
|
2034
|
+
# * `AccessDenied`
|
2035
|
+
#
|
2036
|
+
# * `DeliveryTimedOut`
|
2037
|
+
#
|
2038
|
+
# * `ExecutionTimedOut`
|
2039
|
+
#
|
2040
|
+
# * `Incomplete`
|
2041
|
+
#
|
2042
|
+
# * `NoInstancesInTag`
|
2043
|
+
#
|
2044
|
+
# * `LimitExceeded`
|
2045
|
+
#
|
2046
|
+
# The status values you can specify for `ListCommandInvocations`
|
2047
|
+
# are:
|
2019
2048
|
#
|
2020
2049
|
# * `Pending`
|
2021
2050
|
#
|
2022
2051
|
# * `InProgress`
|
2023
2052
|
#
|
2053
|
+
# * `Delayed`
|
2054
|
+
#
|
2024
2055
|
# * `Success`
|
2025
2056
|
#
|
2026
2057
|
# * `Cancelled`
|
2027
2058
|
#
|
2028
2059
|
# * `Failed`
|
2029
2060
|
#
|
2030
|
-
# * `TimedOut`
|
2061
|
+
# * `TimedOut` (this includes both Delivery and Execution time outs)
|
2062
|
+
#
|
2063
|
+
# * `AccessDenied`
|
2064
|
+
#
|
2065
|
+
# * `DeliveryTimedOut`
|
2066
|
+
#
|
2067
|
+
# * `ExecutionTimedOut`
|
2031
2068
|
#
|
2032
|
-
# * `
|
2069
|
+
# * `Undeliverable`
|
2070
|
+
#
|
2071
|
+
# * `InvalidPlatform`
|
2072
|
+
#
|
2073
|
+
# * `Terminated`
|
2033
2074
|
#
|
2034
2075
|
# * **DocumentName**\: Specify name of the Amazon Web Services Systems
|
2035
2076
|
# Manager document (SSM document) for which you want to see command
|
@@ -2071,9 +2112,7 @@ module Aws::SSM
|
|
2071
2112
|
# @return [String]
|
2072
2113
|
#
|
2073
2114
|
# @!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.
|
2115
|
+
# The fully qualified host name of the managed instance.
|
2077
2116
|
# @return [String]
|
2078
2117
|
#
|
2079
2118
|
# @!attribute [rw] comment
|
@@ -3129,10 +3168,12 @@ module Aws::SSM
|
|
3129
3168
|
# @!attribute [rw] targets
|
3130
3169
|
# The targets for the association. You can target instances by using
|
3131
3170
|
# tags, Amazon Web Services resource groups, all instances in an
|
3132
|
-
# Amazon Web Services account, or individual instance IDs.
|
3133
|
-
#
|
3134
|
-
#
|
3135
|
-
#
|
3171
|
+
# Amazon Web Services account, or individual instance IDs. You can
|
3172
|
+
# target all instances in an Amazon Web Services account by specifying
|
3173
|
+
# the `InstanceIds` key with a value of `*`. For more information
|
3174
|
+
# about choosing targets for an association, see [Using targets and
|
3175
|
+
# rate controls with State Manager associations][1] in the *Amazon Web
|
3176
|
+
# Services Systems Manager User Guide*.
|
3136
3177
|
#
|
3137
3178
|
#
|
3138
3179
|
#
|
@@ -6985,12 +7026,12 @@ module Aws::SSM
|
|
6985
7026
|
#
|
6986
7027
|
# @!attribute [rw] ops_item_id
|
6987
7028
|
# The ID of the OpsItem for which you want to delete an association
|
6988
|
-
# between the OpsItem and a related
|
7029
|
+
# between the OpsItem and a related item.
|
6989
7030
|
# @return [String]
|
6990
7031
|
#
|
6991
7032
|
# @!attribute [rw] association_id
|
6992
7033
|
# The ID of the association for which you want to delete an
|
6993
|
-
# association between the OpsItem and a related
|
7034
|
+
# association between the OpsItem and a related item.
|
6994
7035
|
# @return [String]
|
6995
7036
|
#
|
6996
7037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItemRequest AWS API Documentation
|
@@ -9222,6 +9263,16 @@ module Aws::SSM
|
|
9222
9263
|
# The retrieved task description.
|
9223
9264
|
# @return [String]
|
9224
9265
|
#
|
9266
|
+
# @!attribute [rw] cutoff_behavior
|
9267
|
+
# The action to take on tasks when the maintenance window cutoff time
|
9268
|
+
# is reached. `CONTINUE_TASK` means that tasks continue to run. For
|
9269
|
+
# Automation, Lambda, Step Functions tasks, `CANCEL_TASK` means that
|
9270
|
+
# currently running task invocations continue, but no new task
|
9271
|
+
# invocations are started. For Run Command tasks, `CANCEL_TASK` means
|
9272
|
+
# the system attempts to stop the task by sending a `CancelCommand`
|
9273
|
+
# operation.
|
9274
|
+
# @return [String]
|
9275
|
+
#
|
9225
9276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult AWS API Documentation
|
9226
9277
|
#
|
9227
9278
|
class GetMaintenanceWindowTaskResult < Struct.new(
|
@@ -9238,7 +9289,8 @@ module Aws::SSM
|
|
9238
9289
|
:max_errors,
|
9239
9290
|
:logging_info,
|
9240
9291
|
:name,
|
9241
|
-
:description
|
9292
|
+
:description,
|
9293
|
+
:cutoff_behavior)
|
9242
9294
|
SENSITIVE = [:task_parameters, :description]
|
9243
9295
|
include Aws::Structure
|
9244
9296
|
end
|
@@ -9572,11 +9624,12 @@ module Aws::SSM
|
|
9572
9624
|
# @!attribute [rw] parameter_filters
|
9573
9625
|
# Filters to limit the request results.
|
9574
9626
|
#
|
9575
|
-
# <note markdown="1">
|
9576
|
-
#
|
9627
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`\:
|
9628
|
+
# `Type`, `KeyId`, and `Label`.
|
9577
9629
|
#
|
9578
|
-
# The following `Key` values
|
9579
|
-
# `GetParametersByPath`\: `tag`, `Name`, `Path`, and
|
9630
|
+
# The following `Key` values aren't supported for
|
9631
|
+
# `GetParametersByPath`\: `tag`, `DataType`, `Name`, `Path`, and
|
9632
|
+
# `Tier`.
|
9580
9633
|
#
|
9581
9634
|
# </note>
|
9582
9635
|
# @return [Array<Types::ParameterStringFilter>]
|
@@ -13609,6 +13662,11 @@ module Aws::SSM
|
|
13609
13662
|
# A description of the task.
|
13610
13663
|
# @return [String]
|
13611
13664
|
#
|
13665
|
+
# @!attribute [rw] cutoff_behavior
|
13666
|
+
# The specification for whether tasks should continue to run after the
|
13667
|
+
# cutoff time specified in the maintenance windows is reached.
|
13668
|
+
# @return [String]
|
13669
|
+
#
|
13612
13670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask AWS API Documentation
|
13613
13671
|
#
|
13614
13672
|
class MaintenanceWindowTask < Struct.new(
|
@@ -13624,7 +13682,8 @@ module Aws::SSM
|
|
13624
13682
|
:max_concurrency,
|
13625
13683
|
:max_errors,
|
13626
13684
|
:name,
|
13627
|
-
:description
|
13685
|
+
:description,
|
13686
|
+
:cutoff_behavior)
|
13628
13687
|
SENSITIVE = [:task_parameters, :description]
|
13629
13688
|
include Aws::Structure
|
13630
13689
|
end
|
@@ -15266,11 +15325,11 @@ module Aws::SSM
|
|
15266
15325
|
# and GetParametersByPath API operations. However, not all of the
|
15267
15326
|
# pattern values listed for `Key` can be used with both operations.
|
15268
15327
|
#
|
15269
|
-
# For `DescribeActions`, all of the listed patterns are valid
|
15270
|
-
#
|
15328
|
+
# For `DescribeActions`, all of the listed patterns are valid except
|
15329
|
+
# `Label`.
|
15271
15330
|
#
|
15272
15331
|
# For `GetParametersByPath`, the following patterns listed for `Key`
|
15273
|
-
# aren't valid: `tag`, `Name`, `Path`, and `Tier`.
|
15332
|
+
# aren't valid: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
|
15274
15333
|
#
|
15275
15334
|
# For examples of Amazon Web Services CLI commands demonstrating valid
|
15276
15335
|
# parameter filter constructions, see [Searching for Systems Manager
|
@@ -16731,6 +16790,7 @@ module Aws::SSM
|
|
16731
16790
|
# name: "MaintenanceWindowName",
|
16732
16791
|
# description: "MaintenanceWindowDescription",
|
16733
16792
|
# client_token: "ClientToken",
|
16793
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
16734
16794
|
# }
|
16735
16795
|
#
|
16736
16796
|
# @!attribute [rw] window_id
|
@@ -16870,6 +16930,28 @@ module Aws::SSM
|
|
16870
16930
|
# not need to pass this option.
|
16871
16931
|
# @return [String]
|
16872
16932
|
#
|
16933
|
+
# @!attribute [rw] cutoff_behavior
|
16934
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
16935
|
+
# specified in the maintenance windows is reached.
|
16936
|
+
#
|
16937
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
16938
|
+
# are running continue. The default value.
|
16939
|
+
#
|
16940
|
+
# * `CANCEL_TASK`\:
|
16941
|
+
#
|
16942
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff
|
16943
|
+
# time is reached, any task invocations that are already running
|
16944
|
+
# continue, but no new task invocations are started.
|
16945
|
+
#
|
16946
|
+
# * For Run Command tasks: When the cutoff time is reached, the
|
16947
|
+
# system sends a CancelCommand operation that attempts to cancel
|
16948
|
+
# the command associated with the task. However, there is no
|
16949
|
+
# guarantee that the command will be terminated and the underlying
|
16950
|
+
# process stopped.
|
16951
|
+
#
|
16952
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
16953
|
+
# @return [String]
|
16954
|
+
#
|
16873
16955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowRequest AWS API Documentation
|
16874
16956
|
#
|
16875
16957
|
class RegisterTaskWithMaintenanceWindowRequest < Struct.new(
|
@@ -16886,7 +16968,8 @@ module Aws::SSM
|
|
16886
16968
|
:logging_info,
|
16887
16969
|
:name,
|
16888
16970
|
:description,
|
16889
|
-
:client_token
|
16971
|
+
:client_token,
|
16972
|
+
:cutoff_behavior)
|
16890
16973
|
SENSITIVE = [:task_parameters, :description]
|
16891
16974
|
include Aws::Structure
|
16892
16975
|
end
|
@@ -17790,9 +17873,7 @@ module Aws::SSM
|
|
17790
17873
|
# }
|
17791
17874
|
#
|
17792
17875
|
# @!attribute [rw] output_s3_region
|
17793
|
-
#
|
17794
|
-
# ignores it. Instead, Amazon Web Services Systems Manager
|
17795
|
-
# automatically determines the Region of the S3 bucket.
|
17876
|
+
# The Amazon Web Services Region of the S3 bucket.
|
17796
17877
|
# @return [String]
|
17797
17878
|
#
|
17798
17879
|
# @!attribute [rw] output_s3_bucket_name
|
@@ -17989,9 +18070,15 @@ module Aws::SSM
|
|
17989
18070
|
# The name of the Amazon Web Services Systems Manager document (SSM
|
17990
18071
|
# document) to run. This can be a public document or a custom
|
17991
18072
|
# 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
|
18073
|
+
# specify the document Amazon Resource Name (ARN). For more
|
18074
|
+
# information about how to use shared documents, see [Using shared SSM
|
18075
|
+
# documents][1] in the *Amazon Web Services Systems Manager User
|
18076
|
+
# Guide*.
|
18077
|
+
#
|
18078
|
+
# <note markdown="1"> If you specify a document name or ARN that hasn't been shared with
|
18079
|
+
# your account, you receive an `InvalidDocument` error.
|
18080
|
+
#
|
18081
|
+
# </note>
|
17995
18082
|
#
|
17996
18083
|
#
|
17997
18084
|
#
|
@@ -18626,6 +18713,7 @@ module Aws::SSM
|
|
18626
18713
|
# },
|
18627
18714
|
# change_request_name: "ChangeRequestName",
|
18628
18715
|
# client_token: "IdempotencyToken",
|
18716
|
+
# auto_approve: false,
|
18629
18717
|
# runbooks: [ # required
|
18630
18718
|
# {
|
18631
18719
|
# document_name: "DocumentARN", # required
|
@@ -18699,6 +18787,23 @@ module Aws::SSM
|
|
18699
18787
|
# case insensitive, enforces the UUID format, and can't be reused.
|
18700
18788
|
# @return [String]
|
18701
18789
|
#
|
18790
|
+
# @!attribute [rw] auto_approve
|
18791
|
+
# Indicates whether the change request can be approved automatically
|
18792
|
+
# without the need for manual approvals.
|
18793
|
+
#
|
18794
|
+
# If `AutoApprovable` is enabled in a change template, then setting
|
18795
|
+
# `AutoApprove` to `true` in `StartChangeRequestExecution` creates a
|
18796
|
+
# change request that bypasses approver review.
|
18797
|
+
#
|
18798
|
+
# <note markdown="1"> Change Calendar restrictions are not bypassed in this scenario. If
|
18799
|
+
# the state of an associated calendar is `CLOSED`, change freeze
|
18800
|
+
# approvers must still grant permission for this change request to
|
18801
|
+
# run. If they don't, the change won't be processed until the
|
18802
|
+
# calendar state is again `OPEN`.
|
18803
|
+
#
|
18804
|
+
# </note>
|
18805
|
+
# @return [Boolean]
|
18806
|
+
#
|
18702
18807
|
# @!attribute [rw] runbooks
|
18703
18808
|
# Information about the Automation runbooks that are run during the
|
18704
18809
|
# runbook workflow.
|
@@ -18744,6 +18849,7 @@ module Aws::SSM
|
|
18744
18849
|
:parameters,
|
18745
18850
|
:change_request_name,
|
18746
18851
|
:client_token,
|
18852
|
+
:auto_approve,
|
18747
18853
|
:runbooks,
|
18748
18854
|
:tags,
|
18749
18855
|
:scheduled_end_time,
|
@@ -20344,6 +20450,7 @@ module Aws::SSM
|
|
20344
20450
|
# name: "MaintenanceWindowName",
|
20345
20451
|
# description: "MaintenanceWindowDescription",
|
20346
20452
|
# replace: false,
|
20453
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
20347
20454
|
# }
|
20348
20455
|
#
|
20349
20456
|
# @!attribute [rw] window_id
|
@@ -20499,6 +20606,28 @@ module Aws::SSM
|
|
20499
20606
|
# null.
|
20500
20607
|
# @return [Boolean]
|
20501
20608
|
#
|
20609
|
+
# @!attribute [rw] cutoff_behavior
|
20610
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
20611
|
+
# specified in the maintenance windows is reached.
|
20612
|
+
#
|
20613
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
20614
|
+
# are running continue. The default value.
|
20615
|
+
#
|
20616
|
+
# * `CANCEL_TASK`\:
|
20617
|
+
#
|
20618
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff
|
20619
|
+
# time is reached, any task invocations that are already running
|
20620
|
+
# continue, but no new task invocations are started.
|
20621
|
+
#
|
20622
|
+
# * For Run Command tasks: When the cutoff time is reached, the
|
20623
|
+
# system sends a CancelCommand operation that attempts to cancel
|
20624
|
+
# the command associated with the task. However, there is no
|
20625
|
+
# guarantee that the command will be terminated and the underlying
|
20626
|
+
# process stopped.
|
20627
|
+
#
|
20628
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
20629
|
+
# @return [String]
|
20630
|
+
#
|
20502
20631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest AWS API Documentation
|
20503
20632
|
#
|
20504
20633
|
class UpdateMaintenanceWindowTaskRequest < Struct.new(
|
@@ -20515,7 +20644,8 @@ module Aws::SSM
|
|
20515
20644
|
:logging_info,
|
20516
20645
|
:name,
|
20517
20646
|
:description,
|
20518
|
-
:replace
|
20647
|
+
:replace,
|
20648
|
+
:cutoff_behavior)
|
20519
20649
|
SENSITIVE = [:task_parameters, :description]
|
20520
20650
|
include Aws::Structure
|
20521
20651
|
end
|
@@ -20593,6 +20723,11 @@ module Aws::SSM
|
|
20593
20723
|
# The updated task description.
|
20594
20724
|
# @return [String]
|
20595
20725
|
#
|
20726
|
+
# @!attribute [rw] cutoff_behavior
|
20727
|
+
# The specification for whether tasks should continue to run after the
|
20728
|
+
# cutoff time specified in the maintenance windows is reached.
|
20729
|
+
# @return [String]
|
20730
|
+
#
|
20596
20731
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult AWS API Documentation
|
20597
20732
|
#
|
20598
20733
|
class UpdateMaintenanceWindowTaskResult < Struct.new(
|
@@ -20608,7 +20743,8 @@ module Aws::SSM
|
|
20608
20743
|
:max_errors,
|
20609
20744
|
:logging_info,
|
20610
20745
|
:name,
|
20611
|
-
:description
|
20746
|
+
:description,
|
20747
|
+
:cutoff_behavior)
|
20612
20748
|
SENSITIVE = [:task_parameters, :description]
|
20613
20749
|
include Aws::Structure
|
20614
20750
|
end
|
@@ -21178,29 +21314,25 @@ module Aws::SSM
|
|
21178
21314
|
# @return [String]
|
21179
21315
|
#
|
21180
21316
|
# @!attribute [rw] setting_value
|
21181
|
-
# The new value to specify for the service setting.
|
21182
|
-
#
|
21183
|
-
# setting value can be one of the following.
|
21317
|
+
# The new value to specify for the service setting. The following list
|
21318
|
+
# specifies the available values for each setting.
|
21184
21319
|
#
|
21185
|
-
# * Standard
|
21320
|
+
# * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
|
21321
|
+
# `Advanced`, `Intelligent-Tiering`
|
21186
21322
|
#
|
21187
|
-
# *
|
21323
|
+
# * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
|
21188
21324
|
#
|
21189
|
-
# *
|
21325
|
+
# * `/ssm/managed-instance/activation-tier`\: `true` or `false`
|
21190
21326
|
#
|
21191
|
-
#
|
21192
|
-
# `/ssm/managed-instance/activation-tier` setting IDs, the setting
|
21193
|
-
# value can be true or false.
|
21327
|
+
# * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
|
21194
21328
|
#
|
21195
|
-
#
|
21196
|
-
#
|
21329
|
+
# * `/ssm/automation/customer-script-log-group-name`\: the name of an
|
21330
|
+
# Amazon CloudWatch Logs log group
|
21197
21331
|
#
|
21198
|
-
#
|
21199
|
-
#
|
21200
|
-
# group.
|
21332
|
+
# * `/ssm/documents/console/public-sharing-permission`\: `Enable` or
|
21333
|
+
# `Disable`
|
21201
21334
|
#
|
21202
|
-
#
|
21203
|
-
# ID, the setting value can be `Enable` or `Disable`.
|
21335
|
+
# * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
|
21204
21336
|
# @return [String]
|
21205
21337
|
#
|
21206
21338
|
# @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.121.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-
|
11
|
+
date: 2021-11-04 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.
|
22
|
+
version: 3.122.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.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|