aws-sdk-ssm 1.95.0 → 1.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -620,6 +627,10 @@ module Aws::SSM
620
627
  #
621
628
  # @!attribute [rw] key
622
629
  # The name of the filter.
630
+ #
631
+ # <note markdown="1"> `InstanceId` has been deprecated.
632
+ #
633
+ # </note>
623
634
  # @return [String]
624
635
  #
625
636
  # @!attribute [rw] value
@@ -810,9 +821,15 @@ module Aws::SSM
810
821
  # By default, when you create a new associations, the system runs it
811
822
  # immediately after it is created and then according to the schedule
812
823
  # you specified. Specify this option if you don't want an association
813
- # to run immediately after you create it.
824
+ # to run immediately after you create it. This parameter is not
825
+ # supported for rate expressions.
814
826
  # @return [Boolean]
815
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
+ #
816
833
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
817
834
  #
818
835
  class AssociationVersionInfo < Struct.new(
@@ -830,7 +847,8 @@ module Aws::SSM
830
847
  :max_concurrency,
831
848
  :compliance_severity,
832
849
  :sync_compliance,
833
- :apply_only_at_cron_interval)
850
+ :apply_only_at_cron_interval,
851
+ :target_locations)
834
852
  SENSITIVE = []
835
853
  include Aws::Structure
836
854
  end
@@ -961,6 +979,20 @@ module Aws::SSM
961
979
  include Aws::Structure
962
980
  end
963
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
+
964
996
  # An Automation document with the specified name could not be found.
965
997
  #
966
998
  # @!attribute [rw] message
@@ -1103,6 +1135,40 @@ module Aws::SSM
1103
1135
  # for a multi-Region and multi-account Automation execution.
1104
1136
  # @return [Types::ProgressCounters]
1105
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
+ #
1106
1172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution AWS API Documentation
1107
1173
  #
1108
1174
  class AutomationExecution < Struct.new(
@@ -1130,7 +1196,13 @@ module Aws::SSM
1130
1196
  :max_errors,
1131
1197
  :target,
1132
1198
  :target_locations,
1133
- :progress_counters)
1199
+ :progress_counters,
1200
+ :automation_subtype,
1201
+ :scheduled_time,
1202
+ :runbooks,
1203
+ :ops_item_id,
1204
+ :association_id,
1205
+ :change_request_name)
1134
1206
  SENSITIVE = []
1135
1207
  include Aws::Structure
1136
1208
  end
@@ -1142,14 +1214,15 @@ module Aws::SSM
1142
1214
  # data as a hash:
1143
1215
  #
1144
1216
  # {
1145
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey
1217
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup, AutomationSubtype, OpsItemId
1146
1218
  # values: ["AutomationExecutionFilterValue"], # required
1147
1219
  # }
1148
1220
  #
1149
1221
  # @!attribute [rw] key
1150
1222
  # One or more keys to limit the results. Valid filter keys include the
1151
1223
  # following: DocumentNamePrefix, ExecutionStatus, ExecutionId,
1152
- # ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter.
1224
+ # ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter,
1225
+ # TargetResourceGroup.
1153
1226
  # @return [String]
1154
1227
  #
1155
1228
  # @!attribute [rw] values
@@ -1282,6 +1355,40 @@ module Aws::SSM
1282
1355
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
1283
1356
  # @return [String]
1284
1357
  #
1358
+ # @!attribute [rw] automation_subtype
1359
+ # The subtype of the Automation operation. Currently, the only
1360
+ # supported value is `ChangeRequest`.
1361
+ # @return [String]
1362
+ #
1363
+ # @!attribute [rw] scheduled_time
1364
+ # The date and time the Automation operation is scheduled to start.
1365
+ # @return [Time]
1366
+ #
1367
+ # @!attribute [rw] runbooks
1368
+ # Information about the Automation runbooks (Automation documents)
1369
+ # that are run during a runbook workflow in Change Manager.
1370
+ #
1371
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
1372
+ # run until all required approvals for the change request have been
1373
+ # received.
1374
+ #
1375
+ # </note>
1376
+ # @return [Array<Types::Runbook>]
1377
+ #
1378
+ # @!attribute [rw] ops_item_id
1379
+ # The ID of an OpsItem that is created to represent a Change Manager
1380
+ # change request.
1381
+ # @return [String]
1382
+ #
1383
+ # @!attribute [rw] association_id
1384
+ # The ID of a State Manager association used in the Automation
1385
+ # operation.
1386
+ # @return [String]
1387
+ #
1388
+ # @!attribute [rw] change_request_name
1389
+ # The name of the Change Manager change request.
1390
+ # @return [String]
1391
+ #
1285
1392
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata AWS API Documentation
1286
1393
  #
1287
1394
  class AutomationExecutionMetadata < Struct.new(
@@ -1306,7 +1413,13 @@ module Aws::SSM
1306
1413
  :max_concurrency,
1307
1414
  :max_errors,
1308
1415
  :target,
1309
- :automation_type)
1416
+ :automation_type,
1417
+ :automation_subtype,
1418
+ :scheduled_time,
1419
+ :runbooks,
1420
+ :ops_item_id,
1421
+ :association_id,
1422
+ :change_request_name)
1310
1423
  SENSITIVE = []
1311
1424
  include Aws::Structure
1312
1425
  end
@@ -2427,6 +2540,15 @@ module Aws::SSM
2427
2540
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2428
2541
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2429
2542
  # apply_only_at_cron_interval: false,
2543
+ # target_locations: [
2544
+ # {
2545
+ # accounts: ["Account"],
2546
+ # regions: ["Region"],
2547
+ # target_location_max_concurrency: "MaxConcurrency",
2548
+ # target_location_max_errors: "MaxErrors",
2549
+ # execution_role_name: "ExecutionRoleName",
2550
+ # },
2551
+ # ],
2430
2552
  # },
2431
2553
  # ],
2432
2554
  # }
@@ -2477,6 +2599,15 @@ module Aws::SSM
2477
2599
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2478
2600
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2479
2601
  # apply_only_at_cron_interval: false,
2602
+ # target_locations: [
2603
+ # {
2604
+ # accounts: ["Account"],
2605
+ # regions: ["Region"],
2606
+ # target_location_max_concurrency: "MaxConcurrency",
2607
+ # target_location_max_errors: "MaxErrors",
2608
+ # execution_role_name: "ExecutionRoleName",
2609
+ # },
2610
+ # ],
2480
2611
  # }
2481
2612
  #
2482
2613
  # @!attribute [rw] name
@@ -2592,9 +2723,15 @@ module Aws::SSM
2592
2723
  # By default, when you create a new associations, the system runs it
2593
2724
  # immediately after it is created and then according to the schedule
2594
2725
  # you specified. Specify this option if you don't want an association
2595
- # to run immediately after you create it.
2726
+ # to run immediately after you create it. This parameter is not
2727
+ # supported for rate expressions.
2596
2728
  # @return [Boolean]
2597
2729
  #
2730
+ # @!attribute [rw] target_locations
2731
+ # Use this action to create an association in multiple Regions and
2732
+ # multiple accounts.
2733
+ # @return [Array<Types::TargetLocation>]
2734
+ #
2598
2735
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
2599
2736
  #
2600
2737
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -2611,7 +2748,8 @@ module Aws::SSM
2611
2748
  :max_concurrency,
2612
2749
  :compliance_severity,
2613
2750
  :sync_compliance,
2614
- :apply_only_at_cron_interval)
2751
+ :apply_only_at_cron_interval,
2752
+ :target_locations)
2615
2753
  SENSITIVE = []
2616
2754
  include Aws::Structure
2617
2755
  end
@@ -2664,6 +2802,15 @@ module Aws::SSM
2664
2802
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2665
2803
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2666
2804
  # apply_only_at_cron_interval: false,
2805
+ # target_locations: [
2806
+ # {
2807
+ # accounts: ["Account"],
2808
+ # regions: ["Region"],
2809
+ # target_location_max_concurrency: "MaxConcurrency",
2810
+ # target_location_max_errors: "MaxErrors",
2811
+ # execution_role_name: "ExecutionRoleName",
2812
+ # },
2813
+ # ],
2667
2814
  # }
2668
2815
  #
2669
2816
  # @!attribute [rw] name
@@ -2800,9 +2947,16 @@ module Aws::SSM
2800
2947
  # By default, when you create a new associations, the system runs it
2801
2948
  # immediately after it is created and then according to the schedule
2802
2949
  # you specified. Specify this option if you don't want an association
2803
- # to run immediately after you create it.
2950
+ # to run immediately after you create it. This parameter is not
2951
+ # supported for rate expressions.
2804
2952
  # @return [Boolean]
2805
2953
  #
2954
+ # @!attribute [rw] target_locations
2955
+ # A location is a combination of AWS Regions and AWS accounts where
2956
+ # you want to run the association. Use this action to create an
2957
+ # association in multiple Regions and multiple accounts.
2958
+ # @return [Array<Types::TargetLocation>]
2959
+ #
2806
2960
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
2807
2961
  #
2808
2962
  class CreateAssociationRequest < Struct.new(
@@ -2819,7 +2973,8 @@ module Aws::SSM
2819
2973
  :max_concurrency,
2820
2974
  :compliance_severity,
2821
2975
  :sync_compliance,
2822
- :apply_only_at_cron_interval)
2976
+ :apply_only_at_cron_interval,
2977
+ :target_locations)
2823
2978
  SENSITIVE = []
2824
2979
  include Aws::Structure
2825
2980
  end
@@ -2856,7 +3011,7 @@ module Aws::SSM
2856
3011
  # ],
2857
3012
  # name: "DocumentName", # required
2858
3013
  # version_name: "DocumentVersionName",
2859
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar
3014
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy, ChangeCalendar, Automation.ChangeTemplate
2860
3015
  # document_format: "YAML", # accepts YAML, JSON, TEXT
2861
3016
  # target_type: "TargetType",
2862
3017
  # tags: [
@@ -3051,8 +3206,8 @@ module Aws::SSM
3051
3206
  # @!attribute [rw] schedule_timezone
3052
3207
  # The time zone that the scheduled maintenance window executions are
3053
3208
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
3054
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
3055
- # For more information, see the [Time Zone Database][1] on the IANA
3209
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
3210
+ # more information, see the [Time Zone Database][1] on the IANA
3056
3211
  # website.
