aws-sdk-states 1.72.0 → 1.74.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module Aws::States
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ ActivityAlreadyExists = Shapes::StructureShape.new(name: 'ActivityAlreadyExists')
16
17
  ActivityDoesNotExist = Shapes::StructureShape.new(name: 'ActivityDoesNotExist')
17
18
  ActivityFailedEventDetails = Shapes::StructureShape.new(name: 'ActivityFailedEventDetails')
18
19
  ActivityLimitExceeded = Shapes::StructureShape.new(name: 'ActivityLimitExceeded')
@@ -63,6 +64,8 @@ module Aws::States
63
64
  DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
64
65
  DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
65
66
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
67
+ EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
68
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
66
69
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
67
70
  EventId = Shapes::IntegerShape.new(name: 'EventId')
68
71
  ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
@@ -97,18 +100,26 @@ module Aws::States
97
100
  Identity = Shapes::StringShape.new(name: 'Identity')
98
101
  IncludeExecutionData = Shapes::BooleanShape.new(name: 'IncludeExecutionData')
99
102
  IncludeExecutionDataGetExecutionHistory = Shapes::BooleanShape.new(name: 'IncludeExecutionDataGetExecutionHistory')
103
+ IncludedData = Shapes::StringShape.new(name: 'IncludedData')
100
104
  InspectionData = Shapes::StructureShape.new(name: 'InspectionData')
101
105
  InspectionDataRequest = Shapes::StructureShape.new(name: 'InspectionDataRequest')
102
106
  InspectionDataResponse = Shapes::StructureShape.new(name: 'InspectionDataResponse')
103
107
  InspectionLevel = Shapes::StringShape.new(name: 'InspectionLevel')
104
108
  InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
105
109
  InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
110
+ InvalidEncryptionConfiguration = Shapes::StructureShape.new(name: 'InvalidEncryptionConfiguration')
106
111
  InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
107
112
  InvalidLoggingConfiguration = Shapes::StructureShape.new(name: 'InvalidLoggingConfiguration')
108
113
  InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
109
114
  InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
110
115
  InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
111
116
  InvalidTracingConfiguration = Shapes::StructureShape.new(name: 'InvalidTracingConfiguration')
117
+ KmsAccessDeniedException = Shapes::StructureShape.new(name: 'KmsAccessDeniedException')
118
+ KmsDataKeyReusePeriodSeconds = Shapes::IntegerShape.new(name: 'KmsDataKeyReusePeriodSeconds')
119
+ KmsInvalidStateException = Shapes::StructureShape.new(name: 'KmsInvalidStateException')
120
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
121
+ KmsKeyState = Shapes::StringShape.new(name: 'KmsKeyState')
122
+ KmsThrottlingException = Shapes::StructureShape.new(name: 'KmsThrottlingException')
112
123
  LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
113
124
  LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
114
125
  LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
@@ -243,10 +254,12 @@ module Aws::States
243
254
  ValidateStateMachineDefinitionDiagnosticList = Shapes::ListShape.new(name: 'ValidateStateMachineDefinitionDiagnosticList')
244
255
  ValidateStateMachineDefinitionInput = Shapes::StructureShape.new(name: 'ValidateStateMachineDefinitionInput')
245
256
  ValidateStateMachineDefinitionLocation = Shapes::StringShape.new(name: 'ValidateStateMachineDefinitionLocation')
257
+ ValidateStateMachineDefinitionMaxResult = Shapes::IntegerShape.new(name: 'ValidateStateMachineDefinitionMaxResult')
246
258
  ValidateStateMachineDefinitionMessage = Shapes::StringShape.new(name: 'ValidateStateMachineDefinitionMessage')
247
259
  ValidateStateMachineDefinitionOutput = Shapes::StructureShape.new(name: 'ValidateStateMachineDefinitionOutput')
248
260
  ValidateStateMachineDefinitionResultCode = Shapes::StringShape.new(name: 'ValidateStateMachineDefinitionResultCode')
