aws-sdk-ssm 1.99.0 → 1.100.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: c000ab8485134462ad24290c2936ab3abc6e9ddcf12e68e3041725a626337520
4
- data.tar.gz: caf564a137db6f36c9002fee0028b82f850a326dbbe43ea0b413466b33e07d31
3
+ metadata.gz: 93e73b8a694febf8c6e952fc85b110882e60c2bc1fe071539af701ebe15facf2
4
+ data.tar.gz: ad7a20e4c9faabd84ed9f2784d4bef9429003c26898ed6420640e9f291b47baa
5
5
  SHA512:
6
- metadata.gz: 801650301db9be419175d45bcc2c08b700ad3729b4e8c64b5443b8708f08d07714af934566f128b96d2283cda689537bc6a06ea7a2fbaca3e4daf79ed1bc2576
7
- data.tar.gz: 896d67fcc736b28c17d728d56640d833b9f80824876553ee2ce8f251ec2eae9c30059725a04fa37433dcc7bb38991b12d4ff91b97606765c1972fa3038fad697
6
+ metadata.gz: 7ff60f4c22619b371c04c924f3ce45498eacb765f5d29b65de780eb09d6325d45aacf7f64a776e87f67a4a2f7f1d52ecf99e985e021f4fc47bdd844ab0a2c768
7
+ data.tar.gz: 7dd2d933e43aab62907b24bf8679ae96a26db4f860727f561976211687c7310d1e692c672138ccb3fb1e5db6698cedd5e2dfeb926b35cdfcaaf694e44f44da3f
@@ -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.99.0'
52
+ GEM_VERSION = '1.100.0'
53
53
 
54
54
  end
@@ -734,6 +734,11 @@ module Aws::SSM
734
734
  # run immediately after you create it. This parameter is not supported
735
735
  # for rate expressions.
736
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.
741
+ #
737
742
  # @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
738
743
  #
739
744
  # * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -768,6 +773,15 @@ module Aws::SSM
768
773
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
769
774
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
770
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
+ # ],
771
785
  # })
772
786
  #
773
787
  # @example Response structure
@@ -807,6 +821,14 @@ module Aws::SSM
807
821
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
808
822
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
809
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
810
832
  #
811
833
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
812
834
  #
@@ -868,6 +890,15 @@ module Aws::SSM
868
890
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
869
891
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
870
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
+ # ],
871
902
  # },
872
903
  # ],
873
904
  # })
@@ -910,6 +941,14 @@ module Aws::SSM
910
941
  # resp.successful[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
911
942
  # resp.successful[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
912
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
913
952
  # resp.failed #=> Array
914
953
  # resp.failed[0].entry.name #=> String
915
954
  # resp.failed[0].entry.instance_id #=> String
@@ -932,6 +971,14 @@ module Aws::SSM
932
971
  # resp.failed[0].entry.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
933
972
  # resp.failed[0].entry.sync_compliance #=> String, one of "AUTO", "MANUAL"
934
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
935
982
  # resp.failed[0].message #=> String
936
983
  # resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
937
984
  #
@@ -1068,7 +1115,7 @@ module Aws::SSM
1068
1115
  # ],
1069
1116
  # name: "DocumentName", # required
1070
1117
  # version_name: "DocumentVersionName",
1071
- # 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
1072
1119
  # document_format: "YAML", # accepts YAML, JSON, TEXT
1073
1120
  # target_type: "TargetType",
1074
1121
  # tags: [
@@ -1099,7 +1146,7 @@ module Aws::SSM
1099
1146
  # resp.document_description.parameters[0].default_value #=> String
1100
1147
  # resp.document_description.platform_types #=> Array
1101
1148
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
1102
- # 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"
1103
1150
  # resp.document_description.schema_version #=> String
1104
1151
  # resp.document_description.latest_version #=> String
1105
1152
  # resp.document_description.default_version #=> String
@@ -1113,6 +1160,14 @@ module Aws::SSM
1113
1160
  # resp.document_description.requires #=> Array
1114
1161
  # resp.document_description.requires[0].name #=> String
1115
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"
1116
1171
  #
1117
1172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
1118
1173
  #
@@ -1161,7 +1216,7 @@ module Aws::SSM
1161
1216
  # @option params [String] :schedule_timezone
1162
1217
  # The time zone that the scheduled maintenance window executions are
1163
1218
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
1164
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
1219
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
1165
1220
  # more information, see the [Time Zone Database][1] on the IANA website.
1166
1221
  #
1167
1222
  #
@@ -1175,7 +1230,7 @@ module Aws::SSM
1175
1230
  # For example, the following cron expression schedules a maintenance
1176
1231
  # window to run on the third Tuesday of every month at 11:30 PM.
1177
1232
  #
1178
- # `cron(0 30 23 ? * TUE#3 *)`
1233
+ # `cron(30 23 ? * TUE#3 *)`
1179
1234
  #
1180
1235
  # If the schedule offset is `2`, the maintenance window won't run until
1181
1236
  # two days later.
@@ -1280,6 +1335,10 @@ module Aws::SSM
1280
1335
  # @option params [required, String] :description
1281
1336
  # Information about the OpsItem.
1282
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
+ #
1283
1342
  # @option params [Hash<String,Types::OpsItemDataValue>] :operational_data
1284
1343
  # Operational data is custom data that provides useful reference details
1285
1344
  # about the OpsItem. For example, you can specify log files, error
