aws-sdk-ssm 1.0.0.rc13 → 1.0.0.rc14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1018,6 +1018,242 @@ module Aws::SSM
1018
1018
  include Aws::Structure
1019
1019
  end
1020
1020
 
1021
+ # A summary of the call execution that includes an execution ID, the
1022
+ # type of execution (for example, `Command`), and the date/time of the
1023
+ # execution using a datetime object that is saved in the following
1024
+ # format: yyyy-MM-dd'T'HH:mm:ss'Z'.
1025
+ #
1026
+ # @note When making an API call, you may pass ComplianceExecutionSummary
1027
+ # data as a hash:
1028
+ #
1029
+ # {
1030
+ # execution_time: Time.now, # required
1031
+ # execution_id: "ComplianceExecutionId",
1032
+ # execution_type: "ComplianceExecutionType",
1033
+ # }
1034
+ #
1035
+ # @!attribute [rw] execution_time
1036
+ # The time the execution ran as a datetime object that is saved in the
1037
+ # following format: yyyy-MM-dd'T'HH:mm:ss'Z'.
1038
+ # @return [Time]
1039
+ #
1040
+ # @!attribute [rw] execution_id
1041
+ # An ID created by the system when `PutComplianceItems` was called.
1042
+ # For example, `CommandID` is a valid execution ID. You can use this
1043
+ # ID in subsequent calls.
1044
+ # @return [String]
1045
+ #
1046
+ # @!attribute [rw] execution_type
1047
+ # The type of execution. For example, `Command` is a valid execution
1048
+ # type.
1049
+ # @return [String]
1050
+ #
1051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceExecutionSummary AWS API Documentation
1052
+ #
1053
+ class ComplianceExecutionSummary < Struct.new(
1054
+ :execution_time,
1055
+ :execution_id,
1056
+ :execution_type)
1057
+ include Aws::Structure
1058
+ end
1059
+
1060
+ # Information about the compliance as defined by the resource type. For
1061
+ # example, for a patch resource type, `Items` includes information about
1062
+ # the PatchSeverity, Classification, etc.
1063
+ #
1064
+ # @!attribute [rw] compliance_type
1065
+ # The compliance type. For example, Association (for a State Manager
1066
+ # association), Patch, or Custom:`string` are all valide compliance
1067
+ # types.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] resource_type
1071
+ # The type of resource. `ManagedInstance` is currently the only
1072
+ # supported resource type.
1073
+ # @return [String]
1074
+ #
1075
+ # @!attribute [rw] resource_id
1076
+ # An ID for the resource. For a managed instance, this is the instance
1077
+ # ID.
1078
+ # @return [String]
1079
+ #
1080
+ # @!attribute [rw] id
1081
+ # An ID for the compliance item. For example, if the compliance item
1082
+ # is a Windows patch, the ID could be the number of the KB article.
1083
+ # Here's an example: KB4010320.
1084
+ # @return [String]
1085
+ #
1086
+ # @!attribute [rw] title
1087
+ # A title for the compliance item. For example, if the compliance item
1088
+ # is a Windows patch, the title could be the title of the KB article
1089
+ # for the patch. Here's an example: Security Update for Active
1090
+ # Directory Federation Services.
1091
+ # @return [String]
1092
+ #
1093
+ # @!attribute [rw] status
1094
+ # The status of the compliance item. An item is either COMPLIANT or
1095
+ # NON\_COMPLIANT.
1096
+ # @return [String]
1097
+ #
1098
+ # @!attribute [rw] severity
1099
+ # The severity of the compliance status. Severity can be one of the
1100
+ # following: Critical, HIGH, Medium, Low, Informational, Unspecified.
1101
+ # @return [String]
1102
+ #
1103
+ # @!attribute [rw] execution_summary
1104
+ # A summary for the compliance item. The summary includes an execution
1105
+ # ID, the execution type (for example, command), and the execution
1106
+ # time.
1107
+ # @return [Types::ComplianceExecutionSummary]
1108
+ #
1109
+ # @!attribute [rw] details
1110
+ # A "Key": "Value" tag combination for the compliance item.
1111
+ # @return [Hash<String,String>]
1112
+ #
1113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItem AWS API Documentation
1114
+ #
1115
+ class ComplianceItem < Struct.new(
1116
+ :compliance_type,
1117
+ :resource_type,
1118
+ :resource_id,
1119
+ :id,
1120
+ :title,
1121
+ :status,
1122
+ :severity,
1123
+ :execution_summary,
1124
+ :details)
1125
+ include Aws::Structure
1126
+ end
1127
+
1128
+ # Information about a compliance item.
1129
+ #
1130
+ # @note When making an API call, you may pass ComplianceItemEntry
1131
+ # data as a hash:
1132
+ #
1133
+ # {
1134
+ # id: "ComplianceItemId",
1135
+ # title: "ComplianceItemTitle",
1136
+ # severity: "CRITICAL", # required, accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1137
+ # status: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT
1138
+ # details: {
1139
+ # "AttributeName" => "AttributeValue",
1140
+ # },
1141
+ # }
1142
+ #
1143
+ # @!attribute [rw] id
1144
+ # The compliance item ID. For example, if the compliance item is a
1145
+ # Windows patch, the ID could be the number of the KB article.
1146
+ # @return [String]
1147
+ #
1148
+ # @!attribute [rw] title
1149
+ # The title of the compliance item. For example, if the compliance
1150
+ # item is a Windows patch, the title could be the title of the KB
1151
+ # article for the patch. Here's an example: Security Update for
1152
+ # Active Directory Federation Services.
1153
+ # @return [String]
1154
+ #
1155
+ # @!attribute [rw] severity
1156
+ # The severity of the compliance status. Severity can be one of the
1157
+ # following: Critical, High, Medium, Low, Informational, Unspecified.
1158
+ # @return [String]
1159
+ #
1160
+ # @!attribute [rw] status
1161
+ # The status of the compliance item. An item is either COMPLIANT or
1162
+ # NON\_COMPLIANT.
1163
+ # @return [String]
1164
+ #
1165
+ # @!attribute [rw] details
1166
+ # A "Key": "Value" tag combination for the compliance item.
1167
+ # @return [Hash<String,String>]
1168
+ #
1169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItemEntry AWS API Documentation
1170
+ #
1171
+ class ComplianceItemEntry < Struct.new(
1172
+ :id,
1173
+ :title,
1174
+ :severity,
1175
+ :status,
1176
+ :details)
1177
+ include Aws::Structure
1178
+ end
1179
+
1180
+ # One or more filters. Use a filter to return a more specific list of
1181
+ # results.
1182
+ #
1183
+ # @note When making an API call, you may pass ComplianceStringFilter
1184
+ # data as a hash:
1185
+ #
1186
+ # {
1187
+ # key: "ComplianceStringFilterKey",
1188
+ # values: ["ComplianceFilterValue"],
1189
+ # type: "EQUAL", # accepts EQUAL, NOT_EQUAL, BEGIN_WITH, LESS_THAN, GREATER_THAN
1190
+ # }
1191
+ #
1192
+ # @!attribute [rw] key
1193
+ # The name of the filter.
1194
+ # @return [String]
1195
+ #
1196
+ # @!attribute [rw] values
1197
+ # The value you want to search for.
1198
+ # @return [Array<String>]
1199
+ #
1200
+ # @!attribute [rw] type
1201
+ # The type of comparison that should be performed for the value:
1202
+ # Equal, NotEqual, BeginWith, LessThan, or GreaterThan.
1203
+ # @return [String]
1204
+ #
1205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceStringFilter AWS API Documentation
1206
+ #
1207
+ class ComplianceStringFilter < Struct.new(
1208
+ :key,
1209
+ :values,
1210
+ :type)
1211
+ include Aws::Structure
1212
+ end
1213
+
1214
+ # A summary of compliance information by compliance type.
1215
+ #
1216
+ # @!attribute [rw] compliance_type
1217
+ # The type of compliance item. For example, the compliance type can be
1218
+ # Association, Patch, or Custom:string.
1219
+ # @return [String]
1220
+ #
1221
+ # @!attribute [rw] compliant_summary
1222
+ # A list of COMPLIANT items for the specified compliance type.
1223
+ # @return [Types::CompliantSummary]
1224
+ #
1225
+ # @!attribute [rw] non_compliant_summary
1226
+ # A list of NON\_COMPLIANT items for the specified compliance type.
1227
+ # @return [Types::NonCompliantSummary]
1228
+ #
1229
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceSummaryItem AWS API Documentation
1230
+ #
1231
+ class ComplianceSummaryItem < Struct.new(
1232
+ :compliance_type,
1233
+ :compliant_summary,
1234
+ :non_compliant_summary)
1235
+ include Aws::Structure
1236
+ end
1237
+
1238
+ # A summary of resources that are compliant. The summary is organized
1239
+ # according to the resource count for each compliance type.
1240
+ #
1241
+ # @!attribute [rw] compliant_count
1242
+ # The total number of resources that are compliant.
1243
+ # @return [Integer]
1244
+ #
1245
+ # @!attribute [rw] severity_summary
1246
+ # A summary of the compliance severity by compliance type.
1247
+ # @return [Types::SeveritySummary]
1248
+ #
1249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CompliantSummary AWS API Documentation
1250
+ #
1251
+ class CompliantSummary < Struct.new(
1252
+ :compliant_count,
1253
+ :severity_summary)
1254
+ include Aws::Structure
1255
+ end
1256
+
1021
1257
  # @note When making an API call, you may pass CreateActivationRequest
1022
1258
  # data as a hash:
1023
1259
  #
@@ -1342,6 +1578,7 @@ module Aws::SSM
1342
1578
  #
1343
1579
  # {
1344
1580
  # name: "MaintenanceWindowName", # required
1581
+ # description: "MaintenanceWindowDescription",
1345
1582
  # schedule: "MaintenanceWindowSchedule", # required
1346
1583
  # duration: 1, # required
1347
1584
  # cutoff: 1, # required
@@ -1353,6 +1590,12 @@ module Aws::SSM
1353
1590
  # The name of the Maintenance Window.
1354
1591
  # @return [String]
1355
1592
  #
