aws-sdk-ssm 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +115 -17
- data/lib/aws-sdk-ssm/client_api.rb +5 -0
- data/lib/aws-sdk-ssm/types.rb +187 -26
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c718a15930868007a091cff895f77e16ed8cd9c5
|
4
|
+
data.tar.gz: 2c73e1de95ee44d14cd8d9fd30b953ce2022ad11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225c162b5abea8bf6b62787eb36f2dc7fb9708f6ba268c0d0ba38d1b3f8b3abfd35d72bfaf2f86fb4dc5dda56c144ea6994725dd3beddb7430eca8b6581e64ea
|
7
|
+
data.tar.gz: 6c9e00b99e7557158009242fa9205cf6e0a177a3df5cec6da3a9439ad60497afb84e827d192fb0e262825ba347db587a992644fb54d51500bf78d42038fa35f5
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -185,15 +185,33 @@ module Aws::SSM
|
|
185
185
|
# @option params [required, String] :resource_type
|
186
186
|
# Specifies the type of resource you are tagging.
|
187
187
|
#
|
188
|
+
# <note markdown="1"> The ManagedInstance type for this API action is for on-premises
|
189
|
+
# managed instances. You must specify the the name of the managed
|
190
|
+
# instance in the following format: mi-ID\_number. For example,
|
191
|
+
# mi-1a2b3c4d5e6f.
|
192
|
+
#
|
193
|
+
# </note>
|
194
|
+
#
|
188
195
|
# @option params [required, String] :resource_id
|
189
196
|
# The resource ID you want to tag.
|
190
197
|
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
198
|
+
# Use the ID of the resource. Here are some examples:
|
199
|
+
#
|
200
|
+
# ManagedInstance: mi-012345abcde
|
201
|
+
#
|
202
|
+
# MaintenanceWindow: mw-012345abcde
|
203
|
+
#
|
204
|
+
# PatchBaseline: pb-012345abcde
|
194
205
|
#
|
195
206
|
# For the Document and Parameter values, use the name of the resource.
|
196
207
|
#
|
208
|
+
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
209
|
+
# managed instances. You must specify the the name of the managed
|
210
|
+
# instance in the following format: mi-ID\_number. For example,
|
211
|
+
# mi-1a2b3c4d5e6f.
|
212
|
+
#
|
213
|
+
# </note>
|
214
|
+
#
|
197
215
|
# @option params [required, Array<Types::Tag>] :tags
|
198
216
|
# One or more tags. The value parameter is required, but if you don't
|
199
217
|
# want the tag to have a value, specify the parameter with no value, and
|
@@ -267,7 +285,7 @@ module Aws::SSM
|
|
267
285
|
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances.html
|
268
286
|
#
|
269
287
|
# @option params [String] :description
|
270
|
-
# A
|
288
|
+
# A user-defined description of the resource that you want to register
|
271
289
|
# with Amazon EC2.
|
272
290
|
#
|
273
291
|
# Do not enter personally identifiable information in this field.
|
@@ -723,12 +741,18 @@ module Aws::SSM
|
|
723
741
|
# @option params [Array<String>] :approved_patches
|
724
742
|
# A list of explicitly approved patches for the baseline.
|
725
743
|
#
|
744
|
+
# For information about accepted formats for lists of approved patches
|
745
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
746
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
747
|
+
#
|
748
|
+
#
|
749
|
+
#
|
750
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
751
|
+
#
|
726
752
|
# @option params [String] :approved_patches_compliance_level
|
727
753
|
# Defines the compliance level for approved patches. This means that if
|
728
754
|
# an approved patch is reported as missing, this is the severity of the
|
729
|
-
# compliance violation.
|
730
|
-
# following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED.
|
731
|
-
# The default value is UNSPECIFIED.
|
755
|
+
# compliance violation. The default value is UNSPECIFIED.
|
732
756
|
#
|
733
757
|
# @option params [Boolean] :approved_patches_enable_non_security
|
734
758
|
# Indicates whether the list of approved patches includes non-security
|
@@ -738,6 +762,14 @@ module Aws::SSM
|
|
738
762
|
# @option params [Array<String>] :rejected_patches
|
739
763
|
# A list of explicitly rejected patches for the baseline.
|
740
764
|
#
|
765
|
+
# For information about accepted formats for lists of approved patches
|
766
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
767
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
768
|
+
#
|
769
|
+
#
|
770
|
+
#
|
771
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
772
|
+
#
|
741
773
|
# @option params [String] :description
|
742
774
|
# A description of the patch baseline.
|
743
775
|
#
|
@@ -2922,6 +2954,7 @@ module Aws::SSM
|
|
2922
2954
|
# * {Types::GetCommandInvocationResult#instance_id #instance_id} => String
|
2923
2955
|
# * {Types::GetCommandInvocationResult#comment #comment} => String
|
2924
2956
|
# * {Types::GetCommandInvocationResult#document_name #document_name} => String
|
2957
|
+
# * {Types::GetCommandInvocationResult#document_version #document_version} => String
|
2925
2958
|
# * {Types::GetCommandInvocationResult#plugin_name #plugin_name} => String
|
2926
2959
|
# * {Types::GetCommandInvocationResult#response_code #response_code} => Integer
|
2927
2960
|
# * {Types::GetCommandInvocationResult#execution_start_date_time #execution_start_date_time} => String
|
@@ -2948,6 +2981,7 @@ module Aws::SSM
|
|
2948
2981
|
# resp.instance_id #=> String
|
2949
2982
|
# resp.comment #=> String
|
2950
2983
|
# resp.document_name #=> String
|
2984
|
+
# resp.document_version #=> String
|
2951
2985
|
# resp.plugin_name #=> String
|
2952
2986
|
# resp.response_code #=> Integer
|
2953
2987
|
# resp.execution_start_date_time #=> String
|
@@ -2973,6 +3007,9 @@ module Aws::SSM
|
|
2973
3007
|
# supports creating multiple default patch baselines. For example, you
|
2974
3008
|
# can create a default patch baseline for each operating system.
|
2975
3009
|
#
|
3010
|
+
# If you do not specify an operating system value, the default patch
|
3011
|
+
# baseline for Windows is returned.
|
3012
|
+
#
|
2976
3013
|
# @option params [String] :operating_system
|
2977
3014
|
# Returns the default patch baseline for the specified operating system.
|
2978
3015
|
#
|
@@ -4038,6 +4075,7 @@ module Aws::SSM
|
|
4038
4075
|
# resp.command_invocations[0].instance_name #=> String
|
4039
4076
|
# resp.command_invocations[0].comment #=> String
|
4040
4077
|
# resp.command_invocations[0].document_name #=> String
|
4078
|
+
# resp.command_invocations[0].document_version #=> String
|
4041
4079
|
# resp.command_invocations[0].requested_date_time #=> Time
|
4042
4080
|
# resp.command_invocations[0].status #=> String, one of "Pending", "InProgress", "Delayed", "Success", "Cancelled", "TimedOut", "Failed", "Cancelling"
|
4043
4081
|
# resp.command_invocations[0].status_details #=> String
|
@@ -4119,6 +4157,7 @@ module Aws::SSM
|
|
4119
4157
|
# resp.commands #=> Array
|
4120
4158
|
# resp.commands[0].command_id #=> String
|
4121
4159
|
# resp.commands[0].document_name #=> String
|
4160
|
+
# resp.commands[0].document_version #=> String
|
4122
4161
|
# resp.commands[0].comment #=> String
|
4123
4162
|
# resp.commands[0].expires_after #=> Time
|
4124
4163
|
# resp.commands[0].parameters #=> Hash
|
@@ -4846,7 +4885,7 @@ module Aws::SSM
|
|
4846
4885
|
req.send_request(options)
|
4847
4886
|
end
|
4848
4887
|
|
4849
|
-
# Add
|
4888
|
+
# Add a parameter to the system.
|
4850
4889
|
#
|
4851
4890
|
# @option params [required, String] :name
|
4852
4891
|
# The fully qualified name of the parameter that you want to add to the
|
@@ -4996,9 +5035,17 @@ module Aws::SSM
|
|
4996
5035
|
# The type of target being registered with the Maintenance Window.
|
4997
5036
|
#
|
4998
5037
|
# @option params [required, Array<Types::Target>] :targets
|
4999
|
-
# The targets (either instances or tags).
|
5000
|
-
#
|
5001
|
-
#
|
5038
|
+
# The targets (either instances or tags).
|
5039
|
+
#
|
5040
|
+
# Specify instances using the following format:
|
5041
|
+
#
|
5042
|
+
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
|
5043
|
+
#
|
5044
|
+
# Specify tags using either of the following formats:
|
5045
|
+
#
|
5046
|
+
# `Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>`
|
5047
|
+
#
|
5048
|
+
# `Key=tag-key,Values=<tag-key-1>,<tag-key-2>`
|
5002
5049
|
#
|
5003
5050
|
# @option params [String] :owner_information
|
5004
5051
|
# User-provided value that will be included in any CloudWatch events
|
@@ -5054,12 +5101,18 @@ module Aws::SSM
|
|
5054
5101
|
# Adds a new task to a Maintenance Window.
|
5055
5102
|
#
|
5056
5103
|
# @option params [required, String] :window_id
|
5057
|
-
# The
|
5104
|
+
# The ID of the Maintenance Window the task should be added to.
|
5058
5105
|
#
|
5059
5106
|
# @option params [required, Array<Types::Target>] :targets
|
5060
|
-
# The targets (either instances or
|
5061
|
-
#
|
5062
|
-
#
|
5107
|
+
# The targets (either instances or Maintenance Window targets).
|
5108
|
+
#
|
5109
|
+
# Specify instances using the following format:
|
5110
|
+
#
|
5111
|
+
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
|
5112
|
+
#
|
5113
|
+
# Specify Maintenance Window targets using the following format:
|
5114
|
+
#
|
5115
|
+
# `Key=<WindowTargetIds>,Values=<window-target-id-1>,<window-target-id-2>`
|
5063
5116
|
#
|
5064
5117
|
# @option params [required, String] :task_arn
|
5065
5118
|
# The ARN of the task to execute
|
@@ -5211,8 +5264,31 @@ module Aws::SSM
|
|
5211
5264
|
# @option params [required, String] :resource_type
|
5212
5265
|
# The type of resource of which you want to remove a tag.
|
5213
5266
|
#
|
5267
|
+
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
5268
|
+
# managed instances. You must specify the the name of the managed
|
5269
|
+
# instance in the following format: mi-ID\_number. For example,
|
5270
|
+
# mi-1a2b3c4d5e6f.
|
5271
|
+
#
|
5272
|
+
# </note>
|
5273
|
+
#
|
5214
5274
|
# @option params [required, String] :resource_id
|
5215
|
-
# The resource ID for which you want to remove tags.
|
5275
|
+
# The resource ID for which you want to remove tags. Use the ID of the
|
5276
|
+
# resource. Here are some examples:
|
5277
|
+
#
|
5278
|
+
# ManagedInstance: mi-012345abcde
|
5279
|
+
#
|
5280
|
+
# MaintenanceWindow: mw-012345abcde
|
5281
|
+
#
|
5282
|
+
# PatchBaseline: pb-012345abcde
|
5283
|
+
#
|
5284
|
+
# For the Document and Parameter values, use the name of the resource.
|
5285
|
+
#
|
5286
|
+
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
5287
|
+
# managed instances. You must specify the the name of the managed
|
5288
|
+
# instance in the following format: mi-ID\_number. For example,
|
5289
|
+
# mi-1a2b3c4d5e6f.
|
5290
|
+
#
|
5291
|
+
# </note>
|
5216
5292
|
#
|
5217
5293
|
# @option params [required, Array<String>] :tag_keys
|
5218
5294
|
# Tag keys that you want to remove from the specified resource.
|
@@ -5300,6 +5376,10 @@ module Aws::SSM
|
|
5300
5376
|
# Required. The name of the Systems Manager document to execute. This
|
5301
5377
|
# can be a public document or a custom document.
|
5302
5378
|
#
|
5379
|
+
# @option params [String] :document_version
|
5380
|
+
# The SSM document version to use in the request. You can specify
|
5381
|
+
# Default, Latest, or a specific version number.
|
5382
|
+
#
|
5303
5383
|
# @option params [String] :document_hash
|
5304
5384
|
# The Sha256 or Sha1 hash created by the system when the document was
|
5305
5385
|
# created.
|
@@ -5383,6 +5463,7 @@ module Aws::SSM
|
|
5383
5463
|
# },
|
5384
5464
|
# ],
|
5385
5465
|
# document_name: "DocumentARN", # required
|
5466
|
+
# document_version: "DocumentVersion",
|
5386
5467
|
# document_hash: "DocumentHash",
|
5387
5468
|
# document_hash_type: "Sha256", # accepts Sha256, Sha1
|
5388
5469
|
# timeout_seconds: 1,
|
@@ -5407,6 +5488,7 @@ module Aws::SSM
|
|
5407
5488
|
#
|
5408
5489
|
# resp.command.command_id #=> String
|
5409
5490
|
# resp.command.document_name #=> String
|
5491
|
+
# resp.command.document_version #=> String
|
5410
5492
|
# resp.command.comment #=> String
|
5411
5493
|
# resp.command.expires_after #=> Time
|
5412
5494
|
# resp.command.parameters #=> Hash
|
@@ -6302,6 +6384,14 @@ module Aws::SSM
|
|
6302
6384
|
# @option params [Array<String>] :approved_patches
|
6303
6385
|
# A list of explicitly approved patches for the baseline.
|
6304
6386
|
#
|
6387
|
+
# For information about accepted formats for lists of approved patches
|
6388
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
6389
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
6390
|
+
#
|
6391
|
+
#
|
6392
|
+
#
|
6393
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
6394
|
+
#
|
6305
6395
|
# @option params [String] :approved_patches_compliance_level
|
6306
6396
|
# Assigns a new compliance severity level to an existing patch baseline.
|
6307
6397
|
#
|
@@ -6313,6 +6403,14 @@ module Aws::SSM
|
|
6313
6403
|
# @option params [Array<String>] :rejected_patches
|
6314
6404
|
# A list of explicitly rejected patches for the baseline.
|
6315
6405
|
#
|
6406
|
+
# For information about accepted formats for lists of approved patches
|
6407
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
6408
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
6409
|
+
#
|
6410
|
+
#
|
6411
|
+
#
|
6412
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
6413
|
+
#
|
6316
6414
|
# @option params [String] :description
|
6317
6415
|
# A description of the patch baseline.
|
6318
6416
|
#
|
@@ -6441,7 +6539,7 @@ module Aws::SSM
|
|
6441
6539
|
params: params,
|
6442
6540
|
config: config)
|
6443
6541
|
context[:gem_name] = 'aws-sdk-ssm'
|
6444
|
-
context[:gem_version] = '1.
|
6542
|
+
context[:gem_version] = '1.13.0'
|
6445
6543
|
Seahorse::Client::Request.new(handlers, context)
|
6446
6544
|
end
|
6447
6545
|
|
@@ -935,6 +935,7 @@ module Aws::SSM
|
|
935
935
|
|
936
936
|
Command.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "CommandId"))
|
937
937
|
Command.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
|
938
|
+
Command.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
938
939
|
Command.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "Comment"))
|
939
940
|
Command.add_member(:expires_after, Shapes::ShapeRef.new(shape: DateTime, location_name: "ExpiresAfter"))
|
940
941
|
Command.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
|
@@ -966,6 +967,7 @@ module Aws::SSM
|
|
966
967
|
CommandInvocation.add_member(:instance_name, Shapes::ShapeRef.new(shape: InstanceTagName, location_name: "InstanceName"))
|
967
968
|
CommandInvocation.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "Comment"))
|
968
969
|
CommandInvocation.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
|
970
|
+
CommandInvocation.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
969
971
|
CommandInvocation.add_member(:requested_date_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "RequestedDateTime"))
|
970
972
|
CommandInvocation.add_member(:status, Shapes::ShapeRef.new(shape: CommandInvocationStatus, location_name: "Status"))
|
971
973
|
CommandInvocation.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "StatusDetails"))
|
@@ -1567,6 +1569,7 @@ module Aws::SSM
|
|
1567
1569
|
GetCommandInvocationResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
1568
1570
|
GetCommandInvocationResult.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "Comment"))
|
1569
1571
|
GetCommandInvocationResult.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
|
1572
|
+
GetCommandInvocationResult.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
1570
1573
|
GetCommandInvocationResult.add_member(:plugin_name, Shapes::ShapeRef.new(shape: CommandPluginName, location_name: "PluginName"))
|
1571
1574
|
GetCommandInvocationResult.add_member(:response_code, Shapes::ShapeRef.new(shape: ResponseCode, location_name: "ResponseCode"))
|
1572
1575
|
GetCommandInvocationResult.add_member(:execution_start_date_time, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "ExecutionStartDateTime"))
|
@@ -2531,6 +2534,7 @@ module Aws::SSM
|
|
2531
2534
|
SendCommandRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdList, location_name: "InstanceIds"))
|
2532
2535
|
SendCommandRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
2533
2536
|
SendCommandRequest.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "DocumentName"))
|
2537
|
+
SendCommandRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
2534
2538
|
SendCommandRequest.add_member(:document_hash, Shapes::ShapeRef.new(shape: DocumentHash, location_name: "DocumentHash"))
|
2535
2539
|
SendCommandRequest.add_member(:document_hash_type, Shapes::ShapeRef.new(shape: DocumentHashType, location_name: "DocumentHashType"))
|
2536
2540
|
SendCommandRequest.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: TimeoutSeconds, location_name: "TimeoutSeconds", metadata: {"box"=>true}))
|
@@ -3845,6 +3849,7 @@ module Aws::SSM
|
|
3845
3849
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3846
3850
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceId)
|
3847
3851
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDocument)
|
3852
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDocumentVersion)
|
3848
3853
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOutputFolder)
|
3849
3854
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameters)
|
3850
3855
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedPlatformType)
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -84,16 +84,34 @@ module Aws::SSM
|
|
84
84
|
#
|
85
85
|
# @!attribute [rw] resource_type
|
86
86
|
# Specifies the type of resource you are tagging.
|
87
|
+
#
|
88
|
+
# <note markdown="1"> The ManagedInstance type for this API action is for on-premises
|
89
|
+
# managed instances. You must specify the the name of the managed
|
90
|
+
# instance in the following format: mi-ID\_number. For example,
|
91
|
+
# mi-1a2b3c4d5e6f.
|
92
|
+
#
|
93
|
+
# </note>
|
87
94
|
# @return [String]
|
88
95
|
#
|
89
96
|
# @!attribute [rw] resource_id
|
90
97
|
# The resource ID you want to tag.
|
91
98
|
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
99
|
+
# Use the ID of the resource. Here are some examples:
|
100
|
+
#
|
101
|
+
# ManagedInstance: mi-012345abcde
|
102
|
+
#
|
103
|
+
# MaintenanceWindow: mw-012345abcde
|
104
|
+
#
|
105
|
+
# PatchBaseline: pb-012345abcde
|
95
106
|
#
|
96
107
|
# For the Document and Parameter values, use the name of the resource.
|
108
|
+
#
|
109
|
+
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
110
|
+
# managed instances. You must specify the the name of the managed
|
111
|
+
# instance in the following format: mi-ID\_number. For example,
|
112
|
+
# mi-1a2b3c4d5e6f.
|
113
|
+
#
|
114
|
+
# </note>
|
97
115
|
# @return [String]
|
98
116
|
#
|
99
117
|
# @!attribute [rw] tags
|
@@ -737,6 +755,10 @@ module Aws::SSM
|
|
737
755
|
# The name of the document requested for execution.
|
738
756
|
# @return [String]
|
739
757
|
#
|
758
|
+
# @!attribute [rw] document_version
|
759
|
+
# The SSM document version.
|
760
|
+
# @return [String]
|
761
|
+
#
|
740
762
|
# @!attribute [rw] comment
|
741
763
|
# User-specified information about the command, such as a brief
|
742
764
|
# description of what the command should do.
|
@@ -888,6 +910,7 @@ module Aws::SSM
|
|
888
910
|
class Command < Struct.new(
|
889
911
|
:command_id,
|
890
912
|
:document_name,
|
913
|
+
:document_version,
|
891
914
|
:comment,
|
892
915
|
:expires_after,
|
893
916
|
:parameters,
|
@@ -965,6 +988,10 @@ module Aws::SSM
|
|
965
988
|
# The document name that was requested for execution.
|
966
989
|
# @return [String]
|
967
990
|
#
|
991
|
+
# @!attribute [rw] document_version
|
992
|
+
# The SSM document version.
|
993
|
+
# @return [String]
|
994
|
+
#
|
968
995
|
# @!attribute [rw] requested_date_time
|
969
996
|
# The time and date the request was sent to this instance.
|
970
997
|
# @return [Time]
|
@@ -1068,6 +1095,7 @@ module Aws::SSM
|
|
1068
1095
|
:instance_name,
|
1069
1096
|
:comment,
|
1070
1097
|
:document_name,
|
1098
|
+
:document_version,
|
1071
1099
|
:requested_date_time,
|
1072
1100
|
:status,
|
1073
1101
|
:status_details,
|
@@ -1293,15 +1321,15 @@ module Aws::SSM
|
|
1293
1321
|
#
|
1294
1322
|
# @!attribute [rw] id
|
1295
1323
|
# An ID for the compliance item. For example, if the compliance item
|
1296
|
-
# is a Windows patch, the ID could be the number of the KB article
|
1297
|
-
#
|
1324
|
+
# is a Windows patch, the ID could be the number of the KB article;
|
1325
|
+
# for example: KB4010320.
|
1298
1326
|
# @return [String]
|
1299
1327
|
#
|
1300
1328
|
# @!attribute [rw] title
|
1301
1329
|
# A title for the compliance item. For example, if the compliance item
|
1302
1330
|
# is a Windows patch, the title could be the title of the KB article
|
1303
|
-
# for the patch
|
1304
|
-
#
|
1331
|
+
# for the patch; for example: Security Update for Active Directory
|
1332
|
+
# Federation Services.
|
1305
1333
|
# @return [String]
|
1306
1334
|
#
|
1307
1335
|
# @!attribute [rw] status
|
@@ -1362,8 +1390,8 @@ module Aws::SSM
|
|
1362
1390
|
# @!attribute [rw] title
|
1363
1391
|
# The title of the compliance item. For example, if the compliance
|
1364
1392
|
# item is a Windows patch, the title could be the title of the KB
|
1365
|
-
# article for the patch
|
1366
|
-
#
|
1393
|
+
# article for the patch; for example: Security Update for Active
|
1394
|
+
# Directory Federation Services.
|
1367
1395
|
# @return [String]
|
1368
1396
|
#
|
1369
1397
|
# @!attribute [rw] severity
|
@@ -1480,7 +1508,7 @@ module Aws::SSM
|
|
1480
1508
|
# }
|
1481
1509
|
#
|
1482
1510
|
# @!attribute [rw] description
|
1483
|
-
# A
|
1511
|
+
# A user-defined description of the resource that you want to register
|
1484
1512
|
# with Amazon EC2.
|
1485
1513
|
#
|
1486
1514
|
# Do not enter personally identifiable information in this field.
|
@@ -1980,14 +2008,20 @@ module Aws::SSM
|
|
1980
2008
|
#
|
1981
2009
|
# @!attribute [rw] approved_patches
|
1982
2010
|
# A list of explicitly approved patches for the baseline.
|
2011
|
+
#
|
2012
|
+
# For information about accepted formats for lists of approved patches
|
2013
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
2014
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
2015
|
+
#
|
2016
|
+
#
|
2017
|
+
#
|
2018
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1983
2019
|
# @return [Array<String>]
|
1984
2020
|
#
|
1985
2021
|
# @!attribute [rw] approved_patches_compliance_level
|
1986
2022
|
# Defines the compliance level for approved patches. This means that
|
1987
2023
|
# if an approved patch is reported as missing, this is the severity of
|
1988
|
-
# the compliance violation.
|
1989
|
-
# the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL,
|
1990
|
-
# UNSPECIFIED. The default value is UNSPECIFIED.
|
2024
|
+
# the compliance violation. The default value is UNSPECIFIED.
|
1991
2025
|
# @return [String]
|
1992
2026
|
#
|
1993
2027
|
# @!attribute [rw] approved_patches_enable_non_security
|
@@ -1998,6 +2032,14 @@ module Aws::SSM
|
|
1998
2032
|
#
|
1999
2033
|
# @!attribute [rw] rejected_patches
|
2000
2034
|
# A list of explicitly rejected patches for the baseline.
|
2035
|
+
#
|
2036
|
+
# For information about accepted formats for lists of approved patches
|
2037
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
2038
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
2039
|
+
#
|
2040
|
+
#
|
2041
|
+
#
|
2042
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
2001
2043
|
# @return [Array<String>]
|
2002
2044
|
#
|
2003
2045
|
# @!attribute [rw] description
|
@@ -4509,6 +4551,10 @@ module Aws::SSM
|
|
4509
4551
|
# AWS-RunShellScript.
|
4510
4552
|
# @return [String]
|
4511
4553
|
#
|
4554
|
+
# @!attribute [rw] document_version
|
4555
|
+
# The SSM document version used in the request.
|
4556
|
+
# @return [String]
|
4557
|
+
#
|
4512
4558
|
# @!attribute [rw] plugin_name
|
4513
4559
|
# The name of the plugin for which you want detailed results. For
|
4514
4560
|
# example, aws:RunShellScript is a plugin.
|
@@ -4640,6 +4686,7 @@ module Aws::SSM
|
|
4640
4686
|
:instance_id,
|
4641
4687
|
:comment,
|
4642
4688
|
:document_name,
|
4689
|
+
:document_version,
|
4643
4690
|
:plugin_name,
|
4644
4691
|
:response_code,
|
4645
4692
|
:execution_start_date_time,
|
@@ -6146,7 +6193,7 @@ module Aws::SSM
|
|
6146
6193
|
# @return [String]
|
6147
6194
|
#
|
6148
6195
|
# @!attribute [rw] owner_information
|
6149
|
-
# Placeholder information
|
6196
|
+
# Placeholder information. This field will always be empty in the
|
6150
6197
|
# current release of the service.
|
6151
6198
|
# @return [String]
|
6152
6199
|
#
|
@@ -8785,9 +8832,9 @@ module Aws::SSM
|
|
8785
8832
|
#
|
8786
8833
|
# * `Low`
|
8787
8834
|
#
|
8788
|
-
# **SUSE Linux Enterprise Server (
|
8835
|
+
# **SUSE Linux Enterprise Server (SLES) Operating Systems**
|
8789
8836
|
#
|
8790
|
-
# The supported keys for
|
8837
|
+
# The supported keys for SLES operating systems are `PRODUCT`,
|
8791
8838
|
# `CLASSIFICATION`, and `SEVERITY`. See the following lists for valid
|
8792
8839
|
# values for each of these keys.
|
8793
8840
|
#
|
@@ -8843,6 +8890,62 @@ module Aws::SSM
|
|
8843
8890
|
#
|
8844
8891
|
# * `Low`
|
8845
8892
|
#
|
8893
|
+
# **CentOS Operating Systems**
|
8894
|
+
#
|
8895
|
+
# The supported keys for CentOS operating systems are `PRODUCT`,
|
8896
|
+
# `CLASSIFICATION`, and `SEVERITY`. See the following lists for valid
|
8897
|
+
# values for each of these keys.
|
8898
|
+
#
|
8899
|
+
# *Supported key:* `PRODUCT`
|
8900
|
+
#
|
8901
|
+
# *Supported values:*
|
8902
|
+
#
|
8903
|
+
# * `CentOS6.5`
|
8904
|
+
#
|
8905
|
+
# * `CentOS6.6`
|
8906
|
+
#
|
8907
|
+
# * `CentOS6.7`
|
8908
|
+
#
|
8909
|
+
# * `CentOS6.8`
|
8910
|
+
#
|
8911
|
+
# * `CentOS6.9`
|
8912
|
+
#
|
8913
|
+
# * `CentOS7.0`
|
8914
|
+
#
|
8915
|
+
# * `CentOS7.1`
|
8916
|
+
#
|
8917
|
+
# * `CentOS7.2`
|
8918
|
+
#
|
8919
|
+
# * `CentOS7.3`
|
8920
|
+
#
|
8921
|
+
# * `CentOS7.4`
|
8922
|
+
#
|
8923
|
+
# *Supported key:* `CLASSIFICATION`
|
8924
|
+
#
|
8925
|
+
# *Supported values:*
|
8926
|
+
#
|
8927
|
+
# * `Security`
|
8928
|
+
#
|
8929
|
+
# * `Bugfix`
|
8930
|
+
#
|
8931
|
+
# * `Enhancement`
|
8932
|
+
#
|
8933
|
+
# * `Recommended`
|
8934
|
+
#
|
8935
|
+
# * `Newpackage`
|
8936
|
+
#
|
8937
|
+
# *Supported key:* `SEVERITY`
|
8938
|
+
#
|
8939
|
+
# *Supported values:*
|
8940
|
+
#
|
8941
|
+
# * `Critical`
|
8942
|
+
#
|
8943
|
+
# * `Important`
|
8944
|
+
#
|
8945
|
+
# * `Medium`
|
8946
|
+
#
|
8947
|
+
# * `Low`
|
8948
|
+
#
|
8846
8949
|
# @note When making an API call, you may pass PatchFilter
|
8847
8950
|
# data as a hash:
|
8848
8951
|
#
|
@@ -9421,10 +9524,17 @@ module Aws::SSM
|
|
9421
9524
|
# @return [String]
|
9422
9525
|
#
|
9423
9526
|
# @!attribute [rw] targets
|
9424
|
-
# The targets (either instances or tags).
|
9425
|
-
#
|
9426
|
-
#
|
9427
|
-
#
|
9527
|
+
# The targets (either instances or tags).
|
9528
|
+
#
|
9529
|
+
# Specify instances using the following format:
|
9530
|
+
#
|
9531
|
+
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
|
9532
|
+
#
|
9533
|
+
# Specify tags using either of the following formats:
|
9534
|
+
#
|
9535
|
+
# `Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>`
|
9536
|
+
#
|
9537
|
+
# `Key=tag-key,Values=<tag-key-1>,<tag-key-2>`
|
9428
9538
|
# @return [Array<Types::Target>]
|
9429
9539
|
#
|
9430
9540
|
# @!attribute [rw] owner_information
|
@@ -9539,14 +9649,19 @@ module Aws::SSM
|
|
9539
9649
|
# }
|
9540
9650
|
#
|
9541
9651
|
# @!attribute [rw] window_id
|
9542
|
-
# The
|
9652
|
+
# The ID of the Maintenance Window the task should be added to.
|
9543
9653
|
# @return [String]
|
9544
9654
|
#
|
9545
9655
|
# @!attribute [rw] targets
|
9546
|
-
# The targets (either instances or
|
9547
|
-
#
|
9548
|
-
#
|
9549
|
-
#
|
9656
|
+
# The targets (either instances or Maintenance Window targets).
|
9657
|
+
#
|
9658
|
+
# Specify instances using the following format:
|
9659
|
+
#
|
9660
|
+
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
|
9661
|
+
#
|
9662
|
+
# Specify Maintenance Window targets using the following format:
|
9663
|
+
#
|
9664
|
+
# `Key=<WindowTargetIds>,Values=<window-target-id-1>,<window-target-id-2>`
|
9550
9665
|
# @return [Array<Types::Target>]
|
9551
9666
|
#
|
9552
9667
|
# @!attribute [rw] task_arn
|
@@ -9667,10 +9782,33 @@ module Aws::SSM
|
|
9667
9782
|
#
|
9668
9783
|
# @!attribute [rw] resource_type
|
9669
9784
|
# The type of resource of which you want to remove a tag.
|
9785
|
+
#
|
9786
|
+
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
9787
|
+
# managed instances. You must specify the the name of the managed
|
9788
|
+
# instance in the following format: mi-ID\_number. For example,
|
9789
|
+
# mi-1a2b3c4d5e6f.
|
9790
|
+
#
|
9791
|
+
# </note>
|
9670
9792
|
# @return [String]
|
9671
9793
|
#
|
9672
9794
|
# @!attribute [rw] resource_id
|
9673
|
-
# The resource ID for which you want to remove tags.
|
9795
|
+
# The resource ID for which you want to remove tags. Use the ID of the
|
9796
|
+
# resource. Here are some examples:
|
9797
|
+
#
|
9798
|
+
# ManagedInstance: mi-012345abcde
|
9799
|
+
#
|
9800
|
+
# MaintenanceWindow: mw-012345abcde
|
9801
|
+
#
|
9802
|
+
# PatchBaseline: pb-012345abcde
|
9803
|
+
#
|
9804
|
+
# For the Document and Parameter values, use the name of the resource.
|
9805
|
+
#
|
9806
|
+
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
9807
|
+
# managed instances. You must specify the the name of the managed
|
9808
|
+
# instance in the following format: mi-ID\_number. For example,
|
9809
|
+
# mi-1a2b3c4d5e6f.
|
9810
|
+
#
|
9811
|
+
# </note>
|
9674
9812
|
# @return [String]
|
9675
9813
|
#
|
9676
9814
|
# @!attribute [rw] tag_keys
|
@@ -9976,6 +10114,7 @@ module Aws::SSM
|
|
9976
10114
|
# },
|
9977
10115
|
# ],
|
9978
10116
|
# document_name: "DocumentARN", # required
|
10117
|
+
# document_version: "DocumentVersion",
|
9979
10118
|
# document_hash: "DocumentHash",
|
9980
10119
|
# document_hash_type: "Sha256", # accepts Sha256, Sha1
|
9981
10120
|
# timeout_seconds: 1,
|
@@ -10025,6 +10164,11 @@ module Aws::SSM
|
|
10025
10164
|
# can be a public document or a custom document.
|
10026
10165
|
# @return [String]
|
10027
10166
|
#
|
10167
|
+
# @!attribute [rw] document_version
|
10168
|
+
# The SSM document version to use in the request. You can specify
|
10169
|
+
# Default, Latest, or a specific version number.
|
10170
|
+
# @return [String]
|
10171
|
+
#
|
10028
10172
|
# @!attribute [rw] document_hash
|
10029
10173
|
# The Sha256 or Sha1 hash created by the system when the document was
|
10030
10174
|
# created.
|
@@ -10112,6 +10256,7 @@ module Aws::SSM
|
|
10112
10256
|
:instance_ids,
|
10113
10257
|
:targets,
|
10114
10258
|
:document_name,
|
10259
|
+
:document_version,
|
10115
10260
|
:document_hash,
|
10116
10261
|
:document_hash_type,
|
10117
10262
|
:timeout_seconds,
|
@@ -11341,6 +11486,14 @@ module Aws::SSM
|
|
11341
11486
|
#
|
11342
11487
|
# @!attribute [rw] approved_patches
|
11343
11488
|
# A list of explicitly approved patches for the baseline.
|
11489
|
+
#
|
11490
|
+
# For information about accepted formats for lists of approved patches
|
11491
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
11492
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
11493
|
+
#
|
11494
|
+
#
|
11495
|
+
#
|
11496
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
11344
11497
|
# @return [Array<String>]
|
11345
11498
|
#
|
11346
11499
|
# @!attribute [rw] approved_patches_compliance_level
|
@@ -11356,6 +11509,14 @@ module Aws::SSM
|
|
11356
11509
|
#
|
11357
11510
|
# @!attribute [rw] rejected_patches
|
11358
11511
|
# A list of explicitly rejected patches for the baseline.
|
11512
|
+
#
|
11513
|
+
# For information about accepted formats for lists of approved patches
|
11514
|
+
# and rejected patches, see [Package Name Formats for Approved and
|
11515
|
+
# Rejected Patch Lists][1] in the *AWS Systems Manager User Guide*.
|
11516
|
+
#
|
11517
|
+
#
|
11518
|
+
#
|
11519
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
11359
11520
|
# @return [Array<String>]
|
11360
11521
|
#
|
11361
11522
|
# @!attribute [rw] description
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.2.
|
78
|
+
rubygems_version: 2.5.2.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - Amazon SSM
|