aws-sdk-ssm 1.96.0 → 1.101.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: c9a49c5f7c8fd230a389cbd929bdc633848dfd43303712d84b4894d6cc13a41d
4
- data.tar.gz: 72e8a1b93ae63ef70a9359dd55cce7a8162fc761a9fdf1e329f0cbd33b507f62
3
+ metadata.gz: e292c9122019973744a4fa0856a0600224a4da16d3dc8cfc22596ceab5a69e40
4
+ data.tar.gz: 7aa34e0fb5d9e7a0381d38eb14dd817c29c6b77fbfd9ee1e0305f519eaaf451d
5
5
  SHA512:
6
- metadata.gz: 1b9b1e3e606a7b4adfbe7e40da965abe4a7d1be8c748549cd3e5bc7b90dbb7db537006a14854de55c615d9183a7ae7c80f301c12ab47a76e569fc99bfeaf1d07
7
- data.tar.gz: 7d5af9d613045c2863aea54ac2a166f70cd67f7f2d77bb6981fe23b08c291e76d62f762567232cf2244d694756a83496256d17941f588b70f4e7123f698905f6
6
+ metadata.gz: 12e4709796c0f57c99f5d5e04a71e9f0dc1af6c5a318b5501b241c9ce994c599e22d97f8760393f305c68fcf1bc46898c24e1c86a2437f3eff4aff6b2b0793cf
7
+ data.tar.gz: 4bb872ab8dd90306105e666df7a852a2e039c4f68ce0195c7a9186688a7c919c0655f2b5ef3f35ab32b23389f6be1022ffd1e196cdef1291ca511a55b36e7283
@@ -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.96.0'
52
+ GEM_VERSION = '1.101.0'
53
53
 
54
54
  end
@@ -731,7 +731,13 @@ module Aws::SSM
731
731
  # By default, when you create a new associations, the system runs it
732
732
  # immediately after it is created and then according to the schedule you
733
733
  # specified. Specify this option if you don't want an association to
734
- # run immediately after you create it.
734
+ # run immediately after you create it. This parameter is not supported
735
+ # for rate expressions.
736
+ #
737
+ # @option params [Array<Types::TargetLocation>] :target_locations
738
+ # A location is a combination of AWS Regions and AWS accounts where you
739
+ # want to run the association. Use this action to create an association
740
+ # in multiple Regions and multiple accounts.
735
741
  #
736
742
  # @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
737
743
  #
@@ -767,6 +773,15 @@ module Aws::SSM
767
773
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
768
774
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
769
775
  # apply_only_at_cron_interval: false,
776
+ # target_locations: [
777
+ # {
778
+ # accounts: ["Account"],
779
+ # regions: ["Region"],
780
+ # target_location_max_concurrency: "MaxConcurrency",
781
+ # target_location_max_errors: "MaxErrors",
782
+ # execution_role_name: "ExecutionRoleName",
783
+ # },
784
+ # ],
770
785
  # })
771
786
  #
772
787
  # @example Response structure
@@ -806,6 +821,14 @@ module Aws::SSM
806
821
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
807
822
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
808
823
  # resp.association_description.apply_only_at_cron_interval #=> Boolean
824
+ # resp.association_description.target_locations #=> Array
825
+ # resp.association_description.target_locations[0].accounts #=> Array
826
+ # resp.association_description.target_locations[0].accounts[0] #=> String
827
+ # resp.association_description.target_locations[0].regions #=> Array
828
+ # resp.association_description.target_locations[0].regions[0] #=> String
829
+ # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
830
+ # resp.association_description.target_locations[0].target_location_max_errors #=> String
831
+ # resp.association_description.target_locations[0].execution_role_name #=> String
809
832
  #
810
833
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
811
834
  #
@@ -867,6 +890,15 @@ module Aws::SSM
867
890
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
868
891
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
869
892
  # apply_only_at_cron_interval: false,
893
+ # target_locations: [
894
+ # {
895
+ # accounts: ["Account"],
896
+ # regions: ["Region"],
897
+ # target_location_max_concurrency: "MaxConcurrency",
898
+ # target_location_max_errors: "MaxErrors",
899
+ # execution_role_name: "ExecutionRoleName",
900
+ # },
901
+ # ],
870
902
  # },
871
903
  # ],
872
904
  # })
@@ -909,6 +941,14 @@ module Aws::SSM
909
941
  # resp.successful[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
910
942
  # resp.successful[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
911
943
  # resp.successful[0].apply_only_at_cron_interval #=> Boolean
944
+ # resp.successful[0].target_locations #=> Array
945
+ # resp.successful[0].target_locations[0].accounts #=> Array
946
+ # resp.successful[0].target_locations[0].accounts[0] #=> String
947
+ # resp.successful[0].target_locations[0].regions #=> Array
948
+ # resp.successful[0].target_locations[0].regions[0] #=> String
949
+ # resp.successful[0].target_locations[0].target_location_max_concurrency #=> String
950
+ # resp.successful[0].target_locations[0].target_location_max_errors #=> String
951
+ # resp.successful[0].target_locations[0].execution_role_name #=> String
912
952
  # resp.failed #=> Array
913
953
  # resp.failed[0].entry.name #=> String
914
954
  # resp.failed[0].entry.instance_id #=> String
@@ -931,6 +971,14 @@ module Aws::SSM
931
971
  # resp.failed[0].entry.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
932
972
  # resp.failed[0].entry.sync_compliance #=> String, one of "AUTO", "MANUAL"
933
973
  # resp.failed[0].entry.apply_only_at_cron_interval #=> Boolean
974
+ # resp.failed[0].entry.target_locations #=> Array
975
+ # resp.failed[0].entry.target_locations[0].accounts #=> Array
976
+ # resp.failed[0].entry.target_locations[0].accounts[0] #=> String
977
+ # resp.failed[0].entry.target_locations[0].regions #=> Array
978
+ # resp.failed[0].entry.target_locations[0].regions[0] #=> String
979
+ # resp.failed[0].entry.target_locations[0].target_location_max_concurrency #=> String
980
+ # resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
981
+ # resp.failed[0].entry.target_locations[0].execution_role_name #=> String
934
982
  # resp.failed[0].message #=> String
935
983
  # resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
936
984
  #
@@ -1067,7 +1115,7 @@ module Aws::SSM
1067
1115
  # ],
1068
1116
  # name: "DocumentName", # required
1069
1117
  # version_name: "DocumentVersionName",
1070
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar
1118
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate
1071
1119
  # document_format: "YAML", # accepts YAML, JSON, TEXT
1072
1120
  # target_type: "TargetType",
1073
1121
  # tags: [
@@ -1098,7 +1146,7 @@ module Aws::SSM
1098
1146
  # resp.document_description.parameters[0].default_value #=> String
1099
1147
  # resp.document_description.platform_types #=> Array
1100
1148
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
1101
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
1149
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
1102
1150
  # resp.document_description.schema_version #=> String
1103
1151
  # resp.document_description.latest_version #=> String
1104
1152
  # resp.document_description.default_version #=> String
@@ -1112,6 +1160,14 @@ module Aws::SSM
1112
1160
  # resp.document_description.requires #=> Array
1113
1161
  # resp.document_description.requires[0].name #=> String
1114
1162
  # resp.document_description.requires[0].version #=> String
1163
+ # resp.document_description.author #=> String
1164
+ # resp.document_description.review_information #=> Array
1165
+ # resp.document_description.review_information[0].reviewed_time #=> Time
1166
+ # resp.document_description.review_information[0].status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
1167
+ # resp.document_description.review_information[0].reviewer #=> String
1168
+ # resp.document_description.approved_version #=> String
1169
+ # resp.document_description.pending_review_version #=> String
1170
+ # resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
1115
1171
  #
1116
1172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
1117
1173
  #
@@ -1160,7 +1216,7 @@ module Aws::SSM
1160
1216
  # @option params [String] :schedule_timezone
1161
1217
  # The time zone that the scheduled maintenance window executions are
1162
1218
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
1163
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
1219
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
1164
1220
  # more information, see the [Time Zone Database][1] on the IANA website.
1165
1221
  #
1166
1222
  #
@@ -1174,7 +1230,7 @@ module Aws::SSM
1174
1230
  # For example, the following cron expression schedules a maintenance
1175
1231
  # window to run on the third Tuesday of every month at 11:30 PM.
1176
1232
  #
1177
- # `cron(0 30 23 ? * TUE#3 *)`
1233
+ # `cron(30 23 ? * TUE#3 *)`
1178
1234
  #
1179
1235
  # If the schedule offset is `2`, the maintenance window won't run until
1180
1236
  # two days later.
@@ -1279,6 +1335,10 @@ module Aws::SSM
1279
1335
  # @option params [required, String] :description
1280
1336
  # Information about the OpsItem.
1281
1337
  #