1593
+ # @!attribute [rw] description
1594
+ # An optional description for the Maintenance Window. We recommend
1595
+ # specifying a description to help your organize your Maintenance
1596
+ # Windows.
1597
+ # @return [String]
1598
+ #
1356
1599
  # @!attribute [rw] schedule
1357
1600
  # The schedule of the Maintenance Window in the form of a cron or rate
1358
1601
  # expression.
@@ -1383,6 +1626,7 @@ module Aws::SSM
1383
1626
  #
1384
1627
  class CreateMaintenanceWindowRequest < Struct.new(
1385
1628
  :name,
1629
+ :description,
1386
1630
  :schedule,
1387
1631
  :duration,
1388
1632
  :cutoff,
@@ -1828,6 +2072,7 @@ module Aws::SSM
1828
2072
  # {
1829
2073
  # window_id: "MaintenanceWindowId", # required
1830
2074
  # window_target_id: "MaintenanceWindowTargetId", # required
2075
+ # safe: false,
1831
2076
  # }
1832
2077
  #
1833
2078
  # @!attribute [rw] window_id
@@ -1838,11 +2083,18 @@ module Aws::SSM
1838
2083
  # The ID of the target definition to remove.
1839
2084
  # @return [String]
1840
2085
  #
2086
+ # @!attribute [rw] safe
2087
+ # The system checks if the target is being referenced by a task. If
2088
+ # the target is being referenced, the system returns and error and
2089
+ # does not deregister the target from the Maintenance Window.
2090
+ # @return [Boolean]
2091
+ #
1841
2092
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowRequest AWS API Documentation
1842
2093
  #
1843
2094
  class DeregisterTargetFromMaintenanceWindowRequest < Struct.new(
1844
2095
  :window_id,
1845
- :window_target_id)
2096
+ :window_target_id,
2097
+ :safe)
1846
2098
  include Aws::Structure
1847
2099
  end
1848
2100
 
@@ -4003,6 +4255,7 @@ module Aws::SSM
4003
4255
  # type_name: "InventoryItemTypeNameFilter",
4004
4256
  # next_token: "NextToken",
4005
4257
  # max_results: 1,
4258
+ # sub_type: false,
4006
4259
  # }
4007
4260
  #
4008
4261
  # @!attribute [rw] type_name
@@ -4020,12 +4273,17 @@ module Aws::SSM
4020
4273
  # next set of results.
4021
4274
  # @return [Integer]
4022
4275
  #
4276
+ # @!attribute [rw] sub_type
4277
+ # Returns the sub-type schema for a specified inventory type.
4278
+ # @return [Boolean]
4279
+ #
4023
4280
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaRequest AWS API Documentation
4024
4281
  #
4025
4282
  class GetInventorySchemaRequest < Struct.new(
4026
4283
  :type_name,
4027
4284
  :next_token,
4028
- :max_results)
4285
+ :max_results,
4286
+ :sub_type)
4029
4287
  include Aws::Structure
4030
4288
  end
4031
4289
 
@@ -4101,6 +4359,107 @@ module Aws::SSM
4101
4359
  include Aws::Structure
4102
4360
  end
4103
4361
 
4362
+ # @note When making an API call, you may pass GetMaintenanceWindowExecutionTaskInvocationRequest
4363
+ # data as a hash:
4364
+ #
4365
+ # {
4366
+ # window_execution_id: "MaintenanceWindowExecutionId", # required
4367
+ # task_id: "MaintenanceWindowExecutionTaskId", # required
4368
+ # invocation_id: "MaintenanceWindowExecutionTaskInvocationId", # required
4369
+ # }
4370
+ #
4371
+ # @!attribute [rw] window_execution_id
4372
+ # The ID of the Maintenance Window execution the task is part of.
4373
+ # @return [String]
4374
+ #
4375
+ # @!attribute [rw] task_id
4376
+ # The ID of the specific task in the Maintenance Window task that
4377
+ # should be retrieved.
4378
+ # @return [String]
4379
+ #
4380
+ # @!attribute [rw] invocation_id
4381
+ # The invocation ID to retrieve.
4382
+ # @return [String]
4383
+ #
4384
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationRequest AWS API Documentation
4385
+ #
4386
+ class GetMaintenanceWindowExecutionTaskInvocationRequest < Struct.new(
4387
+ :window_execution_id,
4388
+ :task_id,
4389
+ :invocation_id)
4390
+ include Aws::Structure
4391
+ end
4392
+
4393
+ # @!attribute [rw] window_execution_id
4394
+ # The Maintenance Window execution ID.
4395
+ # @return [String]
4396
+ #
4397
+ # @!attribute [rw] task_execution_id
4398
+ # The task execution ID.
4399
+ # @return [String]
4400
+ #
4401
+ # @!attribute [rw] invocation_id
4402
+ # The invocation ID.
4403
+ # @return [String]
4404
+ #
4405
+ # @!attribute [rw] execution_id
4406
+ # The execution ID.
4407
+ # @return [String]
4408
+ #
4409
+ # @!attribute [rw] task_type
4410
+ # Retrieves the task type for a Maintenance Window. Task types include
4411
+ # the following: LAMBDA, STEP\_FUNCTION, AUTOMATION, RUN\_COMMAND.
4412
+ # @return [String]
4413
+ #
4414
+ # @!attribute [rw] parameters
4415
+ # The parameters used at the time the task executed.
4416
+ # @return [String]
4417
+ #
4418
+ # @!attribute [rw] status
4419
+ # The task status for an invocation.
4420
+ # @return [String]
4421
+ #
4422
+ # @!attribute [rw] status_details
4423
+ # The details explaining the status. Details are only available for
4424
+ # certain status values.
4425
+ # @return [String]
4426
+ #
4427
+ # @!attribute [rw] start_time
4428
+ # The time the task started executing on the target.
4429
+ # @return [Time]
4430
+ #
4431
+ # @!attribute [rw] end_time
4432
+ # The time the task finished executing on the target.
4433
+ # @return [Time]
4434
+ #
4435
+ # @!attribute [rw] owner_information
4436
+ # User-provided value that will be included in any CloudWatch events
4437
+ # raised while running tasks for these targets in this Maintenance
4438
+ # Window.
4439
+ # @return [String]
4440
+ #
4441
+ # @!attribute [rw] window_target_id
4442
+ # The Maintenance Window target ID.
4443
+ # @return [String]
4444
+ #
4445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationResult AWS API Documentation
4446
+ #
4447
+ class GetMaintenanceWindowExecutionTaskInvocationResult < Struct.new(
4448
+ :window_execution_id,
4449
+ :task_execution_id,
4450
+ :invocation_id,
4451
+ :execution_id,
4452
+ :task_type,
4453
+ :parameters,
4454
+ :status,
4455
+ :status_details,
4456
+ :start_time,
4457
+ :end_time,
4458
+ :owner_information,
4459
+ :window_target_id)
4460
+ include Aws::Structure
4461
+ end
4462
+
4104
4463
  # @note When making an API call, you may pass GetMaintenanceWindowExecutionTaskRequest
4105
4464
  # data as a hash:
4106
4465
  #
@@ -4233,6 +4592,10 @@ module Aws::SSM
4233
4592
  # The name of the Maintenance Window.
4234
4593
  # @return [String]
4235
4594
  #
4595
+ # @!attribute [rw] description
4596
+ # The description of the Maintenance Window.
4597
+ # @return [String]
4598
+ #
4236
4599
  # @!attribute [rw] schedule
4237
4600
  # The schedule of the Maintenance Window in the form of a cron or rate
4238
4601
  # expression.
