aws-sdk-ssm 1.97.0 → 1.102.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,15 +1214,12 @@ 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, TargetResourceGroup
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
- # One or more keys to limit the results. Valid filter keys include the
1151
- # following: DocumentNamePrefix, ExecutionStatus, ExecutionId,
1152
- # ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter,
1153
- # TargetResourceGroup.
1222
+ # One or more keys to limit the results.
1154
1223
  # @return [String]
1155
1224
  #
1156
1225
  # @!attribute [rw] values
@@ -1283,6 +1352,40 @@ module Aws::SSM
1283
1352
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
1284
1353
  # @return [String]
1285
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
+ #
1286
1389
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata AWS API Documentation
1287
1390
  #
1288
1391
  class AutomationExecutionMetadata < Struct.new(
@@ -1307,7 +1410,13 @@ module Aws::SSM
1307
1410
  :max_concurrency,
1308
1411
  :max_errors,
1309
1412
  :target,
1310
- :automation_type)
1413
+ :automation_type,
1414
+ :automation_subtype,
1415
+ :scheduled_time,
1416
+ :runbooks,
1417
+ :ops_item_id,
1418
+ :association_id,
1419
+ :change_request_name)
1311
1420
  SENSITIVE = []
1312
1421
  include Aws::Structure
1313
1422
  end
@@ -2428,6 +2537,15 @@ module Aws::SSM
2428
2537
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2429
2538
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2430
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
+ # ],
2431
2549
  # },
2432
2550
  # ],
2433
2551
  # }
@@ -2478,6 +2596,15 @@ module Aws::SSM
2478
2596
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2479
2597
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2480
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
+ # ],
2481
2608
  # }
2482
2609
  #
2483
2610
  # @!attribute [rw] name
@@ -2593,9 +2720,15 @@ module Aws::SSM
2593
2720
  # By default, when you create a new associations, the system runs it
2594
2721
  # immediately after it is created and then according to the schedule
2595
2722
  # you specified. Specify this option if you don't want an association
2596
- # to run immediately after you create it.
2723
+ # to run immediately after you create it. This parameter is not
2724
+ # supported for rate expressions.
2597
2725
  # @return [Boolean]
2598
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
+ #
2599
2732
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
2600
2733
  #
2601
2734
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -2612,7 +2745,8 @@ module Aws::SSM
2612
2745
  :max_concurrency,
2613
2746
  :compliance_severity,
2614
2747
  :sync_compliance,
2615
- :apply_only_at_cron_interval)
2748
+ :apply_only_at_cron_interval,
2749
+ :target_locations)
2616
2750
  SENSITIVE = []
2617
2751
  include Aws::Structure
2618
2752
  end
@@ -2665,6 +2799,15 @@ module Aws::SSM
2665
2799
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
2666
2800
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
2667
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
+ # ],
2668
2811
  # }
2669
2812
  #
2670
2813
  # @!attribute [rw] name
@@ -2801,9 +2944,16 @@ module Aws::SSM
2801
2944
  # By default, when you create a new associations, the system runs it
2802
2945
  # immediately after it is created and then according to the schedule
2803
2946
  # you specified. Specify this option if you don't want an association
2804
- # to run immediately after you create it.
2947
+ # to run immediately after you create it. This parameter is not
2948
+ # supported for rate expressions.
2805
2949
  # @return [Boolean]
2806
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
+ #
2807
2957
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
2808
2958
  #
2809
2959
  class CreateAssociationRequest < Struct.new(
@@ -2820,7 +2970,8 @@ module Aws::SSM
2820
2970
  :max_concurrency,
2821
2971
  :compliance_severity,
2822
2972
  :sync_compliance,
2823
- :apply_only_at_cron_interval)
2973
+ :apply_only_at_cron_interval,
2974
+ :target_locations)
2824
2975
  SENSITIVE = []
2825
2976
  include Aws::Structure
2826
2977
  end
@@ -2857,7 +3008,7 @@ module Aws::SSM
2857
3008
  # ],
2858
3009
  # name: "DocumentName", # required
2859
3010
  # version_name: "DocumentVersionName",
2860
- # 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
2861
3012
  # document_format: "YAML", # accepts YAML, JSON, TEXT
2862
3013
  # target_type: "TargetType",
2863
3014
  # tags: [
@@ -3052,8 +3203,8 @@ module Aws::SSM
3052
3203
  # @!attribute [rw] schedule_timezone
3053
3204
  # The time zone that the scheduled maintenance window executions are
3054
3205
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
3055
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
3056
- # 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
3057
3208
  # website.
3058
3209
  #
3059
3210
  #
@@ -3068,7 +3219,7 @@ module Aws::SSM
3068
3219
  # For example, the following cron expression schedules a maintenance
3069
3220
  # window to run on the third Tuesday of every month at 11:30 PM.
3070
3221
  #
3071
- # `cron(0 30 23 ? * TUE#3 *)`
3222
+ # `cron(30 23 ? * TUE#3 *)`
3072
3223
  #
3073
3224
  # If the schedule offset is `2`, the maintenance window won't run
3074
3225
  # until two days later.
@@ -3157,6 +3308,7 @@ module Aws::SSM
3157
3308
  #
3158
3309
  # {
3159
3310
  # description: "OpsItemDescription", # required
3311
+ # ops_item_type: "OpsItemType",
3160
3312
  # operational_data: {
3161
3313
  # "OpsItemDataKey" => {
3162
3314
  # value: "OpsItemDataValueString",
@@ -3184,12 +3336,21 @@ module Aws::SSM
3184
3336
  # ],
3185
3337
  # category: "OpsItemCategory",
3186
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,
3187
3343
  # }
3188
3344
  #
3189
3345
  # @!attribute [rw] description
3190
3346
  # Information about the OpsItem.
3191
3347
  # @return [String]
3192
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
+ #
3193
3354
  # @!attribute [rw] operational_data
3194
3355
  # Operational data is custom data that provides useful reference
3195
3356
  # details about the OpsItem. For example, you can specify log files,
@@ -3279,10 +3440,33 @@ module Aws::SSM
3279
3440
  # Specify a severity to assign to an OpsItem.
3280
3441
  # @return [String]
3281
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
+ #
3282
3465
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItemRequest AWS API Documentation
3283
3466
  #
3284
3467
  class CreateOpsItemRequest < Struct.new(
3285
3468
  :description,
3469
+ :ops_item_type,
3286
3470
  :operational_data,
3287
3471
  :notifications,
3288
3472
  :priority,
@@ -3291,7 +3475,11 @@ module Aws::SSM
3291
3475
  :title,
3292
3476
  :tags,
3293
3477
  :category,
3294
- :severity)
3478
+ :severity,
3479
+ :actual_start_time,
3480
+ :actual_end_time,
3481
+ :planned_start_time,
3482
+ :planned_end_time)
3295
3483
  SENSITIVE = []
3296
3484
  include Aws::Structure
3297
3485
  end
@@ -3308,11 +3496,53 @@ module Aws::SSM
3308
3496
  include Aws::Structure
3309
3497
  end
3310
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
+
3311
3541
  # @note When making an API call, you may pass CreatePatchBaselineRequest
3312
3542
  # data as a hash:
3313
3543
  #
3314
3544
  # {
3315
- # 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
3316
3546
  # name: "BaselineName", # required
3317
3547
  # global_filters: {
3318
3548
  # patch_filters: [ # required
@@ -3809,6 +4039,29 @@ module Aws::SSM
3809
4039
  include Aws::Structure
3810
4040
  end
3811
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
+
3812
4065
  # @note When making an API call, you may pass DeleteParameterRequest
3813
4066
  # data as a hash:
3814
4067
  #
@@ -4380,7 +4633,7 @@ module Aws::SSM
4380
4633
  # {
4381
4634
  # filters: [
4382
4635
  # {
4383
- # 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
4384
4637
  # values: ["AutomationExecutionFilterValue"], # required
4385
4638
  # },
4386
4639
  # ],
@@ -4566,6 +4819,8 @@ module Aws::SSM
4566
4819
  # {
4567
4820
  # name: "DocumentName", # required
4568
4821
  # permission_type: "Share", # required, accepts Share
4822
+ # max_results: 1,
4823
+ # next_token: "NextToken",
4569
4824
  # }
4570
4825
  #
4571
4826
  # @!attribute [rw] name
@@ -4577,11 +4832,24 @@ module Aws::SSM
4577
4832
  # *Share*.
4578
4833
  # @return [String]
4579
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
+ #
4580
4846
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionRequest AWS API Documentation
4581
4847
  #
4582
4848
  class DescribeDocumentPermissionRequest < Struct.new(
4583
4849
  :name,
4584
- :permission_type)
4850
+ :permission_type,
4851
+ :max_results,
4852
+ :next_token)
4585
4853
  SENSITIVE = []
4586
4854
  include Aws::Structure
4587
4855
  end
@@ -4596,11 +4864,17 @@ module Aws::SSM
4596
4864
  # version shared with each account.