@@ -1358,6 +1417,23 @@ module Aws::SSM
1358
1417
  # @option params [String] :severity
1359
1418
  # Specify a severity to assign to an OpsItem.
1360
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
+ #
1361
1437
  # @return [Types::CreateOpsItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1362
1438
  #
1363
1439
  # * {Types::CreateOpsItemResponse#ops_item_id #ops_item_id} => String
@@ -1366,6 +1442,7 @@ module Aws::SSM
1366
1442
  #
1367
1443
  # resp = client.create_ops_item({
1368
1444
  # description: "OpsItemDescription", # required
1445
+ # ops_item_type: "OpsItemType",
1369
1446
  # operational_data: {
1370
1447
  # "OpsItemDataKey" => {
1371
1448
  # value: "OpsItemDataValueString",
@@ -1393,6 +1470,10 @@ module Aws::SSM
1393
1470
  # ],
1394
1471
  # category: "OpsItemCategory",
1395
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,
1396
1477
  # })
1397
1478
  #
1398
1479
  # @example Response structure
@@ -1408,15 +1489,15 @@ module Aws::SSM
1408
1489
  req.send_request(options)
1409
1490
  end
1410
1491
 
1411
- # If you create a new application in AppManager, Systems Manager calls
1412
- # this API action to specify information about the new application,
1413
- # including the application type.
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.
1414
1495
  #
1415
1496
  # @option params [required, String] :resource_id
1416
- # A resource ID for a new AppManager application.
1497
+ # A resource ID for a new Application Manager application.
1417
1498
  #
1418
1499
  # @option params [Hash<String,Types::MetadataValue>] :metadata
1419
- # Metadata for a new AppManager application.
1500
+ # Metadata for a new Application Manager application.
1420
1501
  #
1421
1502
  # @return [Types::CreateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1422
1503
  #
@@ -2327,6 +2408,14 @@ module Aws::SSM
2327
2408
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
2328
2409
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
2329
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
2330
2419
  #
2331
2420
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
2332
2421
  #
@@ -2509,7 +2598,7 @@ module Aws::SSM
2509
2598
  # resp = client.describe_automation_executions({
2510
2599
  # filters: [
2511
2600
  # {
2512
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup
2601
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup, AutomationSubtype, OpsItemId
2513
2602
  # values: ["AutomationExecutionFilterValue"], # required
2514
2603
  # },
2515
2604
  # ],
@@ -2523,7 +2612,7 @@ module Aws::SSM
2523
2612
  # resp.automation_execution_metadata_list[0].automation_execution_id #=> String
2524
2613
  # resp.automation_execution_metadata_list[0].document_name #=> String
2525
2614
  # resp.automation_execution_metadata_list[0].document_version #=> String
2526
- # 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"
2527
2616
  # resp.automation_execution_metadata_list[0].execution_start_time #=> Time
2528
2617
  # resp.automation_execution_metadata_list[0].execution_end_time #=> Time
2529
2618
  # resp.automation_execution_metadata_list[0].executed_by #=> String
@@ -2552,6 +2641,32 @@ module Aws::SSM
2552
2641
  # resp.automation_execution_metadata_list[0].max_errors #=> String
2553
2642
  # resp.automation_execution_metadata_list[0].target #=> String
2554
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
2555
2670
  # resp.next_token #=> String
2556
2671
  #
2557
2672
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions AWS API Documentation
@@ -2619,7 +2734,7 @@ module Aws::SSM
2619
2734
  # resp.step_executions[0].max_attempts #=> Integer
2620
2735
  # resp.step_executions[0].execution_start_time #=> Time
2621
2736
  # resp.step_executions[0].execution_end_time #=> Time
2622
- # 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"
2623
2738
  # resp.step_executions[0].response_code #=> String
2624
2739
  # resp.step_executions[0].inputs #=> Hash
2625
2740
  # resp.step_executions[0].inputs["String"] #=> String
@@ -2782,7 +2897,7 @@ module Aws::SSM
2782
2897
  # resp.document.parameters[0].default_value #=> String
2783
2898
  # resp.document.platform_types #=> Array
2784
2899
  # resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
2785
- # 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"
2786
2901
  # resp.document.schema_version #=> String
2787
2902
  # resp.document.latest_version #=> String
2788
2903
  # resp.document.default_version #=> String
@@ -2796,6 +2911,14 @@ module Aws::SSM
2796
2911
  # resp.document.requires #=> Array
2797
2912
  # resp.document.requires[0].name #=> String
2798
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"
2799
2922
  #
2800
2923
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
2801
2924
  #
@@ -4008,7 +4131,7 @@ module Aws::SSM
4008
4131
  # resp = client.describe_ops_items({
4009
4132
  # ops_item_filters: [
4010
4133
  # {
4011
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
4134
+ # 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
4012
4135
  # values: ["OpsItemFilterValue"], # required
4013
4136
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
4014
4137
  # },
@@ -4027,7 +4150,7 @@ module Aws::SSM
4027
4150
  # resp.ops_item_summaries[0].last_modified_time #=> Time
4028
4151
  # resp.ops_item_summaries[0].priority #=> Integer
4029
4152
  # resp.ops_item_summaries[0].source #=> String
4030
- # resp.ops_item_summaries[0].status #=> String, one of "Open", "InProgress", "Resolved"
4153
+ # 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"
4031
4154
  # resp.ops_item_summaries[0].ops_item_id #=> String