@@ -4269,6 +4632,7 @@ module Aws::SSM
4269
4632
  class GetMaintenanceWindowResult < Struct.new(
4270
4633
  :window_id,
4271
4634
  :name,
4635
+ :description,
4272
4636
  :schedule,
4273
4637
  :duration,
4274
4638
  :cutoff,
@@ -4279,39 +4643,146 @@ module Aws::SSM
4279
4643
  include Aws::Structure
4280
4644
  end
4281
4645
 
4282
- # @note When making an API call, you may pass GetParameterHistoryRequest
4646
+ # @note When making an API call, you may pass GetMaintenanceWindowTaskRequest
4283
4647
  # data as a hash:
4284
4648
  #
4285
4649
  # {
4286
- # name: "PSParameterName", # required
4287
- # with_decryption: false,
4288
- # max_results: 1,
4289
- # next_token: "NextToken",
4650
+ # window_id: "MaintenanceWindowId", # required
4651
+ # window_task_id: "MaintenanceWindowTaskId", # required
4290
4652
  # }
4291
4653
  #
4292
- # @!attribute [rw] name
4293
- # The name of a parameter you want to query.
4654
+ # @!attribute [rw] window_id
4655
+ # The Maintenance Window ID that includes the task to retrieve.
4294
4656
  # @return [String]
4295
4657
  #
4296
- # @!attribute [rw] with_decryption
4297
- # Return decrypted values for secure string parameters. This flag is
4298
- # ignored for String and StringList parameter types.
4299
- # @return [Boolean]
4300
- #
4301
- # @!attribute [rw] max_results
4302
- # The maximum number of items to return for this call. The call also
4303
- # returns a token that you can specify in a subsequent call to get the
4304
- # next set of results.
4305
- # @return [Integer]
4306
- #
4307
- # @!attribute [rw] next_token
4308
- # The token for the next set of items to return. (You received this
4309
- # token from a previous call.)
4658
+ # @!attribute [rw] window_task_id
4659
+ # The Maintenance Window task ID to retrieve.
4310
4660
  # @return [String]
4311
4661
  #
4312
- # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryRequest AWS API Documentation
4662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskRequest AWS API Documentation
4313
4663
  #
4314
- class GetParameterHistoryRequest < Struct.new(
4664
+ class GetMaintenanceWindowTaskRequest < Struct.new(
4665
+ :window_id,
4666
+ :window_task_id)
4667
+ include Aws::Structure
4668
+ end
4669
+
4670
+ # @!attribute [rw] window_id
4671
+ # The retrieved Maintenance Window ID.
4672
+ # @return [String]
4673
+ #
4674
+ # @!attribute [rw] window_task_id
4675
+ # The retrieved Maintenance Window task ID.
4676
+ # @return [String]
4677
+ #
4678
+ # @!attribute [rw] targets
4679
+ # The targets where the task should execute.
4680
+ # @return [Array<Types::Target>]
4681
+ #
4682
+ # @!attribute [rw] task_arn
4683
+ # TaskArn is the resource that the task used during execution. For
4684
+ # RUN\_COMMAND and AUTOMATION task types, the TaskArn is the SSM
4685
+ # Document Name/ARN. For LAMBDA tasks, TaskArn is the Function
4686
+ # Name/ARN. For STEP\_FUNCTION tasks, the TaskArn is the State Machine
4687
+ # ARN.
4688
+ # @return [String]
4689
+ #
4690
+ # @!attribute [rw] service_role_arn
4691
+ # The IAM service role to assume during task execution.
4692
+ # @return [String]
4693
+ #
4694
+ # @!attribute [rw] task_type
4695
+ # The type of task to execute.
4696
+ # @return [String]
4697
+ #
4698
+ # @!attribute [rw] task_parameters
4699
+ # The parameters to pass to the task when it executes.
4700
+ # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
4701
+ #
4702
+ # @!attribute [rw] task_invocation_parameters
4703
+ # The parameters to pass to the task when it executes.
4704
+ # @return [Types::MaintenanceWindowTaskInvocationParameters]
4705
+ #
4706
+ # @!attribute [rw] priority
4707
+ # The priority of the task when it executes. The lower the number, the
4708
+ # higher the priority. Tasks that have the same priority are scheduled
4709
+ # in parallel.
4710
+ # @return [Integer]
4711
+ #
4712
+ # @!attribute [rw] max_concurrency
4713
+ # The maximum number of targets allowed to run this task in parallel.
4714
+ # @return [String]
4715
+ #
4716
+ # @!attribute [rw] max_errors
4717
+ # The maximum number of errors allowed before the task stops being
4718
+ # scheduled.
4719
+ # @return [String]
4720
+ #
4721
+ # @!attribute [rw] logging_info
4722
+ # The location in Amazon S3 where the task results will be logged.
4723
+ # @return [Types::LoggingInfo]
4724
+ #
4725
+ # @!attribute [rw] name
4726
+ # The retrieved task name.
4727
+ # @return [String]
4728
+ #
4729
+ # @!attribute [rw] description
4730
+ # The retrieved task description.
4731
+ # @return [String]
4732
+ #
4733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult AWS API Documentation
4734
+ #
4735
+ class GetMaintenanceWindowTaskResult < Struct.new(
4736
+ :window_id,
4737
+ :window_task_id,
4738
+ :targets,
4739
+ :task_arn,
4740
+ :service_role_arn,
4741
+ :task_type,
4742
+ :task_parameters,
4743
+ :task_invocation_parameters,
4744
+ :priority,
4745
+ :max_concurrency,
4746
+ :max_errors,
4747
+ :logging_info,
4748
+ :name,
4749
+ :description)
4750
+ include Aws::Structure
4751
+ end
4752
+
4753
+ # @note When making an API call, you may pass GetParameterHistoryRequest
4754
+ # data as a hash:
4755
+ #
4756
+ # {
4757
+ # name: "PSParameterName", # required
4758
+ # with_decryption: false,
4759
+ # max_results: 1,
4760
+ # next_token: "NextToken",
4761
+ # }
4762
+ #
4763
+ # @!attribute [rw] name
4764
+ # The name of a parameter you want to query.
4765
+ # @return [String]
4766
+ #
4767
+ # @!attribute [rw] with_decryption
4768
+ # Return decrypted values for secure string parameters. This flag is
4769
+ # ignored for String and StringList parameter types.
4770
+ # @return [Boolean]
4771
+ #
4772
+ # @!attribute [rw] max_results
4773
+ # The maximum number of items to return for this call. The call also
4774
+ # returns a token that you can specify in a subsequent call to get the
4775
+ # next set of results.
4776
+ # @return [Integer]
4777
+ #
4778
+ # @!attribute [rw] next_token
4779
+ # The token for the next set of items to return. (You received this
4780
+ # token from a previous call.)
4781
+ # @return [String]
4782
+ #
4783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryRequest AWS API Documentation
4784
+ #
4785
+ class GetParameterHistoryRequest < Struct.new(
4315
4786
  :name,
4316
4787
  :with_decryption,
4317
4788
  :max_results,
@@ -5111,6 +5582,9 @@ module Aws::SSM
5111
5582
  # "AttributeName" => "AttributeValue",
5112
5583
  # },
5113
5584
  # ],
5585
+ # context: {
5586
+ # "AttributeName" => "AttributeValue",
5587
+ # },
5114
5588
  # }
5115
5589
  #
5116
5590
  # @!attribute [rw] type_name
@@ -5140,6 +5614,13 @@ module Aws::SSM
5140
5614
  # The inventory data of the inventory type.
5141
5615
  # @return [Array<Hash<String,String>>]
5142
5616
  #
5617
+ # @!attribute [rw] context
5618
+ # A map of associated properties for a specified inventory type. For
5619
+ # example, with this attribute, you can specify the `ExecutionId`,
5620
+ # `ExecutionType`, `ComplianceType` properties of the
5621
+ # `AWS:ComplianceItem` type.
5622
+ # @return [Hash<String,String>]
5623
+ #
5143
5624
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItem AWS API Documentation
5144
5625
  #
5145
5626
  class InventoryItem < Struct.new(
@@ -5147,7 +5628,8 @@ module Aws::SSM
5147
5628
  :schema_version,
5148
5629
  :capture_time,
5149
5630
  :content_hash,
5150
- :content)
5631
+ :content,
5632
+ :context)
5151
5633
  include Aws::Structure
5152
5634
  end
5153
5635
 
@@ -5455,6 +5937,138 @@ module Aws::SSM
5455
5937
  include Aws::Structure
5456
5938
  end
5457
5939
 
5940
+ # @note When making an API call, you may pass ListComplianceItemsRequest
5941
+ # data as a hash:
5942
+ #
5943
+ # {
5944
+ # filters: [
5945
+ # {
5946
+ # key: "ComplianceStringFilterKey",
5947
+ # values: ["ComplianceFilterValue"],
5948
+ # type: "EQUAL", # accepts EQUAL, NOT_EQUAL, BEGIN_WITH, LESS_THAN, GREATER_THAN
5949
+ # },
5950
+ # ],
5951
+ # resource_ids: ["ComplianceResourceId"],
5952
+ # resource_types: ["ComplianceResourceType"],
5953
+ # next_token: "NextToken",
5954
+ # max_results: 1,
5955
+ # }
5956
+ #
5957
+ # @!attribute [rw] filters
5958
+ # One or more compliance filters. Use a filter to return a more
5959
+ # specific list of results.
5960
+ # @return [Array<Types::ComplianceStringFilter>]
5961
+ #
5962
+ # @!attribute [rw] resource_ids
5963
+ # The ID for the resources from which you want to get compliance
5964
+ # information. Currently, you can only specify one resource ID.
5965
+ # @return [Array<String>]
5966
+ #
5967
+ # @!attribute [rw] resource_types
5968
+ # The type of resource from which you want to get compliance
5969
+ # information. Currently, the only supported resource type is
5970
+ # `ManagedInstance`.
5971
+ # @return [Array<String>]
5972
+ #
5973
+ # @!attribute [rw] next_token
5974
+ # A token to start the list. Use this token to get the next set of
5975
+ # results.
5976
+ # @return [String]
5977
+ #
5978
+ # @!attribute [rw] max_results
5979
+ # The maximum number of items to return for this call. The call also
5980
+ # returns a token that you can specify in a subsequent call to get the
5981
+ # next set of results.
5982
+ # @return [Integer]
5983
+ #
5984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsRequest AWS API Documentation
5985
+ #
5986
+ class ListComplianceItemsRequest < Struct.new(
5987
+ :filters,
5988
+ :resource_ids,
5989
+ :resource_types,
5990
+ :next_token,
5991
+ :max_results)
5992
+ include Aws::Structure
5993
+ end
5994
+
5995
+ # @!attribute [rw] compliance_items
5996
+ # A list of compliance information for the specified resource ID.
5997
+ # @return [Array<Types::ComplianceItem>]
5998
+ #
5999
+ # @!attribute [rw] next_token
6000
+ # The token for the next set of items to return. Use this token to get
6001
+ # the next set of results.
6002
+ # @return [String]
6003
+ #
6004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsResult AWS API Documentation
6005
+ #
6006
+ class ListComplianceItemsResult < Struct.new(
6007
+ :compliance_items,
6008
+ :next_token)
6009
+ include Aws::Structure
6010
+ end
6011
+
6012
+ # @note When making an API call, you may pass ListComplianceSummariesRequest
6013
+ # data as a hash:
6014
+ #
6015
+ # {
6016
+ # filters: [
6017
+ # {
6018
+ # key: "ComplianceStringFilterKey",
6019
+ # values: ["ComplianceFilterValue"],
6020
+ # type: "EQUAL", # accepts EQUAL, NOT_EQUAL, BEGIN_WITH, LESS_THAN, GREATER_THAN
6021
+ # },
6022
+ # ],
6023
+ # next_token: "NextToken",
6024
+ # max_results: 1,
6025
+ # }
6026
+ #
6027
+ # @!attribute [rw] filters
6028
+ # One or more compliance or inventory filters. Use a filter to return
6029
+ # a more specific list of results.
6030
+ # @return [Array<Types::ComplianceStringFilter>]
6031
+ #
6032
+ # @!attribute [rw] next_token
6033
+ # A token to start the list. Use this token to get the next set of
6034
+ # results.
6035
+ # @return [String]
6036
+ #
6037
+ # @!attribute [rw] max_results
6038
+ # The maximum number of items to return for this call. Currently, you
6039
+ # can specify null or 50. The call also returns a token that you can
6040
+ # specify in a subsequent call to get the next set of results.
6041
+ # @return [Integer]
6042
+ #
6043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesRequest AWS API Documentation
6044
+ #
6045
+ class ListComplianceSummariesRequest < Struct.new(
6046
+ :filters,
6047
+ :next_token,
6048
+ :max_results)
6049
+ include Aws::Structure
6050
+ end
6051
+
6052
+ # @!attribute [rw] compliance_summary_items
6053
+ # A list of compliant and non-compliant summary counts based on
6054
+ # compliance types. For example, this call returns State Manager
6055
+ # associations, patches, or custom compliance types according to the
6056
+ # filter criteria you specified.
6057
+ # @return [Array<Types::ComplianceSummaryItem>]
6058
+ #
6059
+ # @!attribute [rw] next_token
6060
+ # The token for the next set of items to return. Use this token to get
6061
+ # the next set of results.
6062
+ # @return [String]
6063
+ #
6064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesResult AWS API Documentation
6065
+ #
6066
+ class ListComplianceSummariesResult < Struct.new(
6067
+ :compliance_summary_items,
6068
+ :next_token)
6069
+ include Aws::Structure
6070
+ end
6071
+
5458
6072
  # @note When making an API call, you may pass ListDocumentVersionsRequest
5459
6073
  # data as a hash:
5460
6074
  #
@@ -5652,6 +6266,66 @@ module Aws::SSM
5652
6266
  include Aws::Structure
5653
6267
  end
5654
6268
 
6269
+ # @note When making an API call, you may pass ListResourceComplianceSummariesRequest
6270
+ # data as a hash:
6271
+ #
6272
+ # {
6273
+ # filters: [
6274
+ # {
6275
+ # key: "ComplianceStringFilterKey",
6276
+ # values: ["ComplianceFilterValue"],
6277
+ # type: "EQUAL", # accepts EQUAL, NOT_EQUAL, BEGIN_WITH, LESS_THAN, GREATER_THAN
6278
+ # },
6279
+ # ],
6280
+ # next_token: "NextToken",
6281
+ # max_results: 1,
6282
+ # }
6283
+ #
6284
+ # @!attribute [rw] filters
6285
+ # One or more filters. Use a filter to return a more specific list of
6286
+ # results.
6287
+ # @return [Array<Types::ComplianceStringFilter>]
6288
+ #
6289
+ # @!attribute [rw] next_token
6290
+ # A token to start the list. Use this token to get the next set of
6291
+ # results.
6292
+ # @return [String]
6293
+ #
6294
+ # @!attribute [rw] max_results
6295
+ # The maximum number of items to return for this call. The call also
6296
+ # returns a token that you can specify in a subsequent call to get the
6297
+ # next set of results.
6298
+ # @return [Integer]
6299
+ #
6300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesRequest AWS API Documentation
6301
+ #
6302
+ class ListResourceComplianceSummariesRequest < Struct.new(
6303
+ :filters,
6304
+ :next_token,
6305
+ :max_results)
6306
+ include Aws::Structure
6307
+ end
6308
+
6309
+ # @!attribute [rw] resource_compliance_summary_items
6310
+ # A summary count for specified or targeted managed instances. Summary
6311
+ # count includes information about compliant and non-compliant State
6312
+ # Manager associations, patch statuses, or custom items according to
6313
+ # the filter criteria you specify.
6314
+ # @return [Array<Types::ResourceComplianceSummaryItem>]
6315
+ #
6316
+ # @!attribute [rw] next_token
6317
+ # The token for the next set of items to return. Use this token to get
6318
+ # the next set of results.
6319
+ # @return [String]
6320
+ #
6321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesResult AWS API Documentation
6322
+ #
6323
+ class ListResourceComplianceSummariesResult < Struct.new(
6324
+ :resource_compliance_summary_items,
6325
+ :next_token)
6326
+ include Aws::Structure
6327
+ end
6328
+
5655
6329
  # @note When making an API call, you may pass ListResourceDataSyncRequest
5656
6330
  # data as a hash:
5657
6331
  #
@@ -5764,6 +6438,35 @@ module Aws::SSM
5764
6438
  include Aws::Structure
5765
6439
  end
5766
6440
 
6441
+ # Parameters for an AUTOMATION task type.
6442
+ #
6443
+ # @note When making an API call, you may pass MaintenanceWindowAutomationParameters
6444
+ # data as a hash:
6445
+ #
6446
+ # {
6447
+ # document_version: "DocumentVersion",
6448
+ # parameters: {
6449
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
6450
+ # },
6451
+ # }
6452
+ #
6453
+ # @!attribute [rw] document_version
6454
+ # The version of an SSM Automation document to use during task
6455
+ # execution.
6456
+ # @return [String]
6457
+ #
6458
+ # @!attribute [rw] parameters
6459
+ # Parameters for the AUTOMATION task.
6460
+ # @return [Hash<String,Array<String>>]
6461
+ #
6462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowAutomationParameters AWS API Documentation
6463
+ #
6464
+ class MaintenanceWindowAutomationParameters < Struct.new(
6465
+ :document_version,
6466
+ :parameters)
6467
+ include Aws::Structure
6468
+ end
6469
+
5767
6470
  # Describes the information about an execution of a Maintenance Window.
5768
6471
  #
5769
6472
  # @!attribute [rw] window_id
@@ -5877,8 +6580,12 @@ module Aws::SSM
5877
6580
  # the command ID.
5878
6581
  # @return [String]
5879
6582
  #
5880
- # @!attribute [rw] parameters
5881
- # The parameters that were provided for the invocation when it was
6583
+ # @!attribute [rw] task_type
6584
+ # The task type.
6585
+ # @return [String]
6586
+ #
6587
+ # @!attribute [rw] parameters
6588
+ # The parameters that were provided for the invocation when it was
5882
6589
  # executed.
5883
6590
  # @return [String]
5884
6591
  #
@@ -5917,6 +6624,7 @@ module Aws::SSM
5917
6624
  :task_execution_id,
5918
6625
  :invocation_id,
5919
6626
  :execution_id,
6627
+ :task_type,
5920
6628
  :parameters,
5921
6629
  :status,
5922
6630
  :status_details,
@@ -5963,6 +6671,10 @@ module Aws::SSM
5963
6671
  # The name of the Maintenance Window.
5964
6672
  # @return [String]
5965
6673
  #
6674
+ # @!attribute [rw] description
6675
+ # A description of the Maintenance Window.
6676
+ # @return [String]
6677
+ #
5966
6678
  # @!attribute [rw] enabled
5967
6679
  # Whether the Maintenance Window is enabled.
5968
6680
  # @return [Boolean]
@@ -5981,12 +6693,155 @@ module Aws::SSM
5981
6693
  class MaintenanceWindowIdentity < Struct.new(
5982
6694
  :window_id,
5983
6695
  :name,
6696
+ :description,
5984
6697
  :enabled,
5985
6698
  :duration,
5986
6699
  :cutoff)
5987
6700
  include Aws::Structure
5988
6701
  end
5989
6702
 
6703
+ # Parameters for a LAMBDA task type.
6704
+ #
6705
+ # @note When making an API call, you may pass MaintenanceWindowLambdaParameters
6706
+ # data as a hash:
6707
+ #
6708
+ # {
6709
+ # client_context: "MaintenanceWindowLambdaClientContext",
6710
+ # qualifier: "MaintenanceWindowLambdaQualifier",
6711
+ # payload: "data",
6712
+ # }
6713
+ #
6714
+ # @!attribute [rw] client_context
6715
+ # Using the ClientContext you can pass client-specific information to
6716
+ # the Lambda function you are invoking. You can then process the
6717
+ # client information in your Lambda function as you choose through the
6718
+ # context variable.
6719
+ # @return [String]
6720
+ #
6721
+ # @!attribute [rw] qualifier
6722
+ # You can use this optional parameter to specify a Lambda function
6723
+ # version or alias name. If you specify a function version, the API
6724
+ # uses the qualified function ARN to invoke a specific Lambda
6725
+ # function. If you specify an alias name, the API uses the alias ARN
6726
+ # to invoke the Lambda function version to which the alias points.
6727
+ # @return [String]
6728
+ #
6729
+ # @!attribute [rw] payload
6730
+ # JSON that you want to provide to your Lambda function as input.
6731
+ # @return [String]
6732
+ #
6733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowLambdaParameters AWS API Documentation
6734
+ #
6735
+ class MaintenanceWindowLambdaParameters < Struct.new(
6736
+ :client_context,
6737
+ :qualifier,
6738
+ :payload)
6739
+ include Aws::Structure
6740
+ end
6741
+
6742
+ # Parameters for a RUN\_COMMAND task type.
6743
+ #
6744
+ # @note When making an API call, you may pass MaintenanceWindowRunCommandParameters
6745
+ # data as a hash:
6746
+ #
6747
+ # {
6748
+ # comment: "Comment",
6749
+ # document_hash: "DocumentHash",
6750
+ # document_hash_type: "Sha256", # accepts Sha256, Sha1
6751
+ # notification_config: {
6752
+ # notification_arn: "NotificationArn",
6753
+ # notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
6754
+ # notification_type: "Command", # accepts Command, Invocation
6755
+ # },
6756
+ # output_s3_bucket_name: "S3BucketName",
6757
+ # output_s3_key_prefix: "S3KeyPrefix",
6758
+ # parameters: {
6759
+ # "ParameterName" => ["ParameterValue"],
6760
+ # },
6761
+ # service_role_arn: "ServiceRole",
6762
+ # timeout_seconds: 1,
6763
+ # }
6764
+ #
6765
+ # @!attribute [rw] comment
6766
+ # Information about the command(s) to execute.
6767
+ # @return [String]
6768
+ #
6769
+ # @!attribute [rw] document_hash
6770
+ # The Sha256 or Sha1 hash created by the system when the document was
6771
+ # created. Sha1 hashes have been deprecated.
6772
+ # @return [String]
6773
+ #
6774
+ # @!attribute [rw] document_hash_type
6775
+ # Sha256 or Sha1. Sha1 hashes have been deprecated.
6776
+ # @return [String]
6777
+ #
6778
+ # @!attribute [rw] notification_config
6779
+ # Configurations for sending notifications about command status
6780
+ # changes on a per instance basis.
6781
+ # @return [Types::NotificationConfig]
6782
+ #
6783
+ # @!attribute [rw] output_s3_bucket_name
6784
+ # The name of the Amazon S3 bucket.
6785
+ # @return [String]
6786
+ #
6787
+ # @!attribute [rw] output_s3_key_prefix
6788
+ # The Amazon S3 bucket subfolder.
6789
+ # @return [String]
6790
+ #
6791
+ # @!attribute [rw] parameters
6792
+ # Parameters for the RUN\_COMMAND task execution.
6793
+ # @return [Hash<String,Array<String>>]
6794
+ #
6795
+ # @!attribute [rw] service_role_arn
6796
+ # The IAM service role that to assume during task execution.
6797
+ # @return [String]
6798
+ #
6799
+ # @!attribute [rw] timeout_seconds
6800
+ # If this time is reached and the command has not already started
6801
+ # executing, it will not execute.
6802
+ # @return [Integer]
6803
+ #
6804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowRunCommandParameters AWS API Documentation
6805
+ #
6806
+ class MaintenanceWindowRunCommandParameters < Struct.new(
6807
+ :comment,
6808
+ :document_hash,
6809
+ :document_hash_type,
6810
+ :notification_config,
6811
+ :output_s3_bucket_name,
6812
+ :output_s3_key_prefix,
6813
+ :parameters,
6814
+ :service_role_arn,
6815
+ :timeout_seconds)
6816
+ include Aws::Structure
6817
+ end
6818
+
6819
+ # Parameters for the STEP\_FUNCTION execution.
6820
+ #
6821
+ # @note When making an API call, you may pass MaintenanceWindowStepFunctionsParameters
6822
+ # data as a hash:
6823
+ #
6824
+ # {
6825
+ # input: "MaintenanceWindowStepFunctionsInput",
6826
+ # name: "MaintenanceWindowStepFunctionsName",
6827
+ # }
6828
+ #
6829
+ # @!attribute [rw] input
6830
+ # The inputs for the STEP\_FUNCTION task.
6831
+ # @return [String]
6832
+ #
6833
+ # @!attribute [rw] name
6834
+ # The name of the STEP\_FUNCTION task.
6835
+ # @return [String]
6836
+ #
6837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowStepFunctionsParameters AWS API Documentation
6838
+ #
6839
+ class MaintenanceWindowStepFunctionsParameters < Struct.new(
6840
+ :input,
6841
+ :name)
6842
+ include Aws::Structure
6843
+ end
6844
+
5990
6845
  # The target registered with the Maintenance Window.
5991
6846
  #
5992
6847
  # @!attribute [rw] window_id
@@ -6014,6 +6869,14 @@ module Aws::SSM
6014
6869
  # Window.
6015
6870
  # @return [String]
6016
6871
  #
6872
+ # @!attribute [rw] name
6873
+ # The target name.
6874
+ # @return [String]
6875
+ #
6876
+ # @!attribute [rw] description
6877
+ # A description of the target.
6878
+ # @return [String]
6879
+ #
6017
6880
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTarget AWS API Documentation
6018
6881
  #
6019
6882
  class MaintenanceWindowTarget < Struct.new(
@@ -6021,7 +6884,9 @@ module Aws::SSM
6021
6884
  :window_target_id,
6022
6885
  :resource_type,
6023
6886
  :targets,
6024
- :owner_information)
6887
+ :owner_information,
6888
+ :name,
6889
+ :description)
6025
6890
  include Aws::Structure
6026
6891
  end
6027
6892
 
@@ -6036,11 +6901,15 @@ module Aws::SSM
6036
6901
  # @return [String]
6037
6902
  #
6038
6903
  # @!attribute [rw] task_arn
6039
- # The ARN of the task to execute.
6904
+ # TaskArn is the resource that the task uses during execution. For
6905
+ # RUN\_COMMAND and AUTOMATION task types, the TaskArn is the SSM
6906
+ # Document Name/ARN. For LAMBDA tasks, it's the Function Name/ARN.
6907
+ # For STEP\_FUNCTION tasks, it's the State Machine ARN.
6040
6908
  # @return [String]
6041
6909
  #
6042
6910
  # @!attribute [rw] type
6043
- # The type of task.
6911
+ # The type of task. The type can be one of the following:
6912
+ # RUN\_COMMAND, AUTOMATION, LAMBDA, or STEP\_FUNCTION.
6044
6913
  # @return [String]
6045
6914
  #
6046
6915
  # @!attribute [rw] targets
@@ -6056,10 +6925,9 @@ module Aws::SSM
6056
6925
  # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
6057
6926
  #
6058
6927
  # @!attribute [rw] priority
6059
- # The priority of the task in the Maintenance Window, the lower the
6060
- # number the higher the priority. Tasks in a Maintenance Window are
6061
- # scheduled in priority order with tasks that have the same priority
6062
- # scheduled in parallel.
6928
+ # The priority of the task in the Maintenance Window. The lower the
6929
+ # number, the higher the priority. Tasks that have the same priority
6930
+ # are scheduled in parallel.
6063
6931
  # @return [Integer]
6064
6932
  #
6065
6933
  # @!attribute [rw] logging_info
@@ -6079,6 +6947,14 @@ module Aws::SSM
6079
6947
  # scheduled.
6080
6948
  # @return [String]
6081
6949
  #
6950
+ # @!attribute [rw] name
6951
+ # The task name.
6952
+ # @return [String]
6953
+ #
6954
+ # @!attribute [rw] description
6955
+ # A description of the task.
6956
+ # @return [String]
6957
+ #
6082
6958
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask AWS API Documentation
6083
6959
  #
6084
6960
  class MaintenanceWindowTask < Struct.new(
@@ -6092,7 +6968,75 @@ module Aws::SSM
6092
6968
  :logging_info,
6093
6969
  :service_role_arn,
6094
6970
  :max_concurrency,
6095
- :max_errors)
6971
+ :max_errors,
6972
+ :name,
6973
+ :description)
6974
+ include Aws::Structure
6975
+ end
6976
+
6977
+ # Parameters for task execution.
6978
+ #
6979
+ # @note When making an API call, you may pass MaintenanceWindowTaskInvocationParameters
6980
+ # data as a hash:
6981
+ #
6982
+ # {
6983
+ # run_command: {
6984
+ # comment: "Comment",
6985
+ # document_hash: "DocumentHash",
6986
+ # document_hash_type: "Sha256", # accepts Sha256, Sha1
6987
+ # notification_config: {
6988
+ # notification_arn: "NotificationArn",
6989
+ # notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
6990
+ # notification_type: "Command", # accepts Command, Invocation
6991
+ # },
6992
+ # output_s3_bucket_name: "S3BucketName",
6993
+ # output_s3_key_prefix: "S3KeyPrefix",
6994
+ # parameters: {
6995
+ # "ParameterName" => ["ParameterValue"],
6996
+ # },
6997
+ # service_role_arn: "ServiceRole",
6998
+ # timeout_seconds: 1,
6999
+ # },
7000
+ # automation: {
7001
+ # document_version: "DocumentVersion",
7002
+ # parameters: {
7003
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
7004
+ # },
7005
+ # },
7006
+ # step_functions: {
7007
+ # input: "MaintenanceWindowStepFunctionsInput",
7008
+ # name: "MaintenanceWindowStepFunctionsName",
7009
+ # },
7010
+ # lambda: {
7011
+ # client_context: "MaintenanceWindowLambdaClientContext",
7012
+ # qualifier: "MaintenanceWindowLambdaQualifier",
7013
+ # payload: "data",
7014
+ # },
7015
+ # }
7016
+ #
7017
+ # @!attribute [rw] run_command
7018
+ # Parameters for a RUN\_COMMAND task type.
7019
+ # @return [Types::MaintenanceWindowRunCommandParameters]
7020
+ #
7021
+ # @!attribute [rw] automation
7022
+ # Parameters for a AUTOMATION task type.
7023
+ # @return [Types::MaintenanceWindowAutomationParameters]
7024
+ #
7025
+ # @!attribute [rw] step_functions
7026
+ # Parameters for a STEP\_FUNCTION task type.
7027
+ # @return [Types::MaintenanceWindowStepFunctionsParameters]
7028
+ #
7029
+ # @!attribute [rw] lambda
7030
+ # Parameters for a LAMBDA task type.
7031
+ # @return [Types::MaintenanceWindowLambdaParameters]
7032
+ #
7033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskInvocationParameters AWS API Documentation
7034
+ #
7035
+ class MaintenanceWindowTaskInvocationParameters < Struct.new(
7036
+ :run_command,
7037
+ :automation,
7038
+ :step_functions,
7039
+ :lambda)
6096
7040
  include Aws::Structure