4597
4865
  # @return [Array<Types::AccountSharingInfo>]
4598
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
+ #
4599
4872
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse AWS API Documentation
4600
4873
  #
4601
4874
  class DescribeDocumentPermissionResponse < Struct.new(
4602
4875
  :account_ids,
4603
- :account_sharing_info_list)
4876
+ :account_sharing_info_list,
4877
+ :next_token)
4604
4878
  SENSITIVE = []
4605
4879
  include Aws::Structure
4606
4880
  end
@@ -5691,7 +5965,7 @@ module Aws::SSM
5691
5965
  # {
5692
5966
  # ops_item_filters: [
5693
5967
  # {
5694
- # 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
5695
5969
  # values: ["OpsItemFilterValue"], # required
5696
5970
  # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
5697
5971
  # },
@@ -6096,7 +6370,7 @@ module Aws::SSM
6096
6370
  # data as a hash:
6097
6371
  #
6098
6372
  # {
6099
- # 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
6100
6374
  # property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
6101
6375
  # patch_set: "OS", # accepts OS, APPLICATION
6102
6376
  # max_results: 1,
@@ -6113,8 +6387,8 @@ module Aws::SSM
6113
6387
  #
6114
6388
  # @!attribute [rw] patch_set
6115
6389
  # Indicates whether to list patches for the Windows operating system
6116
- # or for Microsoft applications. Not applicable for Linux operating
6117
- # systems.
6390
+ # or for Microsoft applications. Not applicable for the Linux or macOS
6391
+ # operating systems.
6118
6392
  # @return [String]
6119
6393
  #
6120
6394
  # @!attribute [rw] max_results
@@ -6168,7 +6442,7 @@ module Aws::SSM
6168
6442
  # next_token: "NextToken",
6169
6443
  # filters: [
6170
6444
  # {
6171
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
6445
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
6172
6446
  # value: "SessionFilterValue", # required
6173
6447
  # },
6174
6448
  # ],
@@ -6375,6 +6649,27 @@ module Aws::SSM
6375
6649
  # `ApplicationConfigurationSchema` document.
6376
6650
  # @return [Array<Types::DocumentRequires>]
6377
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
+ #
6378
6673
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
6379
6674
  #
6380
6675
  class DocumentDescription < Struct.new(
@@ -6399,7 +6694,12 @@ module Aws::SSM
6399
6694
  :target_type,
6400
6695
  :tags,
6401
6696
  :attachments_information,
6402
- :requires)
6697
+ :requires,
6698
+ :author,
6699
+ :review_information,
6700
+ :approved_version,
6701
+ :pending_review_version,
6702
+ :review_status)
6403
6703
  SENSITIVE = []
6404
6704
  include Aws::Structure
6405
6705
  end
@@ -6488,6 +6788,14 @@ module Aws::SSM
6488
6788
  # `ApplicationConfigurationSchema` document.
6489
6789
  # @return [Array<Types::DocumentRequires>]
6490
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
+ #
6491
6799
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier AWS API Documentation
6492
6800
  #
6493
6801
  class DocumentIdentifier < Struct.new(
@@ -6501,7 +6809,9 @@ module Aws::SSM
6501
6809
  :document_format,
6502
6810
  :target_type,
6503
6811
  :tags,
6504
- :requires)
6812
+ :requires,
6813
+ :review_status,
6814
+ :author)
6505
6815
  SENSITIVE = []
6506
6816
  include Aws::Structure
6507
6817
  end
@@ -6622,6 +6932,20 @@ module Aws::SSM
6622
6932
  include Aws::Structure
6623
6933
  end
6624
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
+
6625
6949
  # Parameters specified in a System Manager document that run on the
6626
6950
  # server when the command is run.
6627
6951
  #
@@ -6699,6 +7023,114 @@ module Aws::SSM
6699
7023
  include Aws::Structure
6700
7024
  end
6701
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
+
6702
7134
  # Version information about the document.
6703
7135
  #
6704
7136
  # @!attribute [rw] name
@@ -6739,6 +7171,11 @@ module Aws::SSM
6739
7171
  # exist. Verify that the URL of the S3 bucket is correct."
6740
7172
  # @return [String]
6741
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
+ #
6742
7179
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo AWS API Documentation
6743
7180
  #
6744
7181
  class DocumentVersionInfo < Struct.new(
@@ -6749,7 +7186,8 @@ module Aws::SSM
6749
7186
  :is_default_version,
6750
7187
  :document_format,
6751
7188
  :status,
6752
- :status_information)
7189
+ :status_information,
7190
+ :review_status)
6753
7191
  SENSITIVE = []
6754
7192
  include Aws::Structure
6755
7193
  end
@@ -7276,7 +7714,7 @@ module Aws::SSM
7276
7714
  # data as a hash:
7277
7715
  #
7278
7716
  # {
7279
- # 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
7280
7718
  # }
7281
7719
  #
7282
7720
  # @!attribute [rw] operating_system
@@ -7454,6 +7892,19 @@ module Aws::SSM
7454
7892
  # locations, sizes, and so on.
7455
7893
  # @return [Array<Types::AttachmentContent>]
7456
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
+ #
7457
7908
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult AWS API Documentation
7458
7909
  #
7459
7910
  class GetDocumentResult < Struct.new(
@@ -7466,7 +7917,8 @@ module Aws::SSM
7466
7917
  :document_type,
7467
7918
  :document_format,
7468
7919
  :requires,
7469
- :attachments_content)
7920
+ :attachments_content,
7921
+ :review_status)
7470
7922
  SENSITIVE = []
7471
7923
  include Aws::Structure
7472
7924
  end
@@ -7966,8 +8418,8 @@ module Aws::SSM
7966
8418
  # @!attribute [rw] schedule_timezone
7967
8419
  # The time zone that the scheduled maintenance window executions are
7968
8420
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
7969
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
7970
- # 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
7971
8423
  # website.
7972
8424
  #
7973
8425
  #
@@ -8113,11 +8565,27 @@ module Aws::SSM
8113
8565
  #
8114
8566
  # @!attribute [rw] max_concurrency
8115
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>
8116
8576
  # @return [String]
8117
8577
  #
8118
8578
  # @!attribute [rw] max_errors
8119
8579
  # The maximum number of errors allowed before the task stops being
8120
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>
8121
8589
  # @return [String]
8122
8590
  #
8123
8591
  # @!attribute [rw] logging_info
@@ -8193,17 +8661,74 @@ module Aws::SSM
8193
8661
  include Aws::Structure
8194
8662
  end
8195
8663
 
8196
- # @note When making an API call, you may pass GetOpsSummaryRequest
8664
+ # @note When making an API call, you may pass GetOpsMetadataRequest
8197
8665
  # data as a hash:
8198
8666
  #
8199
8667
  # {
8200
- # sync_name: "ResourceDataSyncName",
8201
- # filters: [
8202
- # {
8203
- # key: "OpsFilterKey", # required
8204
- # values: ["OpsFilterValue"], # required
8205
- # type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
8206
- # },
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
+ # },
8207
8732
  # ],
8208
8733
  # aggregators: [
8209
8734
  # {
@@ -8410,9 +8935,11 @@ module Aws::SSM
8410
8935
  #
8411
8936
  # @!attribute [rw] path
8412
8937
  # The hierarchy for the parameter. Hierarchies start with a forward
8413
- # slash (/) and end with the parameter name. A parameter name
8414
- # hierarchy can have a maximum of 15 levels. Here is an example of a
8415
- # 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 `
8416
8943
  # @return [String]
8417
8944
  #
8418
8945
  # @!attribute [rw] recursive
@@ -8534,7 +9061,7 @@ module Aws::SSM
8534
9061
  #
8535
9062
  # {
8536
9063
  # patch_group: "PatchGroup", # required
8537
- # 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
8538
9065
  # }
8539
9066
  #
8540
9067
  # @!attribute [rw] patch_group
@@ -8977,7 +9504,8 @@ module Aws::SSM
8977
9504
  # @return [String]
8978
9505
  #
8979
9506
  # @!attribute [rw] last_ping_date_time
8980
- # 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.
8981
9509
  # @return [Time]
8982
9510
  #
8983
9511
  # @!attribute [rw] agent_version
@@ -10607,6 +11135,13 @@ module Aws::SSM
10607
11135
  # @!attribute [rw] association_filter_list
10608
11136
  # One or more filters. Use a filter to return a more specific list of
10609
11137
  # results.
11138
+ #
11139
+ # <note markdown="1"> Filtering associations using the `InstanceID` attribute only returns
11140
+ # legacy associations created using the `InstanceID` attribute.
11141
+ # Associations targeting the instance that are part of the Target
11142
+ # Attributes `ResourceGroup` or `Tags` are not returned.
11143
+ #
11144
+ # </note>
10610
11145
  # @return [Array<Types::AssociationFilter>]
10611
11146
  #
10612
11147
  # @!attribute [rw] max_results
@@ -10936,6 +11471,88 @@ module Aws::SSM
10936
11471
  include Aws::Structure
