aws-sdk-ssm 1.134.0 → 1.135.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 +65 -10
- data/lib/aws-sdk-ssm/client_api.rb +7 -0
- data/lib/aws-sdk-ssm/types.rb +81 -7
- data/lib/aws-sdk-ssm.rb +1 -1
- 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: 1ab4b98c84dece7a26c3e636aa2b3073112acf0f2c3b2133fb62814df253c981
|
4
|
+
data.tar.gz: 1d9544de02ecbf2abbf489bcd034724b9f37aa69235e0115ad86786d891601d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f21e3def0423834016837427a5d8f4c11fa733eba4a8e24be6fc302bedeeab4f128bac33a6df1f708fba06d986e8dc9edcc6a87facdc9337958e80f016e628a0
|
7
|
+
data.tar.gz: f9801aed4169e101917dfb04a61257cf9b36aeb958302054dd9b44c1616f78b995f4e8122195895e89ceb0b6467326fdf02207ec0da8abab575f7b0f2df43a8b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.135.0 (2022-04-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added offset support for specifying the number of days to wait after the date and time specified by a CRON expression when creating SSM association.
|
8
|
+
|
4
9
|
1.134.0 (2022-03-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.135.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -362,13 +362,14 @@ module Aws::SSM
|
|
362
362
|
# @!group API Operations
|
363
363
|
|
364
364
|
# Adds or overwrites one or more tags for the specified resource. Tags
|
365
|
-
# are metadata that you can assign to your
|
366
|
-
# maintenance windows, Parameter Store parameters, and
|
367
|
-
# Tags enable you to categorize your resources in
|
368
|
-
# example, by purpose, owner, or environment. Each
|
369
|
-
# and an optional value, both of which you define.
|
370
|
-
# could define a set of tags for your account's
|
371
|
-
# helps you track each node's owner and stack level.
|
365
|
+
# are metadata that you can assign to your automations, documents,
|
366
|
+
# managed nodes, maintenance windows, Parameter Store parameters, and
|
367
|
+
# patch baselines. Tags enable you to categorize your resources in
|
368
|
+
# different ways, for example, by purpose, owner, or environment. Each
|
369
|
+
# tag consists of a key and an optional value, both of which you define.
|
370
|
+
# For example, you could define a set of tags for your account's
|
371
|
+
# managed nodes that helps you track each node's owner and stack level.
|
372
|
+
# For example:
|
372
373
|
#
|
373
374
|
# * `Key=Owner,Value=DbAdmin`
|
374
375
|
#
|
@@ -382,7 +383,8 @@ module Aws::SSM
|
|
382
383
|
#
|
383
384
|
# * `Key=Stack,Value=Test`
|
384
385
|
#
|
385
|
-
#
|
386
|
+
# Most resources can have a maximum of 50 tags. Automations can have a
|
387
|
+
# maximum of 5 tags.
|
386
388
|
#
|
387
389
|
# We recommend that you devise a set of tag keys that meets your needs
|
388
390
|
# for each resource type. Using a consistent set of tag keys makes it
|
@@ -416,6 +418,8 @@ module Aws::SSM
|
|
416
418
|
#
|
417
419
|
# `PatchBaseline`\: `pb-012345abcde`
|
418
420
|
#
|
421
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
422
|
+
#
|
419
423
|
# `OpsMetadata` object: `ResourceID` for tagging is created from the
|
420
424
|
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
421
425
|
# is created from the strings that come after the word `opsmetadata` in
|
@@ -871,6 +875,25 @@ module Aws::SSM
|
|
871
875
|
# action to create an association in multiple Regions and multiple
|
872
876
|
# accounts.
|
873
877
|
#
|
878
|
+
# @option params [Integer] :schedule_offset
|
879
|
+
# Number of days to wait after the scheduled day to run an association.
|
880
|
+
# For example, if you specified a cron schedule of `cron(0 0 ? * THU#2
|
881
|
+
# *)`, you could specify an offset of 3 to run the association each
|
882
|
+
# Sunday after the second Thursday of the month. For more information
|
883
|
+
# about cron schedules for associations, see [Reference: Cron and rate
|
884
|
+
# expressions for Systems Manager][1] in the *Amazon Web Services
|
885
|
+
# Systems Manager User Guide*.
|
886
|
+
#
|
887
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
888
|
+
# parameter. This option tells the system not to run an association
|
889
|
+
# immediately after you create it.
|
890
|
+
#
|
891
|
+
# </note>
|
892
|
+
#
|
893
|
+
#
|
894
|
+
#
|
895
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
896
|
+
#
|
874
897
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
875
898
|
#
|
876
899
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -915,6 +938,7 @@ module Aws::SSM
|
|
915
938
|
# execution_role_name: "ExecutionRoleName",
|
916
939
|
# },
|
917
940
|
# ],
|
941
|
+
# schedule_offset: 1,
|
918
942
|
# })
|
919
943
|
#
|
920
944
|
# @example Response structure
|
@@ -964,6 +988,7 @@ module Aws::SSM
|
|
964
988
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
965
989
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
966
990
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
991
|
+
# resp.association_description.schedule_offset #=> Integer
|
967
992
|
#
|
968
993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
|
969
994
|
#
|
@@ -1036,6 +1061,7 @@ module Aws::SSM
|
|
1036
1061
|
# execution_role_name: "ExecutionRoleName",
|
1037
1062
|
# },
|
1038
1063
|
# ],
|
1064
|
+
# schedule_offset: 1,
|
1039
1065
|
# },
|
1040
1066
|
# ],
|
1041
1067
|
# })
|
@@ -1088,6 +1114,7 @@ module Aws::SSM
|
|
1088
1114
|
# resp.successful[0].target_locations[0].target_location_max_concurrency #=> String
|
1089
1115
|
# resp.successful[0].target_locations[0].target_location_max_errors #=> String
|
1090
1116
|
# resp.successful[0].target_locations[0].execution_role_name #=> String
|
1117
|
+
# resp.successful[0].schedule_offset #=> Integer
|
1091
1118
|
# resp.failed #=> Array
|
1092
1119
|
# resp.failed[0].entry.name #=> String
|
1093
1120
|
# resp.failed[0].entry.instance_id #=> String
|
@@ -1120,6 +1147,7 @@ module Aws::SSM
|
|
1120
1147
|
# resp.failed[0].entry.target_locations[0].target_location_max_concurrency #=> String
|
1121
1148
|
# resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
|
1122
1149
|
# resp.failed[0].entry.target_locations[0].execution_role_name #=> String
|
1150
|
+
# resp.failed[0].entry.schedule_offset #=> Integer
|
1123
1151
|
# resp.failed[0].message #=> String
|
1124
1152
|
# resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
|
1125
1153
|
#
|
@@ -2612,6 +2640,7 @@ module Aws::SSM
|
|
2612
2640
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
2613
2641
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
2614
2642
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
2643
|
+
# resp.association_description.schedule_offset #=> Integer
|
2615
2644
|
#
|
2616
2645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
|
2617
2646
|
#
|
@@ -6813,6 +6842,7 @@ module Aws::SSM
|
|
6813
6842
|
# resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
|
6814
6843
|
# resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
|
6815
6844
|
# resp.association_versions[0].target_locations[0].execution_role_name #=> String
|
6845
|
+
# resp.association_versions[0].schedule_offset #=> Integer
|
6816
6846
|
# resp.next_token #=> String
|
6817
6847
|
#
|
6818
6848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
@@ -6889,6 +6919,7 @@ module Aws::SSM
|
|
6889
6919
|
# resp.associations[0].overview.association_status_aggregated_count["StatusName"] #=> Integer
|
6890
6920
|
# resp.associations[0].schedule_expression #=> String
|
6891
6921
|
# resp.associations[0].association_name #=> String
|
6922
|
+
# resp.associations[0].schedule_offset #=> Integer
|
6892
6923
|
# resp.next_token #=> String
|
6893
6924
|
#
|
6894
6925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
|
@@ -8856,6 +8887,8 @@ module Aws::SSM
|
|
8856
8887
|
#
|
8857
8888
|
# MaintenanceWindow: mw-012345abcde
|
8858
8889
|
#
|
8890
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
8891
|
+
#
|
8859
8892
|
# PatchBaseline: pb-012345abcde
|
8860
8893
|
#
|
8861
8894
|
# OpsMetadata object: `ResourceID` for tagging is created from the
|
@@ -9396,7 +9429,7 @@ module Aws::SSM
|
|
9396
9429
|
#
|
9397
9430
|
# * `Key=OS,Value=Windows`
|
9398
9431
|
#
|
9399
|
-
# <note markdown="1"> To add tags to an existing
|
9432
|
+
# <note markdown="1"> To add tags to an existing automation, use the AddTagsToResource
|
9400
9433
|
# operation.
|
9401
9434
|
#
|
9402
9435
|
# </note>
|
@@ -9957,6 +9990,25 @@ module Aws::SSM
|
|
9957
9990
|
# action to update an association in multiple Regions and multiple
|
9958
9991
|
# accounts.
|
9959
9992
|
#
|
9993
|
+
# @option params [Integer] :schedule_offset
|
9994
|
+
# Number of days to wait after the scheduled day to run an association.
|
9995
|
+
# For example, if you specified a cron schedule of `cron(0 0 ? * THU#2
|
9996
|
+
# *)`, you could specify an offset of 3 to run the association each
|
9997
|
+
# Sunday after the second Thursday of the month. For more information
|
9998
|
+
# about cron schedules for associations, see [Reference: Cron and rate
|
9999
|
+
# expressions for Systems Manager][1] in the *Amazon Web Services
|
10000
|
+
# Systems Manager User Guide*.
|
10001
|
+
#
|
10002
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
10003
|
+
# parameter. This option tells the system not to run an association
|
10004
|
+
# immediately after you create it.
|
10005
|
+
#
|
10006
|
+
# </note>
|
10007
|
+
#
|
10008
|
+
#
|
10009
|
+
#
|
10010
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
10011
|
+
#
|
9960
10012
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9961
10013
|
#
|
9962
10014
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -10002,6 +10054,7 @@ module Aws::SSM
|
|
10002
10054
|
# execution_role_name: "ExecutionRoleName",
|
10003
10055
|
# },
|
10004
10056
|
# ],
|
10057
|
+
# schedule_offset: 1,
|
10005
10058
|
# })
|
10006
10059
|
#
|
10007
10060
|
# @example Response structure
|
@@ -10051,6 +10104,7 @@ module Aws::SSM
|
|
10051
10104
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
10052
10105
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
10053
10106
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
10107
|
+
# resp.association_description.schedule_offset #=> Integer
|
10054
10108
|
#
|
10055
10109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
10056
10110
|
#
|
@@ -10142,6 +10196,7 @@ module Aws::SSM
|
|
10142
10196
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
10143
10197
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
10144
10198
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
10199
|
+
# resp.association_description.schedule_offset #=> Integer
|
10145
10200
|
#
|
10146
10201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
10147
10202
|
#
|
@@ -11506,7 +11561,7 @@ module Aws::SSM
|
|
11506
11561
|
params: params,
|
11507
11562
|
config: config)
|
11508
11563
|
context[:gem_name] = 'aws-sdk-ssm'
|
11509
|
-
context[:gem_version] = '1.
|
11564
|
+
context[:gem_version] = '1.135.0'
|
11510
11565
|
Seahorse::Client::Request.new(handlers, context)
|
11511
11566
|
end
|
11512
11567
|
|
@@ -1029,6 +1029,7 @@ module Aws::SSM
|
|
1029
1029
|
S3OutputUrl = Shapes::StructureShape.new(name: 'S3OutputUrl')
|
1030
1030
|
S3Region = Shapes::StringShape.new(name: 'S3Region')
|
1031
1031
|
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
1032
|
+
ScheduleOffset = Shapes::IntegerShape.new(name: 'ScheduleOffset')
|
1032
1033
|
ScheduledWindowExecution = Shapes::StructureShape.new(name: 'ScheduledWindowExecution')
|
1033
1034
|
ScheduledWindowExecutionList = Shapes::ListShape.new(name: 'ScheduledWindowExecutionList')
|
1034
1035
|
SendAutomationSignalRequest = Shapes::StructureShape.new(name: 'SendAutomationSignalRequest')
|
@@ -1225,6 +1226,7 @@ module Aws::SSM
|
|
1225
1226
|
Association.add_member(:overview, Shapes::ShapeRef.new(shape: AssociationOverview, location_name: "Overview"))
|
1226
1227
|
Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1227
1228
|
Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1229
|
+
Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1228
1230
|
Association.struct_class = Types::Association
|
1229
1231
|
|
1230
1232
|
AssociationAlreadyExists.struct_class = Types::AssociationAlreadyExists
|
@@ -1253,6 +1255,7 @@ module Aws::SSM
|
|
1253
1255
|
AssociationDescription.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1254
1256
|
AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1255
1257
|
AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1258
|
+
AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1256
1259
|
AssociationDescription.struct_class = Types::AssociationDescription
|
1257
1260
|
|
1258
1261
|
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
|
@@ -1344,6 +1347,7 @@ module Aws::SSM
|
|
1344
1347
|
AssociationVersionInfo.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1345
1348
|
AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1346
1349
|
AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1350
|
+
AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1347
1351
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1348
1352
|
|
1349
1353
|
AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -1664,6 +1668,7 @@ module Aws::SSM
|
|
1664
1668
|
CreateAssociationBatchRequestEntry.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1665
1669
|
CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1666
1670
|
CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1671
|
+
CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1667
1672
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
1668
1673
|
|
1669
1674
|
CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
|
@@ -1686,6 +1691,7 @@ module Aws::SSM
|
|
1686
1691
|
CreateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1687
1692
|
CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1688
1693
|
CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1694
|
+
CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1689
1695
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1690
1696
|
|
1691
1697
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -4354,6 +4360,7 @@ module Aws::SSM
|
|
4354
4360
|
UpdateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
4355
4361
|
UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
4356
4362
|
UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
4363
|
+
UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
4357
4364
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
4358
4365
|
|
4359
4366
|
UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -130,6 +130,8 @@ module Aws::SSM
|
|
130
130
|
#
|
131
131
|
# `PatchBaseline`\: `pb-012345abcde`
|
132
132
|
#
|
133
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
134
|
+
#
|
133
135
|
# `OpsMetadata` object: `ResourceID` for tagging is created from the
|
134
136
|
# Amazon Resource Name (ARN) for the object. Specifically,
|
135
137
|
# `ResourceID` is created from the strings that come after the word
|
@@ -311,6 +313,11 @@ module Aws::SSM
|
|
311
313
|
# The association name.
|
312
314
|
# @return [String]
|
313
315
|
#
|
316
|
+
# @!attribute [rw] schedule_offset
|
317
|
+
# Number of days to wait after the scheduled day to run an
|
318
|
+
# association.
|
319
|
+
# @return [Integer]
|
320
|
+
#
|
314
321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation
|
315
322
|
#
|
316
323
|
class Association < Struct.new(
|
@@ -323,7 +330,8 @@ module Aws::SSM
|
|
323
330
|
:last_execution_date,
|
324
331
|
:overview,
|
325
332
|
:schedule_expression,
|
326
|
-
:association_name
|
333
|
+
:association_name,
|
334
|
+
:schedule_offset)
|
327
335
|
SENSITIVE = []
|
328
336
|
include Aws::Structure
|
329
337
|
end
|
@@ -485,6 +493,11 @@ module Aws::SSM
|
|
485
493
|
# Services accounts where you want to run the association.
|
486
494
|
# @return [Array<Types::TargetLocation>]
|
487
495
|
#
|
496
|
+
# @!attribute [rw] schedule_offset
|
497
|
+
# Number of days to wait after the scheduled day to run an
|
498
|
+
# association.
|
499
|
+
# @return [Integer]
|
500
|
+
#
|
488
501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
489
502
|
#
|
490
503
|
class AssociationDescription < Struct.new(
|
@@ -511,7 +524,8 @@ module Aws::SSM
|
|
511
524
|
:sync_compliance,
|
512
525
|
:apply_only_at_cron_interval,
|
513
526
|
:calendar_names,
|
514
|
-
:target_locations
|
527
|
+
:target_locations,
|
528
|
+
:schedule_offset)
|
515
529
|
SENSITIVE = [:parameters]
|
516
530
|
include Aws::Structure
|
517
531
|
end
|
@@ -937,6 +951,11 @@ module Aws::SSM
|
|
937
951
|
# association version was created.
|
938
952
|
# @return [Array<Types::TargetLocation>]
|
939
953
|
#
|
954
|
+
# @!attribute [rw] schedule_offset
|
955
|
+
# Number of days to wait after the scheduled day to run an
|
956
|
+
# association.
|
957
|
+
# @return [Integer]
|
958
|
+
#
|
940
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
941
960
|
#
|
942
961
|
class AssociationVersionInfo < Struct.new(
|
@@ -956,7 +975,8 @@ module Aws::SSM
|
|
956
975
|
:sync_compliance,
|
957
976
|
:apply_only_at_cron_interval,
|
958
977
|
:calendar_names,
|
959
|
-
:target_locations
|
978
|
+
:target_locations,
|
979
|
+
:schedule_offset)
|
960
980
|
SENSITIVE = [:parameters]
|
961
981
|
include Aws::Structure
|
962
982
|
end
|
@@ -2851,6 +2871,7 @@ module Aws::SSM
|
|
2851
2871
|
# execution_role_name: "ExecutionRoleName",
|
2852
2872
|
# },
|
2853
2873
|
# ],
|
2874
|
+
# schedule_offset: 1,
|
2854
2875
|
# },
|
2855
2876
|
# ],
|
2856
2877
|
# }
|
@@ -2911,6 +2932,7 @@ module Aws::SSM
|
|
2911
2932
|
# execution_role_name: "ExecutionRoleName",
|
2912
2933
|
# },
|
2913
2934
|
# ],
|
2935
|
+
# schedule_offset: 1,
|
2914
2936
|
# }
|
2915
2937
|
#
|
2916
2938
|
# @!attribute [rw] name
|
@@ -3060,6 +3082,11 @@ module Aws::SSM
|
|
3060
3082
|
# multiple accounts.
|
3061
3083
|
# @return [Array<Types::TargetLocation>]
|
3062
3084
|
#
|
3085
|
+
# @!attribute [rw] schedule_offset
|
3086
|
+
# Number of days to wait after the scheduled day to run an
|
3087
|
+
# association.
|
3088
|
+
# @return [Integer]
|
3089
|
+
#
|
3063
3090
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
3064
3091
|
#
|
3065
3092
|
class CreateAssociationBatchRequestEntry < Struct.new(
|
@@ -3078,7 +3105,8 @@ module Aws::SSM
|
|
3078
3105
|
:sync_compliance,
|
3079
3106
|
:apply_only_at_cron_interval,
|
3080
3107
|
:calendar_names,
|
3081
|
-
:target_locations
|
3108
|
+
:target_locations,
|
3109
|
+
:schedule_offset)
|
3082
3110
|
SENSITIVE = [:parameters]
|
3083
3111
|
include Aws::Structure
|
3084
3112
|
end
|
@@ -3141,6 +3169,7 @@ module Aws::SSM
|
|
3141
3169
|
# execution_role_name: "ExecutionRoleName",
|
3142
3170
|
# },
|
3143
3171
|
# ],
|
3172
|
+
# schedule_offset: 1,
|
3144
3173
|
# }
|
3145
3174
|
#
|
3146
3175
|
# @!attribute [rw] name
|
@@ -3312,6 +3341,26 @@ module Aws::SSM
|
|
3312
3341
|
# multiple accounts.
|
3313
3342
|
# @return [Array<Types::TargetLocation>]
|
3314
3343
|
#
|
3344
|
+
# @!attribute [rw] schedule_offset
|
3345
|
+
# Number of days to wait after the scheduled day to run an
|
3346
|
+
# association. For example, if you specified a cron schedule of
|
3347
|
+
# `cron(0 0 ? * THU#2 *)`, you could specify an offset of 3 to run the
|
3348
|
+
# association each Sunday after the second Thursday of the month. For
|
3349
|
+
# more information about cron schedules for associations, see
|
3350
|
+
# [Reference: Cron and rate expressions for Systems Manager][1] in the
|
3351
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
3352
|
+
#
|
3353
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
3354
|
+
# parameter. This option tells the system not to run an association
|
3355
|
+
# immediately after you create it.
|
3356
|
+
#
|
3357
|
+
# </note>
|
3358
|
+
#
|
3359
|
+
#
|
3360
|
+
#
|
3361
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
3362
|
+
# @return [Integer]
|
3363
|
+
#
|
3315
3364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
3316
3365
|
#
|
3317
3366
|
class CreateAssociationRequest < Struct.new(
|
@@ -3330,7 +3379,8 @@ module Aws::SSM
|
|
3330
3379
|
:sync_compliance,
|
3331
3380
|
:apply_only_at_cron_interval,
|
3332
3381
|
:calendar_names,
|
3333
|
-
:target_locations
|
3382
|
+
:target_locations,
|
3383
|
+
:schedule_offset)
|
3334
3384
|
SENSITIVE = [:parameters]
|
3335
3385
|
include Aws::Structure
|
3336
3386
|
end
|
@@ -17190,6 +17240,8 @@ module Aws::SSM
|
|
17190
17240
|
#
|
17191
17241
|
# MaintenanceWindow: mw-012345abcde
|
17192
17242
|
#
|
17243
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
17244
|
+
#
|
17193
17245
|
# PatchBaseline: pb-012345abcde
|
17194
17246
|
#
|
17195
17247
|
# OpsMetadata object: `ResourceID` for tagging is created from the
|
@@ -18827,7 +18879,7 @@ module Aws::SSM
|
|
18827
18879
|
#
|
18828
18880
|
# * `Key=OS,Value=Windows`
|
18829
18881
|
#
|
18830
|
-
# <note markdown="1"> To add tags to an existing
|
18882
|
+
# <note markdown="1"> To add tags to an existing automation, use the AddTagsToResource
|
18831
18883
|
# operation.
|
18832
18884
|
#
|
18833
18885
|
# </note>
|
@@ -19823,6 +19875,7 @@ module Aws::SSM
|
|
19823
19875
|
# execution_role_name: "ExecutionRoleName",
|
19824
19876
|
# },
|
19825
19877
|
# ],
|
19878
|
+
# schedule_offset: 1,
|
19826
19879
|
# }
|
19827
19880
|
#
|
19828
19881
|
# @!attribute [rw] association_id
|
@@ -19999,6 +20052,26 @@ module Aws::SSM
|
|
19999
20052
|
# multiple accounts.
|
20000
20053
|
# @return [Array<Types::TargetLocation>]
|
20001
20054
|
#
|
20055
|
+
# @!attribute [rw] schedule_offset
|
20056
|
+
# Number of days to wait after the scheduled day to run an
|
20057
|
+
# association. For example, if you specified a cron schedule of
|
20058
|
+
# `cron(0 0 ? * THU#2 *)`, you could specify an offset of 3 to run the
|
20059
|
+
# association each Sunday after the second Thursday of the month. For
|
20060
|
+
# more information about cron schedules for associations, see
|
20061
|
+
# [Reference: Cron and rate expressions for Systems Manager][1] in the
|
20062
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
20063
|
+
#
|
20064
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
20065
|
+
# parameter. This option tells the system not to run an association
|
20066
|
+
# immediately after you create it.
|
20067
|
+
#
|
20068
|
+
# </note>
|
20069
|
+
#
|
20070
|
+
#
|
20071
|
+
#
|
20072
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
20073
|
+
# @return [Integer]
|
20074
|
+
#
|
20002
20075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
|
20003
20076
|
#
|
20004
20077
|
class UpdateAssociationRequest < Struct.new(
|
@@ -20018,7 +20091,8 @@ module Aws::SSM
|
|
20018
20091
|
:sync_compliance,
|
20019
20092
|
:apply_only_at_cron_interval,
|
20020
20093
|
:calendar_names,
|
20021
|
-
:target_locations
|
20094
|
+
:target_locations,
|
20095
|
+
:schedule_offset)
|
20022
20096
|
SENSITIVE = [:parameters]
|
20023
20097
|
include Aws::Structure
|
20024
20098
|
end
|
data/lib/aws-sdk-ssm.rb
CHANGED
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.135.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: 2022-
|
11
|
+
date: 2022-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|