3057
3212
  #
3058
3213
  #
@@ -3067,7 +3222,7 @@ module Aws::SSM
3067
3222
  # For example, the following cron expression schedules a maintenance
3068
3223
  # window to run on the third Tuesday of every month at 11:30 PM.
3069
3224
  #
3070
- # `cron(0 30 23 ? * TUE#3 *)`
3225
+ # `cron(30 23 ? * TUE#3 *)`
3071
3226
  #
3072
3227
  # If the schedule offset is `2`, the maintenance window won't run
3073
3228
  # until two days later.
@@ -3156,6 +3311,7 @@ module Aws::SSM
3156
3311
  #
3157
3312
  # {
3158
3313
  # description: "OpsItemDescription", # required
3314
+ # ops_item_type: "OpsItemType",
3159
3315
  # operational_data: {
3160
3316
  # "OpsItemDataKey" => {
3161
3317
  # value: "OpsItemDataValueString",
@@ -3183,12 +3339,21 @@ module Aws::SSM
3183
3339
  # ],
3184
3340
  # category: "OpsItemCategory",
3185
3341
  # severity: "OpsItemSeverity",
3342
+ # actual_start_time: Time.now,
3343
+ # actual_end_time: Time.now,
3344
+ # planned_start_time: Time.now,
3345
+ # planned_end_time: Time.now,
3186
3346
  # }
3187
3347
  #
3188
3348
  # @!attribute [rw] description
3189
3349
  # Information about the OpsItem.
3190
3350
  # @return [String]
3191
3351
  #
3352
+ # @!attribute [rw] ops_item_type
3353
+ # The type of OpsItem to create. Currently, the only valid values are
3354
+ # `/aws/changerequest` and `/aws/issue`.
3355
+ # @return [String]
3356
+ #
3192
3357
  # @!attribute [rw] operational_data
3193
3358
  # Operational data is custom data that provides useful reference
3194
3359
  # details about the OpsItem. For example, you can specify log files,
@@ -3278,10 +3443,33 @@ module Aws::SSM
3278
3443
  # Specify a severity to assign to an OpsItem.
3279
3444
  # @return [String]
3280
3445
  #
3446
+ # @!attribute [rw] actual_start_time
3447
+ # The time a runbook workflow started. Currently reported only for the
3448
+ # OpsItem type `/aws/changerequest`.
3449
+ # @return [Time]
3450
+ #
3451
+ # @!attribute [rw] actual_end_time
3452
+ # The time a runbook workflow ended. Currently reported only for the
3453
+ # OpsItem type `/aws/changerequest`.
3454
+ # @return [Time]
3455
+ #
3456
+ # @!attribute [rw] planned_start_time
3457
+ # The time specified in a change request for a runbook workflow to
3458
+ # start. Currently supported only for the OpsItem type
3459
+ # `/aws/changerequest`.
3460
+ # @return [Time]
3461
+ #
3462
+ # @!attribute [rw] planned_end_time
3463
+ # The time specified in a change request for a runbook workflow to
3464
+ # end. Currently supported only for the OpsItem type
3465
+ # `/aws/changerequest`.
3466
+ # @return [Time]
3467
+ #
3281
3468
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItemRequest AWS API Documentation
3282
3469
  #
3283
3470
  class CreateOpsItemRequest < Struct.new(
3284
3471
  :description,
3472
+ :ops_item_type,
3285
3473
  :operational_data,
3286
3474
  :notifications,
3287
3475
  :priority,
@@ -3290,7 +3478,11 @@ module Aws::SSM
3290
3478
  :title,
3291
3479
  :tags,
3292
3480
  :category,
3293
- :severity)
3481
+ :severity,
3482
+ :actual_start_time,
3483
+ :actual_end_time,
3484
+ :planned_start_time,
3485
+ :planned_end_time)
3294
3486
  SENSITIVE = []
3295
3487
  include Aws::Structure
3296
3488
  end
@@ -3307,11 +3499,53 @@ module Aws::SSM
3307
3499
  include Aws::Structure
3308
3500
  end
3309
3501
 
3502
+ # @note When making an API call, you may pass CreateOpsMetadataRequest
3503
+ # data as a hash:
3504
+ #
3505
+ # {
3506
+ # resource_id: "OpsMetadataResourceId", # required
3507
+ # metadata: {
3508
+ # "MetadataKey" => {
3509
+ # value: "MetadataValueString",
3510
+ # },
3511
+ # },
3512
+ # }
3513
+ #
3514
+ # @!attribute [rw] resource_id
3515
+ # A resource ID for a new Application Manager application.
3516
+ # @return [String]
3517
+ #
3518
+ # @!attribute [rw] metadata
3519
+ # Metadata for a new Application Manager application.
3520
+ # @return [Hash<String,Types::MetadataValue>]
3521
+ #
3522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
3523
+ #
3524
+ class CreateOpsMetadataRequest < Struct.new(
3525
+ :resource_id,
3526
+ :metadata)
3527
+ SENSITIVE = []
3528
+ include Aws::Structure
3529
+ end
3530
+
3531
+ # @!attribute [rw] ops_metadata_arn
3532
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object or blob
3533
+ # created by the call.
3534
+ # @return [String]
3535
+ #
3536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataResult AWS API Documentation
3537
+ #
3538
+ class CreateOpsMetadataResult < Struct.new(
3539
+ :ops_metadata_arn)
3540
+ SENSITIVE = []
3541
+ include Aws::Structure
3542
+ end
3543
+
3310
3544
  # @note When making an API call, you may pass CreatePatchBaselineRequest
3311
3545
  # data as a hash:
3312
3546
  #
3313
3547
  # {
3314
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
3548
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
3315
3549
  # name: "BaselineName", # required
3316
3550
  # global_filters: {
3317
3551
  # patch_filters: [ # required
@@ -3808,6 +4042,29 @@ module Aws::SSM
3808
4042
  include Aws::Structure
3809
4043
  end
3810
4044
 
4045
+ # @note When making an API call, you may pass DeleteOpsMetadataRequest
4046
+ # data as a hash:
4047
+ #
4048
+ # {
4049
+ # ops_metadata_arn: "OpsMetadataArn", # required
4050
+ # }
4051
+ #
4052
+ # @!attribute [rw] ops_metadata_arn
4053
+ # The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.
4054
+ # @return [String]
4055
+ #
4056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadataRequest AWS API Documentation
4057
+ #
4058
+ class DeleteOpsMetadataRequest < Struct.new(
4059
+ :ops_metadata_arn)
4060
+ SENSITIVE = []
4061
+ include Aws::Structure
4062
+ end
4063
+
4064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadataResult AWS API Documentation
4065
+ #
4066
+ class DeleteOpsMetadataResult < Aws::EmptyStructure; end
4067
+
3811
4068
  # @note When making an API call, you may pass DeleteParameterRequest
3812
4069
  # data as a hash:
3813
4070
  #
@@ -4379,7 +4636,7 @@ module Aws::SSM
4379
4636
  # {
4380
4637
  # filters: [
4381
4638
  # {
4382
- # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey
4639
+ # key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup, AutomationSubtype, OpsItemId
4383
4640
  # values: ["AutomationExecutionFilterValue"], # required
4384
4641
  # },
4385
4642
  # ],
@@ -5690,7 +5947,7 @@ module Aws::SSM
5690
5947
  # {
5691
5948
  # ops_item_filters: [
5692
5949
  # {
5693
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
5950
+ # 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
5694
5951
  # values: ["OpsItemFilterValue"], # required
5695
5952
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
5696
5953
  # },
@@ -6095,7 +6352,7 @@ module Aws::SSM
6095
6352
  # data as a hash:
6096
6353
  #
6097
6354
  # {
6098
- # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
6355
+ # operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
6099
6356
  # property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
6100
6357
  # patch_set: "OS", # accepts OS, APPLICATION
6101
6358
  # max_results: 1,
@@ -6112,8 +6369,8 @@ module Aws::SSM
6112
6369
  #
6113
6370
  # @!attribute [rw] patch_set
6114
6371
  # Indicates whether to list patches for the Windows operating system
6115
- # or for Microsoft applications. Not applicable for Linux operating
6116
- # systems.
6372
+ # or for Microsoft applications. Not applicable for the Linux or macOS
6373
+ # operating systems.
6117
6374
  # @return [String]
6118
6375
  #
6119
6376
  # @!attribute [rw] max_results
@@ -6167,7 +6424,7 @@ module Aws::SSM
6167
6424
  # next_token: "NextToken",
6168
6425
  # filters: [
6169
6426
  # {
6170
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
6427
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
6171
6428
  # value: "SessionFilterValue", # required
6172
6429
  # },
6173
6430
  # ],
@@ -6374,6 +6631,27 @@ module Aws::SSM
6374
6631
  # `ApplicationConfigurationSchema` document.
6375
6632
  # @return [Array<Types::DocumentRequires>]
6376
6633
  #
6634
+ # @!attribute [rw] author
6635
+ # The user in your organization who created the document.
6636
+ # @return [String]
6637
+ #
6638
+ # @!attribute [rw] review_information
6639
+ # Details about the review of a document.
6640
+ # @return [Array<Types::ReviewInformation>]
6641
+ #
6642
+ # @!attribute [rw] approved_version
6643
+ # The version of the document currently approved for use in the
6644
+ # organization.
6645
+ # @return [String]
6646
+ #
6647
+ # @!attribute [rw] pending_review_version
6648
+ # The version of the document that is currently under review.
6649
+ # @return [String]
6650
+ #
6651
+ # @!attribute [rw] review_status
6652
+ # The current status of the review.
6653
+ # @return [String]
6654
+ #
6377
6655
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
6378
6656
  #
6379
6657
  class DocumentDescription < Struct.new(
@@ -6398,7 +6676,12 @@ module Aws::SSM
6398
6676
  :target_type,
6399
6677
  :tags,
6400
6678
  :attachments_information,
6401
- :requires)
6679
+ :requires,
6680
+ :author,
6681
+ :review_information,
6682
+ :approved_version,
6683
+ :pending_review_version,
6684
+ :review_status)
6402
6685
  SENSITIVE = []
6403
6686
  include Aws::Structure
6404
6687
  end
