aws-sdk-lambda 1.202.0 → 1.216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,8 @@ module Aws::Lambda
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AcceleratorConfig = Shapes::StructureShape.new(name: 'AcceleratorConfig')
18
+ AcceleratorMemoryGB = Shapes::IntegerShape.new(name: 'AcceleratorMemoryGB')
17
19
  AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit')
18
20
  AccountUsage = Shapes::StructureShape.new(name: 'AccountUsage')
19
21
  Action = Shapes::StringShape.new(name: 'Action')
@@ -123,6 +125,8 @@ module Aws::Lambda
123
125
  DeleteCapacityProviderResponse = Shapes::StructureShape.new(name: 'DeleteCapacityProviderResponse')
124
126
  DeleteCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'DeleteCodeSigningConfigRequest')
125
127
  DeleteCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'DeleteCodeSigningConfigResponse')
128
+ DeleteDurableExecutionRequest = Shapes::StructureShape.new(name: 'DeleteDurableExecutionRequest')
129
+ DeleteDurableExecutionResponse = Shapes::StructureShape.new(name: 'DeleteDurableExecutionResponse')
126
130
  DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
127
131
  DeleteFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionCodeSigningConfigRequest')
128
132
  DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
@@ -174,7 +178,9 @@ module Aws::Lambda
174
178
  EventError = Shapes::StructureShape.new(name: 'EventError')
175
179
  EventId = Shapes::IntegerShape.new(name: 'EventId')
176
180
  EventInput = Shapes::StructureShape.new(name: 'EventInput')
181
+ EventPauseReason = Shapes::StructureShape.new(name: 'EventPauseReason')
177
182
  EventResult = Shapes::StructureShape.new(name: 'EventResult')
183
+ EventResumeReason = Shapes::StructureShape.new(name: 'EventResumeReason')
178
184
  EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
179
185
  EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
180
186
  EventSourceMappingLoggingConfig = Shapes::StructureShape.new(name: 'EventSourceMappingLoggingConfig')
@@ -192,6 +198,8 @@ module Aws::Lambda
192
198
  ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
193
199
  ExecutionEnvironmentMemoryGiBPerVCpu = Shapes::FloatShape.new(name: 'ExecutionEnvironmentMemoryGiBPerVCpu')
194
200
  ExecutionFailedDetails = Shapes::StructureShape.new(name: 'ExecutionFailedDetails')
201
+ ExecutionPausedDetails = Shapes::StructureShape.new(name: 'ExecutionPausedDetails')
202
+ ExecutionResumedDetails = Shapes::StructureShape.new(name: 'ExecutionResumedDetails')
195
203
  ExecutionStartedDetails = Shapes::StructureShape.new(name: 'ExecutionStartedDetails')
196
204
  ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
197
205
  ExecutionStatusList = Shapes::ListShape.new(name: 'ExecutionStatusList')
@@ -199,6 +207,7 @@ module Aws::Lambda
199
207
  ExecutionSucceededDetails = Shapes::StructureShape.new(name: 'ExecutionSucceededDetails')
200
208
  ExecutionTimedOutDetails = Shapes::StructureShape.new(name: 'ExecutionTimedOutDetails')
201
209
  ExecutionTimeout = Shapes::IntegerShape.new(name: 'ExecutionTimeout')
210
+ ExecutionTimeoutPaused = Shapes::BooleanShape.new(name: 'ExecutionTimeoutPaused')
202
211
  ExecutionTimestamp = Shapes::TimestampShape.new(name: 'ExecutionTimestamp')
203
212
  FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
204
213
  FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
@@ -222,6 +231,9 @@ module Aws::Lambda
222
231
  FunctionName = Shapes::StringShape.new(name: 'FunctionName')
223
232
  FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
224
233
  FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
234
+ FunctionRuntimeAlias = Shapes::StringShape.new(name: 'FunctionRuntimeAlias')
235
+ FunctionRuntimeArn = Shapes::StringShape.new(name: 'FunctionRuntimeArn')
236
+ FunctionRuntimeConfig = Shapes::StructureShape.new(name: 'FunctionRuntimeConfig')
225
237
  FunctionScalingConfig = Shapes::StructureShape.new(name: 'FunctionScalingConfig')