249
261
  ValidateStateMachineDefinitionSeverity = Shapes::StringShape.new(name: 'ValidateStateMachineDefinitionSeverity')
262
+ ValidateStateMachineDefinitionTruncated = Shapes::BooleanShape.new(name: 'ValidateStateMachineDefinitionTruncated')
250
263
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
251
264
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
252
265
  VersionDescription = Shapes::StringShape.new(name: 'VersionDescription')
@@ -254,6 +267,9 @@ module Aws::States
254
267
  includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
255
268
  truncated = Shapes::BooleanShape.new(name: 'truncated')
256
269
 
270
+ ActivityAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
271
+ ActivityAlreadyExists.struct_class = Types::ActivityAlreadyExists
272
+
257
273
  ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
258
274
  ActivityDoesNotExist.struct_class = Types::ActivityDoesNotExist
259
275
 
@@ -311,6 +327,7 @@ module Aws::States
311
327
 
312
328
  CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
313
329
  CreateActivityInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
330
+ CreateActivityInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
314
331
  CreateActivityInput.struct_class = Types::CreateActivityInput
315
332
 
316
333
  CreateActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
@@ -335,6 +352,7 @@ module Aws::States
335
352
  CreateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
336
353
  CreateStateMachineInput.add_member(:publish, Shapes::ShapeRef.new(shape: Publish, location_name: "publish"))
337
354
  CreateStateMachineInput.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "versionDescription"))
355
+ CreateStateMachineInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
338
356
  CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
339
357
 
340
358
  CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -368,9 +386,11 @@ module Aws::States
368
386
  DescribeActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
369
387
  DescribeActivityOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
370
388
  DescribeActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
389
+ DescribeActivityOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
371
390
  DescribeActivityOutput.struct_class = Types::DescribeActivityOutput
372
391
 
373
392
  DescribeExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
393
+ DescribeExecutionInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
374
394
  DescribeExecutionInput.struct_class = Types::DescribeExecutionInput
375
395
 
376
396
  DescribeExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -424,6 +444,7 @@ module Aws::States
424
444
  DescribeStateMachineAliasOutput.struct_class = Types::DescribeStateMachineAliasOutput
425
445
 
426
446
  DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
447
+ DescribeStateMachineForExecutionInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
427
448
  DescribeStateMachineForExecutionInput.struct_class = Types::DescribeStateMachineForExecutionInput
428
449
 
429
450
  DescribeStateMachineForExecutionOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -436,9 +457,11 @@ module Aws::States
436
457
  DescribeStateMachineForExecutionOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
437
458
  DescribeStateMachineForExecutionOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
438
459
  DescribeStateMachineForExecutionOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
460
+ DescribeStateMachineForExecutionOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
439
461
  DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
440
462
 
441
463
  DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
464
+ DescribeStateMachineInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
442
465
  DescribeStateMachineInput.struct_class = Types::DescribeStateMachineInput
443
466
 
444
467
  DescribeStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -453,8 +476,14 @@ module Aws::States
453
476
  DescribeStateMachineOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
454
477
  DescribeStateMachineOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
455
478
  DescribeStateMachineOutput.add_member(:description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "description"))
479
+ DescribeStateMachineOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
456
480
  DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
457
481
 
482
+ EncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
483
+ EncryptionConfiguration.add_member(:kms_data_key_reuse_period_seconds, Shapes::ShapeRef.new(shape: KmsDataKeyReusePeriodSeconds, location_name: "kmsDataKeyReusePeriodSeconds", metadata: {"box"=>true}))
484
+ EncryptionConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "type"))
485
+ EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
486
+
458
487
  ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
459
488
  ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
460
489
  ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
@@ -605,6 +634,9 @@ module Aws::States
605
634
  InvalidDefinition.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
606
635
  InvalidDefinition.struct_class = Types::InvalidDefinition
607
636
 
