aws-sdk-ssm 1.132.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e8d926564b14bae5b707ae11237055696510b6a421752846463381d5dc22d92
4
- data.tar.gz: f4df092a80a9bbc6468a666a161fe93498992d47c0c6084c1e5f9e92e84eac5b
3
+ metadata.gz: 1ab4b98c84dece7a26c3e636aa2b3073112acf0f2c3b2133fb62814df253c981
4
+ data.tar.gz: 1d9544de02ecbf2abbf489bcd034724b9f37aa69235e0115ad86786d891601d1
5
5
  SHA512:
6
- metadata.gz: 6b99473e3b649f4db0978e2295a3187328c869496e934eff9ef21f43ac5da7c929ddbd67df276e6bf7a5469b957b69846a69b996da8b938297be8e986e164831
7
- data.tar.gz: 90c3b6e0d419ef4f543dfc4768e49976cbe9bd36824da0afee035fd912223084e1c78b3114538d9c0988d12ae5b10553dfdb9dbf57a7812fb48b1c996085ff07
6
+ metadata.gz: f21e3def0423834016837427a5d8f4c11fa733eba4a8e24be6fc302bedeeab4f128bac33a6df1f708fba06d986e8dc9edcc6a87facdc9337958e80f016e628a0
7
+ data.tar.gz: f9801aed4169e101917dfb04a61257cf9b36aeb958302054dd9b44c1616f78b995f4e8122195895e89ceb0b6467326fdf02207ec0da8abab575f7b0f2df43a8b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
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
+
9
+ 1.134.0 (2022-03-25)
10
+ ------------------
11
+
12
+ * Feature - This Patch Manager release supports creating, updating, and deleting Patch Baselines for Rocky Linux OS.
13
+
14
+ 1.133.0 (2022-03-23)
15
+ ------------------
16
+
17
+ * Feature - Update AddTagsToResource, ListTagsForResource, and RemoveTagsFromResource APIs to reflect the support for tagging Automation resources. Includes other minor documentation updates.
18
+
4
19
  1.132.0 (2022-02-24)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.135.0
@@ -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 documents, managed nodes,
366
- # maintenance windows, Parameter Store parameters, and patch baselines.
367
- # Tags enable you to categorize your resources in different ways, for
368
- # example, by purpose, owner, or environment. Each tag consists of a key
369
- # and an optional value, both of which you define. For example, you
370
- # could define a set of tags for your account's managed nodes that
371
- # helps you track each node's owner and stack level. For example:
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
- # Each resource can have a maximum of 50 tags.
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
@@ -446,7 +450,7 @@ module Aws::SSM
446
450
  # @example Request syntax with placeholder values
447
451
  #
448
452
  # resp = client.add_tags_to_resource({
449
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
453
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
450
454
  # resource_id: "ResourceId", # required
451
455
  # tags: [ # required
452
456
  # {
@@ -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
  #
@@ -1817,7 +1845,7 @@ module Aws::SSM
1817
1845
  # @example Request syntax with placeholder values
1818
1846
  #
1819
1847
  # resp = client.create_patch_baseline({
1820
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
1848
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
1821
1849
  # name: "BaselineName", # required
1822
1850
  # global_filters: {
1823
1851
  # patch_filters: [ # required
@@ -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
  #
@@ -4657,7 +4686,7 @@ module Aws::SSM
4657
4686
  # resp.baseline_identities #=> Array
4658
4687
  # resp.baseline_identities[0].baseline_id #=> String
4659
4688
  # resp.baseline_identities[0].baseline_name #=> String
4660
- # resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
4689
+ # resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
4661
4690
  # resp.baseline_identities[0].baseline_description #=> String
4662
4691
  # resp.baseline_identities[0].default_baseline #=> Boolean
4663
4692
  # resp.next_token #=> String
@@ -4770,7 +4799,7 @@ module Aws::SSM
4770
4799
  # resp.mappings[0].patch_group #=> String
4771
4800
  # resp.mappings[0].baseline_identity.baseline_id #=> String
4772
4801
  # resp.mappings[0].baseline_identity.baseline_name #=> String
4773
- # resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
4802
+ # resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
4774
4803
  # resp.mappings[0].baseline_identity.baseline_description #=> String