226
238
  FunctionScalingConfigExecutionEnvironments = Shapes::IntegerShape.new(name: 'FunctionScalingConfigExecutionEnvironments')
227
239
  FunctionUrl = Shapes::StringShape.new(name: 'FunctionUrl')
@@ -316,6 +328,7 @@ module Aws::Lambda
316
328
  KMSKeyArn = Shapes::StringShape.new(name: 'KMSKeyArn')
317
329
  KMSKeyArnNonEmpty = Shapes::StringShape.new(name: 'KMSKeyArnNonEmpty')
318
330
  KMSNotFoundException = Shapes::StructureShape.new(name: 'KMSNotFoundException')
331
+ KafkaEventSourceMappingConsumptionMode = Shapes::StringShape.new(name: 'KafkaEventSourceMappingConsumptionMode')
319
332
  KafkaSchemaRegistryAccessConfig = Shapes::StructureShape.new(name: 'KafkaSchemaRegistryAccessConfig')
320
333
  KafkaSchemaRegistryAccessConfigList = Shapes::ListShape.new(name: 'KafkaSchemaRegistryAccessConfigList')
321
334
  KafkaSchemaRegistryAuthType = Shapes::StringShape.new(name: 'KafkaSchemaRegistryAuthType')
@@ -331,6 +344,7 @@ module Aws::Lambda
331
344
  LayerArn = Shapes::StringShape.new(name: 'LayerArn')
332
345
  LayerList = Shapes::ListShape.new(name: 'LayerList')
333
346
  LayerName = Shapes::StringShape.new(name: 'LayerName')
347
+ LayerNameOrArn = Shapes::StringShape.new(name: 'LayerNameOrArn')
334
348
  LayerPermissionAllowedAction = Shapes::StringShape.new(name: 'LayerPermissionAllowedAction')
335
349
  LayerPermissionAllowedPrincipal = Shapes::StringShape.new(name: 'LayerPermissionAllowedPrincipal')
336
350
  LayerVersionArn = Shapes::StringShape.new(name: 'LayerVersionArn')
@@ -425,6 +439,10 @@ module Aws::Lambda
425
439
  PackageType = Shapes::StringShape.new(name: 'PackageType')
426
440
  ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
427
441
  Pattern = Shapes::StringShape.new(name: 'Pattern')
442
+ PauseDetails = Shapes::StructureShape.new(name: 'PauseDetails')
443
+ PauseDurableExecutionRequest = Shapes::StructureShape.new(name: 'PauseDurableExecutionRequest')
444
+ PauseDurableExecutionResponse = Shapes::StructureShape.new(name: 'PauseDurableExecutionResponse')
445
+ PauseReason = Shapes::StringShape.new(name: 'PauseReason')
428
446
  PerExecutionEnvironmentMaxConcurrency = Shapes::IntegerShape.new(name: 'PerExecutionEnvironmentMaxConcurrency')
429
447
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
430
448
  PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
@@ -478,14 +496,19 @@ module Aws::Lambda
478
496
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
479
497
  ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
480
498
  ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
499
+ ResumeDurableExecutionRequest = Shapes::StructureShape.new(name: 'ResumeDurableExecutionRequest')
500
+ ResumeDurableExecutionResponse = Shapes::StructureShape.new(name: 'ResumeDurableExecutionResponse')
501
+ ResumeReason = Shapes::StringShape.new(name: 'ResumeReason')
481
502
  RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
482
503
  RetryDetails = Shapes::StructureShape.new(name: 'RetryDetails')
483
504
  ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
484
505
  RevisionId = Shapes::StringShape.new(name: 'RevisionId')
485
506
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
486
507
  Runtime = Shapes::StringShape.new(name: 'Runtime')
508
+ RuntimeAliasDeletedException = Shapes::StructureShape.new(name: 'RuntimeAliasDeletedException')
487
509
  RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
488
510
  RuntimeVersionConfig = Shapes::StructureShape.new(name: 'RuntimeVersionConfig')
511
+ RuntimeVersionDeletedException = Shapes::StructureShape.new(name: 'RuntimeVersionDeletedException')
489
512
  RuntimeVersionError = Shapes::StructureShape.new(name: 'RuntimeVersionError')