637
+ InvalidEncryptionConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
638
+ InvalidEncryptionConfiguration.struct_class = Types::InvalidEncryptionConfiguration
639
+
608
640
  InvalidExecutionInput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
609
641
  InvalidExecutionInput.struct_class = Types::InvalidExecutionInput
610
642
 
@@ -623,6 +655,16 @@ module Aws::States
623
655
  InvalidTracingConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
624
656
  InvalidTracingConfiguration.struct_class = Types::InvalidTracingConfiguration
625
657
 
658
+ KmsAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
659
+ KmsAccessDeniedException.struct_class = Types::KmsAccessDeniedException
660
+
661
+ KmsInvalidStateException.add_member(:kms_key_state, Shapes::ShapeRef.new(shape: KmsKeyState, location_name: "kmsKeyState"))
662
+ KmsInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
663
+ KmsInvalidStateException.struct_class = Types::KmsInvalidStateException
664
+
665
+ KmsThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
666
+ KmsThrottlingException.struct_class = Types::KmsThrottlingException
667
+
626
668
  LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
627
669
  LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
628
670
  LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
@@ -836,6 +878,7 @@ module Aws::States
836
878
  StartSyncExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
837
879
  StartSyncExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
838
880
  StartSyncExecutionInput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
881
+ StartSyncExecutionInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
839
882
  StartSyncExecutionInput.struct_class = Types::StartSyncExecutionInput
840
883
 
841
884
  StartSyncExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -1030,6 +1073,7 @@ module Aws::States
1030
1073
  UpdateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
1031
1074
  UpdateStateMachineInput.add_member(:publish, Shapes::ShapeRef.new(shape: Publish, location_name: "publish"))
1032
1075
  UpdateStateMachineInput.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "versionDescription"))
1076
+ UpdateStateMachineInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
1033
1077
  UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
1034
1078
 
1035
1079
  UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
@@ -1047,10 +1091,13 @@ module Aws::States
1047
1091
 
1048
1092
  ValidateStateMachineDefinitionInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
1049
1093
  ValidateStateMachineDefinitionInput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, location_name: "type"))
1094
+ ValidateStateMachineDefinitionInput.add_member(:severity, Shapes::ShapeRef.new(shape: ValidateStateMachineDefinitionSeverity, location_name: "severity"))
1095
+ ValidateStateMachineDefinitionInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ValidateStateMachineDefinitionMaxResult, location_name: "maxResults"))
1050
1096
  ValidateStateMachineDefinitionInput.struct_class = Types::ValidateStateMachineDefinitionInput
1051
1097
 
1052
1098
  ValidateStateMachineDefinitionOutput.add_member(:result, Shapes::ShapeRef.new(shape: ValidateStateMachineDefinitionResultCode, required: true, location_name: "result"))
1053
1099
  ValidateStateMachineDefinitionOutput.add_member(:diagnostics, Shapes::ShapeRef.new(shape: ValidateStateMachineDefinitionDiagnosticList, required: true, location_name: "diagnostics"))
1100
+ ValidateStateMachineDefinitionOutput.add_member(:truncated, Shapes::ShapeRef.new(shape: ValidateStateMachineDefinitionTruncated, location_name: "truncated"))
1054
1101
  ValidateStateMachineDefinitionOutput.struct_class = Types::ValidateStateMachineDefinitionOutput
1055
1102
 
1056
1103
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -1085,8 +1132,12 @@ module Aws::States
1085
1132
  o.input = Shapes::ShapeRef.new(shape: CreateActivityInput)
1086
1133
  o.output = Shapes::ShapeRef.new(shape: CreateActivityOutput)
1087
1134
  o.errors << Shapes::ShapeRef.new(shape: ActivityLimitExceeded)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ActivityAlreadyExists)
1088
1136
  o.errors << Shapes::ShapeRef.new(shape: InvalidName)
1089
1137
  o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
1138
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEncryptionConfiguration)
1139
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1090
1141
  end)
1091
1142
 