4032
4155
  # resp.ops_item_summaries[0].title #=> String
4033
4156
  # resp.ops_item_summaries[0].operational_data #=> Hash
@@ -4035,6 +4158,11 @@ module Aws::SSM
4035
4158
  # resp.ops_item_summaries[0].operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
4036
4159
  # resp.ops_item_summaries[0].category #=> String
4037
4160
  # resp.ops_item_summaries[0].severity #=> String
4161
+ # resp.ops_item_summaries[0].ops_item_type #=> String
4162
+ # resp.ops_item_summaries[0].actual_start_time #=> Time
4163
+ # resp.ops_item_summaries[0].actual_end_time #=> Time
4164
+ # resp.ops_item_summaries[0].planned_start_time #=> Time
4165
+ # resp.ops_item_summaries[0].planned_end_time #=> Time
4038
4166
  #
4039
4167
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeOpsItems AWS API Documentation
4040
4168
  #
@@ -4491,7 +4619,7 @@ module Aws::SSM
4491
4619
  # resp.automation_execution.document_version #=> String
4492
4620
  # resp.automation_execution.execution_start_time #=> Time
4493
4621
  # resp.automation_execution.execution_end_time #=> Time
4494
- # resp.automation_execution.automation_execution_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
4622
+ # 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"
4495
4623
  # resp.automation_execution.step_executions #=> Array
4496
4624
  # resp.automation_execution.step_executions[0].step_name #=> String
4497
4625
  # resp.automation_execution.step_executions[0].action #=> String
@@ -4500,7 +4628,7 @@ module Aws::SSM
4500
4628
  # resp.automation_execution.step_executions[0].max_attempts #=> Integer
4501
4629
  # resp.automation_execution.step_executions[0].execution_start_time #=> Time
4502
4630
  # resp.automation_execution.step_executions[0].execution_end_time #=> Time
4503
- # resp.automation_execution.step_executions[0].step_status #=> String, one of "Pending", "InProgress", "Waiting", "Success", "TimedOut", "Cancelling", "Cancelled", "Failed"
4631
+ # 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"
4504
4632
  # resp.automation_execution.step_executions[0].response_code #=> String
4505
4633
  # resp.automation_execution.step_executions[0].inputs #=> Hash
4506
4634
  # resp.automation_execution.step_executions[0].inputs["String"] #=> String
@@ -4575,6 +4703,32 @@ module Aws::SSM
4575
4703
  # resp.automation_execution.progress_counters.failed_steps #=> Integer
4576
4704
  # resp.automation_execution.progress_counters.cancelled_steps #=> Integer
4577
4705
  # resp.automation_execution.progress_counters.timed_out_steps #=> Integer
4706
+ # resp.automation_execution.automation_subtype #=> String, one of "ChangeRequest"
4707
+ # resp.automation_execution.scheduled_time #=> Time
4708
+ # resp.automation_execution.runbooks #=> Array
4709
+ # resp.automation_execution.runbooks[0].document_name #=> String
4710
+ # resp.automation_execution.runbooks[0].document_version #=> String
4711
+ # resp.automation_execution.runbooks[0].parameters #=> Hash
4712
+ # resp.automation_execution.runbooks[0].parameters["AutomationParameterKey"] #=> Array
4713
+ # resp.automation_execution.runbooks[0].parameters["AutomationParameterKey"][0] #=> String
4714
+ # resp.automation_execution.runbooks[0].target_parameter_name #=> String
4715
+ # resp.automation_execution.runbooks[0].targets #=> Array
4716
+ # resp.automation_execution.runbooks[0].targets[0].key #=> String
4717
+ # resp.automation_execution.runbooks[0].targets[0].values #=> Array
4718
+ # resp.automation_execution.runbooks[0].targets[0].values[0] #=> String
4719
+ # resp.automation_execution.runbooks[0].max_concurrency #=> String
4720
+ # resp.automation_execution.runbooks[0].max_errors #=> String
4721
+ # resp.automation_execution.runbooks[0].target_locations #=> Array
4722
+ # resp.automation_execution.runbooks[0].target_locations[0].accounts #=> Array
4723
+ # resp.automation_execution.runbooks[0].target_locations[0].accounts[0] #=> String
4724
+ # resp.automation_execution.runbooks[0].target_locations[0].regions #=> Array
4725
+ # resp.automation_execution.runbooks[0].target_locations[0].regions[0] #=> String
4726
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_max_concurrency #=> String
4727
+ # resp.automation_execution.runbooks[0].target_locations[0].target_location_max_errors #=> String
4728
+ # resp.automation_execution.runbooks[0].target_locations[0].execution_role_name #=> String
4729
+ # resp.automation_execution.ops_item_id #=> String
4730
+ # resp.automation_execution.association_id #=> String
4731
+ # resp.automation_execution.change_request_name #=> String
4578
4732
  #
4579
4733
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution AWS API Documentation
4580
4734
  #
@@ -4866,6 +5020,7 @@ module Aws::SSM
4866
5020
  # * {Types::GetDocumentResult#document_format #document_format} => String
4867
5021
  # * {Types::GetDocumentResult#requires #requires} => Array&lt;Types::DocumentRequires&gt;
4868
5022
  # * {Types::GetDocumentResult#attachments_content #attachments_content} => Array&lt;Types::AttachmentContent&gt;