490
513
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
491
514
  S3FilesConfig = Shapes::StructureShape.new(name: 'S3FilesConfig')
@@ -604,6 +627,9 @@ module Aws::Lambda
604
627
  WorkingDirectory = Shapes::StringShape.new(name: 'WorkingDirectory')
605
628
  XAmznTraceId = Shapes::StringShape.new(name: 'XAmznTraceId')
606
629
 
630
+ AcceleratorConfig.add_member(:accelerator_memory_size, Shapes::ShapeRef.new(shape: AcceleratorMemoryGB, required: true, location_name: "AcceleratorMemorySize"))
631
+ AcceleratorConfig.struct_class = Types::AcceleratorConfig
632
+
607
633
  AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
608
634
  AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
609
635
  AccountLimit.add_member(:code_size_zipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeZipped"))
@@ -615,7 +641,7 @@ module Aws::Lambda
615
641
  AccountUsage.add_member(:function_count, Shapes::ShapeRef.new(shape: Long, location_name: "FunctionCount"))
616
642
  AccountUsage.struct_class = Types::AccountUsage
617
643
 
618
- AddLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
644
+ AddLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
619
645
  AddLayerVersionPermissionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
620
646
  AddLayerVersionPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
621
647
  AddLayerVersionPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: LayerPermissionAllowedAction, required: true, location_name: "Action"))
@@ -949,6 +975,8 @@ module Aws::Lambda
949
975
  CreateFunctionRequest.add_member(:tenancy_config, Shapes::ShapeRef.new(shape: TenancyConfig, location_name: "TenancyConfig"))
950
976
  CreateFunctionRequest.add_member(:capacity_provider_config, Shapes::ShapeRef.new(shape: CapacityProviderConfig, location_name: "CapacityProviderConfig"))
951
977
  CreateFunctionRequest.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
978
+ CreateFunctionRequest.add_member(:runtime_config, Shapes::ShapeRef.new(shape: FunctionRuntimeConfig, location_name: "RuntimeConfig"))
979
+ CreateFunctionRequest.add_member(:accelerator_config, Shapes::ShapeRef.new(shape: AcceleratorConfig, location_name: "AcceleratorConfig"))
952
980
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
953
981
 
954
982
  CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionUrlFunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -984,6 +1012,12 @@ module Aws::Lambda
984
1012
 
985
1013
  DeleteCodeSigningConfigResponse.struct_class = Types::DeleteCodeSigningConfigResponse
986
1014
 
1015
+ DeleteDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
1016
+ DeleteDurableExecutionRequest.struct_class = Types::DeleteDurableExecutionRequest
1017
+
1018
+ DeleteDurableExecutionResponse.add_member(:deletion_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "DeletionRequestTimestamp"))
1019
+ DeleteDurableExecutionResponse.struct_class = Types::DeleteDurableExecutionResponse
1020
+
987
1021
  DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: UUIDString, required: true, location: "uri", location_name: "UUID"))
988
1022
  DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
989
1023
 
@@ -1008,7 +1042,7 @@ module Aws::Lambda
1008
1042
  DeleteFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
1009
1043
  DeleteFunctionUrlConfigRequest.struct_class = Types::DeleteFunctionUrlConfigRequest
1010
1044
 
1011
- DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1045
+ DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
1012
1046
  DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
1013
1047
  DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
1014
1048
 
@@ -1136,6 +1170,8 @@ module Aws::Lambda
1136
1170
  Event.add_member(:callback_failed_details, Shapes::ShapeRef.new(shape: CallbackFailedDetails, location_name: "CallbackFailedDetails"))
1137
1171
  Event.add_member(:callback_timed_out_details, Shapes::ShapeRef.new(shape: CallbackTimedOutDetails, location_name: "CallbackTimedOutDetails"))
1138
1172
  Event.add_member(:invocation_completed_details, Shapes::ShapeRef.new(shape: InvocationCompletedDetails, location_name: "InvocationCompletedDetails"))
1173
+ Event.add_member(:execution_paused_details, Shapes::ShapeRef.new(shape: ExecutionPausedDetails, location_name: "ExecutionPausedDetails"))
1174
+ Event.add_member(:execution_resumed_details, Shapes::ShapeRef.new(shape: ExecutionResumedDetails, location_name: "ExecutionResumedDetails"))
1139
1175
  Event.struct_class = Types::Event
