aws-sdk-ssm 1.143.0 → 1.145.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c978c2844ef2463b5b07c7449198f6c17958e6d71bb5dff02166deb87df19f73
4
- data.tar.gz: b2a56e99f9fac1069f7293afdc628a91da5fa3c07ce7166624712a8b92e5336c
3
+ metadata.gz: f4df763ac4c3ef285412a65d4887525b9307f6a2c162d61aaf39b03083e67a76
4
+ data.tar.gz: 81d2827e2472333d871b4e045305759909decb4e7c43df205921285e3754aa77
5
5
  SHA512:
6
- metadata.gz: 52b11837ce118b744953d4c7d2450512ee370bda3dc02535d578c7254894cb4aef8192ee97d6f4f3ae4c0673f495d6d0ba45805727026d939931652ef5690c2a
7
- data.tar.gz: ecacf0e92df3d57452ade0ec7b67a1d9782d424e8f93ca2be24d9b6568135f8743bcf5e588ec08063f1886e8cea9c3ff055e7cdf5de35ccb0e355d6c7bc196e1
6
+ metadata.gz: 88ebd26902f41e82c78591109018c347a19dcc5cd493462ed5097fe5de64d4a4290ef585311bdface7cbe7faacf5979fcdc94ae4965452221409dbb2af797b69
7
+ data.tar.gz: fc967ad47d3e5d270c429530087adb0665a43b3df5acf367073dd99a84c50d50ee28d8587d493af52e655190bcb1ef3ddb7e7eb05f3226679969e2487501c2c9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.145.0 (2022-11-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for cross account access in CreateOpsItem, UpdateOpsItem and GetOpsItem. It introduces new APIs to setup resource policies for SSM resources: PutResourcePolicy, GetResourcePolicies and DeleteResourcePolicy.
8
+
9
+ 1.144.0 (2022-11-07)
10
+ ------------------
11
+
12
+ * Feature - This release includes support for applying a CloudWatch alarm to multi account multi region Systems Manager Automation
13
+
4
14
  1.143.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.143.0
1
+ 1.145.0
@@ -640,6 +640,11 @@ module Aws::SSM
640
640
  # [Create an IAM service role for a hybrid environment][1] in the
641
641
  # *Amazon Web Services Systems Manager User Guide*.
642
642
  #
643
+ # <note markdown="1"> You can't specify an IAM service-linked role for this parameter. You
644
+ # must create a unique role.
645
+ #
646
+ # </note>
647
+ #
643
648
  #
644
649
  #
645
650
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
@@ -968,6 +973,14 @@ module Aws::SSM
968
973
  # target_location_max_concurrency: "MaxConcurrency",
969
974
  # target_location_max_errors: "MaxErrors",
970
975
  # execution_role_name: "ExecutionRoleName",
976
+ # target_location_alarm_configuration: {
977
+ # ignore_poll_alarm_failure: false,
978
+ # alarms: [ # required
979
+ # {
980
+ # name: "AlarmName", # required
981
+ # },
982
+ # ],
983
+ # },
971
984
  # },
972
985
  # ],
973
986
  # schedule_offset: 1,
@@ -1039,6 +1052,9 @@ module Aws::SSM
1039
1052
  # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
1040
1053
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
1041
1054
  # resp.association_description.target_locations[0].execution_role_name #=> String
1055
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1056
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
1057
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
1042
1058
  # resp.association_description.schedule_offset #=> Integer
1043
1059
  # resp.association_description.target_maps #=> Array
1044
1060
  # resp.association_description.target_maps[0] #=> Hash
@@ -1120,6 +1136,14 @@ module Aws::SSM
1120
1136
  # target_location_max_concurrency: "MaxConcurrency",
1121
1137
  # target_location_max_errors: "MaxErrors",
1122
1138
  # execution_role_name: "ExecutionRoleName",
1139
+ # target_location_alarm_configuration: {
1140
+ # ignore_poll_alarm_failure: false,
1141
+ # alarms: [ # required
1142
+ # {
1143
+ # name: "AlarmName", # required
1144
+ # },
1145
+ # ],
1146
+ # },
1123
1147
  # },
1124
1148
  # ],
1125
1149
  # schedule_offset: 1,
@@ -1188,6 +1212,9 @@ module Aws::SSM
1188
1212
  # resp.successful[0].target_locations[0].target_location_max_concurrency #=> String
1189
1213
  # resp.successful[0].target_locations[0].target_location_max_errors #=> String
1190
1214
  # resp.successful[0].target_locations[0].execution_role_name #=> String
1215
+ # resp.successful[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1216
+ # resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
1217
+ # resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
1191
1218
  # resp.successful[0].schedule_offset #=> Integer
1192
1219
  # resp.successful[0].target_maps #=> Array
1193
1220
  # resp.successful[0].target_maps[0] #=> Hash
@@ -1231,6 +1258,9 @@ module Aws::SSM
1231
1258
  # resp.failed[0].entry.target_locations[0].target_location_max_concurrency #=> String
1232
1259
  # resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
1233
1260
  # resp.failed[0].entry.target_locations[0].execution_role_name #=> String
1261
+ # resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1262
+ # resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms #=> Array
1263
+ # resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
1234
1264
  # resp.failed[0].entry.schedule_offset #=> Integer
1235
1265
  # resp.failed[0].entry.target_maps #=> Array
1236
1266
  # resp.failed[0].entry.target_maps[0] #=> Hash
@@ -1615,8 +1645,23 @@ module Aws::SSM
1615
1645
  # Information about the OpsItem.
1616
1646
  #
1617
1647
  # @option params [String] :ops_item_type
1618
- # The type of OpsItem to create. Currently, the only valid values are
1619
- # `/aws/changerequest` and `/aws/issue`.
1648
+ # The type of OpsItem to create. Systems Manager supports the following
1649
+ # types of OpsItems:
1650
+ #
1651
+ # * `/aws/issue`
1652
+ #
1653
+ # This type of OpsItem is used for default OpsItems created by
1654
+ # OpsCenter.
1655
+ #
1656
+ # * `/aws/changerequest`
1657
+ #
1658
+ # This type of OpsItem is used by Change Manager for reviewing and
1659
+ # approving or rejecting change requests.
1660
+ #
1661
+ # * `/aws/insights`
1662
+ #
1663
+ # This type of OpsItem is used by OpsCenter for aggregating and
1664
+ # reporting on duplicate OpsItems.
1620
1665
  #
1621
1666
  # @option params [Hash<String,Types::OpsItemDataValue>] :operational_data
1622
1667
  # Operational data is custom data that provides useful reference details
@@ -1715,9 +1760,21 @@ module Aws::SSM
1715
1760
  # The time specified in a change request for a runbook workflow to end.
1716
1761
  # Currently supported only for the OpsItem type `/aws/changerequest`.
1717
1762
  #
1763
+ # @option params [String] :account_id
1764
+ # The target Amazon Web Services account where you want to create an
1765
+ # OpsItem. To make this call, your account must be configured to work
1766
+ # with OpsItems across accounts. For more information, see [Setting up
1767
+ # OpsCenter to work with OpsItems across accounts][1] in the *Amazon Web
1768
+ # Services Systems Manager User Guide*.
1769
+ #
1770
+ #
1771
+ #
1772
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-OpsCenter-multiple-accounts.html
1773
+ #
1718
1774
  # @return [Types::CreateOpsItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1719
1775
  #
1720
1776
  # * {Types::CreateOpsItemResponse#ops_item_id #ops_item_id} => String
1777
+ # * {Types::CreateOpsItemResponse#ops_item_arn #ops_item_arn} => String
1721
1778
  #
1722
1779
  # @example Request syntax with placeholder values
1723
1780
  #
@@ -1755,11 +1812,13 @@ module Aws::SSM
1755
1812
  # actual_end_time: Time.now,
1756
1813
  # planned_start_time: Time.now,
1757
1814
  # planned_end_time: Time.now,
1815
+ # account_id: "OpsItemAccountId",
1758
1816
  # })
1759
1817
  #
1760
1818
  # @example Response structure
1761
1819
  #
1762
1820
  # resp.ops_item_id #=> String
1821
+ # resp.ops_item_arn #=> String
1763
1822
  #
1764
1823
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItem AWS API Documentation
1765
1824
  #
@@ -2452,6 +2511,44 @@ module Aws::SSM
2452
2511
  req.send_request(options)
2453
2512
  end
2454
2513
 
2514
+ # Deletes a Systems Manager resource policy. A resource policy helps you
2515
+ # to define the IAM entity (for example, an Amazon Web Services account)
2516
+ # that can manage your Systems Manager resources. Currently,
2517
+ # `OpsItemGroup` is the only resource that supports Systems Manager
2518
+ # resource policies. The resource policy for `OpsItemGroup` enables
2519
+ # Amazon Web Services accounts to view and interact with OpsCenter
2520
+ # operational work items (OpsItems).
2521
+ #
2522
+ # @option params [required, String] :resource_arn
2523
+ # Amazon Resource Name (ARN) of the resource to which the policies are
2524
+ # attached.
2525
+ #
2526
+ # @option params [required, String] :policy_id
2527
+ # The policy ID.
2528
+ #
2529
+ # @option params [required, String] :policy_hash
2530
+ # ID of the current policy version. The hash helps to prevent multiple
2531
+ # calls from attempting to overwrite a policy.
2532
+ #
2533
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2534
+ #
2535
+ # @example Request syntax with placeholder values
2536
+ #
2537
+ # resp = client.delete_resource_policy({
2538
+ # resource_arn: "ResourceArnString", # required
2539
+ # policy_id: "PolicyId", # required
2540
+ # policy_hash: "PolicyHash", # required
2541
+ # })
2542
+ #
2543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicy AWS API Documentation
2544
+ #
2545
+ # @overload delete_resource_policy(params = {})
2546
+ # @param [Hash] params ({})
2547
+ def delete_resource_policy(params = {}, options = {})
2548
+ req = build_request(:delete_resource_policy, params)
2549
+ req.send_request(options)
2550
+ end
2551
+
2455
2552
  # Removes the server or virtual machine from the list of registered
2456
2553
  # servers. You can reregister the node again at any time. If you don't
2457
2554
  # plan to use Run Command on the server, we suggest uninstalling SSM
@@ -2730,6 +2827,9 @@ module Aws::SSM
2730
2827
  # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
2731
2828
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
2732
2829
  # resp.association_description.target_locations[0].execution_role_name #=> String
2830
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
2831
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
2832
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
2733
2833
  # resp.association_description.schedule_offset #=> Integer
2734
2834
  # resp.association_description.target_maps #=> Array
2735
2835
  # resp.association_description.target_maps[0] #=> Hash
@@ -3004,6 +3104,9 @@ module Aws::SSM
3004
3104
  # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_max_concurrency #=> String
3005
3105
  # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_max_errors #=> String
3006
3106
  # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].execution_role_name #=> String
3107
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
3108
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
3109
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
3007
3110
  # resp.automation_execution_metadata_list[0].ops_item_id #=> String
3008
3111
  # resp.automation_execution_metadata_list[0].association_id #=> String
3009
3112
  # resp.automation_execution_metadata_list[0].change_request_name #=> String
@@ -3108,6 +3211,12 @@ module Aws::SSM
3108
3211
  # resp.step_executions[0].target_location.target_location_max_concurrency #=> String
3109
3212
  # resp.step_executions[0].target_location.target_location_max_errors #=> String
3110
3213
  # resp.step_executions[0].target_location.execution_role_name #=> String
3214
+ # resp.step_executions[0].target_location.target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
3215
+ # resp.step_executions[0].target_location.target_location_alarm_configuration.alarms #=> Array
3216
+ # resp.step_executions[0].target_location.target_location_alarm_configuration.alarms[0].name #=> String
3217
+ # resp.step_executions[0].triggered_alarms #=> Array
3218
+ # resp.step_executions[0].triggered_alarms[0].name #=> String
3219
+ # resp.step_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
3111
3220
  # resp.next_token #=> String
3112
3221
  #
3113
3222
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions AWS API Documentation
@@ -4632,7 +4741,7 @@ module Aws::SSM
4632
4741
  # resp = client.describe_ops_items({
4633
4742
  # ops_item_filters: [
4634
4743
  # {
4635
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup, InsightByType
4744
+ # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup, InsightByType, AccountId
4636
4745
  # values: ["OpsItemFilterValue"], # required
4637
4746
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
4638
4747
  # },
@@ -5207,6 +5316,12 @@ module Aws::SSM
5207
5316
  # resp.automation_execution.step_executions[0].target_location.target_location_max_concurrency #=> String
5208
5317
  # resp.automation_execution.step_executions[0].target_location.target_location_max_errors #=> String
5209
5318
  # resp.automation_execution.step_executions[0].target_location.execution_role_name #=> String
5319
+ # resp.automation_execution.step_executions[0].target_location.target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
5320
+ # resp.automation_execution.step_executions[0].target_location.target_location_alarm_configuration.alarms #=> Array
5321
+ # resp.automation_execution.step_executions[0].target_location.target_location_alarm_configuration.alarms[0].name #=> String
5322
+ # resp.automation_execution.step_executions[0].triggered_alarms #=> Array
5323
+ # resp.automation_execution.step_executions[0].triggered_alarms[0].name #=> String
5324
+ # resp.automation_execution.step_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
5210
5325
  # resp.automation_execution.step_executions_truncated #=> Boolean
5211
5326
  # resp.automation_execution.parameters #=> Hash
5212
5327
  # resp.automation_execution.parameters["AutomationParameterKey"] #=> Array
@@ -5243,6 +5358,9 @@ module Aws::SSM
5243
5358
  # resp.automation_execution.target_locations[0].target_location_max_concurrency #=> String
5244
5359
  # resp.automation_execution.target_locations[0].target_location_max_errors #=> String
5245
5360
  # resp.automation_execution.target_locations[0].execution_role_name #=> String
5361
+ # resp.automation_execution.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
5362
+ # resp.automation_execution.target_locations[0].target_location_alarm_configuration.alarms #=> Array
5363
+ # resp.automation_execution.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
5246
5364
  # resp.automation_execution.progress_counters.total_steps #=> Integer
5247
5365
  # resp.automation_execution.progress_counters.success_steps #=> Integer
5248
5366
  # resp.automation_execution.progress_counters.failed_steps #=> Integer
@@ -5281,6 +5399,9 @@ module Aws::SSM
5281
5399
  # resp.automation_execution.runbooks[0].target_locations[0].target_location_max_concurrency #=> String
5282
5400
  # resp.automation_execution.runbooks[0].target_locations[0].target_location_max_errors #=> String
5283
5401
  # resp.automation_execution.runbooks[0].target_locations[0].execution_role_name #=> String
5402
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
5403
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
5404
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
5284
5405
  # resp.automation_execution.ops_item_id #=> String
5285
5406
  # resp.automation_execution.association_id #=> String
5286
5407
  # resp.automation_execution.change_request_name #=> String
@@ -6203,6 +6324,9 @@ module Aws::SSM
6203
6324
  # @option params [required, String] :ops_item_id
6204
6325
  # The ID of the OpsItem that you want to get.
6205
6326
  #
6327
+ # @option params [String] :ops_item_arn
6328
+ # The OpsItem Amazon Resource Name (ARN).
6329
+ #
6206
6330
  # @return [Types::GetOpsItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6207
6331
  #
6208
6332
  # * {Types::GetOpsItemResponse#ops_item #ops_item} => Types::OpsItem
@@ -6211,6 +6335,7 @@ module Aws::SSM
6211
6335
  #
6212
6336
  # resp = client.get_ops_item({
6213
6337
  # ops_item_id: "OpsItemId", # required
6338
+ # ops_item_arn: "OpsItemArn",
6214
6339
  # })
6215
6340
  #
6216
6341
  # @example Response structure
@@ -6240,6 +6365,7 @@ module Aws::SSM
6240
6365
  # resp.ops_item.actual_end_time #=> Time
6241
6366
  # resp.ops_item.planned_start_time #=> Time
6242
6367
  # resp.ops_item.planned_end_time #=> Time
6368
+ # resp.ops_item.ops_item_arn #=> String
6243
6369
  #
6244
6370
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem AWS API Documentation
6245
6371
  #
@@ -6787,6 +6913,53 @@ module Aws::SSM
6787
6913
  req.send_request(options)
6788
6914
  end
6789
6915
 
6916
+ # Returns an array of the `Policy` object.
6917
+ #
6918
+ # @option params [required, String] :resource_arn
6919
+ # Amazon Resource Name (ARN) of the resource to which the policies are
6920
+ # attached.
6921
+ #
6922
+ # @option params [String] :next_token
6923
+ # A token to start the list. Use this token to get the next set of
6924
+ # results.
6925
+ #
6926
+ # @option params [Integer] :max_results
6927
+ # The maximum number of items to return for this call. The call also
6928
+ # returns a token that you can specify in a subsequent call to get the
6929
+ # next set of results.
6930
+ #
6931
+ # @return [Types::GetResourcePoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6932
+ #
6933
+ # * {Types::GetResourcePoliciesResponse#next_token #next_token} => String
6934
+ # * {Types::GetResourcePoliciesResponse#policies #policies} => Array&lt;Types::GetResourcePoliciesResponseEntry&gt;
6935
+ #
6936
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6937
+ #
6938
+ # @example Request syntax with placeholder values
6939
+ #
6940
+ # resp = client.get_resource_policies({
6941
+ # resource_arn: "ResourceArnString", # required
6942
+ # next_token: "String",
6943
+ # max_results: 1,
6944
+ # })
6945
+ #
6946
+ # @example Response structure
6947
+ #
6948
+ # resp.next_token #=> String
6949
+ # resp.policies #=> Array
6950
+ # resp.policies[0].policy_id #=> String
6951
+ # resp.policies[0].policy_hash #=> String
6952
+ # resp.policies[0].policy #=> String
6953
+ #
6954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetResourcePolicies AWS API Documentation
6955
+ #
6956
+ # @overload get_resource_policies(params = {})
6957
+ # @param [Hash] params ({})
6958
+ def get_resource_policies(params = {}, options = {})
6959
+ req = build_request(:get_resource_policies, params)
6960
+ req.send_request(options)
6961
+ end
6962
+
6790
6963
  # `ServiceSetting` is an account-level setting for an Amazon Web
6791
6964
  # Services service. This setting defines how a user interacts with or
6792
6965
  # uses a service or a feature of a service. For example, if an Amazon
@@ -6989,6 +7162,9 @@ module Aws::SSM
6989
7162
  # resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
6990
7163
  # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6991
7164
  # resp.association_versions[0].target_locations[0].execution_role_name #=> String
7165
+ # resp.association_versions[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
7166
+ # resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
7167
+ # resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
6992
7168
  # resp.association_versions[0].schedule_offset #=> Integer
6993
7169
  # resp.association_versions[0].target_maps #=> Array
6994
7170
  # resp.association_versions[0].target_maps[0] #=> Hash
@@ -8600,6 +8776,56 @@ module Aws::SSM
8600
8776
  req.send_request(options)
8601
8777
  end
8602
8778
 
8779
+ # Creates or updates a Systems Manager resource policy. A resource
8780
+ # policy helps you to define the IAM entity (for example, an Amazon Web
8781
+ # Services account) that can manage your Systems Manager resources.
8782
+ # Currently, `OpsItemGroup` is the only resource that supports Systems
8783
+ # Manager resource policies. The resource policy for `OpsItemGroup`
8784
+ # enables Amazon Web Services accounts to view and interact with
8785
+ # OpsCenter operational work items (OpsItems).
8786
+ #
8787
+ # @option params [required, String] :resource_arn
8788
+ # Amazon Resource Name (ARN) of the resource to which the policies are
8789
+ # attached.
8790
+ #
8791
+ # @option params [required, String] :policy
8792
+ # A policy you want to associate with a resource.
8793
+ #
8794
+ # @option params [String] :policy_id
8795
+ # The policy ID.
8796
+ #
8797
+ # @option params [String] :policy_hash
8798
+ # ID of the current policy version. The hash helps to prevent a
8799
+ # situation where multiple users attempt to overwrite a policy.
8800
+ #
8801
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8802
+ #
8803
+ # * {Types::PutResourcePolicyResponse#policy_id #policy_id} => String
8804
+ # * {Types::PutResourcePolicyResponse#policy_hash #policy_hash} => String
8805
+ #
8806
+ # @example Request syntax with placeholder values
8807
+ #
8808
+ # resp = client.put_resource_policy({
8809
+ # resource_arn: "ResourceArnString", # required
8810
+ # policy: "Policy", # required
8811
+ # policy_id: "PolicyId",
8812
+ # policy_hash: "PolicyHash",
8813
+ # })
8814
+ #
8815
+ # @example Response structure
8816
+ #
8817
+ # resp.policy_id #=> String
8818
+ # resp.policy_hash #=> String
8819
+ #
8820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutResourcePolicy AWS API Documentation
8821
+ #
8822
+ # @overload put_resource_policy(params = {})
8823
+ # @param [Hash] params ({})
8824
+ def put_resource_policy(params = {}, options = {})
8825
+ req = build_request(:put_resource_policy, params)
8826
+ req.send_request(options)
8827
+ end
8828
+
8603
8829
  # Defines the default patch baseline for the relevant operating system.
8604
8830
  #
8605
8831
  # To reset the Amazon Web Services-predefined patch baseline as the
@@ -9674,6 +9900,14 @@ module Aws::SSM
9674
9900
  # target_location_max_concurrency: "MaxConcurrency",
9675
9901
  # target_location_max_errors: "MaxErrors",
9676
9902
  # execution_role_name: "ExecutionRoleName",
9903
+ # target_location_alarm_configuration: {
9904
+ # ignore_poll_alarm_failure: false,
9905
+ # alarms: [ # required
9906
+ # {
9907
+ # name: "AlarmName", # required
9908
+ # },
9909
+ # ],
9910
+ # },
9677
9911
  # },
9678
9912
  # ],
9679
9913
  # tags: [
@@ -9831,6 +10065,14 @@ module Aws::SSM
9831
10065
  # target_location_max_concurrency: "MaxConcurrency",
9832
10066
  # target_location_max_errors: "MaxErrors",
9833
10067
  # execution_role_name: "ExecutionRoleName",
10068
+ # target_location_alarm_configuration: {
10069
+ # ignore_poll_alarm_failure: false,
10070
+ # alarms: [ # required
10071
+ # {
10072
+ # name: "AlarmName", # required
10073
+ # },
10074
+ # ],
10075
+ # },
9834
10076
  # },
9835
10077
  # ],
9836
10078
  # },
@@ -10284,6 +10526,14 @@ module Aws::SSM
10284
10526
  # target_location_max_concurrency: "MaxConcurrency",
10285
10527
  # target_location_max_errors: "MaxErrors",
10286
10528
  # execution_role_name: "ExecutionRoleName",
10529
+ # target_location_alarm_configuration: {
10530
+ # ignore_poll_alarm_failure: false,
10531
+ # alarms: [ # required
10532
+ # {
10533
+ # name: "AlarmName", # required
10534
+ # },
10535
+ # ],
10536
+ # },
10287
10537
  # },
10288
10538
  # ],
10289
10539
  # schedule_offset: 1,
@@ -10349,6 +10599,9 @@ module Aws::SSM
10349
10599
  # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
10350
10600
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10351
10601
  # resp.association_description.target_locations[0].execution_role_name #=> String
10602
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
10603
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
10604
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
10352
10605
  # resp.association_description.schedule_offset #=> Integer
10353
10606
  # resp.association_description.target_maps #=> Array
10354
10607
  # resp.association_description.target_maps[0] #=> Hash
@@ -10451,6 +10704,9 @@ module Aws::SSM
10451
10704
  # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
10452
10705
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10453
10706
  # resp.association_description.target_locations[0].execution_role_name #=> String
10707
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
10708
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
10709
+ # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
10454
10710
  # resp.association_description.schedule_offset #=> Integer
10455
10711
  # resp.association_description.target_maps #=> Array
10456
10712
  # resp.association_description.target_maps[0] #=> Hash
@@ -11294,7 +11550,21 @@ module Aws::SSM
11294
11550
  # The ID of the managed node where you want to update the role.
11295
11551
  #
11296
11552
  # @option params [required, String] :iam_role
11297
- # The IAM role you want to assign or change.
11553
+ # The name of the Identity and Access Management (IAM) role that you
11554
+ # want to assign to the managed node. This IAM role must provide
11555
+ # AssumeRole permissions for the Amazon Web Services Systems Manager
11556
+ # service principal `ssm.amazonaws.com`. For more information, see
11557
+ # [Create an IAM service role for a hybrid environment][1] in the
11558
+ # *Amazon Web Services Systems Manager User Guide*.
11559
+ #
11560
+ # <note markdown="1"> You can't specify an IAM service-linked role for this parameter. You
11561
+ # must create a unique role.
11562
+ #
11563
+ # </note>
11564
+ #
11565
+ #
11566
+ #
11567
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
11298
11568
  #
11299
11569
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
11300
11570
  #
@@ -11424,6 +11694,9 @@ module Aws::SSM
11424
11694
  # The time specified in a change request for a runbook workflow to end.
11425
11695
  # Currently supported only for the OpsItem type `/aws/changerequest`.
11426
11696
  #
11697
+ # @option params [String] :ops_item_arn
11698
+ # The OpsItem Amazon Resource Name (ARN).
11699
+ #
11427
11700
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
11428
11701
  #
11429
11702
  # @example Request syntax with placeholder values
@@ -11457,6 +11730,7 @@ module Aws::SSM
11457
11730
  # actual_end_time: Time.now,
11458
11731
  # planned_start_time: Time.now,
11459
11732
  # planned_end_time: Time.now,
11733
+ # ops_item_arn: "OpsItemArn",
11460
11734
  # })
11461
11735
  #
11462
11736
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem AWS API Documentation
@@ -11844,7 +12118,7 @@ module Aws::SSM
11844
12118
  params: params,
11845
12119
  config: config)
11846
12120
  context[:gem_name] = 'aws-sdk-ssm'
11847
- context[:gem_version] = '1.143.0'
12121
+ context[:gem_version] = '1.145.0'
11848
12122
  Seahorse::Client::Request.new(handlers, context)
11849
12123
  end
11850
12124