aws-sdk-ssm 1.98.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +889 -50
- 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 +1644 -106
- 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: 1e77bf4f76a3b850fe7d3c8b06101b2e0f55dce63e49b733b6d0d39c2545f939
|
4
|
+
data.tar.gz: 50c80be0d182e344bf8d118940110c70fb6562877757118ca975f2daf9e137f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82370b06d21ef96a08f787b4ce62188d3d4f0d1dcead7cd7028502b3b0d98a9929a0b4c62144364824042bdb780d7b7c8b9f5eb8e3048ac00157ab920a3107d8
|
7
|
+
data.tar.gz: 3b84c690e5524c4dd448f834f990b384053e96a047c6a10d2074d49c04e483fe0a0f4bb0206ca5522410ecde1f973c6879408bf536513c7ab2356299e6f236c6
|
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,
|
@@ -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
|
@@ -6423,6 +6733,69 @@ module Aws::SSM
|
|
6423
6733
|
req.send_request(options)
|
6424
6734
|
end
|
6425
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
|
+
|
6426
6799
|
# List all versions for a document.
|
6427
6800
|
#
|
6428
6801
|
# @option params [required, String] :name
|
@@ -6464,6 +6837,7 @@ module Aws::SSM
|
|
6464
6837
|
# resp.document_versions[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
|
6465
6838
|
# resp.document_versions[0].status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
|
6466
6839
|
# resp.document_versions[0].status_information #=> String
|
6840
|
+
# resp.document_versions[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
6467
6841
|
# resp.next_token #=> String
|
6468
6842
|
#
|
6469
6843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
|
@@ -6483,14 +6857,20 @@ module Aws::SSM
|
|
6483
6857
|
# This data type is deprecated. Instead, use `Filters`.
|
6484
6858
|
#
|
6485
6859
|
# @option params [Array<Types::DocumentKeyValuesFilter>] :filters
|
6486
|
-
# One or more DocumentKeyValuesFilter objects. Use a filter to return
|
6487
|
-
# more specific list of results. For keys, you can specify one or more
|
6860
|
+
# One or more `DocumentKeyValuesFilter` objects. Use a filter to return
|
6861
|
+
# a more specific list of results. For keys, you can specify one or more
|
6488
6862
|
# key-value pair tags that have been applied to a document. Other valid
|
6489
6863
|
# keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`, and
|
6490
6864
|
# `TargetType`. For example, to return documents you own use
|
6491
6865
|
# `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
|
6492
6866
|
# format `Key=tag:tagName,Values=valueName`.
|
6493
6867
|
#
|
6868
|
+
# <note markdown="1"> This API action only supports filtering documents by using a single
|
6869
|
+
# tag key and one or more tag values. For example:
|
6870
|
+
# `Key=tag:tagName,Values=valueName1,valueName2`
|
6871
|
+
#
|
6872
|
+
# </note>
|
6873
|
+
#
|
6494
6874
|
# @option params [Integer] :max_results
|
6495
6875
|
# The maximum number of items to return for this call. The call also
|
6496
6876
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -6535,7 +6915,7 @@ module Aws::SSM
|
|
6535
6915
|
# resp.document_identifiers[0].platform_types #=> Array
|
6536
6916
|
# resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
|
6537
6917
|
# resp.document_identifiers[0].document_version #=> String
|
6538
|
-
# resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
|
6918
|
+
# resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
6539
6919
|
# resp.document_identifiers[0].schema_version #=> String
|
6540
6920
|
# resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON", "TEXT"
|
6541
6921
|
# resp.document_identifiers[0].target_type #=> String
|
@@ -6545,6 +6925,8 @@ module Aws::SSM
|
|
6545
6925
|
# resp.document_identifiers[0].requires #=> Array
|
6546
6926
|
# resp.document_identifiers[0].requires[0].name #=> String
|
6547
6927
|
# resp.document_identifiers[0].requires[0].version #=> String
|
6928
|
+
# resp.document_identifiers[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
6929
|
+
# resp.document_identifiers[0].author #=> String
|
6548
6930
|
# resp.next_token #=> String
|
6549
6931
|
#
|
6550
6932
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
|
@@ -6622,6 +7004,120 @@ module Aws::SSM
|
|
6622
7004
|
req.send_request(options)
|
6623
7005
|
end
|
6624
7006
|
|
7007
|
+
# Returns a list of all OpsItem events in the current AWS account and
|
7008
|
+
# Region. You can limit the results to events associated with specific
|
7009
|
+
# OpsItems by specifying a filter.
|
7010
|
+
#
|
7011
|
+
# @option params [Array<Types::OpsItemEventFilter>] :filters
|
7012
|
+
# One or more OpsItem filters. Use a filter to return a more specific
|
7013
|
+
# list of results.
|
7014
|
+
#
|
7015
|
+
# @option params [Integer] :max_results
|
7016
|
+
# The maximum number of items to return for this call. The call also
|
7017
|
+
# returns a token that you can specify in a subsequent call to get the
|
7018
|
+
# next set of results.
|
7019
|
+
#
|
7020
|
+
# @option params [String] :next_token
|
7021
|
+
# A token to start the list. Use this token to get the next set of
|
7022
|
+
# results.
|
7023
|
+
#
|
7024
|
+
# @return [Types::ListOpsItemEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7025
|
+
#
|
7026
|
+
# * {Types::ListOpsItemEventsResponse#next_token #next_token} => String
|
7027
|
+
# * {Types::ListOpsItemEventsResponse#summaries #summaries} => Array<Types::OpsItemEventSummary>
|
7028
|
+
#
|
7029
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7030
|
+
#
|
7031
|
+
# @example Request syntax with placeholder values
|
7032
|
+
#
|
7033
|
+
# resp = client.list_ops_item_events({
|
7034
|
+
# filters: [
|
7035
|
+
# {
|
7036
|
+
# key: "OpsItemId", # required, accepts OpsItemId
|
7037
|
+
# values: ["OpsItemEventFilterValue"], # required
|
7038
|
+
# operator: "Equal", # required, accepts Equal
|
7039
|
+
# },
|
7040
|
+
# ],
|
7041
|
+
# max_results: 1,
|
7042
|
+
# next_token: "String",
|
7043
|
+
# })
|
7044
|
+
#
|
7045
|
+
# @example Response structure
|
7046
|
+
#
|
7047
|
+
# resp.next_token #=> String
|
7048
|
+
# resp.summaries #=> Array
|
7049
|
+
# resp.summaries[0].ops_item_id #=> String
|
7050
|
+
# resp.summaries[0].event_id #=> String
|
7051
|
+
# resp.summaries[0].source #=> String
|
7052
|
+
# resp.summaries[0].detail_type #=> String
|
7053
|
+
# resp.summaries[0].detail #=> String
|
7054
|
+
# resp.summaries[0].created_by.arn #=> String
|
7055
|
+
# resp.summaries[0].created_time #=> Time
|
7056
|
+
#
|
7057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEvents AWS API Documentation
|
7058
|
+
#
|
7059
|
+
# @overload list_ops_item_events(params = {})
|
7060
|
+
# @param [Hash] params ({})
|
7061
|
+
def list_ops_item_events(params = {}, options = {})
|
7062
|
+
req = build_request(:list_ops_item_events, params)
|
7063
|
+
req.send_request(options)
|
7064
|
+
end
|
7065
|
+
|
7066
|
+
# Systems Manager calls this API action when displaying all Application
|
7067
|
+
# Manager OpsMetadata objects or blobs.
|
7068
|
+
#
|
7069
|
+
# @option params [Array<Types::OpsMetadataFilter>] :filters
|
7070
|
+
# One or more filters to limit the number of OpsMetadata objects
|
7071
|
+
# returned by the call.
|
7072
|
+
#
|
7073
|
+
# @option params [Integer] :max_results
|
7074
|
+
# The maximum number of items to return for this call. The call also
|
7075
|
+
# returns a token that you can specify in a subsequent call to get the
|
7076
|
+
# next set of results.
|
7077
|
+
#
|
7078
|
+
# @option params [String] :next_token
|
7079
|
+
# A token to start the list. Use this token to get the next set of
|
7080
|
+
# results.
|
7081
|
+
#
|
7082
|
+
# @return [Types::ListOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7083
|
+
#
|
7084
|
+
# * {Types::ListOpsMetadataResult#ops_metadata_list #ops_metadata_list} => Array<Types::OpsMetadata>
|
7085
|
+
# * {Types::ListOpsMetadataResult#next_token #next_token} => String
|
7086
|
+
#
|
7087
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7088
|
+
#
|
7089
|
+
# @example Request syntax with placeholder values
|
7090
|
+
#
|
7091
|
+
# resp = client.list_ops_metadata({
|
7092
|
+
# filters: [
|
7093
|
+
# {
|
7094
|
+
# key: "OpsMetadataFilterKey", # required
|
7095
|
+
# values: ["OpsMetadataFilterValue"], # required
|
7096
|
+
# },
|
7097
|
+
# ],
|
7098
|
+
# max_results: 1,
|
7099
|
+
# next_token: "NextToken",
|
7100
|
+
# })
|
7101
|
+
#
|
7102
|
+
# @example Response structure
|
7103
|
+
#
|
7104
|
+
# resp.ops_metadata_list #=> Array
|
7105
|
+
# resp.ops_metadata_list[0].resource_id #=> String
|
7106
|
+
# resp.ops_metadata_list[0].ops_metadata_arn #=> String
|
7107
|
+
# resp.ops_metadata_list[0].last_modified_date #=> Time
|
7108
|
+
# resp.ops_metadata_list[0].last_modified_user #=> String
|
7109
|
+
# resp.ops_metadata_list[0].creation_date #=> Time
|
7110
|
+
# resp.next_token #=> String
|
7111
|
+
#
|
7112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadata AWS API Documentation
|
7113
|
+
#
|
7114
|
+
# @overload list_ops_metadata(params = {})
|
7115
|
+
# @param [Hash] params ({})
|
7116
|
+
def list_ops_metadata(params = {}, options = {})
|
7117
|
+
req = build_request(:list_ops_metadata, params)
|
7118
|
+
req.send_request(options)
|
7119
|
+
end
|
7120
|
+
|
6625
7121
|
# Returns a resource-level summary count. The summary includes
|
6626
7122
|
# information about compliant and non-compliant statuses and detailed
|
6627
7123
|
# compliance-item severity counts, according to the filter criteria you
|
@@ -7499,16 +7995,29 @@ module Aws::SSM
|
|
7499
7995
|
# @option params [required, String] :window_id
|
7500
7996
|
# The ID of the maintenance window the task should be added to.
|
7501
7997
|
#
|
7502
|
-
# @option params [
|
7998
|
+
# @option params [Array<Types::Target>] :targets
|
7503
7999
|
# The targets (either instances or maintenance window targets).
|
7504
8000
|
#
|
8001
|
+
# <note markdown="1"> One or more targets must be specified for maintenance window Run
|
8002
|
+
# Command-type tasks. Depending on the task, targets are optional for
|
8003
|
+
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
8004
|
+
# Step Functions). For more information about running tasks that do not
|
8005
|
+
# specify targets, see [Registering maintenance window tasks without
|
8006
|
+
# targets][1] in the *AWS Systems Manager User Guide*.
|
8007
|
+
#
|
8008
|
+
# </note>
|
8009
|
+
#
|
7505
8010
|
# Specify instances using the following format:
|
7506
8011
|
#
|
7507
8012
|
# `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
|
7508
8013
|
#
|
7509
8014
|
# Specify maintenance window targets using the following format:
|
7510
8015
|
#
|
7511
|
-
# `Key=WindowTargetIds
|
8016
|
+
# `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
|
8017
|
+
#
|
8018
|
+
#
|
8019
|
+
#
|
8020
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
7512
8021
|
#
|
7513
8022
|
# @option params [required, String] :task_arn
|
7514
8023
|
# The ARN of the task to run.
|
@@ -7558,13 +8067,27 @@ module Aws::SSM
|
|
7558
8067
|
# scheduled in priority order with tasks that have the same priority
|
7559
8068
|
# scheduled in parallel.
|
7560
8069
|
#
|
7561
|
-
# @option params [
|
8070
|
+
# @option params [String] :max_concurrency
|
7562
8071
|
# The maximum number of targets this task can be run for in parallel.
|
7563
8072
|
#
|
7564
|
-
#
|
8073
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
8074
|
+
# supply a value for this option. Instead, the system inserts a
|
8075
|
+
# placeholder value of `1`. This value does not affect the running of
|
8076
|
+
# your task.
|
8077
|
+
#
|
8078
|
+
# </note>
|
8079
|
+
#
|
8080
|
+
# @option params [String] :max_errors
|
7565
8081
|
# The maximum number of errors allowed before this task stops being
|
7566
8082
|
# scheduled.
|
7567
8083
|
#
|
8084
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
8085
|
+
# supply a value for this option. Instead, the system inserts a
|
8086
|
+
# placeholder value of `1`. This value does not affect the running of
|
8087
|
+
# your task.
|
8088
|
+
#
|
8089
|
+
# </note>
|
8090
|
+
#
|
7568
8091
|
# @option params [Types::LoggingInfo] :logging_info
|
7569
8092
|
# A structure containing information about an S3 bucket to write
|
7570
8093
|
# instance-level logs to.
|
@@ -7598,7 +8121,7 @@ module Aws::SSM
|
|
7598
8121
|
#
|
7599
8122
|
# resp = client.register_task_with_maintenance_window({
|
7600
8123
|
# window_id: "MaintenanceWindowId", # required
|
7601
|
-
# targets: [
|
8124
|
+
# targets: [
|
7602
8125
|
# {
|
7603
8126
|
# key: "TargetKey",
|
7604
8127
|
# values: ["TargetValue"],
|
@@ -7652,8 +8175,8 @@ module Aws::SSM
|
|
7652
8175
|
# },
|
7653
8176
|
# },
|
7654
8177
|
# priority: 1,
|
7655
|
-
# max_concurrency: "MaxConcurrency",
|
7656
|
-
# max_errors: "MaxErrors",
|
8178
|
+
# max_concurrency: "MaxConcurrency",
|
8179
|
+
# max_errors: "MaxErrors",
|
7657
8180
|
# logging_info: {
|
7658
8181
|
# s3_bucket_name: "S3BucketName", # required
|
7659
8182
|
# s3_key_prefix: "S3KeyPrefix",
|
@@ -7911,8 +8434,15 @@ module Aws::SSM
|
|
7911
8434
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
7912
8435
|
#
|
7913
8436
|
# @option params [required, String] :document_name
|
7914
|
-
#
|
7915
|
-
# a
|
8437
|
+
# The name of the Systems Manager document to run. This can be a public
|
8438
|
+
# document or a custom document. To run a shared document belonging to
|
8439
|
+
# another account, specify the document ARN. For more information about
|
8440
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8441
|
+
# the *AWS Systems Manager User Guide*.
|
8442
|
+
#
|
8443
|
+
#
|
8444
|
+
#
|
8445
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
7916
8446
|
#
|
7917
8447
|
# @option params [String] :document_version
|
7918
8448
|
# The SSM document version to use in the request. You can specify
|
@@ -8115,7 +8645,15 @@ module Aws::SSM
|
|
8115
8645
|
# Initiates execution of an Automation document.
|
8116
8646
|
#
|
8117
8647
|
# @option params [required, String] :document_name
|
8118
|
-
# The name of the
|
8648
|
+
# The name of the Systems Manager document to run. This can be a public
|
8649
|
+
# document or a custom document. To run a shared document belonging to
|
8650
|
+
# another account, specify the document ARN. For more information about
|
8651
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8652
|
+
# the *AWS Systems Manager User Guide*.
|
8653
|
+
#
|
8654
|
+
#
|
8655
|
+
#
|
8656
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
8119
8657
|
#
|
8120
8658
|
# @option params [String] :document_version
|
8121
8659
|
# The version of the Automation document to use for this execution.
|
@@ -8253,6 +8791,125 @@ module Aws::SSM
|
|
8253
8791
|
req.send_request(options)
|
8254
8792
|
end
|
8255
8793
|
|
8794
|
+
# Creates a change request for Change Manager. The runbooks (Automation
|
8795
|
+
# documents) specified in the change request run only after all required
|
8796
|
+
# approvals for the change request have been received.
|
8797
|
+
#
|
8798
|
+
# @option params [Time,DateTime,Date,Integer,String] :scheduled_time
|
8799
|
+
# The date and time specified in the change request to run the
|
8800
|
+
# Automation runbooks.
|
8801
|
+
#
|
8802
|
+
# <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
|
8803
|
+
# until all required approvals for the change request have been
|
8804
|
+
# received.
|
8805
|
+
#
|
8806
|
+
# </note>
|
8807
|
+
#
|
8808
|
+
# @option params [required, String] :document_name
|
8809
|
+
# The name of the change template document to run during the runbook
|
8810
|
+
# workflow.
|
8811
|
+
#
|
8812
|
+
# @option params [String] :document_version
|
8813
|
+
# The version of the change template document to run during the runbook
|
8814
|
+
# workflow.
|
8815
|
+
#
|
8816
|
+
# @option params [Hash<String,Array>] :parameters
|
8817
|
+
# A key-value map of parameters that match the declared parameters in
|
8818
|
+
# the change template document.
|
8819
|
+
#
|
8820
|
+
# @option params [String] :change_request_name
|
8821
|
+
# The name of the change request associated with the runbook workflow to
|
8822
|
+
# be run.
|
8823
|
+
#
|
8824
|
+
# @option params [String] :client_token
|
8825
|
+
# The user-provided idempotency token. The token must be unique, is case
|
8826
|
+
# insensitive, enforces the UUID format, and can't be reused.
|
8827
|
+
#
|
8828
|
+
# @option params [required, Array<Types::Runbook>] :runbooks
|
8829
|
+
# Information about the Automation runbooks (Automation documents) that
|
8830
|
+
# are run during the runbook workflow.
|
8831
|
+
#
|
8832
|
+
# <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
|
8833
|
+
# until all required approvals for the change request have been
|
8834
|
+
# received.
|
8835
|
+
#
|
8836
|
+
# </note>
|
8837
|
+
#
|
8838
|
+
# @option params [Array<Types::Tag>] :tags
|
8839
|
+
# Optional metadata that you assign to a resource. You can specify a
|
8840
|
+
# maximum of five tags for a change request. Tags enable you to
|
8841
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
8842
|
+
# environment. For example, you might want to tag a change request to
|
8843
|
+
# identify an environment or target AWS Region. In this case, you could
|
8844
|
+
# specify the following key-value pairs:
|
8845
|
+
#
|
8846
|
+
# * `Key=Environment,Value=Production`
|
8847
|
+
#
|
8848
|
+
# * `Key=Region,Value=us-east-2`
|
8849
|
+
#
|
8850
|
+
# @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8851
|
+
#
|
8852
|
+
# * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
|
8853
|
+
#
|
8854
|
+
# @example Request syntax with placeholder values
|
8855
|
+
#
|
8856
|
+
# resp = client.start_change_request_execution({
|
8857
|
+
# scheduled_time: Time.now,
|
8858
|
+
# document_name: "DocumentARN", # required
|
8859
|
+
# document_version: "DocumentVersion",
|
8860
|
+
# parameters: {
|
8861
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
8862
|
+
# },
|
8863
|
+
# change_request_name: "ChangeRequestName",
|
8864
|
+
# client_token: "IdempotencyToken",
|
8865
|
+
# runbooks: [ # required
|
8866
|
+
# {
|
8867
|
+
# document_name: "DocumentARN", # required
|
8868
|
+
# document_version: "DocumentVersion",
|
8869
|
+
# parameters: {
|
8870
|
+
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
8871
|
+
# },
|
8872
|
+
# target_parameter_name: "AutomationParameterKey",
|
8873
|
+
# targets: [
|
8874
|
+
# {
|
8875
|
+
# key: "TargetKey",
|
8876
|
+
# values: ["TargetValue"],
|
8877
|
+
# },
|
8878
|
+
# ],
|
8879
|
+
# max_concurrency: "MaxConcurrency",
|
8880
|
+
# max_errors: "MaxErrors",
|
8881
|
+
# target_locations: [
|
8882
|
+
# {
|
8883
|
+
# accounts: ["Account"],
|
8884
|
+
# regions: ["Region"],
|
8885
|
+
# target_location_max_concurrency: "MaxConcurrency",
|
8886
|
+
# target_location_max_errors: "MaxErrors",
|
8887
|
+
# execution_role_name: "ExecutionRoleName",
|
8888
|
+
# },
|
8889
|
+
# ],
|
8890
|
+
# },
|
8891
|
+
# ],
|
8892
|
+
# tags: [
|
8893
|
+
# {
|
8894
|
+
# key: "TagKey", # required
|
8895
|
+
# value: "TagValue", # required
|
8896
|
+
# },
|
8897
|
+
# ],
|
8898
|
+
# })
|
8899
|
+
#
|
8900
|
+
# @example Response structure
|
8901
|
+
#
|
8902
|
+
# resp.automation_execution_id #=> String
|
8903
|
+
#
|
8904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecution AWS API Documentation
|
8905
|
+
#
|
8906
|
+
# @overload start_change_request_execution(params = {})
|
8907
|
+
# @param [Hash] params ({})
|
8908
|
+
def start_change_request_execution(params = {}, options = {})
|
8909
|
+
req = build_request(:start_change_request_execution, params)
|
8910
|
+
req.send_request(options)
|
8911
|
+
end
|
8912
|
+
|
8256
8913
|
# Initiates a connection to a target (for example, an instance) for a
|
8257
8914
|
# Session Manager session. Returns a URL and token that can be used to
|
8258
8915
|
# open a WebSocket connection for sending input and receiving outputs.
|
@@ -8495,7 +9152,8 @@ module Aws::SSM
|
|
8495
9152
|
# By default, when you update an association, the system runs it
|
8496
9153
|
# immediately after it is updated and then according to the schedule you
|
8497
9154
|
# specified. Specify this option if you don't want an association to
|
8498
|
-
# run immediately after you update it.
|
9155
|
+
# run immediately after you update it. This parameter is not supported
|
9156
|
+
# for rate expressions.
|
8499
9157
|
#
|
8500
9158
|
# Also, if you specified this option when you created the association,
|
8501
9159
|
# you can reset it. To do so, specify the
|
@@ -8504,6 +9162,11 @@ module Aws::SSM
|
|
8504
9162
|
# association to run immediately after updating it and according to the
|
8505
9163
|
# interval specified.
|
8506
9164
|
#
|
9165
|
+
# @option params [Array<Types::TargetLocation>] :target_locations
|
9166
|
+
# A location is a combination of AWS Regions and AWS accounts where you
|
9167
|
+
# want to run the association. Use this action to update an association
|
9168
|
+
# in multiple Regions and multiple accounts.
|
9169
|
+
#
|
8507
9170
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8508
9171
|
#
|
8509
9172
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -8539,6 +9202,15 @@ module Aws::SSM
|
|
8539
9202
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
8540
9203
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
8541
9204
|
# apply_only_at_cron_interval: false,
|
9205
|
+
# target_locations: [
|
9206
|
+
# {
|
9207
|
+
# accounts: ["Account"],
|
9208
|
+
# regions: ["Region"],
|
9209
|
+
# target_location_max_concurrency: "MaxConcurrency",
|
9210
|
+
# target_location_max_errors: "MaxErrors",
|
9211
|
+
# execution_role_name: "ExecutionRoleName",
|
9212
|
+
# },
|
9213
|
+
# ],
|
8542
9214
|
# })
|
8543
9215
|
#
|
8544
9216
|
# @example Response structure
|
@@ -8578,6 +9250,14 @@ module Aws::SSM
|
|
8578
9250
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
8579
9251
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
8580
9252
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9253
|
+
# resp.association_description.target_locations #=> Array
|
9254
|
+
# resp.association_description.target_locations[0].accounts #=> Array
|
9255
|
+
# resp.association_description.target_locations[0].accounts[0] #=> String
|
9256
|
+
# resp.association_description.target_locations[0].regions #=> Array
|
9257
|
+
# resp.association_description.target_locations[0].regions[0] #=> String
|
9258
|
+
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
9259
|
+
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
9260
|
+
# resp.association_description.target_locations[0].execution_role_name #=> String
|
8581
9261
|
#
|
8582
9262
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
8583
9263
|
#
|
@@ -8654,6 +9334,14 @@ module Aws::SSM
|
|
8654
9334
|
# resp.association_description.compliance_severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "UNSPECIFIED"
|
8655
9335
|
# resp.association_description.sync_compliance #=> String, one of "AUTO", "MANUAL"
|
8656
9336
|
# resp.association_description.apply_only_at_cron_interval #=> Boolean
|
9337
|
+
# resp.association_description.target_locations #=> Array
|
9338
|
+
# resp.association_description.target_locations[0].accounts #=> Array
|
9339
|
+
# resp.association_description.target_locations[0].accounts[0] #=> String
|
9340
|
+
# resp.association_description.target_locations[0].regions #=> Array
|
9341
|
+
# resp.association_description.target_locations[0].regions[0] #=> String
|
9342
|
+
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
9343
|
+
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
9344
|
+
# resp.association_description.target_locations[0].execution_role_name #=> String
|
8657
9345
|
#
|
8658
9346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
8659
9347
|
#
|
@@ -8737,7 +9425,7 @@ module Aws::SSM
|
|
8737
9425
|
# resp.document_description.parameters[0].default_value #=> String
|
8738
9426
|
# resp.document_description.platform_types #=> Array
|
8739
9427
|
# resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
|
8740
|
-
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar"
|
9428
|
+
# resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy", "ChangeCalendar", "Automation.ChangeTemplate"
|
8741
9429
|
# resp.document_description.schema_version #=> String
|
8742
9430
|
# resp.document_description.latest_version #=> String
|
8743
9431
|
# resp.document_description.default_version #=> String
|
@@ -8751,6 +9439,14 @@ module Aws::SSM
|
|
8751
9439
|
# resp.document_description.requires #=> Array
|
8752
9440
|
# resp.document_description.requires[0].name #=> String
|
8753
9441
|
# resp.document_description.requires[0].version #=> String
|
9442
|
+
# resp.document_description.author #=> String
|
9443
|
+
# resp.document_description.review_information #=> Array
|
9444
|
+
# resp.document_description.review_information[0].reviewed_time #=> Time
|
9445
|
+
# resp.document_description.review_information[0].status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
9446
|
+
# resp.document_description.review_information[0].reviewer #=> String
|
9447
|
+
# resp.document_description.approved_version #=> String
|
9448
|
+
# resp.document_description.pending_review_version #=> String
|
9449
|
+
# resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
8754
9450
|
#
|
8755
9451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
|
8756
9452
|
#
|
@@ -8797,6 +9493,45 @@ module Aws::SSM
|
|
8797
9493
|
req.send_request(options)
|
8798
9494
|
end
|
8799
9495
|
|
9496
|
+
# Updates information related to approval reviews for a specific version
|
9497
|
+
# of a document.
|
9498
|
+
#
|
9499
|
+
# @option params [required, String] :name
|
9500
|
+
# The name of the document for which a version is to be updated.
|
9501
|
+
#
|
9502
|
+
# @option params [String] :document_version
|
9503
|
+
# The version of a document to update.
|
9504
|
+
#
|
9505
|
+
# @option params [required, Types::DocumentReviews] :document_reviews
|
9506
|
+
# The document review details to update.
|
9507
|
+
#
|
9508
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9509
|
+
#
|
9510
|
+
# @example Request syntax with placeholder values
|
9511
|
+
#
|
9512
|
+
# resp = client.update_document_metadata({
|
9513
|
+
# name: "DocumentName", # required
|
9514
|
+
# document_version: "DocumentVersion",
|
9515
|
+
# document_reviews: { # required
|
9516
|
+
# action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
|
9517
|
+
# comment: [
|
9518
|
+
# {
|
9519
|
+
# type: "Comment", # accepts Comment
|
9520
|
+
# content: "DocumentReviewComment",
|
9521
|
+
# },
|
9522
|
+
# ],
|
9523
|
+
# },
|
9524
|
+
# })
|
9525
|
+
#
|
9526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadata AWS API Documentation
|
9527
|
+
#
|
9528
|
+
# @overload update_document_metadata(params = {})
|
9529
|
+
# @param [Hash] params ({})
|
9530
|
+
def update_document_metadata(params = {}, options = {})
|
9531
|
+
req = build_request(:update_document_metadata, params)
|
9532
|
+
req.send_request(options)
|
9533
|
+
end
|
9534
|
+
|
8800
9535
|
# Updates an existing maintenance window. Only specified parameters are
|
8801
9536
|
# modified.
|
8802
9537
|
#
|
@@ -8822,7 +9557,7 @@ module Aws::SSM
|
|
8822
9557
|
# @option params [String] :start_date
|
8823
9558
|
# The time zone that the scheduled maintenance window executions are
|
8824
9559
|
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
8825
|
-
# example: "America/Los\_Angeles", "
|
9560
|
+
# example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
|
8826
9561
|
# more information, see the [Time Zone Database][1] on the IANA website.
|
8827
9562
|
#
|
8828
9563
|
#
|
@@ -8842,7 +9577,7 @@ module Aws::SSM
|
|
8842
9577
|
# @option params [String] :schedule_timezone
|
8843
9578
|
# The time zone that the scheduled maintenance window executions are
|
8844
9579
|
# based on, in Internet Assigned Numbers Authority (IANA) format. For
|
8845
|
-
# example: "America/Los\_Angeles", "
|
9580
|
+
# example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
|
8846
9581
|
# more information, see the [Time Zone Database][1] on the IANA website.
|
8847
9582
|
#
|
8848
9583
|
#
|
@@ -8856,7 +9591,7 @@ module Aws::SSM
|
|
8856
9591
|
# For example, the following cron expression schedules a maintenance
|
8857
9592
|
# window to run the third Tuesday of every month at 11:30 PM.
|
8858
9593
|
#
|
8859
|
-
# `cron(
|
9594
|
+
# `cron(30 23 ? * TUE#3 *)`
|
8860
9595
|
#
|
8861
9596
|
# If the schedule offset is `2`, the maintenance window won't run until
|
8862
9597
|
# two days later.
|
@@ -9046,6 +9781,15 @@ module Aws::SSM
|
|
9046
9781
|
#
|
9047
9782
|
# * MaxErrors
|
9048
9783
|
#
|
9784
|
+
# <note markdown="1"> One or more targets must be specified for maintenance window Run
|
9785
|
+
# Command-type tasks. Depending on the task, targets are optional for
|
9786
|
+
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9787
|
+
# Step Functions). For more information about running tasks that do not
|
9788
|
+
# specify targets, see [Registering maintenance window tasks without
|
9789
|
+
# targets][1] in the *AWS Systems Manager User Guide*.
|
9790
|
+
#
|
9791
|
+
# </note>
|
9792
|
+
#
|
9049
9793
|
# If the value for a parameter in `UpdateMaintenanceWindowTask` is null,
|
9050
9794
|
# then the corresponding field is not modified. If you set `Replace` to
|
9051
9795
|
# true, then all fields required by the
|
@@ -9062,6 +9806,10 @@ module Aws::SSM
|
|
9062
9806
|
# and specify only a different `OutputS3BucketName` value, the values
|
9063
9807
|
# for `Comment` and `NotificationConfig` are removed.
|
9064
9808
|
#
|
9809
|
+
#
|
9810
|
+
#
|
9811
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
9812
|
+
#
|
9065
9813
|
# @option params [required, String] :window_id
|
9066
9814
|
# The maintenance window ID that contains the task to modify.
|
9067
9815
|
#
|
@@ -9073,6 +9821,19 @@ module Aws::SSM
|
|
9073
9821
|
# specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
|
9074
9822
|
# Tags are specified using Key=tag\_name,Values=tag\_value.
|
9075
9823
|
#
|
9824
|
+
# <note markdown="1"> One or more targets must be specified for maintenance window Run
|
9825
|
+
# Command-type tasks. Depending on the task, targets are optional for
|
9826
|
+
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9827
|
+
# Step Functions). For more information about running tasks that do not
|
9828
|
+
# specify targets, see [Registering maintenance window tasks without
|
9829
|
+
# targets][1] in the *AWS Systems Manager User Guide*.
|
9830
|
+
#
|
9831
|
+
# </note>
|
9832
|
+
#
|
9833
|
+
#
|
9834
|
+
#
|
9835
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
9836
|
+
#
|
9076
9837
|
# @option params [String] :task_arn
|
9077
9838
|
# The task ARN to modify.
|
9078
9839
|
#
|
@@ -9138,11 +9899,27 @@ module Aws::SSM
|
|
9138
9899
|
# is the number of targets that are allowed to run this task in
|
9139
9900
|
# parallel.
|
9140
9901
|
#
|
9902
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
9903
|
+
# supply a value for this option. Instead, the system inserts a
|
9904
|
+
# placeholder value of `1`, which may be reported in the response to
|
9905
|
+
# this command. This value does not affect the running of your task and
|
9906
|
+
# can be ignored.
|
9907
|
+
#
|
9908
|
+
# </note>
|
9909
|
+
#
|
9141
9910
|
# @option params [String] :max_errors
|
9142
9911
|
# The new `MaxErrors` value to specify. `MaxErrors` is the maximum
|
9143
9912
|
# number of errors that are allowed before the task stops being
|
9144
9913
|
# scheduled.
|
9145
9914
|
#
|
9915
|
+
# <note markdown="1"> For maintenance window tasks without a target specified, you cannot
|
9916
|
+
# supply a value for this option. Instead, the system inserts a
|
9917
|
+
# placeholder value of `1`, which may be reported in the response to
|
9918
|
+
# this command. This value does not affect the running of your task and
|
9919
|
+
# can be ignored.
|
9920
|
+
#
|
9921
|
+
# </note>
|
9922
|
+
#
|
9146
9923
|
# @option params [Types::LoggingInfo] :logging_info
|
9147
9924
|
# The new logging location in Amazon S3 to specify.
|
9148
9925
|
#
|
@@ -9429,6 +10206,23 @@ module Aws::SSM
|
|
9429
10206
|
# @option params [String] :severity
|
9430
10207
|
# Specify a new severity for an OpsItem.
|
9431
10208
|
#
|
10209
|
+
# @option params [Time,DateTime,Date,Integer,String] :actual_start_time
|
10210
|
+
# The time a runbook workflow started. Currently reported only for the
|
10211
|
+
# OpsItem type `/aws/changerequest`.
|
10212
|
+
#
|
10213
|
+
# @option params [Time,DateTime,Date,Integer,String] :actual_end_time
|
10214
|
+
# The time a runbook workflow ended. Currently reported only for the
|
10215
|
+
# OpsItem type `/aws/changerequest`.
|
10216
|
+
#
|
10217
|
+
# @option params [Time,DateTime,Date,Integer,String] :planned_start_time
|
10218
|
+
# The time specified in a change request for a runbook workflow to
|
10219
|
+
# start. Currently supported only for the OpsItem type
|
10220
|
+
# `/aws/changerequest`.
|
10221
|
+
#
|
10222
|
+
# @option params [Time,DateTime,Date,Integer,String] :planned_end_time
|
10223
|
+
# The time specified in a change request for a runbook workflow to end.
|
10224
|
+
# Currently supported only for the OpsItem type `/aws/changerequest`.
|
10225
|
+
#
|
9432
10226
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9433
10227
|
#
|
9434
10228
|
# @example Request syntax with placeholder values
|
@@ -9453,11 +10247,15 @@ module Aws::SSM
|
|
9453
10247
|
# ops_item_id: "String", # required
|
9454
10248
|
# },
|
9455
10249
|
# ],
|
9456
|
-
# status: "Open", # accepts Open, InProgress, Resolved
|
10250
|
+
# status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
|
9457
10251
|
# ops_item_id: "OpsItemId", # required
|
9458
10252
|
# title: "OpsItemTitle",
|
9459
10253
|
# category: "OpsItemCategory",
|
9460
10254
|
# severity: "OpsItemSeverity",
|
10255
|
+
# actual_start_time: Time.now,
|
10256
|
+
# actual_end_time: Time.now,
|
10257
|
+
# planned_start_time: Time.now,
|
10258
|
+
# planned_end_time: Time.now,
|
9461
10259
|
# })
|
9462
10260
|
#
|
9463
10261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem AWS API Documentation
|
@@ -9469,6 +10267,47 @@ module Aws::SSM
|
|
9469
10267
|
req.send_request(options)
|
9470
10268
|
end
|
9471
10269
|
|
10270
|
+
# Systems Manager calls this API action when you edit OpsMetadata in
|
10271
|
+
# Application Manager.
|
10272
|
+
#
|
10273
|
+
# @option params [required, String] :ops_metadata_arn
|
10274
|
+
# The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
|
10275
|
+
#
|
10276
|
+
# @option params [Hash<String,Types::MetadataValue>] :metadata_to_update
|
10277
|
+
# Metadata to add to an OpsMetadata object.
|
10278
|
+
#
|
10279
|
+
# @option params [Array<String>] :keys_to_delete
|
10280
|
+
# The metadata keys to delete from the OpsMetadata object.
|
10281
|
+
#
|
10282
|
+
# @return [Types::UpdateOpsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10283
|
+
#
|
10284
|
+
# * {Types::UpdateOpsMetadataResult#ops_metadata_arn #ops_metadata_arn} => String
|
10285
|
+
#
|
10286
|
+
# @example Request syntax with placeholder values
|
10287
|
+
#
|
10288
|
+
# resp = client.update_ops_metadata({
|
10289
|
+
# ops_metadata_arn: "OpsMetadataArn", # required
|
10290
|
+
# metadata_to_update: {
|
10291
|
+
# "MetadataKey" => {
|
10292
|
+
# value: "MetadataValueString",
|
10293
|
+
# },
|
10294
|
+
# },
|
10295
|
+
# keys_to_delete: ["MetadataKey"],
|
10296
|
+
# })
|
10297
|
+
#
|
10298
|
+
# @example Response structure
|
10299
|
+
#
|
10300
|
+
# resp.ops_metadata_arn #=> String
|
10301
|
+
#
|
10302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadata AWS API Documentation
|
10303
|
+
#
|
10304
|
+
# @overload update_ops_metadata(params = {})
|
10305
|
+
# @param [Hash] params ({})
|
10306
|
+
def update_ops_metadata(params = {}, options = {})
|
10307
|
+
req = build_request(:update_ops_metadata, params)
|
10308
|
+
req.send_request(options)
|
10309
|
+
end
|
10310
|
+
|
9472
10311
|
# Modifies an existing patch baseline. Fields not specified in the
|
9473
10312
|
# request are left unchanged.
|
9474
10313
|
#
|
@@ -9620,7 +10459,7 @@ module Aws::SSM
|
|
9620
10459
|
#
|
9621
10460
|
# resp.baseline_id #=> String
|
9622
10461
|
# resp.name #=> String
|
9623
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN"
|
10462
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS"
|
9624
10463
|
# resp.global_filters.patch_filters #=> Array
|
9625
10464
|
# resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
|
9626
10465
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -9789,7 +10628,7 @@ module Aws::SSM
|
|
9789
10628
|
params: params,
|
9790
10629
|
config: config)
|
9791
10630
|
context[:gem_name] = 'aws-sdk-ssm'
|
9792
|
-
context[:gem_version] = '1.
|
10631
|
+
context[:gem_version] = '1.103.0'
|
9793
10632
|
Seahorse::Client::Request.new(handlers, context)
|
9794
10633
|
end
|
9795
10634
|
|