1140
1176
 
1141
1177
  EventError.add_member(:payload, Shapes::ShapeRef.new(shape: ErrorObject, location_name: "Payload"))
@@ -1146,10 +1182,18 @@ module Aws::Lambda
1146
1182
  EventInput.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1147
1183
  EventInput.struct_class = Types::EventInput
1148
1184
 
1185
+ EventPauseReason.add_member(:payload, Shapes::ShapeRef.new(shape: PauseReason, location_name: "Payload"))
1186
+ EventPauseReason.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1187
+ EventPauseReason.struct_class = Types::EventPauseReason
1188
+
1149
1189
  EventResult.add_member(:payload, Shapes::ShapeRef.new(shape: OperationPayload, location_name: "Payload"))
1150
1190
  EventResult.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1151
1191
  EventResult.struct_class = Types::EventResult
1152
1192
 
1193
+ EventResumeReason.add_member(:payload, Shapes::ShapeRef.new(shape: ResumeReason, location_name: "Payload"))
1194
+ EventResumeReason.add_member(:truncated, Shapes::ShapeRef.new(shape: Truncated, location_name: "Truncated"))
1195
+ EventResumeReason.struct_class = Types::EventResumeReason
1196
+
1153
1197
  EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: UUIDString, location_name: "UUID"))
1154
1198
  EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
1155
1199
  EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
@@ -1212,6 +1256,15 @@ module Aws::Lambda
1212
1256
  ExecutionFailedDetails.add_member(:error, Shapes::ShapeRef.new(shape: EventError, required: true, location_name: "Error"))
1213
1257
  ExecutionFailedDetails.struct_class = Types::ExecutionFailedDetails
1214
1258
 
1259
+ ExecutionPausedDetails.add_member(:pause_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "PauseRequestTimestamp"))
1260
+ ExecutionPausedDetails.add_member(:reason, Shapes::ShapeRef.new(shape: EventPauseReason, location_name: "Reason"))
1261
+ ExecutionPausedDetails.add_member(:execution_timeout_paused, Shapes::ShapeRef.new(shape: ExecutionTimeoutPaused, required: true, location_name: "ExecutionTimeoutPaused"))
1262
+ ExecutionPausedDetails.struct_class = Types::ExecutionPausedDetails
1263
+
1264
+ ExecutionResumedDetails.add_member(:resume_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "ResumeRequestTimestamp"))
1265
+ ExecutionResumedDetails.add_member(:reason, Shapes::ShapeRef.new(shape: EventResumeReason, location_name: "Reason"))
1266
+ ExecutionResumedDetails.struct_class = Types::ExecutionResumedDetails
1267
+
1215
1268
  ExecutionStartedDetails.add_member(:input, Shapes::ShapeRef.new(shape: EventInput, required: true, location_name: "Input"))
1216
1269
  ExecutionStartedDetails.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: DurationSeconds, required: true, location_name: "ExecutionTimeout"))
1217
1270
  ExecutionStartedDetails.struct_class = Types::ExecutionStartedDetails
@@ -1310,6 +1363,8 @@ module Aws::Lambda
1310
1363
  FunctionConfiguration.add_member(:capacity_provider_config, Shapes::ShapeRef.new(shape: CapacityProviderConfig, location_name: "CapacityProviderConfig"))
1311
1364
  FunctionConfiguration.add_member(:config_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "ConfigSha256"))
1312
1365
  FunctionConfiguration.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
1366
+ FunctionConfiguration.add_member(:runtime_config, Shapes::ShapeRef.new(shape: FunctionRuntimeConfig, location_name: "RuntimeConfig"))
1367
+ FunctionConfiguration.add_member(:accelerator_config, Shapes::ShapeRef.new(shape: AcceleratorConfig, location_name: "AcceleratorConfig"))
1313
1368
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
1314
1369
 
1315
1370
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -1325,6 +1380,10 @@ module Aws::Lambda
1325
1380
 
1326
1381
  FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
1327
1382
 