10937
11472
  end
10938
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
+
10939
11556
  # @note When making an API call, you may pass ListDocumentVersionsRequest
10940
11557
  # data as a hash:
10941
11558
  #
@@ -11156,6 +11773,123 @@ module Aws::SSM
11156
11773
  include Aws::Structure
11157
11774
  end
11158
11775
 
11776
+ # @note When making an API call, you may pass ListOpsItemEventsRequest
11777
+ # data as a hash:
11778
+ #
11779
+ # {
11780
+ # filters: [
11781
+ # {
11782
+ # key: "OpsItemId", # required, accepts OpsItemId
11783
+ # values: ["OpsItemEventFilterValue"], # required
11784
+ # operator: "Equal", # required, accepts Equal
11785
+ # },
11786
+ # ],
11787
+ # max_results: 1,
11788
+ # next_token: "String",
11789
+ # }
11790
+ #
11791
+ # @!attribute [rw] filters
11792
+ # One or more OpsItem filters. Use a filter to return a more specific
11793
+ # list of results.
11794
+ # @return [Array<Types::OpsItemEventFilter>]
11795
+ #
11796
+ # @!attribute [rw] max_results
11797
+ # The maximum number of items to return for this call. The call also
11798
+ # returns a token that you can specify in a subsequent call to get the
11799
+ # next set of results.
11800
+ # @return [Integer]
11801
+ #
11802
+ # @!attribute [rw] next_token
11803
+ # A token to start the list. Use this token to get the next set of
11804
+ # results.
11805
+ # @return [String]
11806
+ #
11807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEventsRequest AWS API Documentation
11808
+ #
11809
+ class ListOpsItemEventsRequest < Struct.new(
11810
+ :filters,
11811
+ :max_results,
11812
+ :next_token)
11813
+ SENSITIVE = []
11814
+ include Aws::Structure
11815
+ end
11816
+
11817
+ # @!attribute [rw] next_token
11818
+ # The token for the next set of items to return. Use this token to get
11819
+ # the next set of results.
11820
+ # @return [String]
11821
+ #
11822
+ # @!attribute [rw] summaries
11823
+ # A list of event information for the specified OpsItems.
11824
+ # @return [Array<Types::OpsItemEventSummary>]
11825
+ #
11826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEventsResponse AWS API Documentation
11827
+ #
11828
+ class ListOpsItemEventsResponse < Struct.new(
11829
+ :next_token,
11830
+ :summaries)
11831
+ SENSITIVE = []
11832
+ include Aws::Structure
11833
+ end
11834
+
11835
+ # @note When making an API call, you may pass ListOpsMetadataRequest
11836
+ # data as a hash:
11837
+ #
11838
+ # {
11839
+ # filters: [
11840
+ # {
11841
+ # key: "OpsMetadataFilterKey", # required
11842
+ # values: ["OpsMetadataFilterValue"], # required
11843
+ # },
11844
+ # ],
11845
+ # max_results: 1,
11846
+ # next_token: "NextToken",
11847
+ # }
11848
+ #
11849
+ # @!attribute [rw] filters
11850
+ # One or more filters to limit the number of OpsMetadata objects
11851
+ # returned by the call.
11852
+ # @return [Array<Types::OpsMetadataFilter>]
11853
+ #
11854
+ # @!attribute [rw] max_results
11855
+ # The maximum number of items to return for this call. The call also
11856
+ # returns a token that you can specify in a subsequent call to get the
11857
+ # next set of results.
11858
+ # @return [Integer]
11859
+ #
11860
+ # @!attribute [rw] next_token
11861
+ # A token to start the list. Use this token to get the next set of
11862
+ # results.
11863
+ # @return [String]
11864
+ #
11865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataRequest AWS API Documentation
11866
+ #
11867
+ class ListOpsMetadataRequest < Struct.new(
11868
+ :filters,
11869
+ :max_results,
11870
+ :next_token)
11871
+ SENSITIVE = []
11872
+ include Aws::Structure
11873
+ end
11874
+
11875
+ # @!attribute [rw] ops_metadata_list
11876
+ # Returns a list of OpsMetadata objects.
11877
+ # @return [Array<Types::OpsMetadata>]
11878
+ #
11879
+ # @!attribute [rw] next_token
11880
+ # The token for the next set of items to return. Use this token to get
11881
+ # the next set of results.
11882
+ # @return [String]
11883
+ #
11884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataResult AWS API Documentation
11885
+ #
11886
+ class ListOpsMetadataResult < Struct.new(
11887
+ :ops_metadata_list,
11888
+ :next_token)
11889
+ SENSITIVE = []
11890
+ include Aws::Structure
11891
+ end
11892
+
11159
11893
  # @note When making an API call, you may pass ListResourceComplianceSummariesRequest
11160
11894
  # data as a hash:
11161
11895
  #
@@ -12199,6 +12933,27 @@ module Aws::SSM
12199
12933
  include Aws::Structure
12200
12934
  end
12201
12935
 
12936
+ # Metadata to assign to an Application Manager application.
12937
+ #
12938
+ # @note When making an API call, you may pass MetadataValue
12939
+ # data as a hash:
12940
+ #
12941
+ # {
12942
+ # value: "MetadataValueString",
12943
+ # }
12944
+ #
12945
+ # @!attribute [rw] value
12946
+ # Metadata value to assign to an Application Manager application.
12947
+ # @return [String]
12948
+ #
12949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MetadataValue AWS API Documentation
12950
+ #
12951
+ class MetadataValue < Struct.new(
12952
+ :value)
12953
+ SENSITIVE = []
12954
+ include Aws::Structure
12955
+ end
12956
+
12202
12957
  # @note When making an API call, you may pass ModifyDocumentPermissionRequest
12203
12958
  # data as a hash:
12204
12959
  #
@@ -12485,6 +13240,11 @@ module Aws::SSM
12485
13240
  # The ARN of the AWS account that created the OpsItem.
12486
13241
  # @return [String]
12487
13242
  #
13243
+ # @!attribute [rw] ops_item_type
13244
+ # The type of OpsItem. Currently, the only valid values are
13245
+ # `/aws/changerequest` and `/aws/issue`.
13246
+ # @return [String]
13247
+ #
12488
13248
  # @!attribute [rw] created_time
12489
13249
  # The date and time the OpsItem was created.
12490
13250
  # @return [Time]
@@ -12586,10 +13346,33 @@ module Aws::SSM
12586
13346
  # The severity of the OpsItem. Severity options range from 1 to 4.
12587
13347
  # @return [String]
12588
13348
  #
13349
+ # @!attribute [rw] actual_start_time
13350
+ # The time a runbook workflow started. Currently reported only for the
13351
+ # OpsItem type `/aws/changerequest`.
13352
+ # @return [Time]
13353
+ #
13354
+ # @!attribute [rw] actual_end_time
13355
+ # The time a runbook workflow ended. Currently reported only for the
13356
+ # OpsItem type `/aws/changerequest`.
13357
+ # @return [Time]
13358
+ #
13359
+ # @!attribute [rw] planned_start_time
13360
+ # The time specified in a change request for a runbook workflow to
13361
+ # start. Currently supported only for the OpsItem type
13362
+ # `/aws/changerequest`.
13363
+ # @return [Time]
13364
+ #
13365
+ # @!attribute [rw] planned_end_time
13366
+ # The time specified in a change request for a runbook workflow to
13367
+ # end. Currently supported only for the OpsItem type
13368
+ # `/aws/changerequest`.
13369
+ # @return [Time]
13370
+ #
12589
13371
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItem AWS API Documentation
12590
13372
  #
12591
13373
  class OpsItem < Struct.new(
12592
13374
  :created_by,
13375
+ :ops_item_type,
12593
13376
  :created_time,
12594
13377
  :description,
12595
13378
  :last_modified_by,
@@ -12604,7 +13387,11 @@ module Aws::SSM
12604
13387
  :source,
12605
13388
  :operational_data,
12606
13389
  :category,
12607
- :severity)
13390
+ :severity,
13391
+ :actual_start_time,
13392
+ :actual_end_time,
13393
+ :planned_start_time,
13394
+ :planned_end_time)
12608
13395
  SENSITIVE = []
12609
13396
  include Aws::Structure
12610
13397
  end
@@ -12655,32 +13442,36 @@ module Aws::SSM
12655
13442
  include Aws::Structure
12656
13443
  end
12657
13444
 
12658
- # Describes an OpsItem filter.
13445
+ # Describes a filter for a specific list of OpsItem events. You can
13446
+ # filter event information by using tags. You specify tags by using a
13447
+ # key-value pair mapping.
12659
13448
  #
12660
- # @note When making an API call, you may pass OpsItemFilter
13449
+ # @note When making an API call, you may pass OpsItemEventFilter
12661
13450
  # data as a hash:
12662
13451
  #
12663
13452
  # {