@@ -6487,6 +6770,14 @@ module Aws::SSM
6487
6770
  # `ApplicationConfigurationSchema` document.
6488
6771
  # @return [Array<Types::DocumentRequires>]
6489
6772
  #
6773
+ # @!attribute [rw] review_status
6774
+ # The current status of a document review.
6775
+ # @return [String]
6776
+ #
6777
+ # @!attribute [rw] author
6778
+ # The user in your organization who created the document.
6779
+ # @return [String]
6780
+ #
6490
6781
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier AWS API Documentation
6491
6782
  #
6492
6783
  class DocumentIdentifier < Struct.new(
@@ -6500,7 +6791,9 @@ module Aws::SSM
6500
6791
  :document_format,
6501
6792
  :target_type,
6502
6793
  :tags,
6503
- :requires)
6794
+ :requires,
6795
+ :review_status,
6796
+ :author)
6504
6797
  SENSITIVE = []
6505
6798
  include Aws::Structure
6506
6799
  end
@@ -6621,6 +6914,20 @@ module Aws::SSM
6621
6914
  include Aws::Structure
6622
6915
  end
6623
6916
 
6917
+ # Details about the response to a document review request.
6918
+ #
6919
+ # @!attribute [rw] reviewer_response
6920
+ # Details about a reviewer's response to a document review request.
6921
+ # @return [Array<Types::DocumentReviewerResponseSource>]
6922
+ #
6923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentMetadataResponseInfo AWS API Documentation
6924
+ #
6925
+ class DocumentMetadataResponseInfo < Struct.new(
6926
+ :reviewer_response)
6927
+ SENSITIVE = []
6928
+ include Aws::Structure
6929
+ end
6930
+
6624
6931
  # Parameters specified in a System Manager document that run on the
6625
6932
  # server when the command is run.
6626
6933
  #
@@ -6698,6 +7005,114 @@ module Aws::SSM
6698
7005
  include Aws::Structure
6699
7006
  end
6700
7007
 
7008
+ # Information about comments added to a document review request.
7009
+ #
7010
+ # @note When making an API call, you may pass DocumentReviewCommentSource
7011
+ # data as a hash:
7012
+ #
7013
+ # {
7014
+ # type: "Comment", # accepts Comment
7015
+ # content: "DocumentReviewComment",
7016
+ # }
7017
+ #
7018
+ # @!attribute [rw] type
7019
+ # The type of information added to a review request. Currently, only
7020
+ # the value `Comment` is supported.
7021
+ # @return [String]
7022
+ #
7023
+ # @!attribute [rw] content
7024
+ # The content of a comment entered by a user who requests a review of
7025
+ # a new document version, or who reviews the new version.
7026
+ # @return [String]
7027
+ #
7028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentReviewCommentSource AWS API Documentation
7029
+ #
7030
+ class DocumentReviewCommentSource < Struct.new(
7031
+ :type,
7032
+ :content)
7033
+ SENSITIVE = []
7034
+ include Aws::Structure
7035
+ end
7036
+
7037
+ # Information about a reviewer's response to a document review request.
7038
+ #
7039
+ # @!attribute [rw] create_time
7040
+ # The date and time that a reviewer entered a response to a document
7041
+ # review request.
7042
+ # @return [Time]
7043
+ #
7044
+ # @!attribute [rw] updated_time
7045
+ # The date and time that a reviewer last updated a response to a
7046
+ # document review request.
7047
+ # @return [Time]
7048
+ #
7049
+ # @!attribute [rw] review_status
7050
+ # The current review status of a new custom SSM document created by a
7051
+ # member of your organization, or of the latest version of an existing
7052
+ # SSM document.
7053
+ #
7054
+ # Only one version of a document can be in the APPROVED state at a
7055
+ # time. When a new version is approved, the status of the previous
7056
+ # version changes to REJECTED.
7057
+ #
7058
+ # Only one version of a document can be in review, or PENDING, at a
7059
+ # time.
7060
+ # @return [String]
7061
+ #
7062
+ # @!attribute [rw] comment
7063
+ # The comment entered by a reviewer as part of their document review
7064
+ # response.
7065
+ # @return [Array<Types::DocumentReviewCommentSource>]
7066
+ #
7067
+ # @!attribute [rw] reviewer
7068
+ # The user in your organization assigned to review a document request.
7069
+ # @return [String]
7070
+ #
7071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentReviewerResponseSource AWS API Documentation
7072
+ #
7073
+ class DocumentReviewerResponseSource < Struct.new(
7074
+ :create_time,
7075
+ :updated_time,
7076
+ :review_status,
7077
+ :comment,
7078
+ :reviewer)
7079
+ SENSITIVE = []
7080
+ include Aws::Structure
7081
+ end
7082
+
7083
+ # Information about a document approval review.
7084
+ #
7085
+ # @note When making an API call, you may pass DocumentReviews
7086
+ # data as a hash:
7087
+ #
7088
+ # {
7089
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
7090
+ # comment: [
7091
+ # {
7092
+ # type: "Comment", # accepts Comment
7093
+ # content: "DocumentReviewComment",
7094
+ # },
7095
+ # ],
7096
+ # }
7097
+ #
7098
+ # @!attribute [rw] action
7099
+ # The action to take on a document approval review request.
7100
+ # @return [String]
7101
+ #
7102
+ # @!attribute [rw] comment
7103
+ # A comment entered by a user in your organization about the document
7104
+ # review request.
7105
+ # @return [Array<Types::DocumentReviewCommentSource>]
7106
+ #
7107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentReviews AWS API Documentation
7108
+ #
7109
+ class DocumentReviews < Struct.new(
7110
+ :action,
7111
+ :comment)
7112
+ SENSITIVE = []
7113
+ include Aws::Structure
7114
+ end
7115
+
6701
7116
  # Version information about the document.
6702
7117
  #
6703
7118
  # @!attribute [rw] name
@@ -6738,6 +7153,11 @@ module Aws::SSM
6738
7153
  # exist. Verify that the URL of the S3 bucket is correct."
6739
7154
  # @return [String]
6740
7155
  #
7156
+ # @!attribute [rw] review_status
7157
+ # The current status of the approval review for the latest version of
7158
+ # the document.
7159
+ # @return [String]
7160
+ #
6741
7161
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo AWS API Documentation
6742
7162
  #
6743
7163
  class DocumentVersionInfo < Struct.new(
@@ -6748,7 +7168,8 @@ module Aws::SSM
6748
7168
  :is_default_version,
6749
7169
  :document_format,
6750
7170
  :status,
6751
- :status_information)
7171
+ :status_information,
7172
+ :review_status)
6752
7173
  SENSITIVE = []
6753
7174
  include Aws::Structure
6754
7175
  end
@@ -7275,7 +7696,7 @@ module Aws::SSM
7275
7696
  # data as a hash:
7276
7697
  #
7277
7698
  # {
7278
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
7699
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
7279
7700
  # }
7280
7701
  #
7281
7702
  # @!attribute [rw] operating_system
@@ -7453,6 +7874,19 @@ module Aws::SSM
7453
7874
  # locations, sizes, and so on.
7454
7875
  # @return [Array<Types::AttachmentContent>]
7455
7876
  #
7877
+ # @!attribute [rw] review_status
7878
+ # The current review status of a new custom Systems Manager document
7879
+ # (SSM document) created by a member of your organization, or of the
7880
+ # latest version of an existing SSM document.
7881
+ #
7882
+ # Only one version of an SSM document can be in the APPROVED state at
7883
+ # a time. When a new version is approved, the status of the previous
7884
+ # version changes to REJECTED.
7885
+ #
7886
+ # Only one version of an SSM document can be in review, or PENDING, at
7887
+ # a time.
7888
+ # @return [String]
7889
+ #
7456
7890
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult AWS API Documentation
7457
7891
  #
7458
7892
  class GetDocumentResult < Struct.new(
@@ -7465,7 +7899,8 @@ module Aws::SSM
7465
7899
  :document_type,
7466
7900
  :document_format,
7467
7901
  :requires,
7468
- :attachments_content)
7902
+ :attachments_content,
7903
+ :review_status)
7469
7904
  SENSITIVE = []
7470
7905
  include Aws::Structure
7471
7906
  end
@@ -7965,8 +8400,8 @@ module Aws::SSM
7965
8400
  # @!attribute [rw] schedule_timezone
7966
8401
  # The time zone that the scheduled maintenance window executions are
7967
8402
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
7968
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
7969
- # For more information, see the [Time Zone Database][1] on the IANA
8403
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
8404
+ # more information, see the [Time Zone Database][1] on the IANA
7970
8405
  # website.
7971
8406
  #
7972
8407
  #
@@ -8192,48 +8627,105 @@ module Aws::SSM
8192
8627
  include Aws::Structure
8193
8628
  end
8194
8629
 
8195
- # @note When making an API call, you may pass GetOpsSummaryRequest
8630
+ # @note When making an API call, you may pass GetOpsMetadataRequest
8196
8631
  # data as a hash:
8197
8632
  #
8198
8633
  # {
8199
- # sync_name: "ResourceDataSyncName",
8200
- # filters: [
8201
- # {
8202
- # key: "OpsFilterKey", # required
8203
- # values: ["OpsFilterValue"], # required
8204
- # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8205
- # },
8206
- # ],
8207
- # aggregators: [
8208
- # {
8209
- # aggregator_type: "OpsAggregatorType",
8210
- # type_name: "OpsDataTypeName",
8211
- # attribute_name: "OpsDataAttributeName",
8212
- # values: {
8213
- # "OpsAggregatorValueKey" => "OpsAggregatorValue",
8214
- # },
8215
- # filters: [
8216
- # {
8217
- # key: "OpsFilterKey", # required
8218
- # values: ["OpsFilterValue"], # required
8219
- # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8220
- # },
8221
- # ],
8222
- # aggregators: {
8223
- # # recursive OpsAggregatorList
8224
- # },
8225
- # },
8226
- # ],
8227
- # result_attributes: [
8228
- # {
8229
- # type_name: "OpsDataTypeName", # required
8230
- # },
8231
- # ],
8232
- # next_token: "NextToken",
8634
+ # ops_metadata_arn: "OpsMetadataArn", # required
8233
8635
  # max_results: 1,