1383
+ FunctionRuntimeConfig.add_member(:runtime_arn, Shapes::ShapeRef.new(shape: FunctionRuntimeArn, required: true, location_name: "RuntimeArn"))
1384
+ FunctionRuntimeConfig.add_member(:runtime_alias, Shapes::ShapeRef.new(shape: FunctionRuntimeAlias, required: true, location_name: "RuntimeAlias"))
1385
+ FunctionRuntimeConfig.struct_class = Types::FunctionRuntimeConfig
1386
+
1328
1387
  FunctionScalingConfig.add_member(:min_execution_environments, Shapes::ShapeRef.new(shape: FunctionScalingConfigExecutionEnvironments, location_name: "MinExecutionEnvironments"))
1329
1388
  FunctionScalingConfig.add_member(:max_execution_environments, Shapes::ShapeRef.new(shape: FunctionScalingConfigExecutionEnvironments, location_name: "MaxExecutionEnvironments"))
1330
1389
  FunctionScalingConfig.struct_class = Types::FunctionScalingConfig
@@ -1400,6 +1459,8 @@ module Aws::Lambda
1400
1459
  GetDurableExecutionResponse.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "TraceHeader"))
1401
1460
  GetDurableExecutionResponse.add_member(:execution_data_included, Shapes::ShapeRef.new(shape: ExecutionDataIncluded, location_name: "ExecutionDataIncluded"))
1402
1461
  GetDurableExecutionResponse.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
1462
+ GetDurableExecutionResponse.add_member(:pause_details, Shapes::ShapeRef.new(shape: PauseDetails, location_name: "PauseDetails"))
1463
+ GetDurableExecutionResponse.add_member(:expected_execution_timeout_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, location_name: "ExpectedExecutionTimeoutTimestamp"))
1403
1464
  GetDurableExecutionResponse.struct_class = Types::GetDurableExecutionResponse
1404
1465
 
1405
1466
  GetDurableExecutionStateRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
@@ -1478,7 +1539,7 @@ module Aws::Lambda
1478
1539
  GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
1479
1540
  GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
1480
1541
 
1481
- GetLayerVersionPolicyRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1542
+ GetLayerVersionPolicyRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
1482
1543
  GetLayerVersionPolicyRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
1483
1544
  GetLayerVersionPolicyRequest.struct_class = Types::GetLayerVersionPolicyRequest
1484
1545
 
@@ -1486,7 +1547,7 @@ module Aws::Lambda
1486
1547
  GetLayerVersionPolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
1487
1548
  GetLayerVersionPolicyResponse.struct_class = Types::GetLayerVersionPolicyResponse
1488
1549
 
1489
- GetLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1550
+ GetLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
1490
1551
  GetLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
1491
1552
  GetLayerVersionRequest.struct_class = Types::GetLayerVersionRequest
1492
1553
 
@@ -1837,7 +1898,7 @@ module Aws::Lambda
1837
1898
 
1838
1899
  ListLayerVersionsRequest.add_member(:compatible_architecture, Shapes::ShapeRef.new(shape: Architecture, location: "querystring", location_name: "CompatibleArchitecture"))
1839
1900
  ListLayerVersionsRequest.add_member(:compatible_runtime, Shapes::ShapeRef.new(shape: Runtime, location: "querystring", location_name: "CompatibleRuntime"))
1840
- ListLayerVersionsRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1901
+ ListLayerVersionsRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
1841
1902
  ListLayerVersionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
1842
1903
  ListLayerVersionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxLayerListItems, location: "querystring", location_name: "MaxItems"))
1843
1904
  ListLayerVersionsRequest.struct_class = Types::ListLayerVersionsRequest
@@ -1935,6 +1996,19 @@ module Aws::Lambda
1935
1996
 
1936
1997
  Operations.member = Shapes::ShapeRef.new(shape: Operation)
1937
1998
 