12664
- # key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity
12665
- # values: ["OpsItemFilterValue"], # required
12666
- # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
13453
+ # key: "OpsItemId", # required, accepts OpsItemId
13454
+ # values: ["OpsItemEventFilterValue"], # required
13455
+ # operator: "Equal", # required, accepts Equal
12667
13456
  # }
12668
13457
  #
12669
13458
  # @!attribute [rw] key
12670
- # The name of the filter.
13459
+ # The name of the filter key. Currently, the only supported value is
13460
+ # `OpsItemId`.
12671
13461
  # @return [String]
12672
13462
  #
12673
13463
  # @!attribute [rw] values
12674
- # The filter value.
13464
+ # The values for the filter, consisting of one or more OpsItem IDs.
12675
13465
  # @return [Array<String>]
12676
13466
  #
12677
13467
  # @!attribute [rw] operator
12678
- # The operator used by the filter call.
13468
+ # The operator used by the filter call. Currently, the only supported
13469
+ # value is `Equal`.
12679
13470
  # @return [String]
12680
13471
  #
12681
- # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemFilter AWS API Documentation
13472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemEventFilter AWS API Documentation
12682
13473
  #
12683
- class OpsItemFilter < Struct.new(
13474
+ class OpsItemEventFilter < Struct.new(
12684
13475
  :key,
12685
13476
  :values,
12686
13477
  :operator)
@@ -12688,23 +13479,116 @@ module Aws::SSM
12688
13479
  include Aws::Structure
12689
13480
  end
12690
13481
 
12691
- # A specified parameter argument isn't valid. Verify the available
12692
- # arguments and try again.
13482
+ # Summary information about an OpsItem event.
12693
13483
  #
12694
- # @!attribute [rw] parameter_names
12695
- # @return [Array<String>]
13484
+ # @!attribute [rw] ops_item_id
13485
+ # The ID of the OpsItem.
13486
+ # @return [String]
12696
13487
  #
12697
- # @!attribute [rw] message
13488
+ # @!attribute [rw] event_id
13489
+ # The ID of the OpsItem event.
12698
13490
  # @return [String]
12699
13491
  #
12700
- # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemInvalidParameterException AWS API Documentation
13492
+ # @!attribute [rw] source
13493
+ # The source of the OpsItem event.
13494
+ # @return [String]
12701
13495
  #
12702
- class OpsItemInvalidParameterException < Struct.new(
12703
- :parameter_names,
12704
- :message)
12705
- SENSITIVE = []
12706
- include Aws::Structure
12707
- end
13496
+ # @!attribute [rw] detail_type
13497
+ # The type of information provided as a detail.
13498
+ # @return [String]
13499
+ #
13500
+ # @!attribute [rw] detail
13501
+ # Specific information about the OpsItem event.
13502
+ # @return [String]
13503
+ #
13504
+ # @!attribute [rw] created_by
13505
+ # Information about the user or resource that created the OpsItem
13506
+ # event.
13507
+ # @return [Types::OpsItemIdentity]
13508
+ #
13509
+ # @!attribute [rw] created_time
13510
+ # The date and time the OpsItem event was created.
13511
+ # @return [Time]
13512
+ #
13513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemEventSummary AWS API Documentation
13514
+ #
13515
+ class OpsItemEventSummary < Struct.new(
13516
+ :ops_item_id,
13517
+ :event_id,
13518
+ :source,
13519
+ :detail_type,
13520
+ :detail,
13521
+ :created_by,
13522
+ :created_time)
13523
+ SENSITIVE = []
13524
+ include Aws::Structure
13525
+ end
13526
+
13527
+ # Describes an OpsItem filter.
13528
+ #
13529
+ # @note When making an API call, you may pass OpsItemFilter
13530
+ # data as a hash:
13531
+ #
13532
+ # {
13533
+ # 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
13534
+ # values: ["OpsItemFilterValue"], # required
13535
+ # operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
13536
+ # }
13537
+ #
13538
+ # @!attribute [rw] key
13539
+ # The name of the filter.
13540
+ # @return [String]
13541
+ #
13542
+ # @!attribute [rw] values
13543
+ # The filter value.
13544
+ # @return [Array<String>]
13545
+ #
13546
+ # @!attribute [rw] operator
13547
+ # The operator used by the filter call.
13548
+ # @return [String]
13549
+ #
13550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemFilter AWS API Documentation
13551
+ #
13552
+ class OpsItemFilter < Struct.new(
13553
+ :key,
13554
+ :values,
13555
+ :operator)
13556
+ SENSITIVE = []
13557
+ include Aws::Structure
13558
+ end
13559
+
13560
+ # Information about the user or resource that created an OpsItem event.
13561
+ #
13562
+ # @!attribute [rw] arn
13563
+ # The Amazon Resource Name (ARN) of the IAM entity that created the
13564
+ # OpsItem event.
13565
+ # @return [String]
13566
+ #
13567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemIdentity AWS API Documentation
13568
+ #
13569
+ class OpsItemIdentity < Struct.new(
13570
+ :arn)
13571
+ SENSITIVE = []
13572
+ include Aws::Structure
13573
+ end
13574
+
13575
+ # A specified parameter argument isn't valid. Verify the available
13576
+ # arguments and try again.
13577
+ #
13578
+ # @!attribute [rw] parameter_names
13579
+ # @return [Array<String>]
13580
+ #
13581
+ # @!attribute [rw] message
13582
+ # @return [String]
13583
+ #
13584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemInvalidParameterException AWS API Documentation
13585
+ #
13586
+ class OpsItemInvalidParameterException < Struct.new(
13587
+ :parameter_names,
13588
+ :message)
13589
+ SENSITIVE = []
13590
+ include Aws::Structure
13591
+ end
12708
13592
 
12709
13593
  # The request caused OpsItems to exceed one or more quotas. For
12710
13594
  # information about OpsItem quotas, see [What are the resource limits
@@ -12828,6 +13712,33 @@ module Aws::SSM
12828
13712
  # A list of OpsItems by severity.
12829
13713
  # @return [String]
12830
13714
  #
13715
+ # @!attribute [rw] ops_item_type
13716
+ # The type of OpsItem. Currently, the only valid values are
13717
+ # `/aws/changerequest` and `/aws/issue`.
13718
+ # @return [String]
13719
+ #
13720
+ # @!attribute [rw] actual_start_time
13721
+ # The time a runbook workflow started. Currently reported only for the
13722
+ # OpsItem type `/aws/changerequest`.
13723
+ # @return [Time]
13724
+ #
13725
+ # @!attribute [rw] actual_end_time
13726
+ # The time a runbook workflow ended. Currently reported only for the
13727
+ # OpsItem type `/aws/changerequest`.
13728
+ # @return [Time]
13729
+ #
13730
+ # @!attribute [rw] planned_start_time
13731
+ # The time specified in a change request for a runbook workflow to
13732
+ # start. Currently supported only for the OpsItem type
13733
+ # `/aws/changerequest`.
13734
+ # @return [Time]
13735
+ #
13736
+ # @!attribute [rw] planned_end_time
13737
+ # The time specified in a change request for a runbook workflow to
13738
+ # end. Currently supported only for the OpsItem type
13739
+ # `/aws/changerequest`.
13740
+ # @return [Time]
13741
+ #
12831
13742
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemSummary AWS API Documentation
12832
13743
  #
12833
13744
  class OpsItemSummary < Struct.new(
@@ -12842,7 +13753,155 @@ module Aws::SSM
12842
13753
  :title,
12843
13754
  :operational_data,
12844
13755
  :category,
12845
- :severity)
13756
+ :severity,
13757
+ :ops_item_type,
13758
+ :actual_start_time,
13759
+ :actual_end_time,
13760
+ :planned_start_time,
13761
+ :planned_end_time)
13762
+ SENSITIVE = []
13763
+ include Aws::Structure
13764
+ end
13765
+
13766
+ # Operational metadata for an application in Application Manager.
13767
+ #
13768
+ # @!attribute [rw] resource_id
13769
+ # The ID of the Application Manager application.
13770
+ # @return [String]
13771
+ #
13772
+ # @!attribute [rw] ops_metadata_arn
13773
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object or blob.
13774
+ # @return [String]
13775
+ #
13776
+ # @!attribute [rw] last_modified_date
13777
+ # The date the OpsMetadata object was last updated.
13778
+ # @return [Time]
13779
+ #
13780
+ # @!attribute [rw] last_modified_user
13781
+ # The user name who last updated the OpsMetadata object.
13782
+ # @return [String]
13783
+ #
13784
+ # @!attribute [rw] creation_date
13785
+ # The date the OpsMetadata objects was created.
13786
+ # @return [Time]
13787
+ #
13788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadata AWS API Documentation
13789
+ #
13790
+ class OpsMetadata < Struct.new(
13791
+ :resource_id,
13792
+ :ops_metadata_arn,
13793
+ :last_modified_date,
13794
+ :last_modified_user,
13795
+ :creation_date)
13796
+ SENSITIVE = []
13797
+ include Aws::Structure
13798
+ end
13799
+
13800
+ # An OpsMetadata object already exists for the selected resource.
13801
+ #
13802
+ # @!attribute [rw] message
13803
+ # @return [String]
13804
+ #
13805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataAlreadyExistsException AWS API Documentation
13806
+ #
13807
+ class OpsMetadataAlreadyExistsException < Struct.new(
13808
+ :message)
13809
+ SENSITIVE = []
13810
+ include Aws::Structure
13811
+ end
13812
+
13813
+ # A filter to limit the number of OpsMetadata objects displayed.
13814
+ #
13815
+ # @note When making an API call, you may pass OpsMetadataFilter
13816
+ # data as a hash:
13817
+ #
13818
+ # {
13819
+ # key: "OpsMetadataFilterKey", # required
13820
+ # values: ["OpsMetadataFilterValue"], # required
13821
+ # }
13822
+ #
13823
+ # @!attribute [rw] key
13824
+ # A filter key.
13825
+ # @return [String]
13826
+ #
13827
+ # @!attribute [rw] values
13828
+ # A filter value.
13829
+ # @return [Array<String>]
13830
+ #
13831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataFilter AWS API Documentation
13832
+ #
13833
+ class OpsMetadataFilter < Struct.new(
13834
+ :key,
13835
+ :values)
13836
+ SENSITIVE = []
13837
+ include Aws::Structure
13838
+ end
13839
+
13840
+ # One of the arguments passed is invalid.
13841
+ #
13842
+ # @!attribute [rw] message
13843
+ # @return [String]
13844
+ #
13845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataInvalidArgumentException AWS API Documentation
13846
+ #
13847
+ class OpsMetadataInvalidArgumentException < Struct.new(
13848
+ :message)
13849
+ SENSITIVE = []
13850
+ include Aws::Structure
13851
+ end
13852
+
13853
+ # The OpsMetadata object exceeds the maximum number of OpsMetadata keys
13854
+ # that you can assign to an application in Application Manager.
13855
+ #
13856
+ # @!attribute [rw] message
13857
+ # @return [String]
13858
+ #
13859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataKeyLimitExceededException AWS API Documentation
13860
+ #
13861
+ class OpsMetadataKeyLimitExceededException < Struct.new(
13862
+ :message)
13863
+ SENSITIVE = []
13864
+ include Aws::Structure
13865
+ end
13866
+
13867
+ # Your account reached the maximum number of OpsMetadata objects allowed
13868
+ # by Application Manager. The maximum is 200 OpsMetadata objects. Delete
13869
+ # one or more OpsMetadata object and try again.
13870
+ #
13871
+ # @!attribute [rw] message
13872
+ # @return [String]
13873
+ #
13874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataLimitExceededException AWS API Documentation
13875
+ #
13876
+ class OpsMetadataLimitExceededException < Struct.new(
13877
+ :message)
13878
+ SENSITIVE = []
13879
+ include Aws::Structure
13880
+ end
13881
+
13882
+ # The OpsMetadata object does not exist.
13883
+ #
13884
+ # @!attribute [rw] message
13885
+ # @return [String]
13886
+ #
13887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataNotFoundException AWS API Documentation
13888
+ #
13889
+ class OpsMetadataNotFoundException < Struct.new(
13890
+ :message)
13891
+ SENSITIVE = []
13892
+ include Aws::Structure
13893
+ end
13894
+
13895
+ # The system is processing too many concurrent updates. Wait a few
13896
+ # moments and try again.
13897
+ #
13898
+ # @!attribute [rw] message
13899
+ # @return [String]
13900
+ #
13901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataTooManyUpdatesException AWS API Documentation
13902
+ #
13903
+ class OpsMetadataTooManyUpdatesException < Struct.new(
13904
+ :message)
12846
13905
  SENSITIVE = []
