aws-sdk-ssm 1.104.0 → 1.109.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 +633 -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 +256 -36
- data/lib/aws-sdk-ssm/client_api.rb +58 -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 +540 -68
- data/lib/aws-sdk-ssm/waiters.rb +1 -1
- metadata +9 -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.109.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.109.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
|
@@ -392,9 +400,7 @@ module Aws::SSM
|
|
392
400
|
# </note>
|
393
401
|
#
|
394
402
|
# @option params [required, Array<Types::Tag>] :tags
|
395
|
-
# One or more tags. The value parameter is required
|
396
|
-
# want the tag to have a value, specify the parameter with no value, and
|
397
|
-
# we set the value to an empty string.
|
403
|
+
# One or more tags. The value parameter is required.
|
398
404
|
#
|
399
405
|
# Do not enter personally identifiable information in this field.
|
400
406
|
#
|
@@ -403,7 +409,7 @@ module Aws::SSM
|
|
403
409
|
# @example Request syntax with placeholder values
|
404
410
|
#
|
405
411
|
# resp = client.add_tags_to_resource({
|
406
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
412
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
407
413
|
# resource_id: "ResourceId", # required
|
408
414
|
# tags: [ # required
|
409
415
|
# {
|
@@ -532,8 +538,10 @@ module Aws::SSM
|
|
532
538
|
# The default value is 1 instance.
|
533
539
|
#
|
534
540
|
# @option params [Time,DateTime,Date,Integer,String] :expiration_date
|
535
|
-
# The date by which this activation request should expire
|
536
|
-
#
|
541
|
+
# The date by which this activation request should expire, in timestamp
|
542
|
+
# format, such as "2021-07-07T00:00:00". You can specify a date up to
|
543
|
+
# 30 days in advance. If you don't provide an expiration date, the
|
544
|
+
# activation code expires in 24 hours.
|
537
545
|
#
|
538
546
|
# @option params [Array<Types::Tag>] :tags
|
539
547
|
# Optional metadata that you assign to a resource. Tags enable you to
|
@@ -728,12 +736,22 @@ module Aws::SSM
|
|
728
736
|
# By default, all associations use `AUTO` mode.
|
729
737
|
#
|
730
738
|
# @option params [Boolean] :apply_only_at_cron_interval
|
731
|
-
# By default, when you create a new
|
739
|
+
# By default, when you create a new association, the system runs it
|
732
740
|
# immediately after it is created and then according to the schedule you
|
733
741
|
# specified. Specify this option if you don't want an association to
|
734
742
|
# run immediately after you create it. This parameter is not supported
|
735
743
|
# for rate expressions.
|
736
744
|
#
|
745
|
+
# @option params [Array<String>] :calendar_names
|
746
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
747
|
+
# Change Calendar type documents you want to gate your associations
|
748
|
+
# under. The associations only run when that Change Calendar is open.
|
749
|
+
# For more information, see [AWS Systems Manager Change Calendar][1].
|
750
|
+
#
|
751
|
+
#
|
752
|
+
#
|
753
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
754
|
+
#
|
737
755
|
# @option params [Array<Types::TargetLocation>] :target_locations
|
738
756
|
# A location is a combination of AWS Regions and AWS accounts where you
|
739
757
|
# want to run the association. Use this action to create an association
|
@@ -773,6 +791,7 @@ module Aws::SSM
|
|
773
791
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
774
792
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
775
793
|
# apply_only_at_cron_interval: false,
|
794
|
+
# calendar_names: ["CalendarNameOrARN"],
|
776
795
|
# target_locations: [
|
777
796
|
# {
|
778
797
|
# accounts: ["Account"],
|
@@ -821,6 +840,8 @@ module Aws::SSM
|
|
821
840
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
822
841
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
823
842
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
843
|
+
# resp.association_description.calendar_names #=> Array
|
844
|
+
# resp.association_description.calendar_names[0] #=> String
|
824
845
|
# resp.association_description.target_locations #=> Array
|
825
846
|
# resp.association_description.target_locations[0].accounts #=> Array
|
826
847
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -890,6 +911,7 @@ module Aws::SSM
|
|
890
911
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
891
912
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
892
913
|
# apply_only_at_cron_interval: false,
|
914
|
+
# calendar_names: ["CalendarNameOrARN"],
|
893
915
|
# target_locations: [
|
894
916
|
# {
|
895
917
|
# accounts: ["Account"],
|
@@ -941,6 +963,8 @@ module Aws::SSM
|
|
941
963
|
# resp.successful[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
942
964
|
# resp.successful[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
943
965
|
# resp.successful[0].apply_only_at_cron_interval #=> Boolean
|
966
|
+
# resp.successful[0].calendar_names #=> Array
|
967
|
+
# resp.successful[0].calendar_names[0] #=> String
|
944
968
|
# resp.successful[0].target_locations #=> Array
|
945
969
|
# resp.successful[0].target_locations[0].accounts #=> Array
|
946
970
|
# resp.successful[0].target_locations[0].accounts[0] #=> String
|
@@ -971,6 +995,8 @@ module Aws::SSM
|
|
971
995
|
# resp.failed[0].entry.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
972
996
|
# resp.failed[0].entry.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
973
997
|
# resp.failed[0].entry.apply_only_at_cron_interval #=> Boolean
|
998
|
+
# resp.failed[0].entry.calendar_names #=> Array
|
999
|
+
# resp.failed[0].entry.calendar_names[0] #=> String
|
974
1000
|
# resp.failed[0].entry.target_locations #=> Array
|
975
1001
|
# resp.failed[0].entry.target_locations[0].accounts #=> Array
|
976
1002
|
# resp.failed[0].entry.target_locations[0].accounts[0] #=> String
|
@@ -1499,6 +1525,18 @@ module Aws::SSM
|
|
1499
1525
|
# @option params [Hash<String,Types::MetadataValue>] :metadata
|
1500
1526
|
# Metadata for a new Application Manager application.
|
1501
1527
|
#
|
1528
|
+
# @option params [Array<Types::Tag>] :tags
|
1529
|
+
# Optional metadata that you assign to a resource. You can specify a
|
1530
|
+
# maximum of five tags for an OpsMetadata object. Tags enable you to
|
1531
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
1532
|
+
# environment. For example, you might want to tag an OpsMetadata object
|
1533
|
+
# to identify an environment or target AWS Region. In this case, you
|
1534
|
+
# could specify the following key-value pairs:
|
1535
|
+
#
|
1536
|
+
# * `Key=Environment,Value=Production`
|
1537
|
+
#
|
1538
|
+
# * `Key=Region,Value=us-east-2`
|
1539
|
+
#
|
1502
1540
|
# @return [Types::CreateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1503
1541
|
#
|
1504
1542
|
# * {Types::CreateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
|
@@ -1512,6 +1550,12 @@ module Aws::SSM
|
|
1512
1550
|
# value: "MetadataValueString",
|
1513
1551
|
# },
|
1514
1552
|
# },
|
1553
|
+
# tags: [
|
1554
|
+
# {
|
1555
|
+
# key: "TagKey", # required
|
1556
|
+
# value: "TagValue", # required
|
1557
|
+
# },
|
1558
|
+
# ],
|
1515
1559
|
# })
|
1516
1560
|
#
|
1517
1561
|
# @example Response structure
|
@@ -1563,8 +1607,8 @@ module Aws::SSM
|
|
1563
1607
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1564
1608
|
#
|
1565
1609
|
# @option params [String] :approved_patches_compliance_level
|
1566
|
-
# Defines the compliance level for approved patches.
|
1567
|
-
#
|
1610
|
+
# Defines the compliance level for approved patches. When an approved
|
1611
|
+
# patch is reported as missing, this value describes the severity of the
|
1568
1612
|
# compliance violation. The default value is UNSPECIFIED.
|
1569
1613
|
#
|
1570
1614
|
# @option params [Boolean] :approved_patches_enable_non_security
|
@@ -1786,6 +1830,7 @@ module Aws::SSM
|
|
1786
1830
|
# },
|
1787
1831
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
1788
1832
|
# include_future_regions: false,
|
1833
|
+
# enable_all_ops_data_sources: false,
|
1789
1834
|
# },
|
1790
1835
|
# })
|
1791
1836
|
#
|
@@ -2408,6 +2453,8 @@ module Aws::SSM
|
|
2408
2453
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
2409
2454
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
2410
2455
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
2456
|
+
# resp.association_description.calendar_names #=> Array
|
2457
|
+
# resp.association_description.calendar_names[0] #=> String
|
2411
2458
|
# resp.association_description.target_locations #=> Array
|
2412
2459
|
# resp.association_description.target_locations[0].accounts #=> Array
|
2413
2460
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -2700,7 +2747,7 @@ module Aws::SSM
|
|
2700
2747
|
#
|
2701
2748
|
# @option params [Boolean] :reverse_order
|
2702
2749
|
# A boolean that indicates whether to list step executions in reverse
|
2703
|
-
# order by start time. The default value is false.
|
2750
|
+
# order by start time. The default value is 'false'.
|
2704
2751
|
#
|
2705
2752
|
# @return [Types::DescribeAutomationStepExecutionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2706
2753
|
#
|
@@ -3309,6 +3356,9 @@ module Aws::SSM
|
|
3309
3356
|
# resp.instance_patch_states[0].operation #=> String, one of "Scan", "Install"
|
3310
3357
|
# resp.instance_patch_states[0].last_no_reboot_install_operation_time #=> Time
|
3311
3358
|
# resp.instance_patch_states[0].reboot_option #=> String, one of "RebootIfNeeded", "NoReboot"
|
3359
|
+
# resp.instance_patch_states[0].critical_non_compliant_count #=> Integer
|
3360
|
+
# resp.instance_patch_states[0].security_non_compliant_count #=> Integer
|
3361
|
+
# resp.instance_patch_states[0].other_non_compliant_count #=> Integer
|
3312
3362
|
# resp.next_token #=> String
|
3313
3363
|
#
|
3314
3364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates AWS API Documentation
|
@@ -3387,6 +3437,9 @@ module Aws::SSM
|
|
3387
3437
|
# resp.instance_patch_states[0].operation #=> String, one of "Scan", "Install"
|
3388
3438
|
# resp.instance_patch_states[0].last_no_reboot_install_operation_time #=> Time
|
3389
3439
|
# resp.instance_patch_states[0].reboot_option #=> String, one of "RebootIfNeeded", "NoReboot"
|
3440
|
+
# resp.instance_patch_states[0].critical_non_compliant_count #=> Integer
|
3441
|
+
# resp.instance_patch_states[0].security_non_compliant_count #=> Integer
|
3442
|
+
# resp.instance_patch_states[0].other_non_compliant_count #=> Integer
|
3390
3443
|
# resp.next_token #=> String
|
3391
3444
|
#
|
3392
3445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup AWS API Documentation
|
@@ -4350,6 +4403,9 @@ module Aws::SSM
|
|
4350
4403
|
# * {Types::DescribePatchGroupStateResult#instances_with_failed_patches #instances_with_failed_patches} => Integer
|
4351
4404
|
# * {Types::DescribePatchGroupStateResult#instances_with_not_applicable_patches #instances_with_not_applicable_patches} => Integer
|
4352
4405
|
# * {Types::DescribePatchGroupStateResult#instances_with_unreported_not_applicable_patches #instances_with_unreported_not_applicable_patches} => Integer
|
4406
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_critical_non_compliant_patches #instances_with_critical_non_compliant_patches} => Integer
|
4407
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_security_non_compliant_patches #instances_with_security_non_compliant_patches} => Integer
|
4408
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_other_non_compliant_patches #instances_with_other_non_compliant_patches} => Integer
|
4353
4409
|
#
|
4354
4410
|
# @example Request syntax with placeholder values
|
4355
4411
|
#
|
@@ -4368,6 +4424,9 @@ module Aws::SSM
|
|
4368
4424
|
# resp.instances_with_failed_patches #=> Integer
|
4369
4425
|
# resp.instances_with_not_applicable_patches #=> Integer
|
4370
4426
|
# resp.instances_with_unreported_not_applicable_patches #=> Integer
|
4427
|
+
# resp.instances_with_critical_non_compliant_patches #=> Integer
|
4428
|
+
# resp.instances_with_security_non_compliant_patches #=> Integer
|
4429
|
+
# resp.instances_with_other_non_compliant_patches #=> Integer
|
4371
4430
|
#
|
4372
4431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState AWS API Documentation
|
4373
4432
|
#
|
@@ -4825,21 +4884,34 @@ module Aws::SSM
|
|
4825
4884
|
# Returns detailed information about command execution for an invocation
|
4826
4885
|
# or plugin.
|
4827
4886
|
#
|
4887
|
+
# `GetCommandInvocation` only gives the execution status of a plugin in
|
4888
|
+
# a document. To get the command execution status on a specific
|
4889
|
+
# instance, use ListCommandInvocations. To get the command execution
|
4890
|
+
# status across instances, use ListCommands.
|
4891
|
+
#
|
4828
4892
|
# @option params [required, String] :command_id
|
4829
4893
|
# (Required) The parent command ID of the invocation plugin.
|
4830
4894
|
#
|
4831
4895
|
# @option params [required, String] :instance_id
|
4832
4896
|
# (Required) The ID of the managed instance targeted by the command. A
|
4833
|
-
# managed instance can be an
|
4834
|
-
# environment that is configured
|
4897
|
+
# managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2)
|
4898
|
+
# instance or an instance in your hybrid environment that is configured
|
4899
|
+
# for AWS Systems Manager.
|
4835
4900
|
#
|
4836
4901
|
# @option params [String] :plugin_name
|
4837
|
-
#
|
4838
|
-
#
|
4839
|
-
# the
|
4902
|
+
# The name of the plugin for which you want detailed results. If the
|
4903
|
+
# document contains only one plugin, you can omit the name and details
|
4904
|
+
# for that plugin. If the document contains more than one plugin, you
|
4905
|
+
# must specify the name of the plugin for which you want to view
|
4906
|
+
# details.
|
4840
4907
|
#
|
4841
|
-
# Plugin names are also referred to as step names in Systems Manager
|
4842
|
-
# documents.
|
4908
|
+
# Plugin names are also referred to as *step names* in Systems Manager
|
4909
|
+
# documents. For example, `aws:RunShellScript` is a plugin.
|
4910
|
+
#
|
4911
|
+
# To find the `PluginName`, check the document content and find the name
|
4912
|
+
# of the plugin. Alternatively, use ListCommandInvocations with the
|
4913
|
+
# `CommandId` and `Details` parameters. The `PluginName` is the `Name`
|
4914
|
+
# attribute of the `CommandPlugin` object in the `CommandPlugins` list.
|
4843
4915
|
#
|
4844
4916
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4845
4917
|
#
|
@@ -4982,6 +5054,9 @@ module Aws::SSM
|
|
4982
5054
|
# @option params [required, String] :snapshot_id
|
4983
5055
|
# The user-defined snapshot ID.
|
4984
5056
|
#
|
5057
|
+
# @option params [Types::BaselineOverride] :baseline_override
|
5058
|
+
# Defines the basic information about a patch baseline override.
|
5059
|
+
#
|
4985
5060
|
# @return [Types::GetDeployablePatchSnapshotForInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4986
5061
|
#
|
4987
5062
|
# * {Types::GetDeployablePatchSnapshotForInstanceResult#instance_id #instance_id} => String
|
@@ -4994,6 +5069,47 @@ module Aws::SSM
|
|
4994
5069
|
# resp = client.get_deployable_patch_snapshot_for_instance({
|
4995
5070
|
# instance_id: "InstanceId", # required
|
4996
5071
|
# snapshot_id: "SnapshotId", # required
|
5072
|
+
# baseline_override: {
|
5073
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
5074
|
+
# global_filters: {
|
5075
|
+
# patch_filters: [ # required
|
5076
|
+
# {
|
5077
|
+
# 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
|
5078
|
+
# values: ["PatchFilterValue"], # required
|
5079
|
+
# },
|
5080
|
+
# ],
|
5081
|
+
# },
|
5082
|
+
# approval_rules: {
|
5083
|
+
# patch_rules: [ # required
|
5084
|
+
# {
|
5085
|
+
# patch_filter_group: { # required
|
5086
|
+
# patch_filters: [ # required
|
5087
|
+
# {
|
5088
|
+
# 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
|
5089
|
+
# values: ["PatchFilterValue"], # required
|
5090
|
+
# },
|
5091
|
+
# ],
|
5092
|
+
# },
|
5093
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
5094
|
+
# approve_after_days: 1,
|
5095
|
+
# approve_until_date: "PatchStringDateTime",
|
5096
|
+
# enable_non_security: false,
|
5097
|
+
# },
|
5098
|
+
# ],
|
5099
|
+
# },
|
5100
|
+
# approved_patches: ["PatchId"],
|
5101
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
5102
|
+
# rejected_patches: ["PatchId"],
|
5103
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
5104
|
+
# approved_patches_enable_non_security: false,
|
5105
|
+
# sources: [
|
5106
|
+
# {
|
5107
|
+
# name: "PatchSourceName", # required
|
5108
|
+
# products: ["PatchSourceProduct"], # required
|
5109
|
+
# configuration: "PatchSourceConfiguration", # required
|
5110
|
+
# },
|
5111
|
+
# ],
|
5112
|
+
# },
|
4997
5113
|
# })
|
4998
5114
|
#
|
4999
5115
|
# @example Response structure
|
@@ -6142,6 +6258,8 @@ module Aws::SSM
|
|
6142
6258
|
#
|
6143
6259
|
# @option params [required, String] :setting_id
|
6144
6260
|
# The ID of the service setting to get. The setting ID can be
|
6261
|
+
# `/ssm/automation/customer-script-log-destination`,
|
6262
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
6145
6263
|
# `/ssm/parameter-store/default-parameter-tier`,
|
6146
6264
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
6147
6265
|
# `/ssm/managed-instance/activation-tier`.
|
@@ -6193,9 +6311,8 @@ module Aws::SSM
|
|
6193
6311
|
# * You can't create a label when you create a new parameter. You must
|
6194
6312
|
# attach a label to a specific version of a parameter.
|
6195
6313
|
#
|
6196
|
-
# *
|
6197
|
-
#
|
6198
|
-
# parameter.
|
6314
|
+
# * If you no longer want to use a parameter label, then you can either
|
6315
|
+
# delete it or move it to a different version of a parameter.
|
6199
6316
|
#
|
6200
6317
|
# * A label can have a maximum of 100 characters.
|
6201
6318
|
#
|
@@ -6301,6 +6418,8 @@ module Aws::SSM
|
|
6301
6418
|
# resp.association_versions[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
6302
6419
|
# resp.association_versions[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
6303
6420
|
# resp.association_versions[0].apply_only_at_cron_interval #=> Boolean
|
6421
|
+
# resp.association_versions[0].calendar_names #=> Array
|
6422
|
+
# resp.association_versions[0].calendar_names[0] #=> String
|
6304
6423
|
# resp.association_versions[0].target_locations #=> Array
|
6305
6424
|
# resp.association_versions[0].target_locations[0].accounts #=> Array
|
6306
6425
|
# resp.association_versions[0].target_locations[0].accounts[0] #=> String
|
@@ -6422,7 +6541,7 @@ module Aws::SSM
|
|
6422
6541
|
#
|
6423
6542
|
# @option params [Boolean] :details
|
6424
6543
|
# (Optional) If set this returns the response of the command executions
|
6425
|
-
# and any command output.
|
6544
|
+
# and any command output. The default value is 'false'.
|
6426
6545
|
#
|
6427
6546
|
# @return [Types::ListCommandInvocationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6428
6547
|
#
|
@@ -7249,6 +7368,7 @@ module Aws::SSM
|
|
7249
7368
|
# resp.resource_data_sync_items[0].sync_source.source_regions[0] #=> String
|
7250
7369
|
# resp.resource_data_sync_items[0].sync_source.include_future_regions #=> Boolean
|
7251
7370
|
# resp.resource_data_sync_items[0].sync_source.state #=> String
|
7371
|
+
# resp.resource_data_sync_items[0].sync_source.enable_all_ops_data_sources #=> Boolean
|
7252
7372
|
# resp.resource_data_sync_items[0].s3_destination.bucket_name #=> String
|
7253
7373
|
# resp.resource_data_sync_items[0].s3_destination.prefix #=> String
|
7254
7374
|
# resp.resource_data_sync_items[0].s3_destination.sync_format #=> String, one of "JsonSerDe"
|
@@ -7287,7 +7407,7 @@ module Aws::SSM
|
|
7287
7407
|
# @example Request syntax with placeholder values
|
7288
7408
|
#
|
7289
7409
|
# resp = client.list_tags_for_resource({
|
7290
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
7410
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
7291
7411
|
# resource_id: "ResourceId", # required
|
7292
7412
|
# })
|
7293
7413
|
#
|
@@ -7548,7 +7668,11 @@ module Aws::SSM
|
|
7548
7668
|
# (case-insensitive).
|
7549
7669
|
#
|
7550
7670
|
# * Parameter names can include only the following symbols and letters:
|
7551
|
-
# `a-zA-Z0-9_
|
7671
|
+
# `a-zA-Z0-9_.-`
|
7672
|
+
#
|
7673
|
+
# In addition, the slash character ( / ) is used to delineate
|
7674
|
+
# hierarchies in parameter names. For example:
|
7675
|
+
# `/Dev/Production/East/Project-ABC/MyParameter`
|
7552
7676
|
#
|
7553
7677
|
# * A parameter name can't include spaces.
|
7554
7678
|
#
|
@@ -7556,8 +7680,8 @@ module Aws::SSM
|
|
7556
7680
|
# levels.
|
7557
7681
|
#
|
7558
7682
|
# For additional information about valid values for parameter names, see
|
7559
|
-
# [
|
7560
|
-
#
|
7683
|
+
# [Creating Systems Manager parameters][1] in the *AWS Systems Manager
|
7684
|
+
# User Guide*.
|
7561
7685
|
#
|
7562
7686
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
7563
7687
|
# additional system attributes that are not part of the name. The
|
@@ -7571,7 +7695,7 @@ module Aws::SSM
|
|
7571
7695
|
#
|
7572
7696
|
#
|
7573
7697
|
#
|
7574
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-
|
7698
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
|
7575
7699
|
#
|
7576
7700
|
# @option params [String] :description
|
7577
7701
|
# Information about the parameter that you want to add to the system.
|
@@ -7624,8 +7748,7 @@ module Aws::SSM
|
|
7624
7748
|
# the `Key ID` parameter.
|
7625
7749
|
#
|
7626
7750
|
# @option params [Boolean] :overwrite
|
7627
|
-
# Overwrite an existing parameter.
|
7628
|
-
# "false".
|
7751
|
+
# Overwrite an existing parameter. The default value is 'false'.
|
7629
7752
|
#
|
7630
7753
|
# @option params [String] :allowed_pattern
|
7631
7754
|
# A regular expression used to validate the parameter value. For
|
@@ -7899,6 +8022,14 @@ module Aws::SSM
|
|
7899
8022
|
# The targets to register with the maintenance window. In other words,
|
7900
8023
|
# the instances to run commands on when the maintenance window runs.
|
7901
8024
|
#
|
8025
|
+
# <note markdown="1"> If a single maintenance window task is registered with multiple
|
8026
|
+
# targets, its task invocations occur sequentially and not in parallel.
|
8027
|
+
# If your task must run on multiple targets at the same time, register a
|
8028
|
+
# task for each target individually and assign each task the same
|
8029
|
+
# priority level.
|
8030
|
+
#
|
8031
|
+
# </note>
|
8032
|
+
#
|
7902
8033
|
# You can specify targets using instance IDs, resource group names, or
|
7903
8034
|
# tags that have been applied to instances.
|
7904
8035
|
#
|
@@ -8221,6 +8352,14 @@ module Aws::SSM
|
|
8221
8352
|
#
|
8222
8353
|
# PatchBaseline: pb-012345abcde
|
8223
8354
|
#
|
8355
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
8356
|
+
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
8357
|
+
# is created from the strings that come after the word `opsmetadata` in
|
8358
|
+
# the ARN. For example, an OpsMetadata object with an ARN of
|
8359
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
8360
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
8361
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
8362
|
+
#
|
8224
8363
|
# For the Document and Parameter values, use the name of the resource.
|
8225
8364
|
#
|
8226
8365
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -8237,7 +8376,7 @@ module Aws::SSM
|
|
8237
8376
|
# @example Request syntax with placeholder values
|
8238
8377
|
#
|
8239
8378
|
# resp = client.remove_tags_from_resource({
|
8240
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
8379
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
8241
8380
|
# resource_id: "ResourceId", # required
|
8242
8381
|
# tag_keys: ["TagKey"], # required
|
8243
8382
|
# })
|
@@ -8271,7 +8410,9 @@ module Aws::SSM
|
|
8271
8410
|
#
|
8272
8411
|
# @option params [required, String] :setting_id
|
8273
8412
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
8274
|
-
# setting ID can be `/ssm/
|
8413
|
+
# setting ID can be `/ssm/automation/customer-script-log-destination`,
|
8414
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
8415
|
+
# `/ssm/parameter-store/default-parameter-tier`,
|
8275
8416
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
8276
8417
|
# `/ssm/managed-instance/activation-tier`. For example,
|
8277
8418
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
@@ -8847,6 +8988,16 @@ module Aws::SSM
|
|
8847
8988
|
#
|
8848
8989
|
# * `Key=Region,Value=us-east-2`
|
8849
8990
|
#
|
8991
|
+
# @option params [Time,DateTime,Date,Integer,String] :scheduled_end_time
|
8992
|
+
# The time that the requester expects the runbook workflow related to
|
8993
|
+
# the change request to complete. The time is an estimate only that the
|
8994
|
+
# requester provides for reviewers.
|
8995
|
+
#
|
8996
|
+
# @option params [String] :change_details
|
8997
|
+
# User-provided details about the change. If no details are provided,
|
8998
|
+
# content specified in the **Template information** section of the
|
8999
|
+
# associated change template is added.
|
9000
|
+
#
|
8850
9001
|
# @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8851
9002
|
#
|
8852
9003
|
# * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
|
@@ -8895,6 +9046,8 @@ module Aws::SSM
|
|
8895
9046
|
# value: "TagValue", # required
|
8896
9047
|
# },
|
8897
9048
|
# ],
|
9049
|
+
# scheduled_end_time: Time.now,
|
9050
|
+
# change_details: "ChangeDetailsValue",
|
8898
9051
|
# })
|
8899
9052
|
#
|
8900
9053
|
# @example Response structure
|
@@ -9029,6 +9182,47 @@ module Aws::SSM
|
|
9029
9182
|
req.send_request(options)
|
9030
9183
|
end
|
9031
9184
|
|
9185
|
+
# Remove a label or labels from a parameter.
|
9186
|
+
#
|
9187
|
+
# @option params [required, String] :name
|
9188
|
+
# The parameter name of which you want to delete one or more labels.
|
9189
|
+
#
|
9190
|
+
# @option params [required, Integer] :parameter_version
|
9191
|
+
# The specific version of the parameter which you want to delete one or
|
9192
|
+
# more labels from. If it is not present, the call will fail.
|
9193
|
+
#
|
9194
|
+
# @option params [required, Array<String>] :labels
|
9195
|
+
# One or more labels to delete from the specified parameter version.
|
9196
|
+
#
|
9197
|
+
# @return [Types::UnlabelParameterVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9198
|
+
#
|
9199
|
+
# * {Types::UnlabelParameterVersionResult#removed_labels #removed_labels} => Array<String>
|
9200
|
+
# * {Types::UnlabelParameterVersionResult#invalid_labels #invalid_labels} => Array<String>
|
9201
|
+
#
|
9202
|
+
# @example Request syntax with placeholder values
|
9203
|
+
#
|
9204
|
+
# resp = client.unlabel_parameter_version({
|
9205
|
+
# name: "PSParameterName", # required
|
9206
|
+
# parameter_version: 1, # required
|
9207
|
+
# labels: ["ParameterLabel"], # required
|
9208
|
+
# })
|
9209
|
+
#
|
9210
|
+
# @example Response structure
|
9211
|
+
#
|
9212
|
+
# resp.removed_labels #=> Array
|
9213
|
+
# resp.removed_labels[0] #=> String
|
9214
|
+
# resp.invalid_labels #=> Array
|
9215
|
+
# resp.invalid_labels[0] #=> String
|
9216
|
+
#
|
9217
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersion AWS API Documentation
|
9218
|
+
#
|
9219
|
+
# @overload unlabel_parameter_version(params = {})
|
9220
|
+
# @param [Hash] params ({})
|
9221
|
+
def unlabel_parameter_version(params = {}, options = {})
|
9222
|
+
req = build_request(:unlabel_parameter_version, params)
|
9223
|
+
req.send_request(options)
|
9224
|
+
end
|
9225
|
+
|
9032
9226
|
# Updates an association. You can update the association name and
|
9033
9227
|
# version, the document version, schedule, parameters, and Amazon S3
|
9034
9228
|
# output.
|
@@ -9162,6 +9356,16 @@ module Aws::SSM
|
|
9162
9356
|
# association to run immediately after updating it and according to the
|
9163
9357
|
# interval specified.
|
9164
9358
|
#
|
9359
|
+
# @option params [Array<String>] :calendar_names
|
9360
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
9361
|
+
# Change Calendar type documents you want to gate your associations
|
9362
|
+
# under. The associations only run when that Change Calendar is open.
|
9363
|
+
# For more information, see [AWS Systems Manager Change Calendar][1].
|
9364
|
+
#
|
9365
|
+
#
|
9366
|
+
#
|
9367
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
9368
|
+
#
|
9165
9369
|
# @option params [Array<Types::TargetLocation>] :target_locations
|
9166
9370
|
# A location is a combination of AWS Regions and AWS accounts where you
|
9167
9371
|
# want to run the association. Use this action to update an association
|
@@ -9202,6 +9406,7 @@ module Aws::SSM
|
|
9202
9406
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
9203
9407
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
9204
9408
|
# apply_only_at_cron_interval: false,
|
9409
|
+
# calendar_names: ["CalendarNameOrARN"],
|
9205
9410
|
# target_locations: [
|
9206
9411
|
# {
|
9207
9412
|
# accounts: ["Account"],
|
@@ -9250,6 +9455,8 @@ module Aws::SSM
|
|
9250
9455
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
9251
9456
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
9252
9457
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9458
|
+
# resp.association_description.calendar_names #=> Array
|
9459
|
+
# resp.association_description.calendar_names[0] #=> String
|
9253
9460
|
# resp.association_description.target_locations #=> Array
|
9254
9461
|
# resp.association_description.target_locations[0].accounts #=> Array
|
9255
9462
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -9334,6 +9541,8 @@ module Aws::SSM
|
|
9334
9541
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
9335
9542
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
9336
9543
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9544
|
+
# resp.association_description.calendar_names #=> Array
|
9545
|
+
# resp.association_description.calendar_names[0] #=> String
|
9337
9546
|
# resp.association_description.target_locations #=> Array
|
9338
9547
|
# resp.association_description.target_locations[0].accounts #=> Array
|
9339
9548
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -9371,10 +9580,10 @@ module Aws::SSM
|
|
9371
9580
|
# changed.
|
9372
9581
|
#
|
9373
9582
|
# @option params [String] :document_version
|
9374
|
-
#
|
9375
|
-
#
|
9376
|
-
#
|
9377
|
-
#
|
9583
|
+
# The version of the document that you want to update. Currently,
|
9584
|
+
# Systems Manager supports updating only the latest version of the
|
9585
|
+
# document. You can specify the version number of the latest version or
|
9586
|
+
# use the `$LATEST` variable.
|
9378
9587
|
#
|
9379
9588
|
# @option params [String] :document_format
|
9380
9589
|
# Specify the document format for the new document version. Systems
|
@@ -10540,6 +10749,7 @@ module Aws::SSM
|
|
10540
10749
|
# },
|
10541
10750
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
10542
10751
|
# include_future_regions: false,
|
10752
|
+
# enable_all_ops_data_sources: false,
|
10543
10753
|
# },
|
10544
10754
|
# })
|
10545
10755
|
#
|
@@ -10576,6 +10786,10 @@ module Aws::SSM
|
|
10576
10786
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
10577
10787
|
# The setting ID can be one of the following.
|
10578
10788
|
#
|
10789
|
+
# * `/ssm/automation/customer-script-log-destination`
|
10790
|
+
#
|
10791
|
+
# * `/ssm/automation/customer-script-log-group-name`
|
10792
|
+
#
|
10579
10793
|
# * `/ssm/parameter-store/default-parameter-tier`
|
10580
10794
|
#
|
10581
10795
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
@@ -10597,6 +10811,12 @@ module Aws::SSM
|
|
10597
10811
|
# `/ssm/managed-instance/activation-tier` setting IDs, the setting value
|
10598
10812
|
# can be true or false.
|
10599
10813
|
#
|
10814
|
+
# For the `/ssm/automation/customer-script-log-destination` setting ID,
|
10815
|
+
# the setting value can be CloudWatch.
|
10816
|
+
#
|
10817
|
+
# For the `/ssm/automation/customer-script-log-group-name` setting ID,
|
10818
|
+
# the setting value can be the name of a CloudWatch Logs log group.
|
10819
|
+
#
|
10600
10820
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10601
10821
|
#
|
10602
10822
|
# @example Request syntax with placeholder values
|
@@ -10628,7 +10848,7 @@ module Aws::SSM
|
|
10628
10848
|
params: params,
|
10629
10849
|
config: config)
|
10630
10850
|
context[:gem_name] = 'aws-sdk-ssm'
|
10631
|
-
context[:gem_version] = '1.
|
10851
|
+
context[:gem_version] = '1.109.0'
|
10632
10852
|
Seahorse::Client::Request.new(handlers, context)
|
10633
10853
|
end
|
10634
10854
|
|