1999
+ PauseDetails.add_member(:pause_request_timestamp, Shapes::ShapeRef.new(shape: ExecutionTimestamp, required: true, location_name: "PauseRequestTimestamp"))
2000
+ PauseDetails.add_member(:reason, Shapes::ShapeRef.new(shape: PauseReason, location_name: "Reason"))
2001
+ PauseDetails.add_member(:execution_timeout_paused, Shapes::ShapeRef.new(shape: ExecutionTimeoutPaused, required: true, location_name: "ExecutionTimeoutPaused"))
2002
+ PauseDetails.struct_class = Types::PauseDetails
2003
+
2004
+ PauseDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
2005
+ PauseDurableExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
2006
+ PauseDurableExecutionRequest.add_member(:reason, Shapes::ShapeRef.new(shape: PauseReason, location_name: "Reason"))
2007
+ PauseDurableExecutionRequest.add_member(:execution_timeout_paused, Shapes::ShapeRef.new(shape: ExecutionTimeoutPaused, location_name: "ExecutionTimeoutPaused"))
2008
+ PauseDurableExecutionRequest.struct_class = Types::PauseDurableExecutionRequest
2009
+
2010
+ PauseDurableExecutionResponse.struct_class = Types::PauseDurableExecutionResponse
2011
+
1938
2012
  PolicyLengthExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1939
2013
  PolicyLengthExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1940
2014
  PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
@@ -1974,7 +2048,7 @@ module Aws::Lambda
1974
2048
  PublicPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1975
2049
  PublicPolicyException.struct_class = Types::PublicPolicyException
1976
2050
 
1977
- PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
2051
+ PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
1978
2052
  PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1979
2053
  PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
1980
2054
  PublishLayerVersionRequest.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
@@ -2073,7 +2147,7 @@ module Aws::Lambda
2073
2147
  RecursiveInvocationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2074
2148
  RecursiveInvocationException.struct_class = Types::RecursiveInvocationException
2075
2149
 
2076
- RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
2150
+ RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerNameOrArn, required: true, location: "uri", location_name: "LayerName"))
2077
2151
  RemoveLayerVersionPermissionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
2078
2152
  RemoveLayerVersionPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
2079
2153
  RemoveLayerVersionPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "RevisionId"))
@@ -2110,14 +2184,29 @@ module Aws::Lambda
2110
2184
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2111
2185
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
2112
2186
 
2187
+ ResumeDurableExecutionRequest.add_member(:durable_execution_arn, Shapes::ShapeRef.new(shape: DurableExecutionArn, required: true, location: "uri", location_name: "DurableExecutionArn"))
2188
+ ResumeDurableExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
2189
+ ResumeDurableExecutionRequest.add_member(:reason, Shapes::ShapeRef.new(shape: ResumeReason, location_name: "Reason"))
2190
+ ResumeDurableExecutionRequest.struct_class = Types::ResumeDurableExecutionRequest
2191
+
2192
+ ResumeDurableExecutionResponse.struct_class = Types::ResumeDurableExecutionResponse
2193
+
2113
2194
  RetryDetails.add_member(:current_attempt, Shapes::ShapeRef.new(shape: AttemptCount, location_name: "CurrentAttempt"))
2114
2195
  RetryDetails.add_member(:next_attempt_delay_seconds, Shapes::ShapeRef.new(shape: DurationSeconds, location_name: "NextAttemptDelaySeconds"))
2115
2196
  RetryDetails.struct_class = Types::RetryDetails
2116
2197
 
2198
+ RuntimeAliasDeletedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
2199
+ RuntimeAliasDeletedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2200
+ RuntimeAliasDeletedException.struct_class = Types::RuntimeAliasDeletedException
2201
+
2117
2202
  RuntimeVersionConfig.add_member(:runtime_version_arn, Shapes::ShapeRef.new(shape: RuntimeVersionArn, location_name: "RuntimeVersionArn"))
2118
2203
  RuntimeVersionConfig.add_member(:error, Shapes::ShapeRef.new(shape: RuntimeVersionError, location_name: "Error"))
2119
2204
  RuntimeVersionConfig.struct_class = Types::RuntimeVersionConfig
2120
2205
 
2206
+ RuntimeVersionDeletedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
2207
+ RuntimeVersionDeletedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2208
+ RuntimeVersionDeletedException.struct_class = Types::RuntimeVersionDeletedException
2209
+
2121
2210
  RuntimeVersionError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
2122
2211
  RuntimeVersionError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
2123
2212
  RuntimeVersionError.struct_class = Types::RuntimeVersionError
@@ -2147,6 +2236,7 @@ module Aws::Lambda
2147
2236
 
2148
2237
  SelfManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