1338
+ # @option params [String] :ops_item_type
1339
+ # The type of OpsItem to create. Currently, the only valid values are
1340
+ # `/aws/changerequest` and `/aws/issue`.
1341
+ #
1282
1342
  # @option params [Hash<String,Types::OpsItemDataValue>] :operational_data
1283
1343
  # Operational data is custom data that provides useful reference details
1284
1344
  # about the OpsItem. For example, you can specify log files, error
@@ -1357,6 +1417,23 @@ module Aws::SSM
1357
1417
  # @option params [String] :severity
1358
1418
  # Specify a severity to assign to an OpsItem.
1359
1419
  #
1420
+ # @option params [Time,DateTime,Date,Integer,String] :actual_start_time
1421
+ # The time a runbook workflow started. Currently reported only for the
1422
+ # OpsItem type `/aws/changerequest`.
1423
+ #
1424
+ # @option params [Time,DateTime,Date,Integer,String] :actual_end_time
1425
+ # The time a runbook workflow ended. Currently reported only for the
1426
+ # OpsItem type `/aws/changerequest`.
1427
+ #
1428
+ # @option params [Time,DateTime,Date,Integer,String] :planned_start_time
1429
+ # The time specified in a change request for a runbook workflow to
1430
+ # start. Currently supported only for the OpsItem type
1431
+ # `/aws/changerequest`.
1432
+ #
1433
+ # @option params [Time,DateTime,Date,Integer,String] :planned_end_time
1434
+ # The time specified in a change request for a runbook workflow to end.
1435
+ # Currently supported only for the OpsItem type `/aws/changerequest`.
1436
+ #
1360
1437
  # @return [Types::CreateOpsItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1361
1438
  #
1362
1439
  # * {Types::CreateOpsItemResponse#ops_item_id #ops_item_id} => String
@@ -1365,6 +1442,7 @@ module Aws::SSM
1365
1442
  #
1366
1443
  # resp = client.create_ops_item({
1367
1444
  # description: "OpsItemDescription", # required
1445
+ # ops_item_type: "OpsItemType",
1368
1446
  # operational_data: {
1369
1447
  # "OpsItemDataKey" => {
1370
1448
  # value: "OpsItemDataValueString",
@@ -1392,6 +1470,10 @@ module Aws::SSM
1392
1470
  # ],
1393
1471
  # category: "OpsItemCategory",
1394
1472
  # severity: "OpsItemSeverity",
1473
+ # actual_start_time: Time.now,
1474
+ # actual_end_time: Time.now,
1475
+ # planned_start_time: Time.now,
1476
+ # planned_end_time: Time.now,
1395
1477
  # })
1396
1478
  #
1397
1479
  # @example Response structure
@@ -1407,6 +1489,44 @@ module Aws::SSM
1407
1489
  req.send_request(options)
1408
1490
  end
1409
1491
 
1492
+ # If you create a new application in Application Manager, Systems
1493
+ # Manager calls this API action to specify information about the new
1494
+ # application, including the application type.
1495
+ #
1496
+ # @option params [required, String] :resource_id
1497
+ # A resource ID for a new Application Manager application.
1498
+ #
1499
+ # @option params [Hash<String,Types::MetadataValue>] :metadata
1500
+ # Metadata for a new Application Manager application.
1501
+ #
1502
+ # @return [Types::CreateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1503
+ #
1504
+ # * {Types::CreateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
1505
+ #
1506
+ # @example Request syntax with placeholder values
1507
+ #
1508
+ # resp = client.create_ops_metadata({
1509
+ # resource_id: "OpsMetadataResourceId", # required
1510
+ # metadata: {
1511
+ # "MetadataKey" => {
1512
+ # value: "MetadataValueString",
1513
+ # },
1514
+ # },
1515
+ # })
1516
+ #
1517
+ # @example Response structure
1518
+ #
1519
+ # resp.ops_metadata_arn #=> String
1520
+ #
1521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadata AWS API Documentation
1522
+ #
1523
+ # @overload create_ops_metadata(params = {})
1524
+ # @param [Hash] params ({})
1525
+ def create_ops_metadata(params = {}, options = {})
1526
+ req = build_request(:create_ops_metadata, params)
1527
+ req.send_request(options)
1528
+ end
1529
+
1410
1530
  # Creates a patch baseline.
1411
1531
  #
1412
1532
  # <note markdown="1"> For information about valid key and value pairs in `PatchFilters` for
@@ -1517,7 +1637,7 @@ module Aws::SSM
1517
1637
  # @example Request syntax with placeholder values
1518
1638
  #
1519
1639
  # resp = client.create_patch_baseline({
1520
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
1640
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
1521
1641
  # name: "BaselineName", # required
1522
1642
  # global_filters: {
1523
1643
  # patch_filters: [ # required
@@ -1884,6 +2004,28 @@ module Aws::SSM
1884
2004
  req.send_request(options)
1885
2005
  end
1886
2006
 
2007
+ # Delete OpsMetadata related to an application.
2008
+ #
2009
+ # @option params [required, String] :ops_metadata_arn
2010
+ # The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.
2011
+ #
2012
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2013
+ #
2014
+ # @example Request syntax with placeholder values
2015
+ #
2016
+ # resp = client.delete_ops_metadata({
2017
+ # ops_metadata_arn: "OpsMetadataArn", # required
2018
+ # })
2019
+ #
2020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadata AWS API Documentation
2021
+ #
2022
+ # @overload delete_ops_metadata(params = {})
2023
+ # @param [Hash] params ({})
2024
+ def delete_ops_metadata(params = {}, options = {})
2025
+ req = build_request(:delete_ops_metadata, params)
2026
+ req.send_request(options)
2027
+ end
2028
+
1887
2029
  # Delete a parameter from the system.
1888
2030
  #
1889
2031
  # @option params [required, String] :name
@@ -2266,6 +2408,14 @@ module Aws::SSM
2266
2408
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
2267
2409
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
2268
2410
  # resp.association_description.apply_only_at_cron_interval #=> Boolean
2411
+ # resp.association_description.target_locations #=> Array
2412
+ # resp.association_description.target_locations[0].accounts #=> Array
2413
+ # resp.association_description.target_locations[0].accounts[0] #=> String
2414
+ # resp.association_description.target_locations[0].regions #=> Array
2415
+ # resp.association_description.target_locations[0].regions[0] #=> String
2416
+ # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
2417
+ # resp.association_description.target_locations[0].target_location_max_errors #=> String
2418
+ # resp.association_description.target_locations[0].execution_role_name #=> String
2269
2419
  #
2270
2420
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
2271
2421
  #
@@ -2448,7 +2598,7 @@ module Aws::SSM
2448
2598
  # resp = client.describe_automation_executions({
2449
2599
  # filters: [
2450
2600
  # {
2451
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey
2601
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup, AutomationSubtype, OpsItemId
2452
2602
  # values: ["AutomationExecutionFilterValue"], # required
2453
2603
  # },
2454
2604
  # ],
@@ -2462,7 +2612,7 @@ module Aws::SSM
2462
2612
  # resp.automation_execution_metadata_list[0].automation_execution_id #=> String
2463
2613
  # resp.automation_execution_metadata_list[0].document_name #=> String
2464
2614
  # resp.automation_execution_metadata_list[0].document_version #=> String
2465
- # resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
2615
+ # resp.automation_execution_metadata_list[0].automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
2466
2616
  # resp.automation_execution_metadata_list[0].execution_start_time #=> Time
2467
2617
  # resp.automation_execution_metadata_list[0].execution_end_time #=> Time
2468
2618
  # resp.automation_execution_metadata_list[0].executed_by #=> String
@@ -2491,6 +2641,32 @@ module Aws::SSM
2491
2641
  # resp.automation_execution_metadata_list[0].max_errors #=> String
2492
2642
  # resp.automation_execution_metadata_list[0].target #=> String
2493
2643
  # resp.automation_execution_metadata_list[0].automation_type #=> String, one of "CrossAccount", "Local"
2644
+ # resp.automation_execution_metadata_list[0].automation_subtype #=> String, one of "ChangeRequest"
2645
+ # resp.automation_execution_metadata_list[0].scheduled_time #=> Time
2646
+ # resp.automation_execution_metadata_list[0].runbooks #=> Array
2647
+ # resp.automation_execution_metadata_list[0].runbooks[0].document_name #=> String
2648
+ # resp.automation_execution_metadata_list[0].runbooks[0].document_version #=> String
2649
+ # resp.automation_execution_metadata_list[0].runbooks[0].parameters #=> Hash
2650
+ # resp.automation_execution_metadata_list[0].runbooks[0].parameters["AutomationParameterKey"] #=> Array
2651
+ # resp.automation_execution_metadata_list[0].runbooks[0].parameters["AutomationParameterKey"][0] #=> String
2652
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_parameter_name #=> String
2653
+ # resp.automation_execution_metadata_list[0].runbooks[0].targets #=> Array
2654
+ # resp.automation_execution_metadata_list[0].runbooks[0].targets[0].key #=> String
2655
+ # resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values #=> Array
2656
+ # resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values[0] #=> String
2657
+ # resp.automation_execution_metadata_list[0].runbooks[0].max_concurrency #=> String
2658
+ # resp.automation_execution_metadata_list[0].runbooks[0].max_errors #=> String
2659
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations #=> Array
2660
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].accounts #=> Array
2661
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].accounts[0] #=> String
2662
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].regions #=> Array
2663
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].regions[0] #=> String
2664
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_max_concurrency #=> String
2665
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_max_errors #=> String
2666
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].execution_role_name #=> String
2667
+ # resp.automation_execution_metadata_list[0].ops_item_id #=> String
2668
+ # resp.automation_execution_metadata_list[0].association_id #=> String
2669
+ # resp.automation_execution_metadata_list[0].change_request_name #=> String
2494
2670
  # resp.next_token #=> String