6097
7041
  end
6098
7042
 
@@ -6163,6 +7107,25 @@ module Aws::SSM
6163
7107
  #
6164
7108
  class ModifyDocumentPermissionResponse < Aws::EmptyStructure; end
6165
7109
 
7110
+ # A summary of resources that are not compliant. The summary is
7111
+ # organized according to resource type.
7112
+ #
7113
+ # @!attribute [rw] non_compliant_count
7114
+ # The total number of compliance items that are not compliant.
7115
+ # @return [Integer]
7116
+ #
7117
+ # @!attribute [rw] severity_summary
7118
+ # A summary of the non-compliance severity by compliance type
7119
+ # @return [Types::SeveritySummary]
7120
+ #
7121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NonCompliantSummary AWS API Documentation
7122
+ #
7123
+ class NonCompliantSummary < Struct.new(
7124
+ :non_compliant_count,
7125
+ :severity_summary)
7126
+ include Aws::Structure
7127
+ end
7128
+
6166
7129
  # Configurations for sending notifications.
6167
7130
  #
6168
7131
  # @note When making an API call, you may pass NotificationConfig
@@ -6747,6 +7710,83 @@ module Aws::SSM
6747
7710
  include Aws::Structure
6748
7711
  end
6749
7712
 
7713
+ # @note When making an API call, you may pass PutComplianceItemsRequest
7714
+ # data as a hash:
7715
+ #
7716
+ # {
7717
+ # resource_id: "ComplianceResourceId", # required
7718
+ # resource_type: "ComplianceResourceType", # required
7719
+ # compliance_type: "ComplianceTypeName", # required
7720
+ # execution_summary: { # required
7721
+ # execution_time: Time.now, # required
7722
+ # execution_id: "ComplianceExecutionId",
7723
+ # execution_type: "ComplianceExecutionType",
7724
+ # },
7725
+ # items: [ # required
7726
+ # {
7727
+ # id: "ComplianceItemId",
7728
+ # title: "ComplianceItemTitle",
7729
+ # severity: "CRITICAL", # required, accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7730
+ # status: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT
7731
+ # details: {
7732
+ # "AttributeName" => "AttributeValue",
7733
+ # },
7734
+ # },
7735
+ # ],
7736
+ # item_content_hash: "ComplianceItemContentHash",
7737
+ # }
7738
+ #
7739
+ # @!attribute [rw] resource_id
7740
+ # Specify an ID for this resource. For a managed instance, this is the
7741
+ # instance ID.
7742
+ # @return [String]
7743
+ #
7744
+ # @!attribute [rw] resource_type
7745
+ # Specify the type of resource. `ManagedInstance` is currently the
7746
+ # only supported resource type.
7747
+ # @return [String]
7748
+ #
7749
+ # @!attribute [rw] compliance_type
7750
+ # Specify the compliance type. For example, specify Association (for a
7751
+ # State Manager association), Patch, or Custom:`string`.
7752
+ # @return [String]
7753
+ #
7754
+ # @!attribute [rw] execution_summary
7755
+ # A summary of the call execution that includes an execution ID, the
7756
+ # type of execution (for example, `Command`), and the date/time of the
7757
+ # execution using a datetime object that is saved in the following
7758
+ # format: yyyy-MM-dd'T'HH:mm:ss'Z'.
7759
+ # @return [Types::ComplianceExecutionSummary]
7760
+ #
7761
+ # @!attribute [rw] items
7762
+ # Information about the compliance as defined by the resource type.
7763
+ # For example, for a patch compliance type, `Items` includes
7764
+ # information about the PatchSeverity, Classification, etc.
7765
+ # @return [Array<Types::ComplianceItemEntry>]
7766
+ #
7767
+ # @!attribute [rw] item_content_hash
7768
+ # MD5 or Sha256 content hash. The content hash is used to determine if
7769
+ # existing information should be overwritten or ignored. If the
7770
+ # content hashes match, ,the request to put compliance information is
7771
+ # ignored.
7772
+ # @return [String]
7773
+ #
7774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsRequest AWS API Documentation
7775
+ #
7776
+ class PutComplianceItemsRequest < Struct.new(
7777
+ :resource_id,
7778
+ :resource_type,
7779
+ :compliance_type,
7780
+ :execution_summary,
7781
+ :items,
7782
+ :item_content_hash)
7783
+ include Aws::Structure
7784
+ end
7785
+
7786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsResult AWS API Documentation
7787
+ #
7788
+ class PutComplianceItemsResult < Aws::EmptyStructure; end
7789
+
6750
7790
  # @note When making an API call, you may pass PutInventoryRequest