4775
4804
  # resp.mappings[0].baseline_identity.default_baseline #=> Boolean
4776
4805
  # resp.next_token #=> String
@@ -4865,7 +4894,7 @@ module Aws::SSM
4865
4894
  # @example Request syntax with placeholder values
4866
4895
  #
4867
4896
  # resp = client.describe_patch_properties({
4868
- # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
4897
+ # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
4869
4898
  # property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
4870
4899
  # patch_set: "OS", # accepts OS, APPLICATION
4871
4900
  # max_results: 1,
@@ -5342,13 +5371,13 @@ module Aws::SSM
5342
5371
  # @example Request syntax with placeholder values
5343
5372
  #
5344
5373
  # resp = client.get_default_patch_baseline({
5345
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
5374
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
5346
5375
  # })
5347
5376
  #
5348
5377
  # @example Response structure
5349
5378
  #
5350
5379
  # resp.baseline_id #=> String
5351
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
5380
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
5352
5381
  #
5353
5382
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
5354
5383
  #
@@ -5399,7 +5428,7 @@ module Aws::SSM
5399
5428
  # instance_id: "InstanceId", # required
5400
5429
  # snapshot_id: "SnapshotId", # required
5401
5430
  # baseline_override: {
5402
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
5431
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
5403
5432
  # global_filters: {
5404
5433
  # patch_filters: [ # required
5405
5434
  # {
@@ -5906,7 +5935,7 @@ module Aws::SSM
5906
5935
  req.send_request(options)
5907
5936
  end
5908
5937
 
5909
- # Lists the tasks in a maintenance window.
5938
+ # Retrieves the details of a maintenance window task.
5910
5939
  #
5911
5940
  # <note markdown="1"> For maintenance window tasks without a specified target, you can't
5912
5941
  # supply values for `--max-errors` and `--max-concurrency`. Instead, the
@@ -5916,6 +5945,9 @@ module Aws::SSM
5916
5945
  #
5917
5946
  # </note>
5918
5947
  #
5948
+ # To retrieve a list of tasks in a maintenance window, instead use the
5949
+ # DescribeMaintenanceWindowTasks command.
5950
+ #
5919
5951
  # @option params [required, String] :window_id
5920
5952
  # The maintenance window ID that includes the task to retrieve.
5921
5953
  #
@@ -6531,7 +6563,7 @@ module Aws::SSM
6531
6563
  #
6532
6564
  # resp.baseline_id #=> String
6533
6565
  # resp.name #=> String
6534
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
6566
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
6535
6567
  # resp.global_filters.patch_filters #=> Array
6536
6568
  # resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
6537
6569
  # resp.global_filters.patch_filters[0].values #=> Array
@@ -6579,7 +6611,7 @@ module Aws::SSM
6579
6611
  # The name of the patch group whose patch baseline should be retrieved.
6580
6612
  #
6581
6613
  # @option params [String] :operating_system
6582
- # Returns he operating system rule specified for patch groups using the
6614
+ # Returns the operating system rule specified for patch groups using the
6583
6615
  # patch baseline.
6584
6616
  #
6585
6617
  # @return [Types::GetPatchBaselineForPatchGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -6592,14 +6624,14 @@ module Aws::SSM
6592
6624
  #
6593
6625
  # resp = client.get_patch_baseline_for_patch_group({
6594
6626
  # patch_group: "PatchGroup", # required
6595
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
6627
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
6596
6628
  # })
6597
6629
  #
6598
6630
  # @example Response structure
6599
6631
  #
6600
6632
  # resp.baseline_id #=> String
6601
6633
  # resp.patch_group #=> String
6602
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
6634
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
6603
6635
  #
6604
6636
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
6605
6637
  #
@@ -6810,6 +6842,7 @@ module Aws::SSM
6810
6842
  # resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
6811
6843
  # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6812
6844
  # resp.association_versions[0].target_locations[0].execution_role_name #=> String
6845
+ # resp.association_versions[0].schedule_offset #=> Integer
6813
6846
  # resp.next_token #=> String
6814
6847
  #
6815
6848
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
@@ -6886,6 +6919,7 @@ module Aws::SSM
6886
6919
  # resp.associations[0].overview.association_status_aggregated_count["StatusName"] #=> Integer