2495
2671
  #
2496
2672
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions AWS API Documentation
@@ -2558,7 +2734,7 @@ module Aws::SSM
2558
2734
  # resp.step_executions[0].max_attempts #=> Integer
2559
2735
  # resp.step_executions[0].execution_start_time #=> Time
2560
2736
  # resp.step_executions[0].execution_end_time #=> Time
2561
- # resp.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
2737
+ # resp.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
2562
2738
  # resp.step_executions[0].response_code #=> String
2563
2739
  # resp.step_executions[0].inputs #=> Hash
2564
2740
  # resp.step_executions[0].inputs["String"] #=> String
@@ -2721,7 +2897,7 @@ module Aws::SSM
2721
2897
  # resp.document.parameters[0].default_value #=> String
2722
2898
  # resp.document.platform_types #=> Array
2723
2899
  # resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
2724
- # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
2900
+ # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
2725
2901
  # resp.document.schema_version #=> String
2726
2902
  # resp.document.latest_version #=> String
2727
2903
  # resp.document.default_version #=> String
@@ -2735,6 +2911,14 @@ module Aws::SSM
2735
2911
  # resp.document.requires #=> Array
2736
2912
  # resp.document.requires[0].name #=> String
2737
2913
  # resp.document.requires[0].version #=> String
2914
+ # resp.document.author #=> String
2915
+ # resp.document.review_information #=> Array
2916
+ # resp.document.review_information[0].reviewed_time #=> Time
2917
+ # resp.document.review_information[0].status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
2918
+ # resp.document.review_information[0].reviewer #=> String
2919
+ # resp.document.approved_version #=> String
2920
+ # resp.document.pending_review_version #=> String
2921
+ # resp.document.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
2738
2922
  #
2739
2923
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
2740
2924
  #
@@ -3661,6 +3845,14 @@ module Aws::SSM
3661
3845
 
3662
3846
  # Lists the tasks in a maintenance window.
3663
3847
  #
3848
+ # <note markdown="1"> For maintenance window tasks without a specified target, you cannot
3849
+ # supply values for `--max-errors` and `--max-concurrency`. Instead, the
3850
+ # system inserts a placeholder value of `1`, which may be reported in
3851
+ # the response to this command. These values do not affect the running
3852
+ # of your task and can be ignored.
3853
+ #
3854
+ # </note>
3855
+ #
3664
3856
  # @option params [required, String] :window_id
3665
3857
  # The ID of the maintenance window whose tasks should be retrieved.
3666
3858
  #
@@ -3947,7 +4139,7 @@ module Aws::SSM
3947
4139
  # resp = client.describe_ops_items({
3948
4140
  # ops_item_filters: [
3949
4141
  # {
3950
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
4142
+ # 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
3951
4143
  # values: ["OpsItemFilterValue"], # required
3952
4144
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
3953
4145
  # },
@@ -3966,7 +4158,7 @@ module Aws::SSM
3966
4158
  # resp.ops_item_summaries[0].last_modified_time #=> Time
3967
4159
  # resp.ops_item_summaries[0].priority #=> Integer
3968
4160
  # resp.ops_item_summaries[0].source #=> String
3969
- # resp.ops_item_summaries[0].status #=> String, one of "Open", "InProgress", "Resolved"
4161
+ # resp.ops_item_summaries[0].status #=> String, one of "Open", "InProgress", "Resolved", "Pending", "TimedOut", "Cancelling", "Cancelled", "Failed", "CompletedWithSuccess", "CompletedWithFailure", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "PendingApproval", "Approved", "Rejected"
3970
4162
  # resp.ops_item_summaries[0].ops_item_id #=> String
3971
4163
  # resp.ops_item_summaries[0].title #=> String
3972
4164
  # resp.ops_item_summaries[0].operational_data #=> Hash
@@ -3974,6 +4166,11 @@ module Aws::SSM
3974
4166
  # resp.ops_item_summaries[0].operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
3975
4167
  # resp.ops_item_summaries[0].category #=> String
3976
4168
  # resp.ops_item_summaries[0].severity #=> String
4169
+ # resp.ops_item_summaries[0].ops_item_type #=> String
4170
+ # resp.ops_item_summaries[0].actual_start_time #=> Time
4171
+ # resp.ops_item_summaries[0].actual_end_time #=> Time
4172
+ # resp.ops_item_summaries[0].planned_start_time #=> Time
4173
+ # resp.ops_item_summaries[0].planned_end_time #=> Time
3977
4174
  #
3978
4175
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeOpsItems AWS API Documentation
3979
4176
  #
@@ -4109,7 +4306,7 @@ module Aws::SSM
4109
4306
  # resp.baseline_identities #=> Array
4110
4307
  # resp.baseline_identities[0].baseline_id #=> String
4111
4308
  # resp.baseline_identities[0].baseline_name #=> String
4112
- # resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
4309
+ # 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"
4113
4310
  # resp.baseline_identities[0].baseline_description #=> String
4114
4311
  # resp.baseline_identities[0].default_baseline #=> Boolean
4115
4312
  # resp.next_token #=> String
@@ -4223,7 +4420,7 @@ module Aws::SSM
4223
4420
  # resp.mappings[0].patch_group #=> String
4224
4421
  # resp.mappings[0].baseline_identity.baseline_id #=> String
4225
4422
  # resp.mappings[0].baseline_identity.baseline_name #=> String
4226
- # 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"
4423
+ # 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"
4227
4424
  # resp.mappings[0].baseline_identity.baseline_description #=> String
4228
4425
  # resp.mappings[0].baseline_identity.default_baseline #=> Boolean
4229
4426
  # resp.next_token #=> String
@@ -4263,6 +4460,10 @@ module Aws::SSM
4263
4460
  #
4264
4461
  # : Valid properties: PRODUCT, PRIORITY
4265
4462
  #
4463
+ # MACOS
4464
+ #
4465
+ # : Valid properties: PRODUCT, CLASSIFICATION
4466
+ #
4266
4467
  # ORACLE\_LINUX
4267
4468
  #
4268
4469
  # : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
@@ -4292,8 +4493,8 @@ module Aws::SSM
4292
4493
  #
4293
4494
  # @option params [String] :patch_set
4294
4495
  # Indicates whether to list patches for the Windows operating system or
4295
- # for Microsoft applications. Not applicable for Linux operating
4296
- # systems.
4496
+ # for Microsoft applications. Not applicable for the Linux or macOS
4497
+ # operating systems.
4297
4498
  #
4298
4499
  # @option params [Integer] :max_results
4299
4500
  # The maximum number of items to return for this call. The call also
@@ -4314,7 +4515,7 @@ module Aws::SSM
4314
4515
  # @example Request syntax with placeholder values
4315
4516
  #
4316
4517
  # resp = client.describe_patch_properties({
4317
- # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
4518
+ # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
4318
4519
  # property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
4319
4520
  # patch_set: "OS", # accepts OS, APPLICATION
4320
4521
  # max_results: 1,
@@ -4372,7 +4573,7 @@ module Aws::SSM
4372
4573
  # next_token: "NextToken",
4373
4574
  # filters: [
4374
4575
  # {
4375
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
4576
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
4376
4577
  # value: "SessionFilterValue", # required
4377
4578
  # },
4378
4579
  # ],
@@ -4426,7 +4627,7 @@ module Aws::SSM
4426
4627
  # resp.automation_execution.document_version #=> String
4427
4628
  # resp.automation_execution.execution_start_time #=> Time
4428
4629
  # resp.automation_execution.execution_end_time #=> Time
4429
- # resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
4630
+ # resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
4430
4631
  # resp.automation_execution.step_executions #=> Array
4431
4632
  # resp.automation_execution.step_executions[0].step_name #=> String
4432
4633
  # resp.automation_execution.step_executions[0].action #=> String
@@ -4435,7 +4636,7 @@ module Aws::SSM
4435
4636
  # resp.automation_execution.step_executions[0].max_attempts #=> Integer
4436
4637
  # resp.automation_execution.step_executions[0].execution_start_time #=> Time
