aws-sdk-ssm 1.98.0 → 1.103.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ module Aws::SSM
34
34
  # * {AssociationExecutionDoesNotExist}
35
35
  # * {AssociationLimitExceeded}
36
36
  # * {AssociationVersionLimitExceeded}
37
+ # * {AutomationDefinitionNotApprovedException}
37
38
  # * {AutomationDefinitionNotFoundException}
38
39
  # * {AutomationDefinitionVersionNotFoundException}
39
40
  # * {AutomationExecutionLimitExceededException}
@@ -110,6 +111,12 @@ module Aws::SSM
110
111
  # * {OpsItemInvalidParameterException}
111
112
  # * {OpsItemLimitExceededException}
112
113
  # * {OpsItemNotFoundException}
114
+ # * {OpsMetadataAlreadyExistsException}
115
+ # * {OpsMetadataInvalidArgumentException}
116
+ # * {OpsMetadataKeyLimitExceededException}
117
+ # * {OpsMetadataLimitExceededException}
118
+ # * {OpsMetadataNotFoundException}
119
+ # * {OpsMetadataTooManyUpdatesException}
113
120
  # * {ParameterAlreadyExists}
114
121
  # * {ParameterLimitExceeded}
115
122
  # * {ParameterMaxVersionLimitExceeded}
@@ -237,6 +244,21 @@ module Aws::SSM
237
244
  end
238
245
  end
239
246
 
247
+ class AutomationDefinitionNotApprovedException < ServiceError
248
+
249
+ # @param [Seahorse::Client::RequestContext] context
250
+ # @param [String] message
251
+ # @param [Aws::SSM::Types::AutomationDefinitionNotApprovedException] data
252
+ def initialize(context, message, data = Aws::EmptyStructure.new)
253
+ super(context, message, data)
254
+ end
255
+
256
+ # @return [String]
257
+ def message
258
+ @message || @data[:message]
259
+ end
260
+ end
261
+
240
262
  class AutomationDefinitionNotFoundException < ServiceError
241
263
 
242
264
  # @param [Seahorse::Client::RequestContext] context
@@ -1372,6 +1394,96 @@ module Aws::SSM
1372
1394
  end
1373
1395
  end
1374
1396
 
1397
+ class OpsMetadataAlreadyExistsException < ServiceError
1398
+
1399
+ # @param [Seahorse::Client::RequestContext] context
1400
+ # @param [String] message
1401
+ # @param [Aws::SSM::Types::OpsMetadataAlreadyExistsException] data
1402
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1403
+ super(context, message, data)
1404
+ end
1405
+
1406
+ # @return [String]
1407
+ def message
1408
+ @message || @data[:message]
1409
+ end
1410
+ end
1411
+
1412
+ class OpsMetadataInvalidArgumentException < ServiceError
1413
+
1414
+ # @param [Seahorse::Client::RequestContext] context
1415
+ # @param [String] message
1416
+ # @param [Aws::SSM::Types::OpsMetadataInvalidArgumentException] data
1417
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1418
+ super(context, message, data)
1419
+ end
1420
+
1421
+ # @return [String]
1422
+ def message
1423
+ @message || @data[:message]
1424
+ end
1425
+ end
1426
+
1427
+ class OpsMetadataKeyLimitExceededException < ServiceError
1428
+
1429
+ # @param [Seahorse::Client::RequestContext] context
1430
+ # @param [String] message
1431
+ # @param [Aws::SSM::Types::OpsMetadataKeyLimitExceededException] data
1432
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1433
+ super(context, message, data)
1434
+ end
1435
+
1436
+ # @return [String]
1437
+ def message
1438
+ @message || @data[:message]
1439
+ end
1440
+ end
1441
+
1442
+ class OpsMetadataLimitExceededException < ServiceError
1443
+
1444
+ # @param [Seahorse::Client::RequestContext] context
1445
+ # @param [String] message
1446
+ # @param [Aws::SSM::Types::OpsMetadataLimitExceededException] data
1447
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1448
+ super(context, message, data)
1449
+ end
1450
+
1451
+ # @return [String]
1452
+ def message
1453
+ @message || @data[:message]
1454
+ end
1455
+ end
1456
+
1457
+ class OpsMetadataNotFoundException < ServiceError
1458
+
1459
+ # @param [Seahorse::Client::RequestContext] context
1460
+ # @param [String] message
1461
+ # @param [Aws::SSM::Types::OpsMetadataNotFoundException] data
1462
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1463
+ super(context, message, data)
1464
+ end
1465
+
1466
+ # @return [String]
1467
+ def message
1468
+ @message || @data[:message]
1469
+ end
1470
+ end
1471
+
1472
+ class OpsMetadataTooManyUpdatesException < ServiceError
1473
+
1474
+ # @param [Seahorse::Client::RequestContext] context
1475
+ # @param [String] message
1476
+ # @param [Aws::SSM::Types::OpsMetadataTooManyUpdatesException] data
1477
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1478
+ super(context, message, data)
1479
+ end
1480
+
1481
+ # @return [String]
1482
+ def message
1483
+ @message || @data[:message]
1484
+ end
1485
+ end
1486
+
1375
1487
  class ParameterAlreadyExists < ServiceError
1376
1488
 
1377
1489
  # @param [Seahorse::Client::RequestContext] context
@@ -384,9 +384,15 @@ module Aws::SSM
384
384
  # By default, when you create a new associations, the system runs it
385
385
  # immediately after it is created and then according to the schedule
386
386
  # you specified. Specify this option if you don't want an association
387
- # to run immediately after you create it.
387
+ # to run immediately after you create it. This parameter is not
388
+ # supported for rate expressions.
388
389
  # @return [Boolean]
389
390
  #
391
+ # @!attribute [rw] target_locations
392
+ # The combination of AWS Regions and AWS accounts where you want to
393
+ # run the association.
394
+ # @return [Array<Types::TargetLocation>]
395
+ #
390
396
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
391
397
  #
392
398
  class AssociationDescription < Struct.new(
@@ -411,7 +417,8 @@ module Aws::SSM
411
417
  :max_concurrency,
412
418
  :compliance_severity,
413
419
  :sync_compliance,
414
- :apply_only_at_cron_interval)
420
+ :apply_only_at_cron_interval,
421
+ :target_locations)
415
422
  SENSITIVE = []
416
423
  include Aws::Structure
417
424
  end
@@ -814,9 +821,15 @@ module Aws::SSM
814
821
  # By default, when you create a new associations, the system runs it
815
822
  # immediately after it is created and then according to the schedule
816
823
  # you specified. Specify this option if you don't want an association
817
- # to run immediately after you create it.
824
+ # to run immediately after you create it. This parameter is not
825
+ # supported for rate expressions.
818
826
  # @return [Boolean]
819
827
  #
828
+ # @!attribute [rw] target_locations
829
+ # The combination of AWS Regions and AWS accounts where you wanted to
830
+ # run the association when this association version was created.
831
+ # @return [Array<Types::TargetLocation>]
832
+ #
820
833
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
821
834
  #
822
835
  class AssociationVersionInfo < Struct.new(
@@ -834,7 +847,8 @@ module Aws::SSM
834
847
  :max_concurrency,
835
848
  :compliance_severity,
836
849
  :sync_compliance,
837
- :apply_only_at_cron_interval)
850
+ :apply_only_at_cron_interval,
851
+ :target_locations)
838
852
  SENSITIVE = []
839
853
  include Aws::Structure
840
854
  end
@@ -965,6 +979,20 @@ module Aws::SSM
965
979
  include Aws::Structure
966
980
  end
967
981
 
982
+ # Indicates that the Change Manager change template used in the change
983
+ # request was rejected or is still in a pending state.
984
+ #
985
+ # @!attribute [rw] message
986
+ # @return [String]
987
+ #
988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationDefinitionNotApprovedException AWS API Documentation
989
+ #
990
+ class AutomationDefinitionNotApprovedException < Struct.new(
991
+ :message)
992
+ SENSITIVE = []
993
+ include Aws::Structure
994
+ end
995
+
968
996
  # An Automation document with the specified name could not be found.
969
997
  #
970
998
  # @!attribute [rw] message
@@ -1107,6 +1135,40 @@ module Aws::SSM
1107
1135
  # for a multi-Region and multi-account Automation execution.
1108
1136
  # @return [Types::ProgressCounters]
1109
1137
  #
1138
+ # @!attribute [rw] automation_subtype
1139
+ # The subtype of the Automation operation. Currently, the only
1140
+ # supported value is `ChangeRequest`.
1141
+ # @return [String]
1142
+ #
1143
+ # @!attribute [rw] scheduled_time
1144
+ # The date and time the Automation operation is scheduled to start.
1145
+ # @return [Time]
1146
+ #
1147
+ # @!attribute [rw] runbooks
1148
+ # Information about the Automation runbooks (Automation documents)
1149
+ # that are run as part of a runbook workflow.
1150
+ #
1151
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
1152
+ # run until all required approvals for the change request have been
1153
+ # received.
1154
+ #
1155
+ # </note>
1156
+ # @return [Array<Types::Runbook>]
1157
+ #
1158
+ # @!attribute [rw] ops_item_id
1159
+ # The ID of an OpsItem that is created to represent a Change Manager
1160
+ # change request.
1161
+ # @return [String]
1162
+ #
1163
+ # @!attribute [rw] association_id
1164
+ # The ID of a State Manager association used in the Automation
1165
+ # operation.
1166
+ # @return [String]
1167
+ #
1168
+ # @!attribute [rw] change_request_name
1169
+ # The name of the Change Manager change request.
1170
+ # @return [String]
1171
+ #
1110
1172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution AWS API Documentation
1111
1173
  #
1112
1174
  class AutomationExecution < Struct.new(
@@ -1134,7 +1196,13 @@ module Aws::SSM
1134
1196
  :max_errors,
1135
1197
  :target,
1136
1198
  :target_locations,
1137
- :progress_counters)
1199
+ :progress_counters,
1200
+ :automation_subtype,
1201
+ :scheduled_time,
1202
+ :runbooks,
1203
+ :ops_item_id,
1204
+ :association_id,
1205
+ :change_request_name)
1138
1206
  SENSITIVE = []
1139
1207
  include Aws::Structure
1140
1208
  end
@@ -1146,15 +1214,12 @@ module Aws::SSM
1146
1214
  # data as a hash:
1147
1215
  #
1148
1216
  # {
1149
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup
1217
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup, AutomationSubtype, OpsItemId
1150
1218
  # values: ["AutomationExecutionFilterValue"], # required
1151
1219
  # }
1152
1220
  #
1153
1221
  # @!attribute [rw] key
1154
- # One or more keys to limit the results. Valid filter keys include the
1155
- # following: DocumentNamePrefix, ExecutionStatus, ExecutionId,
1156
- # ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter,
1157
- # TargetResourceGroup.
1222
+ # One or more keys to limit the results.
1158
1223
  # @return [String]
1159
1224
  #
1160
1225
  # @!attribute [rw] values
@@ -1287,6 +1352,40 @@ module Aws::SSM
1287
1352
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
1288
1353
  # @return [String]
1289
1354
  #
1355
+ # @!attribute [rw] automation_subtype
1356
+ # The subtype of the Automation operation. Currently, the only
1357
+ # supported value is `ChangeRequest`.
1358
+ # @return [String]
1359
+ #
1360
+ # @!attribute [rw] scheduled_time
1361
+ # The date and time the Automation operation is scheduled to start.
1362
+ # @return [Time]
1363
+ #
1364
+ # @!attribute [rw] runbooks
1365
+ # Information about the Automation runbooks (Automation documents)
1366
+ # that are run during a runbook workflow in Change Manager.
1367
+ #
1368
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
1369
+ # run until all required approvals for the change request have been
1370
+ # received.
1371
+ #
1372
+ # </note>
1373
+ # @return [Array<Types::Runbook>]
1374
+ #
1375
+ # @!attribute [rw] ops_item_id
1376
+ # The ID of an OpsItem that is created to represent a Change Manager
1377
+ # change request.
1378
+ # @return [String]
1379
+ #
1380
+ # @!attribute [rw] association_id
1381
+ # The ID of a State Manager association used in the Automation
1382
+ # operation.
1383
+ # @return [String]
1384
+ #
1385
+ # @!attribute [rw] change_request_name
1386
+ # The name of the Change Manager change request.
1387
+ # @return [String]
1388
+ #
1290
1389
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata AWS API Documentation
1291
1390
  #