8636
+ # next_token: "NextToken",
8234
8637
  # }
8235
8638
  #
8236
- # @!attribute [rw] sync_name
8639
+ # @!attribute [rw] ops_metadata_arn
8640
+ # The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
8641
+ # @return [String]
8642
+ #
8643
+ # @!attribute [rw] max_results
8644
+ # The maximum number of items to return for this call. The call also
8645
+ # returns a token that you can specify in a subsequent call to get the
8646
+ # next set of results.
8647
+ # @return [Integer]
8648
+ #
8649
+ # @!attribute [rw] next_token
8650
+ # A token to start the list. Use this token to get the next set of
8651
+ # results.
8652
+ # @return [String]
8653
+ #
8654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadataRequest AWS API Documentation
8655
+ #
8656
+ class GetOpsMetadataRequest < Struct.new(
8657
+ :ops_metadata_arn,
8658
+ :max_results,
8659
+ :next_token)
8660
+ SENSITIVE = []
8661
+ include Aws::Structure
8662
+ end
8663
+
8664
+ # @!attribute [rw] resource_id
8665
+ # The resource ID of the Application Manager application.
8666
+ # @return [String]
8667
+ #
8668
+ # @!attribute [rw] metadata
8669
+ # OpsMetadata for an Application Manager application.
8670
+ # @return [Hash<String,Types::MetadataValue>]
8671
+ #
8672
+ # @!attribute [rw] next_token
8673
+ # The token for the next set of items to return. Use this token to get
8674
+ # the next set of results.
8675
+ # @return [String]
8676
+ #
8677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadataResult AWS API Documentation
8678
+ #
8679
+ class GetOpsMetadataResult < Struct.new(
8680
+ :resource_id,
8681
+ :metadata,
8682
+ :next_token)
8683
+ SENSITIVE = []
8684
+ include Aws::Structure
8685
+ end
8686
+
8687
+ # @note When making an API call, you may pass GetOpsSummaryRequest
8688
+ # data as a hash:
8689
+ #
8690
+ # {
8691
+ # sync_name: "ResourceDataSyncName",
8692
+ # filters: [
8693
+ # {
8694
+ # key: "OpsFilterKey", # required
8695
+ # values: ["OpsFilterValue"], # required
8696
+ # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8697
+ # },
8698
+ # ],
8699
+ # aggregators: [
8700
+ # {
8701
+ # aggregator_type: "OpsAggregatorType",
8702
+ # type_name: "OpsDataTypeName",
8703
+ # attribute_name: "OpsDataAttributeName",
8704
+ # values: {
8705
+ # "OpsAggregatorValueKey" => "OpsAggregatorValue",
8706
+ # },
8707
+ # filters: [
8708
+ # {
8709
+ # key: "OpsFilterKey", # required
8710
+ # values: ["OpsFilterValue"], # required
8711
+ # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8712
+ # },
8713
+ # ],
8714
+ # aggregators: {
8715
+ # # recursive OpsAggregatorList
8716
+ # },
8717
+ # },
8718
+ # ],
8719
+ # result_attributes: [
8720
+ # {
8721
+ # type_name: "OpsDataTypeName", # required
8722
+ # },
8723
+ # ],
8724
+ # next_token: "NextToken",
8725
+ # max_results: 1,
8726
+ # }
8727
+ #
8728
+ # @!attribute [rw] sync_name
8237
8729
  # Specify the name of a resource data sync to get.
8238
8730
  # @return [String]
8239
8731
  #
@@ -8533,7 +9025,7 @@ module Aws::SSM
8533
9025
  #
8534
9026
  # {
8535
9027
  # patch_group: "PatchGroup", # required
8536
- # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
9028
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
8537
9029
  # }
8538
9030
  #
8539
9031
  # @!attribute [rw] patch_group
@@ -8976,7 +9468,8 @@ module Aws::SSM
8976
9468
  # @return [String]
8977
9469
  #
8978
9470
  # @!attribute [rw] last_ping_date_time
8979
- # The date and time when agent last pinged Systems Manager service.
9471
+ # The date and time when the agent last pinged the Systems Manager
9472
+ # service.
8980
9473
  # @return [Time]
8981
9474
  #
8982
9475
  # @!attribute [rw] agent_version
@@ -10606,6 +11099,13 @@ module Aws::SSM
10606
11099
  # @!attribute [rw] association_filter_list
10607
11100
  # One or more filters. Use a filter to return a more specific list of
10608
11101
  # results.
11102
+ #
11103
+ # <note markdown="1"> Filtering associations using the `InstanceID` attribute only returns
11104
+ # legacy associations created using the `InstanceID` attribute.
11105
+ # Associations targeting the instance that are part of the Target
11106
+ # Attributes `ResourceGroup` or `Tags` are not returned.
11107
+ #
11108
+ # </note>
10609
11109
  # @return [Array<Types::AssociationFilter>]
10610
11110
  #
10611
11111
  # @!attribute [rw] max_results
@@ -10935,6 +11435,88 @@ module Aws::SSM
10935
11435
  include Aws::Structure
10936
11436
  end
10937
11437
 
11438
+ # @note When making an API call, you may pass ListDocumentMetadataHistoryRequest
11439
+ # data as a hash:
11440
+ #
11441
+ # {
11442
+ # name: "DocumentName", # required
11443
+ # document_version: "DocumentVersion",
11444
+ # metadata: "DocumentReviews", # required, accepts DocumentReviews
11445
+ # next_token: "NextToken",
11446
+ # max_results: 1,
11447
+ # }
11448
+ #
11449
+ # @!attribute [rw] name
11450
+ # The name of the document.
11451
+ # @return [String]
11452
+ #
11453
+ # @!attribute [rw] document_version
11454
+ # The version of the document.
11455
+ # @return [String]
11456
+ #
11457
+ # @!attribute [rw] metadata
11458
+ # The type of data for which details are being requested. Currently,
11459
+ # the only supported value is `DocumentReviews`.
11460
+ # @return [String]
11461
+ #
11462
+ # @!attribute [rw] next_token
11463
+ # The token for the next set of items to return. (You received this
11464
+ # token from a previous call.)
11465
+ # @return [String]
11466
+ #
11467
+ # @!attribute [rw] max_results
11468
+ # The maximum number of items to return for this call. The call also
11469
+ # returns a token that you can specify in a subsequent call to get the
11470
+ # next set of results.
11471
+ # @return [Integer]
11472
+ #
11473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistoryRequest AWS API Documentation
11474
+ #
11475
+ class ListDocumentMetadataHistoryRequest < Struct.new(
11476
+ :name,
11477
+ :document_version,
11478
+ :metadata,
11479
+ :next_token,
11480
+ :max_results)
11481
+ SENSITIVE = []
11482
+ include Aws::Structure
11483
+ end
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] author
11494
+ # The user ID of the person in the organization who requested the
11495
+ # document review.
11496
+ # @return [String]
11497
+ #
11498
+ # @!attribute [rw] metadata
11499
+ # Information about the response to the document approval request.
11500
+ # @return [Types::DocumentMetadataResponseInfo]
11501
+ #
11502
+ # @!attribute [rw] next_token
11503
+ # The maximum number of items to return for this call. The call also
11504
+ # returns a token that you can specify in a subsequent call to get the
11505
+ # next set of results.
11506
+ # @return [String]
11507
+ #
11508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistoryResponse AWS API Documentation
11509
+ #
11510
+ class ListDocumentMetadataHistoryResponse < Struct.new(
11511
+ :name,
11512
+ :document_version,
11513
+ :author,
11514
+ :metadata,
11515
+ :next_token)
11516
+ SENSITIVE = []
11517
+ include Aws::Structure
11518
+ end
11519
+
10938
11520
  # @note When making an API call, you may pass ListDocumentVersionsRequest
10939
11521
  # data as a hash:
10940
11522
  #
@@ -11155,6 +11737,123 @@ module Aws::SSM
11155
11737
  include Aws::Structure
11156
11738
  end
11157
11739
 
11740
+ # @note When making an API call, you may pass ListOpsItemEventsRequest
11741
+ # data as a hash:
11742
+ #
11743
+ # {
11744
+ # filters: [
11745
+ # {
11746
+ # key: "OpsItemId", # required, accepts OpsItemId
11747
+ # values: ["OpsItemEventFilterValue"], # required
11748
+ # operator: "Equal", # required, accepts Equal
11749
+ # },
11750
+ # ],
11751
+ # max_results: 1,
11752
+ # next_token: "String",
11753
+ # }
11754
+ #
11755
+ # @!attribute [rw] filters
11756
+ # One or more OpsItem filters. Use a filter to return a more specific
11757
+ # list of results.
11758
+ # @return [Array<Types::OpsItemEventFilter>]
11759
+ #
11760
+ # @!attribute [rw] max_results
11761
+ # The maximum number of items to return for this call. The call also
11762
+ # returns a token that you can specify in a subsequent call to get the
11763
+ # next set of results.
11764
+ # @return [Integer]
11765
+ #
11766
+ # @!attribute [rw] next_token
11767
+ # A token to start the list. Use this token to get the next set of
11768
+ # results.
11769
+ # @return [String]
11770
+ #
11771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEventsRequest AWS API Documentation
11772
+ #
11773
+ class ListOpsItemEventsRequest < Struct.new(
11774
+ :filters,
11775
+ :max_results,
11776
+ :next_token)
11777
+ SENSITIVE = []
11778
+ include Aws::Structure
11779
+ end
11780
+
11781
+ # @!attribute [rw] next_token
11782
+ # The token for the next set of items to return. Use this token to get
11783
+ # the next set of results.
11784
+ # @return [String]
11785
+ #
11786
+ # @!attribute [rw] summaries
11787
+ # A list of event information for the specified OpsItems.
11788
+ # @return [Array<Types::OpsItemEventSummary>]
11789
+ #
11790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEventsResponse AWS API Documentation
11791
+ #
11792
+ class ListOpsItemEventsResponse < Struct.new(
11793
+ :next_token,
11794
+ :summaries)
11795
+ SENSITIVE = []
11796
+ include Aws::Structure
11797
+ end
11798
+
11799
+ # @note When making an API call, you may pass ListOpsMetadataRequest
11800
+ # data as a hash:
11801
+ #
11802
+ # {
11803
+ # filters: [
11804
+ # {
11805
+ # key: "OpsMetadataFilterKey", # required
11806
+ # values: ["OpsMetadataFilterValue"], # required
11807
+ # },
11808
+ # ],
11809
+ # max_results: 1,
11810
+ # next_token: "NextToken",
11811
+ # }
11812
+ #
11813
+ # @!attribute [rw] filters
11814
+ # One or more filters to limit the number of OpsMetadata objects
11815
+ # returned by the call.
11816
+ # @return [Array<Types::OpsMetadataFilter>]
11817
+ #
11818
+ # @!attribute [rw] max_results
11819
+ # The maximum number of items to return for this call. The call also
11820
+ # returns a token that you can specify in a subsequent call to get the
11821
+ # next set of results.
11822
+ # @return [Integer]
11823
+ #
11824
+ # @!attribute [rw] next_token
11825
+ # A token to start the list. Use this token to get the next set of
11826
+ # results.
11827
+ # @return [String]
11828
+ #
11829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataRequest AWS API Documentation
11830
+ #
11831
+ class ListOpsMetadataRequest < Struct.new(
11832
+ :filters,
11833
+ :max_results,
11834
+ :next_token)
11835
+ SENSITIVE = []
11836
+ include Aws::Structure
11837
+ end
11838
+
11839
+ # @!attribute [rw] ops_metadata_list
11840
+ # Returns a list of OpsMetadata objects.
11841
+ # @return [Array<Types::OpsMetadata>]
11842
+ #
11843
+ # @!attribute [rw] next_token
11844
+ # The token for the next set of items to return. Use this token to get
11845
+ # the next set of results.
11846
+ # @return [String]
11847
+ #
11848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataResult AWS API Documentation
11849
+ #
11850
+ class ListOpsMetadataResult < Struct.new(
11851
+ :ops_metadata_list,
11852
+ :next_token)
11853
+ SENSITIVE = []
11854
+ include Aws::Structure
11855
+ end
11856
+
11158
11857
  # @note When making an API call, you may pass ListResourceComplianceSummariesRequest