4437
4638
  # resp.automation_execution.step_executions[0].execution_end_time #=> Time
4438
- # resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
4639
+ # resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed", "PendingApproval", "Approved", "Rejected", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "CompletedWithSuccess", "CompletedWithFailure"
4439
4640
  # resp.automation_execution.step_executions[0].response_code #=> String
4440
4641
  # resp.automation_execution.step_executions[0].inputs #=> Hash
4441
4642
  # resp.automation_execution.step_executions[0].inputs["String"] #=> String
@@ -4510,6 +4711,32 @@ module Aws::SSM
4510
4711
  # resp.automation_execution.progress_counters.failed_steps #=> Integer
4511
4712
  # resp.automation_execution.progress_counters.cancelled_steps #=> Integer
4512
4713
  # resp.automation_execution.progress_counters.timed_out_steps #=> Integer
4714
+ # resp.automation_execution.automation_subtype #=> String, one of "ChangeRequest"
4715
+ # resp.automation_execution.scheduled_time #=> Time
4716
+ # resp.automation_execution.runbooks #=> Array
4717
+ # resp.automation_execution.runbooks[0].document_name #=> String
4718
+ # resp.automation_execution.runbooks[0].document_version #=> String
4719
+ # resp.automation_execution.runbooks[0].parameters #=> Hash
4720
+ # resp.automation_execution.runbooks[0].parameters["AutomationParameterKey"] #=> Array
4721
+ # resp.automation_execution.runbooks[0].parameters["AutomationParameterKey"][0] #=> String
4722
+ # resp.automation_execution.runbooks[0].target_parameter_name #=> String
4723
+ # resp.automation_execution.runbooks[0].targets #=> Array
4724
+ # resp.automation_execution.runbooks[0].targets[0].key #=> String
4725
+ # resp.automation_execution.runbooks[0].targets[0].values #=> Array
4726
+ # resp.automation_execution.runbooks[0].targets[0].values[0] #=> String
4727
+ # resp.automation_execution.runbooks[0].max_concurrency #=> String
4728
+ # resp.automation_execution.runbooks[0].max_errors #=> String
4729
+ # resp.automation_execution.runbooks[0].target_locations #=> Array
4730
+ # resp.automation_execution.runbooks[0].target_locations[0].accounts #=> Array
4731
+ # resp.automation_execution.runbooks[0].target_locations[0].accounts[0] #=> String
4732
+ # resp.automation_execution.runbooks[0].target_locations[0].regions #=> Array
4733
+ # resp.automation_execution.runbooks[0].target_locations[0].regions[0] #=> String
4734
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_max_concurrency #=> String
4735
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_max_errors #=> String
4736
+ # resp.automation_execution.runbooks[0].target_locations[0].execution_role_name #=> String
4737
+ # resp.automation_execution.ops_item_id #=> String
4738
+ # resp.automation_execution.association_id #=> String
4739
+ # resp.automation_execution.change_request_name #=> String
4513
4740
  #
4514
4741
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution AWS API Documentation
4515
4742
  #
@@ -4714,13 +4941,13 @@ module Aws::SSM
4714
4941
  # @example Request syntax with placeholder values
4715
4942
  #
4716
4943
  # resp = client.get_default_patch_baseline({
4717
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
4944
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
4718
4945
  # })
4719
4946
  #
4720
4947
  # @example Response structure
4721
4948
  #
4722
4949
  # resp.baseline_id #=> String
4723
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
4950
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
4724
4951
  #
4725
4952
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
4726
4953
  #
@@ -4801,6 +5028,7 @@ module Aws::SSM
4801
5028
  # * {Types::GetDocumentResult#document_format #document_format} => String
4802
5029
  # * {Types::GetDocumentResult#requires #requires} => Array&lt;Types::DocumentRequires&gt;
4803
5030
  # * {Types::GetDocumentResult#attachments_content #attachments_content} => Array&lt;Types::AttachmentContent&gt;
5031
+ # * {Types::GetDocumentResult#review_status #review_status} => String
4804
5032
  #
4805
5033
  # @example Request syntax with placeholder values
4806
5034
  #
@@ -4819,7 +5047,7 @@ module Aws::SSM
4819
5047
  # resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
4820
5048
  # resp.status_information #=> String
4821
5049
  # resp.content #=> String
4822
- # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
5050
+ # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
4823
5051
  # resp.document_format #=> String, one of "YAML", "JSON", "TEXT"
4824
5052
  # resp.requires #=> Array
4825
5053
  # resp.requires[0].name #=> String
@@ -4830,6 +5058,7 @@ module Aws::SSM
4830
5058
  # resp.attachments_content[0].hash #=> String
4831
5059
  # resp.attachments_content[0].hash_type #=> String, one of "Sha256"
4832
5060
  # resp.attachments_content[0].url #=> String
5061
+ # resp.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
4833
5062
  #
4834
5063
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument AWS API Documentation
4835
5064
  #
@@ -5214,6 +5443,14 @@ module Aws::SSM
5214
5443
 
5215
5444
  # Lists the tasks in a maintenance window.
5216
5445
  #
5446
+ # <note markdown="1"> For maintenance window tasks without a specified target, you cannot
5447
+ # supply values for `--max-errors` and `--max-concurrency`. Instead, the
5448
+ # system inserts a placeholder value of `1`, which may be reported in
5449
+ # the response to this command. These values do not affect the running
5450
+ # of your task and can be ignored.
5451
+ #
5452
+ # </note>
5453
+ #
5217
5454
  # @option params [required, String] :window_id
5218
5455
  # The maintenance window ID that includes the task to retrieve.
5219
5456
  #
@@ -5334,6 +5571,7 @@ module Aws::SSM
5334
5571
  # @example Response structure
5335
5572
  #
5336
5573
  # resp.ops_item.created_by #=> String
5574
+ # resp.ops_item.ops_item_type #=> String
5337
5575
  # resp.ops_item.created_time #=> Time
5338
5576
  # resp.ops_item.description #=> String
5339
5577
  # resp.ops_item.last_modified_by #=> String
@@ -5343,7 +5581,7 @@ module Aws::SSM
5343
5581
  # resp.ops_item.priority #=> Integer
5344
5582
  # resp.ops_item.related_ops_items #=> Array
5345
5583
  # resp.ops_item.related_ops_items[0].ops_item_id #=> String
5346
- # resp.ops_item.status #=> String, one of "Open", "InProgress", "Resolved"
5584
+ # resp.ops_item.status #=> String, one of "Open", "InProgress", "Resolved", "Pending", "TimedOut", "Cancelling", "Cancelled", "Failed", "CompletedWithSuccess", "CompletedWithFailure", "Scheduled", "RunbookInProgress", "PendingChangeCalendarOverride", "ChangeCalendarOverrideApproved", "ChangeCalendarOverrideRejected", "PendingApproval", "Approved", "Rejected"
5347
5585
  # resp.ops_item.ops_item_id #=> String
5348
5586
  # resp.ops_item.version #=> String
5349
5587
  # resp.ops_item.title #=> String
@@ -5353,6 +5591,10 @@ module Aws::SSM
5353
5591
  # resp.ops_item.operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
5354
5592
  # resp.ops_item.category #=> String
5355
5593
  # resp.ops_item.severity #=> String
5594
+ # resp.ops_item.actual_start_time #=> Time
5595
+ # resp.ops_item.actual_end_time #=> Time
5596
+ # resp.ops_item.planned_start_time #=> Time
5597
+ # resp.ops_item.planned_end_time #=> Time
5356
5598
  #
5357
5599
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem AWS API Documentation
5358
5600
  #
@@ -5363,6 +5605,51 @@ module Aws::SSM
5363
5605
  req.send_request(options)
5364
5606
  end
5365
5607
 
5608
+ # View operational metadata related to an application in Application
5609
+ # Manager.
5610
+ #
5611
+ # @option params [required, String] :ops_metadata_arn
5612
+ # The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
5613
+ #
5614
+ # @option params [Integer] :max_results
5615
+ # The maximum number of items to return for this call. The call also
5616
+ # returns a token that you can specify in a subsequent call to get the
5617
+ # next set of results.
5618
+ #
5619
+ # @option params [String] :next_token
5620
+ # A token to start the list. Use this token to get the next set of
5621
+ # results.
5622
+ #
5623
+ # @return [Types::GetOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5624
+ #
5625
+ # * {Types::GetOpsMetadataResult#resource_id #resource_id} => String
5626
+ # * {Types::GetOpsMetadataResult#metadata #metadata} => Hash&lt;String,Types::MetadataValue&gt;
5627
+ # * {Types::GetOpsMetadataResult#next_token #next_token} => String
5628
+ #
5629
+ # @example Request syntax with placeholder values
5630
+ #
5631
+ # resp = client.get_ops_metadata({
5632
+ # ops_metadata_arn: "OpsMetadataArn", # required
5633
+ # max_results: 1,
5634
+ # next_token: "NextToken",
5635
+ # })
5636
+ #
5637
+ # @example Response structure
5638
+ #
5639
+ # resp.resource_id #=> String
5640
+ # resp.metadata #=> Hash
5641
+ # resp.metadata["MetadataKey"].value #=> String
5642
+ # resp.next_token #=> String
5643
+ #
5644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadata AWS API Documentation
5645
+ #
5646
+ # @overload get_ops_metadata(params = {})
5647
+ # @param [Hash] params ({})
5648
+ def get_ops_metadata(params = {}, options = {})
5649
+ req = build_request(:get_ops_metadata, params)
5650
+ req.send_request(options)
5651
+ end
5652
+
5366
5653
  # View a summary of OpsItems based on specified filters and aggregators.
