aws-sdk-ssm 1.115.0 → 1.119.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +115 -36
- data/lib/aws-sdk-ssm/client_api.rb +7 -0
- data/lib/aws-sdk-ssm/types.rb +185 -53
- data/lib/aws-sdk-ssm/waiters.rb +5 -0
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05df3c1668305e9acefd6f26060a7c526c2eaec6de2764f850bb2b7313e7e733
|
4
|
+
data.tar.gz: b78da0284dffcc95e4211b5d874146cf933ee429105fbbf52b3777e146ab80d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9a19595ce728cc6c5512a1f71b70197d49d2564d2ec4558be59d54148c5009551261dedce9067bd2b4dcb1f34337945cd5cc43e13cd7c2d5dd87d12865465c0
|
7
|
+
data.tar.gz: d3d9211c8499b372a101da5ab0cf6eb5af47622e1da8fbca89a4205be2d78fda98a6b414c2f9ead98d10c76ab15435e8922b8e34cb3c3ee4b33d9709c5d2ae03
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.119.0 (2021-10-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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)
|
8
|
+
|
9
|
+
1.118.0 (2021-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added cutoff behavior support for preventing new task invocations from starting when the maintenance window cutoff time is reached.
|
13
|
+
|
14
|
+
1.117.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.116.0 (2021-08-24)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Updated Parameter Store property for logging improvements.
|
23
|
+
|
4
24
|
1.115.0 (2021-08-09)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.119.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
|
#
|
@@ -735,8 +733,10 @@ module Aws::SSM
|
|
735
733
|
# @option params [Array<Types::Target>] :targets
|
736
734
|
# The targets for the association. You can target instances by using
|
737
735
|
# tags, Amazon Web Services resource groups, all instances in an Amazon
|
738
|
-
# Web Services account, or individual instance IDs.
|
739
|
-
#
|
736
|
+
# Web Services account, or individual instance IDs. You can target all
|
737
|
+
# instances in an Amazon Web Services account by specifying the
|
738
|
+
# `InstanceIds` key with a value of `*`. For more information about
|
739
|
+
# choosing targets for an association, see [Using targets and rate
|
740
740
|
# controls with State Manager associations][1] in the *Amazon Web
|
741
741
|
# Services Systems Manager User Guide*.
|
742
742
|
#
|
@@ -4194,6 +4194,7 @@ module Aws::SSM
|
|
4194
4194
|
# resp.tasks[0].max_errors #=> String
|
4195
4195
|
# resp.tasks[0].name #=> String
|
4196
4196
|
# resp.tasks[0].description #=> String
|
4197
|
+
# resp.tasks[0].cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
4197
4198
|
# resp.next_token #=> String
|
4198
4199
|
#
|
4199
4200
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks AWS API Documentation
|
@@ -4477,6 +4478,11 @@ module Aws::SSM
|
|
4477
4478
|
# You can specify the `NextToken` in a subsequent call to get the next
|
4478
4479
|
# set of results.
|
4479
4480
|
#
|
4481
|
+
# If you change the KMS key alias for the KMS key used to encrypt a
|
4482
|
+
# parameter, then you must also update the key alias the parameter uses
|
4483
|
+
# to reference KMS. Otherwise, `DescribeParameters` retrieves whatever
|
4484
|
+
# the original key alias was referencing.
|
4485
|
+
#
|
4480
4486
|
# @option params [Array<Types::ParametersFilter>] :filters
|
4481
4487
|
# This data type is deprecated. Instead, use `ParameterFilters`.
|
4482
4488
|
#
|
@@ -4894,18 +4900,18 @@ module Aws::SSM
|
|
4894
4900
|
req.send_request(options)
|
4895
4901
|
end
|
4896
4902
|
|
4897
|
-
# Deletes the association between an OpsItem and a related
|
4903
|
+
# Deletes the association between an OpsItem and a related item. For
|
4898
4904
|
# example, this API operation can delete an Incident Manager incident
|
4899
4905
|
# from an OpsItem. Incident Manager is a capability of Amazon Web
|
4900
4906
|
# Services Systems Manager.
|
4901
4907
|
#
|
4902
4908
|
# @option params [required, String] :ops_item_id
|
4903
4909
|
# The ID of the OpsItem for which you want to delete an association
|
4904
|
-
# between the OpsItem and a related
|
4910
|
+
# between the OpsItem and a related item.
|
4905
4911
|
#
|
4906
4912
|
# @option params [required, String] :association_id
|
4907
4913
|
# The ID of the association for which you want to delete an association
|
4908
|
-
# between the OpsItem and a related
|
4914
|
+
# between the OpsItem and a related item.
|
4909
4915
|
#
|
4910
4916
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4911
4917
|
#
|
@@ -5875,6 +5881,7 @@ module Aws::SSM
|
|
5875
5881
|
# * {Types::GetMaintenanceWindowTaskResult#logging_info #logging_info} => Types::LoggingInfo
|
5876
5882
|
# * {Types::GetMaintenanceWindowTaskResult#name #name} => String
|
5877
5883
|
# * {Types::GetMaintenanceWindowTaskResult#description #description} => String
|
5884
|
+
# * {Types::GetMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
|
5878
5885
|
#
|
5879
5886
|
# @example Request syntax with placeholder values
|
5880
5887
|
#
|
@@ -5931,6 +5938,7 @@ module Aws::SSM
|
|
5931
5938
|
# resp.logging_info.s3_region #=> String
|
5932
5939
|
# resp.name #=> String
|
5933
5940
|
# resp.description #=> String
|
5941
|
+
# resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
5934
5942
|
#
|
5935
5943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask AWS API Documentation
|
5936
5944
|
#
|
@@ -6201,6 +6209,11 @@ module Aws::SSM
|
|
6201
6209
|
|
6202
6210
|
# Retrieves the history of all changes to a parameter.
|
6203
6211
|
#
|
6212
|
+
# If you change the KMS key alias for the KMS key used to encrypt a
|
6213
|
+
# parameter, then you must also update the key alias the parameter uses
|
6214
|
+
# to reference KMS. Otherwise, `GetParameterHistory` retrieves whatever
|
6215
|
+
# the original key alias was referencing.
|
6216
|
+
#
|
6204
6217
|
# @option params [required, String] :name
|
6205
6218
|
# The name of the parameter for which you want to review history.
|
6206
6219
|
#
|
@@ -6352,11 +6365,11 @@ module Aws::SSM
|
|
6352
6365
|
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
6353
6366
|
# Filters to limit the request results.
|
6354
6367
|
#
|
6355
|
-
# <note markdown="1">
|
6356
|
-
#
|
6368
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`\:
|
6369
|
+
# `Type`, `KeyId`, and `Label`.
|
6357
6370
|
#
|
6358
|
-
# The following `Key` values
|
6359
|
-
# `GetParametersByPath`\: `tag`, `Name`, `Path`, and `Tier`.
|
6371
|
+
# The following `Key` values aren't supported for
|
6372
|
+
# `GetParametersByPath`\: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
|
6360
6373
|
#
|
6361
6374
|
# </note>
|
6362
6375
|
#
|
@@ -7502,7 +7515,9 @@ module Aws::SSM
|
|
7502
7515
|
req.send_request(options)
|
7503
7516
|
end
|
7504
7517
|
|
7505
|
-
# Lists all related-item resources associated with
|
7518
|
+
# Lists all related-item resources associated with a Systems Manager
|
7519
|
+
# OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services
|
7520
|
+
# Systems Manager.
|
7506
7521
|
#
|
7507
7522
|
# @option params [String] :ops_item_id
|
7508
7523
|
# The ID of the OpsItem for which you want to list all related-item
|
@@ -8637,6 +8652,27 @@ module Aws::SSM
|
|
8637
8652
|
# **A suitable default value is auto-generated.** You should normally
|
8638
8653
|
# not need to pass this option.**
|
8639
8654
|
#
|
8655
|
+
# @option params [String] :cutoff_behavior
|
8656
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
8657
|
+
# specified in the maintenance windows is reached.
|
8658
|
+
#
|
8659
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
8660
|
+
# are running continue. The default value.
|
8661
|
+
#
|
8662
|
+
# * `CANCEL_TASK`\:
|
8663
|
+
#
|
8664
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
8665
|
+
# is reached, any task invocations that are already running
|
8666
|
+
# continue, but no new task invocations are started.
|
8667
|
+
#
|
8668
|
+
# * For Run Command tasks: When the cutoff time is reached, the system
|
8669
|
+
# sends a CancelCommand operation that attempts to cancel the
|
8670
|
+
# command associated with the task. However, there is no guarantee
|
8671
|
+
# that the command will be terminated and the underlying process
|
8672
|
+
# stopped.
|
8673
|
+
#
|
8674
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
8675
|
+
#
|
8640
8676
|
# @return [Types::RegisterTaskWithMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8641
8677
|
#
|
8642
8678
|
# * {Types::RegisterTaskWithMaintenanceWindowResult#window_task_id #window_task_id} => String
|
@@ -8709,6 +8745,7 @@ module Aws::SSM
|
|
8709
8745
|
# name: "MaintenanceWindowName",
|
8710
8746
|
# description: "MaintenanceWindowDescription",
|
8711
8747
|
# client_token: "ClientToken",
|
8748
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
8712
8749
|
# })
|
8713
8750
|
#
|
8714
8751
|
# @example Response structure
|
@@ -8983,9 +9020,14 @@ module Aws::SSM
|
|
8983
9020
|
# The name of the Amazon Web Services Systems Manager document (SSM
|
8984
9021
|
# document) to run. This can be a public document or a custom document.
|
8985
9022
|
# 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*.
|
9023
|
+
# document Amazon Resource Name (ARN). For more information about how to
|
9024
|
+
# use shared documents, see [Using shared SSM documents][1] in the
|
9025
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
9026
|
+
#
|
9027
|
+
# <note markdown="1"> If you specify a document name or ARN that hasn't been shared with
|
9028
|
+
# your account, you receive an `InvalidDocument` error.
|
9029
|
+
#
|
9030
|
+
# </note>
|
8989
9031
|
#
|
8990
9032
|
#
|
8991
9033
|
#
|
@@ -9377,6 +9419,22 @@ module Aws::SSM
|
|
9377
9419
|
# The user-provided idempotency token. The token must be unique, is case
|
9378
9420
|
# insensitive, enforces the UUID format, and can't be reused.
|
9379
9421
|
#
|
9422
|
+
# @option params [Boolean] :auto_approve
|
9423
|
+
# Indicates whether the change request can be approved automatically
|
9424
|
+
# without the need for manual approvals.
|
9425
|
+
#
|
9426
|
+
# If `AutoApprovable` is enabled in a change template, then setting
|
9427
|
+
# `AutoApprove` to `true` in `StartChangeRequestExecution` creates a
|
9428
|
+
# change request that bypasses approver review.
|
9429
|
+
#
|
9430
|
+
# <note markdown="1"> Change Calendar restrictions are not bypassed in this scenario. If the
|
9431
|
+
# state of an associated calendar is `CLOSED`, change freeze approvers
|
9432
|
+
# must still grant permission for this change request to run. If they
|
9433
|
+
# don't, the change won't be processed until the calendar state is
|
9434
|
+
# again `OPEN`.
|
9435
|
+
#
|
9436
|
+
# </note>
|
9437
|
+
#
|
9380
9438
|
# @option params [required, Array<Types::Runbook>] :runbooks
|
9381
9439
|
# Information about the Automation runbooks that are run during the
|
9382
9440
|
# runbook workflow.
|
@@ -9424,6 +9482,7 @@ module Aws::SSM
|
|
9424
9482
|
# },
|
9425
9483
|
# change_request_name: "ChangeRequestName",
|
9426
9484
|
# client_token: "IdempotencyToken",
|
9485
|
+
# auto_approve: false,
|
9427
9486
|
# runbooks: [ # required
|
9428
9487
|
# {
|
9429
9488
|
# document_name: "DocumentARN", # required
|
@@ -10590,6 +10649,27 @@ module Aws::SSM
|
|
10590
10649
|
# RegisterTaskWithMaintenanceWindow operation are also required for this
|
10591
10650
|
# API request. Optional fields that aren't specified are set to null.
|
10592
10651
|
#
|
10652
|
+
# @option params [String] :cutoff_behavior
|
10653
|
+
# Indicates whether tasks should continue to run after the cutoff time
|
10654
|
+
# specified in the maintenance windows is reached.
|
10655
|
+
#
|
10656
|
+
# * `CONTINUE_TASK`\: When the cutoff time is reached, any tasks that
|
10657
|
+
# are running continue. The default value.
|
10658
|
+
#
|
10659
|
+
# * `CANCEL_TASK`\:
|
10660
|
+
#
|
10661
|
+
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
10662
|
+
# is reached, any task invocations that are already running
|
10663
|
+
# continue, but no new task invocations are started.
|
10664
|
+
#
|
10665
|
+
# * For Run Command tasks: When the cutoff time is reached, the system
|
10666
|
+
# sends a CancelCommand operation that attempts to cancel the
|
10667
|
+
# command associated with the task. However, there is no guarantee
|
10668
|
+
# that the command will be terminated and the underlying process
|
10669
|
+
# stopped.
|
10670
|
+
#
|
10671
|
+
# The status for tasks that are not completed is `TIMED_OUT`.
|
10672
|
+
#
|
10593
10673
|
# @return [Types::UpdateMaintenanceWindowTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10594
10674
|
#
|
10595
10675
|
# * {Types::UpdateMaintenanceWindowTaskResult#window_id #window_id} => String
|
@@ -10605,6 +10685,7 @@ module Aws::SSM
|
|
10605
10685
|
# * {Types::UpdateMaintenanceWindowTaskResult#logging_info #logging_info} => Types::LoggingInfo
|
10606
10686
|
# * {Types::UpdateMaintenanceWindowTaskResult#name #name} => String
|
10607
10687
|
# * {Types::UpdateMaintenanceWindowTaskResult#description #description} => String
|
10688
|
+
# * {Types::UpdateMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
|
10608
10689
|
#
|
10609
10690
|
# @example Request syntax with placeholder values
|
10610
10691
|
#
|
@@ -10674,6 +10755,7 @@ module Aws::SSM
|
|
10674
10755
|
# name: "MaintenanceWindowName",
|
10675
10756
|
# description: "MaintenanceWindowDescription",
|
10676
10757
|
# replace: false,
|
10758
|
+
# cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
|
10677
10759
|
# })
|
10678
10760
|
#
|
10679
10761
|
# @example Response structure
|
@@ -10723,6 +10805,7 @@ module Aws::SSM
|
|
10723
10805
|
# resp.logging_info.s3_region #=> String
|
10724
10806
|
# resp.name #=> String
|
10725
10807
|
# resp.description #=> String
|
10808
|
+
# resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
|
10726
10809
|
#
|
10727
10810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask AWS API Documentation
|
10728
10811
|
#
|
@@ -11239,29 +11322,25 @@ module Aws::SSM
|
|
11239
11322
|
# * `/ssm/managed-instance/activation-tier`
|
11240
11323
|
#
|
11241
11324
|
# @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.
|
11325
|
+
# The new value to specify for the service setting. The following list
|
11326
|
+
# specifies the available values for each setting.
|
11245
11327
|
#
|
11246
|
-
# * Standard
|
11328
|
+
# * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
|
11329
|
+
# `Advanced`, `Intelligent-Tiering`
|
11247
11330
|
#
|
11248
|
-
# *
|
11331
|
+
# * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
|
11249
11332
|
#
|
11250
|
-
# *
|
11333
|
+
# * `/ssm/managed-instance/activation-tier`\: `true` or `false`
|
11251
11334
|
#
|
11252
|
-
#
|
11253
|
-
# `/ssm/managed-instance/activation-tier` setting IDs, the setting value
|
11254
|
-
# can be true or false.
|
11335
|
+
# * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
|
11255
11336
|
#
|
11256
|
-
#
|
11257
|
-
#
|
11337
|
+
# * `/ssm/automation/customer-script-log-group-name`\: the name of an
|
11338
|
+
# Amazon CloudWatch Logs log group
|
11258
11339
|
#
|
11259
|
-
#
|
11260
|
-
#
|
11261
|
-
# group.
|
11340
|
+
# * `/ssm/documents/console/public-sharing-permission`\: `Enable` or
|
11341
|
+
# `Disable`
|
11262
11342
|
#
|
11263
|
-
#
|
11264
|
-
# the setting value can be `Enable` or `Disable`.
|
11343
|
+
# * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
|
11265
11344
|
#
|
11266
11345
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
11267
11346
|
#
|
@@ -11294,7 +11373,7 @@ module Aws::SSM
|
|
11294
11373
|
params: params,
|
11295
11374
|
config: config)
|
11296
11375
|
context[:gem_name] = 'aws-sdk-ssm'
|
11297
|
-
context[:gem_version] = '1.
|
11376
|
+
context[:gem_version] = '1.119.0'
|
11298
11377
|
Seahorse::Client::Request.new(handlers, context)
|
11299
11378
|
end
|
11300
11379
|
|
@@ -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`
|
2068
|
+
#
|
2069
|
+
# * `Undeliverable`
|
2031
2070
|
#
|
2032
|
-
# * `
|
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
|
@@ -14968,7 +15027,7 @@ module Aws::SSM
|
|
14968
15027
|
:last_modified_date,
|
14969
15028
|
:arn,
|
14970
15029
|
:data_type)
|
14971
|
-
SENSITIVE = []
|
15030
|
+
SENSITIVE = [:value]
|
14972
15031
|
include Aws::Structure
|
14973
15032
|
end
|
14974
15033
|
|
@@ -15066,7 +15125,7 @@ module Aws::SSM
|
|
15066
15125
|
:tier,
|
15067
15126
|
:policies,
|
15068
15127
|
:data_type)
|
15069
|
-
SENSITIVE = []
|
15128
|
+
SENSITIVE = [:value]
|
15070
15129
|
include Aws::Structure
|
15071
15130
|
end
|
15072
15131
|
|
@@ -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
|
@@ -16432,7 +16491,7 @@ module Aws::SSM
|
|
16432
16491
|
:tier,
|
16433
16492
|
:policies,
|
16434
16493
|
:data_type)
|
16435
|
-
SENSITIVE = []
|
16494
|
+
SENSITIVE = [:value]
|
16436
16495
|
include Aws::Structure
|
16437
16496
|
end
|
16438
16497
|
|
@@ -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.119.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-10-01 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.120.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.120.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '2.3'
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - ">="
|