11159
11858
  # data as a hash:
11160
11859
  #
@@ -12198,6 +12897,27 @@ module Aws::SSM
12198
12897
  include Aws::Structure
12199
12898
  end
12200
12899
 
12900
+ # Metadata to assign to an Application Manager application.
12901
+ #
12902
+ # @note When making an API call, you may pass MetadataValue
12903
+ # data as a hash:
12904
+ #
12905
+ # {
12906
+ # value: "MetadataValueString",
12907
+ # }
12908
+ #
12909
+ # @!attribute [rw] value
12910
+ # Metadata value to assign to an Application Manager application.
12911
+ # @return [String]
12912
+ #
12913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MetadataValue AWS API Documentation
12914
+ #
12915
+ class MetadataValue < Struct.new(
12916
+ :value)
12917
+ SENSITIVE = []
12918
+ include Aws::Structure
12919
+ end
12920
+
12201
12921
  # @note When making an API call, you may pass ModifyDocumentPermissionRequest
12202
12922
  # data as a hash:
12203
12923
  #
@@ -12484,6 +13204,11 @@ module Aws::SSM
12484
13204
  # The ARN of the AWS account that created the OpsItem.
12485
13205
  # @return [String]
12486
13206
  #
13207
+ # @!attribute [rw] ops_item_type
13208
+ # The type of OpsItem. Currently, the only valid values are
13209
+ # `/aws/changerequest` and `/aws/issue`.
13210
+ # @return [String]
13211
+ #
12487
13212
  # @!attribute [rw] created_time
12488
13213
  # The date and time the OpsItem was created.
12489
13214
  # @return [Time]
@@ -12585,10 +13310,33 @@ module Aws::SSM
12585
13310
  # The severity of the OpsItem. Severity options range from 1 to 4.
12586
13311
  # @return [String]
12587
13312
  #
13313
+ # @!attribute [rw] actual_start_time
13314
+ # The time a runbook workflow started. Currently reported only for the
13315
+ # OpsItem type `/aws/changerequest`.
13316
+ # @return [Time]
13317
+ #
13318
+ # @!attribute [rw] actual_end_time
13319
+ # The time a runbook workflow ended. Currently reported only for the
13320
+ # OpsItem type `/aws/changerequest`.
13321
+ # @return [Time]
13322
+ #
13323
+ # @!attribute [rw] planned_start_time
13324
+ # The time specified in a change request for a runbook workflow to
13325
+ # start. Currently supported only for the OpsItem type
13326
+ # `/aws/changerequest`.
13327
+ # @return [Time]
13328
+ #
13329
+ # @!attribute [rw] planned_end_time
13330
+ # The time specified in a change request for a runbook workflow to
13331
+ # end. Currently supported only for the OpsItem type
13332
+ # `/aws/changerequest`.
13333
+ # @return [Time]
13334
+ #
12588
13335
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItem AWS API Documentation
12589
13336
  #
12590
13337
  class OpsItem < Struct.new(
12591
13338
  :created_by,
13339
+ :ops_item_type,
12592
13340
  :created_time,
12593
13341
  :description,
12594
13342
  :last_modified_by,
@@ -12603,7 +13351,11 @@ module Aws::SSM
12603
13351
  :source,
12604
13352
  :operational_data,
12605
13353
  :category,
12606
- :severity)
13354
+ :severity,
13355
+ :actual_start_time,
13356
+ :actual_end_time,
13357
+ :planned_start_time,
13358
+ :planned_end_time)
12607
13359
  SENSITIVE = []
12608
13360
  include Aws::Structure
12609
13361
  end
@@ -12654,13 +13406,95 @@ module Aws::SSM
12654
13406
  include Aws::Structure
12655
13407
  end
12656
13408
 
13409
+ # Describes a filter for a specific list of OpsItem events. You can
13410
+ # filter event information by using tags. You specify tags by using a
13411
+ # key-value pair mapping.
13412
+ #
13413
+ # @note When making an API call, you may pass OpsItemEventFilter
13414
+ # data as a hash:
13415
+ #
13416
+ # {
13417
+ # key: "OpsItemId", # required, accepts OpsItemId
13418
+ # values: ["OpsItemEventFilterValue"], # required
13419
+ # operator: "Equal", # required, accepts Equal
13420
+ # }
13421
+ #
13422
+ # @!attribute [rw] key
13423
+ # The name of the filter key. Currently, the only supported value is
13424
+ # `OpsItemId`.
13425
+ # @return [String]
13426
+ #
13427
+ # @!attribute [rw] values
13428
+ # The values for the filter, consisting of one or more OpsItem IDs.
13429
+ # @return [Array<String>]
13430
+ #
13431
+ # @!attribute [rw] operator
13432
+ # The operator used by the filter call. Currently, the only supported
13433
+ # value is `Equal`.
13434
+ # @return [String]
13435
+ #
13436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemEventFilter AWS API Documentation
13437
+ #
13438
+ class OpsItemEventFilter < Struct.new(
13439
+ :key,
13440
+ :values,
13441
+ :operator)
13442
+ SENSITIVE = []
13443
+ include Aws::Structure
13444
+ end
13445
+
13446
+ # Summary information about an OpsItem event.
13447
+ #
13448
+ # @!attribute [rw] ops_item_id
13449
+ # The ID of the OpsItem.
13450
+ # @return [String]
13451
+ #
13452
+ # @!attribute [rw] event_id
13453
+ # The ID of the OpsItem event.
13454
+ # @return [String]
13455
+ #
13456
+ # @!attribute [rw] source
13457
+ # The source of the OpsItem event.
13458
+ # @return [String]
13459
+ #
13460
+ # @!attribute [rw] detail_type
13461
+ # The type of information provided as a detail.
13462
+ # @return [String]
13463
+ #
13464
+ # @!attribute [rw] detail
13465
+ # Specific information about the OpsItem event.
13466
+ # @return [String]
13467
+ #
13468
+ # @!attribute [rw] created_by
13469
+ # Information about the user or resource that created the OpsItem
13470
+ # event.
13471
+ # @return [Types::OpsItemIdentity]
13472
+ #
13473
+ # @!attribute [rw] created_time
13474
+ # The date and time the OpsItem event was created.
13475
+ # @return [Time]
13476
+ #
13477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemEventSummary AWS API Documentation
13478
+ #
13479
+ class OpsItemEventSummary < Struct.new(
13480
+ :ops_item_id,
13481
+ :event_id,
13482
+ :source,
13483
+ :detail_type,
13484
+ :detail,
13485
+ :created_by,
13486
+ :created_time)
13487
+ SENSITIVE = []
13488
+ include Aws::Structure
13489
+ end
13490
+
12657
13491
  # Describes an OpsItem filter.
12658
13492
  #
12659
13493
  # @note When making an API call, you may pass OpsItemFilter
12660
13494
  # data as a hash:
12661
13495
  #
12662
13496
  # {
12663
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
13497
+ # 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
12664
13498
  # values: ["OpsItemFilterValue"], # required
12665
13499
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
12666
13500
  # }
@@ -12687,6 +13521,21 @@ module Aws::SSM
12687
13521
  include Aws::Structure
12688
13522
  end
12689
13523
 
13524
+ # Information about the user or resource that created an OpsItem event.
13525
+ #
13526
+ # @!attribute [rw] arn
13527
+ # The Amazon Resource Name (ARN) of the IAM entity that created the
13528
+ # OpsItem event.
13529
+ # @return [String]
13530
+ #
13531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemIdentity AWS API Documentation
13532
+ #
13533
+ class OpsItemIdentity < Struct.new(
13534
+ :arn)
13535
+ SENSITIVE = []
13536
+ include Aws::Structure
13537
+ end
13538
+
12690
13539
  # A specified parameter argument isn't valid. Verify the available
12691
13540
  # arguments and try again.
12692
13541
  #
@@ -12827,6 +13676,33 @@ module Aws::SSM
12827
13676
  # A list of OpsItems by severity.
12828
13677
  # @return [String]
12829
13678
  #