6887
6920
  # resp.associations[0].schedule_expression #=> String
6888
6921
  # resp.associations[0].association_name #=> String
6922
+ # resp.associations[0].schedule_offset #=> Integer
6889
6923
  # resp.next_token #=> String
6890
6924
  #
6891
6925
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
@@ -7867,7 +7901,7 @@ module Aws::SSM
7867
7901
  # @example Request syntax with placeholder values
7868
7902
  #
7869
7903
  # resp = client.list_tags_for_resource({
7870
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
7904
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
7871
7905
  # resource_id: "ResourceId", # required
7872
7906
  # })
7873
7907
  #
@@ -8145,13 +8179,12 @@ module Aws::SSM
8145
8179
  # [Creating Systems Manager parameters][1] in the *Amazon Web Services
8146
8180
  # Systems Manager User Guide*.
8147
8181
  #
8148
- # <note markdown="1"> The maximum length constraint listed below includes capacity for
8149
- # additional system attributes that aren't part of the name. The
8150
- # maximum length for a parameter name, including the full length of the
8151
- # parameter ARN, is 1011 characters. For example, the length of the
8152
- # following parameter name is 65 characters, not 20 characters:
8153
- #
8154
- # `arn:aws:ssm:us-east-2:111122223333:parameter/ExampleParameterName`
8182
+ # <note markdown="1"> The maximum length constraint of 2048 characters listed below includes
8183
+ # 1037 characters reserved for internal use by Systems Manager. The
8184
+ # maximum length for a parameter name that you create is 1011
8185
+ # characters. This includes the characters in the ARN that precede the
8186
+ # name you specify, such as
8187
+ # `arn:aws:ssm:us-east-2:111122223333:parameter/`.
8155
8188
  #
8156
8189
  # </note>
8157
8190
  #
@@ -8854,6 +8887,8 @@ module Aws::SSM
8854
8887
  #
8855
8888
  # MaintenanceWindow: mw-012345abcde
8856
8889
  #
8890
+ # `Automation`\: `example-c160-4567-8519-012345abcde`
8891
+ #
8857
8892
  # PatchBaseline: pb-012345abcde
8858
8893
  #
8859
8894
  # OpsMetadata object: `ResourceID` for tagging is created from the
@@ -8880,7 +8915,7 @@ module Aws::SSM
8880
8915
  # @example Request syntax with placeholder values
8881
8916
  #
8882
8917
  # resp = client.remove_tags_from_resource({
8883
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
8918
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
8884
8919
  # resource_id: "ResourceId", # required
8885
8920
  # tag_keys: ["TagKey"], # required
8886
8921
  # })
@@ -9394,7 +9429,7 @@ module Aws::SSM
9394
9429
  #
9395
9430
  # * `Key=OS,Value=Windows`
9396
9431
  #
9397
- # <note markdown="1"> To add tags to an existing patch baseline, use the AddTagsToResource
9432
+ # <note markdown="1"> To add tags to an existing automation, use the AddTagsToResource
9398
9433
  # operation.
9399
9434
  #
9400
9435
  # </note>
@@ -9641,7 +9676,8 @@ module Aws::SSM
9641
9676
  # start the session.
9642
9677
  #
9643
9678
  # @option params [Hash<String,Array>] :parameters
9644
- # Reserved for future use.
9679
+ # The values you want to specify for the parameters defined in the
9680
+ # Session document.
9645
9681
  #
9646
9682
  # @return [Types::StartSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9647
9683
  #
@@ -9921,8 +9957,18 @@ module Aws::SSM
9921
9957
  # run immediately after you update it. This parameter isn't supported
9922
9958
  # for rate expressions.
9923
9959
  #
9924
- # Also, if you specified this option when you created the association,
9925
- # you can reset it. To do so, specify the
9960
+ # If you chose this option when you created an association and later you
9961
+ # edit that association or you make changes to the SSM document on which
9962
+ # that association is based (by using the Documents page in the
9963
+ # console), State Manager applies the association at the next specified
9964
+ # cron interval. For example, if you chose the `Latest` version of an
9965
+ # SSM document when you created an association and you edit the
9966
+ # association by choosing a different document version on the Documents
9967
+ # page, State Manager applies the association at the next specified cron
9968
+ # interval if you previously selected this option. If this option
9969
+ # wasn't selected, State Manager immediately runs the association.
9970
+ #
9971
+ # You can reset this option. To do so, specify the
9926
9972
  # `no-apply-only-at-cron-interval` parameter when you update the