1292
1391
  class AutomationExecutionMetadata < Struct.new(
@@ -1311,7 +1410,13 @@ module Aws::SSM
1311
1410
  :max_concurrency,
1312
1411
  :max_errors,
1313
1412
  :target,
1314
- :automation_type)
1413
+ :automation_type,
1414
+ :automation_subtype,
1415
+ :scheduled_time,
1416
+ :runbooks,
1417
+ :ops_item_id,
1418
+ :association_id,
1419
+ :change_request_name)
1315
1420
  SENSITIVE = []
1316
1421
  include Aws::Structure
1317
1422
  end
@@ -2432,6 +2537,15 @@ module Aws::SSM
2432
2537
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2433
2538
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2434
2539
  # apply_only_at_cron_interval: false,
2540
+ # target_locations: [
2541
+ # {
2542
+ # accounts: ["Account"],
2543
+ # regions: ["Region"],
2544
+ # target_location_max_concurrency: "MaxConcurrency",
2545
+ # target_location_max_errors: "MaxErrors",
2546
+ # execution_role_name: "ExecutionRoleName",
2547
+ # },
2548
+ # ],
2435
2549
  # },
2436
2550
  # ],
2437
2551
  # }
@@ -2482,6 +2596,15 @@ module Aws::SSM
2482
2596
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2483
2597
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2484
2598
  # apply_only_at_cron_interval: false,
2599
+ # target_locations: [
2600
+ # {
2601
+ # accounts: ["Account"],
2602
+ # regions: ["Region"],
2603
+ # target_location_max_concurrency: "MaxConcurrency",
2604
+ # target_location_max_errors: "MaxErrors",
2605
+ # execution_role_name: "ExecutionRoleName",
2606
+ # },
2607
+ # ],
2485
2608
  # }
2486
2609
  #
2487
2610
  # @!attribute [rw] name
@@ -2597,9 +2720,15 @@ module Aws::SSM
2597
2720
  # By default, when you create a new associations, the system runs it
2598
2721
  # immediately after it is created and then according to the schedule
2599
2722
  # you specified. Specify this option if you don't want an association
2600
- # to run immediately after you create it.
2723
+ # to run immediately after you create it. This parameter is not
2724
+ # supported for rate expressions.
2601
2725
  # @return [Boolean]
2602
2726
  #
2727
+ # @!attribute [rw] target_locations
2728
+ # Use this action to create an association in multiple Regions and
2729
+ # multiple accounts.
2730
+ # @return [Array<Types::TargetLocation>]
2731
+ #
2603
2732
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
2604
2733
  #
2605
2734
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -2616,7 +2745,8 @@ module Aws::SSM
2616
2745
  :max_concurrency,
2617
2746
  :compliance_severity,
2618
2747
  :sync_compliance,
2619
- :apply_only_at_cron_interval)
2748
+ :apply_only_at_cron_interval,
2749
+ :target_locations)
2620
2750
  SENSITIVE = []
2621
2751
  include Aws::Structure
2622
2752
  end
@@ -2669,6 +2799,15 @@ module Aws::SSM
2669
2799
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2670
2800
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2671
2801
  # apply_only_at_cron_interval: false,
2802
+ # target_locations: [
2803
+ # {
2804
+ # accounts: ["Account"],
2805
+ # regions: ["Region"],
2806
+ # target_location_max_concurrency: "MaxConcurrency",
2807
+ # target_location_max_errors: "MaxErrors",
2808
+ # execution_role_name: "ExecutionRoleName",
2809
+ # },
2810
+ # ],
2672
2811
  # }
2673
2812
  #
2674
2813
  # @!attribute [rw] name
@@ -2805,9 +2944,16 @@ module Aws::SSM
2805
2944
  # By default, when you create a new associations, the system runs it
2806
2945
  # immediately after it is created and then according to the schedule
2807
2946
  # you specified. Specify this option if you don't want an association
2808
- # to run immediately after you create it.
2947
+ # to run immediately after you create it. This parameter is not
2948
+ # supported for rate expressions.
2809
2949
  # @return [Boolean]
2810
2950
  #
2951
+ # @!attribute [rw] target_locations
2952
+ # A location is a combination of AWS Regions and AWS accounts where
2953
+ # you want to run the association. Use this action to create an
2954
+ # association in multiple Regions and multiple accounts.
2955
+ # @return [Array<Types::TargetLocation>]
2956
+ #
2811
2957
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
2812
2958
  #
2813
2959
  class CreateAssociationRequest < Struct.new(
@@ -2824,7 +2970,8 @@ module Aws::SSM
2824
2970
  :max_concurrency,
2825
2971
  :compliance_severity,
2826
2972
  :sync_compliance,
2827
- :apply_only_at_cron_interval)
2973
+ :apply_only_at_cron_interval,
2974
+ :target_locations)
2828
2975
  SENSITIVE = []
2829
2976
  include Aws::Structure
2830
2977
  end
@@ -2861,7 +3008,7 @@ module Aws::SSM
2861
3008
  # ],
2862
3009
  # name: "DocumentName", # required
2863
3010
  # version_name: "DocumentVersionName",
2864
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar
3011
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate
2865
3012
  # document_format: "YAML", # accepts YAML, JSON, TEXT
2866
3013
  # target_type: "TargetType",
2867
3014
  # tags: [
@@ -3056,8 +3203,8 @@ module Aws::SSM
3056
3203
  # @!attribute [rw] schedule_timezone
3057
3204
  # The time zone that the scheduled maintenance window executions are
3058
3205
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
3059
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
3060
- # For more information, see the [Time Zone Database][1] on the IANA
3206
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
3207
+ # more information, see the [Time Zone Database][1] on the IANA
3061
3208
  # website.
3062
3209
  #
3063
3210
  #
@@ -3072,7 +3219,7 @@ module Aws::SSM
3072
3219
  # For example, the following cron expression schedules a maintenance
3073
3220
  # window to run on the third Tuesday of every month at 11:30 PM.
3074
3221
  #
3075
- # `cron(0 30 23 ? * TUE#3 *)`
3222
+ # `cron(30 23 ? * TUE#3 *)`
3076
3223
  #
3077
3224
  # If the schedule offset is `2`, the maintenance window won't run
3078
3225
  # until two days later.
@@ -3161,6 +3308,7 @@ module Aws::SSM
3161
3308
  #
3162
3309
  # {
3163
3310
  # description: "OpsItemDescription", # required
3311
+ # ops_item_type: "OpsItemType",
3164
3312
  # operational_data: {
3165
3313
  # "OpsItemDataKey" => {
3166
3314
  # value: "OpsItemDataValueString",
@@ -3188,12 +3336,21 @@ module Aws::SSM
3188
3336
  # ],
3189
3337
  # category: "OpsItemCategory",
3190
3338
  # severity: "OpsItemSeverity",
3339
+ # actual_start_time: Time.now,
3340
+ # actual_end_time: Time.now,
3341
+ # planned_start_time: Time.now,
3342
+ # planned_end_time: Time.now,
3191
3343
  # }
3192
3344
  #
3193
3345
  # @!attribute [rw] description
3194
3346
  # Information about the OpsItem.
3195
3347
  # @return [String]
3196
3348
  #
3349
+ # @!attribute [rw] ops_item_type
3350
+ # The type of OpsItem to create. Currently, the only valid values are
3351
+ # `/aws/changerequest` and `/aws/issue`.
3352
+ # @return [String]
3353
+ #
3197
3354
  # @!attribute [rw] operational_data
3198
3355
  # Operational data is custom data that provides useful reference
3199
3356
  # details about the OpsItem. For example, you can specify log files,
@@ -3283,10 +3440,33 @@ module Aws::SSM
3283
3440
  # Specify a severity to assign to an OpsItem.
3284
3441
  # @return [String]
3285
3442
  #
3443
+ # @!attribute [rw] actual_start_time
3444
+ # The time a runbook workflow started. Currently reported only for the
3445
+ # OpsItem type `/aws/changerequest`.
3446
+ # @return [Time]
3447
+ #
3448
+ # @!attribute [rw] actual_end_time
3449
+ # The time a runbook workflow ended. Currently reported only for the
3450
+ # OpsItem type `/aws/changerequest`.
3451
+ # @return [Time]
3452
+ #
3453
+ # @!attribute [rw] planned_start_time
3454
+ # The time specified in a change request for a runbook workflow to
3455
+ # start. Currently supported only for the OpsItem type
3456
+ # `/aws/changerequest`.
3457
+ # @return [Time]
3458
+ #
3459
+ # @!attribute [rw] planned_end_time
3460
+ # The time specified in a change request for a runbook workflow to
3461
+ # end. Currently supported only for the OpsItem type
3462
+ # `/aws/changerequest`.
3463
+ # @return [Time]
3464
+ #
3286
3465
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItemRequest AWS API Documentation
3287
3466
  #
3288
3467
  class CreateOpsItemRequest < Struct.new(
3289
3468
  :description,
3469
+ :ops_item_type,
3290
3470
  :operational_data,
3291
3471
  :notifications,
3292
3472
  :priority,
@@ -3295,7 +3475,11 @@ module Aws::SSM
3295
3475
  :title,
3296
3476
  :tags,
3297
3477
  :category,
3298
- :severity)
3478
+ :severity,
3479
+ :actual_start_time,
3480
+ :actual_end_time,
3481
+ :planned_start_time,
3482
+ :planned_end_time)
3299
3483
  SENSITIVE = []
3300
3484
  include Aws::Structure
3301
3485
  end
@@ -3312,11 +3496,53 @@ module Aws::SSM
3312
3496
  include Aws::Structure
3313
3497
  end
3314
3498
 
3499
+ # @note When making an API call, you may pass CreateOpsMetadataRequest
3500
+ # data as a hash:
3501
+ #
3502
+ # {
3503
+ # resource_id: "OpsMetadataResourceId", # required
3504
+ # metadata: {
3505
+ # "MetadataKey" => {
3506
+ # value: "MetadataValueString",
3507
+ # },
3508
+ # },
3509
+ # }
3510
+ #
3511
+ # @!attribute [rw] resource_id
3512
+ # A resource ID for a new Application Manager application.
3513
+ # @return [String]
3514
+ #
3515
+ # @!attribute [rw] metadata
3516
+ # Metadata for a new Application Manager application.
3517
+ # @return [Hash<String,Types::MetadataValue>]
3518
+ #
3519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
3520
+ #
3521
+ class CreateOpsMetadataRequest < Struct.new(
3522
+ :resource_id,
3523
+ :metadata)
3524
+ SENSITIVE = []
3525
+ include Aws::Structure
3526
+ end
3527
+
3528
+ # @!attribute [rw] ops_metadata_arn
3529
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object or blob
3530
+ # created by the call.
3531
+ # @return [String]
3532
+ #
3533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataResult AWS API Documentation
3534
+ #
3535
+ class CreateOpsMetadataResult < Struct.new(
3536
+ :ops_metadata_arn)
3537
+ SENSITIVE = []
3538
+ include Aws::Structure
3539
+ end
3540
+
3315
3541
  # @note When making an API call, you may pass CreatePatchBaselineRequest
3316
3542
  # data as a hash:
3317
3543
  #
3318
3544
  # {
3319
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
3545
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
3320
3546
  # name: "BaselineName", # required
3321
3547
  # global_filters: {
3322
3548
  # patch_filters: [ # required
@@ -3813,6 +4039,29 @@ module Aws::SSM
3813
4039
  include Aws::Structure
3814
4040
  end
3815
4041
 
4042
+ # @note When making an API call, you may pass DeleteOpsMetadataRequest
4043
+ # data as a hash:
4044
+ #
4045
+ # {
4046
+ # ops_metadata_arn: "OpsMetadataArn", # required
4047
+ # }
4048
+ #
4049
+ # @!attribute [rw] ops_metadata_arn
4050
+ # The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.
4051
+ # @return [String]
4052
+ #
4053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadataRequest AWS API Documentation
4054
+ #
4055
+ class DeleteOpsMetadataRequest < Struct.new(
4056
+ :ops_metadata_arn)
4057
+ SENSITIVE = []
4058
+ include Aws::Structure
4059
+ end
4060
+
4061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadataResult AWS API Documentation
4062
+ #
4063
+ class DeleteOpsMetadataResult < Aws::EmptyStructure; end
4064
+
3816
4065
  # @note When making an API call, you may pass DeleteParameterRequest
3817
4066
  # data as a hash:
3818
4067
  #
@@ -4384,7 +4633,7 @@ module Aws::SSM
4384
4633
  # {
4385
4634
  # filters: [
4386
4635
  # {
4387
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup
4636
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup, AutomationSubtype, OpsItemId
4388
4637
  # values: ["AutomationExecutionFilterValue"], # required
