aws-sdk-ssm 1.102.0 → 1.107.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 +623 -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 +138 -21
- data/lib/aws-sdk-ssm/client_api.rb +18 -1
- data/lib/aws-sdk-ssm/customizations.rb +1 -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 +327 -33
- data/lib/aws-sdk-ssm/waiters.rb +1 -1
- metadata +10 -7
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.107.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.107.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
|
# {
|
@@ -532,8 +540,10 @@ module Aws::SSM
|
|
532
540
|
# The default value is 1 instance.
|
533
541
|
#
|
534
542
|
# @option params [Time,DateTime,Date,Integer,String] :expiration_date
|
535
|
-
# The date by which this activation request should expire
|
536
|
-
#
|
543
|
+
# The date by which this activation request should expire, in timestamp
|
544
|
+
# format, such as "2021-07-07T00:00:00". You can specify a date up to
|
545
|
+
# 30 days in advance. If you don't provide an expiration date, the
|
546
|
+
# activation code expires in 24 hours.
|
537
547
|
#
|
538
548
|
# @option params [Array<Types::Tag>] :tags
|
539
549
|
# Optional metadata that you assign to a resource. Tags enable you to
|
@@ -1499,6 +1509,18 @@ module Aws::SSM
|
|
1499
1509
|
# @option params [Hash<String,Types::MetadataValue>] :metadata
|
1500
1510
|
# Metadata for a new Application Manager application.
|
1501
1511
|
#
|
1512
|
+
# @option params [Array<Types::Tag>] :tags
|
1513
|
+
# Optional metadata that you assign to a resource. You can specify a
|
1514
|
+
# maximum of five tags for an OpsMetadata object. Tags enable you to
|
1515
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
1516
|
+
# environment. For example, you might want to tag an OpsMetadata object
|
1517
|
+
# to identify an environment or target AWS Region. In this case, you
|
1518
|
+
# could specify the following key-value pairs:
|
1519
|
+
#
|
1520
|
+
# * `Key=Environment,Value=Production`
|
1521
|
+
#
|
1522
|
+
# * `Key=Region,Value=us-east-2`
|
1523
|
+
#
|
1502
1524
|
# @return [Types::CreateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1503
1525
|
#
|
1504
1526
|
# * {Types::CreateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
|
@@ -1512,6 +1534,12 @@ module Aws::SSM
|
|
1512
1534
|
# value: "MetadataValueString",
|
1513
1535
|
# },
|
1514
1536
|
# },
|
1537
|
+
# tags: [
|
1538
|
+
# {
|
1539
|
+
# key: "TagKey", # required
|
1540
|
+
# value: "TagValue", # required
|
1541
|
+
# },
|
1542
|
+
# ],
|
1515
1543
|
# })
|
1516
1544
|
#
|
1517
1545
|
# @example Response structure
|
@@ -1563,8 +1591,8 @@ module Aws::SSM
|
|
1563
1591
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1564
1592
|
#
|
1565
1593
|
# @option params [String] :approved_patches_compliance_level
|
1566
|
-
# Defines the compliance level for approved patches.
|
1567
|
-
#
|
1594
|
+
# Defines the compliance level for approved patches. When an approved
|
1595
|
+
# patch is reported as missing, this value describes the severity of the
|
1568
1596
|
# compliance violation. The default value is UNSPECIFIED.
|
1569
1597
|
#
|
1570
1598
|
# @option params [Boolean] :approved_patches_enable_non_security
|
@@ -1786,6 +1814,7 @@ module Aws::SSM
|
|
1786
1814
|
# },
|
1787
1815
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
1788
1816
|
# include_future_regions: false,
|
1817
|
+
# enable_all_ops_data_sources: false,
|
1789
1818
|
# },
|
1790
1819
|
# })
|
1791
1820
|
#
|
@@ -4834,12 +4863,14 @@ module Aws::SSM
|
|
4834
4863
|
# environment that is configured for Systems Manager.
|
4835
4864
|
#
|
4836
4865
|
# @option params [String] :plugin_name
|
4837
|
-
#
|
4838
|
-
#
|
4839
|
-
#
|
4866
|
+
# The name of the plugin for which you want detailed results. If the
|
4867
|
+
# document contains only one plugin, you can omit the name and details
|
4868
|
+
# for that plugin are returned. If the document contains more than one
|
4869
|
+
# plugin, you must specify the name of the plugin for which you want to
|
4870
|
+
# view details.
|
4840
4871
|
#
|
4841
|
-
# Plugin names are also referred to as step names in Systems Manager
|
4842
|
-
# documents.
|
4872
|
+
# Plugin names are also referred to as *step names* in Systems Manager
|
4873
|
+
# documents. For example, `aws:RunShellScript` is a plugin.
|
4843
4874
|
#
|
4844
4875
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4845
4876
|
#
|
@@ -4982,6 +5013,9 @@ module Aws::SSM
|
|
4982
5013
|
# @option params [required, String] :snapshot_id
|
4983
5014
|
# The user-defined snapshot ID.
|
4984
5015
|
#
|
5016
|
+
# @option params [Types::BaselineOverride] :baseline_override
|
5017
|
+
# Defines the basic information about a patch baseline override.
|
5018
|
+
#
|
4985
5019
|
# @return [Types::GetDeployablePatchSnapshotForInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4986
5020
|
#
|
4987
5021
|
# * {Types::GetDeployablePatchSnapshotForInstanceResult#instance_id #instance_id} => String
|
@@ -4994,6 +5028,47 @@ module Aws::SSM
|
|
4994
5028
|
# resp = client.get_deployable_patch_snapshot_for_instance({
|
4995
5029
|
# instance_id: "InstanceId", # required
|
4996
5030
|
# snapshot_id: "SnapshotId", # required
|
5031
|
+
# baseline_override: {
|
5032
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
5033
|
+
# global_filters: {
|
5034
|
+
# patch_filters: [ # required
|
5035
|
+
# {
|
5036
|
+
# 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
|
5037
|
+
# values: ["PatchFilterValue"], # required
|
5038
|
+
# },
|
5039
|
+
# ],
|
5040
|
+
# },
|
5041
|
+
# approval_rules: {
|
5042
|
+
# patch_rules: [ # required
|
5043
|
+
# {
|
5044
|
+
# patch_filter_group: { # required
|
5045
|
+
# patch_filters: [ # required
|
5046
|
+
# {
|
5047
|
+
# 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
|
5048
|
+
# values: ["PatchFilterValue"], # required
|
5049
|
+
# },
|
5050
|
+
# ],
|
5051
|
+
# },
|
5052
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
5053
|
+
# approve_after_days: 1,
|
5054
|
+
# approve_until_date: "PatchStringDateTime",
|
5055
|
+
# enable_non_security: false,
|
5056
|
+
# },
|
5057
|
+
# ],
|
5058
|
+
# },
|
5059
|
+
# approved_patches: ["PatchId"],
|
5060
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
5061
|
+
# rejected_patches: ["PatchId"],
|
5062
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
5063
|
+
# approved_patches_enable_non_security: false,
|
5064
|
+
# sources: [
|
5065
|
+
# {
|
5066
|
+
# name: "PatchSourceName", # required
|
5067
|
+
# products: ["PatchSourceProduct"], # required
|
5068
|
+
# configuration: "PatchSourceConfiguration", # required
|
5069
|
+
# },
|
5070
|
+
# ],
|
5071
|
+
# },
|
4997
5072
|
# })
|
4998
5073
|
#
|
4999
5074
|
# @example Response structure
|
@@ -6142,6 +6217,8 @@ module Aws::SSM
|
|
6142
6217
|
#
|
6143
6218
|
# @option params [required, String] :setting_id
|
6144
6219
|
# The ID of the service setting to get. The setting ID can be
|
6220
|
+
# `/ssm/automation/customer-script-log-destination`,
|
6221
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
6145
6222
|
# `/ssm/parameter-store/default-parameter-tier`,
|
6146
6223
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
6147
6224
|
# `/ssm/managed-instance/activation-tier`.
|
@@ -6857,14 +6934,20 @@ module Aws::SSM
|
|
6857
6934
|
# This data type is deprecated. Instead, use `Filters`.
|
6858
6935
|
#
|
6859
6936
|
# @option params [Array<Types::DocumentKeyValuesFilter>] :filters
|
6860
|
-
# One or more DocumentKeyValuesFilter objects. Use a filter to return
|
6861
|
-
# more specific list of results. For keys, you can specify one or more
|
6937
|
+
# One or more `DocumentKeyValuesFilter` objects. Use a filter to return
|
6938
|
+
# a more specific list of results. For keys, you can specify one or more
|
6862
6939
|
# key-value pair tags that have been applied to a document. Other valid
|
6863
6940
|
# keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`, and
|
6864
6941
|
# `TargetType`. For example, to return documents you own use
|
6865
6942
|
# `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
|
6866
6943
|
# format `Key=tag:tagName,Values=valueName`.
|
6867
6944
|
#
|
6945
|
+
# <note markdown="1"> This API action only supports filtering documents by using a single
|
6946
|
+
# tag key and one or more tag values. For example:
|
6947
|
+
# `Key=tag:tagName,Values=valueName1,valueName2`
|
6948
|
+
#
|
6949
|
+
# </note>
|
6950
|
+
#
|
6868
6951
|
# @option params [Integer] :max_results
|
6869
6952
|
# The maximum number of items to return for this call. The call also
|
6870
6953
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -7243,6 +7326,7 @@ module Aws::SSM
|
|
7243
7326
|
# resp.resource_data_sync_items[0].sync_source.source_regions[0] #=> String
|
7244
7327
|
# resp.resource_data_sync_items[0].sync_source.include_future_regions #=> Boolean
|
7245
7328
|
# resp.resource_data_sync_items[0].sync_source.state #=> String
|
7329
|
+
# resp.resource_data_sync_items[0].sync_source.enable_all_ops_data_sources #=> Boolean
|
7246
7330
|
# resp.resource_data_sync_items[0].s3_destination.bucket_name #=> String
|
7247
7331
|
# resp.resource_data_sync_items[0].s3_destination.prefix #=> String
|
7248
7332
|
# resp.resource_data_sync_items[0].s3_destination.sync_format #=> String, one of "JsonSerDe"
|
@@ -7281,7 +7365,7 @@ module Aws::SSM
|
|
7281
7365
|
# @example Request syntax with placeholder values
|
7282
7366
|
#
|
7283
7367
|
# resp = client.list_tags_for_resource({
|
7284
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
7368
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
7285
7369
|
# resource_id: "ResourceId", # required
|
7286
7370
|
# })
|
7287
7371
|
#
|
@@ -7542,7 +7626,11 @@ module Aws::SSM
|
|
7542
7626
|
# (case-insensitive).
|
7543
7627
|
#
|
7544
7628
|
# * Parameter names can include only the following symbols and letters:
|
7545
|
-
# `a-zA-Z0-9_
|
7629
|
+
# `a-zA-Z0-9_.-`
|
7630
|
+
#
|
7631
|
+
# In addition, the slash character ( / ) is used to delineate
|
7632
|
+
# hierarchies in parameter names. For example:
|
7633
|
+
# `/Dev/Production/East/Project-ABC/MyParameter`
|
7546
7634
|
#
|
7547
7635
|
# * A parameter name can't include spaces.
|
7548
7636
|
#
|
@@ -7550,8 +7638,8 @@ module Aws::SSM
|
|
7550
7638
|
# levels.
|
7551
7639
|
#
|
7552
7640
|
# For additional information about valid values for parameter names, see
|
7553
|
-
# [
|
7554
|
-
#
|
7641
|
+
# [Creating Systems Manager parameters][1] in the *AWS Systems Manager
|
7642
|
+
# User Guide*.
|
7555
7643
|
#
|
7556
7644
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
7557
7645
|
# additional system attributes that are not part of the name. The
|
@@ -7565,7 +7653,7 @@ module Aws::SSM
|
|
7565
7653
|
#
|
7566
7654
|
#
|
7567
7655
|
#
|
7568
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-
|
7656
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
|
7569
7657
|
#
|
7570
7658
|
# @option params [String] :description
|
7571
7659
|
# Information about the parameter that you want to add to the system.
|
@@ -7893,6 +7981,14 @@ module Aws::SSM
|
|
7893
7981
|
# The targets to register with the maintenance window. In other words,
|
7894
7982
|
# the instances to run commands on when the maintenance window runs.
|
7895
7983
|
#
|
7984
|
+
# <note markdown="1"> If a single maintenance window task is registered with multiple
|
7985
|
+
# targets, its task invocations occur sequentially and not in parallel.
|
7986
|
+
# If your task must run on multiple targets at the same time, register a
|
7987
|
+
# task for each target individually and assign each task the same
|
7988
|
+
# priority level.
|
7989
|
+
#
|
7990
|
+
# </note>
|
7991
|
+
#
|
7896
7992
|
# You can specify targets using instance IDs, resource group names, or
|
7897
7993
|
# tags that have been applied to instances.
|
7898
7994
|
#
|
@@ -8215,6 +8311,14 @@ module Aws::SSM
|
|
8215
8311
|
#
|
8216
8312
|
# PatchBaseline: pb-012345abcde
|
8217
8313
|
#
|
8314
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
8315
|
+
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
8316
|
+
# is created from the strings that come after the word `opsmetadata` in
|
8317
|
+
# the ARN. For example, an OpsMetadata object with an ARN of
|
8318
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
8319
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
8320
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
8321
|
+
#
|
8218
8322
|
# For the Document and Parameter values, use the name of the resource.
|
8219
8323
|
#
|
8220
8324
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -8231,7 +8335,7 @@ module Aws::SSM
|
|
8231
8335
|
# @example Request syntax with placeholder values
|
8232
8336
|
#
|
8233
8337
|
# resp = client.remove_tags_from_resource({
|
8234
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
8338
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
8235
8339
|
# resource_id: "ResourceId", # required
|
8236
8340
|
# tag_keys: ["TagKey"], # required
|
8237
8341
|
# })
|
@@ -8265,7 +8369,9 @@ module Aws::SSM
|
|
8265
8369
|
#
|
8266
8370
|
# @option params [required, String] :setting_id
|
8267
8371
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
8268
|
-
# setting ID can be `/ssm/
|
8372
|
+
# setting ID can be `/ssm/automation/customer-script-log-destination`,
|
8373
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
8374
|
+
# `/ssm/parameter-store/default-parameter-tier`,
|
8269
8375
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
8270
8376
|
# `/ssm/managed-instance/activation-tier`. For example,
|
8271
8377
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
@@ -10534,6 +10640,7 @@ module Aws::SSM
|
|
10534
10640
|
# },
|
10535
10641
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
10536
10642
|
# include_future_regions: false,
|
10643
|
+
# enable_all_ops_data_sources: false,
|
10537
10644
|
# },
|
10538
10645
|
# })
|
10539
10646
|
#
|
@@ -10570,6 +10677,10 @@ module Aws::SSM
|
|
10570
10677
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
10571
10678
|
# The setting ID can be one of the following.
|
10572
10679
|
#
|
10680
|
+
# * `/ssm/automation/customer-script-log-destination`
|
10681
|
+
#
|
10682
|
+
# * `/ssm/automation/customer-script-log-group-name`
|
10683
|
+
#
|
10573
10684
|
# * `/ssm/parameter-store/default-parameter-tier`
|
10574
10685
|
#
|
10575
10686
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
@@ -10591,6 +10702,12 @@ module Aws::SSM
|
|
10591
10702
|
# `/ssm/managed-instance/activation-tier` setting IDs, the setting value
|
10592
10703
|
# can be true or false.
|
10593
10704
|
#
|
10705
|
+
# For the `/ssm/automation/customer-script-log-destination` setting ID,
|
10706
|
+
# the setting value can be CloudWatch.
|
10707
|
+
#
|
10708
|
+
# For the `/ssm/automation/customer-script-log-group-name` setting ID,
|
10709
|
+
# the setting value can be the name of a CloudWatch Logs log group.
|
10710
|
+
#
|
10594
10711
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10595
10712
|
#
|
10596
10713
|
# @example Request syntax with placeholder values
|
@@ -10622,7 +10739,7 @@ module Aws::SSM
|
|
10622
10739
|
params: params,
|
10623
10740
|
config: config)
|
10624
10741
|
context[:gem_name] = 'aws-sdk-ssm'
|
10625
|
-
context[:gem_version] = '1.
|
10742
|
+
context[:gem_version] = '1.107.0'
|
10626
10743
|
Seahorse::Client::Request.new(handlers, context)
|
10627
10744
|
end
|
10628
10745
|
|