6751
7791
  # data as a hash:
6752
7792
  #
@@ -6763,6 +7803,9 @@ module Aws::SSM
6763
7803
  # "AttributeName" => "AttributeValue",
6764
7804
  # },
6765
7805
  # ],
7806
+ # context: {
7807
+ # "AttributeName" => "AttributeValue",
7808
+ # },
6766
7809
  # },
6767
7810
  # ],
6768
7811
  # }
@@ -6935,6 +7978,8 @@ module Aws::SSM
6935
7978
  # },
6936
7979
  # ],
6937
7980
  # owner_information: "OwnerInformation",
7981
+ # name: "MaintenanceWindowName",
7982
+ # description: "MaintenanceWindowDescription",
6938
7983
  # client_token: "ClientToken",
6939
7984
  # }
6940
7985
  #
@@ -6960,6 +8005,14 @@ module Aws::SSM
6960
8005
  # Window.
6961
8006
  # @return [String]
6962
8007
  #
8008
+ # @!attribute [rw] name
8009
+ # An optional name for the target.
8010
+ # @return [String]
8011
+ #
8012
+ # @!attribute [rw] description
8013
+ # An optional description for the target.
8014
+ # @return [String]
8015
+ #
6963
8016
  # @!attribute [rw] client_token
6964
8017
  # User-provided idempotency token.