5023
+ # * {Types::GetDocumentResult#review_status #review_status} => String
4869
5024
  #
4870
5025
  # @example Request syntax with placeholder values
4871
5026
  #
@@ -4884,7 +5039,7 @@ module Aws::SSM
4884
5039
  # resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
4885
5040
  # resp.status_information #=> String
4886
5041
  # resp.content #=> String
4887
- # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
5042
+ # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
4888
5043
  # resp.document_format #=> String, one of "YAML", "JSON", "TEXT"
4889
5044
  # resp.requires #=> Array
4890
5045
  # resp.requires[0].name #=> String
@@ -4895,6 +5050,7 @@ module Aws::SSM
4895
5050
  # resp.attachments_content[0].hash #=> String
4896
5051
  # resp.attachments_content[0].hash_type #=> String, one of "Sha256"
4897
5052
  # resp.attachments_content[0].url #=> String
5053
+ # resp.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
4898
5054
  #
4899
5055
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument AWS API Documentation
4900
5056
  #
@@ -5399,6 +5555,7 @@ module Aws::SSM
5399
5555
  # @example Response structure
5400
5556
  #
5401
5557
  # resp.ops_item.created_by #=> String
5558
+ # resp.ops_item.ops_item_type #=> String
5402
5559
  # resp.ops_item.created_time #=> Time
5403
5560
  # resp.ops_item.description #=> String
5404
5561
  # resp.ops_item.last_modified_by #=> String
@@ -5408,7 +5565,7 @@ module Aws::SSM
5408
5565
  # resp.ops_item.priority #=> Integer
5409
5566
  # resp.ops_item.related_ops_items #=> Array
5410
5567
  # resp.ops_item.related_ops_items[0].ops_item_id #=> String
5411
- # resp.ops_item.status #=> String, one of "Open", "InProgress", "Resolved"
5568
+ # 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"
5412
5569
  # resp.ops_item.ops_item_id #=> String
5413
5570
  # resp.ops_item.version #=> String
5414
5571
  # resp.ops_item.title #=> String
@@ -5418,6 +5575,10 @@ module Aws::SSM
5418
5575
  # resp.ops_item.operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
5419
5576
  # resp.ops_item.category #=> String
5420
5577
  # resp.ops_item.severity #=> String
5578
+ # resp.ops_item.actual_start_time #=> Time
5579
+ # resp.ops_item.actual_end_time #=> Time
5580
+ # resp.ops_item.planned_start_time #=> Time
5581
+ # resp.ops_item.planned_end_time #=> Time
5421
5582
  #
5422
5583
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem AWS API Documentation
5423
5584
  #
@@ -5428,7 +5589,8 @@ module Aws::SSM
5428
5589
  req.send_request(options)
5429
5590
  end
5430
5591
 
5431
- # View operational metadata related to an application in AppManager.
5592
+ # View operational metadata related to an application in Application
5593
+ # Manager.
5432
5594
  #
5433
5595
  # @option params [required, String] :ops_metadata_arn
5434
5596
  # The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
@@ -6108,6 +6270,14 @@ module Aws::SSM
6108
6270
  # resp.association_versions[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
6109
6271
  # resp.association_versions[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
6110
6272
  # resp.association_versions[0].apply_only_at_cron_interval #=> Boolean
6273
+ # resp.association_versions[0].target_locations #=> Array
6274
+ # resp.association_versions[0].target_locations[0].accounts #=> Array
6275
+ # resp.association_versions[0].target_locations[0].accounts[0] #=> String
6276
+ # resp.association_versions[0].target_locations[0].regions #=> Array
6277
+ # resp.association_versions[0].target_locations[0].regions[0] #=> String
6278
+ # resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
6279
+ # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6280
+ # resp.association_versions[0].target_locations[0].execution_role_name #=> String
6111
6281
  # resp.next_token #=> String
6112
6282
  #
6113
6283
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
@@ -6532,6 +6702,69 @@ module Aws::SSM
6532
6702
  req.send_request(options)
6533
6703
  end
6534
6704
 