1092
1143
  api.add_operation(:create_state_machine, Seahorse::Model::Operation.new.tap do |o|
@@ -1107,6 +1158,9 @@ module Aws::States
1107
1158
  o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
1108
1159
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1109
1160
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1161
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEncryptionConfiguration)
1162
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1163
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1110
1164
  end)
1111
1165
 
1112
1166
  api.add_operation(:create_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1184,6 +1238,9 @@ module Aws::States
1184
1238
  o.output = Shapes::ShapeRef.new(shape: DescribeExecutionOutput)
1185
1239
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1186
1240
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1241
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1242
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1243
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1187
1244
  end)
1188
1245
 
1189
1246
  api.add_operation(:describe_map_run, Seahorse::Model::Operation.new.tap do |o|
@@ -1204,6 +1261,9 @@ module Aws::States
1204
1261
  o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineOutput)
1205
1262
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1206
1263
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
1264
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1265
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1266
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1207
1267
  end)
1208
1268
 
1209
1269
  api.add_operation(:describe_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1225,6 +1285,9 @@ module Aws::States
1225
1285
  o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineForExecutionOutput)
1226
1286
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1227
1287
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1288
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1289
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1290
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1228
1291
  end)
1229
1292
 
1230
1293
  api.add_operation(:get_activity_task, Seahorse::Model::Operation.new.tap do |o|
@@ -1236,6 +1299,9 @@ module Aws::States
1236
1299
  o.errors << Shapes::ShapeRef.new(shape: ActivityDoesNotExist)
1237
1300
  o.errors << Shapes::ShapeRef.new(shape: ActivityWorkerLimitExceeded)
1238
1301
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1302
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1304
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1239
1305
  end)
1240
1306
 
1241
1307
  api.add_operation(:get_execution_history, Seahorse::Model::Operation.new.tap do |o|
@@ -1247,6 +1313,9 @@ module Aws::States
1247
1313
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1248
1314
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1249
1315
  o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
1316
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1250
1319
  o[:pager] = Aws::Pager.new(
1251
1320
  limit_key: "max_results",
1252
1321
  tokens: {
@@ -1392,6 +1461,9 @@ module Aws::States
1392
1461
  o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
1393
1462
  o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
1394
1463
  o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
1464
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1465
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1466
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1395
1467
  end)
1396
1468
 
1397
1469
  api.add_operation(:send_task_heartbeat, Seahorse::Model::Operation.new.tap do |o|
@@ -1415,6 +1487,9 @@ module Aws::States
1415
1487
  o.errors << Shapes::ShapeRef.new(shape: InvalidOutput)
1416
1488
  o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
1417
1489
  o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
1490
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1491
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1492
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1418
1493
  end)
1419
1494
 
1420
1495
  api.add_operation(:start_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -1431,6 +1506,9 @@ module Aws::States
1431
1506
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
1432
1507
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
1433
1508
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1509
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1510
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1434
1512
  end)
1435
1513
 
1436
1514
  api.add_operation(:start_sync_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -1448,6 +1526,9 @@ module Aws::States
1448
1526
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
1449
1527
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
1450
1528
  o.errors << Shapes::ShapeRef.new(shape: StateMachineTypeNotSupported)
1529
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1451
1532
  end)
1452
1533
 
1453
1534
  api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -1459,6 +1540,9 @@ module Aws::States
1459
1540
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1460
1541
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1461
1542
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1544
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1462
1546
  end)
1463
1547
 
1464
1548
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1524,6 +1608,9 @@ module Aws::States
1524
1608
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1525
1609
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1526
1610
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEncryptionConfiguration)
1612
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1527
1614
  end)
1528
1615
 