4389
4638
  # },
4390
4639
  # ],
@@ -4570,6 +4819,8 @@ module Aws::SSM
4570
4819
  # {
4571
4820
  # name: "DocumentName", # required
4572
4821
  # permission_type: "Share", # required, accepts Share
4822
+ # max_results: 1,
4823
+ # next_token: "NextToken",
4573
4824
  # }
4574
4825
  #
4575
4826
  # @!attribute [rw] name
@@ -4581,11 +4832,24 @@ module Aws::SSM
4581
4832
  # *Share*.
4582
4833
  # @return [String]
4583
4834
  #
4835
+ # @!attribute [rw] max_results
4836
+ # The maximum number of items to return for this call. The call also
4837
+ # returns a token that you can specify in a subsequent call to get the
4838
+ # next set of results.
4839
+ # @return [Integer]
4840
+ #
4841
+ # @!attribute [rw] next_token
4842
+ # The token for the next set of items to return. (You received this
4843
+ # token from a previous call.)
4844
+ # @return [String]
4845
+ #
4584
4846
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionRequest AWS API Documentation
4585
4847
  #
4586
4848
  class DescribeDocumentPermissionRequest < Struct.new(
4587
4849
  :name,
4588
- :permission_type)
4850
+ :permission_type,
4851
+ :max_results,
4852
+ :next_token)
4589
4853
  SENSITIVE = []
4590
4854
  include Aws::Structure
4591
4855
  end
@@ -4600,11 +4864,17 @@ module Aws::SSM
4600
4864
  # version shared with each account.
4601
4865
  # @return [Array<Types::AccountSharingInfo>]
4602
4866
  #
4867
+ # @!attribute [rw] next_token
4868
+ # The token for the next set of items to return. Use this token to get
4869
+ # the next set of results.
4870
+ # @return [String]
4871
+ #
4603
4872
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse AWS API Documentation
4604
4873
  #
4605
4874
  class DescribeDocumentPermissionResponse < Struct.new(
4606
4875
  :account_ids,
4607
- :account_sharing_info_list)
4876
+ :account_sharing_info_list,
4877
+ :next_token)
4608
4878
  SENSITIVE = []
4609
4879
  include Aws::Structure
4610
4880
  end
@@ -5695,7 +5965,7 @@ module Aws::SSM
5695
5965
  # {
5696
5966
  # ops_item_filters: [
5697
5967
  # {
5698
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
5968
+ # 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
5699
5969
  # values: ["OpsItemFilterValue"], # required
5700
5970
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
5701
5971
  # },
@@ -6100,7 +6370,7 @@ module Aws::SSM
6100
6370
  # data as a hash:
6101
6371
  #
6102
6372
  # {
6103
- # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
6373
+ # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
6104
6374
  # property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
6105
6375
  # patch_set: "OS", # accepts OS, APPLICATION
6106
6376
  # max_results: 1,
@@ -6117,8 +6387,8 @@ module Aws::SSM
6117
6387
  #
6118
6388
  # @!attribute [rw] patch_set
6119
6389
  # Indicates whether to list patches for the Windows operating system
6120
- # or for Microsoft applications. Not applicable for Linux operating
6121
- # systems.
6390
+ # or for Microsoft applications. Not applicable for the Linux or macOS
6391
+ # operating systems.
6122
6392
  # @return [String]
6123
6393
  #
6124
6394
  # @!attribute [rw] max_results
@@ -6379,6 +6649,27 @@ module Aws::SSM
6379
6649
  # `ApplicationConfigurationSchema` document.
6380
6650
  # @return [Array<Types::DocumentRequires>]
6381
6651
  #
6652
+ # @!attribute [rw] author
6653
+ # The user in your organization who created the document.
6654
+ # @return [String]
6655
+ #
6656
+ # @!attribute [rw] review_information
6657
+ # Details about the review of a document.
6658
+ # @return [Array<Types::ReviewInformation>]
6659
+ #
6660
+ # @!attribute [rw] approved_version
6661
+ # The version of the document currently approved for use in the
6662
+ # organization.
6663
+ # @return [String]
6664
+ #
6665
+ # @!attribute [rw] pending_review_version
6666
+ # The version of the document that is currently under review.
6667
+ # @return [String]
6668
+ #
6669
+ # @!attribute [rw] review_status
6670
+ # The current status of the review.
6671
+ # @return [String]
6672
+ #
6382
6673
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
6383
6674
  #
6384
6675
  class DocumentDescription < Struct.new(
@@ -6403,7 +6694,12 @@ module Aws::SSM
6403
6694
  :target_type,
6404
6695
  :tags,
6405
6696
  :attachments_information,
6406
- :requires)
6697
+ :requires,
6698
+ :author,
6699
+ :review_information,
6700
+ :approved_version,
6701
+ :pending_review_version,
6702
+ :review_status)
6407
6703
  SENSITIVE = []
6408
6704
  include Aws::Structure
6409
6705
  end
@@ -6492,6 +6788,14 @@ module Aws::SSM
6492
6788
  # `ApplicationConfigurationSchema` document.
6493
6789
  # @return [Array<Types::DocumentRequires>]
6494
6790
  #
6791
+ # @!attribute [rw] review_status
6792
+ # The current status of a document review.
6793
+ # @return [String]
6794
+ #
6795
+ # @!attribute [rw] author
6796
+ # The user in your organization who created the document.
6797
+ # @return [String]
6798
+ #
6495
6799
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier AWS API Documentation
6496
6800
  #
6497
6801
  class DocumentIdentifier < Struct.new(
@@ -6505,7 +6809,9 @@ module Aws::SSM
6505
6809
  :document_format,
6506
6810
  :target_type,
6507
6811
  :tags,
6508
- :requires)
6812
+ :requires,
6813
+ :review_status,
6814
+ :author)
6509
6815
  SENSITIVE = []
6510
6816
  include Aws::Structure
6511
6817
  end
@@ -6626,6 +6932,20 @@ module Aws::SSM
6626
6932
  include Aws::Structure
6627
6933
  end
6628
6934
 
6935
+ # Details about the response to a document review request.
6936
+ #
6937
+ # @!attribute [rw] reviewer_response
6938
+ # Details about a reviewer's response to a document review request.
6939
+ # @return [Array<Types::DocumentReviewerResponseSource>]
6940
+ #
6941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentMetadataResponseInfo AWS API Documentation
6942
+ #
6943
+ class DocumentMetadataResponseInfo < Struct.new(
6944
+ :reviewer_response)
6945
+ SENSITIVE = []
6946
+ include Aws::Structure
6947
+ end
6948
+
6629
6949
  # Parameters specified in a System Manager document that run on the
6630
6950
  # server when the command is run.
6631
6951
  #
@@ -6703,6 +7023,114 @@ module Aws::SSM
6703
7023
  include Aws::Structure
6704
7024
  end
6705
7025
 
7026
+ # Information about comments added to a document review request.
7027
+ #
7028
+ # @note When making an API call, you may pass DocumentReviewCommentSource
7029
+ # data as a hash:
7030
+ #
7031
+ # {
7032
+ # type: "Comment", # accepts Comment
7033
+ # content: "DocumentReviewComment",
7034
+ # }
7035
+ #
7036
+ # @!attribute [rw] type
7037
+ # The type of information added to a review request. Currently, only
7038
+ # the value `Comment` is supported.
7039
+ # @return [String]
7040
+ #
7041
+ # @!attribute [rw] content
7042
+ # The content of a comment entered by a user who requests a review of
7043
+ # a new document version, or who reviews the new version.
7044
+ # @return [String]
7045
+ #
7046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentReviewCommentSource AWS API Documentation
7047
+ #
7048
+ class DocumentReviewCommentSource < Struct.new(
7049
+ :type,
7050
+ :content)
7051
+ SENSITIVE = []
7052
+ include Aws::Structure
7053
+ end
7054
+
7055
+ # Information about a reviewer's response to a document review request.
7056
+ #
7057
+ # @!attribute [rw] create_time
7058
+ # The date and time that a reviewer entered a response to a document
7059
+ # review request.
7060
+ # @return [Time]
7061
+ #
7062
+ # @!attribute [rw] updated_time
7063
+ # The date and time that a reviewer last updated a response to a
7064
+ # document review request.
7065
+ # @return [Time]
7066
+ #
7067
+ # @!attribute [rw] review_status
7068
+ # The current review status of a new custom SSM document created by a
7069
+ # member of your organization, or of the latest version of an existing
7070
+ # SSM document.
7071
+ #
7072
+ # Only one version of a document can be in the APPROVED state at a
7073
+ # time. When a new version is approved, the status of the previous
7074
+ # version changes to REJECTED.
7075
+ #
7076
+ # Only one version of a document can be in review, or PENDING, at a
7077
+ # time.
7078
+ # @return [String]
7079
+ #
7080
+ # @!attribute [rw] comment
7081
+ # The comment entered by a reviewer as part of their document review
7082
+ # response.
7083
+ # @return [Array<Types::DocumentReviewCommentSource>]
7084
+ #
7085
+ # @!attribute [rw] reviewer
7086
+ # The user in your organization assigned to review a document request.
7087
+ # @return [String]
7088
+ #
7089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentReviewerResponseSource AWS API Documentation
7090
+ #
7091
+ class DocumentReviewerResponseSource < Struct.new(
7092
+ :create_time,
7093
+ :updated_time,
7094
+ :review_status,
7095
+ :comment,
7096
+ :reviewer)
7097
+ SENSITIVE = []
7098
+ include Aws::Structure
7099
+ end
7100
+
7101
+ # Information about a document approval review.
7102
+ #
7103
+ # @note When making an API call, you may pass DocumentReviews
7104
+ # data as a hash:
7105
+ #
7106
+ # {
7107
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
7108
+ # comment: [
7109
+ # {
7110
+ # type: "Comment", # accepts Comment
7111
+ # content: "DocumentReviewComment",
7112
+ # },
7113
+ # ],
7114
+ # }
7115
+ #
7116
+ # @!attribute [rw] action
7117
+ # The action to take on a document approval review request.
7118
+ # @return [String]
7119
+ #
7120
+ # @!attribute [rw] comment
7121
+ # A comment entered by a user in your organization about the document
7122
+ # review request.
7123
+ # @return [Array<Types::DocumentReviewCommentSource>]
7124
+ #
7125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentReviews AWS API Documentation
7126
+ #
7127
+ class DocumentReviews < Struct.new(
7128
+ :action,
7129
+ :comment)
7130
+ SENSITIVE = []
7131
+ include Aws::Structure
7132
+ end
7133
+
6706
7134
  # Version information about the document.
6707
7135
  #
6708
7136
  # @!attribute [rw] name
@@ -6743,6 +7171,11 @@ module Aws::SSM
6743
7171
  # exist. Verify that the URL of the S3 bucket is correct."
6744
7172
  # @return [String]
6745
7173
  #
7174
+ # @!attribute [rw] review_status
7175
+ # The current status of the approval review for the latest version of
7176
+ # the document.
7177
+ # @return [String]
7178
+ #
6746
7179
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo AWS API Documentation
6747
7180
  #
6748
7181
  class DocumentVersionInfo < Struct.new(
@@ -6753,7 +7186,8 @@ module Aws::SSM
6753
7186
  :is_default_version,
6754
7187
  :document_format,
6755
7188
  :status,
6756
- :status_information)
7189
+ :status_information,
7190
+ :review_status)
6757
7191
  SENSITIVE = []
6758
7192
  include Aws::Structure
6759
7193
  end
@@ -7280,7 +7714,7 @@ module Aws::SSM
7280
7714
  # data as a hash:
7281
7715
  #
7282
7716
  # {
7283
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
7717
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
7284
7718
  # }
7285
7719
  #
7286
7720
  # @!attribute [rw] operating_system
@@ -7458,6 +7892,19 @@ module Aws::SSM
7458
7892
  # locations, sizes, and so on.
7459
7893
  # @return [Array<Types::AttachmentContent>]
7460
7894
  #
7895
+ # @!attribute [rw] review_status
7896
+ # The current review status of a new custom Systems Manager document
7897
+ # (SSM document) created by a member of your organization, or of the
7898
+ # latest version of an existing SSM document.
7899
+ #
7900
+ # Only one version of an SSM document can be in the APPROVED state at
7901
+ # a time. When a new version is approved, the status of the previous
7902
+ # version changes to REJECTED.
7903
+ #
7904
+ # Only one version of an SSM document can be in review, or PENDING, at
7905
+ # a time.
7906
+ # @return [String]
7907
+ #
7461
7908
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult AWS API Documentation
7462
7909
  #