13679
+ # @!attribute [rw] ops_item_type
13680
+ # The type of OpsItem. Currently, the only valid values are
13681
+ # `/aws/changerequest` and `/aws/issue`.
13682
+ # @return [String]
13683
+ #
13684
+ # @!attribute [rw] actual_start_time
13685
+ # The time a runbook workflow started. Currently reported only for the
13686
+ # OpsItem type `/aws/changerequest`.
13687
+ # @return [Time]
13688
+ #
13689
+ # @!attribute [rw] actual_end_time
13690
+ # The time a runbook workflow ended. Currently reported only for the
13691
+ # OpsItem type `/aws/changerequest`.
13692
+ # @return [Time]
13693
+ #
13694
+ # @!attribute [rw] planned_start_time
13695
+ # The time specified in a change request for a runbook workflow to
13696
+ # start. Currently supported only for the OpsItem type
13697
+ # `/aws/changerequest`.
13698
+ # @return [Time]
13699
+ #
13700
+ # @!attribute [rw] planned_end_time
13701
+ # The time specified in a change request for a runbook workflow to
13702
+ # end. Currently supported only for the OpsItem type
13703
+ # `/aws/changerequest`.
13704
+ # @return [Time]
13705
+ #
12830
13706
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemSummary AWS API Documentation
12831
13707
  #
12832
13708
  class OpsItemSummary < Struct.new(
@@ -12841,7 +13717,155 @@ module Aws::SSM
12841
13717
  :title,
12842
13718
  :operational_data,
12843
13719
  :category,
12844
- :severity)
13720
+ :severity,
13721
+ :ops_item_type,
13722
+ :actual_start_time,
13723
+ :actual_end_time,
13724
+ :planned_start_time,
13725
+ :planned_end_time)
13726
+ SENSITIVE = []
13727
+ include Aws::Structure
13728
+ end
13729
+
13730
+ # Operational metadata for an application in Application Manager.
13731
+ #
13732
+ # @!attribute [rw] resource_id
13733
+ # The ID of the Application Manager application.
13734
+ # @return [String]
13735
+ #
13736
+ # @!attribute [rw] ops_metadata_arn
13737
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object or blob.
13738
+ # @return [String]
13739
+ #
13740
+ # @!attribute [rw] last_modified_date
13741
+ # The date the OpsMetadata object was last updated.
13742
+ # @return [Time]
13743
+ #
13744
+ # @!attribute [rw] last_modified_user
13745
+ # The user name who last updated the OpsMetadata object.
13746
+ # @return [String]
13747
+ #
13748
+ # @!attribute [rw] creation_date
13749
+ # The date the OpsMetadata objects was created.
13750
+ # @return [Time]
13751
+ #
13752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadata AWS API Documentation
13753
+ #
13754
+ class OpsMetadata < Struct.new(
13755
+ :resource_id,
13756
+ :ops_metadata_arn,
13757
+ :last_modified_date,
13758
+ :last_modified_user,
13759
+ :creation_date)
13760
+ SENSITIVE = []
13761
+ include Aws::Structure
13762
+ end
13763
+
13764
+ # An OpsMetadata object already exists for the selected resource.
13765
+ #
13766
+ # @!attribute [rw] message
13767
+ # @return [String]
13768
+ #
13769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataAlreadyExistsException AWS API Documentation
13770
+ #
13771
+ class OpsMetadataAlreadyExistsException < Struct.new(
13772
+ :message)
13773
+ SENSITIVE = []
13774
+ include Aws::Structure
13775
+ end
13776
+
13777
+ # A filter to limit the number of OpsMetadata objects displayed.
13778
+ #
13779
+ # @note When making an API call, you may pass OpsMetadataFilter
13780
+ # data as a hash:
13781
+ #
13782
+ # {
13783
+ # key: "OpsMetadataFilterKey", # required
13784
+ # values: ["OpsMetadataFilterValue"], # required
13785
+ # }
13786
+ #
13787
+ # @!attribute [rw] key
13788
+ # A filter key.
13789
+ # @return [String]
13790
+ #
13791
+ # @!attribute [rw] values
13792
+ # A filter value.
13793
+ # @return [Array<String>]
13794
+ #
13795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataFilter AWS API Documentation
13796
+ #
13797
+ class OpsMetadataFilter < Struct.new(
13798
+ :key,
13799
+ :values)
13800
+ SENSITIVE = []
13801
+ include Aws::Structure
13802
+ end
13803
+
13804
+ # One of the arguments passed is invalid.
13805
+ #
13806
+ # @!attribute [rw] message
13807
+ # @return [String]
13808
+ #
13809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataInvalidArgumentException AWS API Documentation
13810
+ #
13811
+ class OpsMetadataInvalidArgumentException < Struct.new(
13812
+ :message)
13813
+ SENSITIVE = []
13814
+ include Aws::Structure
13815
+ end
13816
+
13817
+ # The OpsMetadata object exceeds the maximum number of OpsMetadata keys
13818
+ # that you can assign to an application in Application Manager.
13819
+ #
13820
+ # @!attribute [rw] message
13821
+ # @return [String]
13822
+ #
13823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataKeyLimitExceededException AWS API Documentation
13824
+ #
13825
+ class OpsMetadataKeyLimitExceededException < Struct.new(
13826
+ :message)
13827
+ SENSITIVE = []
13828
+ include Aws::Structure
13829
+ end
13830
+
13831
+ # Your account reached the maximum number of OpsMetadata objects allowed
13832
+ # by Application Manager. The maximum is 200 OpsMetadata objects. Delete
13833
+ # one or more OpsMetadata object and try again.
13834
+ #
13835
+ # @!attribute [rw] message
13836
+ # @return [String]
13837
+ #
13838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataLimitExceededException AWS API Documentation
13839
+ #
13840
+ class OpsMetadataLimitExceededException < Struct.new(
13841
+ :message)
13842
+ SENSITIVE = []
13843
+ include Aws::Structure
13844
+ end
13845
+
13846
+ # The OpsMetadata object does not exist.
13847
+ #
13848
+ # @!attribute [rw] message
13849
+ # @return [String]
13850
+ #
13851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataNotFoundException AWS API Documentation
13852
+ #
13853
+ class OpsMetadataNotFoundException < Struct.new(
13854
+ :message)
13855
+ SENSITIVE = []
13856
+ include Aws::Structure
13857
+ end
13858
+
13859
+ # The system is processing too many concurrent updates. Wait a few
13860
+ # moments and try again.
13861
+ #
13862
+ # @!attribute [rw] message
13863
+ # @return [String]
13864
+ #
13865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataTooManyUpdatesException AWS API Documentation
13866
+ #
13867
+ class OpsMetadataTooManyUpdatesException < Struct.new(
13868
+ :message)
12845
13869
  SENSITIVE = []
12846
13870
  include Aws::Structure
12847
13871
  end
@@ -13095,7 +14119,31 @@ module Aws::SSM
13095
14119
  include Aws::Structure
13096
14120
  end
13097
14121
 
13098
- # The parameter exceeded the maximum number of allowed versions.
14122
+ # Parameter Store retains the 100 most recently created versions of a
14123
+ # parameter. After this number of versions has been created, Parameter
14124
+ # Store deletes the oldest version when a new one is created. However,
14125
+ # if the oldest version has a *label* attached to it, Parameter Store
14126
+ # will not delete the version and instead presents this error message:
14127
+ #
14128
+ # `An error occurred (ParameterMaxVersionLimitExceeded) when calling the
14129
+ # PutParameter operation: You attempted to create a new version of
14130
+ # parameter-name by calling the PutParameter API with the overwrite
14131
+ # flag. Version version-number, the oldest version, can't be deleted
14132
+ # because it has a label associated with it. Move the label to another
14133
+ # version of the parameter, and try again.`
14134
+ #
14135
+ # This safeguard is to prevent parameter versions with mission critical
14136
+ # labels assigned to them from being deleted. To continue creating new
14137
+ # parameters, first move the label from the oldest version of the
14138
+ # parameter to a newer one for use in your operations. For information
14139
+ # about moving parameter labels, see [Move a parameter label
14140
+ # (console)][1] or [Move a parameter label (CLI) ][2] in the *AWS
14141
+ # Systems Manager User Guide*.
14142
+ #
14143
+ #
14144
+ #
14145
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-console-move
14146
+ # [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-cli-move
13099
14147
  #
13100
14148
  # @!attribute [rw] message
13101
14149
  # @return [String]
@@ -13397,7 +14445,7 @@ module Aws::SSM
13397
14445
  #
13398
14446
  # @!attribute [rw] cve_ids
13399
14447
  # The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
13400
- # example, `CVE-1999-0067`. Applies to Linux-based instances only.
14448
+ # example, `CVE-2011-3192`. Applies to Linux-based instances only.
13401
14449
  # @return [Array<String>]
13402
14450
  #
13403
14451
  # @!attribute [rw] name
@@ -14660,7 +15708,7 @@ module Aws::SSM
14660
15708
  #
14661
15709
  # Specify maintenance window targets using the following format:
14662
15710
  #
14663
- # `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
15711
+ # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
14664
15712
  # @return [Array<Types::Target>]
14665
15713
  #
14666
15714
  # @!attribute [rw] task_arn
@@ -15490,6 +16538,126 @@ module Aws::SSM
15490
16538
  include Aws::Structure
15491
16539
  end
15492
16540
 