6705
+ # Information about approval reviews for a version of an SSM document.
6706
+ #
6707
+ # @option params [required, String] :name
6708
+ # The name of the document.
6709
+ #
6710
+ # @option params [String] :document_version
6711
+ # The version of the document.
6712
+ #
6713
+ # @option params [required, String] :metadata
6714
+ # The type of data for which details are being requested. Currently, the
6715
+ # only supported value is `DocumentReviews`.
6716
+ #
6717
+ # @option params [String] :next_token
6718
+ # The token for the next set of items to return. (You received this
6719
+ # token from a previous call.)
6720
+ #
6721
+ # @option params [Integer] :max_results
6722
+ # The maximum number of items to return for this call. The call also
6723
+ # returns a token that you can specify in a subsequent call to get the
6724
+ # next set of results.
6725
+ #
6726
+ # @return [Types::ListDocumentMetadataHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6727
+ #
6728
+ # * {Types::ListDocumentMetadataHistoryResponse#name #name} => String
6729
+ # * {Types::ListDocumentMetadataHistoryResponse#document_version #document_version} => String
6730
+ # * {Types::ListDocumentMetadataHistoryResponse#author #author} => String
6731
+ # * {Types::ListDocumentMetadataHistoryResponse#metadata #metadata} => Types::DocumentMetadataResponseInfo
6732
+ # * {Types::ListDocumentMetadataHistoryResponse#next_token #next_token} => String
6733
+ #
6734
+ # @example Request syntax with placeholder values
6735
+ #
6736
+ # resp = client.list_document_metadata_history({
6737
+ # name: "DocumentName", # required
6738
+ # document_version: "DocumentVersion",
6739
+ # metadata: "DocumentReviews", # required, accepts DocumentReviews
6740
+ # next_token: "NextToken",
6741
+ # max_results: 1,
6742
+ # })
6743
+ #
6744
+ # @example Response structure
6745
+ #
6746
+ # resp.name #=> String
6747
+ # resp.document_version #=> String
6748
+ # resp.author #=> String
6749
+ # resp.metadata.reviewer_response #=> Array
6750
+ # resp.metadata.reviewer_response[0].create_time #=> Time
6751
+ # resp.metadata.reviewer_response[0].updated_time #=> Time
6752
+ # resp.metadata.reviewer_response[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
6753
+ # resp.metadata.reviewer_response[0].comment #=> Array
6754
+ # resp.metadata.reviewer_response[0].comment[0].type #=> String, one of "Comment"
6755
+ # resp.metadata.reviewer_response[0].comment[0].content #=> String
6756
+ # resp.metadata.reviewer_response[0].reviewer #=> String
6757
+ # resp.next_token #=> String
6758
+ #
6759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistory AWS API Documentation
6760
+ #
6761
+ # @overload list_document_metadata_history(params = {})
6762
+ # @param [Hash] params ({})
6763
+ def list_document_metadata_history(params = {}, options = {})
6764
+ req = build_request(:list_document_metadata_history, params)
6765
+ req.send_request(options)
6766
+ end
6767
+
6535
6768
  # List all versions for a document.
6536
6769
  #
6537
6770
  # @option params [required, String] :name
@@ -6573,6 +6806,7 @@ module Aws::SSM
6573
6806
  # resp.document_versions[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
6574
6807
  # resp.document_versions[0].status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
6575
6808
  # resp.document_versions[0].status_information #=> String
6809
+ # resp.document_versions[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
6576
6810
  # resp.next_token #=> String
6577
6811
  #
6578
6812
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
@@ -6644,7 +6878,7 @@ module Aws::SSM
6644
6878
  # resp.document_identifiers[0].platform_types #=> Array
6645
6879
  # resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
6646
6880
  # resp.document_identifiers[0].document_version #=> String
6647
- # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
6881
+ # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
6648
6882
  # resp.document_identifiers[0].schema_version #=> String
6649
6883
  # resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
6650
6884
  # resp.document_identifiers[0].target_type #=> String
@@ -6654,6 +6888,8 @@ module Aws::SSM
6654
6888
  # resp.document_identifiers[0].requires #=> Array
6655
6889
  # resp.document_identifiers[0].requires[0].name #=> String
6656
6890
  # resp.document_identifiers[0].requires[0].version #=> String
6891
+ # resp.document_identifiers[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
6892
+ # resp.document_identifiers[0].author #=> String
6657
6893
  # resp.next_token #=> String
6658
6894
  #
6659
6895
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
@@ -6731,8 +6967,67 @@ module Aws::SSM
6731
6967
  req.send_request(options)
6732
6968
  end
6733
6969
 
6734
- # Systems Manager calls this API action when displaying all AppManager
6735
- # OpsMetadata objects or blobs.
6970
+ # Returns a list of all OpsItem events in the current AWS account and
6971
+ # Region. You can limit the results to events associated with specific
6972
+ # OpsItems by specifying a filter.
6973
+ #
6974
+ # @option params [Array<Types::OpsItemEventFilter>] :filters
6975
+ # One or more OpsItem filters. Use a filter to return a more specific
6976
+ # list of results.
6977
+ #
6978
+ # @option params [Integer] :max_results
6979
+ # The maximum number of items to return for this call. The call also
6980
+ # returns a token that you can specify in a subsequent call to get the
6981
+ # next set of results.
6982
+ #
6983
+ # @option params [String] :next_token
6984
+ # A token to start the list. Use this token to get the next set of
6985
+ # results.
6986
+ #
6987
+ # @return [Types::ListOpsItemEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6988
+ #
6989
+ # * {Types::ListOpsItemEventsResponse#next_token #next_token} => String
6990
+ # * {Types::ListOpsItemEventsResponse#summaries #summaries} => Array&lt;Types::OpsItemEventSummary&gt;
6991
+ #
6992
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6993
+ #
6994
+ # @example Request syntax with placeholder values
6995
+ #
6996
+ # resp = client.list_ops_item_events({
6997
+ # filters: [
6998
+ # {
6999
+ # key: "OpsItemId", # required, accepts OpsItemId
7000
+ # values: ["OpsItemEventFilterValue"], # required
7001
+ # operator: "Equal", # required, accepts Equal
7002
+ # },
7003
+ # ],
7004
+ # max_results: 1,
7005
+ # next_token: "String",
7006
+ # })
7007
+ #
7008
+ # @example Response structure
7009
+ #
7010
+ # resp.next_token #=> String
7011
+ # resp.summaries #=> Array
7012
+ # resp.summaries[0].ops_item_id #=> String
7013
+ # resp.summaries[0].event_id #=> String
7014
+ # resp.summaries[0].source #=> String
7015
+ # resp.summaries[0].detail_type #=> String
7016
+ # resp.summaries[0].detail #=> String
7017
+ # resp.summaries[0].created_by.arn #=> String
7018
+ # resp.summaries[0].created_time #=> Time
7019
+ #
7020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEvents AWS API Documentation
7021
+ #
7022
+ # @overload list_ops_item_events(params = {})
7023
+ # @param [Hash] params ({})
7024
+ def list_ops_item_events(params = {}, options = {})
7025
+ req = build_request(:list_ops_item_events, params)
7026
+ req.send_request(options)
7027
+ end
7028
+
7029
+ # Systems Manager calls this API action when displaying all Application
7030
+ # Manager OpsMetadata objects or blobs.
6736
7031
  #