9927
9973
  # association from the command line. This parameter forces the
9928
9974
  # association to run immediately after updating it and according to the
@@ -9944,6 +9990,25 @@ module Aws::SSM
9944
9990
  # action to update an association in multiple Regions and multiple
9945
9991
  # accounts.
9946
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
+ #
9947
10012
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9948
10013
  #
9949
10014
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -9989,6 +10054,7 @@ module Aws::SSM
9989
10054
  # execution_role_name: "ExecutionRoleName",
9990
10055
  # },
9991
10056
  # ],
10057
+ # schedule_offset: 1,
9992
10058
  # })
9993
10059
  #
9994
10060
  # @example Response structure
@@ -10038,6 +10104,7 @@ module Aws::SSM
10038
10104
  # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
10039
10105
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10040
10106
  # resp.association_description.target_locations[0].execution_role_name #=> String
10107
+ # resp.association_description.schedule_offset #=> Integer
10041
10108
  #
10042
10109
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
10043
10110
  #
@@ -10129,6 +10196,7 @@ module Aws::SSM
10129
10196
  # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
10130
10197
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10131
10198
  # resp.association_description.target_locations[0].execution_role_name #=> String
10199
+ # resp.association_description.schedule_offset #=> Integer
10132
10200
  #
10133
10201
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
10134
10202
  #
@@ -10169,6 +10237,12 @@ module Aws::SSM
10169
10237
  # document. You can specify the version number of the latest version or
10170
10238
  # use the `$LATEST` variable.
10171
10239
  #
10240
+ # <note markdown="1"> If you change a document version for a State Manager association,
10241
+ # Systems Manager immediately runs the association unless you previously
10242
+ # specifed the `apply-only-at-cron-interval` parameter.
10243
+ #
10244
+ # </note>
10245
+ #
10172
10246
  # @option params [String] :document_format
10173
10247
  # Specify the document format for the new document version. Systems
10174
10248
  # Manager supports JSON and YAML documents. JSON is the default format.
@@ -10258,6 +10332,12 @@ module Aws::SSM
10258
10332
 
10259
10333
  # Set the default version of a document.
10260
10334
  #
10335
+ # <note markdown="1"> If you change a document version for a State Manager association,
10336
+ # Systems Manager immediately runs the association unless you previously
10337
+ # specifed the `apply-only-at-cron-interval` parameter.
10338
+ #
10339
+ # </note>
10340
+ #
10261
10341
  # @option params [required, String] :name
10262
10342
  # The name of a custom document that you want to set as the default
10263
10343
  # version.
@@ -11298,7 +11378,7 @@ module Aws::SSM
11298
11378
  #
11299
11379
  # resp.baseline_id #=> String
11300
11380
  # resp.name #=> String
11301
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
11381
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
11302
11382
  # resp.global_filters.patch_filters #=> Array
11303
11383
  # resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
11304
11384
  # resp.global_filters.patch_filters[0].values #=> Array
@@ -11481,7 +11561,7 @@ module Aws::SSM
11481
11561
  params: params,
11482
11562
  config: config)
11483
11563
  context[:gem_name] = 'aws-sdk-ssm'
11484
- context[:gem_version] = '1.132.0'
11564
+ context[:gem_version] = '1.135.0'
11485
11565
  Seahorse::Client::Request.new(handlers, context)
11486
11566
  end
11487
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"))
@@ -101,7 +101,7 @@ module Aws::SSM
101
101
  # data as a hash:
102
102
  #
103
103
  # {
104
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
104
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
105
105
  # resource_id: "ResourceId", # required
106
106
  # tags: [ # required
107
107
  # {
@@ -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
@@ -274,7 +276,10 @@ module Aws::SSM
274
276
  # @return [String]
275
277
  #
276
278
  # @!attribute [rw] document_version
277
- # The version of the document used in the association.
279
+ # The version of the document used in the association. If you change a
280
+ # document version for a State Manager association, Systems Manager
281
+ # immediately runs the association unless you previously specifed the
282
+ # `apply-only-at-cron-interval` parameter.
278
283
  #