5367
5654
  #
5368
5655
  # @option params [String] :sync_name
@@ -5741,7 +6028,7 @@ module Aws::SSM
5741
6028
  #
5742
6029
  # resp.baseline_id #=> String
5743
6030
  # resp.name #=> String
5744
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
6031
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
5745
6032
  # resp.global_filters.patch_filters #=> Array
5746
6033
  # 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"
5747
6034
  # resp.global_filters.patch_filters[0].values #=> Array
@@ -5802,14 +6089,14 @@ module Aws::SSM
5802
6089
  #
5803
6090
  # resp = client.get_patch_baseline_for_patch_group({
5804
6091
  # patch_group: "PatchGroup", # required
5805
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
6092
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
5806
6093
  # })
5807
6094
  #
5808
6095
  # @example Response structure
5809
6096
  #
5810
6097
  # resp.baseline_id #=> String
5811
6098
  # resp.patch_group #=> String
5812
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
6099
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
5813
6100
  #
5814
6101
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
5815
6102
  #
@@ -5999,6 +6286,14 @@ module Aws::SSM
5999
6286
  # resp.association_versions[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
6000
6287
  # resp.association_versions[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
6001
6288
  # resp.association_versions[0].apply_only_at_cron_interval #=> Boolean
6289
+ # resp.association_versions[0].target_locations #=> Array
6290
+ # resp.association_versions[0].target_locations[0].accounts #=> Array
6291
+ # resp.association_versions[0].target_locations[0].accounts[0] #=> String
6292
+ # resp.association_versions[0].target_locations[0].regions #=> Array
6293
+ # resp.association_versions[0].target_locations[0].regions[0] #=> String
6294
+ # resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
6295
+ # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6296
+ # resp.association_versions[0].target_locations[0].execution_role_name #=> String
6002
6297
  # resp.next_token #=> String
6003
6298
  #
6004
6299
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
@@ -6423,6 +6718,69 @@ module Aws::SSM
6423
6718
  req.send_request(options)
6424
6719
  end
6425
6720
 
6721
+ # Information about approval reviews for a version of an SSM document.
6722
+ #
6723
+ # @option params [required, String] :name
6724
+ # The name of the document.
6725
+ #
6726
+ # @option params [String] :document_version
6727
+ # The version of the document.
6728
+ #
6729
+ # @option params [required, String] :metadata
6730
+ # The type of data for which details are being requested. Currently, the
6731
+ # only supported value is `DocumentReviews`.
6732
+ #
6733
+ # @option params [String] :next_token
6734
+ # The token for the next set of items to return. (You received this
6735
+ # token from a previous call.)
6736
+ #
6737
+ # @option params [Integer] :max_results
6738
+ # The maximum number of items to return for this call. The call also
6739
+ # returns a token that you can specify in a subsequent call to get the
6740
+ # next set of results.
6741
+ #
6742
+ # @return [Types::ListDocumentMetadataHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6743
+ #
6744
+ # * {Types::ListDocumentMetadataHistoryResponse#name #name} => String
6745
+ # * {Types::ListDocumentMetadataHistoryResponse#document_version #document_version} => String
6746
+ # * {Types::ListDocumentMetadataHistoryResponse#author #author} => String
6747
+ # * {Types::ListDocumentMetadataHistoryResponse#metadata #metadata} => Types::DocumentMetadataResponseInfo
6748
+ # * {Types::ListDocumentMetadataHistoryResponse#next_token #next_token} => String
6749
+ #
6750
+ # @example Request syntax with placeholder values
6751
+ #
6752
+ # resp = client.list_document_metadata_history({
6753
+ # name: "DocumentName", # required
6754
+ # document_version: "DocumentVersion",
6755
+ # metadata: "DocumentReviews", # required, accepts DocumentReviews
6756
+ # next_token: "NextToken",
6757
+ # max_results: 1,
6758
+ # })
6759
+ #
6760
+ # @example Response structure
6761
+ #
6762
+ # resp.name #=> String
6763
+ # resp.document_version #=> String
6764
+ # resp.author #=> String
6765
+ # resp.metadata.reviewer_response #=> Array
6766
+ # resp.metadata.reviewer_response[0].create_time #=> Time
6767
+ # resp.metadata.reviewer_response[0].updated_time #=> Time
6768
+ # resp.metadata.reviewer_response[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
6769
+ # resp.metadata.reviewer_response[0].comment #=> Array
6770
+ # resp.metadata.reviewer_response[0].comment[0].type #=> String, one of "Comment"
6771
+ # resp.metadata.reviewer_response[0].comment[0].content #=> String
6772
+ # resp.metadata.reviewer_response[0].reviewer #=> String
6773
+ # resp.next_token #=> String
6774
+ #
6775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistory AWS API Documentation
6776
+ #
6777
+ # @overload list_document_metadata_history(params = {})
6778
+ # @param [Hash] params ({})
6779
+ def list_document_metadata_history(params = {}, options = {})
6780
+ req = build_request(:list_document_metadata_history, params)
6781
+ req.send_request(options)
6782
+ end
6783
+
6426
6784
  # List all versions for a document.
6427
6785
  #
6428
6786
  # @option params [required, String] :name
@@ -6464,6 +6822,7 @@ module Aws::SSM
6464
6822
  # resp.document_versions[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
6465
6823
  # resp.document_versions[0].status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
6466
6824
  # resp.document_versions[0].status_information #=> String
6825
+ # resp.document_versions[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
6467
6826
  # resp.next_token #=> String
6468
6827
  #
6469
6828
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
@@ -6535,7 +6894,7 @@ module Aws::SSM
6535
6894
  # resp.document_identifiers[0].platform_types #=> Array
6536
6895
  # resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
6537
6896
  # resp.document_identifiers[0].document_version #=> String
6538
- # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
6897
+ # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
6539
6898
  # resp.document_identifiers[0].schema_version #=> String
6540
6899
  # resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
6541
6900
  # resp.document_identifiers[0].target_type #=> String
@@ -6545,6 +6904,8 @@ module Aws::SSM
6545
6904
  # resp.document_identifiers[0].requires #=> Array
6546
6905
  # resp.document_identifiers[0].requires[0].name #=> String
6547
6906
  # resp.document_identifiers[0].requires[0].version #=> String
6907
+ # resp.document_identifiers[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
6908
+ # resp.document_identifiers[0].author #=> String
6548
6909
  # resp.next_token #=> String
6549
6910
  #
6550
6911
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
@@ -6622,6 +6983,120 @@ module Aws::SSM
6622
6983
  req.send_request(options)
6623
6984
  end
6624
6985
 