6737
7032
  # @option params [Array<Types::OpsMetadataFilter>] :filters
6738
7033
  # One or more filters to limit the number of OpsMetadata objects
@@ -6752,6 +7047,8 @@ module Aws::SSM
6752
7047
  # * {Types::ListOpsMetadataResult#ops_metadata_list #ops_metadata_list} => Array&lt;Types::OpsMetadata&gt;
6753
7048
  # * {Types::ListOpsMetadataResult#next_token #next_token} => String
6754
7049
  #
7050
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7051
+ #
6755
7052
  # @example Request syntax with placeholder values
6756
7053
  #
6757
7054
  # resp = client.list_ops_metadata({
@@ -7670,7 +7967,7 @@ module Aws::SSM
7670
7967
  #
7671
7968
  # Specify maintenance window targets using the following format:
7672
7969
  #
7673
- # `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
7970
+ # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
7674
7971
  #
7675
7972
  # @option params [required, String] :task_arn
7676
7973
  # The ARN of the task to run.
@@ -8415,6 +8712,125 @@ module Aws::SSM
8415
8712
  req.send_request(options)
8416
8713
  end
8417
8714
 
8715
+ # Creates a change request for Change Manager. The runbooks (Automation
8716
+ # documents) specified in the change request run only after all required
8717
+ # approvals for the change request have been received.
8718
+ #
8719
+ # @option params [Time,DateTime,Date,Integer,String] :scheduled_time
8720
+ # The date and time specified in the change request to run the
8721
+ # Automation runbooks.
8722
+ #
8723
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
8724
+ # until all required approvals for the change request have been
8725
+ # received.
8726
+ #
8727
+ # </note>
8728
+ #
8729
+ # @option params [required, String] :document_name
8730
+ # The name of the change template document to run during the runbook
8731
+ # workflow.
8732
+ #
8733
+ # @option params [String] :document_version
8734
+ # The version of the change template document to run during the runbook
8735
+ # workflow.
8736
+ #
8737
+ # @option params [Hash<String,Array>] :parameters
8738
+ # A key-value map of parameters that match the declared parameters in
8739
+ # the change template document.
8740
+ #
8741
+ # @option params [String] :change_request_name
8742
+ # The name of the change request associated with the runbook workflow to
8743
+ # be run.
8744
+ #
8745
+ # @option params [String] :client_token
8746
+ # The user-provided idempotency token. The token must be unique, is case
8747
+ # insensitive, enforces the UUID format, and can't be reused.
8748
+ #
8749
+ # @option params [required, Array<Types::Runbook>] :runbooks
8750
+ # Information about the Automation runbooks (Automation documents) that
8751
+ # are run during the runbook workflow.
8752
+ #
8753
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
8754
+ # until all required approvals for the change request have been
8755
+ # received.
8756
+ #
8757
+ # </note>
8758
+ #
8759
+ # @option params [Array<Types::Tag>] :tags
8760
+ # Optional metadata that you assign to a resource. You can specify a
8761
+ # maximum of five tags for a change request. Tags enable you to
8762
+ # categorize a resource in different ways, such as by purpose, owner, or
8763
+ # environment. For example, you might want to tag a change request to
8764
+ # identify an environment or target AWS Region. In this case, you could
8765
+ # specify the following key-value pairs:
8766
+ #
8767
+ # * `Key=Environment,Value=Production`
8768
+ #
8769
+ # * `Key=Region,Value=us-east-2`
8770
+ #
8771
+ # @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8772
+ #
8773
+ # * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
8774
+ #
8775
+ # @example Request syntax with placeholder values
8776
+ #
8777
+ # resp = client.start_change_request_execution({
8778
+ # scheduled_time: Time.now,
8779
+ # document_name: "DocumentARN", # required
8780
+ # document_version: "DocumentVersion",
8781
+ # parameters: {
8782
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
8783
+ # },
8784
+ # change_request_name: "ChangeRequestName",
8785
+ # client_token: "IdempotencyToken",
8786
+ # runbooks: [ # required
8787
+ # {
8788
+ # document_name: "DocumentARN", # required
8789
+ # document_version: "DocumentVersion",
8790
+ # parameters: {
8791
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
8792
+ # },
8793
+ # target_parameter_name: "AutomationParameterKey",
8794
+ # targets: [
8795
+ # {
8796
+ # key: "TargetKey",
8797
+ # values: ["TargetValue"],
8798
+ # },
8799
+ # ],
8800
+ # max_concurrency: "MaxConcurrency",
8801
+ # max_errors: "MaxErrors",
8802
+ # target_locations: [
8803
+ # {
8804
+ # accounts: ["Account"],
8805
+ # regions: ["Region"],
8806
+ # target_location_max_concurrency: "MaxConcurrency",
8807
+ # target_location_max_errors: "MaxErrors",
8808
+ # execution_role_name: "ExecutionRoleName",
8809
+ # },
8810
+ # ],
8811
+ # },
8812
+ # ],
8813
+ # tags: [
8814
+ # {
8815
+ # key: "TagKey", # required
8816
+ # value: "TagValue", # required
8817
+ # },
8818
+ # ],
8819
+ # })
8820
+ #
8821
+ # @example Response structure
8822
+ #
8823
+ # resp.automation_execution_id #=> String
8824
+ #
8825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecution AWS API Documentation
8826
+ #
8827
+ # @overload start_change_request_execution(params = {})
8828
+ # @param [Hash] params ({})
8829
+ def start_change_request_execution(params = {}, options = {})
8830
+ req = build_request(:start_change_request_execution, params)
8831
+ req.send_request(options)
8832
+ end
8833
+
8418
8834
  # Initiates a connection to a target (for example, an instance) for a