279
284
  # State Manager doesn't support running associations that use a new
280
285
  # version of a document if that document is shared from another
@@ -308,6 +313,11 @@ module Aws::SSM
308
313
  # The association name.
309
314
  # @return [String]
310
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
+ #
311
321
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation
312
322
  #
313
323
  class Association < Struct.new(
@@ -320,7 +330,8 @@ module Aws::SSM
320
330
  :last_execution_date,
321
331
  :overview,
322
332
  :schedule_expression,
323
- :association_name)
333
+ :association_name,
334
+ :schedule_offset)
324
335
  SENSITIVE = []
325
336
  include Aws::Structure
326
337
  end
@@ -482,6 +493,11 @@ module Aws::SSM
482
493
  # Services accounts where you want to run the association.
483
494
  # @return [Array<Types::TargetLocation>]
484
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
+ #
485
501
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
486
502
  #
487
503
  class AssociationDescription < Struct.new(
@@ -508,7 +524,8 @@ module Aws::SSM
508
524
  :sync_compliance,
509
525
  :apply_only_at_cron_interval,
510
526
  :calendar_names,
511
- :target_locations)
527
+ :target_locations,
528
+ :schedule_offset)
512
529
  SENSITIVE = [:parameters]
513
530
  include Aws::Structure
514
531
  end
@@ -934,6 +951,11 @@ module Aws::SSM
934
951
  # association version was created.
935
952
  # @return [Array<Types::TargetLocation>]
936
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
+ #
937
959
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
938
960
  #
939
961
  class AssociationVersionInfo < Struct.new(
@@ -953,7 +975,8 @@ module Aws::SSM
953
975
  :sync_compliance,
954
976
  :apply_only_at_cron_interval,
955
977
  :calendar_names,
956
- :target_locations)
978
+ :target_locations,
979
+ :schedule_offset)
957
980
  SENSITIVE = [:parameters]
958
981
  include Aws::Structure
959
982
  end
@@ -1562,7 +1585,7 @@ module Aws::SSM
1562
1585
  # data as a hash:
1563
1586
  #
1564
1587
  # {
1565
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
1588
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
1566
1589
  # global_filters: {
1567
1590
  # patch_filters: [ # required
1568
1591
  # {
@@ -2848,6 +2871,7 @@ module Aws::SSM
2848
2871
  # execution_role_name: "ExecutionRoleName",
2849
2872
  # },
2850
2873
  # ],
2874
+ # schedule_offset: 1,
2851
2875
  # },
2852
2876
  # ],
2853
2877
  # }
@@ -2908,6 +2932,7 @@ module Aws::SSM
2908
2932
  # execution_role_name: "ExecutionRoleName",
2909
2933
  # },
2910
2934
  # ],
2935
+ # schedule_offset: 1,
2911
2936
  # }
2912
2937
  #
2913
2938
  # @!attribute [rw] name
@@ -3057,6 +3082,11 @@ module Aws::SSM
3057
3082
  # multiple accounts.
3058
3083
  # @return [Array<Types::TargetLocation>]
3059
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
+ #
3060
3090
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
3061
3091
  #
3062
3092
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -3075,7 +3105,8 @@ module Aws::SSM
3075
3105
  :sync_compliance,
3076
3106
  :apply_only_at_cron_interval,
3077
3107
  :calendar_names,
3078
- :target_locations)
3108
+ :target_locations,
3109
+ :schedule_offset)
3079
3110
  SENSITIVE = [:parameters]
3080
3111
  include Aws::Structure
3081
3112
  end
@@ -3138,6 +3169,7 @@ module Aws::SSM
3138
3169
  # execution_role_name: "ExecutionRoleName",
3139
3170
  # },
3140
3171
  # ],
3172
+ # schedule_offset: 1,
3141
3173
  # }
3142
3174
  #
3143
3175
  # @!attribute [rw] name
@@ -3309,6 +3341,26 @@ module Aws::SSM
3309
3341
  # multiple accounts.
3310
3342
  # @return [Array<Types::TargetLocation>]
3311
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
+ #
3312
3364
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
3313
3365
  #