6986
+ # Returns a list of all OpsItem events in the current AWS account and
6987
+ # Region. You can limit the results to events associated with specific
6988
+ # OpsItems by specifying a filter.
6989
+ #
6990
+ # @option params [Array<Types::OpsItemEventFilter>] :filters
6991
+ # One or more OpsItem filters. Use a filter to return a more specific
6992
+ # list of results.
6993
+ #
6994
+ # @option params [Integer] :max_results
6995
+ # The maximum number of items to return for this call. The call also
6996
+ # returns a token that you can specify in a subsequent call to get the
6997
+ # next set of results.
6998
+ #
6999
+ # @option params [String] :next_token
7000
+ # A token to start the list. Use this token to get the next set of
7001
+ # results.
7002
+ #
7003
+ # @return [Types::ListOpsItemEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7004
+ #
7005
+ # * {Types::ListOpsItemEventsResponse#next_token #next_token} => String
7006
+ # * {Types::ListOpsItemEventsResponse#summaries #summaries} => Array&lt;Types::OpsItemEventSummary&gt;
7007
+ #
7008
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7009
+ #
7010
+ # @example Request syntax with placeholder values
7011
+ #
7012
+ # resp = client.list_ops_item_events({
7013
+ # filters: [
7014
+ # {
7015
+ # key: "OpsItemId", # required, accepts OpsItemId
7016
+ # values: ["OpsItemEventFilterValue"], # required
7017
+ # operator: "Equal", # required, accepts Equal
7018
+ # },
7019
+ # ],
7020
+ # max_results: 1,
7021
+ # next_token: "String",
7022
+ # })
7023
+ #
7024
+ # @example Response structure
7025
+ #
7026
+ # resp.next_token #=> String
7027
+ # resp.summaries #=> Array
7028
+ # resp.summaries[0].ops_item_id #=> String
7029
+ # resp.summaries[0].event_id #=> String
7030
+ # resp.summaries[0].source #=> String
7031
+ # resp.summaries[0].detail_type #=> String
7032
+ # resp.summaries[0].detail #=> String
7033
+ # resp.summaries[0].created_by.arn #=> String
7034
+ # resp.summaries[0].created_time #=> Time
7035
+ #
7036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEvents AWS API Documentation
7037
+ #
7038
+ # @overload list_ops_item_events(params = {})
7039
+ # @param [Hash] params ({})
7040
+ def list_ops_item_events(params = {}, options = {})
7041
+ req = build_request(:list_ops_item_events, params)
7042
+ req.send_request(options)
7043
+ end
7044
+
7045
+ # Systems Manager calls this API action when displaying all Application
7046
+ # Manager OpsMetadata objects or blobs.
7047
+ #
7048
+ # @option params [Array<Types::OpsMetadataFilter>] :filters
7049
+ # One or more filters to limit the number of OpsMetadata objects
7050
+ # returned by the call.
7051
+ #
7052
+ # @option params [Integer] :max_results
7053
+ # The maximum number of items to return for this call. The call also
7054
+ # returns a token that you can specify in a subsequent call to get the
7055
+ # next set of results.
7056
+ #
7057
+ # @option params [String] :next_token
7058
+ # A token to start the list. Use this token to get the next set of
7059
+ # results.
7060
+ #
7061
+ # @return [Types::ListOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7062
+ #
7063
+ # * {Types::ListOpsMetadataResult#ops_metadata_list #ops_metadata_list} => Array&lt;Types::OpsMetadata&gt;
7064
+ # * {Types::ListOpsMetadataResult#next_token #next_token} => String
7065
+ #
7066
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7067
+ #
7068
+ # @example Request syntax with placeholder values
7069
+ #
7070
+ # resp = client.list_ops_metadata({
7071
+ # filters: [
7072
+ # {
7073
+ # key: "OpsMetadataFilterKey", # required
7074
+ # values: ["OpsMetadataFilterValue"], # required
7075
+ # },
7076
+ # ],
7077
+ # max_results: 1,
7078
+ # next_token: "NextToken",
7079
+ # })
7080
+ #
7081
+ # @example Response structure
7082
+ #
7083
+ # resp.ops_metadata_list #=> Array
7084
+ # resp.ops_metadata_list[0].resource_id #=> String
7085
+ # resp.ops_metadata_list[0].ops_metadata_arn #=> String
7086
+ # resp.ops_metadata_list[0].last_modified_date #=> Time
7087
+ # resp.ops_metadata_list[0].last_modified_user #=> String
7088
+ # resp.ops_metadata_list[0].creation_date #=> Time
7089
+ # resp.next_token #=> String
7090
+ #
7091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadata AWS API Documentation
7092
+ #
7093
+ # @overload list_ops_metadata(params = {})
7094
+ # @param [Hash] params ({})
7095
+ def list_ops_metadata(params = {}, options = {})
7096
+ req = build_request(:list_ops_metadata, params)
7097
+ req.send_request(options)
7098
+ end
7099
+
6625
7100
  # Returns a resource-level summary count. The summary includes
6626
7101
  # information about compliant and non-compliant statuses and detailed
6627
7102
  # compliance-item severity counts, according to the filter criteria you
@@ -7499,16 +7974,29 @@ module Aws::SSM
7499
7974
  # @option params [required, String] :window_id
7500
7975
  # The ID of the maintenance window the task should be added to.
7501
7976
  #
7502
- # @option params [required, Array<Types::Target>] :targets
7977
+ # @option params [Array<Types::Target>] :targets
7503
7978
  # The targets (either instances or maintenance window targets).
7504
7979
  #
7980
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
7981
+ # Command-type tasks. Depending on the task, targets are optional for
7982
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
7983
+ # Step Functions). For more information about running tasks that do not
7984
+ # specify targets, see see [Registering maintenance window tasks without
7985
+ # targets][1] in the *AWS Systems Manager User Guide*.
7986
+ #
7987
+ # </note>
7988
+ #
7505
7989
  # Specify instances using the following format:
7506
7990
  #
7507
7991
  # `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
7508
7992
  #
7509
7993
  # Specify maintenance window targets using the following format:
7510
7994
  #
7511
- # `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
7995
+ # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
7996
+ #
7997
+ #
7998
+ #
7999
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
7512
8000
  #
7513
8001
  # @option params [required, String] :task_arn
7514
8002
  # The ARN of the task to run.
@@ -7558,13 +8046,27 @@ module Aws::SSM
7558
8046
  # scheduled in priority order with tasks that have the same priority
7559
8047
  # scheduled in parallel.
7560
8048
  #
7561
- # @option params [required, String] :max_concurrency
8049
+ # @option params [String] :max_concurrency
7562
8050
  # The maximum number of targets this task can be run for in parallel.
7563
8051
  #
7564
- # @option params [required, String] :max_errors
8052
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8053
+ # supply a value for this option. Instead, the system inserts a
8054
+ # placeholder value of `1`. This value does not affect the running of
8055
+ # your task.
8056
+ #
8057
+ # </note>
8058
+ #
8059
+ # @option params [String] :max_errors
7565
8060
  # The maximum number of errors allowed before this task stops being
7566
8061
  # scheduled.
7567
8062
  #
8063
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8064
+ # supply a value for this option. Instead, the system inserts a
8065
+ # placeholder value of `1`. This value does not affect the running of
8066
+ # your task.
8067
+ #
8068
+ # </note>
8069
+ #
7568
8070
  # @option params [Types::LoggingInfo] :logging_info
7569
8071
  # A structure containing information about an S3 bucket to write
7570
8072
  # instance-level logs to.
@@ -7598,7 +8100,7 @@ module Aws::SSM
7598
8100
  #
7599
8101
  # resp = client.register_task_with_maintenance_window({
7600
8102
  # window_id: "MaintenanceWindowId", # required
7601
- # targets: [ # required
8103
+ # targets: [
7602
8104
  # {
7603
8105
  # key: "TargetKey",
7604
8106
  # values: ["TargetValue"],
@@ -7652,8 +8154,8 @@ module Aws::SSM
7652
8154
  # },
7653
8155
  # },
7654
8156
  # priority: 1,
7655
- # max_concurrency: "MaxConcurrency", # required
7656
- # max_errors: "MaxErrors", # required
8157
+ # max_concurrency: "MaxConcurrency",
8158
+ # max_errors: "MaxErrors",
7657
8159
  # logging_info: {
7658
8160
  # s3_bucket_name: "S3BucketName", # required
7659
8161
  # s3_key_prefix: "S3KeyPrefix",
@@ -8253,6 +8755,125 @@ module Aws::SSM
8253
8755
  req.send_request(options)
8254
8756
  end
8255
8757
 