12847
13906
  include Aws::Structure
12848
13907
  end
@@ -13422,7 +14481,7 @@ module Aws::SSM
13422
14481
  #
13423
14482
  # @!attribute [rw] cve_ids
13424
14483
  # The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
13425
- # example, `CVE-1999-0067`. Applies to Linux-based instances only.
14484
+ # example, `CVE-2011-3192`. Applies to Linux-based instances only.
13426
14485
  # @return [Array<String>]
13427
14486
  #
13428
14487
  # @!attribute [rw] name
@@ -13838,11 +14897,20 @@ module Aws::SSM
13838
14897
  #
13839
14898
  # `[main]`
13840
14899
  #
13841
- # `cachedir=/var/cache/yum/$basesearch$releasever`
14900
+ # `name=MyCustomRepository`
14901
+ #
14902
+ # `baseurl=https://my-custom-repository`
14903
+ #
14904
+ # `enabled=1`
14905
+ #
14906
+ # <note markdown="1"> For information about other options available for your yum
14907
+ # repository configuration, see [dnf.conf(5)][1].
14908
+ #
14909
+ # </note>
14910
+ #
13842
14911
  #
13843
- # `keepcache=0`
13844
14912
  #
13845
- # `debuglevel=2`
14913
+ # [1]: https://man7.org/linux/man-pages/man5/dnf.conf.5.html
13846
14914
  # @return [String]
13847
14915
  #
13848
14916
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchSource AWS API Documentation
@@ -14606,7 +15674,7 @@ module Aws::SSM
14606
15674
  #
14607
15675
  # {
14608
15676
  # window_id: "MaintenanceWindowId", # required
14609
- # targets: [ # required
15677
+ # targets: [
14610
15678
  # {
14611
15679
  # key: "TargetKey",
14612
15680
  # values: ["TargetValue"],
@@ -14660,8 +15728,8 @@ module Aws::SSM
14660
15728
  # },
14661
15729
  # },
14662
15730
  # priority: 1,
14663
- # max_concurrency: "MaxConcurrency", # required
14664
- # max_errors: "MaxErrors", # required
15731
+ # max_concurrency: "MaxConcurrency",
15732
+ # max_errors: "MaxErrors",
14665
15733
  # logging_info: {
14666
15734
  # s3_bucket_name: "S3BucketName", # required
14667
15735
  # s3_key_prefix: "S3KeyPrefix",
@@ -14679,13 +15747,26 @@ module Aws::SSM
14679
15747
  # @!attribute [rw] targets
14680
15748
  # The targets (either instances or maintenance window targets).
14681
15749
  #
15750
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
15751
+ # Command-type tasks. Depending on the task, targets are optional for
15752
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
15753
+ # Step Functions). For more information about running tasks that do
15754
+ # not specify targets, see [Registering maintenance window tasks
15755
+ # without targets][1] in the *AWS Systems Manager User Guide*.
15756
+ #
15757
+ # </note>
15758
+ #
14682
15759
  # Specify instances using the following format:
14683
15760
  #
14684
15761
  # `Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>`
14685
15762
  #
14686
15763
  # Specify maintenance window targets using the following format:
14687
15764
  #
14688
- # `Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>`
15765
+ # `Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>`
15766
+ #
15767
+ #
15768
+ #
15769
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
14689
15770
  # @return [Array<Types::Target>]
14690
15771
  #
14691
15772
  # @!attribute [rw] task_arn
@@ -14745,11 +15826,25 @@ module Aws::SSM
14745
15826
  #
14746
15827
  # @!attribute [rw] max_concurrency
14747
15828
  # The maximum number of targets this task can be run for in parallel.
15829
+ #
15830
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
15831
+ # supply a value for this option. Instead, the system inserts a
15832
+ # placeholder value of `1`. This value does not affect the running of
15833
+ # your task.
15834
+ #
15835
+ # </note>
14748
15836
  # @return [String]
14749
15837
  #
14750
15838
  # @!attribute [rw] max_errors
14751
15839
  # The maximum number of errors allowed before this task stops being
14752
15840
  # scheduled.
15841
+ #
15842
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
15843
+ # supply a value for this option. Instead, the system inserts a
15844
+ # placeholder value of `1`. This value does not affect the running of
15845
+ # your task.
15846
+ #
15847
+ # </note>
14753
15848
  # @return [String]
14754
15849
  #
14755
15850
  # @!attribute [rw] logging_info
@@ -15515,6 +16610,126 @@ module Aws::SSM
15515
16610
  include Aws::Structure
15516
16611
  end
15517
16612
 