3314
3366
  class CreateAssociationRequest < Struct.new(
@@ -3327,7 +3379,8 @@ module Aws::SSM
3327
3379
  :sync_compliance,
3328
3380
  :apply_only_at_cron_interval,
3329
3381
  :calendar_names,
3330
- :target_locations)
3382
+ :target_locations,
3383
+ :schedule_offset)
3331
3384
  SENSITIVE = [:parameters]
3332
3385
  include Aws::Structure
3333
3386
  end
@@ -3936,7 +3989,7 @@ module Aws::SSM
3936
3989
  # data as a hash:
3937
3990
  #
3938
3991
  # {
3939
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
3992
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
3940
3993
  # name: "BaselineName", # required
3941
3994
  # global_filters: {
3942
3995
  # patch_filters: [ # required
@@ -6925,7 +6978,7 @@ module Aws::SSM
6925
6978
  # data as a hash:
6926
6979
  #
6927
6980
  # {
6928
- # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
6981
+ # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
6929
6982
  # property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
6930
6983
  # patch_set: "OS", # accepts OS, APPLICATION
6931
6984
  # max_results: 1,
@@ -8355,7 +8408,7 @@ module Aws::SSM
8355
8408
  # data as a hash:
8356
8409
  #
8357
8410
  # {
8358
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
8411
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
8359
8412
  # }
8360
8413
  #
8361
8414
  # @!attribute [rw] operating_system
@@ -8395,7 +8448,7 @@ module Aws::SSM
8395
8448
  # instance_id: "InstanceId", # required
8396
8449
  # snapshot_id: "SnapshotId", # required
8397
8450
  # baseline_override: {
8398
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
8451
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
8399
8452
  # global_filters: {
8400
8453
  # patch_filters: [ # required
8401
8454
  # {
@@ -9783,7 +9836,7 @@ module Aws::SSM
9783
9836
  #
9784
9837
  # {
9785
9838
  # patch_group: "PatchGroup", # required
9786
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
9839
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
9787
9840
  # }
9788
9841
  #
9789
9842
  # @!attribute [rw] patch_group
@@ -9792,7 +9845,7 @@ module Aws::SSM
9792
9845
  # @return [String]
9793
9846
  #
9794
9847
  # @!attribute [rw] operating_system
9795
- # Returns he operating system rule specified for patch groups using
9848
+ # Returns the operating system rule specified for patch groups using
9796
9849
  # the patch baseline.
9797
9850
  # @return [String]
9798
9851
  #
@@ -12909,7 +12962,7 @@ module Aws::SSM
12909
12962
  # data as a hash:
12910
12963
  #
12911
12964
  # {
12912
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
12965
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
12913
12966
  # resource_id: "ResourceId", # required
12914
12967
  # }
12915
12968
  #
@@ -16351,13 +16404,12 @@ module Aws::SSM
16351
16404
  # see [Creating Systems Manager parameters][1] in the *Amazon Web
16352
16405
  # Services Systems Manager User Guide*.
16353
16406
  #
16354
- # <note markdown="1"> The maximum length constraint listed below includes capacity for
16355
- # additional system attributes that aren't part of the name. The
16356
- # maximum length for a parameter name, including the full length of
16357
- # the parameter ARN, is 1011 characters. For example, the length of
16358
- # the following parameter name is 65 characters, not 20 characters:
16359
- #
16360
- # `arn:aws:ssm:us-east-2:111122223333:parameter/ExampleParameterName`
16407
+ # <note markdown="1"> The maximum length constraint of 2048 characters listed below
16408
+ # includes 1037 characters reserved for internal use by Systems
16409
+ # Manager. The maximum length for a parameter name that you create is
16410
+ # 1011 characters. This includes the characters in the ARN that
16411
+ # precede the name you specify, such as
16412
+ # `arn:aws:ssm:us-east-2:111122223333:parameter/`.
16361
16413
  #
16362
16414
  # </note>
16363
16415
  #
@@ -17164,7 +17216,7 @@ module Aws::SSM
17164
17216
  # data as a hash:
17165
17217
  #
17166
17218
  # {
17167
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
17219
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
17168
17220
  # resource_id: "ResourceId", # required
17169
17221
  # tag_keys: ["TagKey"], # required
17170
17222
  # }
@@ -17188,6 +17240,8 @@ module Aws::SSM
17188
17240
  #