2149
2238
  SelfManagedKafkaEventSourceConfig.add_member(:schema_registry_config, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryConfig, location_name: "SchemaRegistryConfig"))
2239
+ SelfManagedKafkaEventSourceConfig.add_member(:consumption_mode, Shapes::ShapeRef.new(shape: KafkaEventSourceMappingConsumptionMode, location_name: "ConsumptionMode"))
2150
2240
  SelfManagedKafkaEventSourceConfig.struct_class = Types::SelfManagedKafkaEventSourceConfig
2151
2241
 
2152
2242
  SendDurableExecutionCallbackFailureRequest.add_member(:callback_id, Shapes::ShapeRef.new(shape: CallbackId, required: true, location: "uri", location_name: "CallbackId"))
@@ -2382,6 +2472,8 @@ module Aws::Lambda
2382
2472
  UpdateFunctionConfigurationRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig"))
2383
2473
  UpdateFunctionConfigurationRequest.add_member(:capacity_provider_config, Shapes::ShapeRef.new(shape: CapacityProviderConfig, location_name: "CapacityProviderConfig"))
2384
2474
  UpdateFunctionConfigurationRequest.add_member(:durable_config, Shapes::ShapeRef.new(shape: DurableConfig, location_name: "DurableConfig"))
2475
+ UpdateFunctionConfigurationRequest.add_member(:runtime_config, Shapes::ShapeRef.new(shape: FunctionRuntimeConfig, location_name: "RuntimeConfig"))
2476
+ UpdateFunctionConfigurationRequest.add_member(:accelerator_config, Shapes::ShapeRef.new(shape: AcceleratorConfig, location_name: "AcceleratorConfig"))
2385
2477
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
2386
2478
 
2387
2479
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -2618,6 +2710,19 @@ module Aws::Lambda
2618
2710
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2619
2711
  end)
2620
2712
 
2713
+ api.add_operation(:delete_durable_execution, Seahorse::Model::Operation.new.tap do |o|
2714
+ o.name = "DeleteDurableExecution"
2715
+ o.http_method = "DELETE"
2716
+ o.http_request_uri = "/2025-12-01/durable-executions/{DurableExecutionArn}"
2717
+ o.input = Shapes::ShapeRef.new(shape: DeleteDurableExecutionRequest)
2718
+ o.output = Shapes::ShapeRef.new(shape: DeleteDurableExecutionResponse)
2719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2720
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2721
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2722
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2723
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2724
+ end)
2725
+
2621
2726
  api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
2622
2727
  o.name = "DeleteEventSourceMapping"
2623
2728
  o.http_method = "DELETE"
@@ -3041,6 +3146,7 @@ module Aws::Lambda
3041
3146
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/invocations"
3042
3147
  o.input = Shapes::ShapeRef.new(shape: InvocationRequest)
3043
3148
  o.output = Shapes::ShapeRef.new(shape: InvocationResponse)
3149
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeAliasDeletedException)
3044
3150
  o.errors << Shapes::ShapeRef.new(shape: CodeArtifactUserDeletedException)
3045
3151
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
3046
3152
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
@@ -3066,6 +3172,7 @@ module Aws::Lambda
3066
3172
  o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
3067
3173
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3068
3174
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3175
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeVersionDeletedException)
3069
3176
  o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
3070
3177
  o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
3071
3178
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
@@ -3130,6 +3237,7 @@ module Aws::Lambda
3130
3237
  o.http_request_uri = "/2021-11-15/functions/{FunctionName}/response-streaming-invocations"
3131
3238
  o.input = Shapes::ShapeRef.new(shape: InvokeWithResponseStreamRequest)
3132
3239
  o.output = Shapes::ShapeRef.new(shape: InvokeWithResponseStreamResponse)
3240
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeAliasDeletedException)
3133
3241
  o.errors << Shapes::ShapeRef.new(shape: CodeArtifactUserDeletedException)
3134
3242
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
3135
3243
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
@@ -3155,6 +3263,7 @@ module Aws::Lambda
3155
3263
  o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
3156
3264
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3157
3265
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3266
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeVersionDeletedException)
3158
3267
  o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
3159
3268
  o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
3160
3269
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
@@ -3430,6 +3539,23 @@ module Aws::Lambda
3430
3539
  )
