aws-sdk-ssm 1.101.0 → 1.106.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 +618 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ssm.rb +2 -2
- data/lib/aws-sdk-ssm/client.rb +170 -28
- data/lib/aws-sdk-ssm/client_api.rb +21 -1
- data/lib/aws-sdk-ssm/errors.rb +1 -1
- data/lib/aws-sdk-ssm/resource.rb +1 -1
- data/lib/aws-sdk-ssm/types.rb +349 -47
- data/lib/aws-sdk-ssm/waiters.rb +1 -1
- metadata +8 -5
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.106.0
|
data/lib/aws-sdk-ssm.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::SSM
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.106.0'
|
53
53
|
|
54
54
|
end
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -383,6 +383,14 @@ module Aws::SSM
|
|
383
383
|
#
|
384
384
|
# PatchBaseline: pb-012345abcde
|
385
385
|
#
|
386
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
387
|
+
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
388
|
+
# is created from the strings that come after the word `opsmetadata` in
|
389
|
+
# the ARN. For example, an OpsMetadata object with an ARN of
|
390
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
391
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
392
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
393
|
+
#
|
386
394
|
# For the Document and Parameter values, use the name of the resource.
|
387
395
|
#
|
388
396
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -403,7 +411,7 @@ module Aws::SSM
|
|
403
411
|
# @example Request syntax with placeholder values
|
404
412
|
#
|
405
413
|
# resp = client.add_tags_to_resource({
|
406
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
414
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
407
415
|
# resource_id: "ResourceId", # required
|
408
416
|
# tags: [ # required
|
409
417
|
# {
|
@@ -1499,6 +1507,18 @@ module Aws::SSM
|
|
1499
1507
|
# @option params [Hash<String,Types::MetadataValue>] :metadata
|
1500
1508
|
# Metadata for a new Application Manager application.
|
1501
1509
|
#
|
1510
|
+
# @option params [Array<Types::Tag>] :tags
|
1511
|
+
# Optional metadata that you assign to a resource. You can specify a
|
1512
|
+
# maximum of five tags for an OpsMetadata object. Tags enable you to
|
1513
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
1514
|
+
# environment. For example, you might want to tag an OpsMetadata object
|
1515
|
+
# to identify an environment or target AWS Region. In this case, you
|
1516
|
+
# could specify the following key-value pairs:
|
1517
|
+
#
|
1518
|
+
# * `Key=Environment,Value=Production`
|
1519
|
+
#
|
1520
|
+
# * `Key=Region,Value=us-east-2`
|
1521
|
+
#
|
1502
1522
|
# @return [Types::CreateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1503
1523
|
#
|
1504
1524
|
# * {Types::CreateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
|
@@ -1512,6 +1532,12 @@ module Aws::SSM
|
|
1512
1532
|
# value: "MetadataValueString",
|
1513
1533
|
# },
|
1514
1534
|
# },
|
1535
|
+
# tags: [
|
1536
|
+
# {
|
1537
|
+
# key: "TagKey", # required
|
1538
|
+
# value: "TagValue", # required
|
1539
|
+
# },
|
1540
|
+
# ],
|
1515
1541
|
# })
|
1516
1542
|
#
|
1517
1543
|
# @example Response structure
|
@@ -1563,8 +1589,8 @@ module Aws::SSM
|
|
1563
1589
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1564
1590
|
#
|
1565
1591
|
# @option params [String] :approved_patches_compliance_level
|
1566
|
-
# Defines the compliance level for approved patches.
|
1567
|
-
#
|
1592
|
+
# Defines the compliance level for approved patches. When an approved
|
1593
|
+
# patch is reported as missing, this value describes the severity of the
|
1568
1594
|
# compliance violation. The default value is UNSPECIFIED.
|
1569
1595
|
#
|
1570
1596
|
# @option params [Boolean] :approved_patches_enable_non_security
|
@@ -2941,16 +2967,28 @@ module Aws::SSM
|
|
2941
2967
|
# The permission type for the document. The permission type can be
|
2942
2968
|
# *Share*.
|
2943
2969
|
#
|
2970
|
+
# @option params [Integer] :max_results
|
2971
|
+
# The maximum number of items to return for this call. The call also
|
2972
|
+
# returns a token that you can specify in a subsequent call to get the
|
2973
|
+
# next set of results.
|
2974
|
+
#
|
2975
|
+
# @option params [String] :next_token
|
2976
|
+
# The token for the next set of items to return. (You received this
|
2977
|
+
# token from a previous call.)
|
2978
|
+
#
|
2944
2979
|
# @return [Types::DescribeDocumentPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2945
2980
|
#
|
2946
2981
|
# * {Types::DescribeDocumentPermissionResponse#account_ids #account_ids} => Array<String>
|
2947
2982
|
# * {Types::DescribeDocumentPermissionResponse#account_sharing_info_list #account_sharing_info_list} => Array<Types::AccountSharingInfo>
|
2983
|
+
# * {Types::DescribeDocumentPermissionResponse#next_token #next_token} => String
|
2948
2984
|
#
|
2949
2985
|
# @example Request syntax with placeholder values
|
2950
2986
|
#
|
2951
2987
|
# resp = client.describe_document_permission({
|
2952
2988
|
# name: "DocumentName", # required
|
2953
2989
|
# permission_type: "Share", # required, accepts Share
|
2990
|
+
# max_results: 1,
|
2991
|
+
# next_token: "NextToken",
|
2954
2992
|
# })
|
2955
2993
|
#
|
2956
2994
|
# @example Response structure
|
@@ -2960,6 +2998,7 @@ module Aws::SSM
|
|
2960
2998
|
# resp.account_sharing_info_list #=> Array
|
2961
2999
|
# resp.account_sharing_info_list[0].account_id #=> String
|
2962
3000
|
# resp.account_sharing_info_list[0].shared_document_version #=> String
|
3001
|
+
# resp.next_token #=> String
|
2963
3002
|
#
|
2964
3003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission AWS API Documentation
|
2965
3004
|
#
|
@@ -4821,12 +4860,14 @@ module Aws::SSM
|
|
4821
4860
|
# environment that is configured for Systems Manager.
|
4822
4861
|
#
|
4823
4862
|
# @option params [String] :plugin_name
|
4824
|
-
#
|
4825
|
-
#
|
4826
|
-
#
|
4863
|
+
# The name of the plugin for which you want detailed results. If the
|
4864
|
+
# document contains only one plugin, you can omit the name and details
|
4865
|
+
# for that plugin are returned. If the document contains more than one
|
4866
|
+
# plugin, you must specify the name of the plugin for which you want to
|
4867
|
+
# view details.
|
4827
4868
|
#
|
4828
|
-
# Plugin names are also referred to as step names in Systems Manager
|
4829
|
-
# documents.
|
4869
|
+
# Plugin names are also referred to as *step names* in Systems Manager
|
4870
|
+
# documents. For example, `aws:RunShellScript` is a plugin.
|
4830
4871
|
#
|
4831
4872
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4832
4873
|
#
|
@@ -4969,6 +5010,9 @@ module Aws::SSM
|
|
4969
5010
|
# @option params [required, String] :snapshot_id
|
4970
5011
|
# The user-defined snapshot ID.
|
4971
5012
|
#
|
5013
|
+
# @option params [Types::BaselineOverride] :baseline_override
|
5014
|
+
# Defines the basic information about a patch baseline override.
|
5015
|
+
#
|
4972
5016
|
# @return [Types::GetDeployablePatchSnapshotForInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4973
5017
|
#
|
4974
5018
|
# * {Types::GetDeployablePatchSnapshotForInstanceResult#instance_id #instance_id} => String
|
@@ -4981,6 +5025,47 @@ module Aws::SSM
|
|
4981
5025
|
# resp = client.get_deployable_patch_snapshot_for_instance({
|
4982
5026
|
# instance_id: "InstanceId", # required
|
4983
5027
|
# snapshot_id: "SnapshotId", # required
|
5028
|
+
# baseline_override: {
|
5029
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
5030
|
+
# global_filters: {
|
5031
|
+
# patch_filters: [ # required
|
5032
|
+
# {
|
5033
|
+
# key: "ARCH", # required, accepts 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
|
5034
|
+
# values: ["PatchFilterValue"], # required
|
5035
|
+
# },
|
5036
|
+
# ],
|
5037
|
+
# },
|
5038
|
+
# approval_rules: {
|
5039
|
+
# patch_rules: [ # required
|
5040
|
+
# {
|
5041
|
+
# patch_filter_group: { # required
|
5042
|
+
# patch_filters: [ # required
|
5043
|
+
# {
|
5044
|
+
# key: "ARCH", # required, accepts 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
|
5045
|
+
# values: ["PatchFilterValue"], # required
|
5046
|
+
# },
|
5047
|
+
# ],
|
5048
|
+
# },
|
5049
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
5050
|
+
# approve_after_days: 1,
|
5051
|
+
# approve_until_date: "PatchStringDateTime",
|
5052
|
+
# enable_non_security: false,
|
5053
|
+
# },
|
5054
|
+
# ],
|
5055
|
+
# },
|
5056
|
+
# approved_patches: ["PatchId"],
|
5057
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
5058
|
+
# rejected_patches: ["PatchId"],
|
5059
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
5060
|
+
# approved_patches_enable_non_security: false,
|
5061
|
+
# sources: [
|
5062
|
+
# {
|
5063
|
+
# name: "PatchSourceName", # required
|
5064
|
+
# products: ["PatchSourceProduct"], # required
|
5065
|
+
# configuration: "PatchSourceConfiguration", # required
|
5066
|
+
# },
|
5067
|
+
# ],
|
5068
|
+
# },
|
4984
5069
|
# })
|
4985
5070
|
#
|
4986
5071
|
# @example Response structure
|
@@ -5911,9 +5996,11 @@ module Aws::SSM
|
|
5911
5996
|
#
|
5912
5997
|
# @option params [required, String] :path
|
5913
5998
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
5914
|
-
# slash (/)
|
5915
|
-
#
|
5916
|
-
#
|
5999
|
+
# slash (/). The hierachy is the parameter name except the last part of
|
6000
|
+
# the parameter. For the API call to succeeed, the last part of the
|
6001
|
+
# parameter name cannot be in the path. A parameter name hierarchy can
|
6002
|
+
# have a maximum of 15 levels. Here is an example of a hierarchy:
|
6003
|
+
# `/Finance/Prod/IAD/WinServ2016/license33 `
|
5917
6004
|
#
|
5918
6005
|
# @option params [Boolean] :recursive
|
5919
6006
|
# Retrieve all parameters within a hierarchy.
|
@@ -6127,6 +6214,8 @@ module Aws::SSM
|
|
6127
6214
|
#
|
6128
6215
|
# @option params [required, String] :setting_id
|
6129
6216
|
# The ID of the service setting to get. The setting ID can be
|
6217
|
+
# `/ssm/automation/customer-script-log-destination`,
|
6218
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
6130
6219
|
# `/ssm/parameter-store/default-parameter-tier`,
|
6131
6220
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
6132
6221
|
# `/ssm/managed-instance/activation-tier`.
|
@@ -6842,14 +6931,20 @@ module Aws::SSM
|
|
6842
6931
|
# This data type is deprecated. Instead, use `Filters`.
|
6843
6932
|
#
|
6844
6933
|
# @option params [Array<Types::DocumentKeyValuesFilter>] :filters
|
6845
|
-
# One or more DocumentKeyValuesFilter objects. Use a filter to return
|
6846
|
-
# more specific list of results. For keys, you can specify one or more
|
6934
|
+
# One or more `DocumentKeyValuesFilter` objects. Use a filter to return
|
6935
|
+
# a more specific list of results. For keys, you can specify one or more
|
6847
6936
|
# key-value pair tags that have been applied to a document. Other valid
|
6848
6937
|
# keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`, and
|
6849
6938
|
# `TargetType`. For example, to return documents you own use
|
6850
6939
|
# `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
|
6851
6940
|
# format `Key=tag:tagName,Values=valueName`.
|
6852
6941
|
#
|
6942
|
+
# <note markdown="1"> This API action only supports filtering documents by using a single
|
6943
|
+
# tag key and one or more tag values. For example:
|
6944
|
+
# `Key=tag:tagName,Values=valueName1,valueName2`
|
6945
|
+
#
|
6946
|
+
# </note>
|
6947
|
+
#
|
6853
6948
|
# @option params [Integer] :max_results
|
6854
6949
|
# The maximum number of items to return for this call. The call also
|
6855
6950
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -7266,7 +7361,7 @@ module Aws::SSM
|
|
7266
7361
|
# @example Request syntax with placeholder values
|
7267
7362
|
#
|
7268
7363
|
# resp = client.list_tags_for_resource({
|
7269
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
7364
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
7270
7365
|
# resource_id: "ResourceId", # required
|
7271
7366
|
# })
|
7272
7367
|
#
|
@@ -7527,7 +7622,11 @@ module Aws::SSM
|
|
7527
7622
|
# (case-insensitive).
|
7528
7623
|
#
|
7529
7624
|
# * Parameter names can include only the following symbols and letters:
|
7530
|
-
# `a-zA-Z0-9_
|
7625
|
+
# `a-zA-Z0-9_.-`
|
7626
|
+
#
|
7627
|
+
# In addition, the slash character ( / ) is used to delineate
|
7628
|
+
# hierarchies in parameter names. For example:
|
7629
|
+
# `/Dev/Production/East/Project-ABC/MyParameter`
|
7531
7630
|
#
|
7532
7631
|
# * A parameter name can't include spaces.
|
7533
7632
|
#
|
@@ -7535,8 +7634,8 @@ module Aws::SSM
|
|
7535
7634
|
# levels.
|
7536
7635
|
#
|
7537
7636
|
# For additional information about valid values for parameter names, see
|
7538
|
-
# [
|
7539
|
-
#
|
7637
|
+
# [Creating Systems Manager parameters][1] in the *AWS Systems Manager
|
7638
|
+
# User Guide*.
|
7540
7639
|
#
|
7541
7640
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
7542
7641
|
# additional system attributes that are not part of the name. The
|
@@ -7550,7 +7649,7 @@ module Aws::SSM
|
|
7550
7649
|
#
|
7551
7650
|
#
|
7552
7651
|
#
|
7553
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-
|
7652
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
|
7554
7653
|
#
|
7555
7654
|
# @option params [String] :description
|
7556
7655
|
# Information about the parameter that you want to add to the system.
|
@@ -7878,6 +7977,14 @@ module Aws::SSM
|
|
7878
7977
|
# The targets to register with the maintenance window. In other words,
|
7879
7978
|
# the instances to run commands on when the maintenance window runs.
|
7880
7979
|
#
|
7980
|
+
# <note markdown="1"> If a single maintenance window task is registered with multiple
|
7981
|
+
# targets, its task invocations occur sequentially and not in parallel.
|
7982
|
+
# If your task must run on multiple targets at the same time, register a
|
7983
|
+
# task for each target individually and assign each task the same
|
7984
|
+
# priority level.
|
7985
|
+
#
|
7986
|
+
# </note>
|
7987
|
+
#
|
7881
7988
|
# You can specify targets using instance IDs, resource group names, or
|
7882
7989
|
# tags that have been applied to instances.
|
7883
7990
|
#
|
@@ -7981,7 +8088,7 @@ module Aws::SSM
|
|
7981
8088
|
# Command-type tasks. Depending on the task, targets are optional for
|
7982
8089
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
7983
8090
|
# Step Functions). For more information about running tasks that do not
|
7984
|
-
# specify targets, see
|
8091
|
+
# specify targets, see [Registering maintenance window tasks without
|
7985
8092
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
7986
8093
|
#
|
7987
8094
|
# </note>
|
@@ -8200,6 +8307,14 @@ module Aws::SSM
|
|
8200
8307
|
#
|
8201
8308
|
# PatchBaseline: pb-012345abcde
|
8202
8309
|
#
|
8310
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
8311
|
+
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
8312
|
+
# is created from the strings that come after the word `opsmetadata` in
|
8313
|
+
# the ARN. For example, an OpsMetadata object with an ARN of
|
8314
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
8315
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
8316
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
8317
|
+
#
|
8203
8318
|
# For the Document and Parameter values, use the name of the resource.
|
8204
8319
|
#
|
8205
8320
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -8216,7 +8331,7 @@ module Aws::SSM
|
|
8216
8331
|
# @example Request syntax with placeholder values
|
8217
8332
|
#
|
8218
8333
|
# resp = client.remove_tags_from_resource({
|
8219
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
8334
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
8220
8335
|
# resource_id: "ResourceId", # required
|
8221
8336
|
# tag_keys: ["TagKey"], # required
|
8222
8337
|
# })
|
@@ -8250,7 +8365,9 @@ module Aws::SSM
|
|
8250
8365
|
#
|
8251
8366
|
# @option params [required, String] :setting_id
|
8252
8367
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
8253
|
-
# setting ID can be `/ssm/
|
8368
|
+
# setting ID can be `/ssm/automation/customer-script-log-destination`,
|
8369
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
8370
|
+
# `/ssm/parameter-store/default-parameter-tier`,
|
8254
8371
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
8255
8372
|
# `/ssm/managed-instance/activation-tier`. For example,
|
8256
8373
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
@@ -8413,8 +8530,15 @@ module Aws::SSM
|
|
8413
8530
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
8414
8531
|
#
|
8415
8532
|
# @option params [required, String] :document_name
|
8416
|
-
#
|
8417
|
-
# a
|
8533
|
+
# The name of the Systems Manager document to run. This can be a public
|
8534
|
+
# document or a custom document. To run a shared document belonging to
|
8535
|
+
# another account, specify the document ARN. For more information about
|
8536
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8537
|
+
# the *AWS Systems Manager User Guide*.
|
8538
|
+
#
|
8539
|
+
#
|
8540
|
+
#
|
8541
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
8418
8542
|
#
|
8419
8543
|
# @option params [String] :document_version
|
8420
8544
|
# The SSM document version to use in the request. You can specify
|
@@ -8617,7 +8741,15 @@ module Aws::SSM
|
|
8617
8741
|
# Initiates execution of an Automation document.
|
8618
8742
|
#
|
8619
8743
|
# @option params [required, String] :document_name
|
8620
|
-
# The name of the
|
8744
|
+
# The name of the Systems Manager document to run. This can be a public
|
8745
|
+
# document or a custom document. To run a shared document belonging to
|
8746
|
+
# another account, specify the document ARN. For more information about
|
8747
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8748
|
+
# the *AWS Systems Manager User Guide*.
|
8749
|
+
#
|
8750
|
+
#
|
8751
|
+
#
|
8752
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
8621
8753
|
#
|
8622
8754
|
# @option params [String] :document_version
|
8623
8755
|
# The version of the Automation document to use for this execution.
|
@@ -9749,7 +9881,7 @@ module Aws::SSM
|
|
9749
9881
|
# Command-type tasks. Depending on the task, targets are optional for
|
9750
9882
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9751
9883
|
# Step Functions). For more information about running tasks that do not
|
9752
|
-
# specify targets, see
|
9884
|
+
# specify targets, see [Registering maintenance window tasks without
|
9753
9885
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
9754
9886
|
#
|
9755
9887
|
# </note>
|
@@ -9789,7 +9921,7 @@ module Aws::SSM
|
|
9789
9921
|
# Command-type tasks. Depending on the task, targets are optional for
|
9790
9922
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9791
9923
|
# Step Functions). For more information about running tasks that do not
|
9792
|
-
# specify targets, see
|
9924
|
+
# specify targets, see [Registering maintenance window tasks without
|
9793
9925
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
9794
9926
|
#
|
9795
9927
|
# </note>
|
@@ -10540,6 +10672,10 @@ module Aws::SSM
|
|
10540
10672
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
10541
10673
|
# The setting ID can be one of the following.
|
10542
10674
|
#
|
10675
|
+
# * `/ssm/automation/customer-script-log-destination`
|
10676
|
+
#
|
10677
|
+
# * `/ssm/automation/customer-script-log-group-name`
|
10678
|
+
#
|
10543
10679
|
# * `/ssm/parameter-store/default-parameter-tier`
|
10544
10680
|
#
|
10545
10681
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
@@ -10561,6 +10697,12 @@ module Aws::SSM
|
|
10561
10697
|
# `/ssm/managed-instance/activation-tier` setting IDs, the setting value
|
10562
10698
|
# can be true or false.
|
10563
10699
|
#
|
10700
|
+
# For the `/ssm/automation/customer-script-log-destination` setting ID,
|
10701
|
+
# the setting value can be CloudWatch.
|
10702
|
+
#
|
10703
|
+
# For the `/ssm/automation/customer-script-log-group-name` setting ID,
|
10704
|
+
# the setting value can be the name of a CloudWatch Logs log group.
|
10705
|
+
#
|
10564
10706
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10565
10707
|
#
|
10566
10708
|
# @example Request syntax with placeholder values
|
@@ -10592,7 +10734,7 @@ module Aws::SSM
|
|
10592
10734
|
params: params,
|
10593
10735
|
config: config)
|
10594
10736
|
context[:gem_name] = 'aws-sdk-ssm'
|
10595
|
-
context[:gem_version] = '1.
|
10737
|
+
context[:gem_version] = '1.106.0'
|
10596
10738
|
Seahorse::Client::Request.new(handlers, context)
|
10597
10739
|
end
|
10598
10740
|
|