16541
+ # Information about the result of a document review request.
16542
+ #
16543
+ # @!attribute [rw] reviewed_time
16544
+ # The time that the reviewer took action on the document review
16545
+ # request.
16546
+ # @return [Time]
16547
+ #
16548
+ # @!attribute [rw] status
16549
+ # The current status of the document review request.
16550
+ # @return [String]
16551
+ #
16552
+ # @!attribute [rw] reviewer
16553
+ # The reviewer assigned to take action on the document review request.
16554
+ # @return [String]
16555
+ #
16556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ReviewInformation AWS API Documentation
16557
+ #
16558
+ class ReviewInformation < Struct.new(
16559
+ :reviewed_time,
16560
+ :status,
16561
+ :reviewer)
16562
+ SENSITIVE = []
16563
+ include Aws::Structure
16564
+ end
16565
+
16566
+ # Information about an Automation runbook (Automation document) used in
16567
+ # a runbook workflow in Change Manager.
16568
+ #
16569
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
16570
+ # until all required approvals for the change request have been
16571
+ # received.
16572
+ #
16573
+ # </note>
16574
+ #
16575
+ # @note When making an API call, you may pass Runbook
16576
+ # data as a hash:
16577
+ #
16578
+ # {
16579
+ # document_name: "DocumentARN", # required
16580
+ # document_version: "DocumentVersion",
16581
+ # parameters: {
16582
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
16583
+ # },
16584
+ # target_parameter_name: "AutomationParameterKey",
16585
+ # targets: [
16586
+ # {
16587
+ # key: "TargetKey",
16588
+ # values: ["TargetValue"],
16589
+ # },
16590
+ # ],
16591
+ # max_concurrency: "MaxConcurrency",
16592
+ # max_errors: "MaxErrors",
16593
+ # target_locations: [
16594
+ # {
16595
+ # accounts: ["Account"],
16596
+ # regions: ["Region"],
16597
+ # target_location_max_concurrency: "MaxConcurrency",
16598
+ # target_location_max_errors: "MaxErrors",
16599
+ # execution_role_name: "ExecutionRoleName",
16600
+ # },
16601
+ # ],
16602
+ # }
16603
+ #
16604
+ # @!attribute [rw] document_name
16605
+ # The name of the Automation runbook (Automation document) used in a
16606
+ # runbook workflow.
16607
+ # @return [String]
16608
+ #
16609
+ # @!attribute [rw] document_version
16610
+ # The version of the Automation runbook (Automation document) used in
16611
+ # a runbook workflow.
16612
+ # @return [String]
16613
+ #
16614
+ # @!attribute [rw] parameters
16615
+ # The key-value map of execution parameters, which were supplied when
16616
+ # calling `StartChangeRequestExecution`.
16617
+ # @return [Hash<String,Array<String>>]
16618
+ #
16619
+ # @!attribute [rw] target_parameter_name
16620
+ # The name of the parameter used as the target resource for the
16621
+ # rate-controlled runbook workflow. Required if you specify `Targets`.
16622
+ # @return [String]
16623
+ #
16624
+ # @!attribute [rw] targets
16625
+ # A key-value mapping to target resources that the Runbook operation
16626
+ # performs tasks on. Required if you specify `TargetParameterName`.
16627
+ # @return [Array<Types::Target>]
16628
+ #
16629
+ # @!attribute [rw] max_concurrency
16630
+ # The `MaxConcurrency` value specified by the user when the operation
16631
+ # started, indicating the maximum number of resources that the runbook
16632
+ # operation can run on at the same time.
16633
+ # @return [String]
16634
+ #
16635
+ # @!attribute [rw] max_errors
16636
+ # The `MaxErrors` value specified by the user when the execution
16637
+ # started, indicating the maximum number of errors that can occur
16638
+ # during the operation before the updates are stopped or rolled back.
16639
+ # @return [String]
16640
+ #
16641
+ # @!attribute [rw] target_locations
16642
+ # Information about the AWS Regions and accounts targeted by the
16643
+ # current Runbook operation.
16644
+ # @return [Array<Types::TargetLocation>]
16645
+ #
16646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Runbook AWS API Documentation
16647
+ #
16648
+ class Runbook < Struct.new(
16649
+ :document_name,
16650
+ :document_version,
16651
+ :parameters,
16652
+ :target_parameter_name,
16653
+ :targets,
16654
+ :max_concurrency,
16655
+ :max_errors,
16656
+ :target_locations)
16657
+ SENSITIVE = []
16658
+ include Aws::Structure
16659
+ end
16660
+
15493
16661
  # An S3 bucket where you want to store the results of this request.
15494
16662
  #
15495
16663
  # @note When making an API call, you may pass S3OutputLocation
@@ -15985,7 +17153,7 @@ module Aws::SSM
15985
17153
  # data as a hash:
15986
17154
  #
15987
17155
  # {
15988
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
17156
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
15989
17157
  # value: "SessionFilterValue", # required
15990
17158
  # }
15991
17159
  #
@@ -16024,6 +17192,9 @@ module Aws::SSM
16024
17192
  # * Terminating
16025
17193
  #
16026
17194
  # * Failed
17195
+ #
17196
+ # * SessionId: Specify a session ID to return details about the
17197
+ # session.
16027
17198
  # @return [String]
16028
17199
  #
16029
17200
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SessionFilter AWS API Documentation
@@ -16296,6 +17467,141 @@ module Aws::SSM
16296
17467
  include Aws::Structure
16297
17468
  end
16298
17469
 
17470
+ # @note When making an API call, you may pass StartChangeRequestExecutionRequest
17471
+ # data as a hash:
17472
+ #
17473
+ # {
17474
+ # scheduled_time: Time.now,
17475
+ # document_name: "DocumentARN", # required
17476
+ # document_version: "DocumentVersion",
17477
+ # parameters: {
17478
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
17479
+ # },
17480
+ # change_request_name: "ChangeRequestName",
17481
+ # client_token: "IdempotencyToken",
17482
+ # runbooks: [ # required
17483
+ # {
17484
+ # document_name: "DocumentARN", # required
17485
+ # document_version: "DocumentVersion",
17486
+ # parameters: {
17487
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
17488
+ # },
17489
+ # target_parameter_name: "AutomationParameterKey",
17490
+ # targets: [
17491
+ # {
17492
+ # key: "TargetKey",
17493
+ # values: ["TargetValue"],
17494
+ # },
17495
+ # ],
17496
+ # max_concurrency: "MaxConcurrency",
17497
+ # max_errors: "MaxErrors",
17498
+ # target_locations: [
17499
+ # {
17500
+ # accounts: ["Account"],
17501
+ # regions: ["Region"],
17502
+ # target_location_max_concurrency: "MaxConcurrency",
17503
+ # target_location_max_errors: "MaxErrors",
17504
+ # execution_role_name: "ExecutionRoleName",
17505
+ # },
17506
+ # ],
17507
+ # },
17508
+ # ],
17509
+ # tags: [
17510
+ # {
17511
+ # key: "TagKey", # required
17512
+ # value: "TagValue", # required
17513
+ # },
17514
+ # ],
17515
+ # }
17516
+ #
17517
+ # @!attribute [rw] scheduled_time
17518
+ # The date and time specified in the change request to run the
17519
+ # Automation runbooks.
17520
+ #
17521
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
17522
+ # run until all required approvals for the change request have been
17523
+ # received.
17524
+ #
17525
+ # </note>
17526
+ # @return [Time]
17527
+ #
17528
+ # @!attribute [rw] document_name
17529
+ # The name of the change template document to run during the runbook
17530
+ # workflow.
17531
+ # @return [String]
17532
+ #
17533
+ # @!attribute [rw] document_version
17534
+ # The version of the change template document to run during the
17535
+ # runbook workflow.
17536
+ # @return [String]
17537
+ #
17538
+ # @!attribute [rw] parameters
17539
+ # A key-value map of parameters that match the declared parameters in
17540
+ # the change template document.
17541
+ # @return [Hash<String,Array<String>>]
17542
+ #
17543
+ # @!attribute [rw] change_request_name
17544
+ # The name of the change request associated with the runbook workflow
17545
+ # to be run.
17546
+ # @return [String]
17547
+ #
17548
+ # @!attribute [rw] client_token
17549
+ # The user-provided idempotency token. The token must be unique, is
17550
+ # case insensitive, enforces the UUID format, and can't be reused.
17551
+ # @return [String]
17552
+ #
17553
+ # @!attribute [rw] runbooks
17554
+ # Information about the Automation runbooks (Automation documents)
17555
+ # that are run during the runbook workflow.
17556
+ #
17557
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
17558
+ # run until all required approvals for the change request have been
17559
+ # received.
17560
+ #
17561
+ # </note>
17562
+ # @return [Array<Types::Runbook>]
17563
+ #
17564
+ # @!attribute [rw] tags
17565
+ # Optional metadata that you assign to a resource. You can specify a
17566
+ # maximum of five tags for a change request. Tags enable you to
17567
+ # categorize a resource in different ways, such as by purpose, owner,
17568
+ # or environment. For example, you might want to tag a change request
17569
+ # to identify an environment or target AWS Region. In this case, you
17570
+ # could specify the following key-value pairs:
17571
+ #
17572
+ # * `Key=Environment,Value=Production`
17573
+ #
17574
+ # * `Key=Region,Value=us-east-2`
17575
+ # @return [Array<Types::Tag>]
17576
+ #
17577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionRequest AWS API Documentation
17578
+ #
17579
+ class StartChangeRequestExecutionRequest < Struct.new(
17580
+ :scheduled_time,
17581
+ :document_name,
17582
+ :document_version,
17583
+ :parameters,
17584
+ :change_request_name,
17585
+ :client_token,
17586
+ :runbooks,
17587
+ :tags)
17588
+ SENSITIVE = []
17589
+ include Aws::Structure
17590
+ end
17591
+
17592
+ # @!attribute [rw] automation_execution_id
17593
+ # The unique ID of a runbook workflow operation. (A runbook workflow
17594
+ # is a type of Automation operation.)
17595
+ # @return [String]
17596
+ #
17597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionResult AWS API Documentation
17598
+ #
17599
+ class StartChangeRequestExecutionResult < Struct.new(
17600
+ :automation_execution_id)
17601
+ SENSITIVE = []
17602
+ include Aws::Structure
17603
+ end
17604
+
16299
17605
  # @note When making an API call, you may pass StartSessionRequest
16300
17606
  # data as a hash:
16301
17607
  #
@@ -16743,7 +18049,7 @@ module Aws::SSM
16743
18049
  #
16744
18050
  # @!attribute [rw] target_location_max_concurrency
16745
18051
  # The maximum number of AWS accounts and AWS regions allowed to run
16746
- # the Automation concurrently
18052
+ # the Automation concurrently.
16747
18053
  # @return [String]
16748
18054
  #
16749
18055
  # @!attribute [rw] target_location_max_errors
@@ -16754,7 +18060,8 @@ module Aws::SSM
16754
18060
  #
16755
18061
  # @!attribute [rw] execution_role_name
16756
18062
  # The Automation execution role used by the currently running
16757
- # Automation.
18063
+ # Automation. If not specified, the default value is
18064
+ # `AWS-SystemsManager-AutomationExecutionRole`.
16758
18065
  # @return [String]
16759
18066
  #
16760
18067
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TargetLocation AWS API Documentation
@@ -16999,6 +18306,15 @@ module Aws::SSM
16999
18306
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
17000
18307
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
17001
18308
  # apply_only_at_cron_interval: false,