16613
+ # Information about the result of a document review request.
16614
+ #
16615
+ # @!attribute [rw] reviewed_time
16616
+ # The time that the reviewer took action on the document review
16617
+ # request.
16618
+ # @return [Time]
16619
+ #
16620
+ # @!attribute [rw] status
16621
+ # The current status of the document review request.
16622
+ # @return [String]
16623
+ #
16624
+ # @!attribute [rw] reviewer
16625
+ # The reviewer assigned to take action on the document review request.
16626
+ # @return [String]
16627
+ #
16628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ReviewInformation AWS API Documentation
16629
+ #
16630
+ class ReviewInformation < Struct.new(
16631
+ :reviewed_time,
16632
+ :status,
16633
+ :reviewer)
16634
+ SENSITIVE = []
16635
+ include Aws::Structure
16636
+ end
16637
+
16638
+ # Information about an Automation runbook (Automation document) used in
16639
+ # a runbook workflow in Change Manager.
16640
+ #
16641
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't run
16642
+ # until all required approvals for the change request have been
16643
+ # received.
16644
+ #
16645
+ # </note>
16646
+ #
16647
+ # @note When making an API call, you may pass Runbook
16648
+ # data as a hash:
16649
+ #
16650
+ # {
16651
+ # document_name: "DocumentARN", # required
16652
+ # document_version: "DocumentVersion",
16653
+ # parameters: {
16654
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
16655
+ # },
16656
+ # target_parameter_name: "AutomationParameterKey",
16657
+ # targets: [
16658
+ # {
16659
+ # key: "TargetKey",
16660
+ # values: ["TargetValue"],
16661
+ # },
16662
+ # ],
16663
+ # max_concurrency: "MaxConcurrency",
16664
+ # max_errors: "MaxErrors",
16665
+ # target_locations: [
16666
+ # {
16667
+ # accounts: ["Account"],
16668
+ # regions: ["Region"],
16669
+ # target_location_max_concurrency: "MaxConcurrency",
16670
+ # target_location_max_errors: "MaxErrors",
16671
+ # execution_role_name: "ExecutionRoleName",
16672
+ # },
16673
+ # ],
16674
+ # }
16675
+ #
16676
+ # @!attribute [rw] document_name
16677
+ # The name of the Automation runbook (Automation document) used in a
16678
+ # runbook workflow.
16679
+ # @return [String]
16680
+ #
16681
+ # @!attribute [rw] document_version
16682
+ # The version of the Automation runbook (Automation document) used in
16683
+ # a runbook workflow.
16684
+ # @return [String]
16685
+ #
16686
+ # @!attribute [rw] parameters
16687
+ # The key-value map of execution parameters, which were supplied when
16688
+ # calling `StartChangeRequestExecution`.
16689
+ # @return [Hash<String,Array<String>>]
16690
+ #
16691
+ # @!attribute [rw] target_parameter_name
16692
+ # The name of the parameter used as the target resource for the
16693
+ # rate-controlled runbook workflow. Required if you specify `Targets`.
16694
+ # @return [String]
16695
+ #
16696
+ # @!attribute [rw] targets
16697
+ # A key-value mapping to target resources that the Runbook operation
16698
+ # performs tasks on. Required if you specify `TargetParameterName`.
16699
+ # @return [Array<Types::Target>]
16700
+ #
16701
+ # @!attribute [rw] max_concurrency
16702
+ # The `MaxConcurrency` value specified by the user when the operation
16703
+ # started, indicating the maximum number of resources that the runbook
16704
+ # operation can run on at the same time.
16705
+ # @return [String]
16706
+ #
16707
+ # @!attribute [rw] max_errors
16708
+ # The `MaxErrors` value specified by the user when the execution
16709
+ # started, indicating the maximum number of errors that can occur
16710
+ # during the operation before the updates are stopped or rolled back.
16711
+ # @return [String]
16712
+ #
16713
+ # @!attribute [rw] target_locations
16714
+ # Information about the AWS Regions and accounts targeted by the
16715
+ # current Runbook operation.
16716
+ # @return [Array<Types::TargetLocation>]
16717
+ #
16718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Runbook AWS API Documentation
16719
+ #
16720
+ class Runbook < Struct.new(
16721
+ :document_name,
16722
+ :document_version,
16723
+ :parameters,
16724
+ :target_parameter_name,
16725
+ :targets,
16726
+ :max_concurrency,
16727
+ :max_errors,
16728
+ :target_locations)
16729
+ SENSITIVE = []
16730
+ include Aws::Structure
16731
+ end
16732
+
15518
16733
  # An S3 bucket where you want to store the results of this request.
15519
16734
  #
15520
16735
  # @note When making an API call, you may pass S3OutputLocation
@@ -15722,8 +16937,15 @@ module Aws::SSM
15722
16937
  # @return [Array<Types::Target>]
15723
16938
  #
15724
16939
  # @!attribute [rw] document_name
15725
- # Required. The name of the Systems Manager document to run. This can
15726
- # be a public document or a custom document.
16940
+ # The name of the Systems Manager document to run. This can be a
16941
+ # public document or a custom document. To run a shared document
16942
+ # belonging to another account, specify the document ARN. For more
16943
+ # information about how to use shared documents, see [Using shared SSM
16944
+ # documents][1] in the *AWS Systems Manager User Guide*.
16945
+ #
16946
+ #
16947
+ #
16948
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
15727
16949
  # @return [String]
15728
16950
  #
15729
16951
  # @!attribute [rw] document_version
@@ -16010,7 +17232,7 @@ module Aws::SSM
16010
17232
  # data as a hash:
16011
17233
  #
16012
17234
  # {
16013
- # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
17235
+ # key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
16014
17236
  # value: "SessionFilterValue", # required
16015
17237
  # }
16016
17238
  #
@@ -16049,6 +17271,9 @@ module Aws::SSM
16049
17271
  # * Terminating
16050
17272
  #
16051
17273
  # * Failed
17274
+ #
17275
+ # * SessionId: Specify a session ID to return details about the
17276
+ # session.
16052
17277
  # @return [String]
16053
17278
  #
16054
17279
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SessionFilter AWS API Documentation
@@ -16198,7 +17423,15 @@ module Aws::SSM
16198
17423
  # }
16199
17424
  #
16200
17425
  # @!attribute [rw] document_name
16201
- # The name of the Automation document to use for this execution.
17426
+ # The name of the Systems Manager document to run. This can be a
17427
+ # public document or a custom document. To run a shared document
17428
+ # belonging to another account, specify the document ARN. For more
17429
+ # information about how to use shared documents, see [Using shared SSM
17430
+ # documents][1] in the *AWS Systems Manager User Guide*.
17431
+ #
17432
+ #
17433
+ #
17434
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
16202
17435
  # @return [String]
16203
17436
  #
16204
17437
  # @!attribute [rw] document_version
@@ -16321,6 +17554,141 @@ module Aws::SSM
16321
17554
  include Aws::Structure
16322
17555
  end
16323
17556
 
17557
+ # @note When making an API call, you may pass StartChangeRequestExecutionRequest
17558
+ # data as a hash:
17559
+ #
17560
+ # {
17561
+ # scheduled_time: Time.now,
17562
+ # document_name: "DocumentARN", # required
17563
+ # document_version: "DocumentVersion",
17564
+ # parameters: {
17565
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
17566
+ # },
17567
+ # change_request_name: "ChangeRequestName",
17568
+ # client_token: "IdempotencyToken",
17569
+ # runbooks: [ # required
17570
+ # {
17571
+ # document_name: "DocumentARN", # required
17572
+ # document_version: "DocumentVersion",
17573
+ # parameters: {
17574
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
17575
+ # },
17576
+ # target_parameter_name: "AutomationParameterKey",
17577
+ # targets: [
17578
+ # {
17579
+ # key: "TargetKey",
17580
+ # values: ["TargetValue"],
17581
+ # },
17582
+ # ],
17583
+ # max_concurrency: "MaxConcurrency",
17584
+ # max_errors: "MaxErrors",
17585
+ # target_locations: [
17586
+ # {
17587
+ # accounts: ["Account"],
17588
+ # regions: ["Region"],
17589
+ # target_location_max_concurrency: "MaxConcurrency",
17590
+ # target_location_max_errors: "MaxErrors",
17591
+ # execution_role_name: "ExecutionRoleName",
17592
+ # },
17593
+ # ],
17594
+ # },
17595
+ # ],
17596
+ # tags: [
17597
+ # {
17598
+ # key: "TagKey", # required
17599
+ # value: "TagValue", # required
17600
+ # },
17601
+ # ],
17602
+ # }
17603
+ #
17604
+ # @!attribute [rw] scheduled_time
17605
+ # The date and time specified in the change request to run the
17606
+ # Automation runbooks.
17607
+ #
17608
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
17609
+ # run until all required approvals for the change request have been
17610
+ # received.
17611
+ #
17612
+ # </note>
17613
+ # @return [Time]
17614
+ #
17615
+ # @!attribute [rw] document_name
17616
+ # The name of the change template document to run during the runbook
17617
+ # workflow.
17618
+ # @return [String]
17619
+ #
17620
+ # @!attribute [rw] document_version
17621
+ # The version of the change template document to run during the
17622
+ # runbook workflow.
17623
+ # @return [String]
17624
+ #
17625
+ # @!attribute [rw] parameters
17626
+ # A key-value map of parameters that match the declared parameters in
17627
+ # the change template document.
17628
+ # @return [Hash<String,Array<String>>]
17629
+ #
17630
+ # @!attribute [rw] change_request_name
17631
+ # The name of the change request associated with the runbook workflow
17632
+ # to be run.
17633
+ # @return [String]
17634
+ #
17635
+ # @!attribute [rw] client_token
17636
+ # The user-provided idempotency token. The token must be unique, is
17637
+ # case insensitive, enforces the UUID format, and can't be reused.
17638
+ # @return [String]
17639
+ #
17640
+ # @!attribute [rw] runbooks
17641
+ # Information about the Automation runbooks (Automation documents)
17642
+ # that are run during the runbook workflow.
17643
+ #
17644
+ # <note markdown="1"> The Automation runbooks specified for the runbook workflow can't
17645
+ # run until all required approvals for the change request have been
17646
+ # received.
17647
+ #
17648
+ # </note>
17649
+ # @return [Array<Types::Runbook>]
17650
+ #
17651
+ # @!attribute [rw] tags
17652
+ # Optional metadata that you assign to a resource. You can specify a
17653
+ # maximum of five tags for a change request. Tags enable you to
17654
+ # categorize a resource in different ways, such as by purpose, owner,
17655
+ # or environment. For example, you might want to tag a change request
17656
+ # to identify an environment or target AWS Region. In this case, you
17657
+ # could specify the following key-value pairs:
17658
+ #
17659
+ # * `Key=Environment,Value=Production`
17660
+ #
17661
+ # * `Key=Region,Value=us-east-2`
17662
+ # @return [Array<Types::Tag>]
17663
+ #
17664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionRequest AWS API Documentation
17665
+ #
17666
+ class StartChangeRequestExecutionRequest < Struct.new(
17667
+ :scheduled_time,
17668
+ :document_name,
17669
+ :document_version,
17670
+ :parameters,
17671
+ :change_request_name,
17672
+ :client_token,
17673
+ :runbooks,
17674
+ :tags)
17675
+ SENSITIVE = []
17676
+ include Aws::Structure
17677
+ end
17678
+
17679
+ # @!attribute [rw] automation_execution_id
17680
+ # The unique ID of a runbook workflow operation. (A runbook workflow
17681
+ # is a type of Automation operation.)
17682
+ # @return [String]
17683
+ #
17684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionResult AWS API Documentation
17685
+ #
17686
+ class StartChangeRequestExecutionResult < Struct.new(
17687
+ :automation_execution_id)
17688
+ SENSITIVE = []
17689
+ include Aws::Structure
17690
+ end
17691
+
16324
17692
  # @note When making an API call, you may pass StartSessionRequest