7463
7910
  class GetDocumentResult < Struct.new(
@@ -7470,7 +7917,8 @@ module Aws::SSM
7470
7917
  :document_type,
7471
7918
  :document_format,
7472
7919
  :requires,
7473
- :attachments_content)
7920
+ :attachments_content,
7921
+ :review_status)
7474
7922
  SENSITIVE = []
7475
7923
  include Aws::Structure
7476
7924
  end
@@ -7970,8 +8418,8 @@ module Aws::SSM
7970
8418
  # @!attribute [rw] schedule_timezone
7971
8419
  # The time zone that the scheduled maintenance window executions are
7972
8420
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
7973
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
7974
- # For more information, see the [Time Zone Database][1] on the IANA
8421
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
8422
+ # more information, see the [Time Zone Database][1] on the IANA
7975
8423
  # website.
7976
8424
  #
7977
8425
  #
@@ -8117,11 +8565,27 @@ module Aws::SSM
8117
8565
  #
8118
8566
  # @!attribute [rw] max_concurrency
8119
8567
  # The maximum number of targets allowed to run this task in parallel.
8568
+ #
8569
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8570
+ # supply a value for this option. Instead, the system inserts a
8571
+ # placeholder value of `1`, which may be reported in the response to
8572
+ # this command. This value does not affect the running of your task
8573
+ # and can be ignored.
8574
+ #
8575
+ # </note>
8120
8576
  # @return [String]
8121
8577
  #
8122
8578
  # @!attribute [rw] max_errors
8123
8579
  # The maximum number of errors allowed before the task stops being
8124
8580
  # scheduled.
8581
+ #
8582
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
8583
+ # supply a value for this option. Instead, the system inserts a
8584
+ # placeholder value of `1`, which may be reported in the response to
8585
+ # this command. This value does not affect the running of your task
8586
+ # and can be ignored.
8587
+ #
8588
+ # </note>
8125
8589
  # @return [String]
8126
8590
  #
8127
8591
  # @!attribute [rw] logging_info
@@ -8197,20 +8661,77 @@ module Aws::SSM
8197
8661
  include Aws::Structure
8198
8662
  end
8199
8663
 
8200
- # @note When making an API call, you may pass GetOpsSummaryRequest
8664
+ # @note When making an API call, you may pass GetOpsMetadataRequest
8201
8665
  # data as a hash:
8202
8666
  #
8203
8667
  # {
8204
- # sync_name: "ResourceDataSyncName",
8205
- # filters: [
8206
- # {
8207
- # key: "OpsFilterKey", # required
8208
- # values: ["OpsFilterValue"], # required
8209
- # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8210
- # },
8211
- # ],
8212
- # aggregators: [
8213
- # {
8668
+ # ops_metadata_arn: "OpsMetadataArn", # required
8669
+ # max_results: 1,
8670
+ # next_token: "NextToken",
8671
+ # }
8672
+ #
8673
+ # @!attribute [rw] ops_metadata_arn
8674
+ # The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
8675
+ # @return [String]
8676
+ #
8677
+ # @!attribute [rw] max_results
8678
+ # The maximum number of items to return for this call. The call also
8679
+ # returns a token that you can specify in a subsequent call to get the
8680
+ # next set of results.
8681
+ # @return [Integer]
8682
+ #
8683
+ # @!attribute [rw] next_token
8684
+ # A token to start the list. Use this token to get the next set of
8685
+ # results.
8686
+ # @return [String]
8687
+ #
8688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadataRequest AWS API Documentation
8689
+ #
8690
+ class GetOpsMetadataRequest < Struct.new(
8691
+ :ops_metadata_arn,
8692
+ :max_results,
8693
+ :next_token)
8694
+ SENSITIVE = []
8695
+ include Aws::Structure
8696
+ end
8697
+
8698
+ # @!attribute [rw] resource_id
8699
+ # The resource ID of the Application Manager application.
8700
+ # @return [String]
8701
+ #
8702
+ # @!attribute [rw] metadata
8703
+ # OpsMetadata for an Application Manager application.
8704
+ # @return [Hash<String,Types::MetadataValue>]
8705
+ #
8706
+ # @!attribute [rw] next_token
8707
+ # The token for the next set of items to return. Use this token to get
8708
+ # the next set of results.
8709
+ # @return [String]
8710
+ #
8711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadataResult AWS API Documentation
8712
+ #
8713
+ class GetOpsMetadataResult < Struct.new(
8714
+ :resource_id,
8715
+ :metadata,
8716
+ :next_token)
8717
+ SENSITIVE = []
8718
+ include Aws::Structure
8719
+ end
8720
+
8721
+ # @note When making an API call, you may pass GetOpsSummaryRequest
8722
+ # data as a hash:
8723
+ #
8724
+ # {
8725
+ # sync_name: "ResourceDataSyncName",
8726
+ # filters: [
8727
+ # {
8728
+ # key: "OpsFilterKey", # required
8729
+ # values: ["OpsFilterValue"], # required
8730
+ # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8731
+ # },
8732
+ # ],
8733
+ # aggregators: [
8734
+ # {
8214
8735
  # aggregator_type: "OpsAggregatorType",
8215
8736
  # type_name: "OpsDataTypeName",
8216
8737
  # attribute_name: "OpsDataAttributeName",
@@ -8414,9 +8935,11 @@ module Aws::SSM
8414
8935
  #
8415
8936
  # @!attribute [rw] path
8416
8937
  # The hierarchy for the parameter. Hierarchies start with a forward
8417
- # slash (/) and end with the parameter name. A parameter name
8418
- # hierarchy can have a maximum of 15 levels. Here is an example of a
8419
- # hierarchy: `/Finance/Prod/IAD/WinServ2016/license33`
8938
+ # slash (/). The hierachy is the parameter name except the last part
8939
+ # of the parameter. For the API call to succeeed, the last part of the
8940
+ # parameter name cannot be in the path. A parameter name hierarchy can
8941
+ # have a maximum of 15 levels. Here is an example of a hierarchy:
8942
+ # `/Finance/Prod/IAD/WinServ2016/license33 `
8420
8943
  # @return [String]
8421
8944
  #
8422
8945
  # @!attribute [rw] recursive
@@ -8538,7 +9061,7 @@ module Aws::SSM
8538
9061
  #
8539
9062
  # {
8540
9063
  # patch_group: "PatchGroup", # required
8541
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
9064
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
8542
9065
  # }
8543
9066
  #
8544
9067
  # @!attribute [rw] patch_group
@@ -8981,7 +9504,8 @@ module Aws::SSM
8981
9504
  # @return [String]
8982
9505
  #
8983
9506
  # @!attribute [rw] last_ping_date_time
8984
- # The date and time when agent last pinged Systems Manager service.
9507
+ # The date and time when the agent last pinged the Systems Manager
9508
+ # service.
8985
9509
  # @return [Time]
8986
9510
  #
8987
9511
  # @!attribute [rw] agent_version
@@ -10947,6 +11471,88 @@ module Aws::SSM
10947
11471
  include Aws::Structure
10948
11472
  end
10949
11473
 
11474
+ # @note When making an API call, you may pass ListDocumentMetadataHistoryRequest
11475
+ # data as a hash:
11476
+ #
11477
+ # {
11478
+ # name: "DocumentName", # required
11479
+ # document_version: "DocumentVersion",
11480
+ # metadata: "DocumentReviews", # required, accepts DocumentReviews
11481
+ # next_token: "NextToken",
11482
+ # max_results: 1,
11483
+ # }
11484
+ #
11485
+ # @!attribute [rw] name
11486
+ # The name of the document.
11487
+ # @return [String]
11488
+ #
11489
+ # @!attribute [rw] document_version
11490
+ # The version of the document.
11491
+ # @return [String]
11492
+ #
11493
+ # @!attribute [rw] metadata
11494
+ # The type of data for which details are being requested. Currently,
11495
+ # the only supported value is `DocumentReviews`.
11496
+ # @return [String]
11497
+ #
11498
+ # @!attribute [rw] next_token
11499
+ # The token for the next set of items to return. (You received this
11500
+ # token from a previous call.)
11501
+ # @return [String]
11502
+ #
11503
+ # @!attribute [rw] max_results
11504
+ # The maximum number of items to return for this call. The call also
11505
+ # returns a token that you can specify in a subsequent call to get the
11506
+ # next set of results.
11507
+ # @return [Integer]
11508
+ #
11509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistoryRequest AWS API Documentation
11510
+ #
11511
+ class ListDocumentMetadataHistoryRequest < Struct.new(
11512
+ :name,
11513
+ :document_version,
11514
+ :metadata,
11515
+ :next_token,
11516
+ :max_results)
11517
+ SENSITIVE = []
11518
+ include Aws::Structure
11519
+ end
11520
+
11521
+ # @!attribute [rw] name
11522
+ # The name of the document.
11523
+ # @return [String]
11524
+ #
11525
+ # @!attribute [rw] document_version
11526
+ # The version of the document.
11527
+ # @return [String]
11528
+ #
11529
+ # @!attribute [rw] author
11530
+ # The user ID of the person in the organization who requested the
11531
+ # document review.
11532
+ # @return [String]
11533
+ #
11534
+ # @!attribute [rw] metadata
11535
+ # Information about the response to the document approval request.
11536
+ # @return [Types::DocumentMetadataResponseInfo]
11537
+ #
11538
+ # @!attribute [rw] next_token
11539
+ # The maximum number of items to return for this call. The call also
11540
+ # returns a token that you can specify in a subsequent call to get the
11541
+ # next set of results.
11542
+ # @return [String]
11543
+ #
11544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistoryResponse AWS API Documentation
11545
+ #
11546
+ class ListDocumentMetadataHistoryResponse < Struct.new(
11547
+ :name,
11548
+ :document_version,
11549
+ :author,
11550
+ :metadata,
11551
+ :next_token)
11552
+ SENSITIVE = []
11553
+ include Aws::Structure
11554
+ end
11555
+
10950
11556
  # @note When making an API call, you may pass ListDocumentVersionsRequest
10951
11557
  # data as a hash:
10952
11558
  #
@@ -11025,13 +11631,19 @@ module Aws::SSM
11025
11631
  # @return [Array<Types::DocumentFilter>]
11026
11632
  #
11027
11633
  # @!attribute [rw] filters
11028
- # One or more DocumentKeyValuesFilter objects. Use a filter to return
11029
- # a more specific list of results. For keys, you can specify one or
11030
- # more key-value pair tags that have been applied to a document. Other
11031
- # valid keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`,
11032
- # and `TargetType`. For example, to return documents you own use
11033
- # `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
11034
- # format `Key=tag:tagName,Values=valueName`.
11634
+ # One or more `DocumentKeyValuesFilter` objects. Use a filter to
11635
+ # return a more specific list of results. For keys, you can specify
11636
+ # one or more key-value pair tags that have been applied to a
11637
+ # document. Other valid keys include `Owner`, `Name`, `PlatformTypes`,
11638
+ # `DocumentType`, and `TargetType`. For example, to return documents
11639
+ # you own use `Key=Owner,Values=Self`. To specify a custom key-value
11640
+ # pair, use the format `Key=tag:tagName,Values=valueName`.
11641
+ #
11642
+ # <note markdown="1"> This API action only supports filtering documents by using a single
11643
+ # tag key and one or more tag values. For example:
11644
+ # `Key=tag:tagName,Values=valueName1,valueName2`
11645
+ #
11646
+ # </note>
11035
11647
  # @return [Array<Types::DocumentKeyValuesFilter>]
11036
11648
  #
11037
11649
  # @!attribute [rw] max_results
@@ -11167,6 +11779,123 @@ module Aws::SSM
11167
11779
  include Aws::Structure
11168
11780
  end
11169
11781
 