18309
+ # target_locations: [
18310
+ # {
18311
+ # accounts: ["Account"],
18312
+ # regions: ["Region"],
18313
+ # target_location_max_concurrency: "MaxConcurrency",
18314
+ # target_location_max_errors: "MaxErrors",
18315
+ # execution_role_name: "ExecutionRoleName",
18316
+ # },
18317
+ # ],
17002
18318
  # }
17003
18319
  #
17004
18320
  # @!attribute [rw] association_id
@@ -17123,7 +18439,8 @@ module Aws::SSM
17123
18439
  # By default, when you update an association, the system runs it
17124
18440
  # immediately after it is updated and then according to the schedule
17125
18441
  # you specified. Specify this option if you don't want an association
17126
- # to run immediately after you update it.
18442
+ # to run immediately after you update it. This parameter is not
18443
+ # supported for rate expressions.
17127
18444
  #
17128
18445
  # Also, if you specified this option when you created the association,
17129
18446
  # you can reset it. To do so, specify the
@@ -17133,6 +18450,12 @@ module Aws::SSM
17133
18450
  # the interval specified.
17134
18451
  # @return [Boolean]
17135
18452
  #
18453
+ # @!attribute [rw] target_locations
18454
+ # A location is a combination of AWS Regions and AWS accounts where
18455
+ # you want to run the association. Use this action to update an
18456
+ # association in multiple Regions and multiple accounts.
18457
+ # @return [Array<Types::TargetLocation>]
18458
+ #
17136
18459
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
17137
18460
  #
17138
18461
  class UpdateAssociationRequest < Struct.new(
@@ -17150,7 +18473,8 @@ module Aws::SSM
17150
18473
  :max_concurrency,
17151
18474
  :compliance_severity,
17152
18475
  :sync_compliance,
17153
- :apply_only_at_cron_interval)
18476
+ :apply_only_at_cron_interval,
18477
+ :target_locations)
17154
18478
  SENSITIVE = []
17155
18479
  include Aws::Structure
17156
18480
  end
@@ -17255,6 +18579,49 @@ module Aws::SSM
17255
18579
  include Aws::Structure
17256
18580
  end
17257
18581
 
18582
+ # @note When making an API call, you may pass UpdateDocumentMetadataRequest
18583
+ # data as a hash:
18584
+ #
18585
+ # {
18586
+ # name: "DocumentName", # required
18587
+ # document_version: "DocumentVersion",
18588
+ # document_reviews: { # required
18589
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
18590
+ # comment: [
18591
+ # {
18592
+ # type: "Comment", # accepts Comment
18593
+ # content: "DocumentReviewComment",
18594
+ # },
18595
+ # ],
18596
+ # },
18597
+ # }
18598
+ #
18599
+ # @!attribute [rw] name
18600
+ # The name of the document for which a version is to be updated.
18601
+ # @return [String]
18602
+ #
18603
+ # @!attribute [rw] document_version
18604
+ # The version of a document to update.
18605
+ # @return [String]
18606
+ #
18607
+ # @!attribute [rw] document_reviews
18608
+ # The document review details to update.
18609
+ # @return [Types::DocumentReviews]
18610
+ #
18611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadataRequest AWS API Documentation
18612
+ #
18613
+ class UpdateDocumentMetadataRequest < Struct.new(
18614
+ :name,
18615
+ :document_version,
18616
+ :document_reviews)
18617
+ SENSITIVE = []
18618
+ include Aws::Structure
18619
+ end
18620
+
18621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadataResponse AWS API Documentation
18622
+ #
18623
+ class UpdateDocumentMetadataResponse < Aws::EmptyStructure; end
18624
+
17258
18625
  # @note When making an API call, you may pass UpdateDocumentRequest
17259
18626
  # data as a hash:
17260
18627
  #
@@ -17371,8 +18738,8 @@ module Aws::SSM
17371
18738
  # @!attribute [rw] start_date
17372
18739
  # The time zone that the scheduled maintenance window executions are
17373
18740
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17374
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17375
- # For more information, see the [Time Zone Database][1] on the IANA
18741
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18742
+ # more information, see the [Time Zone Database][1] on the IANA
17376
18743
  # website.
17377
18744
  #
17378
18745
  #
@@ -17395,8 +18762,8 @@ module Aws::SSM
17395
18762
  # @!attribute [rw] schedule_timezone
17396
18763
  # The time zone that the scheduled maintenance window executions are
17397
18764
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17398
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17399
- # For more information, see the [Time Zone Database][1] on the IANA
18765
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18766
+ # more information, see the [Time Zone Database][1] on the IANA
17400
18767
  # website.
17401
18768
  #
17402
18769
  #
@@ -17411,7 +18778,7 @@ module Aws::SSM
17411
18778
  # For example, the following cron expression schedules a maintenance
17412
18779
  # window to run the third Tuesday of every month at 11:30 PM.
17413
18780
  #
17414
- # `cron(0 30 23 ? * TUE#3 *)`
18781
+ # `cron(30 23 ? * TUE#3 *)`
17415
18782
  #
17416
18783
  # If the schedule offset is `2`, the maintenance window won't run
17417
18784
  # until two days later.
@@ -17493,8 +18860,8 @@ module Aws::SSM
17493
18860
  # @!attribute [rw] schedule_timezone
17494
18861
  # The time zone that the scheduled maintenance window executions are
17495
18862
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17496
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17497
- # For more information, see the [Time Zone Database][1] on the IANA
18863
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18864
+ # more information, see the [Time Zone Database][1] on the IANA
17498
18865
  # website.
17499
18866
  #
17500
18867
  #
@@ -18002,11 +19369,15 @@ module Aws::SSM
18002
19369
  # ops_item_id: "String", # required
18003
19370
  # },
18004
19371
  # ],
18005
- # status: "Open", # accepts Open, InProgress, Resolved
19372
+ # status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
18006
19373
  # ops_item_id: "OpsItemId", # required
18007
19374
  # title: "OpsItemTitle",
18008
19375
  # category: "OpsItemCategory",
18009
19376
  # severity: "OpsItemSeverity",
19377
+ # actual_start_time: Time.now,
19378
+ # actual_end_time: Time.now,
19379
+ # planned_start_time: Time.now,
19380
+ # planned_end_time: Time.now,
18010
19381
  # }
18011
19382
  #
18012
19383
  # @!attribute [rw] description
@@ -18096,6 +19467,28 @@ module Aws::SSM
18096
19467
  # Specify a new severity for an OpsItem.
18097
19468
  # @return [String]
18098
19469
  #
19470
+ # @!attribute [rw] actual_start_time
19471
+ # The time a runbook workflow started. Currently reported only for the
19472
+ # OpsItem type `/aws/changerequest`.
19473
+ # @return [Time]
19474
+ #
19475
+ # @!attribute [rw] actual_end_time
19476
+ # The time a runbook workflow ended. Currently reported only for the
19477
+ # OpsItem type `/aws/changerequest`.
19478
+ # @return [Time]
19479
+ #
19480
+ # @!attribute [rw] planned_start_time
19481
+ # The time specified in a change request for a runbook workflow to
19482
+ # start. Currently supported only for the OpsItem type
19483
+ # `/aws/changerequest`.
19484
+ # @return [Time]
19485
+ #
19486
+ # @!attribute [rw] planned_end_time
19487
+ # The time specified in a change request for a runbook workflow to
19488
+ # end. Currently supported only for the OpsItem type
19489
+ # `/aws/changerequest`.
19490
+ # @return [Time]
19491
+ #
18099
19492
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItemRequest AWS API Documentation
18100
19493
  #
18101
19494
  class UpdateOpsItemRequest < Struct.new(
@@ -18109,7 +19502,11 @@ module Aws::SSM
18109
19502
  :ops_item_id,
18110
19503
  :title,
18111
19504
  :category,
18112
- :severity)
19505
+ :severity,
19506
+ :actual_start_time,
19507
+ :actual_end_time,
19508
+ :planned_start_time,
19509
+ :planned_end_time)
18113
19510
  SENSITIVE = []
18114
19511
  include Aws::Structure
18115
19512
  end
@@ -18118,6 +19515,54 @@ module Aws::SSM
18118
19515
  #
18119
19516
  class UpdateOpsItemResponse < Aws::EmptyStructure; end
18120
19517
 
19518
+ # @note When making an API call, you may pass UpdateOpsMetadataRequest
19519
+ # data as a hash:
19520
+ #
19521
+ # {
19522
+ # ops_metadata_arn: "OpsMetadataArn", # required
19523
+ # metadata_to_update: {
19524
+ # "MetadataKey" => {
19525
+ # value: "MetadataValueString",
19526
+ # },
19527
+ # },
19528
+ # keys_to_delete: ["MetadataKey"],
19529
+ # }
19530
+ #
19531
+ # @!attribute [rw] ops_metadata_arn
19532
+ # The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
19533
+ # @return [String]
19534
+ #
19535
+ # @!attribute [rw] metadata_to_update
19536
+ # Metadata to add to an OpsMetadata object.
19537
+ # @return [Hash<String,Types::MetadataValue>]
19538
+ #
19539
+ # @!attribute [rw] keys_to_delete
19540
+ # The metadata keys to delete from the OpsMetadata object.
19541
+ # @return [Array<String>]
19542
+ #
19543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataRequest AWS API Documentation
19544
+ #
19545
+ class UpdateOpsMetadataRequest < Struct.new(
19546
+ :ops_metadata_arn,
19547
+ :metadata_to_update,
19548
+ :keys_to_delete)
19549
+ SENSITIVE = []
19550
+ include Aws::Structure
19551
+ end
19552
+
19553
+ # @!attribute [rw] ops_metadata_arn
19554
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object that was
19555
+ # updated.
19556
+ # @return [String]
19557
+ #
19558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataResult AWS API Documentation
19559
+ #
19560
+ class UpdateOpsMetadataResult < Struct.new(
19561
+ :ops_metadata_arn)
19562
+ SENSITIVE = []
19563
+ include Aws::Structure
19564
+ end
19565
+
18121
19566
  # @note When making an API call, you may pass UpdatePatchBaselineRequest
18122
19567
  # data as a hash:
18123
19568
  #