16325
17693
  # data as a hash:
16326
17694
  #
@@ -16643,6 +18011,15 @@ module Aws::SSM
16643
18011
  # An array of search criteria that targets instances using a Key,Value
16644
18012
  # combination that you specify.
16645
18013
  #
18014
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
18015
+ # Command-type tasks. Depending on the task, targets are optional for
18016
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
18017
+ # Step Functions). For more information about running tasks that do not
18018
+ # specify targets, see [Registering maintenance window tasks without
18019
+ # targets][1] in the *AWS Systems Manager User Guide*.
18020
+ #
18021
+ # </note>
18022
+ #
16646
18023
  # Supported formats include the following.
16647
18024
  #
16648
18025
  # * `Key=InstanceIds,Values=instance-id-1,instance-id-2,instance-id-3 `
@@ -16693,12 +18070,13 @@ module Aws::SSM
16693
18070
  # AWS Region where the association was created.
16694
18071
  #
16695
18072
  # For more information about how to send commands that target instances
16696
- # using `Key,Value` parameters, see [Targeting multiple instances][1] in
18073
+ # using `Key,Value` parameters, see [Targeting multiple instances][2] in
16697
18074
  # the *AWS Systems Manager User Guide*.
16698
18075
  #
16699
18076
  #
16700
18077
  #
16701
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
18078
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
18079
+ # [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
16702
18080
  #
16703
18081
  # @note When making an API call, you may pass Target
16704
18082
  # data as a hash:
@@ -16768,7 +18146,7 @@ module Aws::SSM
16768
18146
  #
16769
18147
  # @!attribute [rw] target_location_max_concurrency
16770
18148
  # The maximum number of AWS accounts and AWS regions allowed to run
16771
- # the Automation concurrently
18149
+ # the Automation concurrently.
16772
18150
  # @return [String]
16773
18151
  #
16774
18152
  # @!attribute [rw] target_location_max_errors
@@ -16779,7 +18157,8 @@ module Aws::SSM
16779
18157
  #
16780
18158
  # @!attribute [rw] execution_role_name
16781
18159
  # The Automation execution role used by the currently running
16782
- # Automation.
18160
+ # Automation. If not specified, the default value is
18161
+ # `AWS-SystemsManager-AutomationExecutionRole`.
16783
18162
  # @return [String]
16784
18163
  #
16785
18164
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TargetLocation AWS API Documentation
@@ -17024,6 +18403,15 @@ module Aws::SSM
17024
18403
  # compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
17025
18404
  # sync_compliance: "AUTO", # accepts AUTO, MANUAL
17026
18405
  # apply_only_at_cron_interval: false,
18406
+ # target_locations: [
18407
+ # {
18408
+ # accounts: ["Account"],
18409
+ # regions: ["Region"],
18410
+ # target_location_max_concurrency: "MaxConcurrency",
18411
+ # target_location_max_errors: "MaxErrors",
18412
+ # execution_role_name: "ExecutionRoleName",
18413
+ # },
18414
+ # ],
17027
18415
  # }
17028
18416
  #
17029
18417
  # @!attribute [rw] association_id
@@ -17148,7 +18536,8 @@ module Aws::SSM
17148
18536
  # By default, when you update an association, the system runs it
17149
18537
  # immediately after it is updated and then according to the schedule
17150
18538
  # you specified. Specify this option if you don't want an association
17151
- # to run immediately after you update it.
18539
+ # to run immediately after you update it. This parameter is not
18540
+ # supported for rate expressions.
17152
18541
  #
17153
18542
  # Also, if you specified this option when you created the association,
17154
18543
  # you can reset it. To do so, specify the
@@ -17158,6 +18547,12 @@ module Aws::SSM
17158
18547
  # the interval specified.
17159
18548
  # @return [Boolean]
17160
18549
  #
18550
+ # @!attribute [rw] target_locations
18551
+ # A location is a combination of AWS Regions and AWS accounts where
18552
+ # you want to run the association. Use this action to update an
18553
+ # association in multiple Regions and multiple accounts.
18554
+ # @return [Array<Types::TargetLocation>]
18555
+ #
17161
18556
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
17162
18557
  #
17163
18558
  class UpdateAssociationRequest < Struct.new(
@@ -17175,7 +18570,8 @@ module Aws::SSM
17175
18570
  :max_concurrency,
17176
18571
  :compliance_severity,
17177
18572
  :sync_compliance,
17178
- :apply_only_at_cron_interval)
18573
+ :apply_only_at_cron_interval,
18574
+ :target_locations)
17179
18575
  SENSITIVE = []
17180
18576
  include Aws::Structure
17181
18577
  end
@@ -17280,6 +18676,49 @@ module Aws::SSM
17280
18676
  include Aws::Structure
17281
18677
  end
17282
18678
 
18679
+ # @note When making an API call, you may pass UpdateDocumentMetadataRequest
18680
+ # data as a hash:
18681
+ #
18682
+ # {
18683
+ # name: "DocumentName", # required
18684
+ # document_version: "DocumentVersion",
18685
+ # document_reviews: { # required
18686
+ # action: "SendForReview", # required, accepts SendForReview, UpdateReview, Approve, Reject
18687
+ # comment: [
18688
+ # {
18689
+ # type: "Comment", # accepts Comment
18690
+ # content: "DocumentReviewComment",
18691
+ # },
18692
+ # ],
18693
+ # },
18694
+ # }
18695
+ #
18696
+ # @!attribute [rw] name
18697
+ # The name of the document for which a version is to be updated.
18698
+ # @return [String]
18699
+ #
18700
+ # @!attribute [rw] document_version
18701
+ # The version of a document to update.
18702
+ # @return [String]
18703
+ #
18704
+ # @!attribute [rw] document_reviews
18705
+ # The document review details to update.
18706
+ # @return [Types::DocumentReviews]
18707
+ #
18708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadataRequest AWS API Documentation
18709
+ #
18710
+ class UpdateDocumentMetadataRequest < Struct.new(
18711
+ :name,
18712
+ :document_version,
18713
+ :document_reviews)
18714
+ SENSITIVE = []
18715
+ include Aws::Structure
18716
+ end
18717
+
18718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadataResponse AWS API Documentation
18719
+ #
18720
+ class UpdateDocumentMetadataResponse < Aws::EmptyStructure; end
18721
+
17283
18722
  # @note When making an API call, you may pass UpdateDocumentRequest
17284
18723
  # data as a hash:
17285
18724
  #
@@ -17396,8 +18835,8 @@ module Aws::SSM
17396
18835
  # @!attribute [rw] start_date
17397
18836
  # The time zone that the scheduled maintenance window executions are
17398
18837
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17399
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17400
- # For more information, see the [Time Zone Database][1] on the IANA
18838
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18839
+ # more information, see the [Time Zone Database][1] on the IANA
17401
18840
  # website.