11782
+ # @note When making an API call, you may pass ListOpsItemEventsRequest
11783
+ # data as a hash:
11784
+ #
11785
+ # {
11786
+ # filters: [
11787
+ # {
11788
+ # key: "OpsItemId", # required, accepts OpsItemId
11789
+ # values: ["OpsItemEventFilterValue"], # required
11790
+ # operator: "Equal", # required, accepts Equal
11791
+ # },
11792
+ # ],
11793
+ # max_results: 1,
11794
+ # next_token: "String",
11795
+ # }
11796
+ #
11797
+ # @!attribute [rw] filters
11798
+ # One or more OpsItem filters. Use a filter to return a more specific
11799
+ # list of results.
11800
+ # @return [Array<Types::OpsItemEventFilter>]
11801
+ #
11802
+ # @!attribute [rw] max_results
11803
+ # The maximum number of items to return for this call. The call also
11804
+ # returns a token that you can specify in a subsequent call to get the
11805
+ # next set of results.
11806
+ # @return [Integer]
11807
+ #
11808
+ # @!attribute [rw] next_token
11809
+ # A token to start the list. Use this token to get the next set of
11810
+ # results.
11811
+ # @return [String]
11812
+ #
11813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEventsRequest AWS API Documentation
11814
+ #
11815
+ class ListOpsItemEventsRequest < Struct.new(
11816
+ :filters,
11817
+ :max_results,
11818
+ :next_token)
11819
+ SENSITIVE = []
11820
+ include Aws::Structure
11821
+ end
11822
+
11823
+ # @!attribute [rw] next_token
11824
+ # The token for the next set of items to return. Use this token to get
11825
+ # the next set of results.
11826
+ # @return [String]
11827
+ #
11828
+ # @!attribute [rw] summaries
11829
+ # A list of event information for the specified OpsItems.
11830
+ # @return [Array<Types::OpsItemEventSummary>]
11831
+ #
11832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEventsResponse AWS API Documentation
11833
+ #
11834
+ class ListOpsItemEventsResponse < Struct.new(
11835
+ :next_token,
11836
+ :summaries)
11837
+ SENSITIVE = []
11838
+ include Aws::Structure
11839
+ end
11840
+
11841
+ # @note When making an API call, you may pass ListOpsMetadataRequest
11842
+ # data as a hash:
11843
+ #
11844
+ # {
11845
+ # filters: [
11846
+ # {
11847
+ # key: "OpsMetadataFilterKey", # required
11848
+ # values: ["OpsMetadataFilterValue"], # required
11849
+ # },
11850
+ # ],
11851
+ # max_results: 1,
11852
+ # next_token: "NextToken",
11853
+ # }
11854
+ #
11855
+ # @!attribute [rw] filters
11856
+ # One or more filters to limit the number of OpsMetadata objects
11857
+ # returned by the call.
11858
+ # @return [Array<Types::OpsMetadataFilter>]
11859
+ #
11860
+ # @!attribute [rw] max_results
11861
+ # The maximum number of items to return for this call. The call also
11862
+ # returns a token that you can specify in a subsequent call to get the
11863
+ # next set of results.
11864
+ # @return [Integer]
11865
+ #
11866
+ # @!attribute [rw] next_token
11867
+ # A token to start the list. Use this token to get the next set of
11868
+ # results.
11869
+ # @return [String]
11870
+ #
11871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataRequest AWS API Documentation
11872
+ #
11873
+ class ListOpsMetadataRequest < Struct.new(
11874
+ :filters,
11875
+ :max_results,
11876
+ :next_token)
11877
+ SENSITIVE = []
11878
+ include Aws::Structure
11879
+ end
11880
+
11881
+ # @!attribute [rw] ops_metadata_list
11882
+ # Returns a list of OpsMetadata objects.
11883
+ # @return [Array<Types::OpsMetadata>]
11884
+ #
11885
+ # @!attribute [rw] next_token
11886
+ # The token for the next set of items to return. Use this token to get
11887
+ # the next set of results.
11888
+ # @return [String]
11889
+ #
11890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataResult AWS API Documentation
11891
+ #
11892
+ class ListOpsMetadataResult < Struct.new(
11893
+ :ops_metadata_list,
11894
+ :next_token)
11895
+ SENSITIVE = []
11896
+ include Aws::Structure
11897
+ end
11898
+
11170
11899
  # @note When making an API call, you may pass ListResourceComplianceSummariesRequest
11171
11900
  # data as a hash:
11172
11901
  #
@@ -12210,6 +12939,27 @@ module Aws::SSM
12210
12939
  include Aws::Structure
12211
12940
  end
12212
12941
 
12942
+ # Metadata to assign to an Application Manager application.
12943
+ #
12944
+ # @note When making an API call, you may pass MetadataValue
12945
+ # data as a hash:
12946
+ #
12947
+ # {
12948
+ # value: "MetadataValueString",
12949
+ # }
12950
+ #
12951
+ # @!attribute [rw] value
12952
+ # Metadata value to assign to an Application Manager application.
12953
+ # @return [String]
12954
+ #
12955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MetadataValue AWS API Documentation
12956
+ #
12957
+ class MetadataValue < Struct.new(
12958
+ :value)
12959
+ SENSITIVE = []
12960
+ include Aws::Structure
12961
+ end
12962
+
12213
12963
  # @note When making an API call, you may pass ModifyDocumentPermissionRequest
12214
12964
  # data as a hash:
12215
12965
  #
@@ -12496,6 +13246,11 @@ module Aws::SSM
12496
13246
  # The ARN of the AWS account that created the OpsItem.
12497
13247
  # @return [String]
12498
13248
  #
13249
+ # @!attribute [rw] ops_item_type
13250
+ # The type of OpsItem. Currently, the only valid values are
13251
+ # `/aws/changerequest` and `/aws/issue`.
13252
+ # @return [String]
13253
+ #
12499
13254
  # @!attribute [rw] created_time
12500
13255
  # The date and time the OpsItem was created.
12501
13256
  # @return [Time]
@@ -12597,10 +13352,33 @@ module Aws::SSM
12597
13352
  # The severity of the OpsItem. Severity options range from 1 to 4.
12598
13353
  # @return [String]
12599
13354
  #
13355
+ # @!attribute [rw] actual_start_time
13356
+ # The time a runbook workflow started. Currently reported only for the
13357
+ # OpsItem type `/aws/changerequest`.
13358
+ # @return [Time]
13359
+ #
13360
+ # @!attribute [rw] actual_end_time
13361
+ # The time a runbook workflow ended. Currently reported only for the
13362
+ # OpsItem type `/aws/changerequest`.
13363
+ # @return [Time]
13364
+ #
13365
+ # @!attribute [rw] planned_start_time
13366
+ # The time specified in a change request for a runbook workflow to
13367
+ # start. Currently supported only for the OpsItem type
13368
+ # `/aws/changerequest`.
13369
+ # @return [Time]
13370
+ #
13371
+ # @!attribute [rw] planned_end_time
13372
+ # The time specified in a change request for a runbook workflow to
13373
+ # end. Currently supported only for the OpsItem type
13374
+ # `/aws/changerequest`.
13375
+ # @return [Time]
13376
+ #
12600
13377
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItem AWS API Documentation
12601
13378
  #
12602
13379
  class OpsItem < Struct.new(
12603
13380
  :created_by,
13381
+ :ops_item_type,
12604
13382
  :created_time,
12605
13383
  :description,
12606
13384
  :last_modified_by,
@@ -12615,7 +13393,11 @@ module Aws::SSM
12615
13393
  :source,
12616
13394
  :operational_data,
12617
13395
  :category,
12618
- :severity)
13396
+ :severity,
13397
+ :actual_start_time,
13398
+ :actual_end_time,
13399
+ :planned_start_time,
13400
+ :planned_end_time)
12619
13401
  SENSITIVE = []
12620
13402
  include Aws::Structure
12621
13403
  end
@@ -12666,32 +13448,36 @@ module Aws::SSM
12666
13448
  include Aws::Structure
12667
13449
  end
12668
13450
 
12669
- # Describes an OpsItem filter.
13451
+ # Describes a filter for a specific list of OpsItem events. You can
13452
+ # filter event information by using tags. You specify tags by using a
13453
+ # key-value pair mapping.
12670
13454
  #
12671
- # @note When making an API call, you may pass OpsItemFilter
13455
+ # @note When making an API call, you may pass OpsItemEventFilter
12672
13456
  # data as a hash:
12673
13457
  #
12674
13458
  # {
12675
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
12676
- # values: ["OpsItemFilterValue"], # required
12677
- # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
13459
+ # key: "OpsItemId", # required, accepts OpsItemId
13460
+ # values: ["OpsItemEventFilterValue"], # required
13461
+ # operator: "Equal", # required, accepts Equal
12678
13462
  # }
12679
13463
  #
12680
13464
  # @!attribute [rw] key
12681
- # The name of the filter.
13465
+ # The name of the filter key. Currently, the only supported value is
13466
+ # `OpsItemId`.
12682
13467
  # @return [String]
12683
13468
  #
12684
13469
  # @!attribute [rw] values
12685
- # The filter value.
13470
+ # The values for the filter, consisting of one or more OpsItem IDs.
12686
13471
  # @return [Array<String>]
12687
13472
  #
12688
13473
  # @!attribute [rw] operator
12689
- # The operator used by the filter call.
13474
+ # The operator used by the filter call. Currently, the only supported
13475
+ # value is `Equal`.
12690
13476
  # @return [String]
12691
13477
  #
12692
- # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemFilter AWS API Documentation
13478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemEventFilter AWS API Documentation
12693
13479
  #