8758
+ # Creates a change request for Change Manager. The runbooks (Automation
8759
+ # documents) specified in the change request run only after all required
8760
+ # approvals for the change request have been received.
8761
+ #
8762
+ # @option params [Time,DateTime,Date,Integer,String] :scheduled_time
8763
+ # The date and time specified in the change request to run the
8764
+ # Automation runbooks.
8765
+ #
8766
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
8767
+ # until all required approvals for the change request have been
8768
+ # received.
8769
+ #
8770
+ # </note>
8771
+ #
8772
+ # @option params [required, String] :document_name
8773
+ # The name of the change template document to run during the runbook
8774
+ # workflow.
8775
+ #
8776
+ # @option params [String] :document_version
8777
+ # The version of the change template document to run during the runbook
8778
+ # workflow.
8779
+ #
8780
+ # @option params [Hash<String,Array>] :parameters
8781
+ # A key-value map of parameters that match the declared parameters in
8782
+ # the change template document.
8783
+ #
8784
+ # @option params [String] :change_request_name
8785
+ # The name of the change request associated with the runbook workflow to
8786
+ # be run.
8787
+ #
8788
+ # @option params [String] :client_token
8789
+ # The user-provided idempotency token. The token must be unique, is case
8790
+ # insensitive, enforces the UUID format, and can't be reused.
8791
+ #
8792
+ # @option params [required, Array<Types::Runbook>] :runbooks
8793
+ # Information about the Automation runbooks (Automation documents) that
8794
+ # are run during the runbook workflow.
8795
+ #
8796
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
8797
+ # until all required approvals for the change request have been
8798
+ # received.
8799
+ #
8800
+ # </note>
8801
+ #
8802
+ # @option params [Array<Types::Tag>] :tags
8803
+ # Optional metadata that you assign to a resource. You can specify a
8804
+ # maximum of five tags for a change request. Tags enable you to
8805
+ # categorize a resource in different ways, such as by purpose, owner, or
8806
+ # environment. For example, you might want to tag a change request to
8807
+ # identify an environment or target AWS Region. In this case, you could
8808
+ # specify the following key-value pairs:
8809
+ #
8810
+ # * `Key=Environment,Value=Production`
8811
+ #
8812
+ # * `Key=Region,Value=us-east-2`
8813
+ #
8814
+ # @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8815
+ #
8816
+ # * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
8817
+ #
8818
+ # @example Request syntax with placeholder values
8819
+ #
8820
+ # resp = client.start_change_request_execution({
8821
+ # scheduled_time: Time.now,
8822
+ # document_name: "DocumentARN", # required
8823
+ # document_version: "DocumentVersion",
8824
+ # parameters: {
8825
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
8826
+ # },
8827
+ # change_request_name: "ChangeRequestName",
8828
+ # client_token: "IdempotencyToken",
8829
+ # runbooks: [ # required
8830
+ # {
8831
+ # document_name: "DocumentARN", # required
8832
+ # document_version: "DocumentVersion",
8833
+ # parameters: {
8834
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
8835
+ # },
8836
+ # target_parameter_name: "AutomationParameterKey",
8837
+ # targets: [
8838
+ # {
8839
+ # key: "TargetKey",
8840
+ # values: ["TargetValue"],
8841
+ # },
8842
+ # ],
8843
+ # max_concurrency: "MaxConcurrency",
8844
+ # max_errors: "MaxErrors",
8845
+ # target_locations: [
8846
+ # {
8847
+ # accounts: ["Account"],
8848
+ # regions: ["Region"],
8849
+ # target_location_max_concurrency: "MaxConcurrency",
8850
+ # target_location_max_errors: "MaxErrors",
8851
+ # execution_role_name: "ExecutionRoleName",
8852
+ # },
8853
+ # ],
8854
+ # },
8855
+ # ],
8856
+ # tags: [
8857
+ # {
8858
+ # key: "TagKey", # required
8859
+ # value: "TagValue", # required
8860
+ # },
8861
+ # ],
8862
+ # })
8863
+ #
8864
+ # @example Response structure
8865
+ #
8866
+ # resp.automation_execution_id #=> String
8867
+ #
8868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecution AWS API Documentation
8869
+ #
8870
+ # @overload start_change_request_execution(params = {})
8871
+ # @param [Hash] params ({})
8872
+ def start_change_request_execution(params = {}, options = {})
8873
+ req = build_request(:start_change_request_execution, params)
8874
+ req.send_request(options)
8875
+ end
8876
+
8256
8877
  # Initiates a connection to a target (for example, an instance) for a
8257
8878
  # Session Manager session. Returns a URL and token that can be used to
8258
8879
  # open a WebSocket connection for sending input and receiving outputs.
@@ -8495,7 +9116,8 @@ module Aws::SSM
8495
9116
  # By default, when you update an association, the system runs it
8496
9117
  # immediately after it is updated and then according to the schedule you
8497
9118
  # specified. Specify this option if you don't want an association to
8498
- # run immediately after you update it.
9119
+ # run immediately after you update it. This parameter is not supported
9120
+ # for rate expressions.
8499
9121
  #
8500
9122
  # Also, if you specified this option when you created the association,
8501
9123
  # you can reset it. To do so, specify the
@@ -8504,6 +9126,11 @@ module Aws::SSM
8504
9126
  # association to run immediately after updating it and according to the
8505
9127
  # interval specified.
8506
9128
  #
9129
+ # @option params [Array<Types::TargetLocation>] :target_locations
9130
+ # A location is a combination of AWS Regions and AWS accounts where you
9131
+ # want to run the association. Use this action to update an association
9132
+ # in multiple Regions and multiple accounts.
9133
+ #
8507
9134
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8508
9135
  #
8509
9136
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -8539,6 +9166,15 @@ module Aws::SSM
8539
9166
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
8540
9167
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
8541
9168
  # apply_only_at_cron_interval: false,
9169
+ # target_locations: [
9170
+ # {
9171
+ # accounts: ["Account"],
9172
+ # regions: ["Region"],
9173
+ # target_location_max_concurrency: "MaxConcurrency",
9174
+ # target_location_max_errors: "MaxErrors",
9175
+ # execution_role_name: "ExecutionRoleName",
9176
+ # },
9177
+ # ],
8542
9178
  # })
8543
9179
  #
8544
9180
  # @example Response structure
@@ -8578,6 +9214,14 @@ module Aws::SSM
8578
9214
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
8579
9215
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
8580
9216
  # resp.association_description.apply_only_at_cron_interval #=> Boolean
9217
+ # resp.association_description.target_locations #=> Array
9218
+ # resp.association_description.target_locations[0].accounts #=> Array
9219
+ # resp.association_description.target_locations[0].accounts[0] #=> String
9220
+ # resp.association_description.target_locations[0].regions #=> Array
9221
+ # resp.association_description.target_locations[0].regions[0] #=> String
9222
+ # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
9223
+ # resp.association_description.target_locations[0].target_location_max_errors #=> String
9224
+ # resp.association_description.target_locations[0].execution_role_name #=> String
8581
9225
  #
8582
9226
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
8583
9227
  #
@@ -8654,6 +9298,14 @@ module Aws::SSM
8654
9298
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
8655
9299
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
8656
9300
  # resp.association_description.apply_only_at_cron_interval #=> Boolean
9301
+ # resp.association_description.target_locations #=> Array
9302
+ # resp.association_description.target_locations[0].accounts #=> Array
9303
+ # resp.association_description.target_locations[0].accounts[0] #=> String
9304
+ # resp.association_description.target_locations[0].regions #=> Array
9305
+ # resp.association_description.target_locations[0].regions[0] #=> String
9306
+ # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
9307
+ # resp.association_description.target_locations[0].target_location_max_errors #=> String
9308
+ # resp.association_description.target_locations[0].execution_role_name #=> String
8657
9309
  #
8658
9310
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
8659
9311
  #
@@ -8737,7 +9389,7 @@ module Aws::SSM
8737
9389
  # resp.document_description.parameters[0].default_value #=> String
8738
9390
  # resp.document_description.platform_types #=> Array
8739
9391
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
8740
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
9392
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
8741
9393
  # resp.document_description.schema_version #=> String
8742
9394
  # resp.document_description.latest_version #=> String
8743
9395
  # resp.document_description.default_version #=> String
@@ -8751,6 +9403,14 @@ module Aws::SSM
8751
9403
  # resp.document_description.requires #=> Array
8752
9404
  # resp.document_description.requires[0].name #=> String
8753
9405
  # resp.document_description.requires[0].version #=> String
9406
+ # resp.document_description.author #=> String
9407
+ # resp.document_description.review_information #=> Array
9408
+ # resp.document_description.review_information[0].reviewed_time #=> Time
9409
+ # resp.document_description.review_information[0].status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
9410
+ # resp.document_description.review_information[0].reviewer #=> String
9411
+ # resp.document_description.approved_version #=> String
9412
+ # resp.document_description.pending_review_version #=> String
9413
+ # resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
8754
9414
  #
8755
9415
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
8756
9416
  #
@@ -8797,6 +9457,45 @@ module Aws::SSM
8797
9457
  req.send_request(options)
8798
9458
  end
8799
9459
 
9460
+ # Updates information related to approval reviews for a specific version
9461
+ # of a document.
9462
+ #
9463
+ # @option params [required, String] :name
9464
+ # The name of the document for which a version is to be updated.
9465
+ #
9466
+ # @option params [String] :document_version
9467
+ # The version of a document to update.
9468
+ #
9469
+ # @option params [required, Types::DocumentReviews] :document_reviews
9470
+ # The document review details to update.
9471
+ #
9472
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9473
+ #
9474
+ # @example Request syntax with placeholder values
9475
+ #
9476
+ # resp = client.update_document_metadata({
9477
+ # name: "DocumentName", # required
9478
+ # document_version: "DocumentVersion",
9479
+ # document_reviews: { # required
9480
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
9481
+ # comment: [
9482
+ # {
9483
+ # type: "Comment", # accepts Comment
9484
+ # content: "DocumentReviewComment",
9485
+ # },
9486
+ # ],
9487
+ # },
9488
+ # })
9489
+ #
9490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadata AWS API Documentation
9491
+ #
9492
+ # @overload update_document_metadata(params = {})
9493
+ # @param [Hash] params ({})
9494
+ def update_document_metadata(params = {}, options = {})
9495
+ req = build_request(:update_document_metadata, params)
9496
+ req.send_request(options)
9497
+ end
9498
+
8800
9499
  # Updates an existing maintenance window. Only specified parameters are
8801
9500
  # modified.
8802
9501
  #
@@ -8822,7 +9521,7 @@ module Aws::SSM
8822
9521
  # @option params [String] :start_date
