aws-sdk-ssm 1.148.0 → 1.150.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +124 -95
- data/lib/aws-sdk-ssm/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-ssm/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-ssm/types.rb +132 -100
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 184ef695f37be946e4b3ab18c4d2fcaa4dc552e477a11aac3ec092faa676a4d1
|
4
|
+
data.tar.gz: '09c9d87e13f3751694c140a5c56ff7d09ddb2d4706831d0b948521a119891d7d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66acf8563fb457dc15813ad4e5f8bb7d8f8c62e7c692061c55d02a5eadadb2d4e40f52a2eb0352e0af4825ddb481d046f801b8586a1477805a4837ecfc8af9d4
|
7
|
+
data.tar.gz: d1e3423290c640e0f27e566a867c9dadcd91a1b110cf2ccab548274f1622808f12e05019b815f25f83e83a3927fc57005ab8162fdeebded5bfc9b3f76fc7f7a5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.150.0 (2023-03-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This Patch Manager release supports creating, updating, and deleting Patch Baselines for AmazonLinux2023, AlmaLinux.
|
8
|
+
|
9
|
+
1.149.0 (2023-02-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Document only update for Feb 2023
|
13
|
+
|
4
14
|
1.148.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.150.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -431,11 +431,11 @@ module Aws::SSM
|
|
431
431
|
#
|
432
432
|
# Use the ID of the resource. Here are some examples:
|
433
433
|
#
|
434
|
-
# `MaintenanceWindow
|
434
|
+
# `MaintenanceWindow`: `mw-012345abcde`
|
435
435
|
#
|
436
|
-
# `PatchBaseline
|
436
|
+
# `PatchBaseline`: `pb-012345abcde`
|
437
437
|
#
|
438
|
-
# `Automation
|
438
|
+
# `Automation`: `example-c160-4567-8519-012345abcde`
|
439
439
|
#
|
440
440
|
# `OpsMetadata` object: `ResourceID` for tagging is created from the
|
441
441
|
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
@@ -448,7 +448,7 @@ module Aws::SSM
|
|
448
448
|
# For the `Document` and `Parameter` values, use the name of the
|
449
449
|
# resource.
|
450
450
|
#
|
451
|
-
# `ManagedInstance
|
451
|
+
# `ManagedInstance`: `mi-012345abcde`
|
452
452
|
#
|
453
453
|
# <note markdown="1"> The `ManagedInstance` type for this API operation is only for
|
454
454
|
# on-premises managed nodes. You must specify the name of the managed
|
@@ -504,9 +504,9 @@ module Aws::SSM
|
|
504
504
|
# The type of resource that you want to associate with an OpsItem.
|
505
505
|
# OpsCenter supports the following types:
|
506
506
|
#
|
507
|
-
# `AWS::SSMIncidents::IncidentRecord
|
507
|
+
# `AWS::SSMIncidents::IncidentRecord`: an Incident Manager incident.
|
508
508
|
#
|
509
|
-
# `AWS::SSM::Document
|
509
|
+
# `AWS::SSM::Document`: a Systems Manager (SSM) document.
|
510
510
|
#
|
511
511
|
# @option params [required, String] :resource_uri
|
512
512
|
# The Amazon Resource Name (ARN) of the Amazon Web Services resource
|
@@ -750,8 +750,8 @@ module Aws::SSM
|
|
750
750
|
# contains the configuration information for the managed node.
|
751
751
|
#
|
752
752
|
# You can specify Amazon Web Services-predefined documents, documents
|
753
|
-
# you created, or a document that is shared with you from another
|
754
|
-
# account.
|
753
|
+
# you created, or a document that is shared with you from another Amazon
|
754
|
+
# Web Services account.
|
755
755
|
#
|
756
756
|
# For Systems Manager documents (SSM documents) that are shared with you
|
757
757
|
# from other Amazon Web Services accounts, you must specify the complete
|
@@ -1293,9 +1293,11 @@ module Aws::SSM
|
|
1293
1293
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-ssm-docs.html
|
1294
1294
|
#
|
1295
1295
|
# @option params [required, String] :content
|
1296
|
-
# The content for the new SSM document in JSON or YAML format.
|
1297
|
-
#
|
1298
|
-
#
|
1296
|
+
# The content for the new SSM document in JSON or YAML format. The
|
1297
|
+
# content of the document must not exceed 64KB. This quota also includes
|
1298
|
+
# the content specified for input parameters at runtime. We recommend
|
1299
|
+
# storing the contents for your new document in an external JSON or YAML
|
1300
|
+
# file and referencing the file in a command.
|
1299
1301
|
#
|
1300
1302
|
# For examples, see the following topics in the *Amazon Web Services
|
1301
1303
|
# Systems Manager User Guide*.
|
@@ -1947,17 +1949,17 @@ module Aws::SSM
|
|
1947
1949
|
# The action for Patch Manager to take on patches included in the
|
1948
1950
|
# `RejectedPackages` list.
|
1949
1951
|
#
|
1950
|
-
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b
|
1952
|
+
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b>: A package in the
|
1951
1953
|
# `Rejected` patches list is installed only if it is a dependency of
|
1952
1954
|
# another package. It is considered compliant with the patch baseline,
|
1953
1955
|
# and its status is reported as `InstalledOther`. This is the default
|
1954
1956
|
# action if no option is specified.
|
1955
1957
|
#
|
1956
|
-
# * <b> <code>BLOCK</code> </b
|
1957
|
-
#
|
1958
|
-
#
|
1959
|
-
#
|
1960
|
-
#
|
1958
|
+
# * <b> <code>BLOCK</code> </b>: Packages in the `RejectedPatches` list,
|
1959
|
+
# and packages that include them as dependencies, aren't installed
|
1960
|
+
# under any circumstances. If a package was installed before it was
|
1961
|
+
# added to the Rejected patches list, it is considered non-compliant
|
1962
|
+
# with the patch baseline, and its status is reported as
|
1961
1963
|
# `InstalledRejected`.
|
1962
1964
|
#
|
1963
1965
|
# @option params [String] :description
|
@@ -1998,7 +2000,7 @@ module Aws::SSM
|
|
1998
2000
|
# @example Request syntax with placeholder values
|
1999
2001
|
#
|
2000
2002
|
# resp = client.create_patch_baseline({
|
2001
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
2003
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX, ALMA_LINUX, AMAZON_LINUX_2023
|
2002
2004
|
# name: "BaselineName", # required
|
2003
2005
|
# global_filters: {
|
2004
2006
|
# patch_filters: [ # required
|
@@ -4926,7 +4928,7 @@ module Aws::SSM
|
|
4926
4928
|
# resp.baseline_identities #=> Array
|
4927
4929
|
# resp.baseline_identities[0].baseline_id #=> String
|
4928
4930
|
# resp.baseline_identities[0].baseline_name #=> String
|
4929
|
-
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
4931
|
+
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX", "ALMA_LINUX", "AMAZON_LINUX_2023"
|
4930
4932
|
# resp.baseline_identities[0].baseline_description #=> String
|
4931
4933
|
# resp.baseline_identities[0].default_baseline #=> Boolean
|
4932
4934
|
# resp.next_token #=> String
|
@@ -5039,7 +5041,7 @@ module Aws::SSM
|
|
5039
5041
|
# resp.mappings[0].patch_group #=> String
|
5040
5042
|
# resp.mappings[0].baseline_identity.baseline_id #=> String
|
5041
5043
|
# resp.mappings[0].baseline_identity.baseline_name #=> String
|
5042
|
-
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
5044
|
+
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX", "ALMA_LINUX", "AMAZON_LINUX_2023"
|
5043
5045
|
# resp.mappings[0].baseline_identity.baseline_description #=> String
|
5044
5046
|
# resp.mappings[0].baseline_identity.default_baseline #=> Boolean
|
5045
5047
|
# resp.next_token #=> String
|
@@ -5134,7 +5136,7 @@ module Aws::SSM
|
|
5134
5136
|
# @example Request syntax with placeholder values
|
5135
5137
|
#
|
5136
5138
|
# resp = client.describe_patch_properties({
|
5137
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5139
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX, ALMA_LINUX, AMAZON_LINUX_2023
|
5138
5140
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
5139
5141
|
# patch_set: "OS", # accepts OS, APPLICATION
|
5140
5142
|
# max_results: 1,
|
@@ -5631,13 +5633,13 @@ module Aws::SSM
|
|
5631
5633
|
# @example Request syntax with placeholder values
|
5632
5634
|
#
|
5633
5635
|
# resp = client.get_default_patch_baseline({
|
5634
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5636
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX, ALMA_LINUX, AMAZON_LINUX_2023
|
5635
5637
|
# })
|
5636
5638
|
#
|
5637
5639
|
# @example Response structure
|
5638
5640
|
#
|
5639
5641
|
# resp.baseline_id #=> String
|
5640
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
5642
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX", "ALMA_LINUX", "AMAZON_LINUX_2023"
|
5641
5643
|
#
|
5642
5644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
|
5643
5645
|
#
|
@@ -5688,7 +5690,7 @@ module Aws::SSM
|
|
5688
5690
|
# instance_id: "InstanceId", # required
|
5689
5691
|
# snapshot_id: "SnapshotId", # required
|
5690
5692
|
# baseline_override: {
|
5691
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5693
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX, ALMA_LINUX, AMAZON_LINUX_2023
|
5692
5694
|
# global_filters: {
|
5693
5695
|
# patch_filters: [ # required
|
5694
5696
|
# {
|
@@ -6733,11 +6735,11 @@ module Aws::SSM
|
|
6733
6735
|
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
6734
6736
|
# Filters to limit the request results.
|
6735
6737
|
#
|
6736
|
-
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath
|
6738
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`:
|
6737
6739
|
# `Type`, `KeyId`, and `Label`.
|
6738
6740
|
#
|
6739
6741
|
# The following `Key` values aren't supported for
|
6740
|
-
# `GetParametersByPath
|
6742
|
+
# `GetParametersByPath`: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
|
6741
6743
|
#
|
6742
6744
|
# </note>
|
6743
6745
|
#
|
@@ -6842,7 +6844,7 @@ module Aws::SSM
|
|
6842
6844
|
#
|
6843
6845
|
# resp.baseline_id #=> String
|
6844
6846
|
# resp.name #=> String
|
6845
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
6847
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX", "ALMA_LINUX", "AMAZON_LINUX_2023"
|
6846
6848
|
# resp.global_filters.patch_filters #=> Array
|
6847
6849
|
# resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
|
6848
6850
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -6903,14 +6905,14 @@ module Aws::SSM
|
|
6903
6905
|
#
|
6904
6906
|
# resp = client.get_patch_baseline_for_patch_group({
|
6905
6907
|
# patch_group: "PatchGroup", # required
|
6906
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
6908
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX, ALMA_LINUX, AMAZON_LINUX_2023
|
6907
6909
|
# })
|
6908
6910
|
#
|
6909
6911
|
# @example Response structure
|
6910
6912
|
#
|
6911
6913
|
# resp.baseline_id #=> String
|
6912
6914
|
# resp.patch_group #=> String
|
6913
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
6915
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX", "ALMA_LINUX", "AMAZON_LINUX_2023"
|
6914
6916
|
#
|
6915
6917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
|
6916
6918
|
#
|
@@ -6992,6 +6994,8 @@ module Aws::SSM
|
|
6992
6994
|
# The ID of the service setting to get. The setting ID can be one of the
|
6993
6995
|
# following.
|
6994
6996
|
#
|
6997
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
6998
|
+
#
|
6995
6999
|
# * `/ssm/automation/customer-script-log-destination`
|
6996
7000
|
#
|
6997
7001
|
# * `/ssm/automation/customer-script-log-group-name`
|
@@ -8269,9 +8273,9 @@ module Aws::SSM
|
|
8269
8273
|
|
8270
8274
|
# Shares a Amazon Web Services Systems Manager document (SSM
|
8271
8275
|
# document)publicly or privately. If you share a document privately, you
|
8272
|
-
# must specify the Amazon Web Services user
|
8273
|
-
#
|
8274
|
-
#
|
8276
|
+
# must specify the Amazon Web Services user IDs for those people who can
|
8277
|
+
# use the document. If you share a document publicly, you must specify
|
8278
|
+
# *All* as the account ID.
|
8275
8279
|
#
|
8276
8280
|
# @option params [required, String] :name
|
8277
8281
|
# The name of the document that you want to share.
|
@@ -8281,16 +8285,15 @@ module Aws::SSM
|
|
8281
8285
|
# *Share*.
|
8282
8286
|
#
|
8283
8287
|
# @option params [Array<String>] :account_ids_to_add
|
8284
|
-
# The Amazon Web Services
|
8285
|
-
#
|
8286
|
-
# *All*.
|
8288
|
+
# The Amazon Web Services users that should have access to the document.
|
8289
|
+
# The account IDs can either be a group of account IDs or *All*.
|
8287
8290
|
#
|
8288
8291
|
# @option params [Array<String>] :account_ids_to_remove
|
8289
|
-
# The Amazon Web Services
|
8290
|
-
#
|
8291
|
-
#
|
8292
|
-
#
|
8293
|
-
#
|
8292
|
+
# The Amazon Web Services users that should no longer have access to the
|
8293
|
+
# document. The Amazon Web Services user can either be a group of
|
8294
|
+
# account IDs or *All*. This action has a higher priority than
|
8295
|
+
# *AccountIdsToAdd*. If you specify an ID to add and the same ID to
|
8296
|
+
# remove, the system removes access to the document.
|
8294
8297
|
#
|
8295
8298
|
# @option params [String] :shared_document_version
|
8296
8299
|
# (Optional) The version of the document to share. If it isn't
|
@@ -8574,20 +8577,18 @@ module Aws::SSM
|
|
8574
8577
|
#
|
8575
8578
|
# @option params [String] :key_id
|
8576
8579
|
# The Key Management Service (KMS) ID that you want to use to encrypt a
|
8577
|
-
# parameter.
|
8578
|
-
#
|
8579
|
-
# that use the `SecureString` data type.
|
8580
|
+
# parameter. Use a custom key for better security. Required for
|
8581
|
+
# parameters that use the `SecureString` data type.
|
8580
8582
|
#
|
8581
8583
|
# If you don't specify a key ID, the system uses the default key
|
8582
|
-
# associated with your Amazon Web Services account
|
8583
|
-
#
|
8584
|
-
# * To use your default KMS key, choose the `SecureString` data type,
|
8585
|
-
# and do *not* specify the `Key ID` when you create the parameter. The
|
8586
|
-
# system automatically populates `Key ID` with your default KMS key.
|
8584
|
+
# associated with your Amazon Web Services account which is not as
|
8585
|
+
# secure as using a custom key.
|
8587
8586
|
#
|
8588
8587
|
# * To use a custom KMS key, choose the `SecureString` data type with
|
8589
8588
|
# the `Key ID` parameter.
|
8590
8589
|
#
|
8590
|
+
# ^
|
8591
|
+
#
|
8591
8592
|
# @option params [Boolean] :overwrite
|
8592
8593
|
# Overwrite an existing parameter. The default value is `false`.
|
8593
8594
|
#
|
@@ -8658,12 +8659,11 @@ module Aws::SSM
|
|
8658
8659
|
# standard-parameter tier. If you use the advanced-parameter tier, you
|
8659
8660
|
# can specify one of the following as the default:
|
8660
8661
|
#
|
8661
|
-
# * **Advanced
|
8662
|
+
# * **Advanced**: With this option, Parameter Store evaluates all
|
8662
8663
|
# requests as advanced parameters.
|
8663
8664
|
#
|
8664
|
-
# * **Intelligent-Tiering
|
8665
|
-
#
|
8666
|
-
# advanced.
|
8665
|
+
# * **Intelligent-Tiering**: With this option, Parameter Store evaluates
|
8666
|
+
# each request to determine if the parameter is standard or advanced.
|
8667
8667
|
#
|
8668
8668
|
# If the request doesn't include any options that require an advanced
|
8669
8669
|
# parameter, the parameter is created in the standard-parameter tier.
|
@@ -8737,14 +8737,29 @@ module Aws::SSM
|
|
8737
8737
|
# When you create a `String` parameter and specify `aws:ec2:image`,
|
8738
8738
|
# Amazon Web Services Systems Manager validates the parameter value is
|
8739
8739
|
# in the required format, such as `ami-12345abcdeEXAMPLE`, and that the
|
8740
|
-
# specified AMI is available in your Amazon Web Services account.
|
8741
|
-
#
|
8742
|
-
#
|
8743
|
-
#
|
8740
|
+
# specified AMI is available in your Amazon Web Services account.
|
8741
|
+
#
|
8742
|
+
# <note markdown="1"> If the action is successful, the service sends back an HTTP 200
|
8743
|
+
# response which indicates a successful `PutParameter` call for all
|
8744
|
+
# cases except for data type `aws:ec2:image`. If you call `PutParameter`
|
8745
|
+
# with `aws:ec2:image` data type, a successful HTTP 200 response does
|
8746
|
+
# not guarantee that your parameter was successfully created or updated.
|
8747
|
+
# The `aws:ec2:image` value is validated asynchronously, and the
|
8748
|
+
# `PutParameter` call returns before the validation is complete. If you
|
8749
|
+
# submit an invalid AMI value, the PutParameter operation will return
|
8750
|
+
# success, but the asynchronous validation will fail and the parameter
|
8751
|
+
# will not be created or updated. To monitor whether your
|
8752
|
+
# `aws:ec2:image` parameters are created successfully, see [Setting up
|
8753
|
+
# notifications or trigger actions based on Parameter Store events][1].
|
8754
|
+
# For more information about AMI format validation , see [Native
|
8755
|
+
# parameter support for Amazon Machine Image (AMI) IDs][2].
|
8756
|
+
#
|
8757
|
+
# </note>
|
8744
8758
|
#
|
8745
8759
|
#
|
8746
8760
|
#
|
8747
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/
|
8761
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-cwe.html
|
8762
|
+
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html
|
8748
8763
|
#
|
8749
8764
|
# @return [Types::PutParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8750
8765
|
#
|
@@ -8929,23 +8944,23 @@ module Aws::SSM
|
|
8929
8944
|
# You can specify targets using managed node IDs, resource group names,
|
8930
8945
|
# or tags that have been applied to managed nodes.
|
8931
8946
|
#
|
8932
|
-
# **Example 1
|
8947
|
+
# **Example 1**: Specify managed node IDs
|
8933
8948
|
#
|
8934
8949
|
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>,<instance-id-3>`
|
8935
8950
|
#
|
8936
|
-
# **Example 2
|
8951
|
+
# **Example 2**: Use tag key-pairs applied to managed nodes
|
8937
8952
|
#
|
8938
8953
|
# `Key=tag:<my-tag-key>,Values=<my-tag-value-1>,<my-tag-value-2>`
|
8939
8954
|
#
|
8940
|
-
# **Example 3
|
8955
|
+
# **Example 3**: Use tag-keys applied to managed nodes
|
8941
8956
|
#
|
8942
8957
|
# `Key=tag-key,Values=<my-tag-key-1>,<my-tag-key-2>`
|
8943
8958
|
#
|
8944
|
-
# **Example 4
|
8959
|
+
# **Example 4**: Use resource group names
|
8945
8960
|
#
|
8946
8961
|
# `Key=resource-groups:Name,Values=<resource-group-name>`
|
8947
8962
|
#
|
8948
|
-
# **Example 5
|
8963
|
+
# **Example 5**: Use filters for resource group types
|
8949
8964
|
#
|
8950
8965
|
# `Key=resource-groups:ResourceTypeFilters,Values=<resource-type-1>,<resource-type-2>`
|
8951
8966
|
#
|
@@ -9057,7 +9072,7 @@ module Aws::SSM
|
|
9057
9072
|
# `RegisterTaskWithMaintenanceWindow`.
|
9058
9073
|
#
|
9059
9074
|
# For more information, see the following topics in the in the *Amazon
|
9060
|
-
# Web Services Systems Manager User Guide
|
9075
|
+
# Web Services Systems Manager User Guide*:
|
9061
9076
|
#
|
9062
9077
|
# * [Using service-linked roles for Systems Manager][1]
|
9063
9078
|
#
|
@@ -9161,10 +9176,10 @@ module Aws::SSM
|
|
9161
9176
|
# Indicates whether tasks should continue to run after the cutoff time
|
9162
9177
|
# specified in the maintenance windows is reached.
|
9163
9178
|
#
|
9164
|
-
# * `CONTINUE_TASK
|
9165
|
-
#
|
9179
|
+
# * `CONTINUE_TASK`: When the cutoff time is reached, any tasks that are
|
9180
|
+
# running continue. The default value.
|
9166
9181
|
#
|
9167
|
-
# * `CANCEL_TASK
|
9182
|
+
# * `CANCEL_TASK`:
|
9168
9183
|
#
|
9169
9184
|
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
9170
9185
|
# is reached, any task invocations that are already running
|
@@ -9297,7 +9312,7 @@ module Aws::SSM
|
|
9297
9312
|
#
|
9298
9313
|
# MaintenanceWindow: mw-012345abcde
|
9299
9314
|
#
|
9300
|
-
# `Automation
|
9315
|
+
# `Automation`: `example-c160-4567-8519-012345abcde`
|
9301
9316
|
#
|
9302
9317
|
# PatchBaseline: pb-012345abcde
|
9303
9318
|
#
|
@@ -9363,6 +9378,8 @@ module Aws::SSM
|
|
9363
9378
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
9364
9379
|
# setting ID can be one of the following.
|
9365
9380
|
#
|
9381
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
9382
|
+
#
|
9366
9383
|
# * `/ssm/automation/customer-script-log-destination`
|
9367
9384
|
#
|
9368
9385
|
# * `/ssm/automation/customer-script-log-group-name`
|
@@ -10298,14 +10315,13 @@ module Aws::SSM
|
|
10298
10315
|
# the DescribeAssociation API operation and make a note of all optional
|
10299
10316
|
# parameters required for your `UpdateAssociation` call.
|
10300
10317
|
#
|
10301
|
-
# In order to call this API operation,
|
10302
|
-
#
|
10303
|
-
# permission to call
|
10304
|
-
#
|
10305
|
-
#
|
10306
|
-
#
|
10307
|
-
#
|
10308
|
-
# <resource_arn>`
|
10318
|
+
# In order to call this API operation, a user, group, or role must be
|
10319
|
+
# granted permission to call the DescribeAssociation API operation. If
|
10320
|
+
# you don't have permission to call `DescribeAssociation`, then you
|
10321
|
+
# receive the following error: `An error occurred
|
10322
|
+
# (AccessDeniedException) when calling the UpdateAssociation operation:
|
10323
|
+
# User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation
|
10324
|
+
# on resource: <resource_arn>`
|
10309
10325
|
#
|
10310
10326
|
# When you update an association, the association immediately runs
|
10311
10327
|
# against the specified targets. You can add the
|
@@ -11258,7 +11274,7 @@ module Aws::SSM
|
|
11258
11274
|
# `RegisterTaskWithMaintenanceWindow`.
|
11259
11275
|
#
|
11260
11276
|
# For more information, see the following topics in the in the *Amazon
|
11261
|
-
# Web Services Systems Manager User Guide
|
11277
|
+
# Web Services Systems Manager User Guide*:
|
11262
11278
|
#
|
11263
11279
|
# * [Using service-linked roles for Systems Manager][1]
|
11264
11280
|
#
|
@@ -11375,10 +11391,10 @@ module Aws::SSM
|
|
11375
11391
|
# Indicates whether tasks should continue to run after the cutoff time
|
11376
11392
|
# specified in the maintenance windows is reached.
|
11377
11393
|
#
|
11378
|
-
# * `CONTINUE_TASK
|
11379
|
-
#
|
11394
|
+
# * `CONTINUE_TASK`: When the cutoff time is reached, any tasks that are
|
11395
|
+
# running continue. The default value.
|
11380
11396
|
#
|
11381
|
-
# * `CANCEL_TASK
|
11397
|
+
# * `CANCEL_TASK`:
|
11382
11398
|
#
|
11383
11399
|
# * For Automation, Lambda, Step Functions tasks: When the cutoff time
|
11384
11400
|
# is reached, any task invocations that are already running
|
@@ -11852,17 +11868,17 @@ module Aws::SSM
|
|
11852
11868
|
# The action for Patch Manager to take on patches included in the
|
11853
11869
|
# `RejectedPackages` list.
|
11854
11870
|
#
|
11855
|
-
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b
|
11871
|
+
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b>: A package in the
|
11856
11872
|
# `Rejected` patches list is installed only if it is a dependency of
|
11857
11873
|
# another package. It is considered compliant with the patch baseline,
|
11858
11874
|
# and its status is reported as `InstalledOther`. This is the default
|
11859
11875
|
# action if no option is specified.
|
11860
11876
|
#
|
11861
|
-
# * <b> <code>BLOCK</code> </b
|
11862
|
-
#
|
11863
|
-
#
|
11864
|
-
#
|
11865
|
-
#
|
11877
|
+
# * <b> <code>BLOCK</code> </b>: Packages in the `RejectedPatches` list,
|
11878
|
+
# and packages that include them as dependencies, aren't installed
|
11879
|
+
# under any circumstances. If a package was installed before it was
|
11880
|
+
# added to the `Rejected` patches list, it is considered non-compliant
|
11881
|
+
# with the patch baseline, and its status is reported as
|
11866
11882
|
# `InstalledRejected`.
|
11867
11883
|
#
|
11868
11884
|
# @option params [String] :description
|
@@ -11946,7 +11962,7 @@ module Aws::SSM
|
|
11946
11962
|
#
|
11947
11963
|
# resp.baseline_id #=> String
|
11948
11964
|
# resp.name #=> String
|
11949
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
11965
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX", "ALMA_LINUX", "AMAZON_LINUX_2023"
|
11950
11966
|
# resp.global_filters.patch_filters #=> Array
|
11951
11967
|
# resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
|
11952
11968
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -12060,11 +12076,13 @@ module Aws::SSM
|
|
12060
12076
|
# Update the service setting for the account.
|
12061
12077
|
#
|
12062
12078
|
# @option params [required, String] :setting_id
|
12063
|
-
# The Amazon Resource Name (ARN) of the service setting to
|
12079
|
+
# The Amazon Resource Name (ARN) of the service setting to update. For
|
12064
12080
|
# example,
|
12065
12081
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
12066
12082
|
# The setting ID can be one of the following.
|
12067
12083
|
#
|
12084
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
12085
|
+
#
|
12068
12086
|
# * `/ssm/automation/customer-script-log-destination`
|
12069
12087
|
#
|
12070
12088
|
# * `/ssm/automation/customer-script-log-group-name`
|
@@ -12079,26 +12097,37 @@ module Aws::SSM
|
|
12079
12097
|
#
|
12080
12098
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
12081
12099
|
#
|
12100
|
+
# <note markdown="1"> Permissions to update the
|
12101
|
+
# `/ssm/managed-instance/default-ec2-instance-management-role` setting
|
12102
|
+
# should only be provided to administrators. Implement least privilege
|
12103
|
+
# access when allowing individuals to configure or modify the Default
|
12104
|
+
# Host Management Configuration.
|
12105
|
+
#
|
12106
|
+
# </note>
|
12107
|
+
#
|
12082
12108
|
# @option params [required, String] :setting_value
|
12083
12109
|
# The new value to specify for the service setting. The following list
|
12084
12110
|
# specifies the available values for each setting.
|
12085
12111
|
#
|
12086
|
-
# * `/ssm/
|
12112
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role: The
|
12113
|
+
# name of an IAM role`
|
12114
|
+
#
|
12115
|
+
# * `/ssm/automation/customer-script-log-destination`: `CloudWatch`
|
12087
12116
|
#
|
12088
|
-
# * `/ssm/automation/customer-script-log-group-name
|
12117
|
+
# * `/ssm/automation/customer-script-log-group-name`: The name of an
|
12089
12118
|
# Amazon CloudWatch Logs log group
|
12090
12119
|
#
|
12091
|
-
# * `/ssm/documents/console/public-sharing-permission
|
12120
|
+
# * `/ssm/documents/console/public-sharing-permission`: `Enable` or
|
12092
12121
|
# `Disable`
|
12093
12122
|
#
|
12094
|
-
# * `/ssm/managed-instance/activation-tier
|
12123
|
+
# * `/ssm/managed-instance/activation-tier`: `standard` or `advanced`
|
12095
12124
|
#
|
12096
|
-
# * `/ssm/opsinsights/opscenter
|
12125
|
+
# * `/ssm/opsinsights/opscenter`: `Enabled` or `Disabled`
|
12097
12126
|
#
|
12098
|
-
# * `/ssm/parameter-store/default-parameter-tier
|
12127
|
+
# * `/ssm/parameter-store/default-parameter-tier`: `Standard`,
|
12099
12128
|
# `Advanced`, `Intelligent-Tiering`
|
12100
12129
|
#
|
12101
|
-
# * `/ssm/parameter-store/high-throughput-enabled
|
12130
|
+
# * `/ssm/parameter-store/high-throughput-enabled`: `true` or `false`
|
12102
12131
|
#
|
12103
12132
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
12104
12133
|
#
|
@@ -12131,7 +12160,7 @@ module Aws::SSM
|
|
12131
12160
|
params: params,
|
12132
12161
|
config: config)
|
12133
12162
|
context[:gem_name] = 'aws-sdk-ssm'
|
12134
|
-
context[:gem_version] = '1.
|
12163
|
+
context[:gem_version] = '1.150.0'
|
12135
12164
|
Seahorse::Client::Request.new(handlers, context)
|
12136
12165
|
end
|
12137
12166
|
|
@@ -50,9 +50,6 @@ module Aws::SSM
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,39 +14,42 @@ module Aws::SSM
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ssm-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
33
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
|
+
end
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
48
|
end
|
46
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
50
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ssm.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
51
54
|
|
52
55
|
end
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -112,11 +112,11 @@ module Aws::SSM
|
|
112
112
|
#
|
113
113
|
# Use the ID of the resource. Here are some examples:
|
114
114
|
#
|
115
|
-
# `MaintenanceWindow
|
115
|
+
# `MaintenanceWindow`: `mw-012345abcde`
|
116
116
|
#
|
117
|
-
# `PatchBaseline
|
117
|
+
# `PatchBaseline`: `pb-012345abcde`
|
118
118
|
#
|
119
|
-
# `Automation
|
119
|
+
# `Automation`: `example-c160-4567-8519-012345abcde`
|
120
120
|
#
|
121
121
|
# `OpsMetadata` object: `ResourceID` for tagging is created from the
|
122
122
|
# Amazon Resource Name (ARN) for the object. Specifically,
|
@@ -130,7 +130,7 @@ module Aws::SSM
|
|
130
130
|
# For the `Document` and `Parameter` values, use the name of the
|
131
131
|
# resource.
|
132
132
|
#
|
133
|
-
# `ManagedInstance
|
133
|
+
# `ManagedInstance`: `mi-012345abcde`
|
134
134
|
#
|
135
135
|
# <note markdown="1"> The `ManagedInstance` type for this API operation is only for
|
136
136
|
# on-premises managed nodes. You must specify the name of the managed
|
@@ -178,9 +178,11 @@ module Aws::SSM
|
|
178
178
|
# automation or command.
|
179
179
|
#
|
180
180
|
# @!attribute [rw] ignore_poll_alarm_failure
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
181
|
+
# When this value is *true*, your automation or command continues to
|
182
|
+
# run in cases where we can’t retrieve alarm status information from
|
183
|
+
# CloudWatch. In cases where we successfully retrieve an alarm status
|
184
|
+
# of OK or INSUFFICIENT\_DATA, the automation or command continues to
|
185
|
+
# run, regardless of this value. Default is *false*.
|
184
186
|
# @return [Boolean]
|
185
187
|
#
|
186
188
|
# @!attribute [rw] alarms
|
@@ -245,9 +247,9 @@ module Aws::SSM
|
|
245
247
|
# The type of resource that you want to associate with an OpsItem.
|
246
248
|
# OpsCenter supports the following types:
|
247
249
|
#
|
248
|
-
# `AWS::SSMIncidents::IncidentRecord
|
250
|
+
# `AWS::SSMIncidents::IncidentRecord`: an Incident Manager incident.
|
249
251
|
#
|
250
|
-
# `AWS::SSM::Document
|
252
|
+
# `AWS::SSM::Document`: a Systems Manager (SSM) document.
|
251
253
|
# @return [String]
|
252
254
|
#
|
253
255
|
# @!attribute [rw] resource_uri
|
@@ -2022,15 +2024,15 @@ module Aws::SSM
|
|
2022
2024
|
# @!attribute [rw] value
|
2023
2025
|
# The filter value. Valid values for each filter key are as follows:
|
2024
2026
|
#
|
2025
|
-
# * **InvokedAfter
|
2027
|
+
# * **InvokedAfter**: Specify a timestamp to limit your results. For
|
2026
2028
|
# example, specify `2021-07-07T00:00:00Z` to see a list of command
|
2027
2029
|
# executions occurring July 7, 2021, and later.
|
2028
2030
|
#
|
2029
|
-
# * **InvokedBefore
|
2031
|
+
# * **InvokedBefore**: Specify a timestamp to limit your results. For
|
2030
2032
|
# example, specify `2021-07-07T00:00:00Z` to see a list of command
|
2031
2033
|
# executions from before July 7, 2021.
|
2032
2034
|
#
|
2033
|
-
# * **Status
|
2035
|
+
# * **Status**: Specify a valid command status to see a list of all
|
2034
2036
|
# command executions with that status. The status choices depend on
|
2035
2037
|
# the API you call.
|
2036
2038
|
#
|
@@ -2089,19 +2091,19 @@ module Aws::SSM
|
|
2089
2091
|
#
|
2090
2092
|
# * `Terminated`
|
2091
2093
|
#
|
2092
|
-
# * **DocumentName
|
2094
|
+
# * **DocumentName**: Specify name of the Amazon Web Services Systems
|
2093
2095
|
# Manager document (SSM document) for which you want to see command
|
2094
2096
|
# execution results. For example, specify `AWS-RunPatchBaseline` to
|
2095
2097
|
# see command executions that used this SSM document to perform
|
2096
2098
|
# security patching operations on managed nodes.
|
2097
2099
|
#
|
2098
|
-
# * **ExecutionStage
|
2100
|
+
# * **ExecutionStage**: Specify one of the following values
|
2099
2101
|
# (`ListCommands` operations only):
|
2100
2102
|
#
|
2101
|
-
# * `Executing
|
2103
|
+
# * `Executing`: Returns a list of command executions that are
|
2102
2104
|
# currently still running.
|
2103
2105
|
#
|
2104
|
-
# * `Complete
|
2106
|
+
# * `Complete`: Returns a list of command executions that have
|
2105
2107
|
# already completed.
|
2106
2108
|
# @return [String]
|
2107
2109
|
#
|
@@ -2991,7 +2993,7 @@ module Aws::SSM
|
|
2991
2993
|
#
|
2992
2994
|
# You can specify Amazon Web Services-predefined documents, documents
|
2993
2995
|
# you created, or a document that is shared with you from another
|
2994
|
-
# account.
|
2996
|
+
# Amazon Web Services account.
|
2995
2997
|
#
|
2996
2998
|
# For Systems Manager documents (SSM documents) that are shared with
|
2997
2999
|
# you from other Amazon Web Services accounts, you must specify the
|
@@ -3232,7 +3234,9 @@ module Aws::SSM
|
|
3232
3234
|
end
|
3233
3235
|
|
3234
3236
|
# @!attribute [rw] content
|
3235
|
-
# The content for the new SSM document in JSON or YAML format.
|
3237
|
+
# The content for the new SSM document in JSON or YAML format. The
|
3238
|
+
# content of the document must not exceed 64KB. This quota also
|
3239
|
+
# includes the content specified for input parameters at runtime. We
|
3236
3240
|
# recommend storing the contents for your new document in an external
|
3237
3241
|
# JSON or YAML file and referencing the file in a command.
|
3238
3242
|
#
|
@@ -3798,13 +3802,13 @@ module Aws::SSM
|
|
3798
3802
|
# The action for Patch Manager to take on patches included in the
|
3799
3803
|
# `RejectedPackages` list.
|
3800
3804
|
#
|
3801
|
-
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b
|
3805
|
+
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b>: A package in the
|
3802
3806
|
# `Rejected` patches list is installed only if it is a dependency of
|
3803
3807
|
# another package. It is considered compliant with the patch
|
3804
3808
|
# baseline, and its status is reported as `InstalledOther`. This is
|
3805
3809
|
# the default action if no option is specified.
|
3806
3810
|
#
|
3807
|
-
# * <b> <code>BLOCK</code> </b
|
3811
|
+
# * <b> <code>BLOCK</code> </b>: Packages in the `RejectedPatches`
|
3808
3812
|
# list, and packages that include them as dependencies, aren't
|
3809
3813
|
# installed under any circumstances. If a package was installed
|
3810
3814
|
# before it was added to the Rejected patches list, it is considered
|
@@ -6118,10 +6122,10 @@ module Aws::SSM
|
|
6118
6122
|
# @!attribute [rw] mappings
|
6119
6123
|
# Each entry in the array contains:
|
6120
6124
|
#
|
6121
|
-
# * `PatchGroup
|
6125
|
+
# * `PatchGroup`: string (between 1 and 256 characters. Regex:
|
6122
6126
|
# `^([\p\{L\}\p\{Z\}\p\{N\}_.:/=+\-@]*)$)`
|
6123
6127
|
#
|
6124
|
-
# * `PatchBaselineIdentity
|
6128
|
+
# * `PatchBaselineIdentity`: A `PatchBaselineIdentity` element.
|
6125
6129
|
# @return [Array<Types::PatchGroupPatchBaselineMapping>]
|
6126
6130
|
#
|
6127
6131
|
# @!attribute [rw] next_token
|
@@ -6344,7 +6348,7 @@ module Aws::SSM
|
|
6344
6348
|
# @return [String]
|
6345
6349
|
#
|
6346
6350
|
# @!attribute [rw] owner
|
6347
|
-
# The Amazon Web Services user
|
6351
|
+
# The Amazon Web Services user that created the document.
|
6348
6352
|
# @return [String]
|
6349
6353
|
#
|
6350
6354
|
# @!attribute [rw] created_date
|
@@ -6529,7 +6533,7 @@ module Aws::SSM
|
|
6529
6533
|
# @return [String]
|
6530
6534
|
#
|
6531
6535
|
# @!attribute [rw] owner
|
6532
|
-
# The Amazon Web Services user
|
6536
|
+
# The Amazon Web Services user that created the document.
|
6533
6537
|
# @return [String]
|
6534
6538
|
#
|
6535
6539
|
# @!attribute [rw] version_name
|
@@ -6730,7 +6734,7 @@ module Aws::SSM
|
|
6730
6734
|
include Aws::Structure
|
6731
6735
|
end
|
6732
6736
|
|
6733
|
-
# Parameters specified in a
|
6737
|
+
# Parameters specified in a Systems Manager document that run on the
|
6734
6738
|
# server when the command is run.
|
6735
6739
|
#
|
6736
6740
|
# @!attribute [rw] name
|
@@ -6763,9 +6767,9 @@ module Aws::SSM
|
|
6763
6767
|
include Aws::Structure
|
6764
6768
|
end
|
6765
6769
|
|
6766
|
-
# The document can't be shared with more Amazon Web Services
|
6767
|
-
#
|
6768
|
-
#
|
6770
|
+
# The document can't be shared with more Amazon Web Services accounts.
|
6771
|
+
# You can specify a maximum of 20 accounts per API operation to share a
|
6772
|
+
# private document.
|
6769
6773
|
#
|
6770
6774
|
# By default, you can share a private document with a maximum of 1,000
|
6771
6775
|
# accounts and publicly share up to five documents.
|
@@ -7990,9 +7994,9 @@ module Aws::SSM
|
|
7990
7994
|
#
|
7991
7995
|
# The map has the following format:
|
7992
7996
|
#
|
7993
|
-
# * `Key
|
7997
|
+
# * `Key`: string, between 1 and 255 characters
|
7994
7998
|
#
|
7995
|
-
# * `Value
|
7999
|
+
# * `Value`: an array of strings, each between 1 and 255 characters
|
7996
8000
|
# @return [Array<Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>>]
|
7997
8001
|
#
|
7998
8002
|
# @!attribute [rw] priority
|
@@ -8569,11 +8573,11 @@ module Aws::SSM
|
|
8569
8573
|
# @!attribute [rw] parameter_filters
|
8570
8574
|
# Filters to limit the request results.
|
8571
8575
|
#
|
8572
|
-
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath
|
8576
|
+
# <note markdown="1"> The following `Key` values are supported for `GetParametersByPath`:
|
8573
8577
|
# `Type`, `KeyId`, and `Label`.
|
8574
8578
|
#
|
8575
8579
|
# The following `Key` values aren't supported for
|
8576
|
-
# `GetParametersByPath
|
8580
|
+
# `GetParametersByPath`: `tag`, `DataType`, `Name`, `Path`, and
|
8577
8581
|
# `Tier`.
|
8578
8582
|
#
|
8579
8583
|
# </note>
|
@@ -8905,6 +8909,8 @@ module Aws::SSM
|
|
8905
8909
|
# The ID of the service setting to get. The setting ID can be one of
|
8906
8910
|
# the following.
|
8907
8911
|
#
|
8912
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
8913
|
+
#
|
8908
8914
|
# * `/ssm/automation/customer-script-log-destination`
|
8909
8915
|
#
|
8910
8916
|
# * `/ssm/automation/customer-script-log-group-name`
|
@@ -9529,11 +9535,11 @@ module Aws::SSM
|
|
9529
9535
|
#
|
9530
9536
|
# </note>
|
9531
9537
|
#
|
9532
|
-
# * `RebootIfNeeded
|
9538
|
+
# * `RebootIfNeeded`: Patch Manager tries to reboot the managed node
|
9533
9539
|
# if it installed any patches, or if any patches are detected with a
|
9534
9540
|
# status of `InstalledPendingReboot`.
|
9535
9541
|
#
|
9536
|
-
# * `NoReboot
|
9542
|
+
# * `NoReboot`: Patch Manager attempts to install missing packages
|
9537
9543
|
# without trying to reboot the system. Patches installed with this
|
9538
9544
|
# option are assigned a status of `InstalledPendingReboot`. These
|
9539
9545
|
# patches might not be in effect until a reboot is performed.
|
@@ -9593,15 +9599,15 @@ module Aws::SSM
|
|
9593
9599
|
# Defines a filter used in DescribeInstancePatchStatesForPatchGroup to
|
9594
9600
|
# scope down the information returned by the API.
|
9595
9601
|
#
|
9596
|
-
# **Example
|
9602
|
+
# **Example**: To filter for all managed nodes in a patch group having
|
9597
9603
|
# more than three patches with a `FailedCount` status, use the following
|
9598
9604
|
# for the filter:
|
9599
9605
|
#
|
9600
|
-
# * Value for `Key
|
9606
|
+
# * Value for `Key`: `FailedCount`
|
9601
9607
|
#
|
9602
|
-
# * Value for `Type
|
9608
|
+
# * Value for `Type`: `GreaterThan`
|
9603
9609
|
#
|
9604
|
-
# * Value for `Values
|
9610
|
+
# * Value for `Values`: `3`
|
9605
9611
|
#
|
9606
9612
|
# @!attribute [rw] key
|
9607
9613
|
# The key for the filter. Supported values include the following:
|
@@ -12453,18 +12459,17 @@ module Aws::SSM
|
|
12453
12459
|
# @return [String]
|
12454
12460
|
#
|
12455
12461
|
# @!attribute [rw] account_ids_to_add
|
12456
|
-
# The Amazon Web Services
|
12462
|
+
# The Amazon Web Services users that should have access to the
|
12457
12463
|
# document. The account IDs can either be a group of account IDs or
|
12458
12464
|
# *All*.
|
12459
12465
|
# @return [Array<String>]
|
12460
12466
|
#
|
12461
12467
|
# @!attribute [rw] account_ids_to_remove
|
12462
|
-
# The Amazon Web Services
|
12463
|
-
#
|
12464
|
-
#
|
12465
|
-
#
|
12466
|
-
#
|
12467
|
-
# document.
|
12468
|
+
# The Amazon Web Services users that should no longer have access to
|
12469
|
+
# the document. The Amazon Web Services user can either be a group of
|
12470
|
+
# account IDs or *All*. This action has a higher priority than
|
12471
|
+
# *AccountIdsToAdd*. If you specify an ID to add and the same ID to
|
12472
|
+
# remove, the system removes access to the document.
|
12468
12473
|
# @return [Array<String>]
|
12469
12474
|
#
|
12470
12475
|
# @!attribute [rw] shared_document_version
|
@@ -12530,12 +12535,12 @@ module Aws::SSM
|
|
12530
12535
|
# @!attribute [rw] notification_type
|
12531
12536
|
# The type of notification.
|
12532
12537
|
#
|
12533
|
-
# * `Command
|
12538
|
+
# * `Command`: Receive notification when the status of a command
|
12534
12539
|
# changes.
|
12535
12540
|
#
|
12536
|
-
# * `Invocation
|
12537
|
-
#
|
12538
|
-
#
|
12541
|
+
# * `Invocation`: For commands sent to multiple managed nodes, receive
|
12542
|
+
# notification on a per-node basis when the status of a command
|
12543
|
+
# changes.
|
12539
12544
|
# @return [String]
|
12540
12545
|
#
|
12541
12546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NotificationConfig AWS API Documentation
|
@@ -14695,20 +14700,17 @@ module Aws::SSM
|
|
14695
14700
|
#
|
14696
14701
|
# @!attribute [rw] key_id
|
14697
14702
|
# The Key Management Service (KMS) ID that you want to use to encrypt
|
14698
|
-
# a parameter.
|
14699
|
-
# your Amazon Web Services account or a custom key. Required for
|
14703
|
+
# a parameter. Use a custom key for better security. Required for
|
14700
14704
|
# parameters that use the `SecureString` data type.
|
14701
14705
|
#
|
14702
14706
|
# If you don't specify a key ID, the system uses the default key
|
14703
|
-
# associated with your Amazon Web Services account
|
14704
|
-
#
|
14705
|
-
# * To use your default KMS key, choose the `SecureString` data type,
|
14706
|
-
# and do *not* specify the `Key ID` when you create the parameter.
|
14707
|
-
# The system automatically populates `Key ID` with your default KMS
|
14708
|
-
# key.
|
14707
|
+
# associated with your Amazon Web Services account which is not as
|
14708
|
+
# secure as using a custom key.
|
14709
14709
|
#
|
14710
14710
|
# * To use a custom KMS key, choose the `SecureString` data type with
|
14711
14711
|
# the `Key ID` parameter.
|
14712
|
+
#
|
14713
|
+
# ^
|
14712
14714
|
# @return [String]
|
14713
14715
|
#
|
14714
14716
|
# @!attribute [rw] overwrite
|
@@ -14784,10 +14786,10 @@ module Aws::SSM
|
|
14784
14786
|
# standard-parameter tier. If you use the advanced-parameter tier, you
|
14785
14787
|
# can specify one of the following as the default:
|
14786
14788
|
#
|
14787
|
-
# * **Advanced
|
14789
|
+
# * **Advanced**: With this option, Parameter Store evaluates all
|
14788
14790
|
# requests as advanced parameters.
|
14789
14791
|
#
|
14790
|
-
# * **Intelligent-Tiering
|
14792
|
+
# * **Intelligent-Tiering**: With this option, Parameter Store
|
14791
14793
|
# evaluates each request to determine if the parameter is standard
|
14792
14794
|
# or advanced.
|
14793
14795
|
#
|
@@ -14867,13 +14869,29 @@ module Aws::SSM
|
|
14867
14869
|
# Amazon Web Services Systems Manager validates the parameter value is
|
14868
14870
|
# in the required format, such as `ami-12345abcdeEXAMPLE`, and that
|
14869
14871
|
# the specified AMI is available in your Amazon Web Services account.
|
14870
|
-
#
|
14871
|
-
#
|
14872
|
-
#
|
14872
|
+
#
|
14873
|
+
# <note markdown="1"> If the action is successful, the service sends back an HTTP 200
|
14874
|
+
# response which indicates a successful `PutParameter` call for all
|
14875
|
+
# cases except for data type `aws:ec2:image`. If you call
|
14876
|
+
# `PutParameter` with `aws:ec2:image` data type, a successful HTTP 200
|
14877
|
+
# response does not guarantee that your parameter was successfully
|
14878
|
+
# created or updated. The `aws:ec2:image` value is validated
|
14879
|
+
# asynchronously, and the `PutParameter` call returns before the
|
14880
|
+
# validation is complete. If you submit an invalid AMI value, the
|
14881
|
+
# PutParameter operation will return success, but the asynchronous
|
14882
|
+
# validation will fail and the parameter will not be created or
|
14883
|
+
# updated. To monitor whether your `aws:ec2:image` parameters are
|
14884
|
+
# created successfully, see [Setting up notifications or trigger
|
14885
|
+
# actions based on Parameter Store events][1]. For more information
|
14886
|
+
# about AMI format validation , see [Native parameter support for
|
14887
|
+
# Amazon Machine Image (AMI) IDs][2].
|
14888
|
+
#
|
14889
|
+
# </note>
|
14873
14890
|
#
|
14874
14891
|
#
|
14875
14892
|
#
|
14876
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/
|
14893
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-cwe.html
|
14894
|
+
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html
|
14877
14895
|
# @return [String]
|
14878
14896
|
#
|
14879
14897
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest AWS API Documentation
|
@@ -15050,23 +15068,23 @@ module Aws::SSM
|
|
15050
15068
|
# You can specify targets using managed node IDs, resource group
|
15051
15069
|
# names, or tags that have been applied to managed nodes.
|
15052
15070
|
#
|
15053
|
-
# **Example 1
|
15071
|
+
# **Example 1**: Specify managed node IDs
|
15054
15072
|
#
|
15055
15073
|
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>,<instance-id-3>`
|
15056
15074
|
#
|
15057
|
-
# **Example 2
|
15075
|
+
# **Example 2**: Use tag key-pairs applied to managed nodes
|
15058
15076
|
#
|
15059
15077
|
# `Key=tag:<my-tag-key>,Values=<my-tag-value-1>,<my-tag-value-2>`
|
15060
15078
|
#
|
15061
|
-
# **Example 3
|
15079
|
+
# **Example 3**: Use tag-keys applied to managed nodes
|
15062
15080
|
#
|
15063
15081
|
# `Key=tag-key,Values=<my-tag-key-1>,<my-tag-key-2>`
|
15064
15082
|
#
|
15065
|
-
# **Example 4
|
15083
|
+
# **Example 4**: Use resource group names
|
15066
15084
|
#
|
15067
15085
|
# `Key=resource-groups:Name,Values=<resource-group-name>`
|
15068
15086
|
#
|
15069
|
-
# **Example 5
|
15087
|
+
# **Example 5**: Use filters for resource group types
|
15070
15088
|
#
|
15071
15089
|
# `Key=resource-groups:ResourceTypeFilters,Values=<resource-type-1>,<resource-type-2>`
|
15072
15090
|
#
|
@@ -15176,7 +15194,7 @@ module Aws::SSM
|
|
15176
15194
|
# is created when you run `RegisterTaskWithMaintenanceWindow`.
|
15177
15195
|
#
|
15178
15196
|
# For more information, see the following topics in the in the *Amazon
|
15179
|
-
# Web Services Systems Manager User Guide
|
15197
|
+
# Web Services Systems Manager User Guide*:
|
15180
15198
|
#
|
15181
15199
|
# * [Using service-linked roles for Systems Manager][1]
|
15182
15200
|
#
|
@@ -15291,10 +15309,10 @@ module Aws::SSM
|
|
15291
15309
|
# Indicates whether tasks should continue to run after the cutoff time
|
15292
15310
|
# specified in the maintenance windows is reached.
|
15293
15311
|
#
|
15294
|
-
# * `CONTINUE_TASK
|
15312
|
+
# * `CONTINUE_TASK`: When the cutoff time is reached, any tasks that
|
15295
15313
|
# are running continue. The default value.
|
15296
15314
|
#
|
15297
|
-
# * `CANCEL_TASK
|
15315
|
+
# * `CANCEL_TASK`:
|
15298
15316
|
#
|
15299
15317
|
# * For Automation, Lambda, Step Functions tasks: When the cutoff
|
15300
15318
|
# time is reached, any task invocations that are already running
|
@@ -15403,7 +15421,7 @@ module Aws::SSM
|
|
15403
15421
|
#
|
15404
15422
|
# MaintenanceWindow: mw-012345abcde
|
15405
15423
|
#
|
15406
|
-
# `Automation
|
15424
|
+
# `Automation`: `example-c160-4567-8519-012345abcde`
|
15407
15425
|
#
|
15408
15426
|
# PatchBaseline: pb-012345abcde
|
15409
15427
|
#
|
@@ -15449,6 +15467,8 @@ module Aws::SSM
|
|
15449
15467
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
15450
15468
|
# setting ID can be one of the following.
|
15451
15469
|
#
|
15470
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
15471
|
+
#
|
15452
15472
|
# * `/ssm/automation/customer-script-log-destination`
|
15453
15473
|
#
|
15454
15474
|
# * `/ssm/automation/customer-script-log-group-name`
|
@@ -15889,16 +15909,16 @@ module Aws::SSM
|
|
15889
15909
|
# The data type name for including resource data sync state. There are
|
15890
15910
|
# four sync states:
|
15891
15911
|
#
|
15892
|
-
# `OrganizationNotExists
|
15912
|
+
# `OrganizationNotExists`: Your organization doesn't exist.
|
15893
15913
|
#
|
15894
|
-
# `NoPermissions
|
15914
|
+
# `NoPermissions`: The system can't locate the service-linked role.
|
15895
15915
|
# This role is automatically created when a user creates a resource
|
15896
15916
|
# data sync in Explorer.
|
15897
15917
|
#
|
15898
|
-
# `InvalidOrganizationalUnit
|
15918
|
+
# `InvalidOrganizationalUnit`: You specified or selected an invalid
|
15899
15919
|
# unit in the resource data sync configuration.
|
15900
15920
|
#
|
15901
|
-
# `TrustedAccessDisabled
|
15921
|
+
# `TrustedAccessDisabled`: You disabled Systems Manager access in the
|
15902
15922
|
# organization in Organizations.
|
15903
15923
|
# @return [String]
|
15904
15924
|
#
|
@@ -16625,8 +16645,7 @@ module Aws::SSM
|
|
16625
16645
|
# @return [String]
|
16626
16646
|
#
|
16627
16647
|
# @!attribute [rw] owner
|
16628
|
-
# The ID of the Amazon Web Services user
|
16629
|
-
# session.
|
16648
|
+
# The ID of the Amazon Web Services user that started the session.
|
16630
16649
|
# @return [String]
|
16631
16650
|
#
|
16632
16651
|
# @!attribute [rw] reason
|
@@ -16683,8 +16702,8 @@ module Aws::SSM
|
|
16683
16702
|
# * Target: Specify a managed node to which session connections have
|
16684
16703
|
# been made.
|
16685
16704
|
#
|
16686
|
-
# * Owner: Specify an Amazon Web Services user
|
16687
|
-
#
|
16705
|
+
# * Owner: Specify an Amazon Web Services user to see a list of
|
16706
|
+
# sessions started by that user.
|
16688
16707
|
#
|
16689
16708
|
# * Status: Specify a valid session status to see a list of all
|
16690
16709
|
# sessions with that status. Status values you can specify include:
|
@@ -17388,13 +17407,13 @@ module Aws::SSM
|
|
17388
17407
|
#
|
17389
17408
|
# * `Key=tag-key,Values=<my-tag-key-1>,<my-tag-key-2>`
|
17390
17409
|
#
|
17391
|
-
# * **Run Command and Maintenance window targets only
|
17410
|
+
# * **Run Command and Maintenance window targets only**:
|
17392
17411
|
# `Key=resource-groups:Name,Values=<resource-group-name>`
|
17393
17412
|
#
|
17394
|
-
# * **Maintenance window targets only
|
17413
|
+
# * **Maintenance window targets only**:
|
17395
17414
|
# `Key=resource-groups:ResourceTypeFilters,Values=<resource-type-1>,<resource-type-2>`
|
17396
17415
|
#
|
17397
|
-
# * **Automation targets only
|
17416
|
+
# * **Automation targets only**:
|
17398
17417
|
# `Key=ResourceGroup;Values=<resource-group-name>`
|
17399
17418
|
#
|
17400
17419
|
# For example:
|
@@ -17405,23 +17424,23 @@ module Aws::SSM
|
|
17405
17424
|
#
|
17406
17425
|
# * `Key=tag-key,Values=Name,Instance-Type,CostCenter`
|
17407
17426
|
#
|
17408
|
-
# * **Run Command and Maintenance window targets only
|
17427
|
+
# * **Run Command and Maintenance window targets only**:
|
17409
17428
|
# `Key=resource-groups:Name,Values=ProductionResourceGroup`
|
17410
17429
|
#
|
17411
17430
|
# This example demonstrates how to target all resources in the
|
17412
17431
|
# resource group **ProductionResourceGroup** in your maintenance
|
17413
17432
|
# window.
|
17414
17433
|
#
|
17415
|
-
# * **Maintenance window targets only
|
17434
|
+
# * **Maintenance window targets only**:
|
17416
17435
|
# `Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC`
|
17417
17436
|
#
|
17418
17437
|
# This example demonstrates how to target only Amazon Elastic Compute
|
17419
17438
|
# Cloud (Amazon EC2) instances and VPCs in your maintenance window.
|
17420
17439
|
#
|
17421
|
-
# * **Automation targets only
|
17440
|
+
# * **Automation targets only**:
|
17422
17441
|
# `Key=ResourceGroup,Values=MyResourceGroup`
|
17423
17442
|
#
|
17424
|
-
# * **State Manager association targets only
|
17443
|
+
# * **State Manager association targets only**:
|
17425
17444
|
# `Key=InstanceIds,Values=*`
|
17426
17445
|
#
|
17427
17446
|
# This example demonstrates how to target all managed instances in the
|
@@ -18480,7 +18499,7 @@ module Aws::SSM
|
|
18480
18499
|
# is created when you run `RegisterTaskWithMaintenanceWindow`.
|
18481
18500
|
#
|
18482
18501
|
# For more information, see the following topics in the in the *Amazon
|
18483
|
-
# Web Services Systems Manager User Guide
|
18502
|
+
# Web Services Systems Manager User Guide*:
|
18484
18503
|
#
|
18485
18504
|
# * [Using service-linked roles for Systems Manager][1]
|
18486
18505
|
#
|
@@ -18610,10 +18629,10 @@ module Aws::SSM
|
|
18610
18629
|
# Indicates whether tasks should continue to run after the cutoff time
|
18611
18630
|
# specified in the maintenance windows is reached.
|
18612
18631
|
#
|
18613
|
-
# * `CONTINUE_TASK
|
18632
|
+
# * `CONTINUE_TASK`: When the cutoff time is reached, any tasks that
|
18614
18633
|
# are running continue. The default value.
|
18615
18634
|
#
|
18616
|
-
# * `CANCEL_TASK
|
18635
|
+
# * `CANCEL_TASK`:
|
18617
18636
|
#
|
18618
18637
|
# * For Automation, Lambda, Step Functions tasks: When the cutoff
|
18619
18638
|
# time is reached, any task invocations that are already running
|
@@ -19029,13 +19048,13 @@ module Aws::SSM
|
|
19029
19048
|
# The action for Patch Manager to take on patches included in the
|
19030
19049
|
# `RejectedPackages` list.
|
19031
19050
|
#
|
19032
|
-
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b
|
19051
|
+
# * <b> <code>ALLOW_AS_DEPENDENCY</code> </b>: A package in the
|
19033
19052
|
# `Rejected` patches list is installed only if it is a dependency of
|
19034
19053
|
# another package. It is considered compliant with the patch
|
19035
19054
|
# baseline, and its status is reported as `InstalledOther`. This is
|
19036
19055
|
# the default action if no option is specified.
|
19037
19056
|
#
|
19038
|
-
# * <b> <code>BLOCK</code> </b
|
19057
|
+
# * <b> <code>BLOCK</code> </b>: Packages in the `RejectedPatches`
|
19039
19058
|
# list, and packages that include them as dependencies, aren't
|
19040
19059
|
# installed under any circumstances. If a package was installed
|
19041
19060
|
# before it was added to the `Rejected` patches list, it is
|
@@ -19193,11 +19212,13 @@ module Aws::SSM
|
|
19193
19212
|
# The request body of the UpdateServiceSetting API operation.
|
19194
19213
|
#
|
19195
19214
|
# @!attribute [rw] setting_id
|
19196
|
-
# The Amazon Resource Name (ARN) of the service setting to
|
19215
|
+
# The Amazon Resource Name (ARN) of the service setting to update. For
|
19197
19216
|
# example,
|
19198
19217
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
19199
19218
|
# The setting ID can be one of the following.
|
19200
19219
|
#
|
19220
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role`
|
19221
|
+
#
|
19201
19222
|
# * `/ssm/automation/customer-script-log-destination`
|
19202
19223
|
#
|
19203
19224
|
# * `/ssm/automation/customer-script-log-group-name`
|
@@ -19211,28 +19232,39 @@ module Aws::SSM
|
|
19211
19232
|
# * `/ssm/parameter-store/default-parameter-tier`
|
19212
19233
|
#
|
19213
19234
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
19235
|
+
#
|
19236
|
+
# <note markdown="1"> Permissions to update the
|
19237
|
+
# `/ssm/managed-instance/default-ec2-instance-management-role` setting
|
19238
|
+
# should only be provided to administrators. Implement least privilege
|
19239
|
+
# access when allowing individuals to configure or modify the Default
|
19240
|
+
# Host Management Configuration.
|
19241
|
+
#
|
19242
|
+
# </note>
|
19214
19243
|
# @return [String]
|
19215
19244
|
#
|
19216
19245
|
# @!attribute [rw] setting_value
|
19217
19246
|
# The new value to specify for the service setting. The following list
|
19218
19247
|
# specifies the available values for each setting.
|
19219
19248
|
#
|
19220
|
-
# * `/ssm/
|
19249
|
+
# * `/ssm/managed-instance/default-ec2-instance-management-role: The
|
19250
|
+
# name of an IAM role`
|
19251
|
+
#
|
19252
|
+
# * `/ssm/automation/customer-script-log-destination`: `CloudWatch`
|
19221
19253
|
#
|
19222
|
-
# * `/ssm/automation/customer-script-log-group-name
|
19254
|
+
# * `/ssm/automation/customer-script-log-group-name`: The name of an
|
19223
19255
|
# Amazon CloudWatch Logs log group
|
19224
19256
|
#
|
19225
|
-
# * `/ssm/documents/console/public-sharing-permission
|
19257
|
+
# * `/ssm/documents/console/public-sharing-permission`: `Enable` or
|
19226
19258
|
# `Disable`
|
19227
19259
|
#
|
19228
|
-
# * `/ssm/managed-instance/activation-tier
|
19260
|
+
# * `/ssm/managed-instance/activation-tier`: `standard` or `advanced`
|
19229
19261
|
#
|
19230
|
-
# * `/ssm/opsinsights/opscenter
|
19262
|
+
# * `/ssm/opsinsights/opscenter`: `Enabled` or `Disabled`
|
19231
19263
|
#
|
19232
|
-
# * `/ssm/parameter-store/default-parameter-tier
|
19264
|
+
# * `/ssm/parameter-store/default-parameter-tier`: `Standard`,
|
19233
19265
|
# `Advanced`, `Intelligent-Tiering`
|
19234
19266
|
#
|
19235
|
-
# * `/ssm/parameter-store/high-throughput-enabled
|
19267
|
+
# * `/ssm/parameter-store/high-throughput-enabled`: `true` or `false`
|
19236
19268
|
# @return [String]
|
19237
19269
|
#
|
19238
19270
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
|
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.150.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: 2023-
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|