12694
- class OpsItemFilter < Struct.new(
13480
+ class OpsItemEventFilter < Struct.new(
12695
13481
  :key,
12696
13482
  :values,
12697
13483
  :operator)
@@ -12699,21 +13485,114 @@ module Aws::SSM
12699
13485
  include Aws::Structure
12700
13486
  end
12701
13487
 
12702
- # A specified parameter argument isn't valid. Verify the available
12703
- # arguments and try again.
13488
+ # Summary information about an OpsItem event.
12704
13489
  #
12705
- # @!attribute [rw] parameter_names
12706
- # @return [Array<String>]
13490
+ # @!attribute [rw] ops_item_id
13491
+ # The ID of the OpsItem.
13492
+ # @return [String]
12707
13493
  #
12708
- # @!attribute [rw] message
13494
+ # @!attribute [rw] event_id
13495
+ # The ID of the OpsItem event.
12709
13496
  # @return [String]
12710
13497
  #
12711
- # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemInvalidParameterException AWS API Documentation
13498
+ # @!attribute [rw] source
13499
+ # The source of the OpsItem event.
13500
+ # @return [String]
12712
13501
  #
12713
- class OpsItemInvalidParameterException < Struct.new(
12714
- :parameter_names,
12715
- :message)
12716
- SENSITIVE = []
13502
+ # @!attribute [rw] detail_type
13503
+ # The type of information provided as a detail.
13504
+ # @return [String]
13505
+ #
13506
+ # @!attribute [rw] detail
13507
+ # Specific information about the OpsItem event.
13508
+ # @return [String]
13509
+ #
13510
+ # @!attribute [rw] created_by
13511
+ # Information about the user or resource that created the OpsItem
13512
+ # event.
13513
+ # @return [Types::OpsItemIdentity]
13514
+ #
13515
+ # @!attribute [rw] created_time
13516
+ # The date and time the OpsItem event was created.
13517
+ # @return [Time]
13518
+ #
13519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemEventSummary AWS API Documentation
13520
+ #
13521
+ class OpsItemEventSummary < Struct.new(
13522
+ :ops_item_id,
13523
+ :event_id,
13524
+ :source,
13525
+ :detail_type,
13526
+ :detail,
13527
+ :created_by,
13528
+ :created_time)
13529
+ SENSITIVE = []
13530
+ include Aws::Structure
13531
+ end
13532
+
13533
+ # Describes an OpsItem filter.
13534
+ #
13535
+ # @note When making an API call, you may pass OpsItemFilter
13536
+ # data as a hash:
13537
+ #
13538
+ # {
13539
+ # 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
13540
+ # values: ["OpsItemFilterValue"], # required
13541
+ # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
13542
+ # }
13543
+ #
13544
+ # @!attribute [rw] key
13545
+ # The name of the filter.
13546
+ # @return [String]
13547
+ #
13548
+ # @!attribute [rw] values
13549
+ # The filter value.
13550
+ # @return [Array<String>]
13551
+ #
13552
+ # @!attribute [rw] operator
13553
+ # The operator used by the filter call.
13554
+ # @return [String]
13555
+ #
13556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemFilter AWS API Documentation
13557
+ #
13558
+ class OpsItemFilter < Struct.new(
13559
+ :key,
13560
+ :values,
13561
+ :operator)
13562
+ SENSITIVE = []
13563
+ include Aws::Structure
13564
+ end
13565
+
13566
+ # Information about the user or resource that created an OpsItem event.
13567
+ #
13568
+ # @!attribute [rw] arn
13569
+ # The Amazon Resource Name (ARN) of the IAM entity that created the
13570
+ # OpsItem event.
13571
+ # @return [String]
13572
+ #
13573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemIdentity AWS API Documentation
13574
+ #
13575
+ class OpsItemIdentity < Struct.new(
13576
+ :arn)
13577
+ SENSITIVE = []
13578
+ include Aws::Structure
13579
+ end
13580
+
13581
+ # A specified parameter argument isn't valid. Verify the available
13582
+ # arguments and try again.
13583
+ #
13584
+ # @!attribute [rw] parameter_names
13585
+ # @return [Array<String>]
13586
+ #
13587
+ # @!attribute [rw] message
13588
+ # @return [String]
13589
+ #
13590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemInvalidParameterException AWS API Documentation
13591
+ #
13592
+ class OpsItemInvalidParameterException < Struct.new(
13593
+ :parameter_names,
13594
+ :message)
13595
+ SENSITIVE = []
12717
13596
  include Aws::Structure
12718
13597
  end
12719
13598
 
@@ -12839,6 +13718,33 @@ module Aws::SSM
12839
13718
  # A list of OpsItems by severity.
12840
13719
  # @return [String]
12841
13720
  #
13721
+ # @!attribute [rw] ops_item_type
13722
+ # The type of OpsItem. Currently, the only valid values are
13723
+ # `/aws/changerequest` and `/aws/issue`.
13724
+ # @return [String]
13725
+ #
13726
+ # @!attribute [rw] actual_start_time
13727
+ # The time a runbook workflow started. Currently reported only for the
13728
+ # OpsItem type `/aws/changerequest`.
13729
+ # @return [Time]
13730
+ #
13731
+ # @!attribute [rw] actual_end_time
13732
+ # The time a runbook workflow ended. Currently reported only for the
13733
+ # OpsItem type `/aws/changerequest`.
13734
+ # @return [Time]
13735
+ #
13736
+ # @!attribute [rw] planned_start_time
13737
+ # The time specified in a change request for a runbook workflow to
13738
+ # start. Currently supported only for the OpsItem type
13739
+ # `/aws/changerequest`.
13740
+ # @return [Time]
13741
+ #
13742
+ # @!attribute [rw] planned_end_time
13743
+ # The time specified in a change request for a runbook workflow to
13744
+ # end. Currently supported only for the OpsItem type
13745
+ # `/aws/changerequest`.
13746
+ # @return [Time]
13747
+ #
12842
13748
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemSummary AWS API Documentation
12843
13749
  #
12844
13750
  class OpsItemSummary < Struct.new(
@@ -12853,7 +13759,155 @@ module Aws::SSM
12853
13759
  :title,
12854
13760
  :operational_data,
12855
13761
  :category,
12856
- :severity)
13762
+ :severity,
13763
+ :ops_item_type,
13764
+ :actual_start_time,
13765
+ :actual_end_time,
13766
+ :planned_start_time,
13767
+ :planned_end_time)
13768
+ SENSITIVE = []
13769
+ include Aws::Structure
13770
+ end
13771
+
13772
+ # Operational metadata for an application in Application Manager.
13773
+ #
13774
+ # @!attribute [rw] resource_id
13775
+ # The ID of the Application Manager application.
13776
+ # @return [String]
13777
+ #
13778
+ # @!attribute [rw] ops_metadata_arn
13779
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object or blob.
13780
+ # @return [String]
13781
+ #
13782
+ # @!attribute [rw] last_modified_date
13783
+ # The date the OpsMetadata object was last updated.
13784
+ # @return [Time]
13785
+ #
13786
+ # @!attribute [rw] last_modified_user
13787
+ # The user name who last updated the OpsMetadata object.
13788
+ # @return [String]
13789
+ #
13790
+ # @!attribute [rw] creation_date
13791
+ # The date the OpsMetadata objects was created.
13792
+ # @return [Time]
13793
+ #
13794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadata AWS API Documentation
13795
+ #
13796
+ class OpsMetadata < Struct.new(
13797
+ :resource_id,
13798
+ :ops_metadata_arn,
13799
+ :last_modified_date,
13800
+ :last_modified_user,
13801
+ :creation_date)
13802
+ SENSITIVE = []
13803
+ include Aws::Structure
13804
+ end
13805
+
13806
+ # An OpsMetadata object already exists for the selected resource.
13807
+ #
13808
+ # @!attribute [rw] message
13809
+ # @return [String]
13810
+ #
13811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataAlreadyExistsException AWS API Documentation
13812
+ #
13813
+ class OpsMetadataAlreadyExistsException < Struct.new(
13814
+ :message)
13815
+ SENSITIVE = []
13816
+ include Aws::Structure
13817
+ end
13818
+
13819
+ # A filter to limit the number of OpsMetadata objects displayed.
13820
+ #
13821
+ # @note When making an API call, you may pass OpsMetadataFilter
13822
+ # data as a hash:
13823
+ #
13824
+ # {
13825
+ # key: "OpsMetadataFilterKey", # required
13826
+ # values: ["OpsMetadataFilterValue"], # required
13827
+ # }
13828
+ #
13829
+ # @!attribute [rw] key
13830
+ # A filter key.
13831
+ # @return [String]
13832
+ #
13833
+ # @!attribute [rw] values
13834
+ # A filter value.
13835
+ # @return [Array<String>]
13836
+ #
13837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataFilter AWS API Documentation
13838
+ #
13839
+ class OpsMetadataFilter < Struct.new(
13840
+ :key,
13841
+ :values)
13842
+ SENSITIVE = []
13843
+ include Aws::Structure
13844
+ end
13845
+
13846
+ # One of the arguments passed is invalid.
13847
+ #
13848
+ # @!attribute [rw] message
13849
+ # @return [String]
13850
+ #
13851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataInvalidArgumentException AWS API Documentation
13852
+ #
13853
+ class OpsMetadataInvalidArgumentException < Struct.new(
13854
+ :message)
13855
+ SENSITIVE = []
13856
+ include Aws::Structure
13857
+ end
13858
+
13859
+ # The OpsMetadata object exceeds the maximum number of OpsMetadata keys
13860
+ # that you can assign to an application in Application Manager.
13861
+ #
13862
+ # @!attribute [rw] message
13863
+ # @return [String]
13864
+ #
13865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataKeyLimitExceededException AWS API Documentation
13866
+ #
13867
+ class OpsMetadataKeyLimitExceededException < Struct.new(
13868
+ :message)
13869
+ SENSITIVE = []
13870
+ include Aws::Structure
13871
+ end
13872
+
13873
+ # Your account reached the maximum number of OpsMetadata objects allowed
13874
+ # by Application Manager. The maximum is 200 OpsMetadata objects. Delete
13875
+ # one or more OpsMetadata object and try again.
13876
+ #
13877
+ # @!attribute [rw] message
13878
+ # @return [String]
13879
+ #
13880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataLimitExceededException AWS API Documentation
13881
+ #
13882
+ class OpsMetadataLimitExceededException < Struct.new(
13883
+ :message)
13884
+ SENSITIVE = []
13885
+ include Aws::Structure
13886
+ end
13887
+
13888
+ # The OpsMetadata object does not exist.
13889
+ #
13890
+ # @!attribute [rw] message
13891
+ # @return [String]
13892
+ #
13893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataNotFoundException AWS API Documentation
13894
+ #
13895
+ class OpsMetadataNotFoundException < Struct.new(
13896
+ :message)
13897
+ SENSITIVE = []
13898
+ include Aws::Structure
13899
+ end
13900
+
13901
+ # The system is processing too many concurrent updates. Wait a few
13902
+ # moments and try again.
13903
+ #
13904
+ # @!attribute [rw] message
13905
+ # @return [String]
13906
+ #
13907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataTooManyUpdatesException AWS API Documentation
13908
+ #
13909
+ class OpsMetadataTooManyUpdatesException < Struct.new(
13910
+ :message)
12857
13911
  SENSITIVE = []
12858
13912
  include Aws::Structure
12859
13913
  end
@@ -13433,7 +14487,7 @@ module Aws::SSM
13433
14487
  #
13434
14488
  # @!attribute [rw] cve_ids
13435
14489
  # The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
13436
- # example, `CVE-1999-0067`. Applies to Linux-based instances only.
14490
+ # example, `CVE-2011-3192`. Applies to Linux-based instances only.
13437
14491
  # @return [Array<String>]
13438
14492
  #
13439
14493
  # @!attribute [rw] name
@@ -13849,11 +14903,20 @@ module Aws::SSM
13849
14903
  #
13850
14904
  # `[main]`
13851
14905
  #
13852
- # `cachedir=/var/cache/yum/$basesearch$releasever`
14906
+ # `name=MyCustomRepository`
14907
+ #
14908
+ # `baseurl=https://my-custom-repository`
14909
+ #
14910
+ # `enabled=1`
14911
+ #
14912
+ # <note markdown="1"> For information about other options available for your yum
14913
+ # repository configuration, see [dnf.conf(5)][1].
14914
+ #
14915
+ # </note>
14916
+ #
13853
14917
  #
13854
- # `keepcache=0`
13855
14918
  #
13856
- # `debuglevel=2`
14919
+ # [1]: https://man7.org/linux/man-pages/man5/dnf.conf.5.html
13857
14920
  # @return [String]
13858
14921
  #
13859
14922
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchSource AWS API Documentation
@@ -14617,7 +15680,7 @@ module Aws::SSM
14617
15680
  #
14618
15681
  # {
14619
15682
  # window_id: "MaintenanceWindowId", # required
14620
- # targets: [ # required
15683
+ # targets: [
14621
15684
  # {
14622
15685
  # key: "TargetKey",
14623
15686
  # values: ["TargetValue"],
@@ -14671,8 +15734,8 @@ module Aws::SSM
14671
15734
  # },
14672
15735
  # },
14673
15736
  # priority: 1,
14674
- # max_concurrency: "MaxConcurrency", # required
14675
- # max_errors: "MaxErrors", # required
15737
+ # max_concurrency: "MaxConcurrency",
15738
+ # max_errors: "MaxErrors",
14676
15739
  # logging_info: {
14677
15740
  # s3_bucket_name: "S3BucketName", # required
14678
15741
  # s3_key_prefix: "S3KeyPrefix",
@@ -14690,13 +15753,26 @@ module Aws::SSM
14690
15753
  # @!attribute [rw] targets
14691
15754
  # The targets (either instances or maintenance window targets).
14692
15755
  #
15756
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
15757
+ # Command-type tasks. Depending on the task, targets are optional for
15758
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
15759
+ # Step Functions). For more information about running tasks that do
15760
+ # not specify targets, see [Registering maintenance window tasks
15761
+ # without targets][1] in the *AWS Systems Manager User Guide*.
15762
+ #
15763
+ # </note>
15764
+ #
14693
15765
  # Specify instances using the following format:
14694
15766
  #
14695
15767
  # `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
14696
15768
  #
14697
15769
  # Specify maintenance window targets using the following format:
14698
15770
  #
14699
- # `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
15771
+ # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
15772
+ #
15773
+ #
15774
+ #
15775
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
14700
15776
  # @return [Array<Types::Target>]
14701
15777
  #
14702
15778
  # @!attribute [rw] task_arn
@@ -14756,11 +15832,25 @@ module Aws::SSM
14756
15832
  #
14757
15833
  # @!attribute [rw] max_concurrency
14758
15834
  # The maximum number of targets this task can be run for in parallel.
15835
+ #
15836
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
15837
+ # supply a value for this option. Instead, the system inserts a
15838
+ # placeholder value of `1`. This value does not affect the running of
15839
+ # your task.
15840
+ #
15841
+ # </note>
14759
15842
  # @return [String]
14760
15843
  #
14761
15844
  # @!attribute [rw] max_errors
14762
15845
  # The maximum number of errors allowed before this task stops being
14763
15846
  # scheduled.
15847
+ #
15848
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
15849
+ # supply a value for this option. Instead, the system inserts a
15850
+ # placeholder value of `1`. This value does not affect the running of
15851
+ # your task.
15852
+ #
15853
+ # </note>
14764
15854
  # @return [String]
14765
15855
  #
14766
15856
  # @!attribute [rw] logging_info
@@ -15526,6 +16616,126 @@ module Aws::SSM
15526
16616
  include Aws::Structure
15527
16617
  end
15528
16618
 