17402
18841
  #
17403
18842
  #
@@ -17420,8 +18859,8 @@ module Aws::SSM
17420
18859
  # @!attribute [rw] schedule_timezone
17421
18860
  # The time zone that the scheduled maintenance window executions are
17422
18861
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17423
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17424
- # For more information, see the [Time Zone Database][1] on the IANA
18862
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18863
+ # more information, see the [Time Zone Database][1] on the IANA
17425
18864
  # website.
17426
18865
  #
17427
18866
  #
@@ -17436,7 +18875,7 @@ module Aws::SSM
17436
18875
  # For example, the following cron expression schedules a maintenance
17437
18876
  # window to run the third Tuesday of every month at 11:30 PM.
17438
18877
  #
17439
- # `cron(0 30 23 ? * TUE#3 *)`
18878
+ # `cron(30 23 ? * TUE#3 *)`
17440
18879
  #
17441
18880
  # If the schedule offset is `2`, the maintenance window won't run
17442
18881
  # until two days later.
@@ -17518,8 +18957,8 @@ module Aws::SSM
17518
18957
  # @!attribute [rw] schedule_timezone
17519
18958
  # The time zone that the scheduled maintenance window executions are
17520
18959
  # based on, in Internet Assigned Numbers Authority (IANA) format. For
17521
- # example: "America/Los\_Angeles", "etc/UTC", or "Asia/Seoul".
17522
- # For more information, see the [Time Zone Database][1] on the IANA
18960
+ # example: "America/Los\_Angeles", "UTC", or "Asia/Seoul". For
18961
+ # more information, see the [Time Zone Database][1] on the IANA
17523
18962
  # website.
17524
18963
  #
17525
18964
  #
@@ -17754,6 +19193,19 @@ module Aws::SSM
17754
19193
  # The targets (either instances or tags) to modify. Instances are
17755
19194
  # specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
17756
19195
  # Tags are specified using Key=tag\_name,Values=tag\_value.
19196
+ #
19197
+ # <note markdown="1"> One or more targets must be specified for maintenance window Run
19198
+ # Command-type tasks. Depending on the task, targets are optional for
19199
+ # other maintenance window task types (Automation, AWS Lambda, and AWS
19200
+ # Step Functions). For more information about running tasks that do
19201
+ # not specify targets, see [Registering maintenance window tasks
19202
+ # without targets][1] in the *AWS Systems Manager User Guide*.
19203
+ #
19204
+ # </note>
19205
+ #
19206
+ #
19207
+ #
19208
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
17757
19209
  # @return [Array<Types::Target>]
17758
19210
  #
17759
19211
  # @!attribute [rw] task_arn
@@ -17828,12 +19280,28 @@ module Aws::SSM
17828
19280
  # The new `MaxConcurrency` value you want to specify. `MaxConcurrency`
17829
19281
  # is the number of targets that are allowed to run this task in
17830
19282
  # parallel.
19283
+ #
19284
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
19285
+ # supply a value for this option. Instead, the system inserts a
19286
+ # placeholder value of `1`, which may be reported in the response to
19287
+ # this command. This value does not affect the running of your task
19288
+ # and can be ignored.
19289
+ #
19290
+ # </note>
17831
19291
  # @return [String]
17832
19292
  #
17833
19293
  # @!attribute [rw] max_errors
17834
19294
  # The new `MaxErrors` value to specify. `MaxErrors` is the maximum
17835
19295
  # number of errors that are allowed before the task stops being
17836
19296
  # scheduled.
19297
+ #
19298
+ # <note markdown="1"> For maintenance window tasks without a target specified, you cannot
19299
+ # supply a value for this option. Instead, the system inserts a
19300
+ # placeholder value of `1`, which may be reported in the response to
19301
+ # this command. This value does not affect the running of your task
19302
+ # and can be ignored.
19303
+ #
19304
+ # </note>
17837
19305
  # @return [String]
17838
19306
  #
17839
19307
  # @!attribute [rw] logging_info
@@ -18027,11 +19495,15 @@ module Aws::SSM
18027
19495
  # ops_item_id: "String", # required
18028
19496
  # },
18029
19497
  # ],
18030
- # status: "Open", # accepts Open, InProgress, Resolved
19498
+ # status: "Open", # accepts Open, InProgress, Resolved, Pending, TimedOut, Cancelling, Cancelled, Failed, CompletedWithSuccess, CompletedWithFailure, Scheduled, RunbookInProgress, PendingChangeCalendarOverride, ChangeCalendarOverrideApproved, ChangeCalendarOverrideRejected, PendingApproval, Approved, Rejected
18031
19499
  # ops_item_id: "OpsItemId", # required
18032
19500
  # title: "OpsItemTitle",
18033
19501
  # category: "OpsItemCategory",
18034
19502
  # severity: "OpsItemSeverity",
19503
+ # actual_start_time: Time.now,
19504
+ # actual_end_time: Time.now,
19505
+ # planned_start_time: Time.now,
19506
+ # planned_end_time: Time.now,
18035
19507
  # }
18036
19508
  #
18037
19509
  # @!attribute [rw] description
@@ -18121,6 +19593,28 @@ module Aws::SSM
18121
19593
  # Specify a new severity for an OpsItem.
18122
19594
  # @return [String]
18123
19595
  #
19596
+ # @!attribute [rw] actual_start_time
19597
+ # The time a runbook workflow started. Currently reported only for the
19598
+ # OpsItem type `/aws/changerequest`.
19599
+ # @return [Time]
19600
+ #
19601
+ # @!attribute [rw] actual_end_time
19602
+ # The time a runbook workflow ended. Currently reported only for the
19603
+ # OpsItem type `/aws/changerequest`.
19604
+ # @return [Time]
19605
+ #
19606
+ # @!attribute [rw] planned_start_time
19607
+ # The time specified in a change request for a runbook workflow to
19608
+ # start. Currently supported only for the OpsItem type
19609
+ # `/aws/changerequest`.
19610
+ # @return [Time]
19611
+ #
19612
+ # @!attribute [rw] planned_end_time
19613
+ # The time specified in a change request for a runbook workflow to
19614
+ # end. Currently supported only for the OpsItem type
19615
+ # `/aws/changerequest`.
19616
+ # @return [Time]
19617
+ #
18124
19618
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItemRequest AWS API Documentation
18125
19619
  #
18126
19620
  class UpdateOpsItemRequest < Struct.new(
@@ -18134,7 +19628,11 @@ module Aws::SSM
18134
19628
  :ops_item_id,
18135
19629
  :title,
18136
19630
  :category,
18137
- :severity)
19631
+ :severity,
19632
+ :actual_start_time,
19633
+ :actual_end_time,
19634
+ :planned_start_time,
19635
+ :planned_end_time)
18138
19636
  SENSITIVE = []
18139
19637
  include Aws::Structure
18140
19638
  end
@@ -18143,6 +19641,54 @@ module Aws::SSM
18143
19641
  #
18144
19642
  class UpdateOpsItemResponse < Aws::EmptyStructure; end
18145
19643
 
19644
+ # @note When making an API call, you may pass UpdateOpsMetadataRequest
19645
+ # data as a hash:
19646
+ #
19647
+ # {
19648
+ # ops_metadata_arn: "OpsMetadataArn", # required
19649
+ # metadata_to_update: {
19650
+ # "MetadataKey" => {
19651
+ # value: "MetadataValueString",
19652
+ # },
19653
+ # },
19654
+ # keys_to_delete: ["MetadataKey"],
19655
+ # }
19656
+ #
19657
+ # @!attribute [rw] ops_metadata_arn
19658
+ # The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
19659
+ # @return [String]
19660
+ #
19661
+ # @!attribute [rw] metadata_to_update
19662
+ # Metadata to add to an OpsMetadata object.
19663
+ # @return [Hash<String,Types::MetadataValue>]
19664
+ #
19665
+ # @!attribute [rw] keys_to_delete
19666
+ # The metadata keys to delete from the OpsMetadata object.
19667
+ # @return [Array<String>]
19668
+ #
19669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataRequest AWS API Documentation
19670
+ #
19671
+ class UpdateOpsMetadataRequest < Struct.new(
19672
+ :ops_metadata_arn,
19673
+ :metadata_to_update,
19674
+ :keys_to_delete)
19675
+ SENSITIVE = []
19676
+ include Aws::Structure
19677
+ end
19678
+
19679
+ # @!attribute [rw] ops_metadata_arn
19680
+ # The Amazon Resource Name (ARN) of the OpsMetadata Object that was
19681
+ # updated.
19682
+ # @return [String]
19683
+ #
19684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataResult AWS API Documentation
19685
+ #
19686
+ class UpdateOpsMetadataResult < Struct.new(
19687
+ :ops_metadata_arn)
19688
+ SENSITIVE = []
19689
+ include Aws::Structure
19690
+ end
19691
+
18146
19692
  # @note When making an API call, you may pass UpdatePatchBaselineRequest
18147
19693
  # data as a hash:
18148
19694
  #