6965
8018
  #
@@ -6974,6 +8027,8 @@ module Aws::SSM
6974
8027
  :resource_type,
6975
8028
  :targets,
6976
8029
  :owner_information,
8030
+ :name,
8031
+ :description,
6977
8032
  :client_token)
6978
8033
  include Aws::Structure
6979
8034
  end
@@ -7002,12 +8057,46 @@ module Aws::SSM
7002
8057
  # ],
7003
8058
  # task_arn: "MaintenanceWindowTaskArn", # required
7004
8059
  # service_role_arn: "ServiceRole", # required
7005
- # task_type: "RUN_COMMAND", # required, accepts RUN_COMMAND
8060
+ # task_type: "RUN_COMMAND", # required, accepts RUN_COMMAND, AUTOMATION, STEP_FUNCTIONS, LAMBDA
7006
8061
  # task_parameters: {
7007
8062
  # "MaintenanceWindowTaskParameterName" => {
7008
8063
  # values: ["MaintenanceWindowTaskParameterValue"],
7009
8064
  # },
7010
8065
  # },
8066
+ # task_invocation_parameters: {
8067
+ # run_command: {
8068
+ # comment: "Comment",
8069
+ # document_hash: "DocumentHash",
8070
+ # document_hash_type: "Sha256", # accepts Sha256, Sha1
8071
+ # notification_config: {
8072
+ # notification_arn: "NotificationArn",
8073
+ # notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
8074
+ # notification_type: "Command", # accepts Command, Invocation
8075
+ # },
8076
+ # output_s3_bucket_name: "S3BucketName",
8077
+ # output_s3_key_prefix: "S3KeyPrefix",
8078
+ # parameters: {
8079
+ # "ParameterName" => ["ParameterValue"],
8080
+ # },
8081
+ # service_role_arn: "ServiceRole",
8082
+ # timeout_seconds: 1,
8083
+ # },
8084
+ # automation: {
8085
+ # document_version: "DocumentVersion",
8086
+ # parameters: {
8087
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
8088
+ # },
8089
+ # },
8090
+ # step_functions: {
8091
+ # input: "MaintenanceWindowStepFunctionsInput",
8092
+ # name: "MaintenanceWindowStepFunctionsName",
8093
+ # },
8094
+ # lambda: {
8095
+ # client_context: "MaintenanceWindowLambdaClientContext",
8096
+ # qualifier: "MaintenanceWindowLambdaQualifier",
8097
+ # payload: "data",
8098
+ # },
8099
+ # },
7011
8100
  # priority: 1,
7012
8101
  # max_concurrency: "MaxConcurrency", # required
7013
8102
  # max_errors: "MaxErrors", # required
@@ -7016,6 +8105,8 @@ module Aws::SSM
7016
8105
  # s3_key_prefix: "S3KeyPrefix",
7017
8106
  # s3_region: "S3Region", # required
7018
8107
  # },
8108
+ # name: "MaintenanceWindowName",
8109
+ # description: "MaintenanceWindowDescription",
7019
8110
  # client_token: "ClientToken",
7020
8111
  # }
7021
8112
  #
@@ -7047,6 +8138,11 @@ module Aws::SSM
7047
8138
  # executed.
7048
8139
  # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
7049
8140
  #
8141
+ # @!attribute [rw] task_invocation_parameters
8142
+ # Parameters the task should use during execution. Populate only the
8143
+ # fields that match the task type. All other fields should be empty.
8144
+ # @return [Types::MaintenanceWindowTaskInvocationParameters]
8145
+ #
7050
8146
  # @!attribute [rw] priority
7051
8147
  # The priority of the task in the Maintenance Window, the lower the
7052
8148
  # number the higher the priority. Tasks in a Maintenance Window are
@@ -7068,6 +8164,14 @@ module Aws::SSM
7068
8164
  # write instance-level logs to.
7069
8165
  # @return [Types::LoggingInfo]
7070
8166
  #
8167
+ # @!attribute [rw] name
8168
+ # An optional name for the task.
8169
+ # @return [String]
8170
+ #
8171
+ # @!attribute [rw] description
8172
+ # An optional description for the task.
8173
+ # @return [String]
8174
+ #
7071
8175
  # @!attribute [rw] client_token
7072
8176
  # User-provided idempotency token.
7073
8177
  #
@@ -7084,10 +8188,13 @@ module Aws::SSM
7084
8188
  :service_role_arn,
7085
8189
  :task_type,
7086
8190
  :task_parameters,
8191
+ :task_invocation_parameters,
7087
8192
  :priority,
7088
8193
  :max_concurrency,
7089
8194
  :max_errors,
7090
8195
  :logging_info,
8196
+ :name,
8197
+ :description,
7091
8198
  :client_token)
7092
8199
  include Aws::Structure
7093
8200
  end
@@ -7137,33 +8244,82 @@ module Aws::SSM
7137
8244
  #
7138
8245
  class RemoveTagsFromResourceResult < Aws::EmptyStructure; end
7139
8246
 
7140
- # Information about a Resource Data Sync configuration, including its
7141
- # current status and last successful sync.
8247
+ # Compliance summary information for a specific resource.
7142
8248
  #
7143
- # @!attribute [rw] sync_name
7144
- # The name of the Resource Data Sync.
8249
+ # @!attribute [rw] compliance_type
8250
+ # The compliance type.
7145
8251
  # @return [String]
7146
8252
  #
7147
- # @!attribute [rw] s3_destination
7148
- # Configuration information for the target Amazon S3 bucket.
7149
- # @return [Types::ResourceDataSyncS3Destination]
8253
+ # @!attribute [rw] resource_type
8254
+ # The resource type.
8255
+ # @return [String]
7150
8256
  #
7151
- # @!attribute [rw] last_sync_time
7152
- # The last time the configuration attempted to sync (UTC).
7153
- # @return [Time]
8257
+ # @!attribute [rw] resource_id
8258
+ # The resource ID.
8259
+ # @return [String]
7154
8260
  #
7155
- # @!attribute [rw] last_successful_sync_time
7156
- # The last time the sync operations returned a status of `SUCCESSFUL`
7157
- # (UTC).
7158
- # @return [Time]
8261
+ # @!attribute [rw] status
8262
+ # The compliance status for the resource.
8263
+ # @return [String]
7159
8264
  #
7160
- # @!attribute [rw] last_status
7161
- # The status reported by the last sync.
8265
+ # @!attribute [rw] overall_severity
8266
+ # The highest severity item found for the resource. The resource is
8267
+ # compliant for this item.
7162
8268
  # @return [String]