3431
3540
  end)
3432
3541
 
3542
+ api.add_operation(:pause_durable_execution, Seahorse::Model::Operation.new.tap do |o|
3543
+ o.name = "PauseDurableExecution"
3544
+ o.http_method = "POST"
3545
+ o.http_request_uri = "/2025-12-01/durable-executions/{DurableExecutionArn}/pause"
3546
+ o.input = Shapes::ShapeRef.new(shape: PauseDurableExecutionRequest)
3547
+ o.output = Shapes::ShapeRef.new(shape: PauseDurableExecutionResponse)
3548
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3549
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3550
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3551
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3552
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3553
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3554
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3555
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3556
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3557
+ end)
3558
+
3433
3559
  api.add_operation(:publish_layer_version, Seahorse::Model::Operation.new.tap do |o|
3434
3560
  o.name = "PublishLayerVersion"
3435
3561
  o.http_method = "POST"
@@ -3574,6 +3700,7 @@ module Aws::Lambda
3574
3700
  o.input = Shapes::ShapeRef.new(shape: RemoveLayerVersionPermissionRequest)
3575
3701
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3576
3702
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3703
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3577
3704
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3578
3705
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3579
3706
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
@@ -3594,6 +3721,23 @@ module Aws::Lambda
3594
3721
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3595
3722
  end)
3596
3723
 
3724
+ api.add_operation(:resume_durable_execution, Seahorse::Model::Operation.new.tap do |o|
3725
+ o.name = "ResumeDurableExecution"
3726
+ o.http_method = "POST"
3727
+ o.http_request_uri = "/2025-12-01/durable-executions/{DurableExecutionArn}/resume"
3728
+ o.input = Shapes::ShapeRef.new(shape: ResumeDurableExecutionRequest)
3729
+ o.output = Shapes::ShapeRef.new(shape: ResumeDurableExecutionResponse)
3730
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3731
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
3732
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3734
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3735
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
3736
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3737
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
3738
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
3739
+ end)
3740
+
3597
3741
  api.add_operation(:send_durable_execution_callback_failure, Seahorse::Model::Operation.new.tap do |o|
3598
3742
  o.name = "SendDurableExecutionCallbackFailure"
3599
3743
  o.http_method = "POST"
@@ -70,6 +70,8 @@ module Aws::Lambda
70
70
  # * {ResourceInUseException}
71
71
  # * {ResourceNotFoundException}
72
72
  # * {ResourceNotReadyException}
73
+ # * {RuntimeAliasDeletedException}
74
+ # * {RuntimeVersionDeletedException}
73
75
  # * {S3FilesMountConnectivityException}
74
76
  # * {S3FilesMountFailureException}
75
77
  # * {S3FilesMountTimeoutException}
@@ -955,6 +957,46 @@ module Aws::Lambda
955
957
  end
956
958
  end
957
959
 
960
+ class RuntimeAliasDeletedException < ServiceError
961
+
962
+ # @param [Seahorse::Client::RequestContext] context
963
+ # @param [String] message
964
+ # @param [Aws::Lambda::Types::RuntimeAliasDeletedException] data
965
+ def initialize(context, message, data = Aws::EmptyStructure.new)
966
+ super(context, message, data)
967
+ end
968
+
969
+ # @return [String]
970
+ def type
971
+ @data[:type]
972
+ end
973
+
974
+ # @return [String]
975
+ def message
976
+ @message || @data[:message]
977
+ end
978
+ end
979
+
980
+ class RuntimeVersionDeletedException < ServiceError
981
+
982
+ # @param [Seahorse::Client::RequestContext] context
983
+ # @param [String] message
984
+ # @param [Aws::Lambda::Types::RuntimeVersionDeletedException] data
985
+ def initialize(context, message, data = Aws::EmptyStructure.new)
986
+ super(context, message, data)
987
+ end
988
+
989
+ # @return [String]
990
+ def type
991
+ @data[:type]
992
+ end
993
+
994
+ # @return [String]
995
+ def message
996
+ @message || @data[:message]
997
+ end
998
+ end
999
+
958
1000
  class S3FilesMountConnectivityException < ServiceError
959
1001
 
960
1002
  # @param [Seahorse::Client::RequestContext] context