8823
9522
  # The time zone that the scheduled maintenance window executions are
8824
9523
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
8825
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
9524
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
8826
9525
  # more information, see the [Time Zone Database][1] on the IANA website.
8827
9526
  #
8828
9527
  #
@@ -8842,7 +9541,7 @@ module Aws::SSM
8842
9541
  # @option params [String] :schedule_timezone
8843
9542
  # The time zone that the scheduled maintenance window executions are
8844
9543
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
8845
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
9544
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
8846
9545
  # more information, see the [Time Zone Database][1] on the IANA website.
8847
9546
  #
8848
9547
  #
@@ -8856,7 +9555,7 @@ module Aws::SSM
8856
9555
  # For example, the following cron expression schedules a maintenance
8857
9556
  # window to run the third Tuesday of every month at 11:30 PM.
8858
9557
  #
8859
- # `cron(0 30 23 ? * TUE#3 *)`
9558
+ # `cron(30 23 ? * TUE#3 *)`
8860
9559
  #
8861
9560
  # If the schedule offset is `2`, the maintenance window won't run until
8862
9561
  # two days later.
@@ -9046,6 +9745,15 @@ module Aws::SSM
9046
9745
  #
9047
9746
  # * MaxErrors
9048
9747
  #
9748
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
9749
+ # Command-type tasks. Depending on the task, targets are optional for
9750
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
9751
+ # Step Functions). For more information about running tasks that do not
9752
+ # specify targets, see see [Registering maintenance window tasks without
9753
+ # targets][1] in the *AWS Systems Manager User Guide*.
9754
+ #
9755
+ # </note>
9756
+ #
9049
9757
  # If the value for a parameter in `UpdateMaintenanceWindowTask` is null,
9050
9758
  # then the corresponding field is not modified. If you set `Replace` to
9051
9759
  # true, then all fields required by the
@@ -9062,6 +9770,10 @@ module Aws::SSM
9062
9770
  # and specify only a different `OutputS3BucketName` value, the values
9063
9771
  # for `Comment` and `NotificationConfig` are removed.
9064
9772
  #
9773
+ #
9774
+ #
9775
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
9776
+ #
9065
9777
  # @option params [required, String] :window_id
9066
9778
  # The maintenance window ID that contains the task to modify.
9067
9779
  #
@@ -9073,6 +9785,19 @@ module Aws::SSM
9073
9785
  # specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
9074
9786
  # Tags are specified using Key=tag\_name,Values=tag\_value.
9075
9787
  #
9788
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
9789
+ # Command-type tasks. Depending on the task, targets are optional for
9790
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
9791
+ # Step Functions). For more information about running tasks that do not
9792
+ # specify targets, see see [Registering maintenance window tasks without
9793
+ # targets][1] in the *AWS Systems Manager User Guide*.
9794
+ #
9795
+ # </note>
9796
+ #
9797
+ #
9798
+ #
9799
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
9800
+ #
9076
9801
  # @option params [String] :task_arn
9077
9802
  # The task ARN to modify.
9078
9803
  #
@@ -9138,11 +9863,27 @@ module Aws::SSM
9138
9863
  # is the number of targets that are allowed to run this task in
9139
9864
  # parallel.
9140
9865
  #
9866
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
9867
+ # supply a value for this option. Instead, the system inserts a
9868
+ # placeholder value of `1`, which may be reported in the response to
9869
+ # this command. This value does not affect the running of your task and
9870
+ # can be ignored.
9871
+ #
9872
+ # </note>
9873
+ #
9141
9874
  # @option params [String] :max_errors
9142
9875
  # The new `MaxErrors` value to specify. `MaxErrors` is the maximum
9143
9876
  # number of errors that are allowed before the task stops being
9144
9877
  # scheduled.
9145
9878
  #
9879
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
9880
+ # supply a value for this option. Instead, the system inserts a
9881
+ # placeholder value of `1`, which may be reported in the response to
9882
+ # this command. This value does not affect the running of your task and
9883
+ # can be ignored.
9884
+ #
9885
+ # </note>
9886
+ #
9146
9887
  # @option params [Types::LoggingInfo] :logging_info
9147
9888
  # The new logging location in Amazon S3 to specify.
9148
9889
  #
@@ -9429,6 +10170,23 @@ module Aws::SSM
9429
10170
  # @option params [String] :severity
9430
10171
  # Specify a new severity for an OpsItem.
9431
10172
  #
10173
+ # @option params [Time,DateTime,Date,Integer,String] :actual_start_time
10174
+ # The time a runbook workflow started. Currently reported only for the
10175
+ # OpsItem type `/aws/changerequest`.
10176
+ #
10177
+ # @option params [Time,DateTime,Date,Integer,String] :actual_end_time
10178
+ # The time a runbook workflow ended. Currently reported only for the
10179
+ # OpsItem type `/aws/changerequest`.
10180
+ #
10181
+ # @option params [Time,DateTime,Date,Integer,String] :planned_start_time
10182
+ # The time specified in a change request for a runbook workflow to
10183
+ # start. Currently supported only for the OpsItem type
10184
+ # `/aws/changerequest`.
10185
+ #
10186
+ # @option params [Time,DateTime,Date,Integer,String] :planned_end_time
10187
+ # The time specified in a change request for a runbook workflow to end.
10188
+ # Currently supported only for the OpsItem type `/aws/changerequest`.
10189
+ #
9432
10190
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9433
10191
  #
9434
10192
  # @example Request syntax with placeholder values
@@ -9453,11 +10211,15 @@ module Aws::SSM
9453
10211
  # ops_item_id: "String", # required
9454
10212
  # },
9455
10213
  # ],
9456
- # status: "Open", # accepts Open, InProgress, Resolved
10214
+ # status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
9457
10215
  # ops_item_id: "OpsItemId", # required
9458
10216
  # title: "OpsItemTitle",
9459
10217
  # category: "OpsItemCategory",
9460
10218
  # severity: "OpsItemSeverity",
10219
+ # actual_start_time: Time.now,
10220
+ # actual_end_time: Time.now,
10221
+ # planned_start_time: Time.now,
10222
+ # planned_end_time: Time.now,
9461
10223
  # })
9462
10224
  #
9463
10225
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem AWS API Documentation
@@ -9469,6 +10231,47 @@ module Aws::SSM
9469
10231
  req.send_request(options)
9470
10232
  end
9471
10233
 
10234
+ # Systems Manager calls this API action when you edit OpsMetadata in
10235
+ # Application Manager.
10236
+ #
10237
+ # @option params [required, String] :ops_metadata_arn
10238
+ # The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
10239
+ #
10240
+ # @option params [Hash<String,Types::MetadataValue>] :metadata_to_update
10241
+ # Metadata to add to an OpsMetadata object.
10242
+ #
10243
+ # @option params [Array<String>] :keys_to_delete
10244
+ # The metadata keys to delete from the OpsMetadata object.
10245
+ #
10246
+ # @return [Types::UpdateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10247
+ #
10248
+ # * {Types::UpdateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
10249
+ #
10250
+ # @example Request syntax with placeholder values
10251
+ #
10252
+ # resp = client.update_ops_metadata({
10253
+ # ops_metadata_arn: "OpsMetadataArn", # required
10254
+ # metadata_to_update: {
10255
+ # "MetadataKey" => {
10256
+ # value: "MetadataValueString",
10257
+ # },
10258
+ # },
10259
+ # keys_to_delete: ["MetadataKey"],
10260
+ # })
10261
+ #
10262
+ # @example Response structure
10263
+ #
10264
+ # resp.ops_metadata_arn #=> String
10265
+ #
10266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadata AWS API Documentation
10267
+ #
10268
+ # @overload update_ops_metadata(params = {})
10269
+ # @param [Hash] params ({})
10270
+ def update_ops_metadata(params = {}, options = {})
10271
+ req = build_request(:update_ops_metadata, params)
10272
+ req.send_request(options)
10273
+ end
10274
+
9472
10275
  # Modifies an existing patch baseline. Fields not specified in the
9473
10276
  # request are left unchanged.
9474
10277
  #
@@ -9620,7 +10423,7 @@ module Aws::SSM
9620
10423
  #
9621
10424
  # resp.baseline_id #=> String
9622
10425
  # resp.name #=> String
9623
- # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
10426
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
9624
10427
  # resp.global_filters.patch_filters #=> Array
9625
10428
  # 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"
9626
10429
  # resp.global_filters.patch_filters[0].values #=> Array
@@ -9789,7 +10592,7 @@ module Aws::SSM
9789
10592
  params: params,
9790
10593
  config: config)
9791
10594
  context[:gem_name] = 'aws-sdk-ssm'
9792
- context[:gem_version] = '1.96.0'
10595
+ context[:gem_version] = '1.101.0'
9793
10596
  Seahorse::Client::Request.new(handlers, context)
9794
10597
  end
9795
10598