aws-sdk-ssm 1.163.0 → 1.164.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +59 -8
- data/lib/aws-sdk-ssm/client_api.rb +7 -0
- data/lib/aws-sdk-ssm/types.rb +108 -19
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/types.rbs +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa045babfdc00e595896bf83d5256faa5618204fe3d333692aac80ce6ccd9240
|
4
|
+
data.tar.gz: f185e8470c2d91643ffbba920cc92a0c0bd91d414072777e0cb0e144ab646560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7750981ba94f304a68badb8c9c84a972011eb02d4e08fc65d1cc0c7f3c6db64b041172684cec904123fc6b5372692239b0df3e7eb0ddf07cc7c024f1688ea2
|
7
|
+
data.tar.gz: 8742b96a17d80c176369b17f147070e2577c96593b1fec92f4dda9eaa3fb8484cb1856c703895d4a6e04739c6df8e1f87bae6601e322bf4063f7b5cf3f783545
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.164.0 (2024-01-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds an optional Duration parameter to StateManager Associations. This allows customers to specify how long an apply-only-on-cron association execution should run. Once the specified Duration is out all the ongoing cancellable commands or automations are cancelled.
|
8
|
+
|
4
9
|
1.163.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.164.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -937,6 +937,24 @@ module Aws::SSM
|
|
937
937
|
#
|
938
938
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
939
939
|
#
|
940
|
+
# @option params [Integer] :duration
|
941
|
+
# The number of hours the association can run before it is canceled.
|
942
|
+
# Duration applies to associations that are currently running, and any
|
943
|
+
# pending and in progress commands on all targets. If a target was taken
|
944
|
+
# offline for the association to run, it is made available again
|
945
|
+
# immediately, without a reboot.
|
946
|
+
#
|
947
|
+
# The `Duration` parameter applies only when both these conditions are
|
948
|
+
# true:
|
949
|
+
#
|
950
|
+
# * The association for which you specify a duration is cancelable
|
951
|
+
# according to the parameters of the SSM command document or
|
952
|
+
# Automation runbook associated with this execution.
|
953
|
+
#
|
954
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
955
|
+
# which means that the association doesn't run immediately after it
|
956
|
+
# is created, but only according to the specified schedule.
|
957
|
+
#
|
940
958
|
# @option params [Array<Hash>] :target_maps
|
941
959
|
# A key-value mapping of document parameters to target resources. Both
|
942
960
|
# Targets and TargetMaps can't be specified together.
|
@@ -1005,6 +1023,7 @@ module Aws::SSM
|
|
1005
1023
|
# },
|
1006
1024
|
# ],
|
1007
1025
|
# schedule_offset: 1,
|
1026
|
+
# duration: 1,
|
1008
1027
|
# target_maps: [
|
1009
1028
|
# {
|
1010
1029
|
# "TargetMapKey" => ["TargetMapValue"],
|
@@ -1077,6 +1096,7 @@ module Aws::SSM
|
|
1077
1096
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
1078
1097
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
1079
1098
|
# resp.association_description.schedule_offset #=> Integer
|
1099
|
+
# resp.association_description.duration #=> Integer
|
1080
1100
|
# resp.association_description.target_maps #=> Array
|
1081
1101
|
# resp.association_description.target_maps[0] #=> Hash
|
1082
1102
|
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
@@ -1168,6 +1188,7 @@ module Aws::SSM
|
|
1168
1188
|
# },
|
1169
1189
|
# ],
|
1170
1190
|
# schedule_offset: 1,
|
1191
|
+
# duration: 1,
|
1171
1192
|
# target_maps: [
|
1172
1193
|
# {
|
1173
1194
|
# "TargetMapKey" => ["TargetMapValue"],
|
@@ -1237,6 +1258,7 @@ module Aws::SSM
|
|
1237
1258
|
# resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
1238
1259
|
# resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
1239
1260
|
# resp.successful[0].schedule_offset #=> Integer
|
1261
|
+
# resp.successful[0].duration #=> Integer
|
1240
1262
|
# resp.successful[0].target_maps #=> Array
|
1241
1263
|
# resp.successful[0].target_maps[0] #=> Hash
|
1242
1264
|
# resp.successful[0].target_maps[0]["TargetMapKey"] #=> Array
|
@@ -1283,6 +1305,7 @@ module Aws::SSM
|
|
1283
1305
|
# resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
1284
1306
|
# resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
1285
1307
|
# resp.failed[0].entry.schedule_offset #=> Integer
|
1308
|
+
# resp.failed[0].entry.duration #=> Integer
|
1286
1309
|
# resp.failed[0].entry.target_maps #=> Array
|
1287
1310
|
# resp.failed[0].entry.target_maps[0] #=> Hash
|
1288
1311
|
# resp.failed[0].entry.target_maps[0]["TargetMapKey"] #=> Array
|
@@ -2905,6 +2928,7 @@ module Aws::SSM
|
|
2905
2928
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
2906
2929
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
2907
2930
|
# resp.association_description.schedule_offset #=> Integer
|
2931
|
+
# resp.association_description.duration #=> Integer
|
2908
2932
|
# resp.association_description.target_maps #=> Array
|
2909
2933
|
# resp.association_description.target_maps[0] #=> Hash
|
2910
2934
|
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
@@ -3309,6 +3333,11 @@ module Aws::SSM
|
|
3309
3333
|
|
3310
3334
|
# Lists all patches eligible to be included in a patch baseline.
|
3311
3335
|
#
|
3336
|
+
# <note markdown="1"> Currently, `DescribeAvailablePatches` supports only the Amazon Linux
|
3337
|
+
# 1, Amazon Linux 2, and Windows Server operating systems.
|
3338
|
+
#
|
3339
|
+
# </note>
|
3340
|
+
#
|
3312
3341
|
# @option params [Array<Types::PatchOrchestratorFilter>] :filters
|
3313
3342
|
# Each element in the array is a structure containing a key-value pair.
|
3314
3343
|
#
|
@@ -3482,8 +3511,8 @@ module Aws::SSM
|
|
3482
3511
|
#
|
3483
3512
|
# @option params [String] :version_name
|
3484
3513
|
# An optional field specifying the version of the artifact associated
|
3485
|
-
# with the document. For example,
|
3486
|
-
#
|
3514
|
+
# with the document. For example, 12.6. This value is unique across all
|
3515
|
+
# versions of a document, and can't be changed.
|
3487
3516
|
#
|
3488
3517
|
# @return [Types::DescribeDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3489
3518
|
#
|
@@ -5851,8 +5880,8 @@ module Aws::SSM
|
|
5851
5880
|
#
|
5852
5881
|
# @option params [String] :version_name
|
5853
5882
|
# An optional field specifying the version of the artifact associated
|
5854
|
-
# with the document. For example,
|
5855
|
-
#
|
5883
|
+
# with the document. For example, 12.6. This value is unique across all
|
5884
|
+
# versions of a document and can't be changed.
|
5856
5885
|
#
|
5857
5886
|
# @option params [String] :document_version
|
5858
5887
|
# The document version for which you want information.
|
@@ -7273,6 +7302,7 @@ module Aws::SSM
|
|
7273
7302
|
# resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
7274
7303
|
# resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
7275
7304
|
# resp.association_versions[0].schedule_offset #=> Integer
|
7305
|
+
# resp.association_versions[0].duration #=> Integer
|
7276
7306
|
# resp.association_versions[0].target_maps #=> Array
|
7277
7307
|
# resp.association_versions[0].target_maps[0] #=> Hash
|
7278
7308
|
# resp.association_versions[0].target_maps[0]["TargetMapKey"] #=> Array
|
@@ -7354,6 +7384,7 @@ module Aws::SSM
|
|
7354
7384
|
# resp.associations[0].schedule_expression #=> String
|
7355
7385
|
# resp.associations[0].association_name #=> String
|
7356
7386
|
# resp.associations[0].schedule_offset #=> Integer
|
7387
|
+
# resp.associations[0].duration #=> Integer
|
7357
7388
|
# resp.associations[0].target_maps #=> Array
|
7358
7389
|
# resp.associations[0].target_maps[0] #=> Hash
|
7359
7390
|
# resp.associations[0].target_maps[0]["TargetMapKey"] #=> Array
|
@@ -10597,6 +10628,24 @@ module Aws::SSM
|
|
10597
10628
|
#
|
10598
10629
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
10599
10630
|
#
|
10631
|
+
# @option params [Integer] :duration
|
10632
|
+
# The number of hours the association can run before it is canceled.
|
10633
|
+
# Duration applies to associations that are currently running, and any
|
10634
|
+
# pending and in progress commands on all targets. If a target was taken
|
10635
|
+
# offline for the association to run, it is made available again
|
10636
|
+
# immediately, without a reboot.
|
10637
|
+
#
|
10638
|
+
# The `Duration` parameter applies only when both these conditions are
|
10639
|
+
# true:
|
10640
|
+
#
|
10641
|
+
# * The association for which you specify a duration is cancelable
|
10642
|
+
# according to the parameters of the SSM command document or
|
10643
|
+
# Automation runbook associated with this execution.
|
10644
|
+
#
|
10645
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
10646
|
+
# which means that the association doesn't run immediately after it
|
10647
|
+
# is updated, but only according to the specified schedule.
|
10648
|
+
#
|
10600
10649
|
# @option params [Array<Hash>] :target_maps
|
10601
10650
|
# A key-value mapping of document parameters to target resources. Both
|
10602
10651
|
# Targets and TargetMaps can't be specified together.
|
@@ -10659,6 +10708,7 @@ module Aws::SSM
|
|
10659
10708
|
# },
|
10660
10709
|
# ],
|
10661
10710
|
# schedule_offset: 1,
|
10711
|
+
# duration: 1,
|
10662
10712
|
# target_maps: [
|
10663
10713
|
# {
|
10664
10714
|
# "TargetMapKey" => ["TargetMapValue"],
|
@@ -10725,6 +10775,7 @@ module Aws::SSM
|
|
10725
10775
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
10726
10776
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
10727
10777
|
# resp.association_description.schedule_offset #=> Integer
|
10778
|
+
# resp.association_description.duration #=> Integer
|
10728
10779
|
# resp.association_description.target_maps #=> Array
|
10729
10780
|
# resp.association_description.target_maps[0] #=> Hash
|
10730
10781
|
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
@@ -10830,6 +10881,7 @@ module Aws::SSM
|
|
10830
10881
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
|
10831
10882
|
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
|
10832
10883
|
# resp.association_description.schedule_offset #=> Integer
|
10884
|
+
# resp.association_description.duration #=> Integer
|
10833
10885
|
# resp.association_description.target_maps #=> Array
|
10834
10886
|
# resp.association_description.target_maps[0] #=> Hash
|
10835
10887
|
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
@@ -10870,9 +10922,8 @@ module Aws::SSM
|
|
10870
10922
|
#
|
10871
10923
|
# @option params [String] :version_name
|
10872
10924
|
# An optional field specifying the version of the artifact you are
|
10873
|
-
# updating with the document. For example,
|
10874
|
-
#
|
10875
|
-
# changed.
|
10925
|
+
# updating with the document. For example, 12.6. This value is unique
|
10926
|
+
# across all versions of a document, and can't be changed.
|
10876
10927
|
#
|
10877
10928
|
# @option params [String] :document_version
|
10878
10929
|
# The version of the document that you want to update. Currently,
|
@@ -12257,7 +12308,7 @@ module Aws::SSM
|
|
12257
12308
|
params: params,
|
12258
12309
|
config: config)
|
12259
12310
|
context[:gem_name] = 'aws-sdk-ssm'
|
12260
|
-
context[:gem_version] = '1.
|
12311
|
+
context[:gem_version] = '1.164.0'
|
12261
12312
|
Seahorse::Client::Request.new(handlers, context)
|
12262
12313
|
end
|
12263
12314
|
|
@@ -385,6 +385,7 @@ module Aws::SSM
|
|
385
385
|
DuplicateDocumentContent = Shapes::StructureShape.new(name: 'DuplicateDocumentContent')
|
386
386
|
DuplicateDocumentVersionName = Shapes::StructureShape.new(name: 'DuplicateDocumentVersionName')
|
387
387
|
DuplicateInstanceId = Shapes::StructureShape.new(name: 'DuplicateInstanceId')
|
388
|
+
Duration = Shapes::IntegerShape.new(name: 'Duration')
|
388
389
|
EffectiveInstanceAssociationMaxResults = Shapes::IntegerShape.new(name: 'EffectiveInstanceAssociationMaxResults')
|
389
390
|
EffectivePatch = Shapes::StructureShape.new(name: 'EffectivePatch')
|
390
391
|
EffectivePatchList = Shapes::ListShape.new(name: 'EffectivePatchList')
|
@@ -1276,6 +1277,7 @@ module Aws::SSM
|
|
1276
1277
|
Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1277
1278
|
Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1278
1279
|
Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1280
|
+
Association.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
|
1279
1281
|
Association.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1280
1282
|
Association.struct_class = Types::Association
|
1281
1283
|
|
@@ -1306,6 +1308,7 @@ module Aws::SSM
|
|
1306
1308
|
AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1307
1309
|
AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1308
1310
|
AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1311
|
+
AssociationDescription.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
|
1309
1312
|
AssociationDescription.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1310
1313
|
AssociationDescription.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
|
1311
1314
|
AssociationDescription.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
|
@@ -1403,6 +1406,7 @@ module Aws::SSM
|
|
1403
1406
|
AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1404
1407
|
AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1405
1408
|
AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1409
|
+
AssociationVersionInfo.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
|
1406
1410
|
AssociationVersionInfo.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1407
1411
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1408
1412
|
|
@@ -1732,6 +1736,7 @@ module Aws::SSM
|
|
1732
1736
|
CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1733
1737
|
CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1734
1738
|
CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1739
|
+
CreateAssociationBatchRequestEntry.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
|
1735
1740
|
CreateAssociationBatchRequestEntry.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1736
1741
|
CreateAssociationBatchRequestEntry.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
|
1737
1742
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
@@ -1757,6 +1762,7 @@ module Aws::SSM
|
|
1757
1762
|
CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1758
1763
|
CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1759
1764
|
CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1765
|
+
CreateAssociationRequest.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
|
1760
1766
|
CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1761
1767
|
CreateAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags", metadata: {"box"=>true}))
|
1762
1768
|
CreateAssociationRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
|
@@ -4519,6 +4525,7 @@ module Aws::SSM
|
|
4519
4525
|
UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
4520
4526
|
UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
4521
4527
|
UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
4528
|
+
UpdateAssociationRequest.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
|
4522
4529
|
UpdateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
4523
4530
|
UpdateAssociationRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
|
4524
4531
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -352,6 +352,13 @@ module Aws::SSM
|
|
352
352
|
# association.
|
353
353
|
# @return [Integer]
|
354
354
|
#
|
355
|
+
# @!attribute [rw] duration
|
356
|
+
# The number of hours that an association can run on specified
|
357
|
+
# targets. After the resulting cutoff time passes, associations that
|
358
|
+
# are currently running are cancelled, and no pending executions are
|
359
|
+
# started on remaining targets.
|
360
|
+
# @return [Integer]
|
361
|
+
#
|
355
362
|
# @!attribute [rw] target_maps
|
356
363
|
# A key-value mapping of document parameters to target resources. Both
|
357
364
|
# Targets and TargetMaps can't be specified together.
|
@@ -371,6 +378,7 @@ module Aws::SSM
|
|
371
378
|
:schedule_expression,
|
372
379
|
:association_name,
|
373
380
|
:schedule_offset,
|
381
|
+
:duration,
|
374
382
|
:target_maps)
|
375
383
|
SENSITIVE = []
|
376
384
|
include Aws::Structure
|
@@ -538,6 +546,13 @@ module Aws::SSM
|
|
538
546
|
# association.
|
539
547
|
# @return [Integer]
|
540
548
|
#
|
549
|
+
# @!attribute [rw] duration
|
550
|
+
# The number of hours that an association can run on specified
|
551
|
+
# targets. After the resulting cutoff time passes, associations that
|
552
|
+
# are currently running are cancelled, and no pending executions are
|
553
|
+
# started on remaining targets.
|
554
|
+
# @return [Integer]
|
555
|
+
#
|
541
556
|
# @!attribute [rw] target_maps
|
542
557
|
# A key-value mapping of document parameters to target resources. Both
|
543
558
|
# Targets and TargetMaps can't be specified together.
|
@@ -580,6 +595,7 @@ module Aws::SSM
|
|
580
595
|
:calendar_names,
|
581
596
|
:target_locations,
|
582
597
|
:schedule_offset,
|
598
|
+
:duration,
|
583
599
|
:target_maps,
|
584
600
|
:alarm_configuration,
|
585
601
|
:triggered_alarms)
|
@@ -989,6 +1005,13 @@ module Aws::SSM
|
|
989
1005
|
# association.
|
990
1006
|
# @return [Integer]
|
991
1007
|
#
|
1008
|
+
# @!attribute [rw] duration
|
1009
|
+
# The number of hours that an association can run on specified
|
1010
|
+
# targets. After the resulting cutoff time passes, associations that
|
1011
|
+
# are currently running are cancelled, and no pending executions are
|
1012
|
+
# started on remaining targets.
|
1013
|
+
# @return [Integer]
|
1014
|
+
#
|
992
1015
|
# @!attribute [rw] target_maps
|
993
1016
|
# A key-value mapping of document parameters to target resources. Both
|
994
1017
|
# Targets and TargetMaps can't be specified together.
|
@@ -1015,6 +1038,7 @@ module Aws::SSM
|
|
1015
1038
|
:calendar_names,
|
1016
1039
|
:target_locations,
|
1017
1040
|
:schedule_offset,
|
1041
|
+
:duration,
|
1018
1042
|
:target_maps)
|
1019
1043
|
SENSITIVE = [:parameters]
|
1020
1044
|
include Aws::Structure
|
@@ -2940,6 +2964,25 @@ module Aws::SSM
|
|
2940
2964
|
# association.
|
2941
2965
|
# @return [Integer]
|
2942
2966
|
#
|
2967
|
+
# @!attribute [rw] duration
|
2968
|
+
# The number of hours the association can run before it is canceled.
|
2969
|
+
# Duration applies to associations that are currently running, and any
|
2970
|
+
# pending and in progress commands on all targets. If a target was
|
2971
|
+
# taken offline for the association to run, it is made available again
|
2972
|
+
# immediately, without a reboot.
|
2973
|
+
#
|
2974
|
+
# The `Duration` parameter applies only when both these conditions are
|
2975
|
+
# true:
|
2976
|
+
#
|
2977
|
+
# * The association for which you specify a duration is cancelable
|
2978
|
+
# according to the parameters of the SSM command document or
|
2979
|
+
# Automation runbook associated with this execution.
|
2980
|
+
#
|
2981
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
2982
|
+
# which means that the association doesn't run immediately after it
|
2983
|
+
# is created, but only according to the specified schedule.
|
2984
|
+
# @return [Integer]
|
2985
|
+
#
|
2943
2986
|
# @!attribute [rw] target_maps
|
2944
2987
|
# A key-value mapping of document parameters to target resources. Both
|
2945
2988
|
# Targets and TargetMaps can't be specified together.
|
@@ -2970,6 +3013,7 @@ module Aws::SSM
|
|
2970
3013
|
:calendar_names,
|
2971
3014
|
:target_locations,
|
2972
3015
|
:schedule_offset,
|
3016
|
+
:duration,
|
2973
3017
|
:target_maps,
|
2974
3018
|
:alarm_configuration)
|
2975
3019
|
SENSITIVE = [:parameters]
|
@@ -3182,6 +3226,25 @@ module Aws::SSM
|
|
3182
3226
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
3183
3227
|
# @return [Integer]
|
3184
3228
|
#
|
3229
|
+
# @!attribute [rw] duration
|
3230
|
+
# The number of hours the association can run before it is canceled.
|
3231
|
+
# Duration applies to associations that are currently running, and any
|
3232
|
+
# pending and in progress commands on all targets. If a target was
|
3233
|
+
# taken offline for the association to run, it is made available again
|
3234
|
+
# immediately, without a reboot.
|
3235
|
+
#
|
3236
|
+
# The `Duration` parameter applies only when both these conditions are
|
3237
|
+
# true:
|
3238
|
+
#
|
3239
|
+
# * The association for which you specify a duration is cancelable
|
3240
|
+
# according to the parameters of the SSM command document or
|
3241
|
+
# Automation runbook associated with this execution.
|
3242
|
+
#
|
3243
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
3244
|
+
# which means that the association doesn't run immediately after it
|
3245
|
+
# is created, but only according to the specified schedule.
|
3246
|
+
# @return [Integer]
|
3247
|
+
#
|
3185
3248
|
# @!attribute [rw] target_maps
|
3186
3249
|
# A key-value mapping of document parameters to target resources. Both
|
3187
3250
|
# Targets and TargetMaps can't be specified together.
|
@@ -3220,6 +3283,7 @@ module Aws::SSM
|
|
3220
3283
|
:calendar_names,
|
3221
3284
|
:target_locations,
|
3222
3285
|
:schedule_offset,
|
3286
|
+
:duration,
|
3223
3287
|
:target_maps,
|
3224
3288
|
:tags,
|
3225
3289
|
:alarm_configuration)
|
@@ -4937,8 +5001,8 @@ module Aws::SSM
|
|
4937
5001
|
#
|
4938
5002
|
# @!attribute [rw] version_name
|
4939
5003
|
# An optional field specifying the version of the artifact associated
|
4940
|
-
# with the document. For example,
|
4941
|
-
#
|
5004
|
+
# with the document. For example, 12.6. This value is unique across
|
5005
|
+
# all versions of a document, and can't be changed.
|
4942
5006
|
# @return [String]
|
4943
5007
|
#
|
4944
5008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentRequest AWS API Documentation
|
@@ -6572,8 +6636,8 @@ module Aws::SSM
|
|
6572
6636
|
#
|
6573
6637
|
# @!attribute [rw] version_name
|
6574
6638
|
# An optional field specifying the version of the artifact associated
|
6575
|
-
# with the document. For example,
|
6576
|
-
#
|
6639
|
+
# with the document. For example, 12.6. This value is unique across
|
6640
|
+
# all versions of a document, and can't be changed.
|
6577
6641
|
# @return [String]
|
6578
6642
|
#
|
6579
6643
|
# @!attribute [rw] platform_types
|
@@ -6839,8 +6903,8 @@ module Aws::SSM
|
|
6839
6903
|
#
|
6840
6904
|
# @!attribute [rw] version_name
|
6841
6905
|
# An optional field specifying the version of the artifact associated
|
6842
|
-
# with the document. For example,
|
6843
|
-
#
|
6906
|
+
# with the document. For example, 12.6. This value is unique across
|
6907
|
+
# all versions of a document, and can't be changed.
|
6844
6908
|
# @return [String]
|
6845
6909
|
#
|
6846
6910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentRequires AWS API Documentation
|
@@ -6959,8 +7023,8 @@ module Aws::SSM
|
|
6959
7023
|
#
|
6960
7024
|
# @!attribute [rw] version_name
|
6961
7025
|
# The version of the artifact associated with the document. For
|
6962
|
-
# example,
|
6963
|
-
#
|
7026
|
+
# example, 12.6. This value is unique across all versions of a
|
7027
|
+
# document, and can't be changed.
|
6964
7028
|
# @return [String]
|
6965
7029
|
#
|
6966
7030
|
# @!attribute [rw] created_date
|
@@ -7497,8 +7561,7 @@ module Aws::SSM
|
|
7497
7561
|
# @return [String]
|
7498
7562
|
#
|
7499
7563
|
# @!attribute [rw] status
|
7500
|
-
# The status of the connection to the managed node.
|
7501
|
-
# 'Connected' or 'Not Connected'.
|
7564
|
+
# The status of the connection to the managed node.
|
7502
7565
|
# @return [String]
|
7503
7566
|
#
|
7504
7567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatusResponse AWS API Documentation
|
@@ -7600,8 +7663,8 @@ module Aws::SSM
|
|
7600
7663
|
#
|
7601
7664
|
# @!attribute [rw] version_name
|
7602
7665
|
# An optional field specifying the version of the artifact associated
|
7603
|
-
# with the document. For example,
|
7604
|
-
#
|
7666
|
+
# with the document. For example, 12.6. This value is unique across
|
7667
|
+
# all versions of a document and can't be changed.
|
7605
7668
|
# @return [String]
|
7606
7669
|
#
|
7607
7670
|
# @!attribute [rw] document_version
|
@@ -7640,8 +7703,8 @@ module Aws::SSM
|
|
7640
7703
|
#
|
7641
7704
|
# @!attribute [rw] version_name
|
7642
7705
|
# The version of the artifact associated with the document. For
|
7643
|
-
# example,
|
7644
|
-
#
|
7706
|
+
# example, 12.6. This value is unique across all versions of a
|
7707
|
+
# document, and can't be changed.
|
7645
7708
|
# @return [String]
|
7646
7709
|
#
|
7647
7710
|
# @!attribute [rw] document_version
|
@@ -13664,7 +13727,8 @@ module Aws::SSM
|
|
13664
13727
|
# @return [String]
|
13665
13728
|
#
|
13666
13729
|
# @!attribute [rw] key_id
|
13667
|
-
# The
|
13730
|
+
# The alias of the Key Management Service (KMS) key used to encrypt
|
13731
|
+
# the parameter. Applies to `SecureString` parameters only
|
13668
13732
|
# @return [String]
|
13669
13733
|
#
|
13670
13734
|
# @!attribute [rw] last_modified_date
|
@@ -13831,7 +13895,8 @@ module Aws::SSM
|
|
13831
13895
|
# @return [String]
|
13832
13896
|
#
|
13833
13897
|
# @!attribute [rw] key_id
|
13834
|
-
# The
|
13898
|
+
# The alias of the Key Management Service (KMS) key used to encrypt
|
13899
|
+
# the parameter. Applies to `SecureString` parameters only.
|
13835
13900
|
# @return [String]
|
13836
13901
|
#
|
13837
13902
|
# @!attribute [rw] last_modified_date
|
@@ -14276,6 +14341,11 @@ module Aws::SSM
|
|
14276
14341
|
# @!attribute [rw] cve_ids
|
14277
14342
|
# The IDs of one or more Common Vulnerabilities and Exposure (CVE)
|
14278
14343
|
# issues that are resolved by the patch.
|
14344
|
+
#
|
14345
|
+
# <note markdown="1"> Currently, CVE ID values are reported only for patches with a status
|
14346
|
+
# of `Missing` or `Failed`.
|
14347
|
+
#
|
14348
|
+
# </note>
|
14279
14349
|
# @return [String]
|
14280
14350
|
#
|
14281
14351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData AWS API Documentation
|
@@ -18047,6 +18117,25 @@ module Aws::SSM
|
|
18047
18117
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
18048
18118
|
# @return [Integer]
|
18049
18119
|
#
|
18120
|
+
# @!attribute [rw] duration
|
18121
|
+
# The number of hours the association can run before it is canceled.
|
18122
|
+
# Duration applies to associations that are currently running, and any
|
18123
|
+
# pending and in progress commands on all targets. If a target was
|
18124
|
+
# taken offline for the association to run, it is made available again
|
18125
|
+
# immediately, without a reboot.
|
18126
|
+
#
|
18127
|
+
# The `Duration` parameter applies only when both these conditions are
|
18128
|
+
# true:
|
18129
|
+
#
|
18130
|
+
# * The association for which you specify a duration is cancelable
|
18131
|
+
# according to the parameters of the SSM command document or
|
18132
|
+
# Automation runbook associated with this execution.
|
18133
|
+
#
|
18134
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
18135
|
+
# which means that the association doesn't run immediately after it
|
18136
|
+
# is updated, but only according to the specified schedule.
|
18137
|
+
# @return [Integer]
|
18138
|
+
#
|
18050
18139
|
# @!attribute [rw] target_maps
|
18051
18140
|
# A key-value mapping of document parameters to target resources. Both
|
18052
18141
|
# Targets and TargetMaps can't be specified together.
|
@@ -18078,6 +18167,7 @@ module Aws::SSM
|
|
18078
18167
|
:calendar_names,
|
18079
18168
|
:target_locations,
|
18080
18169
|
:schedule_offset,
|
18170
|
+
:duration,
|
18081
18171
|
:target_maps,
|
18082
18172
|
:alarm_configuration)
|
18083
18173
|
SENSITIVE = [:parameters]
|
@@ -18212,9 +18302,8 @@ module Aws::SSM
|
|
18212
18302
|
#
|
18213
18303
|
# @!attribute [rw] version_name
|
18214
18304
|
# An optional field specifying the version of the artifact you are
|
18215
|
-
# updating with the document. For example,
|
18216
|
-
#
|
18217
|
-
# be changed.
|
18305
|
+
# updating with the document. For example, 12.6. This value is unique
|
18306
|
+
# across all versions of a document, and can't be changed.
|
18218
18307
|
# @return [String]
|
18219
18308
|
#
|
18220
18309
|
# @!attribute [rw] document_version
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -199,6 +199,7 @@ module Aws
|
|
199
199
|
},
|
200
200
|
],
|
201
201
|
?schedule_offset: ::Integer,
|
202
|
+
?duration: ::Integer,
|
202
203
|
?target_maps: Array[
|
203
204
|
Hash[::String, Array[::String]],
|
204
205
|
],
|
@@ -272,6 +273,7 @@ module Aws
|
|
272
273
|
},
|
273
274
|
]?,
|
274
275
|
schedule_offset: ::Integer?,
|
276
|
+
duration: ::Integer?,
|
275
277
|
target_maps: Array[
|
276
278
|
Hash[::String, Array[::String]],
|
277
279
|
]?,
|
@@ -2611,6 +2613,7 @@ module Aws
|
|
2611
2613
|
},
|
2612
2614
|
],
|
2613
2615
|
?schedule_offset: ::Integer,
|
2616
|
+
?duration: ::Integer,
|
2614
2617
|
?target_maps: Array[
|
2615
2618
|
Hash[::String, Array[::String]],
|
2616
2619
|
],
|
data/sig/types.rbs
CHANGED
@@ -88,6 +88,7 @@ module Aws::SSM
|
|
88
88
|
attr_accessor schedule_expression: ::String
|
89
89
|
attr_accessor association_name: ::String
|
90
90
|
attr_accessor schedule_offset: ::Integer
|
91
|
+
attr_accessor duration: ::Integer
|
91
92
|
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
92
93
|
SENSITIVE: []
|
93
94
|
end
|
@@ -121,6 +122,7 @@ module Aws::SSM
|
|
121
122
|
attr_accessor calendar_names: ::Array[::String]
|
122
123
|
attr_accessor target_locations: ::Array[Types::TargetLocation]
|
123
124
|
attr_accessor schedule_offset: ::Integer
|
125
|
+
attr_accessor duration: ::Integer
|
124
126
|
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
125
127
|
attr_accessor alarm_configuration: Types::AlarmConfiguration
|
126
128
|
attr_accessor triggered_alarms: ::Array[Types::AlarmStateInformation]
|
@@ -220,6 +222,7 @@ module Aws::SSM
|
|
220
222
|
attr_accessor calendar_names: ::Array[::String]
|
221
223
|
attr_accessor target_locations: ::Array[Types::TargetLocation]
|
222
224
|
attr_accessor schedule_offset: ::Integer
|
225
|
+
attr_accessor duration: ::Integer
|
223
226
|
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
224
227
|
SENSITIVE: [:parameters]
|
225
228
|
end
|
@@ -562,6 +565,7 @@ module Aws::SSM
|
|
562
565
|
attr_accessor calendar_names: ::Array[::String]
|
563
566
|
attr_accessor target_locations: ::Array[Types::TargetLocation]
|
564
567
|
attr_accessor schedule_offset: ::Integer
|
568
|
+
attr_accessor duration: ::Integer
|
565
569
|
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
566
570
|
attr_accessor alarm_configuration: Types::AlarmConfiguration
|
567
571
|
SENSITIVE: [:parameters]
|
@@ -591,6 +595,7 @@ module Aws::SSM
|
|
591
595
|
attr_accessor calendar_names: ::Array[::String]
|
592
596
|
attr_accessor target_locations: ::Array[Types::TargetLocation]
|
593
597
|
attr_accessor schedule_offset: ::Integer
|
598
|
+
attr_accessor duration: ::Integer
|
594
599
|
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
595
600
|
attr_accessor tags: ::Array[Types::Tag]
|
596
601
|
attr_accessor alarm_configuration: Types::AlarmConfiguration
|
@@ -3974,6 +3979,7 @@ module Aws::SSM
|
|
3974
3979
|
attr_accessor calendar_names: ::Array[::String]
|
3975
3980
|
attr_accessor target_locations: ::Array[Types::TargetLocation]
|
3976
3981
|
attr_accessor schedule_offset: ::Integer
|
3982
|
+
attr_accessor duration: ::Integer
|
3977
3983
|
attr_accessor target_maps: ::Array[::Hash[::String, ::Array[::String]]]
|
3978
3984
|
attr_accessor alarm_configuration: Types::AlarmConfiguration
|
3979
3985
|
SENSITIVE: [:parameters]
|
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.164.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: 2024-01-
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|