aws-sdk-ssm 1.97.0 → 1.102.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +889 -49
- data/lib/aws-sdk-ssm/client_api.rb +438 -3
- data/lib/aws-sdk-ssm/errors.rb +112 -0
- data/lib/aws-sdk-ssm/types.rb +1646 -100
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a95c41aa2032ee33398423c9b154cf5416bfc31978988e45727831fa200bdb
|
4
|
+
data.tar.gz: 2bc8a5b554eaf0e663a9ca7faa9fa07359026f5cc574d73d6f206e6ee9e8b5e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1c7af8640342cc5fe822baefc9e9dda629e4ee37d348488c9234fb0dd2de6e06871d143fb791a570573fa77b3aa67dd47c55159efa738464e910e5e05195a50
|
7
|
+
data.tar.gz: e5f4ef1445c2215127d13be942fb55c5cc15700187fa9cdd21ae35c949f38ec414eeb466d885e58a67bb8340ff6663edef700db80f060453b8bc87b3eba4b10a
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -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", "
|
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(
|
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, TargetResourceGroup
|
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
|
#
|
@@ -2757,16 +2941,28 @@ module Aws::SSM
|
|
2757
2941
|
# The permission type for the document. The permission type can be
|
2758
2942
|
# *Share*.
|
2759
2943
|
#
|
2944
|
+
# @option params [Integer] :max_results
|
2945
|
+
# The maximum number of items to return for this call. The call also
|
2946
|
+
# returns a token that you can specify in a subsequent call to get the
|
2947
|
+
# next set of results.
|
2948
|
+
#
|
2949
|
+
# @option params [String] :next_token
|
2950
|
+
# The token for the next set of items to return. (You received this
|
2951
|
+
# token from a previous call.)
|
2952
|
+
#
|
2760
2953
|
# @return [Types::DescribeDocumentPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2761
2954
|
#
|
2762
2955
|
# * {Types::DescribeDocumentPermissionResponse#account_ids #account_ids} => Array<String>
|
2763
2956
|
# * {Types::DescribeDocumentPermissionResponse#account_sharing_info_list #account_sharing_info_list} => Array<Types::AccountSharingInfo>
|
2957
|
+
# * {Types::DescribeDocumentPermissionResponse#next_token #next_token} => String
|
2764
2958
|
#
|
2765
2959
|
# @example Request syntax with placeholder values
|
2766
2960
|
#
|
2767
2961
|
# resp = client.describe_document_permission({
|
2768
2962
|
# name: "DocumentName", # required
|
2769
2963
|
# permission_type: "Share", # required, accepts Share
|
2964
|
+
# max_results: 1,
|
2965
|
+
# next_token: "NextToken",
|
2770
2966
|
# })
|
2771
2967
|
#
|
2772
2968
|
# @example Response structure
|
@@ -2776,6 +2972,7 @@ module Aws::SSM
|
|
2776
2972
|
# resp.account_sharing_info_list #=> Array
|
2777
2973
|
# resp.account_sharing_info_list[0].account_id #=> String
|
2778
2974
|
# resp.account_sharing_info_list[0].shared_document_version #=> String
|
2975
|
+
# resp.next_token #=> String
|
2779
2976
|
#
|
2780
2977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission AWS API Documentation
|
2781
2978
|
#
|
@@ -3661,6 +3858,14 @@ module Aws::SSM
|
|
3661
3858
|
|
3662
3859
|
# Lists the tasks in a maintenance window.
|
3663
3860
|
#
|
3861
|
+
# <note markdown="1"> For maintenance window tasks without a specified target, you cannot
|
3862
|
+
# supply values for `--max-errors` and `--max-concurrency`. Instead, the
|
3863
|
+
# system inserts a placeholder value of `1`, which may be reported in
|
3864
|
+
# the response to this command. These values do not affect the running
|
3865
|
+
# of your task and can be ignored.
|
3866
|
+
#
|
3867
|
+
# </note>
|
3868
|
+
#
|
3664
3869
|
# @option params [required, String] :window_id
|
3665
3870
|
# The ID of the maintenance window whose tasks should be retrieved.
|
3666
3871
|
#
|
@@ -3947,7 +4152,7 @@ module Aws::SSM
|
|
3947
4152
|
# resp = client.describe_ops_items({
|
3948
4153
|
# ops_item_filters: [
|
3949
4154
|
# {
|
3950
|
-
# key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
|
4155
|
+
# 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
4156
|
# values: ["OpsItemFilterValue"], # required
|
3952
4157
|
# operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
|
3953
4158
|
# },
|
@@ -3966,7 +4171,7 @@ module Aws::SSM
|
|
3966
4171
|
# resp.ops_item_summaries[0].last_modified_time #=> Time
|
3967
4172
|
# resp.ops_item_summaries[0].priority #=> Integer
|
3968
4173
|
# resp.ops_item_summaries[0].source #=> String
|
3969
|
-
# resp.ops_item_summaries[0].status #=> String, one of "Open", "InProgress", "Resolved"
|
4174
|
+
# 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
4175
|
# resp.ops_item_summaries[0].ops_item_id #=> String
|
3971
4176
|
# resp.ops_item_summaries[0].title #=> String
|
3972
4177
|
# resp.ops_item_summaries[0].operational_data #=> Hash
|
@@ -3974,6 +4179,11 @@ module Aws::SSM
|
|
3974
4179
|
# resp.ops_item_summaries[0].operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
|
3975
4180
|
# resp.ops_item_summaries[0].category #=> String
|
3976
4181
|
# resp.ops_item_summaries[0].severity #=> String
|
4182
|
+
# resp.ops_item_summaries[0].ops_item_type #=> String
|
4183
|
+
# resp.ops_item_summaries[0].actual_start_time #=> Time
|
4184
|
+
# resp.ops_item_summaries[0].actual_end_time #=> Time
|
4185
|
+
# resp.ops_item_summaries[0].planned_start_time #=> Time
|
4186
|
+
# resp.ops_item_summaries[0].planned_end_time #=> Time
|
3977
4187
|
#
|
3978
4188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeOpsItems AWS API Documentation
|
3979
4189
|
#
|
@@ -4109,7 +4319,7 @@ module Aws::SSM
|
|
4109
4319
|
# resp.baseline_identities #=> Array
|
4110
4320
|
# resp.baseline_identities[0].baseline_id #=> String
|
4111
4321
|
# 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"
|
4322
|
+
# 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
4323
|
# resp.baseline_identities[0].baseline_description #=> String
|
4114
4324
|
# resp.baseline_identities[0].default_baseline #=> Boolean
|
4115
4325
|
# resp.next_token #=> String
|
@@ -4223,7 +4433,7 @@ module Aws::SSM
|
|
4223
4433
|
# resp.mappings[0].patch_group #=> String
|
4224
4434
|
# resp.mappings[0].baseline_identity.baseline_id #=> String
|
4225
4435
|
# 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"
|
4436
|
+
# 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
4437
|
# resp.mappings[0].baseline_identity.baseline_description #=> String
|
4228
4438
|
# resp.mappings[0].baseline_identity.default_baseline #=> Boolean
|
4229
4439
|
# resp.next_token #=> String
|
@@ -4263,6 +4473,10 @@ module Aws::SSM
|
|
4263
4473
|
#
|
4264
4474
|
# : Valid properties: PRODUCT, PRIORITY
|
4265
4475
|
#
|
4476
|
+
# MACOS
|
4477
|
+
#
|
4478
|
+
# : Valid properties: PRODUCT, CLASSIFICATION
|
4479
|
+
#
|
4266
4480
|
# ORACLE\_LINUX
|
4267
4481
|
#
|
4268
4482
|
# : Valid properties: PRODUCT, CLASSIFICATION, SEVERITY
|
@@ -4292,8 +4506,8 @@ module Aws::SSM
|
|
4292
4506
|
#
|
4293
4507
|
# @option params [String] :patch_set
|
4294
4508
|
# Indicates whether to list patches for the Windows operating system or
|
4295
|
-
# for Microsoft applications. Not applicable for Linux
|
4296
|
-
# systems.
|
4509
|
+
# for Microsoft applications. Not applicable for the Linux or macOS
|
4510
|
+
# operating systems.
|
4297
4511
|
#
|
4298
4512
|
# @option params [Integer] :max_results
|
4299
4513
|
# The maximum number of items to return for this call. The call also
|
@@ -4314,7 +4528,7 @@ module Aws::SSM
|
|
4314
4528
|
# @example Request syntax with placeholder values
|
4315
4529
|
#
|
4316
4530
|
# 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
|
4531
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
4318
4532
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
4319
4533
|
# patch_set: "OS", # accepts OS, APPLICATION
|
4320
4534
|
# max_results: 1,
|
@@ -4372,7 +4586,7 @@ module Aws::SSM
|
|
4372
4586
|
# next_token: "NextToken",
|
4373
4587
|
# filters: [
|
4374
4588
|
# {
|
4375
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
|
4589
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
|
4376
4590
|
# value: "SessionFilterValue", # required
|
4377
4591
|
# },
|
4378
4592
|
# ],
|
@@ -4426,7 +4640,7 @@ module Aws::SSM
|
|
4426
4640
|
# resp.automation_execution.document_version #=> String
|
4427
4641
|
# resp.automation_execution.execution_start_time #=> Time
|
4428
4642
|
# 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"
|
4643
|
+
# 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
4644
|
# resp.automation_execution.step_executions #=> Array
|
4431
4645
|
# resp.automation_execution.step_executions[0].step_name #=> String
|
4432
4646
|
# resp.automation_execution.step_executions[0].action #=> String
|
@@ -4435,7 +4649,7 @@ module Aws::SSM
|
|
4435
4649
|
# resp.automation_execution.step_executions[0].max_attempts #=> Integer
|
4436
4650
|
# resp.automation_execution.step_executions[0].execution_start_time #=> Time
|
4437
4651
|
# 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"
|
4652
|
+
# 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
4653
|
# resp.automation_execution.step_executions[0].response_code #=> String
|
4440
4654
|
# resp.automation_execution.step_executions[0].inputs #=> Hash
|
4441
4655
|
# resp.automation_execution.step_executions[0].inputs["String"] #=> String
|
@@ -4510,6 +4724,32 @@ module Aws::SSM
|
|
4510
4724
|
# resp.automation_execution.progress_counters.failed_steps #=> Integer
|
4511
4725
|
# resp.automation_execution.progress_counters.cancelled_steps #=> Integer
|
4512
4726
|
# resp.automation_execution.progress_counters.timed_out_steps #=> Integer
|
4727
|
+
# resp.automation_execution.automation_subtype #=> String, one of "ChangeRequest"
|
4728
|
+
# resp.automation_execution.scheduled_time #=> Time
|
4729
|
+
# resp.automation_execution.runbooks #=> Array
|
4730
|
+
# resp.automation_execution.runbooks[0].document_name #=> String
|
4731
|
+
# resp.automation_execution.runbooks[0].document_version #=> String
|
4732
|
+
# resp.automation_execution.runbooks[0].parameters #=> Hash
|
4733
|
+
# resp.automation_execution.runbooks[0].parameters["AutomationParameterKey"] #=> Array
|
4734
|
+
# resp.automation_execution.runbooks[0].parameters["AutomationParameterKey"][0] #=> String
|
4735
|
+
# resp.automation_execution.runbooks[0].target_parameter_name #=> String
|
4736
|
+
# resp.automation_execution.runbooks[0].targets #=> Array
|
4737
|
+
# resp.automation_execution.runbooks[0].targets[0].key #=> String
|
4738
|
+
# resp.automation_execution.runbooks[0].targets[0].values #=> Array
|
4739
|
+
# resp.automation_execution.runbooks[0].targets[0].values[0] #=> String
|
4740
|
+
# resp.automation_execution.runbooks[0].max_concurrency #=> String
|
4741
|
+
# resp.automation_execution.runbooks[0].max_errors #=> String
|
4742
|
+
# resp.automation_execution.runbooks[0].target_locations #=> Array
|
4743
|
+
# resp.automation_execution.runbooks[0].target_locations[0].accounts #=> Array
|
4744
|
+
# resp.automation_execution.runbooks[0].target_locations[0].accounts[0] #=> String
|
4745
|
+
# resp.automation_execution.runbooks[0].target_locations[0].regions #=> Array
|
4746
|
+
# resp.automation_execution.runbooks[0].target_locations[0].regions[0] #=> String
|
4747
|
+
# resp.automation_execution.runbooks[0].target_locations[0].target_location_max_concurrency #=> String
|
4748
|
+
# resp.automation_execution.runbooks[0].target_locations[0].target_location_max_errors #=> String
|
4749
|
+
# resp.automation_execution.runbooks[0].target_locations[0].execution_role_name #=> String
|
4750
|
+
# resp.automation_execution.ops_item_id #=> String
|
4751
|
+
# resp.automation_execution.association_id #=> String
|
4752
|
+
# resp.automation_execution.change_request_name #=> String
|
4513
4753
|
#
|
4514
4754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution AWS API Documentation
|
4515
4755
|
#
|
@@ -4714,13 +4954,13 @@ module Aws::SSM
|
|
4714
4954
|
# @example Request syntax with placeholder values
|
4715
4955
|
#
|
4716
4956
|
# 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
|
4957
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
4718
4958
|
# })
|
4719
4959
|
#
|
4720
4960
|
# @example Response structure
|
4721
4961
|
#
|
4722
4962
|
# 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"
|
4963
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
|
4724
4964
|
#
|
4725
4965
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
|
4726
4966
|
#
|
@@ -4801,6 +5041,7 @@ module Aws::SSM
|
|
4801
5041
|
# * {Types::GetDocumentResult#document_format #document_format} => String
|
4802
5042
|
# * {Types::GetDocumentResult#requires #requires} => Array<Types::DocumentRequires>
|
4803
5043
|
# * {Types::GetDocumentResult#attachments_content #attachments_content} => Array<Types::AttachmentContent>
|
5044
|
+
# * {Types::GetDocumentResult#review_status #review_status} => String
|
4804
5045
|
#
|
4805
5046
|
# @example Request syntax with placeholder values
|
4806
5047
|
#
|
@@ -4819,7 +5060,7 @@ module Aws::SSM
|
|
4819
5060
|
# resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
|
4820
5061
|
# resp.status_information #=> String
|
4821
5062
|
# resp.content #=> String
|
4822
|
-
# resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
|
5063
|
+
# resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
4823
5064
|
# resp.document_format #=> String, one of "YAML", "JSON", "TEXT"
|
4824
5065
|
# resp.requires #=> Array
|
4825
5066
|
# resp.requires[0].name #=> String
|
@@ -4830,6 +5071,7 @@ module Aws::SSM
|
|
4830
5071
|
# resp.attachments_content[0].hash #=> String
|
4831
5072
|
# resp.attachments_content[0].hash_type #=> String, one of "Sha256"
|
4832
5073
|
# resp.attachments_content[0].url #=> String
|
5074
|
+
# resp.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
4833
5075
|
#
|
4834
5076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument AWS API Documentation
|
4835
5077
|
#
|
@@ -5214,6 +5456,14 @@ module Aws::SSM
|
|
5214
5456
|
|
5215
5457
|
# Lists the tasks in a maintenance window.
|
5216
5458
|
#
|
5459
|
+
# <note markdown="1"> For maintenance window tasks without a specified target, you cannot
|
5460
|
+
# supply values for `--max-errors` and `--max-concurrency`. Instead, the
|
5461
|
+
# system inserts a placeholder value of `1`, which may be reported in
|
5462
|
+
# the response to this command. These values do not affect the running
|
5463
|
+
# of your task and can be ignored.
|
5464
|
+
#
|
5465
|
+
# </note>
|
5466
|
+
#
|
5217
5467
|
# @option params [required, String] :window_id
|
5218
5468
|
# The maintenance window ID that includes the task to retrieve.
|
5219
5469
|
#
|
@@ -5334,6 +5584,7 @@ module Aws::SSM
|
|
5334
5584
|
# @example Response structure
|
5335
5585
|
#
|
5336
5586
|
# resp.ops_item.created_by #=> String
|
5587
|
+
# resp.ops_item.ops_item_type #=> String
|
5337
5588
|
# resp.ops_item.created_time #=> Time
|
5338
5589
|
# resp.ops_item.description #=> String
|
5339
5590
|
# resp.ops_item.last_modified_by #=> String
|
@@ -5343,7 +5594,7 @@ module Aws::SSM
|
|
5343
5594
|
# resp.ops_item.priority #=> Integer
|
5344
5595
|
# resp.ops_item.related_ops_items #=> Array
|
5345
5596
|
# resp.ops_item.related_ops_items[0].ops_item_id #=> String
|
5346
|
-
# resp.ops_item.status #=> String, one of "Open", "InProgress", "Resolved"
|
5597
|
+
# 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
5598
|
# resp.ops_item.ops_item_id #=> String
|
5348
5599
|
# resp.ops_item.version #=> String
|
5349
5600
|
# resp.ops_item.title #=> String
|
@@ -5353,6 +5604,10 @@ module Aws::SSM
|
|
5353
5604
|
# resp.ops_item.operational_data["OpsItemDataKey"].type #=> String, one of "SearchableString", "String"
|
5354
5605
|
# resp.ops_item.category #=> String
|
5355
5606
|
# resp.ops_item.severity #=> String
|
5607
|
+
# resp.ops_item.actual_start_time #=> Time
|
5608
|
+
# resp.ops_item.actual_end_time #=> Time
|
5609
|
+
# resp.ops_item.planned_start_time #=> Time
|
5610
|
+
# resp.ops_item.planned_end_time #=> Time
|
5356
5611
|
#
|
5357
5612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem AWS API Documentation
|
5358
5613
|
#
|
@@ -5363,6 +5618,51 @@ module Aws::SSM
|
|
5363
5618
|
req.send_request(options)
|
5364
5619
|
end
|
5365
5620
|
|
5621
|
+
# View operational metadata related to an application in Application
|
5622
|
+
# Manager.
|
5623
|
+
#
|
5624
|
+
# @option params [required, String] :ops_metadata_arn
|
5625
|
+
# The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
|
5626
|
+
#
|
5627
|
+
# @option params [Integer] :max_results
|
5628
|
+
# The maximum number of items to return for this call. The call also
|
5629
|
+
# returns a token that you can specify in a subsequent call to get the
|
5630
|
+
# next set of results.
|
5631
|
+
#
|
5632
|
+
# @option params [String] :next_token
|
5633
|
+
# A token to start the list. Use this token to get the next set of
|
5634
|
+
# results.
|
5635
|
+
#
|
5636
|
+
# @return [Types::GetOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5637
|
+
#
|
5638
|
+
# * {Types::GetOpsMetadataResult#resource_id #resource_id} => String
|
5639
|
+
# * {Types::GetOpsMetadataResult#metadata #metadata} => Hash<String,Types::MetadataValue>
|
5640
|
+
# * {Types::GetOpsMetadataResult#next_token #next_token} => String
|
5641
|
+
#
|
5642
|
+
# @example Request syntax with placeholder values
|
5643
|
+
#
|
5644
|
+
# resp = client.get_ops_metadata({
|
5645
|
+
# ops_metadata_arn: "OpsMetadataArn", # required
|
5646
|
+
# max_results: 1,
|
5647
|
+
# next_token: "NextToken",
|
5648
|
+
# })
|
5649
|
+
#
|
5650
|
+
# @example Response structure
|
5651
|
+
#
|
5652
|
+
# resp.resource_id #=> String
|
5653
|
+
# resp.metadata #=> Hash
|
5654
|
+
# resp.metadata["MetadataKey"].value #=> String
|
5655
|
+
# resp.next_token #=> String
|
5656
|
+
#
|
5657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadata AWS API Documentation
|
5658
|
+
#
|
5659
|
+
# @overload get_ops_metadata(params = {})
|
5660
|
+
# @param [Hash] params ({})
|
5661
|
+
def get_ops_metadata(params = {}, options = {})
|
5662
|
+
req = build_request(:get_ops_metadata, params)
|
5663
|
+
req.send_request(options)
|
5664
|
+
end
|
5665
|
+
|
5366
5666
|
# View a summary of OpsItems based on specified filters and aggregators.
|
5367
5667
|
#
|
5368
5668
|
# @option params [String] :sync_name
|
@@ -5624,9 +5924,11 @@ module Aws::SSM
|
|
5624
5924
|
#
|
5625
5925
|
# @option params [required, String] :path
|
5626
5926
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
5627
|
-
# slash (/)
|
5628
|
-
#
|
5629
|
-
#
|
5927
|
+
# slash (/). The hierachy is the parameter name except the last part of
|
5928
|
+
# the parameter. For the API call to succeeed, the last part of the
|
5929
|
+
# parameter name cannot be in the path. A parameter name hierarchy can
|
5930
|
+
# have a maximum of 15 levels. Here is an example of a hierarchy:
|
5931
|
+
# `/Finance/Prod/IAD/WinServ2016/license33 `
|
5630
5932
|
#
|
5631
5933
|
# @option params [Boolean] :recursive
|
5632
5934
|
# Retrieve all parameters within a hierarchy.
|
@@ -5741,7 +6043,7 @@ module Aws::SSM
|
|
5741
6043
|
#
|
5742
6044
|
# resp.baseline_id #=> String
|
5743
6045
|
# 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"
|
6046
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
|
5745
6047
|
# resp.global_filters.patch_filters #=> Array
|
5746
6048
|
# 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
6049
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -5802,14 +6104,14 @@ module Aws::SSM
|
|
5802
6104
|
#
|
5803
6105
|
# resp = client.get_patch_baseline_for_patch_group({
|
5804
6106
|
# patch_group: "PatchGroup", # required
|
5805
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
6107
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
5806
6108
|
# })
|
5807
6109
|
#
|
5808
6110
|
# @example Response structure
|
5809
6111
|
#
|
5810
6112
|
# resp.baseline_id #=> String
|
5811
6113
|
# 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"
|
6114
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
|
5813
6115
|
#
|
5814
6116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
|
5815
6117
|
#
|
@@ -5999,6 +6301,14 @@ module Aws::SSM
|
|
5999
6301
|
# resp.association_versions[0].compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
6000
6302
|
# resp.association_versions[0].sync_compliance #=> String, one of "AUTO", "MANUAL"
|
6001
6303
|
# resp.association_versions[0].apply_only_at_cron_interval #=> Boolean
|
6304
|
+
# resp.association_versions[0].target_locations #=> Array
|
6305
|
+
# resp.association_versions[0].target_locations[0].accounts #=> Array
|
6306
|
+
# resp.association_versions[0].target_locations[0].accounts[0] #=> String
|
6307
|
+
# resp.association_versions[0].target_locations[0].regions #=> Array
|
6308
|
+
# resp.association_versions[0].target_locations[0].regions[0] #=> String
|
6309
|
+
# resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
|
6310
|
+
# resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
|
6311
|
+
# resp.association_versions[0].target_locations[0].execution_role_name #=> String
|
6002
6312
|
# resp.next_token #=> String
|
6003
6313
|
#
|
6004
6314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
@@ -6018,6 +6328,13 @@ module Aws::SSM
|
|
6018
6328
|
# One or more filters. Use a filter to return a more specific list of
|
6019
6329
|
# results.
|
6020
6330
|
#
|
6331
|
+
# <note markdown="1"> Filtering associations using the `InstanceID` attribute only returns
|
6332
|
+
# legacy associations created using the `InstanceID` attribute.
|
6333
|
+
# Associations targeting the instance that are part of the Target
|
6334
|
+
# Attributes `ResourceGroup` or `Tags` are not returned.
|
6335
|
+
#
|
6336
|
+
# </note>
|
6337
|
+
#
|
6021
6338
|
# @option params [Integer] :max_results
|
6022
6339
|
# The maximum number of items to return for this call. The call also
|
6023
6340
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -6416,6 +6733,69 @@ module Aws::SSM
|
|
6416
6733
|
req.send_request(options)
|
6417
6734
|
end
|
6418
6735
|
|
6736
|
+
# Information about approval reviews for a version of an SSM document.
|
6737
|
+
#
|
6738
|
+
# @option params [required, String] :name
|
6739
|
+
# The name of the document.
|
6740
|
+
#
|
6741
|
+
# @option params [String] :document_version
|
6742
|
+
# The version of the document.
|
6743
|
+
#
|
6744
|
+
# @option params [required, String] :metadata
|
6745
|
+
# The type of data for which details are being requested. Currently, the
|
6746
|
+
# only supported value is `DocumentReviews`.
|
6747
|
+
#
|
6748
|
+
# @option params [String] :next_token
|
6749
|
+
# The token for the next set of items to return. (You received this
|
6750
|
+
# token from a previous call.)
|
6751
|
+
#
|
6752
|
+
# @option params [Integer] :max_results
|
6753
|
+
# The maximum number of items to return for this call. The call also
|
6754
|
+
# returns a token that you can specify in a subsequent call to get the
|
6755
|
+
# next set of results.
|
6756
|
+
#
|
6757
|
+
# @return [Types::ListDocumentMetadataHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6758
|
+
#
|
6759
|
+
# * {Types::ListDocumentMetadataHistoryResponse#name #name} => String
|
6760
|
+
# * {Types::ListDocumentMetadataHistoryResponse#document_version #document_version} => String
|
6761
|
+
# * {Types::ListDocumentMetadataHistoryResponse#author #author} => String
|
6762
|
+
# * {Types::ListDocumentMetadataHistoryResponse#metadata #metadata} => Types::DocumentMetadataResponseInfo
|
6763
|
+
# * {Types::ListDocumentMetadataHistoryResponse#next_token #next_token} => String
|
6764
|
+
#
|
6765
|
+
# @example Request syntax with placeholder values
|
6766
|
+
#
|
6767
|
+
# resp = client.list_document_metadata_history({
|
6768
|
+
# name: "DocumentName", # required
|
6769
|
+
# document_version: "DocumentVersion",
|
6770
|
+
# metadata: "DocumentReviews", # required, accepts DocumentReviews
|
6771
|
+
# next_token: "NextToken",
|
6772
|
+
# max_results: 1,
|
6773
|
+
# })
|
6774
|
+
#
|
6775
|
+
# @example Response structure
|
6776
|
+
#
|
6777
|
+
# resp.name #=> String
|
6778
|
+
# resp.document_version #=> String
|
6779
|
+
# resp.author #=> String
|
6780
|
+
# resp.metadata.reviewer_response #=> Array
|
6781
|
+
# resp.metadata.reviewer_response[0].create_time #=> Time
|
6782
|
+
# resp.metadata.reviewer_response[0].updated_time #=> Time
|
6783
|
+
# resp.metadata.reviewer_response[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
6784
|
+
# resp.metadata.reviewer_response[0].comment #=> Array
|
6785
|
+
# resp.metadata.reviewer_response[0].comment[0].type #=> String, one of "Comment"
|
6786
|
+
# resp.metadata.reviewer_response[0].comment[0].content #=> String
|
6787
|
+
# resp.metadata.reviewer_response[0].reviewer #=> String
|
6788
|
+
# resp.next_token #=> String
|
6789
|
+
#
|
6790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistory AWS API Documentation
|
6791
|
+
#
|
6792
|
+
# @overload list_document_metadata_history(params = {})
|
6793
|
+
# @param [Hash] params ({})
|
6794
|
+
def list_document_metadata_history(params = {}, options = {})
|
6795
|
+
req = build_request(:list_document_metadata_history, params)
|
6796
|
+
req.send_request(options)
|
6797
|
+
end
|
6798
|
+
|
6419
6799
|
# List all versions for a document.
|
6420
6800
|
#
|
6421
6801
|
# @option params [required, String] :name
|
@@ -6457,6 +6837,7 @@ module Aws::SSM
|
|
6457
6837
|
# resp.document_versions[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
|
6458
6838
|
# resp.document_versions[0].status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
|
6459
6839
|
# resp.document_versions[0].status_information #=> String
|
6840
|
+
# resp.document_versions[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
6460
6841
|
# resp.next_token #=> String
|
6461
6842
|
#
|
6462
6843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
|
@@ -6528,7 +6909,7 @@ module Aws::SSM
|
|
6528
6909
|
# resp.document_identifiers[0].platform_types #=> Array
|
6529
6910
|
# resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
|
6530
6911
|
# resp.document_identifiers[0].document_version #=> String
|
6531
|
-
# resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
|
6912
|
+
# resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
6532
6913
|
# resp.document_identifiers[0].schema_version #=> String
|
6533
6914
|
# resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
|
6534
6915
|
# resp.document_identifiers[0].target_type #=> String
|
@@ -6538,6 +6919,8 @@ module Aws::SSM
|
|
6538
6919
|
# resp.document_identifiers[0].requires #=> Array
|
6539
6920
|
# resp.document_identifiers[0].requires[0].name #=> String
|
6540
6921
|
# resp.document_identifiers[0].requires[0].version #=> String
|
6922
|
+
# resp.document_identifiers[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
6923
|
+
# resp.document_identifiers[0].author #=> String
|
6541
6924
|
# resp.next_token #=> String
|
6542
6925
|
#
|
6543
6926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
|
@@ -6615,6 +6998,120 @@ module Aws::SSM
|
|
6615
6998
|
req.send_request(options)
|
6616
6999
|
end
|
6617
7000
|
|
7001
|
+
# Returns a list of all OpsItem events in the current AWS account and
|
7002
|
+
# Region. You can limit the results to events associated with specific
|
7003
|
+
# OpsItems by specifying a filter.
|
7004
|
+
#
|
7005
|
+
# @option params [Array<Types::OpsItemEventFilter>] :filters
|
7006
|
+
# One or more OpsItem filters. Use a filter to return a more specific
|
7007
|
+
# list of results.
|
7008
|
+
#
|
7009
|
+
# @option params [Integer] :max_results
|
7010
|
+
# The maximum number of items to return for this call. The call also
|
7011
|
+
# returns a token that you can specify in a subsequent call to get the
|
7012
|
+
# next set of results.
|
7013
|
+
#
|
7014
|
+
# @option params [String] :next_token
|
7015
|
+
# A token to start the list. Use this token to get the next set of
|
7016
|
+
# results.
|
7017
|
+
#
|
7018
|
+
# @return [Types::ListOpsItemEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7019
|
+
#
|
7020
|
+
# * {Types::ListOpsItemEventsResponse#next_token #next_token} => String
|
7021
|
+
# * {Types::ListOpsItemEventsResponse#summaries #summaries} => Array<Types::OpsItemEventSummary>
|
7022
|
+
#
|
7023
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7024
|
+
#
|
7025
|
+
# @example Request syntax with placeholder values
|
7026
|
+
#
|
7027
|
+
# resp = client.list_ops_item_events({
|
7028
|
+
# filters: [
|
7029
|
+
# {
|
7030
|
+
# key: "OpsItemId", # required, accepts OpsItemId
|
7031
|
+
# values: ["OpsItemEventFilterValue"], # required
|
7032
|
+
# operator: "Equal", # required, accepts Equal
|
7033
|
+
# },
|
7034
|
+
# ],
|
7035
|
+
# max_results: 1,
|
7036
|
+
# next_token: "String",
|
7037
|
+
# })
|
7038
|
+
#
|
7039
|
+
# @example Response structure
|
7040
|
+
#
|
7041
|
+
# resp.next_token #=> String
|
7042
|
+
# resp.summaries #=> Array
|
7043
|
+
# resp.summaries[0].ops_item_id #=> String
|
7044
|
+
# resp.summaries[0].event_id #=> String
|
7045
|
+
# resp.summaries[0].source #=> String
|
7046
|
+
# resp.summaries[0].detail_type #=> String
|
7047
|
+
# resp.summaries[0].detail #=> String
|
7048
|
+
# resp.summaries[0].created_by.arn #=> String
|
7049
|
+
# resp.summaries[0].created_time #=> Time
|
7050
|
+
#
|
7051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEvents AWS API Documentation
|
7052
|
+
#
|
7053
|
+
# @overload list_ops_item_events(params = {})
|
7054
|
+
# @param [Hash] params ({})
|
7055
|
+
def list_ops_item_events(params = {}, options = {})
|
7056
|
+
req = build_request(:list_ops_item_events, params)
|
7057
|
+
req.send_request(options)
|
7058
|
+
end
|
7059
|
+
|
7060
|
+
# Systems Manager calls this API action when displaying all Application
|
7061
|
+
# Manager OpsMetadata objects or blobs.
|
7062
|
+
#
|
7063
|
+
# @option params [Array<Types::OpsMetadataFilter>] :filters
|
7064
|
+
# One or more filters to limit the number of OpsMetadata objects
|
7065
|
+
# returned by the call.
|
7066
|
+
#
|
7067
|
+
# @option params [Integer] :max_results
|
7068
|
+
# The maximum number of items to return for this call. The call also
|
7069
|
+
# returns a token that you can specify in a subsequent call to get the
|
7070
|
+
# next set of results.
|
7071
|
+
#
|
7072
|
+
# @option params [String] :next_token
|
7073
|
+
# A token to start the list. Use this token to get the next set of
|
7074
|
+
# results.
|
7075
|
+
#
|
7076
|
+
# @return [Types::ListOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7077
|
+
#
|
7078
|
+
# * {Types::ListOpsMetadataResult#ops_metadata_list #ops_metadata_list} => Array<Types::OpsMetadata>
|
7079
|
+
# * {Types::ListOpsMetadataResult#next_token #next_token} => String
|
7080
|
+
#
|
7081
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7082
|
+
#
|
7083
|
+
# @example Request syntax with placeholder values
|
7084
|
+
#
|
7085
|
+
# resp = client.list_ops_metadata({
|
7086
|
+
# filters: [
|
7087
|
+
# {
|
7088
|
+
# key: "OpsMetadataFilterKey", # required
|
7089
|
+
# values: ["OpsMetadataFilterValue"], # required
|
7090
|
+
# },
|
7091
|
+
# ],
|
7092
|
+
# max_results: 1,
|
7093
|
+
# next_token: "NextToken",
|
7094
|
+
# })
|
7095
|
+
#
|
7096
|
+
# @example Response structure
|
7097
|
+
#
|
7098
|
+
# resp.ops_metadata_list #=> Array
|
7099
|
+
# resp.ops_metadata_list[0].resource_id #=> String
|
7100
|
+
# resp.ops_metadata_list[0].ops_metadata_arn #=> String
|
7101
|
+
# resp.ops_metadata_list[0].last_modified_date #=> Time
|
7102
|
+
# resp.ops_metadata_list[0].last_modified_user #=> String
|
7103
|
+
# resp.ops_metadata_list[0].creation_date #=> Time
|
7104
|
+
# resp.next_token #=> String
|
7105
|
+
#
|
7106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadata AWS API Documentation
|
7107
|
+
#
|
7108
|
+
# @overload list_ops_metadata(params = {})
|
7109
|
+
# @param [Hash] params ({})
|
7110
|
+
def list_ops_metadata(params = {}, options = {})
|
7111
|
+
req = build_request(:list_ops_metadata, params)
|
7112
|
+
req.send_request(options)
|
7113
|
+
end
|
7114
|
+
|
6618
7115
|
# Returns a resource-level summary count. The summary includes
|
6619
7116
|
# information about compliant and non-compliant statuses and detailed
|
6620
7117
|
# compliance-item severity counts, according to the filter criteria you
|
@@ -7492,16 +7989,29 @@ module Aws::SSM
|
|
7492
7989
|
# @option params [required, String] :window_id
|
7493
7990
|
# The ID of the maintenance window the task should be added to.
|
7494
7991
|
#
|
7495
|
-
# @option params [
|
7992
|
+
# @option params [Array<Types::Target>] :targets
|
7496
7993
|
# The targets (either instances or maintenance window targets).
|
7497
7994
|
#
|
7995
|
+
# <note markdown="1"> One or more targets must be specified for maintenance window Run
|
7996
|
+
# Command-type tasks. Depending on the task, targets are optional for
|
7997
|
+
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
7998
|
+
# Step Functions). For more information about running tasks that do not
|
7999
|
+
# specify targets, see [Registering maintenance window tasks without
|
8000
|
+
# targets][1] in the *AWS Systems Manager User Guide*.
|
8001
|
+
#
|
8002
|
+
# </note>
|
8003
|
+
#
|
7498
8004
|
# Specify instances using the following format:
|
7499
8005
|
#
|
7500
8006
|
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
|
7501
8007
|
#
|
7502
8008
|
# Specify maintenance window targets using the following format:
|
7503
8009
|
#
|
7504
|
-
# `Key=WindowTargetIds
|
8010
|
+
# `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
|
8011
|
+
#
|
8012
|
+
#
|
8013
|
+
#
|
8014
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
7505
8015
|
#
|
7506
8016
|
# @option params [required, String] :task_arn
|
7507
8017
|
# The ARN of the task to run.
|
@@ -7551,13 +8061,27 @@ module Aws::SSM
|
|
7551
8061
|
# scheduled in priority order with tasks that have the same priority
|
7552
8062
|
# scheduled in parallel.
|
7553
8063
|
#
|
7554
|
-
# @option params [
|
8064
|
+
# @option params [String] :max_concurrency
|
7555
8065
|
# The maximum number of targets this task can be run for in parallel.
|
7556
8066
|
#
|
7557
|
-
#
|
8067
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
8068
|
+
# supply a value for this option. Instead, the system inserts a
|
8069
|
+
# placeholder value of `1`. This value does not affect the running of
|
8070
|
+
# your task.
|
8071
|
+
#
|
8072
|
+
# </note>
|
8073
|
+
#
|
8074
|
+
# @option params [String] :max_errors
|
7558
8075
|
# The maximum number of errors allowed before this task stops being
|
7559
8076
|
# scheduled.
|
7560
8077
|
#
|
8078
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
8079
|
+
# supply a value for this option. Instead, the system inserts a
|
8080
|
+
# placeholder value of `1`. This value does not affect the running of
|
8081
|
+
# your task.
|
8082
|
+
#
|
8083
|
+
# </note>
|
8084
|
+
#
|
7561
8085
|
# @option params [Types::LoggingInfo] :logging_info
|
7562
8086
|
# A structure containing information about an S3 bucket to write
|
7563
8087
|
# instance-level logs to.
|
@@ -7591,7 +8115,7 @@ module Aws::SSM
|
|
7591
8115
|
#
|
7592
8116
|
# resp = client.register_task_with_maintenance_window({
|
7593
8117
|
# window_id: "MaintenanceWindowId", # required
|
7594
|
-
# targets: [
|
8118
|
+
# targets: [
|
7595
8119
|
# {
|
7596
8120
|
# key: "TargetKey",
|
7597
8121
|
# values: ["TargetValue"],
|
@@ -7645,8 +8169,8 @@ module Aws::SSM
|
|
7645
8169
|
# },
|
7646
8170
|
# },
|
7647
8171
|
# priority: 1,
|
7648
|
-
# max_concurrency: "MaxConcurrency",
|
7649
|
-
# max_errors: "MaxErrors",
|
8172
|
+
# max_concurrency: "MaxConcurrency",
|
8173
|
+
# max_errors: "MaxErrors",
|
7650
8174
|
# logging_info: {
|
7651
8175
|
# s3_bucket_name: "S3BucketName", # required
|
7652
8176
|
# s3_key_prefix: "S3KeyPrefix",
|
@@ -7904,8 +8428,15 @@ module Aws::SSM
|
|
7904
8428
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
7905
8429
|
#
|
7906
8430
|
# @option params [required, String] :document_name
|
7907
|
-
#
|
7908
|
-
# a
|
8431
|
+
# The name of the Systems Manager document to run. This can be a public
|
8432
|
+
# document or a custom document. To run a shared document belonging to
|
8433
|
+
# another account, specify the document ARN. For more information about
|
8434
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8435
|
+
# the *AWS Systems Manager User Guide*.
|
8436
|
+
#
|
8437
|
+
#
|
8438
|
+
#
|
8439
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
7909
8440
|
#
|
7910
8441
|
# @option params [String] :document_version
|
7911
8442
|
# The SSM document version to use in the request. You can specify
|
@@ -8108,7 +8639,15 @@ module Aws::SSM
|
|
8108
8639
|
# Initiates execution of an Automation document.
|
8109
8640
|
#
|
8110
8641
|
# @option params [required, String] :document_name
|
8111
|
-
# The name of the
|
8642
|
+
# The name of the Systems Manager document to run. This can be a public
|
8643
|
+
# document or a custom document. To run a shared document belonging to
|
8644
|
+
# another account, specify the document ARN. For more information about
|
8645
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8646
|
+
# the *AWS Systems Manager User Guide*.
|
8647
|
+
#
|
8648
|
+
#
|
8649
|
+
#
|
8650
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
8112
8651
|
#
|
8113
8652
|
# @option params [String] :document_version
|
8114
8653
|
# The version of the Automation document to use for this execution.
|
@@ -8246,6 +8785,125 @@ module Aws::SSM
|
|
8246
8785
|
req.send_request(options)
|
8247
8786
|
end
|
8248
8787
|
|
8788
|
+
# Creates a change request for Change Manager. The runbooks (Automation
|
8789
|
+
# documents) specified in the change request run only after all required
|
8790
|
+
# approvals for the change request have been received.
|
8791
|
+
#
|
8792
|
+
# @option params [Time,DateTime,Date,Integer,String] :scheduled_time
|
8793
|
+
# The date and time specified in the change request to run the
|
8794
|
+
# Automation runbooks.
|
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 [required, String] :document_name
|
8803
|
+
# The name of the change template document to run during the runbook
|
8804
|
+
# workflow.
|
8805
|
+
#
|
8806
|
+
# @option params [String] :document_version
|
8807
|
+
# The version of the change template document to run during the runbook
|
8808
|
+
# workflow.
|
8809
|
+
#
|
8810
|
+
# @option params [Hash<String,Array>] :parameters
|
8811
|
+
# A key-value map of parameters that match the declared parameters in
|
8812
|
+
# the change template document.
|
8813
|
+
#
|
8814
|
+
# @option params [String] :change_request_name
|
8815
|
+
# The name of the change request associated with the runbook workflow to
|
8816
|
+
# be run.
|
8817
|
+
#
|
8818
|
+
# @option params [String] :client_token
|
8819
|
+
# The user-provided idempotency token. The token must be unique, is case
|
8820
|
+
# insensitive, enforces the UUID format, and can't be reused.
|
8821
|
+
#
|
8822
|
+
# @option params [required, Array<Types::Runbook>] :runbooks
|
8823
|
+
# Information about the Automation runbooks (Automation documents) that
|
8824
|
+
# are run during the runbook workflow.
|
8825
|
+
#
|
8826
|
+
# <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
|
8827
|
+
# until all required approvals for the change request have been
|
8828
|
+
# received.
|
8829
|
+
#
|
8830
|
+
# </note>
|
8831
|
+
#
|
8832
|
+
# @option params [Array<Types::Tag>] :tags
|
8833
|
+
# Optional metadata that you assign to a resource. You can specify a
|
8834
|
+
# maximum of five tags for a change request. Tags enable you to
|
8835
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
8836
|
+
# environment. For example, you might want to tag a change request to
|
8837
|
+
# identify an environment or target AWS Region. In this case, you could
|
8838
|
+
# specify the following key-value pairs:
|
8839
|
+
#
|
8840
|
+
# * `Key=Environment,Value=Production`
|
8841
|
+
#
|
8842
|
+
# * `Key=Region,Value=us-east-2`
|
8843
|
+
#
|
8844
|
+
# @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8845
|
+
#
|
8846
|
+
# * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
|
8847
|
+
#
|
8848
|
+
# @example Request syntax with placeholder values
|
8849
|
+
#
|
8850
|
+
# resp = client.start_change_request_execution({
|
8851
|
+
# scheduled_time: Time.now,
|
8852
|
+
# document_name: "DocumentARN", # required
|
8853
|
+
# document_version: "DocumentVersion",
|
8854
|
+
# parameters: {
|
8855
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
8856
|
+
# },
|
8857
|
+
# change_request_name: "ChangeRequestName",
|
8858
|
+
# client_token: "IdempotencyToken",
|
8859
|
+
# runbooks: [ # required
|
8860
|
+
# {
|
8861
|
+
# document_name: "DocumentARN", # required
|
8862
|
+
# document_version: "DocumentVersion",
|
8863
|
+
# parameters: {
|
8864
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
8865
|
+
# },
|
8866
|
+
# target_parameter_name: "AutomationParameterKey",
|
8867
|
+
# targets: [
|
8868
|
+
# {
|
8869
|
+
# key: "TargetKey",
|
8870
|
+
# values: ["TargetValue"],
|
8871
|
+
# },
|
8872
|
+
# ],
|
8873
|
+
# max_concurrency: "MaxConcurrency",
|
8874
|
+
# max_errors: "MaxErrors",
|
8875
|
+
# target_locations: [
|
8876
|
+
# {
|
8877
|
+
# accounts: ["Account"],
|
8878
|
+
# regions: ["Region"],
|
8879
|
+
# target_location_max_concurrency: "MaxConcurrency",
|
8880
|
+
# target_location_max_errors: "MaxErrors",
|
8881
|
+
# execution_role_name: "ExecutionRoleName",
|
8882
|
+
# },
|
8883
|
+
# ],
|
8884
|
+
# },
|
8885
|
+
# ],
|
8886
|
+
# tags: [
|
8887
|
+
# {
|
8888
|
+
# key: "TagKey", # required
|
8889
|
+
# value: "TagValue", # required
|
8890
|
+
# },
|
8891
|
+
# ],
|
8892
|
+
# })
|
8893
|
+
#
|
8894
|
+
# @example Response structure
|
8895
|
+
#
|
8896
|
+
# resp.automation_execution_id #=> String
|
8897
|
+
#
|
8898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecution AWS API Documentation
|
8899
|
+
#
|
8900
|
+
# @overload start_change_request_execution(params = {})
|
8901
|
+
# @param [Hash] params ({})
|
8902
|
+
def start_change_request_execution(params = {}, options = {})
|
8903
|
+
req = build_request(:start_change_request_execution, params)
|
8904
|
+
req.send_request(options)
|
8905
|
+
end
|
8906
|
+
|
8249
8907
|
# Initiates a connection to a target (for example, an instance) for a
|
8250
8908
|
# Session Manager session. Returns a URL and token that can be used to
|
8251
8909
|
# open a WebSocket connection for sending input and receiving outputs.
|
@@ -8488,7 +9146,8 @@ module Aws::SSM
|
|
8488
9146
|
# By default, when you update an association, the system runs it
|
8489
9147
|
# immediately after it is updated and then according to the schedule you
|
8490
9148
|
# specified. Specify this option if you don't want an association to
|
8491
|
-
# run immediately after you update it.
|
9149
|
+
# run immediately after you update it. This parameter is not supported
|
9150
|
+
# for rate expressions.
|
8492
9151
|
#
|
8493
9152
|
# Also, if you specified this option when you created the association,
|
8494
9153
|
# you can reset it. To do so, specify the
|
@@ -8497,6 +9156,11 @@ module Aws::SSM
|
|
8497
9156
|
# association to run immediately after updating it and according to the
|
8498
9157
|
# interval specified.
|
8499
9158
|
#
|
9159
|
+
# @option params [Array<Types::TargetLocation>] :target_locations
|
9160
|
+
# A location is a combination of AWS Regions and AWS accounts where you
|
9161
|
+
# want to run the association. Use this action to update an association
|
9162
|
+
# in multiple Regions and multiple accounts.
|
9163
|
+
#
|
8500
9164
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8501
9165
|
#
|
8502
9166
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -8532,6 +9196,15 @@ module Aws::SSM
|
|
8532
9196
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
8533
9197
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
8534
9198
|
# apply_only_at_cron_interval: false,
|
9199
|
+
# target_locations: [
|
9200
|
+
# {
|
9201
|
+
# accounts: ["Account"],
|
9202
|
+
# regions: ["Region"],
|
9203
|
+
# target_location_max_concurrency: "MaxConcurrency",
|
9204
|
+
# target_location_max_errors: "MaxErrors",
|
9205
|
+
# execution_role_name: "ExecutionRoleName",
|
9206
|
+
# },
|
9207
|
+
# ],
|
8535
9208
|
# })
|
8536
9209
|
#
|
8537
9210
|
# @example Response structure
|
@@ -8571,6 +9244,14 @@ module Aws::SSM
|
|
8571
9244
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
8572
9245
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
8573
9246
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9247
|
+
# resp.association_description.target_locations #=> Array
|
9248
|
+
# resp.association_description.target_locations[0].accounts #=> Array
|
9249
|
+
# resp.association_description.target_locations[0].accounts[0] #=> String
|
9250
|
+
# resp.association_description.target_locations[0].regions #=> Array
|
9251
|
+
# resp.association_description.target_locations[0].regions[0] #=> String
|
9252
|
+
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
9253
|
+
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
9254
|
+
# resp.association_description.target_locations[0].execution_role_name #=> String
|
8574
9255
|
#
|
8575
9256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
8576
9257
|
#
|
@@ -8647,6 +9328,14 @@ module Aws::SSM
|
|
8647
9328
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
8648
9329
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
8649
9330
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9331
|
+
# resp.association_description.target_locations #=> Array
|
9332
|
+
# resp.association_description.target_locations[0].accounts #=> Array
|
9333
|
+
# resp.association_description.target_locations[0].accounts[0] #=> String
|
9334
|
+
# resp.association_description.target_locations[0].regions #=> Array
|
9335
|
+
# resp.association_description.target_locations[0].regions[0] #=> String
|
9336
|
+
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
9337
|
+
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
9338
|
+
# resp.association_description.target_locations[0].execution_role_name #=> String
|
8650
9339
|
#
|
8651
9340
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
8652
9341
|
#
|
@@ -8730,7 +9419,7 @@ module Aws::SSM
|
|
8730
9419
|
# resp.document_description.parameters[0].default_value #=> String
|
8731
9420
|
# resp.document_description.platform_types #=> Array
|
8732
9421
|
# resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
|
8733
|
-
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
|
9422
|
+
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
8734
9423
|
# resp.document_description.schema_version #=> String
|
8735
9424
|
# resp.document_description.latest_version #=> String
|
8736
9425
|
# resp.document_description.default_version #=> String
|
@@ -8744,6 +9433,14 @@ module Aws::SSM
|
|
8744
9433
|
# resp.document_description.requires #=> Array
|
8745
9434
|
# resp.document_description.requires[0].name #=> String
|
8746
9435
|
# resp.document_description.requires[0].version #=> String
|
9436
|
+
# resp.document_description.author #=> String
|
9437
|
+
# resp.document_description.review_information #=> Array
|
9438
|
+
# resp.document_description.review_information[0].reviewed_time #=> Time
|
9439
|
+
# resp.document_description.review_information[0].status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
9440
|
+
# resp.document_description.review_information[0].reviewer #=> String
|
9441
|
+
# resp.document_description.approved_version #=> String
|
9442
|
+
# resp.document_description.pending_review_version #=> String
|
9443
|
+
# resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
8747
9444
|
#
|
8748
9445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
|
8749
9446
|
#
|
@@ -8790,6 +9487,45 @@ module Aws::SSM
|
|
8790
9487
|
req.send_request(options)
|
8791
9488
|
end
|
8792
9489
|
|
9490
|
+
# Updates information related to approval reviews for a specific version
|
9491
|
+
# of a document.
|
9492
|
+
#
|
9493
|
+
# @option params [required, String] :name
|
9494
|
+
# The name of the document for which a version is to be updated.
|
9495
|
+
#
|
9496
|
+
# @option params [String] :document_version
|
9497
|
+
# The version of a document to update.
|
9498
|
+
#
|
9499
|
+
# @option params [required, Types::DocumentReviews] :document_reviews
|
9500
|
+
# The document review details to update.
|
9501
|
+
#
|
9502
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9503
|
+
#
|
9504
|
+
# @example Request syntax with placeholder values
|
9505
|
+
#
|
9506
|
+
# resp = client.update_document_metadata({
|
9507
|
+
# name: "DocumentName", # required
|
9508
|
+
# document_version: "DocumentVersion",
|
9509
|
+
# document_reviews: { # required
|
9510
|
+
# action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
|
9511
|
+
# comment: [
|
9512
|
+
# {
|
9513
|
+
# type: "Comment", # accepts Comment
|
9514
|
+
# content: "DocumentReviewComment",
|
9515
|
+
# },
|
9516
|
+
# ],
|
9517
|
+
# },
|
9518
|
+
# })
|
9519
|
+
#
|
9520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadata AWS API Documentation
|
9521
|
+
#
|
9522
|
+
# @overload update_document_metadata(params = {})
|
9523
|
+
# @param [Hash] params ({})
|
9524
|
+
def update_document_metadata(params = {}, options = {})
|
9525
|
+
req = build_request(:update_document_metadata, params)
|
9526
|
+
req.send_request(options)
|
9527
|
+
end
|
9528
|
+
|
8793
9529
|
# Updates an existing maintenance window. Only specified parameters are
|
8794
9530
|
# modified.
|
8795
9531
|
#
|
@@ -8815,7 +9551,7 @@ module Aws::SSM
|
|
8815
9551
|
# @option params [String] :start_date
|
8816
9552
|
# The time zone that the scheduled maintenance window executions are
|
8817
9553
|
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
8818
|
-
# example: "America/Los\_Angeles", "
|
9554
|
+
# example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
|
8819
9555
|
# more information, see the [Time Zone Database][1] on the IANA website.
|
8820
9556
|
#
|
8821
9557
|
#
|
@@ -8835,7 +9571,7 @@ module Aws::SSM
|
|
8835
9571
|
# @option params [String] :schedule_timezone
|
8836
9572
|
# The time zone that the scheduled maintenance window executions are
|
8837
9573
|
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
8838
|
-
# example: "America/Los\_Angeles", "
|
9574
|
+
# example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
|
8839
9575
|
# more information, see the [Time Zone Database][1] on the IANA website.
|
8840
9576
|
#
|
8841
9577
|
#
|
@@ -8849,7 +9585,7 @@ module Aws::SSM
|
|
8849
9585
|
# For example, the following cron expression schedules a maintenance
|
8850
9586
|
# window to run the third Tuesday of every month at 11:30 PM.
|
8851
9587
|
#
|
8852
|
-
# `cron(
|
9588
|
+
# `cron(30 23 ? * TUE#3 *)`
|
8853
9589
|
#
|
8854
9590
|
# If the schedule offset is `2`, the maintenance window won't run until
|
8855
9591
|
# two days later.
|
@@ -9039,6 +9775,15 @@ module Aws::SSM
|
|
9039
9775
|
#
|
9040
9776
|
# * MaxErrors
|
9041
9777
|
#
|
9778
|
+
# <note markdown="1"> One or more targets must be specified for maintenance window Run
|
9779
|
+
# Command-type tasks. Depending on the task, targets are optional for
|
9780
|
+
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9781
|
+
# Step Functions). For more information about running tasks that do not
|
9782
|
+
# specify targets, see [Registering maintenance window tasks without
|
9783
|
+
# targets][1] in the *AWS Systems Manager User Guide*.
|
9784
|
+
#
|
9785
|
+
# </note>
|
9786
|
+
#
|
9042
9787
|
# If the value for a parameter in `UpdateMaintenanceWindowTask` is null,
|
9043
9788
|
# then the corresponding field is not modified. If you set `Replace` to
|
9044
9789
|
# true, then all fields required by the
|
@@ -9055,6 +9800,10 @@ module Aws::SSM
|
|
9055
9800
|
# and specify only a different `OutputS3BucketName` value, the values
|
9056
9801
|
# for `Comment` and `NotificationConfig` are removed.
|
9057
9802
|
#
|
9803
|
+
#
|
9804
|
+
#
|
9805
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
9806
|
+
#
|
9058
9807
|
# @option params [required, String] :window_id
|
9059
9808
|
# The maintenance window ID that contains the task to modify.
|
9060
9809
|
#
|
@@ -9066,6 +9815,19 @@ module Aws::SSM
|
|
9066
9815
|
# specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
|
9067
9816
|
# Tags are specified using Key=tag\_name,Values=tag\_value.
|
9068
9817
|
#
|
9818
|
+
# <note markdown="1"> One or more targets must be specified for maintenance window Run
|
9819
|
+
# Command-type tasks. Depending on the task, targets are optional for
|
9820
|
+
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9821
|
+
# Step Functions). For more information about running tasks that do not
|
9822
|
+
# specify targets, see [Registering maintenance window tasks without
|
9823
|
+
# targets][1] in the *AWS Systems Manager User Guide*.
|
9824
|
+
#
|
9825
|
+
# </note>
|
9826
|
+
#
|
9827
|
+
#
|
9828
|
+
#
|
9829
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
9830
|
+
#
|
9069
9831
|
# @option params [String] :task_arn
|
9070
9832
|
# The task ARN to modify.
|
9071
9833
|
#
|
@@ -9131,11 +9893,27 @@ module Aws::SSM
|
|
9131
9893
|
# is the number of targets that are allowed to run this task in
|
9132
9894
|
# parallel.
|
9133
9895
|
#
|
9896
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
9897
|
+
# supply a value for this option. Instead, the system inserts a
|
9898
|
+
# placeholder value of `1`, which may be reported in the response to
|
9899
|
+
# this command. This value does not affect the running of your task and
|
9900
|
+
# can be ignored.
|
9901
|
+
#
|
9902
|
+
# </note>
|
9903
|
+
#
|
9134
9904
|
# @option params [String] :max_errors
|
9135
9905
|
# The new `MaxErrors` value to specify. `MaxErrors` is the maximum
|
9136
9906
|
# number of errors that are allowed before the task stops being
|
9137
9907
|
# scheduled.
|
9138
9908
|
#
|
9909
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
9910
|
+
# supply a value for this option. Instead, the system inserts a
|
9911
|
+
# placeholder value of `1`, which may be reported in the response to
|
9912
|
+
# this command. This value does not affect the running of your task and
|
9913
|
+
# can be ignored.
|
9914
|
+
#
|
9915
|
+
# </note>
|
9916
|
+
#
|
9139
9917
|
# @option params [Types::LoggingInfo] :logging_info
|
9140
9918
|
# The new logging location in Amazon S3 to specify.
|
9141
9919
|
#
|
@@ -9422,6 +10200,23 @@ module Aws::SSM
|
|
9422
10200
|
# @option params [String] :severity
|
9423
10201
|
# Specify a new severity for an OpsItem.
|
9424
10202
|
#
|
10203
|
+
# @option params [Time,DateTime,Date,Integer,String] :actual_start_time
|
10204
|
+
# The time a runbook workflow started. Currently reported only for the
|
10205
|
+
# OpsItem type `/aws/changerequest`.
|
10206
|
+
#
|
10207
|
+
# @option params [Time,DateTime,Date,Integer,String] :actual_end_time
|
10208
|
+
# The time a runbook workflow ended. Currently reported only for the
|
10209
|
+
# OpsItem type `/aws/changerequest`.
|
10210
|
+
#
|
10211
|
+
# @option params [Time,DateTime,Date,Integer,String] :planned_start_time
|
10212
|
+
# The time specified in a change request for a runbook workflow to
|
10213
|
+
# start. Currently supported only for the OpsItem type
|
10214
|
+
# `/aws/changerequest`.
|
10215
|
+
#
|
10216
|
+
# @option params [Time,DateTime,Date,Integer,String] :planned_end_time
|
10217
|
+
# The time specified in a change request for a runbook workflow to end.
|
10218
|
+
# Currently supported only for the OpsItem type `/aws/changerequest`.
|
10219
|
+
#
|
9425
10220
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9426
10221
|
#
|
9427
10222
|
# @example Request syntax with placeholder values
|
@@ -9446,11 +10241,15 @@ module Aws::SSM
|
|
9446
10241
|
# ops_item_id: "String", # required
|
9447
10242
|
# },
|
9448
10243
|
# ],
|
9449
|
-
# status: "Open", # accepts Open, InProgress, Resolved
|
10244
|
+
# status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
|
9450
10245
|
# ops_item_id: "OpsItemId", # required
|
9451
10246
|
# title: "OpsItemTitle",
|
9452
10247
|
# category: "OpsItemCategory",
|
9453
10248
|
# severity: "OpsItemSeverity",
|
10249
|
+
# actual_start_time: Time.now,
|
10250
|
+
# actual_end_time: Time.now,
|
10251
|
+
# planned_start_time: Time.now,
|
10252
|
+
# planned_end_time: Time.now,
|
9454
10253
|
# })
|
9455
10254
|
#
|
9456
10255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem AWS API Documentation
|
@@ -9462,6 +10261,47 @@ module Aws::SSM
|
|
9462
10261
|
req.send_request(options)
|
9463
10262
|
end
|
9464
10263
|
|
10264
|
+
# Systems Manager calls this API action when you edit OpsMetadata in
|
10265
|
+
# Application Manager.
|
10266
|
+
#
|
10267
|
+
# @option params [required, String] :ops_metadata_arn
|
10268
|
+
# The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
|
10269
|
+
#
|
10270
|
+
# @option params [Hash<String,Types::MetadataValue>] :metadata_to_update
|
10271
|
+
# Metadata to add to an OpsMetadata object.
|
10272
|
+
#
|
10273
|
+
# @option params [Array<String>] :keys_to_delete
|
10274
|
+
# The metadata keys to delete from the OpsMetadata object.
|
10275
|
+
#
|
10276
|
+
# @return [Types::UpdateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10277
|
+
#
|
10278
|
+
# * {Types::UpdateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
|
10279
|
+
#
|
10280
|
+
# @example Request syntax with placeholder values
|
10281
|
+
#
|
10282
|
+
# resp = client.update_ops_metadata({
|
10283
|
+
# ops_metadata_arn: "OpsMetadataArn", # required
|
10284
|
+
# metadata_to_update: {
|
10285
|
+
# "MetadataKey" => {
|
10286
|
+
# value: "MetadataValueString",
|
10287
|
+
# },
|
10288
|
+
# },
|
10289
|
+
# keys_to_delete: ["MetadataKey"],
|
10290
|
+
# })
|
10291
|
+
#
|
10292
|
+
# @example Response structure
|
10293
|
+
#
|
10294
|
+
# resp.ops_metadata_arn #=> String
|
10295
|
+
#
|
10296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadata AWS API Documentation
|
10297
|
+
#
|
10298
|
+
# @overload update_ops_metadata(params = {})
|
10299
|
+
# @param [Hash] params ({})
|
10300
|
+
def update_ops_metadata(params = {}, options = {})
|
10301
|
+
req = build_request(:update_ops_metadata, params)
|
10302
|
+
req.send_request(options)
|
10303
|
+
end
|
10304
|
+
|
9465
10305
|
# Modifies an existing patch baseline. Fields not specified in the
|
9466
10306
|
# request are left unchanged.
|
9467
10307
|
#
|
@@ -9613,7 +10453,7 @@ module Aws::SSM
|
|
9613
10453
|
#
|
9614
10454
|
# resp.baseline_id #=> String
|
9615
10455
|
# resp.name #=> String
|
9616
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
10456
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
|
9617
10457
|
# resp.global_filters.patch_filters #=> Array
|
9618
10458
|
# 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"
|
9619
10459
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -9782,7 +10622,7 @@ module Aws::SSM
|
|
9782
10622
|
params: params,
|
9783
10623
|
config: config)
|
9784
10624
|
context[:gem_name] = 'aws-sdk-ssm'
|
9785
|
-
context[:gem_version] = '1.
|
10625
|
+
context[:gem_version] = '1.102.0'
|
9786
10626
|
Seahorse::Client::Request.new(handlers, context)
|
9787
10627
|
end
|
9788
10628
|
|