16619
+ # Information about the result of a document review request.
16620
+ #
16621
+ # @!attribute [rw] reviewed_time
16622
+ # The time that the reviewer took action on the document review
16623
+ # request.
16624
+ # @return [Time]
16625
+ #
16626
+ # @!attribute [rw] status
16627
+ # The current status of the document review request.
16628
+ # @return [String]
16629
+ #
16630
+ # @!attribute [rw] reviewer
16631
+ # The reviewer assigned to take action on the document review request.
16632
+ # @return [String]
16633
+ #
16634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ReviewInformation AWS API Documentation
16635
+ #
16636
+ class ReviewInformation < Struct.new(
16637
+ :reviewed_time,
16638
+ :status,
16639
+ :reviewer)
16640
+ SENSITIVE = []
16641
+ include Aws::Structure
16642
+ end
16643
+
16644
+ # Information about an Automation runbook (Automation document) used in
16645
+ # a runbook workflow in Change Manager.
16646
+ #
16647
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
16648
+ # until all required approvals for the change request have been
16649
+ # received.
16650
+ #
16651
+ # </note>
16652
+ #
16653
+ # @note When making an API call, you may pass Runbook
16654
+ # data as a hash:
16655
+ #
16656
+ # {
16657
+ # document_name: "DocumentARN", # required
16658
+ # document_version: "DocumentVersion",
16659
+ # parameters: {
16660
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
16661
+ # },
16662
+ # target_parameter_name: "AutomationParameterKey",
16663
+ # targets: [
16664
+ # {
16665
+ # key: "TargetKey",
16666
+ # values: ["TargetValue"],
16667
+ # },
16668
+ # ],
16669
+ # max_concurrency: "MaxConcurrency",
16670
+ # max_errors: "MaxErrors",
16671
+ # target_locations: [
16672
+ # {
16673
+ # accounts: ["Account"],
16674
+ # regions: ["Region"],
16675
+ # target_location_max_concurrency: "MaxConcurrency",
16676
+ # target_location_max_errors: "MaxErrors",
16677
+ # execution_role_name: "ExecutionRoleName",
16678
+ # },
16679
+ # ],
16680
+ # }
16681
+ #
16682
+ # @!attribute [rw] document_name
16683
+ # The name of the Automation runbook (Automation document) used in a
16684
+ # runbook workflow.
16685
+ # @return [String]
16686
+ #
16687
+ # @!attribute [rw] document_version
16688
+ # The version of the Automation runbook (Automation document) used in
16689
+ # a runbook workflow.
16690
+ # @return [String]
16691
+ #
16692
+ # @!attribute [rw] parameters
16693
+ # The key-value map of execution parameters, which were supplied when
16694
+ # calling `StartChangeRequestExecution`.
16695
+ # @return [Hash<String,Array<String>>]
16696
+ #
16697
+ # @!attribute [rw] target_parameter_name
16698
+ # The name of the parameter used as the target resource for the
16699
+ # rate-controlled runbook workflow. Required if you specify `Targets`.
16700
+ # @return [String]
16701
+ #
16702
+ # @!attribute [rw] targets
16703
+ # A key-value mapping to target resources that the Runbook operation
16704
+ # performs tasks on. Required if you specify `TargetParameterName`.
16705
+ # @return [Array<Types::Target>]
16706
+ #
16707
+ # @!attribute [rw] max_concurrency
16708
+ # The `MaxConcurrency` value specified by the user when the operation
16709
+ # started, indicating the maximum number of resources that the runbook
16710
+ # operation can run on at the same time.
16711
+ # @return [String]
16712
+ #
16713
+ # @!attribute [rw] max_errors
16714
+ # The `MaxErrors` value specified by the user when the execution
16715
+ # started, indicating the maximum number of errors that can occur
16716
+ # during the operation before the updates are stopped or rolled back.
16717
+ # @return [String]
16718
+ #
16719
+ # @!attribute [rw] target_locations
16720
+ # Information about the AWS Regions and accounts targeted by the
16721
+ # current Runbook operation.
16722
+ # @return [Array<Types::TargetLocation>]
16723
+ #
16724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Runbook AWS API Documentation
16725
+ #
16726
+ class Runbook < Struct.new(
16727
+ :document_name,
16728
+ :document_version,
16729
+ :parameters,
16730
+ :target_parameter_name,
16731
+ :targets,
16732
+ :max_concurrency,
16733
+ :max_errors,
16734
+ :target_locations)
16735
+ SENSITIVE = []
16736
+ include Aws::Structure
16737
+ end
16738
+
15529
16739
  # An S3 bucket where you want to store the results of this request.
15530
16740
  #
15531
16741
  # @note When making an API call, you may pass S3OutputLocation
@@ -15733,8 +16943,15 @@ module Aws::SSM
15733
16943
  # @return [Array<Types::Target>]
15734
16944
  #
15735
16945
  # @!attribute [rw] document_name
15736
- # Required. The name of the Systems Manager document to run. This can
15737
- # be a public document or a custom document.
16946
+ # The name of the Systems Manager document to run. This can be a
16947
+ # public document or a custom document. To run a shared document
16948
+ # belonging to another account, specify the document ARN. For more
16949
+ # information about how to use shared documents, see [Using shared SSM
16950
+ # documents][1] in the *AWS Systems Manager User Guide*.
16951
+ #
16952
+ #
16953
+ #
16954
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
15738
16955
  # @return [String]
15739
16956
  #
15740
16957
  # @!attribute [rw] document_version
@@ -16212,7 +17429,15 @@ module Aws::SSM
16212
17429
  # }
16213
17430
  #
16214
17431
  # @!attribute [rw] document_name
16215
- # The name of the Automation document to use for this execution.
17432
+ # The name of the Systems Manager document to run. This can be a
17433
+ # public document or a custom document. To run a shared document
17434
+ # belonging to another account, specify the document ARN. For more
17435
+ # information about how to use shared documents, see [Using shared SSM
17436
+ # documents][1] in the *AWS Systems Manager User Guide*.
17437
+ #
17438
+ #
17439
+ #
17440
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
16216
17441
  # @return [String]
16217
17442
  #
16218
17443
  # @!attribute [rw] document_version
@@ -16335,6 +17560,141 @@ module Aws::SSM
16335
17560
  include Aws::Structure
16336
17561
  end
16337
17562
 
17563
+ # @note When making an API call, you may pass StartChangeRequestExecutionRequest
17564
+ # data as a hash:
17565
+ #
17566
+ # {
17567
+ # scheduled_time: Time.now,
17568
+ # document_name: "DocumentARN", # required
17569
+ # document_version: "DocumentVersion",
17570
+ # parameters: {
17571
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
17572
+ # },
17573
+ # change_request_name: "ChangeRequestName",
17574
+ # client_token: "IdempotencyToken",
17575
+ # runbooks: [ # required
17576
+ # {
17577
+ # document_name: "DocumentARN", # required
17578
+ # document_version: "DocumentVersion",
17579
+ # parameters: {
17580
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
17581
+ # },
17582
+ # target_parameter_name: "AutomationParameterKey",
17583
+ # targets: [
17584
+ # {
17585
+ # key: "TargetKey",
17586
+ # values: ["TargetValue"],
17587
+ # },
17588
+ # ],
17589
+ # max_concurrency: "MaxConcurrency",
17590
+ # max_errors: "MaxErrors",
17591
+ # target_locations: [
17592
+ # {
17593
+ # accounts: ["Account"],
17594
+ # regions: ["Region"],
17595
+ # target_location_max_concurrency: "MaxConcurrency",
17596
+ # target_location_max_errors: "MaxErrors",
17597
+ # execution_role_name: "ExecutionRoleName",
17598
+ # },
17599
+ # ],
17600
+ # },
17601
+ # ],
17602
+ # tags: [
17603
+ # {
17604
+ # key: "TagKey", # required
17605
+ # value: "TagValue", # required
17606
+ # },
17607
+ # ],
17608
+ # }
17609
+ #
17610
+ # @!attribute [rw] scheduled_time
17611
+ # The date and time specified in the change request to run the
17612
+ # Automation runbooks.
17613
+ #
17614
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
17615
+ # run until all required approvals for the change request have been
17616
+ # received.
17617
+ #
17618
+ # </note>
17619
+ # @return [Time]
17620
+ #
17621
+ # @!attribute [rw] document_name
17622
+ # The name of the change template document to run during the runbook
17623
+ # workflow.
17624
+ # @return [String]
17625
+ #
17626
+ # @!attribute [rw] document_version
17627
+ # The version of the change template document to run during the
17628
+ # runbook workflow.
17629
+ # @return [String]
17630
+ #
17631
+ # @!attribute [rw] parameters
17632
+ # A key-value map of parameters that match the declared parameters in
17633
+ # the change template document.
17634
+ # @return [Hash<String,Array<String>>]
17635
+ #
17636
+ # @!attribute [rw] change_request_name
17637
+ # The name of the change request associated with the runbook workflow
17638
+ # to be run.
17639
+ # @return [String]
17640
+ #
17641
+ # @!attribute [rw] client_token
17642
+ # The user-provided idempotency token. The token must be unique, is
17643
+ # case insensitive, enforces the UUID format, and can't be reused.
17644
+ # @return [String]
17645
+ #
17646
+ # @!attribute [rw] runbooks
17647
+ # Information about the Automation runbooks (Automation documents)
17648
+ # that are run during the runbook workflow.
17649
+ #
17650
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
17651
+ # run until all required approvals for the change request have been
17652
+ # received.
17653
+ #
17654
+ # </note>
17655
+ # @return [Array<Types::Runbook>]
17656
+ #
17657
+ # @!attribute [rw] tags
17658
+ # Optional metadata that you assign to a resource. You can specify a
17659
+ # maximum of five tags for a change request. Tags enable you to
17660
+ # categorize a resource in different ways, such as by purpose, owner,
17661
+ # or environment. For example, you might want to tag a change request
17662
+ # to identify an environment or target AWS Region. In this case, you
17663
+ # could specify the following key-value pairs:
17664
+ #
17665
+ # * `Key=Environment,Value=Production`
17666
+ #
17667
+ # * `Key=Region,Value=us-east-2`
17668
+ # @return [Array<Types::Tag>]
17669
+ #
17670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionRequest AWS API Documentation
17671
+ #
17672
+ class StartChangeRequestExecutionRequest < Struct.new(
17673
+ :scheduled_time,
17674
+ :document_name,
17675
+ :document_version,
17676
+ :parameters,
17677
+ :change_request_name,
17678
+ :client_token,
17679
+ :runbooks,
17680
+ :tags)
17681
+ SENSITIVE = []
17682
+ include Aws::Structure
17683
+ end
17684
+
17685
+ # @!attribute [rw] automation_execution_id
17686
+ # The unique ID of a runbook workflow operation. (A runbook workflow
17687
+ # is a type of Automation operation.)
17688
+ # @return [String]
17689
+ #
17690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionResult AWS API Documentation
17691
+ #
17692
+ class StartChangeRequestExecutionResult < Struct.new(
17693
+ :automation_execution_id)
17694
+ SENSITIVE = []
17695
+ include Aws::Structure
17696
+ end
17697
+
16338
17698
  # @note When making an API call, you may pass StartSessionRequest
16339
17699
  # data as a hash:
16340
17700
  #
@@ -16657,6 +18017,15 @@ module Aws::SSM
16657
18017
  # An array of search criteria that targets instances using a Key,Value
16658
18018
  # combination that you specify.
16659
18019
  #
18020
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
18021
+ # Command-type tasks. Depending on the task, targets are optional for
18022
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
18023
+ # Step Functions). For more information about running tasks that do not
18024
+ # specify targets, see [Registering maintenance window tasks without
18025
+ # targets][1] in the *AWS Systems Manager User Guide*.
18026
+ #
18027
+ # </note>
18028
+ #
16660
18029
  # Supported formats include the following.
16661
18030
  #
16662
18031
  # * `Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3 `
@@ -16707,12 +18076,13 @@ module Aws::SSM
16707
18076
  # AWS Region where the association was created.
16708
18077
  #
16709
18078
  # For more information about how to send commands that target instances
16710
- # using `Key,Value` parameters, see [Targeting multiple instances][1] in
18079
+ # using `Key,Value` parameters, see [Targeting multiple instances][2] in
16711
18080
  # the *AWS Systems Manager User Guide*.
16712
18081
  #
16713
18082
  #
16714
18083
  #
16715
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
18084
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
18085
+ # [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
16716
18086
  #
16717
18087
  # @note When making an API call, you may pass Target
16718
18088
  # data as a hash:
@@ -16782,7 +18152,7 @@ module Aws::SSM
16782
18152
  #
16783
18153
  # @!attribute [rw] target_location_max_concurrency
16784
18154
  # The maximum number of AWS accounts and AWS regions allowed to run
16785
- # the Automation concurrently
18155
+ # the Automation concurrently.
16786
18156
  # @return [String]
16787
18157
  #
16788
18158
  # @!attribute [rw] target_location_max_errors
@@ -16793,7 +18163,8 @@ module Aws::SSM
16793
18163
  #
16794
18164
  # @!attribute [rw] execution_role_name
16795
18165
  # The Automation execution role used by the currently running