8419
8835
  # Session Manager session. Returns a URL and token that can be used to
8420
8836
  # open a WebSocket connection for sending input and receiving outputs.
@@ -8667,6 +9083,11 @@ module Aws::SSM
8667
9083
  # association to run immediately after updating it and according to the
8668
9084
  # interval specified.
8669
9085
  #
9086
+ # @option params [Array<Types::TargetLocation>] :target_locations
9087
+ # A location is a combination of AWS Regions and AWS accounts where you
9088
+ # want to run the association. Use this action to update an association
9089
+ # in multiple Regions and multiple accounts.
9090
+ #
8670
9091
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8671
9092
  #
8672
9093
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -8702,6 +9123,15 @@ module Aws::SSM
8702
9123
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
8703
9124
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
8704
9125
  # apply_only_at_cron_interval: false,
9126
+ # target_locations: [
9127
+ # {
9128
+ # accounts: ["Account"],
9129
+ # regions: ["Region"],
9130
+ # target_location_max_concurrency: "MaxConcurrency",
9131
+ # target_location_max_errors: "MaxErrors",
9132
+ # execution_role_name: "ExecutionRoleName",
9133
+ # },
9134
+ # ],
8705
9135
  # })
8706
9136
  #
8707
9137
  # @example Response structure
@@ -8741,6 +9171,14 @@ module Aws::SSM
8741
9171
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
8742
9172
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
8743
9173
  # resp.association_description.apply_only_at_cron_interval #=> Boolean
9174
+ # resp.association_description.target_locations #=> Array
9175
+ # resp.association_description.target_locations[0].accounts #=> Array
9176
+ # resp.association_description.target_locations[0].accounts[0] #=> String
9177
+ # resp.association_description.target_locations[0].regions #=> Array
9178
+ # resp.association_description.target_locations[0].regions[0] #=> String
9179
+ # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
9180
+ # resp.association_description.target_locations[0].target_location_max_errors #=> String
9181
+ # resp.association_description.target_locations[0].execution_role_name #=> String
8744
9182
  #
8745
9183
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
8746
9184
  #
@@ -8817,6 +9255,14 @@ module Aws::SSM
8817
9255
  # resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
8818
9256
  # resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
8819
9257
  # resp.association_description.apply_only_at_cron_interval #=> Boolean
9258
+ # resp.association_description.target_locations #=> Array
9259
+ # resp.association_description.target_locations[0].accounts #=> Array
9260
+ # resp.association_description.target_locations[0].accounts[0] #=> String
9261
+ # resp.association_description.target_locations[0].regions #=> Array
9262
+ # resp.association_description.target_locations[0].regions[0] #=> String
9263
+ # resp.association_description.target_locations[0].target_location_max_concurrency #=> String
9264
+ # resp.association_description.target_locations[0].target_location_max_errors #=> String
9265
+ # resp.association_description.target_locations[0].execution_role_name #=> String
8820
9266
  #
8821
9267
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
8822
9268
  #
@@ -8900,7 +9346,7 @@ module Aws::SSM
8900
9346
  # resp.document_description.parameters[0].default_value #=> String
8901
9347
  # resp.document_description.platform_types #=> Array
8902
9348
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
8903
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
9349
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
8904
9350
  # resp.document_description.schema_version #=> String
8905
9351
  # resp.document_description.latest_version #=> String
8906
9352
  # resp.document_description.default_version #=> String
@@ -8914,6 +9360,14 @@ module Aws::SSM
8914
9360
  # resp.document_description.requires #=> Array
8915
9361
  # resp.document_description.requires[0].name #=> String
8916
9362
  # resp.document_description.requires[0].version #=> String
9363
+ # resp.document_description.author #=> String
9364
+ # resp.document_description.review_information #=> Array
9365
+ # resp.document_description.review_information[0].reviewed_time #=> Time
9366
+ # resp.document_description.review_information[0].status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
9367
+ # resp.document_description.review_information[0].reviewer #=> String
9368
+ # resp.document_description.approved_version #=> String
9369
+ # resp.document_description.pending_review_version #=> String
9370
+ # resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
8917
9371
  #
8918
9372
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
8919
9373
  #
@@ -8960,6 +9414,45 @@ module Aws::SSM
8960
9414
  req.send_request(options)
8961
9415
  end
8962
9416
 