7163
8269
  #
7164
- # @!attribute [rw] sync_created_time
7165
- # The date and time the configuration was created (UTC).
7166
- # @return [Time]
8270
+ # @!attribute [rw] execution_summary
8271
+ # Information about the execution.
8272
+ # @return [Types::ComplianceExecutionSummary]
8273
+ #
8274
+ # @!attribute [rw] compliant_summary
8275
+ # A list of items that are compliant for the resource.
8276
+ # @return [Types::CompliantSummary]
8277
+ #
8278
+ # @!attribute [rw] non_compliant_summary
8279
+ # A list of items that aren't compliant for the resource.
8280
+ # @return [Types::NonCompliantSummary]
8281
+ #
8282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceComplianceSummaryItem AWS API Documentation
8283
+ #
8284
+ class ResourceComplianceSummaryItem < Struct.new(
8285
+ :compliance_type,
8286
+ :resource_type,
8287
+ :resource_id,
8288
+ :status,
8289
+ :overall_severity,
8290
+ :execution_summary,
8291
+ :compliant_summary,
8292
+ :non_compliant_summary)
8293
+ include Aws::Structure
8294
+ end
8295
+
8296
+ # Information about a Resource Data Sync configuration, including its
8297
+ # current status and last successful sync.
8298
+ #
8299
+ # @!attribute [rw] sync_name
8300
+ # The name of the Resource Data Sync.
8301
+ # @return [String]
8302
+ #
8303
+ # @!attribute [rw] s3_destination
8304
+ # Configuration information for the target Amazon S3 bucket.
8305
+ # @return [Types::ResourceDataSyncS3Destination]
8306
+ #
8307
+ # @!attribute [rw] last_sync_time
8308
+ # The last time the configuration attempted to sync (UTC).
8309
+ # @return [Time]
8310
+ #
8311
+ # @!attribute [rw] last_successful_sync_time
8312
+ # The last time the sync operations returned a status of `SUCCESSFUL`
8313
+ # (UTC).
8314
+ # @return [Time]
8315
+ #
8316
+ # @!attribute [rw] last_status
8317
+ # The status reported by the last sync.
8318
+ # @return [String]
8319
+ #
8320
+ # @!attribute [rw] sync_created_time
8321
+ # The date and time the configuration was created (UTC).
8322
+ # @return [Time]
7167
8323
  #
7168
8324
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncItem AWS API Documentation
7169
8325
  #
@@ -7504,6 +8660,57 @@ module Aws::SSM
7504
8660
  include Aws::Structure
7505
8661
  end
7506
8662
 
8663
+ # The number of managed instances found for each patch severity level
8664
+ # defined in the request filter.
8665
+ #
8666
+ # @!attribute [rw] critical_count
8667
+ # The total number of resources or compliance items that have a
8668
+ # severity level of critical. Critical severity is determined by the
8669
+ # organization that published the compliance items.
8670
+ # @return [Integer]
8671
+ #
8672
+ # @!attribute [rw] high_count
8673
+ # The total number of resources or compliance items that have a
8674
+ # severity level of high. High severity is determined by the
8675
+ # organization that published the compliance items.
8676
+ # @return [Integer]
8677
+ #
8678
+ # @!attribute [rw] medium_count
8679
+ # The total number of resources or compliance items that have a
8680
+ # severity level of medium. Medium severity is determined by the
8681
+ # organization that published the compliance items.
8682
+ # @return [Integer]
8683
+ #
8684
+ # @!attribute [rw] low_count
8685
+ # The total number of resources or compliance items that have a
8686
+ # severity level of low. Low severity is determined by the
8687
+ # organization that published the compliance items.
8688
+ # @return [Integer]
8689
+ #
8690
+ # @!attribute [rw] informational_count
8691
+ # The total number of resources or compliance items that have a
8692
+ # severity level of informational. Informational severity is
8693
+ # determined by the organization that published the compliance items.
8694
+ # @return [Integer]
8695
+ #
8696
+ # @!attribute [rw] unspecified_count
8697
+ # The total number of resources or compliance items that have a
8698
+ # severity level of unspecified. Unspecified severity is determined by
8699
+ # the organization that published the compliance items.
8700
+ # @return [Integer]
8701
+ #
8702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SeveritySummary AWS API Documentation
8703
+ #
8704
+ class SeveritySummary < Struct.new(
8705
+ :critical_count,
8706
+ :high_count,
8707
+ :medium_count,
8708
+ :low_count,
8709
+ :informational_count,
8710
+ :unspecified_count)
8711
+ include Aws::Structure
8712
+ end
8713
+
7507
8714
  # @note When making an API call, you may pass StartAutomationExecutionRequest
7508
8715
  # data as a hash:
7509
8716
  #
@@ -7926,11 +9133,13 @@ module Aws::SSM
7926
9133
  # {
7927
9134
  # window_id: "MaintenanceWindowId", # required
7928
9135
  # name: "MaintenanceWindowName",
9136
+ # description: "MaintenanceWindowDescription",
7929
9137
  # schedule: "MaintenanceWindowSchedule",
7930
9138
  # duration: 1,
7931
9139
  # cutoff: 1,
7932
9140
  # allow_unassociated_targets: false,
7933
9141
  # enabled: false,
9142
+ # replace: false,
7934
9143
  # }
7935
9144
  #
7936
9145
  # @!attribute [rw] window_id
@@ -7941,6 +9150,10 @@ module Aws::SSM
7941
9150
  # The name of the Maintenance Window.
7942
9151
  # @return [String]
7943
9152
  #
9153
+ # @!attribute [rw] description
9154
+ # An optional description for the update request.
9155
+ # @return [String]
9156
+ #
7944
9157
  # @!attribute [rw] schedule
7945
9158
  # The schedule of the Maintenance Window in the form of a cron or rate
7946
9159
  # expression.
@@ -7964,16 +9177,24 @@ module Aws::SSM
7964
9177
  # Whether the Maintenance Window is enabled.
7965
9178
  # @return [Boolean]
7966
9179
  #
9180
+ # @!attribute [rw] replace
9181
+ # If you specify True, then all fields that are required by the
9182
+ # CreateMaintenanceWindow API are also required for this API request.
9183
+ # Optional fields that are not specified will be set to null.
9184
+ # @return [Boolean]
9185
+ #
7967
9186
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowRequest AWS API Documentation
7968
9187
  #
7969
9188
  class UpdateMaintenanceWindowRequest < Struct.new(
7970
9189
  :window_id,
7971
9190
  :name,
9191
+ :description,
7972
9192
  :schedule,
7973
9193
  :duration,
7974
9194
  :cutoff,
7975
9195
  :allow_unassociated_targets,
7976
- :enabled)
9196
+ :enabled,
9197
+ :replace)
7977
9198
  include Aws::Structure
7978
9199
  end
7979
9200
 
@@ -7985,6 +9206,10 @@ module Aws::SSM
7985
9206
  # The name of the Maintenance Window.
7986
9207
  # @return [String]
7987
9208
  #
9209
+ # @!attribute [rw] description
9210
+ # An optional description of the update.
9211
+ # @return [String]
9212
+ #
7988
9213
  # @!attribute [rw] schedule
7989
9214
  # The schedule of the Maintenance Window in the form of a cron or rate
7990
9215
  # expression.