16796
- # Automation.
18166
+ # Automation. If not specified, the default value is
18167
+ # `AWS-SystemsManager-AutomationExecutionRole`.
16797
18168
  # @return [String]
16798
18169
  #
16799
18170
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TargetLocation AWS API Documentation
@@ -17038,6 +18409,15 @@ module Aws::SSM
17038
18409
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
17039
18410
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
17040
18411
  # apply_only_at_cron_interval: false,
18412
+ # target_locations: [
18413
+ # {
18414
+ # accounts: ["Account"],
18415
+ # regions: ["Region"],
18416
+ # target_location_max_concurrency: "MaxConcurrency",
18417
+ # target_location_max_errors: "MaxErrors",
18418
+ # execution_role_name: "ExecutionRoleName",
18419
+ # },
18420
+ # ],
17041
18421
  # }
17042
18422
  #
17043
18423
  # @!attribute [rw] association_id
@@ -17162,7 +18542,8 @@ module Aws::SSM
17162
18542
  # By default, when you update an association, the system runs it
17163
18543
  # immediately after it is updated and then according to the schedule
17164
18544
  # you specified. Specify this option if you don't want an association
17165
- # to run immediately after you update it.
18545
+ # to run immediately after you update it. This parameter is not
18546
+ # supported for rate expressions.
17166
18547
  #
17167
18548
  # Also, if you specified this option when you created the association,
17168
18549
  # you can reset it. To do so, specify the
@@ -17172,6 +18553,12 @@ module Aws::SSM
17172
18553
  # the interval specified.
17173
18554
  # @return [Boolean]
17174
18555
  #
18556
+ # @!attribute [rw] target_locations
18557
+ # A location is a combination of AWS Regions and AWS accounts where
18558
+ # you want to run the association. Use this action to update an
18559
+ # association in multiple Regions and multiple accounts.
18560
+ # @return [Array<Types::TargetLocation>]
18561
+ #
17175
18562
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
17176
18563
  #
17177
18564
  class UpdateAssociationRequest < Struct.new(
@@ -17189,7 +18576,8 @@ module Aws::SSM
17189
18576
  :max_concurrency,
17190
18577
  :compliance_severity,
17191
18578
  :sync_compliance,
17192
- :apply_only_at_cron_interval)
18579
+ :apply_only_at_cron_interval,
18580
+ :target_locations)
17193
18581
  SENSITIVE = []
17194
18582
  include Aws::Structure
17195
18583
  end
@@ -17294,6 +18682,49 @@ module Aws::SSM
17294
18682
  include Aws::Structure
17295
18683
  end
17296
18684
 
18685
+ # @note When making an API call, you may pass UpdateDocumentMetadataRequest
18686
+ # data as a hash:
18687
+ #
18688
+ # {
18689
+ # name: "DocumentName", # required
18690
+ # document_version: "DocumentVersion",
18691
+ # document_reviews: { # required
18692
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
18693
+ # comment: [
18694
+ # {
18695
+ # type: "Comment", # accepts Comment
18696
+ # content: "DocumentReviewComment",
18697
+ # },
18698
+ # ],
18699
+ # },
18700
+ # }
18701
+ #
18702
+ # @!attribute [rw] name
18703
+ # The name of the document for which a version is to be updated.
18704
+ # @return [String]
18705
+ #
18706
+ # @!attribute [rw] document_version
18707
+ # The version of a document to update.
18708
+ # @return [String]
18709
+ #
18710
+ # @!attribute [rw] document_reviews
18711
+ # The document review details to update.
18712
+ # @return [Types::DocumentReviews]
18713
+ #
18714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadataRequest AWS API Documentation
18715
+ #
18716
+ class UpdateDocumentMetadataRequest < Struct.new(
18717
+ :name,
18718
+ :document_version,
18719
+ :document_reviews)
18720
+ SENSITIVE = []
18721
+ include Aws::Structure
18722
+ end
18723
+
18724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadataResponse AWS API Documentation
18725
+ #
18726
+ class UpdateDocumentMetadataResponse < Aws::EmptyStructure; end
18727
+
17297
18728
  # @note When making an API call, you may pass UpdateDocumentRequest
17298
18729
  # data as a hash:
17299
18730
  #
@@ -17410,8 +18841,8 @@ module Aws::SSM
17410
18841
  # @!attribute [rw] start_date
17411
18842
  # The time zone that the scheduled maintenance window executions are
17412
18843
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17413
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17414
- # For more information, see the [Time Zone Database][1] on the IANA
18844
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18845
+ # more information, see the [Time Zone Database][1] on the IANA
17415
18846
  # website.
17416
18847
  #
17417
18848
  #
@@ -17434,8 +18865,8 @@ module Aws::SSM
17434
18865
  # @!attribute [rw] schedule_timezone
17435
18866
  # The time zone that the scheduled maintenance window executions are
17436
18867
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17437
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17438
- # For more information, see the [Time Zone Database][1] on the IANA
18868
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18869
+ # more information, see the [Time Zone Database][1] on the IANA
17439
18870
  # website.
17440
18871
  #
17441
18872
  #
@@ -17450,7 +18881,7 @@ module Aws::SSM
17450
18881
  # For example, the following cron expression schedules a maintenance
17451
18882
  # window to run the third Tuesday of every month at 11:30 PM.
17452
18883
  #
17453
- # `cron(0 30 23 ? * TUE#3 *)`
18884
+ # `cron(30 23 ? * TUE#3 *)`
17454
18885
  #
17455
18886
  # If the schedule offset is `2`, the maintenance window won't run
17456
18887
  # until two days later.
@@ -17532,8 +18963,8 @@ module Aws::SSM
17532
18963
  # @!attribute [rw] schedule_timezone
17533
18964
  # The time zone that the scheduled maintenance window executions are
17534
18965
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17535
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17536
- # For more information, see the [Time Zone Database][1] on the IANA
18966
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18967
+ # more information, see the [Time Zone Database][1] on the IANA
17537
18968
  # website.
17538
18969
  #
17539
18970
  #
@@ -17768,6 +19199,19 @@ module Aws::SSM
17768
19199
  # The targets (either instances or tags) to modify. Instances are
17769
19200
  # specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
17770
19201
  # Tags are specified using Key=tag\_name,Values=tag\_value.
19202
+ #
19203
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
19204
+ # Command-type tasks. Depending on the task, targets are optional for
19205
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
19206
+ # Step Functions). For more information about running tasks that do
19207
+ # not specify targets, see [Registering maintenance window tasks
19208
+ # without targets][1] in the *AWS Systems Manager User Guide*.
19209
+ #
19210
+ # </note>
19211
+ #
19212
+ #
19213
+ #
19214
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
17771
19215
  # @return [Array<Types::Target>]
17772
19216
  #
17773
19217
  # @!attribute [rw] task_arn
@@ -17842,12 +19286,28 @@ module Aws::SSM
17842
19286
  # The new `MaxConcurrency` value you want to specify. `MaxConcurrency`
17843
19287
  # is the number of targets that are allowed to run this task in
17844
19288
  # parallel.
19289
+ #
19290
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
19291
+ # supply a value for this option. Instead, the system inserts a
19292
+ # placeholder value of `1`, which may be reported in the response to
19293
+ # this command. This value does not affect the running of your task
19294
+ # and can be ignored.
19295
+ #
19296
+ # </note>
17845
19297
  # @return [String]
17846
19298
  #
17847
19299
  # @!attribute [rw] max_errors
17848
19300
  # The new `MaxErrors` value to specify. `MaxErrors` is the maximum
17849
19301
  # number of errors that are allowed before the task stops being
17850
19302
  # scheduled.
19303
+ #
19304
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
19305
+ # supply a value for this option. Instead, the system inserts a
19306
+ # placeholder value of `1`, which may be reported in the response to
19307
+ # this command. This value does not affect the running of your task
19308
+ # and can be ignored.
19309
+ #
19310
+ # </note>
17851
19311
  # @return [String]
17852
19312
  #
17853
19313
  # @!attribute [rw] logging_info
@@ -18041,11 +19501,15 @@ module Aws::SSM
18041
19501
  # ops_item_id: "String", # required
18042
19502
  # },
18043
19503
  # ],
18044
- # status: "Open", # accepts Open, InProgress, Resolved
19504
+ # status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
18045
19505
  # ops_item_id: "OpsItemId", # required
18046
19506
  # title: "OpsItemTitle",
18047
19507
  # category: "OpsItemCategory",
18048
19508
  # severity: "OpsItemSeverity",
19509
+ # actual_start_time: Time.now,
19510
+ # actual_end_time: Time.now,
19511
+ # planned_start_time: Time.now,
19512
+ # planned_end_time: Time.now,
18049
19513
  # }
18050
19514
  #
18051
19515
  # @!attribute [rw] description
@@ -18135,6 +19599,28 @@ module Aws::SSM
18135
19599
  # Specify a new severity for an OpsItem.
18136
19600
  # @return [String]
18137
19601
  #
19602
+ # @!attribute [rw] actual_start_time
19603
+ # The time a runbook workflow started. Currently reported only for the
19604
+ # OpsItem type `/aws/changerequest`.
19605
+ # @return [Time]
19606
+ #
19607
+ # @!attribute [rw] actual_end_time
19608
+ # The time a runbook workflow ended. Currently reported only for the
19609
+ # OpsItem type `/aws/changerequest`.
19610
+ # @return [Time]
19611
+ #
19612
+ # @!attribute [rw] planned_start_time
19613
+ # The time specified in a change request for a runbook workflow to
19614
+ # start. Currently supported only for the OpsItem type
19615
+ # `/aws/changerequest`.
19616
+ # @return [Time]
19617
+ #
19618
+ # @!attribute [rw] planned_end_time
19619
+ # The time specified in a change request for a runbook workflow to
19620
+ # end. Currently supported only for the OpsItem type
19621
+ # `/aws/changerequest`.
19622
+ # @return [Time]
19623
+ #
18138
19624
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItemRequest AWS API Documentation
18139
19625
  #
18140
19626
  class UpdateOpsItemRequest < Struct.new(
@@ -18148,7 +19634,11 @@ module Aws::SSM
18148
19634
  :ops_item_id,
18149
19635
  :title,
18150
19636
  :category,
18151
- :severity)
19637
+ :severity,
19638
+ :actual_start_time,
19639
+ :actual_end_time,
19640
+ :planned_start_time,
19641
+ :planned_end_time)
18152
19642
  SENSITIVE = []
18153
19643
  include Aws::Structure
18154
19644
  end
@@ -18157,6 +19647,54 @@ module Aws::SSM
18157
19647
  #
18158
19648
  class UpdateOpsItemResponse < Aws::EmptyStructure; end
18159
19649
 
19650
+ # @note When making an API call, you may pass UpdateOpsMetadataRequest
19651
+ # data as a hash:
19652
+ #
19653
+ # {
19654
+ # ops_metadata_arn: "OpsMetadataArn", # required
19655
+ # metadata_to_update: {
19656
+ # "MetadataKey" => {
19657
+ # value: "MetadataValueString",
19658
+ # },
19659
+ # },
19660
+ # keys_to_delete: ["MetadataKey"],
19661
+ # }
19662
+ #
19663
+ # @!attribute [rw] ops_metadata_arn
19664
+ # The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
19665
+ # @return [String]
19666
+ #
19667
+ # @!attribute [rw] metadata_to_update
19668
+ # Metadata to add to an OpsMetadata object.
19669
+ # @return [Hash<String,Types::MetadataValue>]
19670
+ #
19671
+ # @!attribute [rw] keys_to_delete
19672
+ # The metadata keys to delete from the OpsMetadata object.
19673
+ # @return [Array<String>]
19674
+ #
19675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataRequest AWS API Documentation
19676
+ #
19677
+ class UpdateOpsMetadataRequest < Struct.new(
19678
+ :ops_metadata_arn,
19679
+ :metadata_to_update,
19680
+ :keys_to_delete)
19681
+ SENSITIVE = []
19682
+ include Aws::Structure
19683
+ end
19684
+
19685
+ # @!attribute [rw] ops_metadata_arn
19686
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object that was
19687
+ # updated.
19688
+ # @return [String]
19689
+ #
19690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataResult AWS API Documentation
19691
+ #
19692
+ class UpdateOpsMetadataResult < Struct.new(
19693
+ :ops_metadata_arn)
19694
+ SENSITIVE = []
19695
+ include Aws::Structure
19696
+ end
19697
+
18160
19698
  # @note When making an API call, you may pass UpdatePatchBaselineRequest
18161
19699
  # data as a hash:
18162
19700
  #