1529
1616
  api.add_operation(:update_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -27,6 +27,7 @@ module Aws::States
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {ActivityAlreadyExists}
30
31
  # * {ActivityDoesNotExist}
31
32
  # * {ActivityLimitExceeded}
32
33
  # * {ActivityWorkerLimitExceeded}
@@ -37,12 +38,16 @@ module Aws::States
37
38
  # * {ExecutionNotRedrivable}
38
39
  # * {InvalidArn}
39
40
  # * {InvalidDefinition}
41
+ # * {InvalidEncryptionConfiguration}
40
42
  # * {InvalidExecutionInput}
41
43
  # * {InvalidLoggingConfiguration}
42
44
  # * {InvalidName}
43
45
  # * {InvalidOutput}
44
46
  # * {InvalidToken}
45
47
  # * {InvalidTracingConfiguration}
48
+ # * {KmsAccessDeniedException}
49
+ # * {KmsInvalidStateException}
50
+ # * {KmsThrottlingException}
46
51
  # * {MissingRequiredParameter}
47
52
  # * {ResourceNotFound}
48
53
  # * {ServiceQuotaExceededException}
@@ -62,6 +67,21 @@ module Aws::States
62
67
 
63
68
  extend Aws::Errors::DynamicErrors
64
69
 
70
+ class ActivityAlreadyExists < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::States::Types::ActivityAlreadyExists] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+
79
+ # @return [String]
80
+ def message
81
+ @message || @data[:message]
82
+ end
83
+ end
84
+
65
85
  class ActivityDoesNotExist < ServiceError
66
86
 
67
87
  # @param [Seahorse::Client::RequestContext] context
@@ -212,6 +232,21 @@ module Aws::States
212
232
  end
213
233
  end
214
234
 
235
+ class InvalidEncryptionConfiguration < ServiceError
236
+
237
+ # @param [Seahorse::Client::RequestContext] context
238
+ # @param [String] message
239
+ # @param [Aws::States::Types::InvalidEncryptionConfiguration] data
240
+ def initialize(context, message, data = Aws::EmptyStructure.new)
241
+ super(context, message, data)
242
+ end
243
+
244
+ # @return [String]
245
+ def message
246
+ @message || @data[:message]
247
+ end
248
+ end
249
+
215
250
  class InvalidExecutionInput < ServiceError
216
251
 
217
252
  # @param [Seahorse::Client::RequestContext] context
@@ -302,6 +337,56 @@ module Aws::States
302
337
  end
303
338
  end
304
339
 
340
+ class KmsAccessDeniedException < ServiceError
341
+
342
+ # @param [Seahorse::Client::RequestContext] context
343
+ # @param [String] message
344
+ # @param [Aws::States::Types::KmsAccessDeniedException] data
345
+ def initialize(context, message, data = Aws::EmptyStructure.new)
346
+ super(context, message, data)
347
+ end
348
+
349
+ # @return [String]
350
+ def message
351
+ @message || @data[:message]
352
+ end
353
+ end
354
+
355
+ class KmsInvalidStateException < ServiceError
356
+
357
+ # @param [Seahorse::Client::RequestContext] context
358
+ # @param [String] message
359
+ # @param [Aws::States::Types::KmsInvalidStateException] data
360
+ def initialize(context, message, data = Aws::EmptyStructure.new)
361
+ super(context, message, data)
362
+ end
363
+
364
+ # @return [String]
365
+ def kms_key_state
366
+ @data[:kms_key_state]
367
+ end
368
+
369
+ # @return [String]
370
+ def message
371
+ @message || @data[:message]
372
+ end
373
+ end
374
+
375
+ class KmsThrottlingException < ServiceError
376
+
377
+ # @param [Seahorse::Client::RequestContext] context
378
+ # @param [String] message
379
+ # @param [Aws::States::Types::KmsThrottlingException] data
380
+ def initialize(context, message, data = Aws::EmptyStructure.new)
381
+ super(context, message, data)
382
+ end
383
+
384
+ # @return [String]
385
+ def message
386
+ @message || @data[:message]
387
+ end
388
+ end
389
+
305
390
  class MissingRequiredParameter < ServiceError
306
391
 
307
392
  # @param [Seahorse::Client::RequestContext] context