aws-sdk-ssm 1.105.0 → 1.110.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 +638 -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 +358 -37
- data/lib/aws-sdk-ssm/client_api.rb +171 -1
- data/lib/aws-sdk-ssm/customizations.rb +1 -1
- data/lib/aws-sdk-ssm/errors.rb +43 -1
- data/lib/aws-sdk-ssm/resource.rb +1 -1
- data/lib/aws-sdk-ssm/types.rb +669 -62
- 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.110.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.110.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
|
# {
|
@@ -422,6 +428,59 @@ module Aws::SSM
|
|
422
428
|
req.send_request(options)
|
423
429
|
end
|
424
430
|
|
431
|
+
# Associates a related resource to a Systems Manager OpsCenter OpsItem.
|
432
|
+
# For example, you can associate an Incident Manager incident or
|
433
|
+
# analysis with an OpsItem. Incident Manager is a capability of AWS
|
434
|
+
# Systems Manager.
|
435
|
+
#
|
436
|
+
# @option params [required, String] :ops_item_id
|
437
|
+
# The ID of the OpsItem to which you want to associate a resource as a
|
438
|
+
# related item.
|
439
|
+
#
|
440
|
+
# @option params [required, String] :association_type
|
441
|
+
# The type of association that you want to create between an OpsItem and
|
442
|
+
# a resource. OpsCenter supports `IsParentOf` and `RelatesTo`
|
443
|
+
# association types.
|
444
|
+
#
|
445
|
+
# @option params [required, String] :resource_type
|
446
|
+
# The type of resource that you want to associate with an OpsItem.
|
447
|
+
# OpsCenter supports the following types:
|
448
|
+
#
|
449
|
+
# `AWS::SSMIncidents::IncidentRecord`\: an Incident Manager incident.
|
450
|
+
# Incident Manager is a capability of AWS Systems Manager.
|
451
|
+
#
|
452
|
+
# `AWS::SSM::Document`\: a Systems Manager (SSM) document.
|
453
|
+
#
|
454
|
+
# @option params [required, String] :resource_uri
|
455
|
+
# The Amazon Resource Name (ARN) of the AWS resource that you want to
|
456
|
+
# associate with the OpsItem.
|
457
|
+
#
|
458
|
+
# @return [Types::AssociateOpsItemRelatedItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
459
|
+
#
|
460
|
+
# * {Types::AssociateOpsItemRelatedItemResponse#association_id #association_id} => String
|
461
|
+
#
|
462
|
+
# @example Request syntax with placeholder values
|
463
|
+
#
|
464
|
+
# resp = client.associate_ops_item_related_item({
|
465
|
+
# ops_item_id: "OpsItemId", # required
|
466
|
+
# association_type: "OpsItemRelatedItemAssociationType", # required
|
467
|
+
# resource_type: "OpsItemRelatedItemAssociationResourceType", # required
|
468
|
+
# resource_uri: "OpsItemRelatedItemAssociationResourceUri", # required
|
469
|
+
# })
|
470
|
+
#
|
471
|
+
# @example Response structure
|
472
|
+
#
|
473
|
+
# resp.association_id #=> String
|
474
|
+
#
|
475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItem AWS API Documentation
|
476
|
+
#
|
477
|
+
# @overload associate_ops_item_related_item(params = {})
|
478
|
+
# @param [Hash] params ({})
|
479
|
+
def associate_ops_item_related_item(params = {}, options = {})
|
480
|
+
req = build_request(:associate_ops_item_related_item, params)
|
481
|
+
req.send_request(options)
|
482
|
+
end
|
483
|
+
|
425
484
|
# Attempts to cancel the command specified by the Command ID. There is
|
426
485
|
# no guarantee that the command will be terminated and the underlying
|
427
486
|
# process stopped.
|
@@ -532,8 +591,10 @@ module Aws::SSM
|
|
532
591
|
# The default value is 1 instance.
|
533
592
|
#
|
534
593
|
# @option params [Time,DateTime,Date,Integer,String] :expiration_date
|
535
|
-
# The date by which this activation request should expire
|
536
|
-
#
|
594
|
+
# The date by which this activation request should expire, in timestamp
|
595
|
+
# format, such as "2021-07-07T00:00:00". You can specify a date up to
|
596
|
+
# 30 days in advance. If you don't provide an expiration date, the
|
597
|
+
# activation code expires in 24 hours.
|
537
598
|
#
|
538
599
|
# @option params [Array<Types::Tag>] :tags
|
539
600
|
# Optional metadata that you assign to a resource. Tags enable you to
|
@@ -728,12 +789,22 @@ module Aws::SSM
|
|
728
789
|
# By default, all associations use `AUTO` mode.
|
729
790
|
#
|
730
791
|
# @option params [Boolean] :apply_only_at_cron_interval
|
731
|
-
# By default, when you create a new
|
792
|
+
# By default, when you create a new association, the system runs it
|
732
793
|
# immediately after it is created and then according to the schedule you
|
733
794
|
# specified. Specify this option if you don't want an association to
|
734
795
|
# run immediately after you create it. This parameter is not supported
|
735
796
|
# for rate expressions.
|
736
797
|
#
|
798
|
+
# @option params [Array<String>] :calendar_names
|
799
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
800
|
+
# Change Calendar type documents you want to gate your associations
|
801
|
+
# under. The associations only run when that Change Calendar is open.
|
802
|
+
# For more information, see [AWS Systems Manager Change Calendar][1].
|
803
|
+
#
|
804
|
+
#
|
805
|
+
#
|
806
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
807
|
+
#
|
737
808
|
# @option params [Array<Types::TargetLocation>] :target_locations
|
738
809
|
# A location is a combination of AWS Regions and AWS accounts where you
|
739
810
|
# want to run the association. Use this action to create an association
|
@@ -773,6 +844,7 @@ module Aws::SSM
|
|
773
844
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
774
845
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
775
846
|
# apply_only_at_cron_interval: false,
|
847
|
+
# calendar_names: ["CalendarNameOrARN"],
|
776
848
|
# target_locations: [
|
777
849
|
# {
|
778
850
|
# accounts: ["Account"],
|
@@ -821,6 +893,8 @@ module Aws::SSM
|
|
821
893
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
822
894
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
823
895
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
896
|
+
# resp.association_description.calendar_names #=> Array
|
897
|
+
# resp.association_description.calendar_names[0] #=> String
|
824
898
|
# resp.association_description.target_locations #=> Array
|
825
899
|
# resp.association_description.target_locations[0].accounts #=> Array
|
826
900
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -890,6 +964,7 @@ module Aws::SSM
|
|
890
964
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
891
965
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
892
966
|
# apply_only_at_cron_interval: false,
|
967
|
+
# calendar_names: ["CalendarNameOrARN"],
|
893
968
|
# target_locations: [
|
894
969
|
# {
|
895
970
|
# accounts: ["Account"],
|
@@ -941,6 +1016,8 @@ module Aws::SSM
|
|
941
1016
|
# resp.successful[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
942
1017
|
# resp.successful[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
943
1018
|
# resp.successful[0].apply_only_at_cron_interval #=> Boolean
|
1019
|
+
# resp.successful[0].calendar_names #=> Array
|
1020
|
+
# resp.successful[0].calendar_names[0] #=> String
|
944
1021
|
# resp.successful[0].target_locations #=> Array
|
945
1022
|
# resp.successful[0].target_locations[0].accounts #=> Array
|
946
1023
|
# resp.successful[0].target_locations[0].accounts[0] #=> String
|
@@ -971,6 +1048,8 @@ module Aws::SSM
|
|
971
1048
|
# resp.failed[0].entry.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
972
1049
|
# resp.failed[0].entry.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
973
1050
|
# resp.failed[0].entry.apply_only_at_cron_interval #=> Boolean
|
1051
|
+
# resp.failed[0].entry.calendar_names #=> Array
|
1052
|
+
# resp.failed[0].entry.calendar_names[0] #=> String
|
974
1053
|
# resp.failed[0].entry.target_locations #=> Array
|
975
1054
|
# resp.failed[0].entry.target_locations[0].accounts #=> Array
|
976
1055
|
# resp.failed[0].entry.target_locations[0].accounts[0] #=> String
|
@@ -1050,6 +1129,12 @@ module Aws::SSM
|
|
1050
1129
|
#
|
1051
1130
|
# * `amzn`
|
1052
1131
|
#
|
1132
|
+
# @option params [String] :display_name
|
1133
|
+
# An optional field where you can specify a friendly name for the
|
1134
|
+
# Systems Manager document. This value can differ for each version of
|
1135
|
+
# the document. You can update this value at a later time using the
|
1136
|
+
# UpdateDocument action.
|
1137
|
+
#
|
1053
1138
|
# @option params [String] :version_name
|
1054
1139
|
# An optional field specifying the version of the artifact you are
|
1055
1140
|
# creating with the document. For example, "Release 12, Update 6".
|
@@ -1114,8 +1199,9 @@ module Aws::SSM
|
|
1114
1199
|
# },
|
1115
1200
|
# ],
|
1116
1201
|
# name: "DocumentName", # required
|
1202
|
+
# display_name: "DocumentDisplayName",
|
1117
1203
|
# version_name: "DocumentVersionName",
|
1118
|
-
# document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate
|
1204
|
+
# document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate, ProblemAnalysis, ProblemAnalysisTemplate
|
1119
1205
|
# document_format: "YAML", # accepts YAML, JSON, TEXT
|
1120
1206
|
# target_type: "TargetType",
|
1121
1207
|
# tags: [
|
@@ -1132,6 +1218,7 @@ module Aws::SSM
|
|
1132
1218
|
# resp.document_description.hash #=> String
|
1133
1219
|
# resp.document_description.hash_type #=> String, one of "Sha256", "Sha1"
|
1134
1220
|
# resp.document_description.name #=> String
|
1221
|
+
# resp.document_description.display_name #=> String
|
1135
1222
|
# resp.document_description.version_name #=> String
|
1136
1223
|
# resp.document_description.owner #=> String
|
1137
1224
|
# resp.document_description.created_date #=> Time
|
@@ -1146,7 +1233,7 @@ module Aws::SSM
|
|
1146
1233
|
# resp.document_description.parameters[0].default_value #=> String
|
1147
1234
|
# resp.document_description.platform_types #=> Array
|
1148
1235
|
# resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
|
1149
|
-
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
1236
|
+
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
|
1150
1237
|
# resp.document_description.schema_version #=> String
|
1151
1238
|
# resp.document_description.latest_version #=> String
|
1152
1239
|
# resp.document_description.default_version #=> String
|
@@ -1499,6 +1586,18 @@ module Aws::SSM
|
|
1499
1586
|
# @option params [Hash<String,Types::MetadataValue>] :metadata
|
1500
1587
|
# Metadata for a new Application Manager application.
|
1501
1588
|
#
|
1589
|
+
# @option params [Array<Types::Tag>] :tags
|
1590
|
+
# Optional metadata that you assign to a resource. You can specify a
|
1591
|
+
# maximum of five tags for an OpsMetadata object. Tags enable you to
|
1592
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
1593
|
+
# environment. For example, you might want to tag an OpsMetadata object
|
1594
|
+
# to identify an environment or target AWS Region. In this case, you
|
1595
|
+
# could specify the following key-value pairs:
|
1596
|
+
#
|
1597
|
+
# * `Key=Environment,Value=Production`
|
1598
|
+
#
|
1599
|
+
# * `Key=Region,Value=us-east-2`
|
1600
|
+
#
|
1502
1601
|
# @return [Types::CreateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1503
1602
|
#
|
1504
1603
|
# * {Types::CreateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
|
@@ -1512,6 +1611,12 @@ module Aws::SSM
|
|
1512
1611
|
# value: "MetadataValueString",
|
1513
1612
|
# },
|
1514
1613
|
# },
|
1614
|
+
# tags: [
|
1615
|
+
# {
|
1616
|
+
# key: "TagKey", # required
|
1617
|
+
# value: "TagValue", # required
|
1618
|
+
# },
|
1619
|
+
# ],
|
1515
1620
|
# })
|
1516
1621
|
#
|
1517
1622
|
# @example Response structure
|
@@ -1786,6 +1891,7 @@ module Aws::SSM
|
|
1786
1891
|
# },
|
1787
1892
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
1788
1893
|
# include_future_regions: false,
|
1894
|
+
# enable_all_ops_data_sources: false,
|
1789
1895
|
# },
|
1790
1896
|
# })
|
1791
1897
|
#
|
@@ -2408,6 +2514,8 @@ module Aws::SSM
|
|
2408
2514
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
2409
2515
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
2410
2516
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
2517
|
+
# resp.association_description.calendar_names #=> Array
|
2518
|
+
# resp.association_description.calendar_names[0] #=> String
|
2411
2519
|
# resp.association_description.target_locations #=> Array
|
2412
2520
|
# resp.association_description.target_locations[0].accounts #=> Array
|
2413
2521
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -2699,8 +2807,8 @@ module Aws::SSM
|
|
2699
2807
|
# next set of results.
|
2700
2808
|
#
|
2701
2809
|
# @option params [Boolean] :reverse_order
|
2702
|
-
#
|
2703
|
-
#
|
2810
|
+
# Indicates whether to list step executions in reverse order by start
|
2811
|
+
# time. The default value is 'false'.
|
2704
2812
|
#
|
2705
2813
|
# @return [Types::DescribeAutomationStepExecutionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2706
2814
|
#
|
@@ -2883,6 +2991,7 @@ module Aws::SSM
|
|
2883
2991
|
# resp.document.hash #=> String
|
2884
2992
|
# resp.document.hash_type #=> String, one of "Sha256", "Sha1"
|
2885
2993
|
# resp.document.name #=> String
|
2994
|
+
# resp.document.display_name #=> String
|
2886
2995
|
# resp.document.version_name #=> String
|
2887
2996
|
# resp.document.owner #=> String
|
2888
2997
|
# resp.document.created_date #=> Time
|
@@ -2897,7 +3006,7 @@ module Aws::SSM
|
|
2897
3006
|
# resp.document.parameters[0].default_value #=> String
|
2898
3007
|
# resp.document.platform_types #=> Array
|
2899
3008
|
# resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
|
2900
|
-
# resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
3009
|
+
# resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
|
2901
3010
|
# resp.document.schema_version #=> String
|
2902
3011
|
# resp.document.latest_version #=> String
|
2903
3012
|
# resp.document.default_version #=> String
|
@@ -3309,6 +3418,9 @@ module Aws::SSM
|
|
3309
3418
|
# resp.instance_patch_states[0].operation #=> String, one of "Scan", "Install"
|
3310
3419
|
# resp.instance_patch_states[0].last_no_reboot_install_operation_time #=> Time
|
3311
3420
|
# resp.instance_patch_states[0].reboot_option #=> String, one of "RebootIfNeeded", "NoReboot"
|
3421
|
+
# resp.instance_patch_states[0].critical_non_compliant_count #=> Integer
|
3422
|
+
# resp.instance_patch_states[0].security_non_compliant_count #=> Integer
|
3423
|
+
# resp.instance_patch_states[0].other_non_compliant_count #=> Integer
|
3312
3424
|
# resp.next_token #=> String
|
3313
3425
|
#
|
3314
3426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates AWS API Documentation
|
@@ -3387,6 +3499,9 @@ module Aws::SSM
|
|
3387
3499
|
# resp.instance_patch_states[0].operation #=> String, one of "Scan", "Install"
|
3388
3500
|
# resp.instance_patch_states[0].last_no_reboot_install_operation_time #=> Time
|
3389
3501
|
# resp.instance_patch_states[0].reboot_option #=> String, one of "RebootIfNeeded", "NoReboot"
|
3502
|
+
# resp.instance_patch_states[0].critical_non_compliant_count #=> Integer
|
3503
|
+
# resp.instance_patch_states[0].security_non_compliant_count #=> Integer
|
3504
|
+
# resp.instance_patch_states[0].other_non_compliant_count #=> Integer
|
3390
3505
|
# resp.next_token #=> String
|
3391
3506
|
#
|
3392
3507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup AWS API Documentation
|
@@ -4350,6 +4465,9 @@ module Aws::SSM
|
|
4350
4465
|
# * {Types::DescribePatchGroupStateResult#instances_with_failed_patches #instances_with_failed_patches} => Integer
|
4351
4466
|
# * {Types::DescribePatchGroupStateResult#instances_with_not_applicable_patches #instances_with_not_applicable_patches} => Integer
|
4352
4467
|
# * {Types::DescribePatchGroupStateResult#instances_with_unreported_not_applicable_patches #instances_with_unreported_not_applicable_patches} => Integer
|
4468
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_critical_non_compliant_patches #instances_with_critical_non_compliant_patches} => Integer
|
4469
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_security_non_compliant_patches #instances_with_security_non_compliant_patches} => Integer
|
4470
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_other_non_compliant_patches #instances_with_other_non_compliant_patches} => Integer
|
4353
4471
|
#
|
4354
4472
|
# @example Request syntax with placeholder values
|
4355
4473
|
#
|
@@ -4368,6 +4486,9 @@ module Aws::SSM
|
|
4368
4486
|
# resp.instances_with_failed_patches #=> Integer
|
4369
4487
|
# resp.instances_with_not_applicable_patches #=> Integer
|
4370
4488
|
# resp.instances_with_unreported_not_applicable_patches #=> Integer
|
4489
|
+
# resp.instances_with_critical_non_compliant_patches #=> Integer
|
4490
|
+
# resp.instances_with_security_non_compliant_patches #=> Integer
|
4491
|
+
# resp.instances_with_other_non_compliant_patches #=> Integer
|
4371
4492
|
#
|
4372
4493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState AWS API Documentation
|
4373
4494
|
#
|
@@ -4616,6 +4737,36 @@ module Aws::SSM
|
|
4616
4737
|
req.send_request(options)
|
4617
4738
|
end
|
4618
4739
|
|
4740
|
+
# Deletes the association between an OpsItem and a related resource. For
|
4741
|
+
# example, this API action can delete an Incident Manager incident from
|
4742
|
+
# an OpsItem. Incident Manager is a capability of AWS Systems Manager.
|
4743
|
+
#
|
4744
|
+
# @option params [required, String] :ops_item_id
|
4745
|
+
# The ID of the OpsItem for which you want to delete an association
|
4746
|
+
# between the OpsItem and a related resource.
|
4747
|
+
#
|
4748
|
+
# @option params [required, String] :association_id
|
4749
|
+
# The ID of the association for which you want to delete an association
|
4750
|
+
# between the OpsItem and a related resource.
|
4751
|
+
#
|
4752
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4753
|
+
#
|
4754
|
+
# @example Request syntax with placeholder values
|
4755
|
+
#
|
4756
|
+
# resp = client.disassociate_ops_item_related_item({
|
4757
|
+
# ops_item_id: "OpsItemId", # required
|
4758
|
+
# association_id: "OpsItemRelatedItemAssociationId", # required
|
4759
|
+
# })
|
4760
|
+
#
|
4761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItem AWS API Documentation
|
4762
|
+
#
|
4763
|
+
# @overload disassociate_ops_item_related_item(params = {})
|
4764
|
+
# @param [Hash] params ({})
|
4765
|
+
def disassociate_ops_item_related_item(params = {}, options = {})
|
4766
|
+
req = build_request(:disassociate_ops_item_related_item, params)
|
4767
|
+
req.send_request(options)
|
4768
|
+
end
|
4769
|
+
|
4619
4770
|
# Get detailed information about a particular Automation execution.
|
4620
4771
|
#
|
4621
4772
|
# @option params [required, String] :automation_execution_id
|
@@ -4825,21 +4976,34 @@ module Aws::SSM
|
|
4825
4976
|
# Returns detailed information about command execution for an invocation
|
4826
4977
|
# or plugin.
|
4827
4978
|
#
|
4979
|
+
# `GetCommandInvocation` only gives the execution status of a plugin in
|
4980
|
+
# a document. To get the command execution status on a specific
|
4981
|
+
# instance, use ListCommandInvocations. To get the command execution
|
4982
|
+
# status across instances, use ListCommands.
|
4983
|
+
#
|
4828
4984
|
# @option params [required, String] :command_id
|
4829
4985
|
# (Required) The parent command ID of the invocation plugin.
|
4830
4986
|
#
|
4831
4987
|
# @option params [required, String] :instance_id
|
4832
4988
|
# (Required) The ID of the managed instance targeted by the command. A
|
4833
|
-
# managed instance can be an
|
4834
|
-
# environment that is configured
|
4989
|
+
# managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2)
|
4990
|
+
# instance or an instance in your hybrid environment that is configured
|
4991
|
+
# for AWS Systems Manager.
|
4835
4992
|
#
|
4836
4993
|
# @option params [String] :plugin_name
|
4837
|
-
#
|
4838
|
-
#
|
4839
|
-
# the
|
4994
|
+
# The name of the plugin for which you want detailed results. If the
|
4995
|
+
# document contains only one plugin, you can omit the name and details
|
4996
|
+
# for that plugin. If the document contains more than one plugin, you
|
4997
|
+
# must specify the name of the plugin for which you want to view
|
4998
|
+
# details.
|
4840
4999
|
#
|
4841
|
-
# Plugin names are also referred to as step names in Systems Manager
|
4842
|
-
# documents.
|
5000
|
+
# Plugin names are also referred to as *step names* in Systems Manager
|
5001
|
+
# documents. For example, `aws:RunShellScript` is a plugin.
|
5002
|
+
#
|
5003
|
+
# To find the `PluginName`, check the document content and find the name
|
5004
|
+
# of the plugin. Alternatively, use ListCommandInvocations with the
|
5005
|
+
# `CommandId` and `Details` parameters. The `PluginName` is the `Name`
|
5006
|
+
# attribute of the `CommandPlugin` object in the `CommandPlugins` list.
|
4843
5007
|
#
|
4844
5008
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4845
5009
|
#
|
@@ -5076,6 +5240,8 @@ module Aws::SSM
|
|
5076
5240
|
# @return [Types::GetDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5077
5241
|
#
|
5078
5242
|
# * {Types::GetDocumentResult#name #name} => String
|
5243
|
+
# * {Types::GetDocumentResult#created_date #created_date} => Time
|
5244
|
+
# * {Types::GetDocumentResult#display_name #display_name} => String
|
5079
5245
|
# * {Types::GetDocumentResult#version_name #version_name} => String
|
5080
5246
|
# * {Types::GetDocumentResult#document_version #document_version} => String
|
5081
5247
|
# * {Types::GetDocumentResult#status #status} => String
|
@@ -5099,12 +5265,14 @@ module Aws::SSM
|
|
5099
5265
|
# @example Response structure
|
5100
5266
|
#
|
5101
5267
|
# resp.name #=> String
|
5268
|
+
# resp.created_date #=> Time
|
5269
|
+
# resp.display_name #=> String
|
5102
5270
|
# resp.version_name #=> String
|
5103
5271
|
# resp.document_version #=> String
|
5104
5272
|
# resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
|
5105
5273
|
# resp.status_information #=> String
|
5106
5274
|
# resp.content #=> String
|
5107
|
-
# resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
5275
|
+
# resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
|
5108
5276
|
# resp.document_format #=> String, one of "YAML", "JSON", "TEXT"
|
5109
5277
|
# resp.requires #=> Array
|
5110
5278
|
# resp.requires[0].name #=> String
|
@@ -6239,9 +6407,8 @@ module Aws::SSM
|
|
6239
6407
|
# * You can't create a label when you create a new parameter. You must
|
6240
6408
|
# attach a label to a specific version of a parameter.
|
6241
6409
|
#
|
6242
|
-
# *
|
6243
|
-
#
|
6244
|
-
# parameter.
|
6410
|
+
# * If you no longer want to use a parameter label, then you can either
|
6411
|
+
# delete it or move it to a different version of a parameter.
|
6245
6412
|
#
|
6246
6413
|
# * A label can have a maximum of 100 characters.
|
6247
6414
|
#
|
@@ -6347,6 +6514,8 @@ module Aws::SSM
|
|
6347
6514
|
# resp.association_versions[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
6348
6515
|
# resp.association_versions[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
6349
6516
|
# resp.association_versions[0].apply_only_at_cron_interval #=> Boolean
|
6517
|
+
# resp.association_versions[0].calendar_names #=> Array
|
6518
|
+
# resp.association_versions[0].calendar_names[0] #=> String
|
6350
6519
|
# resp.association_versions[0].target_locations #=> Array
|
6351
6520
|
# resp.association_versions[0].target_locations[0].accounts #=> Array
|
6352
6521
|
# resp.association_versions[0].target_locations[0].accounts[0] #=> String
|
@@ -6468,7 +6637,7 @@ module Aws::SSM
|
|
6468
6637
|
#
|
6469
6638
|
# @option params [Boolean] :details
|
6470
6639
|
# (Optional) If set this returns the response of the command executions
|
6471
|
-
# and any command output.
|
6640
|
+
# and any command output. The default value is 'false'.
|
6472
6641
|
#
|
6473
6642
|
# @return [Types::ListCommandInvocationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6474
6643
|
#
|
@@ -6876,6 +7045,7 @@ module Aws::SSM
|
|
6876
7045
|
#
|
6877
7046
|
# resp.document_versions #=> Array
|
6878
7047
|
# resp.document_versions[0].name #=> String
|
7048
|
+
# resp.document_versions[0].display_name #=> String
|
6879
7049
|
# resp.document_versions[0].document_version #=> String
|
6880
7050
|
# resp.document_versions[0].version_name #=> String
|
6881
7051
|
# resp.document_versions[0].created_date #=> Time
|
@@ -6956,12 +7126,14 @@ module Aws::SSM
|
|
6956
7126
|
#
|
6957
7127
|
# resp.document_identifiers #=> Array
|
6958
7128
|
# resp.document_identifiers[0].name #=> String
|
7129
|
+
# resp.document_identifiers[0].created_date #=> Time
|
7130
|
+
# resp.document_identifiers[0].display_name #=> String
|
6959
7131
|
# resp.document_identifiers[0].owner #=> String
|
6960
7132
|
# resp.document_identifiers[0].version_name #=> String
|
6961
7133
|
# resp.document_identifiers[0].platform_types #=> Array
|
6962
7134
|
# resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
|
6963
7135
|
# resp.document_identifiers[0].document_version #=> String
|
6964
|
-
# resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
7136
|
+
# resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
|
6965
7137
|
# resp.document_identifiers[0].schema_version #=> String
|
6966
7138
|
# resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
|
6967
7139
|
# resp.document_identifiers[0].target_type #=> String
|
@@ -7109,6 +7281,70 @@ module Aws::SSM
|
|
7109
7281
|
req.send_request(options)
|
7110
7282
|
end
|
7111
7283
|
|
7284
|
+
# Lists all related-item resources associated with an OpsItem.
|
7285
|
+
#
|
7286
|
+
# @option params [String] :ops_item_id
|
7287
|
+
# The ID of the OpsItem for which you want to list all related-item
|
7288
|
+
# resources.
|
7289
|
+
#
|
7290
|
+
# @option params [Array<Types::OpsItemRelatedItemsFilter>] :filters
|
7291
|
+
# One or more OpsItem filters. Use a filter to return a more specific
|
7292
|
+
# list of results.
|
7293
|
+
#
|
7294
|
+
# @option params [Integer] :max_results
|
7295
|
+
# The maximum number of items to return for this call. The call also
|
7296
|
+
# returns a token that you can specify in a subsequent call to get the
|
7297
|
+
# next set of results.
|
7298
|
+
#
|
7299
|
+
# @option params [String] :next_token
|
7300
|
+
# The token for the next set of items to return. (You received this
|
7301
|
+
# token from a previous call.)
|
7302
|
+
#
|
7303
|
+
# @return [Types::ListOpsItemRelatedItemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7304
|
+
#
|
7305
|
+
# * {Types::ListOpsItemRelatedItemsResponse#next_token #next_token} => String
|
7306
|
+
# * {Types::ListOpsItemRelatedItemsResponse#summaries #summaries} => Array<Types::OpsItemRelatedItemSummary>
|
7307
|
+
#
|
7308
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7309
|
+
#
|
7310
|
+
# @example Request syntax with placeholder values
|
7311
|
+
#
|
7312
|
+
# resp = client.list_ops_item_related_items({
|
7313
|
+
# ops_item_id: "OpsItemId",
|
7314
|
+
# filters: [
|
7315
|
+
# {
|
7316
|
+
# key: "ResourceType", # required, accepts ResourceType, AssociationId, ResourceUri
|
7317
|
+
# values: ["OpsItemRelatedItemsFilterValue"], # required
|
7318
|
+
# operator: "Equal", # required, accepts Equal
|
7319
|
+
# },
|
7320
|
+
# ],
|
7321
|
+
# max_results: 1,
|
7322
|
+
# next_token: "String",
|
7323
|
+
# })
|
7324
|
+
#
|
7325
|
+
# @example Response structure
|
7326
|
+
#
|
7327
|
+
# resp.next_token #=> String
|
7328
|
+
# resp.summaries #=> Array
|
7329
|
+
# resp.summaries[0].ops_item_id #=> String
|
7330
|
+
# resp.summaries[0].association_id #=> String
|
7331
|
+
# resp.summaries[0].resource_type #=> String
|
7332
|
+
# resp.summaries[0].association_type #=> String
|
7333
|
+
# resp.summaries[0].resource_uri #=> String
|
7334
|
+
# resp.summaries[0].created_by.arn #=> String
|
7335
|
+
# resp.summaries[0].created_time #=> Time
|
7336
|
+
# resp.summaries[0].last_modified_by.arn #=> String
|
7337
|
+
# resp.summaries[0].last_modified_time #=> Time
|
7338
|
+
#
|
7339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemRelatedItems AWS API Documentation
|
7340
|
+
#
|
7341
|
+
# @overload list_ops_item_related_items(params = {})
|
7342
|
+
# @param [Hash] params ({})
|
7343
|
+
def list_ops_item_related_items(params = {}, options = {})
|
7344
|
+
req = build_request(:list_ops_item_related_items, params)
|
7345
|
+
req.send_request(options)
|
7346
|
+
end
|
7347
|
+
|
7112
7348
|
# Systems Manager calls this API action when displaying all Application
|
7113
7349
|
# Manager OpsMetadata objects or blobs.
|
7114
7350
|
#
|
@@ -7295,6 +7531,7 @@ module Aws::SSM
|
|
7295
7531
|
# resp.resource_data_sync_items[0].sync_source.source_regions[0] #=> String
|
7296
7532
|
# resp.resource_data_sync_items[0].sync_source.include_future_regions #=> Boolean
|
7297
7533
|
# resp.resource_data_sync_items[0].sync_source.state #=> String
|
7534
|
+
# resp.resource_data_sync_items[0].sync_source.enable_all_ops_data_sources #=> Boolean
|
7298
7535
|
# resp.resource_data_sync_items[0].s3_destination.bucket_name #=> String
|
7299
7536
|
# resp.resource_data_sync_items[0].s3_destination.prefix #=> String
|
7300
7537
|
# resp.resource_data_sync_items[0].s3_destination.sync_format #=> String, one of "JsonSerDe"
|
@@ -7333,7 +7570,7 @@ module Aws::SSM
|
|
7333
7570
|
# @example Request syntax with placeholder values
|
7334
7571
|
#
|
7335
7572
|
# resp = client.list_tags_for_resource({
|
7336
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
7573
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
7337
7574
|
# resource_id: "ResourceId", # required
|
7338
7575
|
# })
|
7339
7576
|
#
|
@@ -7674,8 +7911,7 @@ module Aws::SSM
|
|
7674
7911
|
# the `Key ID` parameter.
|
7675
7912
|
#
|
7676
7913
|
# @option params [Boolean] :overwrite
|
7677
|
-
# Overwrite an existing parameter.
|
7678
|
-
# "false".
|
7914
|
+
# Overwrite an existing parameter. The default value is 'false'.
|
7679
7915
|
#
|
7680
7916
|
# @option params [String] :allowed_pattern
|
7681
7917
|
# A regular expression used to validate the parameter value. For
|
@@ -8279,6 +8515,14 @@ module Aws::SSM
|
|
8279
8515
|
#
|
8280
8516
|
# PatchBaseline: pb-012345abcde
|
8281
8517
|
#
|
8518
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
8519
|
+
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
8520
|
+
# is created from the strings that come after the word `opsmetadata` in
|
8521
|
+
# the ARN. For example, an OpsMetadata object with an ARN of
|
8522
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
8523
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
8524
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
8525
|
+
#
|
8282
8526
|
# For the Document and Parameter values, use the name of the resource.
|
8283
8527
|
#
|
8284
8528
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -8295,7 +8539,7 @@ module Aws::SSM
|
|
8295
8539
|
# @example Request syntax with placeholder values
|
8296
8540
|
#
|
8297
8541
|
# resp = client.remove_tags_from_resource({
|
8298
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
8542
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
8299
8543
|
# resource_id: "ResourceId", # required
|
8300
8544
|
# tag_keys: ["TagKey"], # required
|
8301
8545
|
# })
|
@@ -8907,6 +9151,16 @@ module Aws::SSM
|
|
8907
9151
|
#
|
8908
9152
|
# * `Key=Region,Value=us-east-2`
|
8909
9153
|
#
|
9154
|
+
# @option params [Time,DateTime,Date,Integer,String] :scheduled_end_time
|
9155
|
+
# The time that the requester expects the runbook workflow related to
|
9156
|
+
# the change request to complete. The time is an estimate only that the
|
9157
|
+
# requester provides for reviewers.
|
9158
|
+
#
|
9159
|
+
# @option params [String] :change_details
|
9160
|
+
# User-provided details about the change. If no details are provided,
|
9161
|
+
# content specified in the **Template information** section of the
|
9162
|
+
# associated change template is added.
|
9163
|
+
#
|
8910
9164
|
# @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8911
9165
|
#
|
8912
9166
|
# * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
|
@@ -8955,6 +9209,8 @@ module Aws::SSM
|
|
8955
9209
|
# value: "TagValue", # required
|
8956
9210
|
# },
|
8957
9211
|
# ],
|
9212
|
+
# scheduled_end_time: Time.now,
|
9213
|
+
# change_details: "ChangeDetailsValue",
|
8958
9214
|
# })
|
8959
9215
|
#
|
8960
9216
|
# @example Response structure
|
@@ -9089,6 +9345,47 @@ module Aws::SSM
|
|
9089
9345
|
req.send_request(options)
|
9090
9346
|
end
|
9091
9347
|
|
9348
|
+
# Remove a label or labels from a parameter.
|
9349
|
+
#
|
9350
|
+
# @option params [required, String] :name
|
9351
|
+
# The parameter name of which you want to delete one or more labels.
|
9352
|
+
#
|
9353
|
+
# @option params [required, Integer] :parameter_version
|
9354
|
+
# The specific version of the parameter which you want to delete one or
|
9355
|
+
# more labels from. If it is not present, the call will fail.
|
9356
|
+
#
|
9357
|
+
# @option params [required, Array<String>] :labels
|
9358
|
+
# One or more labels to delete from the specified parameter version.
|
9359
|
+
#
|
9360
|
+
# @return [Types::UnlabelParameterVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9361
|
+
#
|
9362
|
+
# * {Types::UnlabelParameterVersionResult#removed_labels #removed_labels} => Array<String>
|
9363
|
+
# * {Types::UnlabelParameterVersionResult#invalid_labels #invalid_labels} => Array<String>
|
9364
|
+
#
|
9365
|
+
# @example Request syntax with placeholder values
|
9366
|
+
#
|
9367
|
+
# resp = client.unlabel_parameter_version({
|
9368
|
+
# name: "PSParameterName", # required
|
9369
|
+
# parameter_version: 1, # required
|
9370
|
+
# labels: ["ParameterLabel"], # required
|
9371
|
+
# })
|
9372
|
+
#
|
9373
|
+
# @example Response structure
|
9374
|
+
#
|
9375
|
+
# resp.removed_labels #=> Array
|
9376
|
+
# resp.removed_labels[0] #=> String
|
9377
|
+
# resp.invalid_labels #=> Array
|
9378
|
+
# resp.invalid_labels[0] #=> String
|
9379
|
+
#
|
9380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersion AWS API Documentation
|
9381
|
+
#
|
9382
|
+
# @overload unlabel_parameter_version(params = {})
|
9383
|
+
# @param [Hash] params ({})
|
9384
|
+
def unlabel_parameter_version(params = {}, options = {})
|
9385
|
+
req = build_request(:unlabel_parameter_version, params)
|
9386
|
+
req.send_request(options)
|
9387
|
+
end
|
9388
|
+
|
9092
9389
|
# Updates an association. You can update the association name and
|
9093
9390
|
# version, the document version, schedule, parameters, and Amazon S3
|
9094
9391
|
# output.
|
@@ -9222,6 +9519,16 @@ module Aws::SSM
|
|
9222
9519
|
# association to run immediately after updating it and according to the
|
9223
9520
|
# interval specified.
|
9224
9521
|
#
|
9522
|
+
# @option params [Array<String>] :calendar_names
|
9523
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
9524
|
+
# Change Calendar type documents you want to gate your associations
|
9525
|
+
# under. The associations only run when that Change Calendar is open.
|
9526
|
+
# For more information, see [AWS Systems Manager Change Calendar][1].
|
9527
|
+
#
|
9528
|
+
#
|
9529
|
+
#
|
9530
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
9531
|
+
#
|
9225
9532
|
# @option params [Array<Types::TargetLocation>] :target_locations
|
9226
9533
|
# A location is a combination of AWS Regions and AWS accounts where you
|
9227
9534
|
# want to run the association. Use this action to update an association
|
@@ -9262,6 +9569,7 @@ module Aws::SSM
|
|
9262
9569
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
9263
9570
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
9264
9571
|
# apply_only_at_cron_interval: false,
|
9572
|
+
# calendar_names: ["CalendarNameOrARN"],
|
9265
9573
|
# target_locations: [
|
9266
9574
|
# {
|
9267
9575
|
# accounts: ["Account"],
|
@@ -9310,6 +9618,8 @@ module Aws::SSM
|
|
9310
9618
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
9311
9619
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
9312
9620
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9621
|
+
# resp.association_description.calendar_names #=> Array
|
9622
|
+
# resp.association_description.calendar_names[0] #=> String
|
9313
9623
|
# resp.association_description.target_locations #=> Array
|
9314
9624
|
# resp.association_description.target_locations[0].accounts #=> Array
|
9315
9625
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -9394,6 +9704,8 @@ module Aws::SSM
|
|
9394
9704
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
9395
9705
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
9396
9706
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9707
|
+
# resp.association_description.calendar_names #=> Array
|
9708
|
+
# resp.association_description.calendar_names[0] #=> String
|
9397
9709
|
# resp.association_description.target_locations #=> Array
|
9398
9710
|
# resp.association_description.target_locations[0].accounts #=> Array
|
9399
9711
|
# resp.association_description.target_locations[0].accounts[0] #=> String
|
@@ -9422,7 +9734,13 @@ module Aws::SSM
|
|
9422
9734
|
# of a document.
|
9423
9735
|
#
|
9424
9736
|
# @option params [required, String] :name
|
9425
|
-
# The name of the document that you want to update.
|
9737
|
+
# The name of the Systems Manager document that you want to update.
|
9738
|
+
#
|
9739
|
+
# @option params [String] :display_name
|
9740
|
+
# The friendly name of the Systems Manager document that you want to
|
9741
|
+
# update. This value can differ for each version of the document. If you
|
9742
|
+
# do not specify a value for this parameter in your request, the
|
9743
|
+
# existing value is applied to the new document version.
|
9426
9744
|
#
|
9427
9745
|
# @option params [String] :version_name
|
9428
9746
|
# An optional field specifying the version of the artifact you are
|
@@ -9431,10 +9749,10 @@ module Aws::SSM
|
|
9431
9749
|
# changed.
|
9432
9750
|
#
|
9433
9751
|
# @option params [String] :document_version
|
9434
|
-
#
|
9435
|
-
#
|
9436
|
-
#
|
9437
|
-
#
|
9752
|
+
# The version of the document that you want to update. Currently,
|
9753
|
+
# Systems Manager supports updating only the latest version of the
|
9754
|
+
# document. You can specify the version number of the latest version or
|
9755
|
+
# use the `$LATEST` variable.
|
9438
9756
|
#
|
9439
9757
|
# @option params [String] :document_format
|
9440
9758
|
# Specify the document format for the new document version. Systems
|
@@ -9459,6 +9777,7 @@ module Aws::SSM
|
|
9459
9777
|
# },
|
9460
9778
|
# ],
|
9461
9779
|
# name: "DocumentName", # required
|
9780
|
+
# display_name: "DocumentDisplayName",
|
9462
9781
|
# version_name: "DocumentVersionName",
|
9463
9782
|
# document_version: "DocumentVersion",
|
9464
9783
|
# document_format: "YAML", # accepts YAML, JSON, TEXT
|
@@ -9471,6 +9790,7 @@ module Aws::SSM
|
|
9471
9790
|
# resp.document_description.hash #=> String
|
9472
9791
|
# resp.document_description.hash_type #=> String, one of "Sha256", "Sha1"
|
9473
9792
|
# resp.document_description.name #=> String
|
9793
|
+
# resp.document_description.display_name #=> String
|
9474
9794
|
# resp.document_description.version_name #=> String
|
9475
9795
|
# resp.document_description.owner #=> String
|
9476
9796
|
# resp.document_description.created_date #=> Time
|
@@ -9485,7 +9805,7 @@ module Aws::SSM
|
|
9485
9805
|
# resp.document_description.parameters[0].default_value #=> String
|
9486
9806
|
# resp.document_description.platform_types #=> Array
|
9487
9807
|
# resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
|
9488
|
-
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
9808
|
+
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", "ProblemAnalysisTemplate"
|
9489
9809
|
# resp.document_description.schema_version #=> String
|
9490
9810
|
# resp.document_description.latest_version #=> String
|
9491
9811
|
# resp.document_description.default_version #=> String
|
@@ -10600,6 +10920,7 @@ module Aws::SSM
|
|
10600
10920
|
# },
|
10601
10921
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
10602
10922
|
# include_future_regions: false,
|
10923
|
+
# enable_all_ops_data_sources: false,
|
10603
10924
|
# },
|
10604
10925
|
# })
|
10605
10926
|
#
|
@@ -10698,7 +11019,7 @@ module Aws::SSM
|
|
10698
11019
|
params: params,
|
10699
11020
|
config: config)
|
10700
11021
|
context[:gem_name] = 'aws-sdk-ssm'
|
10701
|
-
context[:gem_version] = '1.
|
11022
|
+
context[:gem_version] = '1.110.0'
|
10702
11023
|
Seahorse::Client::Request.new(handlers, context)
|
10703
11024
|
end
|
10704
11025
|
|