17189
17241
  # MaintenanceWindow: mw-012345abcde
17190
17242
  #
17243
+ # `Automation`\: `example-c160-4567-8519-012345abcde`
17244
+ #
17191
17245
  # PatchBaseline: pb-012345abcde
17192
17246
  #
17193
17247
  # OpsMetadata object: `ResourceID` for tagging is created from the
@@ -18825,7 +18879,7 @@ module Aws::SSM
18825
18879
  #
18826
18880
  # * `Key=OS,Value=Windows`
18827
18881
  #
18828
- # <note markdown="1"> To add tags to an existing patch baseline, use the AddTagsToResource
18882
+ # <note markdown="1"> To add tags to an existing automation, use the AddTagsToResource
18829
18883
  # operation.
18830
18884
  #
18831
18885
  # </note>
@@ -19063,7 +19117,8 @@ module Aws::SSM
19063
19117
  # @return [String]
19064
19118
  #
19065
19119
  # @!attribute [rw] parameters
19066
- # Reserved for future use.
19120
+ # The values you want to specify for the parameters defined in the
19121
+ # Session document.
19067
19122
  # @return [Hash<String,Array<String>>]
19068
19123
  #
19069
19124
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSessionRequest AWS API Documentation
@@ -19820,6 +19875,7 @@ module Aws::SSM
19820
19875
  # execution_role_name: "ExecutionRoleName",
19821
19876
  # },
19822
19877
  # ],
19878
+ # schedule_offset: 1,
19823
19879
  # }
19824
19880
  #
19825
19881
  # @!attribute [rw] association_id
@@ -19958,8 +20014,19 @@ module Aws::SSM
19958
20014
  # to run immediately after you update it. This parameter isn't
19959
20015
  # supported for rate expressions.
19960
20016
  #
19961
- # Also, if you specified this option when you created the association,
19962
- # you can reset it. To do so, specify the
20017
+ # If you chose this option when you created an association and later
20018
+ # you edit that association or you make changes to the SSM document on
20019
+ # which that association is based (by using the Documents page in the
20020
+ # console), State Manager applies the association at the next
20021
+ # specified cron interval. For example, if you chose the `Latest`
20022
+ # version of an SSM document when you created an association and you
20023
+ # edit the association by choosing a different document version on the
20024
+ # Documents page, State Manager applies the association at the next
20025
+ # specified cron interval if you previously selected this option. If
20026
+ # this option wasn't selected, State Manager immediately runs the
20027
+ # association.
20028
+ #
20029
+ # You can reset this option. To do so, specify the
19963
20030
  # `no-apply-only-at-cron-interval` parameter when you update the
19964
20031
  # association from the command line. This parameter forces the
19965
20032
  # association to run immediately after updating it and according to
@@ -19985,6 +20052,26 @@ module Aws::SSM
19985
20052
  # multiple accounts.
19986
20053
  # @return [Array<Types::TargetLocation>]
19987
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
+ #
19988
20075
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
19989
20076
  #
19990
20077
  class UpdateAssociationRequest < Struct.new(
@@ -20004,7 +20091,8 @@ module Aws::SSM
20004
20091
  :sync_compliance,
20005
20092
  :apply_only_at_cron_interval,
20006
20093
  :calendar_names,
20007
- :target_locations)
20094
+ :target_locations,
20095
+ :schedule_offset)
20008
20096
  SENSITIVE = [:parameters]
20009
20097
  include Aws::Structure
20010
20098
  end
@@ -20206,6 +20294,12 @@ module Aws::SSM
20206
20294
  # Systems Manager supports updating only the latest version of the
20207
20295
  # document. You can specify the version number of the latest version
20208
20296
  # or use the `$LATEST` variable.
20297
+ #
20298
+ # <note markdown="1"> If you change a document version for a State Manager association,
20299
+ # Systems Manager immediately runs the association unless you
20300
+ # previously specifed the `apply-only-at-cron-interval` parameter.
20301
+ #
20302
+ # </note>
20209
20303
  # @return [String]
20210
20304
  #
20211
20305
  # @!attribute [rw] document_format
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.132.0'
52
+ GEM_VERSION = '1.135.0'
53
53
 
54
54
  end
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.132.0
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-02-24 00:00:00.000000000 Z
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