@@ -8013,6 +9238,7 @@ module Aws::SSM
8013
9238
  class UpdateMaintenanceWindowResult < Struct.new(
8014
9239
  :window_id,
8015
9240
  :name,
9241
+ :description,
8016
9242
  :schedule,
8017
9243
  :duration,
8018
9244
  :cutoff,
@@ -8021,6 +9247,339 @@ module Aws::SSM
8021
9247
  include Aws::Structure
8022
9248
  end
8023
9249
 
9250
+ # @note When making an API call, you may pass UpdateMaintenanceWindowTargetRequest
9251
+ # data as a hash:
9252
+ #
9253
+ # {
9254
+ # window_id: "MaintenanceWindowId", # required
9255
+ # window_target_id: "MaintenanceWindowTargetId", # required
9256
+ # targets: [
9257
+ # {
9258
+ # key: "TargetKey",
9259
+ # values: ["TargetValue"],
9260
+ # },
9261
+ # ],
9262
+ # owner_information: "OwnerInformation",
9263
+ # name: "MaintenanceWindowName",
9264
+ # description: "MaintenanceWindowDescription",
9265
+ # replace: false,
9266
+ # }
9267
+ #
9268
+ # @!attribute [rw] window_id
9269
+ # The Maintenance Window ID for which you want to modify the target.
9270
+ # @return [String]
9271
+ #
9272
+ # @!attribute [rw] window_target_id
9273
+ # The target ID that you want to modify.
9274
+ # @return [String]
9275
+ #
9276
+ # @!attribute [rw] targets
9277
+ # The targets that you want to add or replace.
9278
+ # @return [Array<Types::Target>]
9279
+ #
9280
+ # @!attribute [rw] owner_information
9281
+ # User-provided value that will be included in any CloudWatch events
9282
+ # raised while running tasks for these targets in this Maintenance
9283
+ # Window.
9284
+ # @return [String]
9285
+ #
9286
+ # @!attribute [rw] name
9287
+ # A name for the update.
9288
+ # @return [String]
9289
+ #
9290
+ # @!attribute [rw] description
9291
+ # An optional description for the update.
9292
+ # @return [String]
9293
+ #
9294
+ # @!attribute [rw] replace
9295
+ # If you specify True, then all fields that are required by the
9296
+ # RegisterTargetWithMaintenanceWindow API are also required for this
9297
+ # API request. Optional fields that are not specified will be set to
9298
+ # null.
9299
+ # @return [Boolean]
9300
+ #
9301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetRequest AWS API Documentation
9302
+ #
9303
+ class UpdateMaintenanceWindowTargetRequest < Struct.new(
9304
+ :window_id,
9305
+ :window_target_id,
9306
+ :targets,
9307
+ :owner_information,
9308
+ :name,
9309
+ :description,
9310
+ :replace)
9311
+ include Aws::Structure
9312
+ end
9313
+
9314
+ # @!attribute [rw] window_id
9315
+ # The Maintenance Window ID specified in the update request.
9316
+ # @return [String]
9317
+ #
9318
+ # @!attribute [rw] window_target_id
9319
+ # The target ID specified in the update request.
9320
+ # @return [String]
9321
+ #
9322
+ # @!attribute [rw] targets
9323
+ # The updated targets.
9324
+ # @return [Array<Types::Target>]
9325
+ #
9326
+ # @!attribute [rw] owner_information
9327
+ # The updated owner.
9328
+ # @return [String]
9329
+ #
9330
+ # @!attribute [rw] name
9331
+ # The updated name.
9332
+ # @return [String]
9333
+ #
9334
+ # @!attribute [rw] description
9335
+ # The updated description.
9336
+ # @return [String]
9337
+ #
9338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetResult AWS API Documentation
9339
+ #
9340
+ class UpdateMaintenanceWindowTargetResult < Struct.new(
9341
+ :window_id,
9342
+ :window_target_id,
9343
+ :targets,
9344
+ :owner_information,
9345
+ :name,
9346
+ :description)
9347
+ include Aws::Structure
9348
+ end
9349
+
9350
+ # @note When making an API call, you may pass UpdateMaintenanceWindowTaskRequest
9351
+ # data as a hash:
9352
+ #
9353
+ # {
9354
+ # window_id: "MaintenanceWindowId", # required
9355
+ # window_task_id: "MaintenanceWindowTaskId", # required
9356
+ # targets: [
9357
+ # {
9358
+ # key: "TargetKey",
9359
+ # values: ["TargetValue"],
9360
+ # },
9361
+ # ],
9362
+ # task_arn: "MaintenanceWindowTaskArn",
9363
+ # service_role_arn: "ServiceRole",
9364
+ # task_parameters: {
9365
+ # "MaintenanceWindowTaskParameterName" => {
9366
+ # values: ["MaintenanceWindowTaskParameterValue"],
9367
+ # },
9368
+ # },
9369
+ # task_invocation_parameters: {
9370
+ # run_command: {
9371
+ # comment: "Comment",
9372
+ # document_hash: "DocumentHash",
9373
+ # document_hash_type: "Sha256", # accepts Sha256, Sha1
9374
+ # notification_config: {
9375
+ # notification_arn: "NotificationArn",
9376
+ # notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
9377
+ # notification_type: "Command", # accepts Command, Invocation
9378
+ # },
9379
+ # output_s3_bucket_name: "S3BucketName",
9380
+ # output_s3_key_prefix: "S3KeyPrefix",
9381
+ # parameters: {
9382
+ # "ParameterName" => ["ParameterValue"],
9383
+ # },
9384
+ # service_role_arn: "ServiceRole",
9385
+ # timeout_seconds: 1,
9386
+ # },
9387
+ # automation: {
9388
+ # document_version: "DocumentVersion",
9389
+ # parameters: {
9390
+ # "AutomationParameterKey" => ["AutomationParameterValue"],
9391
+ # },
9392
+ # },
9393
+ # step_functions: {
9394
+ # input: "MaintenanceWindowStepFunctionsInput",
9395
+ # name: "MaintenanceWindowStepFunctionsName",
9396
+ # },
9397
+ # lambda: {
9398
+ # client_context: "MaintenanceWindowLambdaClientContext",
9399
+ # qualifier: "MaintenanceWindowLambdaQualifier",
9400
+ # payload: "data",
9401
+ # },
9402
+ # },
9403
+ # priority: 1,
9404
+ # max_concurrency: "MaxConcurrency",
9405
+ # max_errors: "MaxErrors",
9406
+ # logging_info: {
9407
+ # s3_bucket_name: "S3BucketName", # required
9408
+ # s3_key_prefix: "S3KeyPrefix",
9409
+ # s3_region: "S3Region", # required
9410
+ # },
9411
+ # name: "MaintenanceWindowName",
9412
+ # description: "MaintenanceWindowDescription",
9413
+ # replace: false,
9414
+ # }
9415
+ #
9416
+ # @!attribute [rw] window_id
9417
+ # The Maintenance Window ID that contains the task that you want to
9418
+ # modify.
9419
+ # @return [String]
9420
+ #
9421
+ # @!attribute [rw] window_task_id
9422
+ # The task ID that you want to modify.
9423
+ # @return [String]
9424
+ #
9425
+ # @!attribute [rw] targets
9426
+ # The targets (either instances or tags) that you want to modify.
9427
+ # Instances are specified using
9428
+ # Key=instanceids,Values=instanceID\_1,instanceID\_2. Tags are
9429
+ # specified using Key=tag\_name,Values=tag\_value.
9430
+ # @return [Array<Types::Target>]
9431
+ #
9432
+ # @!attribute [rw] task_arn
9433
+ # The task ARN that you want to modify.
9434
+ # @return [String]
9435
+ #
9436
+ # @!attribute [rw] service_role_arn
9437
+ # The IAM service role ARN that you want to modify. The system assumes
9438
+ # this role during task exectuion.
9439
+ # @return [String]
9440
+ #
9441
+ # @!attribute [rw] task_parameters
9442
+ # The parameters that you want to modify. The map has the following
9443
+ # format:
9444
+ #
9445
+ # Key: string, between 1 and 255 characters
9446
+ #
9447
+ # Value: an array of strings, each string is between 1 and 255
9448
+ # characters
9449
+ # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
9450
+ #
9451
+ # @!attribute [rw] task_invocation_parameters
9452
+ # Parameters the task should use during execution. Populate only the
9453
+ # fields that match the task type. All other fields should be empty.
9454
+ # @return [Types::MaintenanceWindowTaskInvocationParameters]
9455
+ #
9456
+ # @!attribute [rw] priority
9457
+ # The new task priority that you want to specify. The lower the
9458
+ # number, the higher the priority. Tasks that have the same priority
9459
+ # are scheduled in parallel.
9460
+ # @return [Integer]
9461
+ #
9462
+ # @!attribute [rw] max_concurrency
9463
+ # The new `MaxConcurrency` value you want to specify. `MaxConcurrency`
9464
+ # is the number of targets that are allowed to run this task in
9465
+ # parallel.
9466
+ # @return [String]
9467
+ #
9468
+ # @!attribute [rw] max_errors
9469
+ # The new `MaxErrors` value you want to specify. `MaxErrors` is the
9470
+ # maximum number of errors that are allowed before the task stops
9471
+ # being scheduled.
9472
+ # @return [String]
9473
+ #
9474
+ # @!attribute [rw] logging_info
9475
+ # The new logging location in Amazon S3 that you want to specify.
9476
+ # @return [Types::LoggingInfo]
9477
+ #
9478
+ # @!attribute [rw] name
9479
+ # The new task name that you want to specify.
9480
+ # @return [String]
9481
+ #
9482
+ # @!attribute [rw] description
9483
+ # The new task description that you want to specify.
9484
+ # @return [String]
9485
+ #
9486
+ # @!attribute [rw] replace
9487
+ # If you specify True, then all fields that are required by the
9488
+ # RegisterTaskWithMaintenanceWndow API are also required for this API
9489
+ # request. Optional fields that are not specified will be set to null.
9490
+ # @return [Boolean]
9491
+ #
9492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest AWS API Documentation
9493
+ #
9494
+ class UpdateMaintenanceWindowTaskRequest < Struct.new(
9495
+ :window_id,
9496
+ :window_task_id,
9497
+ :targets,
9498
+ :task_arn,
9499
+ :service_role_arn,
9500
+ :task_parameters,
9501
+ :task_invocation_parameters,
9502
+ :priority,
9503
+ :max_concurrency,
9504
+ :max_errors,
9505
+ :logging_info,
9506
+ :name,
9507
+ :description,
9508
+ :replace)
9509
+ include Aws::Structure
9510
+ end
9511
+
9512
+ # @!attribute [rw] window_id
9513
+ # The Maintenance Window ID that was updated.
9514
+ # @return [String]
9515
+ #
9516
+ # @!attribute [rw] window_task_id
9517
+ # The Maintenance Window task ID that was updated.
9518
+ # @return [String]
9519
+ #
9520
+ # @!attribute [rw] targets
9521
+ # The updated target values.
9522
+ # @return [Array<Types::Target>]
9523
+ #
9524
+ # @!attribute [rw] task_arn
9525
+ # The updated task ARN value.
9526
+ # @return [String]
9527
+ #
9528
+ # @!attribute [rw] service_role_arn
9529
+ # The updated service role ARN value.
9530
+ # @return [String]
9531
+ #
9532
+ # @!attribute [rw] task_parameters
9533
+ # The updated parameter values.
9534
+ # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
9535
+ #
9536
+ # @!attribute [rw] task_invocation_parameters
9537
+ # The updated parameter values.
9538
+ # @return [Types::MaintenanceWindowTaskInvocationParameters]
9539
+ #
9540
+ # @!attribute [rw] priority
9541
+ # The updated priority value.
9542
+ # @return [Integer]
9543
+ #
9544
+ # @!attribute [rw] max_concurrency
9545
+ # The updated MaxConcurrency value.
9546
+ # @return [String]
9547
+ #
9548
+ # @!attribute [rw] max_errors
9549
+ # The updated MaxErrors value.
9550
+ # @return [String]
9551
+ #
9552
+ # @!attribute [rw] logging_info
9553
+ # The updated logging information in Amazon S3.
9554
+ # @return [Types::LoggingInfo]
9555
+ #
9556
+ # @!attribute [rw] name
9557
+ # The updated task name.
9558
+ # @return [String]
9559
+ #
9560
+ # @!attribute [rw] description
9561
+ # The updated task description.
9562
+ # @return [String]
9563
+ #
9564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult AWS API Documentation
9565
+ #
9566
+ class UpdateMaintenanceWindowTaskResult < Struct.new(
9567
+ :window_id,
9568
+ :window_task_id,
9569
+ :targets,
9570
+ :task_arn,
9571
+ :service_role_arn,
9572
+ :task_parameters,
9573
+ :task_invocation_parameters,
9574
+ :priority,
9575
+ :max_concurrency,
9576
+ :max_errors,
9577
+ :logging_info,
9578
+ :name,
9579
+ :description)
9580
+ include Aws::Structure
9581
+ end
9582
+
8024
9583
  # @note When making an API call, you may pass UpdateManagedInstanceRoleRequest
8025
9584
  # data as a hash:
8026
9585
  #