9417
+ # Updates information related to approval reviews for a specific version
9418
+ # of a document.
9419
+ #
9420
+ # @option params [required, String] :name
9421
+ # The name of the document for which a version is to be updated.
9422
+ #
9423
+ # @option params [String] :document_version
9424
+ # The version of a document to update.
9425
+ #
9426
+ # @option params [required, Types::DocumentReviews] :document_reviews
9427
+ # The document review details to update.
9428
+ #
9429
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9430
+ #
9431
+ # @example Request syntax with placeholder values
9432
+ #
9433
+ # resp = client.update_document_metadata({
9434
+ # name: "DocumentName", # required
9435
+ # document_version: "DocumentVersion",
9436
+ # document_reviews: { # required
9437
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
9438
+ # comment: [
9439
+ # {
9440
+ # type: "Comment", # accepts Comment
9441
+ # content: "DocumentReviewComment",
9442
+ # },
9443
+ # ],
9444
+ # },
9445
+ # })
9446
+ #
9447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadata AWS API Documentation
9448
+ #
9449
+ # @overload update_document_metadata(params = {})
9450
+ # @param [Hash] params ({})
9451
+ def update_document_metadata(params = {}, options = {})
9452
+ req = build_request(:update_document_metadata, params)
9453
+ req.send_request(options)
9454
+ end
9455
+
8963
9456
  # Updates an existing maintenance window. Only specified parameters are
8964
9457
  # modified.
8965
9458
  #
@@ -8985,7 +9478,7 @@ module Aws::SSM
8985
9478
  # @option params [String] :start_date
8986
9479
  # The time zone that the scheduled maintenance window executions are
8987
9480
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
8988
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
9481
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
8989
9482
  # more information, see the [Time Zone Database][1] on the IANA website.
8990
9483
  #
8991
9484
  #
@@ -9005,7 +9498,7 @@ module Aws::SSM
9005
9498
  # @option params [String] :schedule_timezone
9006
9499
  # The time zone that the scheduled maintenance window executions are
9007
9500
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
9008
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul". For
9501
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
9009
9502
  # more information, see the [Time Zone Database][1] on the IANA website.
9010
9503
  #
9011
9504
  #
@@ -9019,7 +9512,7 @@ module Aws::SSM
9019
9512
  # For example, the following cron expression schedules a maintenance
9020
9513
  # window to run the third Tuesday of every month at 11:30 PM.
9021
9514
  #
9022
- # `cron(0 30 23 ? * TUE#3 *)`
9515
+ # `cron(30 23 ? * TUE#3 *)`
9023
9516
  #
9024
9517
  # If the schedule offset is `2`, the maintenance window won't run until
9025
9518
  # two days later.
@@ -9592,6 +10085,23 @@ module Aws::SSM
9592
10085
  # @option params [String] :severity
9593
10086
  # Specify a new severity for an OpsItem.
9594
10087
  #
10088
+ # @option params [Time,DateTime,Date,Integer,String] :actual_start_time
10089
+ # The time a runbook workflow started. Currently reported only for the
10090
+ # OpsItem type `/aws/changerequest`.
10091
+ #
10092
+ # @option params [Time,DateTime,Date,Integer,String] :actual_end_time
10093
+ # The time a runbook workflow ended. Currently reported only for the
10094
+ # OpsItem type `/aws/changerequest`.
10095
+ #
10096
+ # @option params [Time,DateTime,Date,Integer,String] :planned_start_time
10097
+ # The time specified in a change request for a runbook workflow to
10098
+ # start. Currently supported only for the OpsItem type
10099
+ # `/aws/changerequest`.
10100
+ #
10101
+ # @option params [Time,DateTime,Date,Integer,String] :planned_end_time
10102
+ # The time specified in a change request for a runbook workflow to end.
10103
+ # Currently supported only for the OpsItem type `/aws/changerequest`.
10104
+ #
9595
10105
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9596
10106
  #
9597
10107
  # @example Request syntax with placeholder values
@@ -9616,11 +10126,15 @@ module Aws::SSM
9616
10126
  # ops_item_id: "String", # required
9617
10127
  # },
9618
10128
  # ],
9619
- # status: "Open", # accepts Open, InProgress, Resolved
10129
+ # status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
9620
10130
  # ops_item_id: "OpsItemId", # required
9621
10131
  # title: "OpsItemTitle",
9622
10132
  # category: "OpsItemCategory",
9623
10133
  # severity: "OpsItemSeverity",
10134
+ # actual_start_time: Time.now,
10135
+ # actual_end_time: Time.now,
10136
+ # planned_start_time: Time.now,
10137
+ # planned_end_time: Time.now,
9624
10138
  # })
9625
10139
  #
9626
10140
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem AWS API Documentation
@@ -9633,7 +10147,7 @@ module Aws::SSM
9633
10147
  end
9634
10148
 
9635
10149
  # Systems Manager calls this API action when you edit OpsMetadata in
9636
- # AppManager.
10150
+ # Application Manager.
9637
10151
  #
9638
10152
  # @option params [required, String] :ops_metadata_arn
9639
10153
  # The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
@@ -9993,7 +10507,7 @@ module Aws::SSM
9993
10507
  params: params,
9994
10508
  config: config)
9995
10509
  context[:gem_name] = 'aws-sdk-ssm'
9996
- context[:gem_version] = '1.99.0'
10510
+ context[:gem_version] = '1.100.0'
9997
10511
  Seahorse::Client::Request.new(handlers, context)
9998
10512
  end
9999
10513