aws-sdk-lambda 1.54.0 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +275 -95
- data/lib/aws-sdk-lambda/client_api.rb +61 -4
- data/lib/aws-sdk-lambda/types.rb +306 -89
- metadata +4 -4
@@ -73,6 +73,10 @@ module Aws::Lambda
|
|
73
73
|
EFSMountTimeoutException = Shapes::StructureShape.new(name: 'EFSMountTimeoutException')
|
74
74
|
ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
|
75
75
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
76
|
+
EndPointType = Shapes::StringShape.new(name: 'EndPointType')
|
77
|
+
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
78
|
+
EndpointLists = Shapes::ListShape.new(name: 'EndpointLists')
|
79
|
+
Endpoints = Shapes::MapShape.new(name: 'Endpoints')
|
76
80
|
Environment = Shapes::StructureShape.new(name: 'Environment')
|
77
81
|
EnvironmentError = Shapes::StructureShape.new(name: 'EnvironmentError')
|
78
82
|
EnvironmentResponse = Shapes::StructureShape.new(name: 'EnvironmentResponse')
|
@@ -95,6 +99,8 @@ module Aws::Lambda
|
|
95
99
|
FunctionEventInvokeConfigList = Shapes::ListShape.new(name: 'FunctionEventInvokeConfigList')
|
96
100
|
FunctionList = Shapes::ListShape.new(name: 'FunctionList')
|
97
101
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
102
|
+
FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
|
103
|
+
FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
|
98
104
|
FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
|
99
105
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
100
106
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
@@ -121,6 +127,9 @@ module Aws::Lambda
|
|
121
127
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
122
128
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
123
129
|
HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
|
130
|
+
ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
|
131
|
+
ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
|
132
|
+
ImageConfigResponse = Shapes::StructureShape.new(name: 'ImageConfigResponse')
|
124
133
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
125
134
|
InvalidCodeSignatureException = Shapes::StructureShape.new(name: 'InvalidCodeSignatureException')
|
126
135
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
@@ -201,6 +210,7 @@ module Aws::Lambda
|
|
201
210
|
OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
|
202
211
|
OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
|
203
212
|
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
213
|
+
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
204
214
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
205
215
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
206
216
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
@@ -238,6 +248,7 @@ module Aws::Lambda
|
|
238
248
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
239
249
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
240
250
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
251
|
+
SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
|
241
252
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
242
253
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
243
254
|
SigningProfileVersionArns = Shapes::ListShape.new(name: 'SigningProfileVersionArns')
|
@@ -250,6 +261,7 @@ module Aws::Lambda
|
|
250
261
|
StateReasonCode = Shapes::StringShape.new(name: 'StateReasonCode')
|
251
262
|
StatementId = Shapes::StringShape.new(name: 'StatementId')
|
252
263
|
String = Shapes::StringShape.new(name: 'String')
|
264
|
+
StringList = Shapes::ListShape.new(name: 'StringList')
|
253
265
|
SubnetIPAddressLimitReachedException = Shapes::StructureShape.new(name: 'SubnetIPAddressLimitReachedException')
|
254
266
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
255
267
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
@@ -267,6 +279,8 @@ module Aws::Lambda
|
|
267
279
|
TracingConfig = Shapes::StructureShape.new(name: 'TracingConfig')
|
268
280
|
TracingConfigResponse = Shapes::StructureShape.new(name: 'TracingConfigResponse')
|
269
281
|
TracingMode = Shapes::StringShape.new(name: 'TracingMode')
|
282
|
+
TumblingWindowInSeconds = Shapes::IntegerShape.new(name: 'TumblingWindowInSeconds')
|
283
|
+
URI = Shapes::StringShape.new(name: 'URI')
|
270
284
|
UnreservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'UnreservedConcurrentExecutions')
|
271
285
|
UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
|
272
286
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -282,6 +296,7 @@ module Aws::Lambda
|
|
282
296
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
283
297
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
284
298
|
Weight = Shapes::FloatShape.new(name: 'Weight')
|
299
|
+
WorkingDirectory = Shapes::StringShape.new(name: 'WorkingDirectory')
|
285
300
|
|
286
301
|
AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
|
287
302
|
AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
|
@@ -385,7 +400,7 @@ module Aws::Lambda
|
|
385
400
|
CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
|
386
401
|
CreateCodeSigningConfigResponse.struct_class = Types::CreateCodeSigningConfigResponse
|
387
402
|
|
388
|
-
CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn,
|
403
|
+
CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
|
389
404
|
CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
390
405
|
CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
391
406
|
CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
@@ -397,21 +412,25 @@ module Aws::Lambda
|
|
397
412
|
CreateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
398
413
|
CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
399
414
|
CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
415
|
+
CreateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
400
416
|
CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
|
401
417
|
CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
402
418
|
CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
419
|
+
CreateEventSourceMappingRequest.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
|
420
|
+
CreateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
403
421
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
404
422
|
|
405
423
|
CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
406
|
-
CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime,
|
424
|
+
CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
|
407
425
|
CreateFunctionRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "Role"))
|
408
|
-
CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler,
|
426
|
+
CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
|
409
427
|
CreateFunctionRequest.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCode, required: true, location_name: "Code"))
|
410
428
|
CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
411
429
|
CreateFunctionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
|
412
430
|
CreateFunctionRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
|
413
431
|
CreateFunctionRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
|
414
432
|
CreateFunctionRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
433
|
+
CreateFunctionRequest.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
|
415
434
|
CreateFunctionRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
416
435
|
CreateFunctionRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
|
417
436
|
CreateFunctionRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
@@ -419,6 +438,7 @@ module Aws::Lambda
|
|
419
438
|
CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
420
439
|
CreateFunctionRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
|
421
440
|
CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
441
|
+
CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
422
442
|
CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
|
423
443
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
424
444
|
|
@@ -496,6 +516,11 @@ module Aws::Lambda
|
|
496
516
|
ENILimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
497
517
|
ENILimitReachedException.struct_class = Types::ENILimitReachedException
|
498
518
|
|
519
|
+
EndpointLists.member = Shapes::ShapeRef.new(shape: Endpoint)
|
520
|
+
|
521
|
+
Endpoints.key = Shapes::ShapeRef.new(shape: EndPointType)
|
522
|
+
Endpoints.value = Shapes::ShapeRef.new(shape: EndpointLists)
|
523
|
+
|
499
524
|
Environment.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
|
500
525
|
Environment.struct_class = Types::Environment
|
501
526
|
|
@@ -526,9 +551,12 @@ module Aws::Lambda
|
|
526
551
|
EventSourceMappingConfiguration.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
|
527
552
|
EventSourceMappingConfiguration.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
528
553
|
EventSourceMappingConfiguration.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
554
|
+
EventSourceMappingConfiguration.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
|
529
555
|
EventSourceMappingConfiguration.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
530
556
|
EventSourceMappingConfiguration.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
531
557
|
EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
558
|
+
EventSourceMappingConfiguration.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
559
|
+
EventSourceMappingConfiguration.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
532
560
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
533
561
|
|
534
562
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
@@ -545,10 +573,13 @@ module Aws::Lambda
|
|
545
573
|
FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
|
546
574
|
FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
547
575
|
FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
|
576
|
+
FunctionCode.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
|
548
577
|
FunctionCode.struct_class = Types::FunctionCode
|
549
578
|
|
550
579
|
FunctionCodeLocation.add_member(:repository_type, Shapes::ShapeRef.new(shape: String, location_name: "RepositoryType"))
|
551
580
|
FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
|
581
|
+
FunctionCodeLocation.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
|
582
|
+
FunctionCodeLocation.add_member(:resolved_image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ResolvedImageUri"))
|
552
583
|
FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
|
553
584
|
|
554
585
|
FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, location_name: "FunctionName"))
|
@@ -578,6 +609,8 @@ module Aws::Lambda
|
|
578
609
|
FunctionConfiguration.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: LastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
|
579
610
|
FunctionConfiguration.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: LastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
|
580
611
|
FunctionConfiguration.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
612
|
+
FunctionConfiguration.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
|
613
|
+
FunctionConfiguration.add_member(:image_config_response, Shapes::ShapeRef.new(shape: ImageConfigResponse, location_name: "ImageConfigResponse"))
|
581
614
|
FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
|
582
615
|
FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
|
583
616
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
@@ -593,6 +626,8 @@ module Aws::Lambda
|
|
593
626
|
|
594
627
|
FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
595
628
|
|
629
|
+
FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
|
630
|
+
|
596
631
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
597
632
|
|
598
633
|
GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
|
@@ -688,6 +723,19 @@ module Aws::Lambda
|
|
688
723
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
689
724
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
690
725
|
|
726
|
+
ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
|
727
|
+
ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
|
728
|
+
ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
|
729
|
+
ImageConfig.struct_class = Types::ImageConfig
|
730
|
+
|
731
|
+
ImageConfigError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
|
732
|
+
ImageConfigError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
|
733
|
+
ImageConfigError.struct_class = Types::ImageConfigError
|
734
|
+
|
735
|
+
ImageConfigResponse.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
736
|
+
ImageConfigResponse.add_member(:error, Shapes::ShapeRef.new(shape: ImageConfigError, location_name: "Error"))
|
737
|
+
ImageConfigResponse.struct_class = Types::ImageConfigResponse
|
738
|
+
|
691
739
|
InvalidCodeSignatureException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
692
740
|
InvalidCodeSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
693
741
|
InvalidCodeSignatureException.struct_class = Types::InvalidCodeSignatureException
|
@@ -1019,6 +1067,9 @@ module Aws::Lambda
|
|
1019
1067
|
|
1020
1068
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
1021
1069
|
|
1070
|
+
SelfManagedEventSource.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
|
1071
|
+
SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
|
1072
|
+
|
1022
1073
|
ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
1023
1074
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1024
1075
|
ServiceException.struct_class = Types::ServiceException
|
@@ -1026,11 +1077,13 @@ module Aws::Lambda
|
|
1026
1077
|
SigningProfileVersionArns.member = Shapes::ShapeRef.new(shape: Arn)
|
1027
1078
|
|
1028
1079
|
SourceAccessConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SourceAccessType, location_name: "Type"))
|
1029
|
-
SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape:
|
1080
|
+
SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: URI, location_name: "URI"))
|
1030
1081
|
SourceAccessConfiguration.struct_class = Types::SourceAccessConfiguration
|
1031
1082
|
|
1032
1083
|
SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
|
1033
1084
|
|
1085
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
1086
|
+
|
1034
1087
|
SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
1035
1088
|
SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1036
1089
|
SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
|
@@ -1096,6 +1149,8 @@ module Aws::Lambda
|
|
1096
1149
|
UpdateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
1097
1150
|
UpdateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
1098
1151
|
UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
1152
|
+
UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
1153
|
+
UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
1099
1154
|
UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
|
1100
1155
|
|
1101
1156
|
UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -1103,6 +1158,7 @@ module Aws::Lambda
|
|
1103
1158
|
UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
|
1104
1159
|
UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
1105
1160
|
UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
|
1161
|
+
UpdateFunctionCodeRequest.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
|
1106
1162
|
UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
|
1107
1163
|
UpdateFunctionCodeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1108
1164
|
UpdateFunctionCodeRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
@@ -1123,6 +1179,7 @@ module Aws::Lambda
|
|
1123
1179
|
UpdateFunctionConfigurationRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
1124
1180
|
UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
|
1125
1181
|
UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
1182
|
+
UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
1126
1183
|
UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
|
1127
1184
|
|
1128
1185
|
UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -420,9 +420,9 @@ module Aws::Lambda
|
|
420
420
|
# @!attribute [rw] untrusted_artifact_on_deployment
|
421
421
|
# Code signing configuration policy for deployment validation failure.
|
422
422
|
# If you set the policy to `Enforce`, Lambda blocks the deployment
|
423
|
-
# request if
|
424
|
-
#
|
425
|
-
#
|
423
|
+
# request if signature validation checks fail. If you set the policy
|
424
|
+
# to `Warn`, Lambda allows the deployment and creates a CloudWatch
|
425
|
+
# log.
|
426
426
|
#
|
427
427
|
# Default value: `Warn`
|
428
428
|
# @return [String]
|
@@ -609,7 +609,7 @@ module Aws::Lambda
|
|
609
609
|
# data as a hash:
|
610
610
|
#
|
611
611
|
# {
|
612
|
-
# event_source_arn: "Arn",
|
612
|
+
# event_source_arn: "Arn",
|
613
613
|
# function_name: "FunctionName", # required
|
614
614
|
# enabled: false,
|
615
615
|
# batch_size: 1,
|
@@ -628,14 +628,21 @@ module Aws::Lambda
|
|
628
628
|
# maximum_record_age_in_seconds: 1,
|
629
629
|
# bisect_batch_on_function_error: false,
|
630
630
|
# maximum_retry_attempts: 1,
|
631
|
+
# tumbling_window_in_seconds: 1,
|
631
632
|
# topics: ["Topic"],
|
632
633
|
# queues: ["Queue"],
|
633
634
|
# source_access_configurations: [
|
634
635
|
# {
|
635
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
636
|
-
# uri: "
|
636
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
637
|
+
# uri: "URI",
|
637
638
|
# },
|
638
639
|
# ],
|
640
|
+
# self_managed_event_source: {
|
641
|
+
# endpoints: {
|
642
|
+
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
643
|
+
# },
|
644
|
+
# },
|
645
|
+
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
639
646
|
# }
|
640
647
|
#
|
641
648
|
# @!attribute [rw] event_source_arn
|
@@ -683,15 +690,18 @@ module Aws::Lambda
|
|
683
690
|
#
|
684
691
|
# * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
|
685
692
|
#
|
686
|
-
# * **Amazon Simple Queue Service** - Default 10.
|
693
|
+
# * **Amazon Simple Queue Service** - Default 10. For standard queues
|
694
|
+
# the max is 10,000. For FIFO queues the max is 10.
|
687
695
|
#
|
688
696
|
# * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
|
689
697
|
# 10,000.
|
698
|
+
#
|
699
|
+
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
690
700
|
# @return [Integer]
|
691
701
|
#
|
692
702
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
693
|
-
# (Streams) The maximum amount of time to
|
694
|
-
# invoking the function, in seconds.
|
703
|
+
# (Streams and SQS standard queues) The maximum amount of time to
|
704
|
+
# gather records before invoking the function, in seconds.
|
695
705
|
# @return [Integer]
|
696
706
|
#
|
697
707
|
# @!attribute [rw] parallelization_factor
|
@@ -731,8 +741,13 @@ module Aws::Lambda
|
|
731
741
|
# records will be retried until the record expires.
|
732
742
|
# @return [Integer]
|
733
743
|
#
|
744
|
+
# @!attribute [rw] tumbling_window_in_seconds
|
745
|
+
# (Streams) The duration in seconds of a processing window. The range
|
746
|
+
# is between 1 second up to 900 seconds.
|
747
|
+
# @return [Integer]
|
748
|
+
#
|
734
749
|
# @!attribute [rw] topics
|
735
|
-
#
|
750
|
+
# The name of the Kafka topic.
|
736
751
|
# @return [Array<String>]
|
737
752
|
#
|
738
753
|
# @!attribute [rw] queues
|
@@ -740,18 +755,18 @@ module Aws::Lambda
|
|
740
755
|
# @return [Array<String>]
|
741
756
|
#
|
742
757
|
# @!attribute [rw] source_access_configurations
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
758
|
+
# An array of the authentication protocol, or the VPC components to
|
759
|
+
# secure your event source.
|
760
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
746
761
|
#
|
747
|
-
#
|
748
|
-
#
|
762
|
+
# @!attribute [rw] self_managed_event_source
|
763
|
+
# The Self-Managed Apache Kafka cluster to send records.
|
764
|
+
# @return [Types::SelfManagedEventSource]
|
749
765
|
#
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
# @return [Array<Types::SourceAccessConfiguration>]
|
766
|
+
# @!attribute [rw] function_response_types
|
767
|
+
# (Streams) A list of current response type enums applied to the event
|
768
|
+
# source mapping.
|
769
|
+
# @return [Array<String>]
|
755
770
|
#
|
756
771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
757
772
|
#
|
@@ -768,9 +783,12 @@ module Aws::Lambda
|
|
768
783
|
:maximum_record_age_in_seconds,
|
769
784
|
:bisect_batch_on_function_error,
|
770
785
|
:maximum_retry_attempts,
|
786
|
+
:tumbling_window_in_seconds,
|
771
787
|
:topics,
|
772
788
|
:queues,
|
773
|
-
:source_access_configurations
|
789
|
+
:source_access_configurations,
|
790
|
+
:self_managed_event_source,
|
791
|
+
:function_response_types)
|
774
792
|
SENSITIVE = []
|
775
793
|
include Aws::Structure
|
776
794
|
end
|
@@ -780,14 +798,15 @@ module Aws::Lambda
|
|
780
798
|
#
|
781
799
|
# {
|
782
800
|
# function_name: "FunctionName", # required
|
783
|
-
# runtime: "nodejs", #
|
801
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
784
802
|
# role: "RoleArn", # required
|
785
|
-
# handler: "Handler",
|
803
|
+
# handler: "Handler",
|
786
804
|
# code: { # required
|
787
805
|
# zip_file: "data",
|
788
806
|
# s3_bucket: "S3Bucket",
|
789
807
|
# s3_key: "S3Key",
|
790
808
|
# s3_object_version: "S3ObjectVersion",
|
809
|
+
# image_uri: "String",
|
791
810
|
# },
|
792
811
|
# description: "Description",
|
793
812
|
# timeout: 1,
|
@@ -797,6 +816,7 @@ module Aws::Lambda
|
|
797
816
|
# subnet_ids: ["SubnetId"],
|
798
817
|
# security_group_ids: ["SecurityGroupId"],
|
799
818
|
# },
|
819
|
+
# package_type: "Zip", # accepts Zip, Image
|
800
820
|
# dead_letter_config: {
|
801
821
|
# target_arn: "ResourceArn",
|
802
822
|
# },
|
@@ -819,6 +839,11 @@ module Aws::Lambda
|
|
819
839
|
# local_mount_path: "LocalMountPath", # required
|
820
840
|
# },
|
821
841
|
# ],
|
842
|
+
# image_config: {
|
843
|
+
# entry_point: ["String"],
|
844
|
+
# command: ["String"],
|
845
|
+
# working_directory: "WorkingDirectory",
|
846
|
+
# },
|
822
847
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
823
848
|
# }
|
824
849
|
#
|
@@ -876,9 +901,9 @@ module Aws::Lambda
|
|
876
901
|
# @return [Integer]
|
877
902
|
#
|
878
903
|
# @!attribute [rw] memory_size
|
879
|
-
# The amount of memory
|
880
|
-
# the function's memory also increases its CPU allocation.
|
881
|
-
# default value is 128 MB. The value
|
904
|
+
# The amount of memory available to the function at runtime.
|
905
|
+
# Increasing the function's memory also increases its CPU allocation.
|
906
|
+
# The default value is 128 MB. The value can be any multiple of 1 MB.
|
882
907
|
# @return [Integer]
|
883
908
|
#
|
884
909
|
# @!attribute [rw] publish
|
@@ -897,6 +922,11 @@ module Aws::Lambda
|
|
897
922
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
898
923
|
# @return [Types::VpcConfig]
|
899
924
|
#
|
925
|
+
# @!attribute [rw] package_type
|
926
|
+
# The type of deployment package. Set to `Image` for container image
|
927
|
+
# and set `Zip` for ZIP archive.
|
928
|
+
# @return [String]
|
929
|
+
#
|
900
930
|
# @!attribute [rw] dead_letter_config
|
901
931
|
# A dead letter queue configuration that specifies the queue or topic
|
902
932
|
# where Lambda sends asynchronous events when they fail processing.
|
@@ -944,10 +974,19 @@ module Aws::Lambda
|
|
944
974
|
# Connection settings for an Amazon EFS file system.
|
945
975
|
# @return [Array<Types::FileSystemConfig>]
|
946
976
|
#
|
977
|
+
# @!attribute [rw] image_config
|
978
|
+
# [Container image configuration values][1] that override the values
|
979
|
+
# in the container image Dockerfile.
|
980
|
+
#
|
981
|
+
#
|
982
|
+
#
|
983
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
984
|
+
# @return [Types::ImageConfig]
|
985
|
+
#
|
947
986
|
# @!attribute [rw] code_signing_config_arn
|
948
987
|
# To enable code signing for this function, specify the ARN of a
|
949
|
-
# code-signing configuration. A code-signing configuration includes
|
950
|
-
# set
|
988
|
+
# code-signing configuration. A code-signing configuration includes a
|
989
|
+
# set of signing profiles, which define the trusted publishers for
|
951
990
|
# this function.
|
952
991
|
# @return [String]
|
953
992
|
#
|
@@ -964,6 +1003,7 @@ module Aws::Lambda
|
|
964
1003
|
:memory_size,
|
965
1004
|
:publish,
|
966
1005
|
:vpc_config,
|
1006
|
+
:package_type,
|
967
1007
|
:dead_letter_config,
|
968
1008
|
:environment,
|
969
1009
|
:kms_key_arn,
|
@@ -971,6 +1011,7 @@ module Aws::Lambda
|
|
971
1011
|
:tags,
|
972
1012
|
:layers,
|
973
1013
|
:file_system_configs,
|
1014
|
+
:image_config,
|
974
1015
|
:code_signing_config_arn)
|
975
1016
|
SENSITIVE = []
|
976
1017
|
include Aws::Structure
|
@@ -1553,8 +1594,9 @@ module Aws::Lambda
|
|
1553
1594
|
# @return [Integer]
|
1554
1595
|
#
|
1555
1596
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
1556
|
-
# (Streams) The maximum amount of time to
|
1557
|
-
# invoking the function, in seconds. The default
|
1597
|
+
# (Streams and SQS standard queues) The maximum amount of time to
|
1598
|
+
# gather records before invoking the function, in seconds. The default
|
1599
|
+
# value is zero.
|
1558
1600
|
# @return [Integer]
|
1559
1601
|
#
|
1560
1602
|
# @!attribute [rw] parallelization_factor
|
@@ -1597,7 +1639,7 @@ module Aws::Lambda
|
|
1597
1639
|
# @return [Types::DestinationConfig]
|
1598
1640
|
#
|
1599
1641
|
# @!attribute [rw] topics
|
1600
|
-
#
|
1642
|
+
# The name of the Kafka topic.
|
1601
1643
|
# @return [Array<String>]
|
1602
1644
|
#
|
1603
1645
|
# @!attribute [rw] queues
|
@@ -1605,19 +1647,14 @@ module Aws::Lambda
|
|
1605
1647
|
# @return [Array<String>]
|
1606
1648
|
#
|
1607
1649
|
# @!attribute [rw] source_access_configurations
|
1608
|
-
#
|
1609
|
-
#
|
1610
|
-
# "your username", "password": "your password" \}`
|
1611
|
-
#
|
1612
|
-
# To reference the secret, use the following format: `[ \{ "Type":
|
1613
|
-
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
1614
|
-
#
|
1615
|
-
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
1616
|
-
# you can use customer or service managed keys. When using a customer
|
1617
|
-
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
1618
|
-
# permissions.
|
1650
|
+
# An array of the authentication protocol, or the VPC components to
|
1651
|
+
# secure your event source.
|
1619
1652
|
# @return [Array<Types::SourceAccessConfiguration>]
|
1620
1653
|
#
|
1654
|
+
# @!attribute [rw] self_managed_event_source
|
1655
|
+
# The Self-Managed Apache Kafka cluster for your event source.
|
1656
|
+
# @return [Types::SelfManagedEventSource]
|
1657
|
+
#
|
1621
1658
|
# @!attribute [rw] maximum_record_age_in_seconds
|
1622
1659
|
# (Streams) Discard records older than the specified age. The default
|
1623
1660
|
# value is infinite (-1). When set to infinite (-1), failed records
|
@@ -1635,6 +1672,16 @@ module Aws::Lambda
|
|
1635
1672
|
# records are retried until the record expires.
|
1636
1673
|
# @return [Integer]
|
1637
1674
|
#
|
1675
|
+
# @!attribute [rw] tumbling_window_in_seconds
|
1676
|
+
# (Streams) The duration in seconds of a processing window. The range
|
1677
|
+
# is between 1 second up to 900 seconds.
|
1678
|
+
# @return [Integer]
|
1679
|
+
#
|
1680
|
+
# @!attribute [rw] function_response_types
|
1681
|
+
# (Streams) A list of current response type enums applied to the event
|
1682
|
+
# source mapping.
|
1683
|
+
# @return [Array<String>]
|
1684
|
+
#
|
1638
1685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
1639
1686
|
#
|
1640
1687
|
class EventSourceMappingConfiguration < Struct.new(
|
@@ -1654,9 +1701,12 @@ module Aws::Lambda
|
|
1654
1701
|
:topics,
|
1655
1702
|
:queues,
|
1656
1703
|
:source_access_configurations,
|
1704
|
+
:self_managed_event_source,
|
1657
1705
|
:maximum_record_age_in_seconds,
|
1658
1706
|
:bisect_batch_on_function_error,
|
1659
|
-
:maximum_retry_attempts
|
1707
|
+
:maximum_retry_attempts,
|
1708
|
+
:tumbling_window_in_seconds,
|
1709
|
+
:function_response_types)
|
1660
1710
|
SENSITIVE = []
|
1661
1711
|
include Aws::Structure
|
1662
1712
|
end
|
@@ -1692,7 +1742,8 @@ module Aws::Lambda
|
|
1692
1742
|
end
|
1693
1743
|
|
1694
1744
|
# The code for the Lambda function. You can specify either an object in
|
1695
|
-
# Amazon S3,
|
1745
|
+
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1746
|
+
# specify the URI of a container image.
|
1696
1747
|
#
|
1697
1748
|
# @note When making an API call, you may pass FunctionCode
|
1698
1749
|
# data as a hash:
|
@@ -1702,6 +1753,7 @@ module Aws::Lambda
|
|
1702
1753
|
# s3_bucket: "S3Bucket",
|
1703
1754
|
# s3_key: "S3Key",
|
1704
1755
|
# s3_object_version: "S3ObjectVersion",
|
1756
|
+
# image_uri: "String",
|
1705
1757
|
# }
|
1706
1758
|
#
|
1707
1759
|
# @!attribute [rw] zip_file
|
@@ -1723,13 +1775,18 @@ module Aws::Lambda
|
|
1723
1775
|
# to use.
|
1724
1776
|
# @return [String]
|
1725
1777
|
#
|
1778
|
+
# @!attribute [rw] image_uri
|
1779
|
+
# URI of a container image in the Amazon ECR registry.
|
1780
|
+
# @return [String]
|
1781
|
+
#
|
1726
1782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation
|
1727
1783
|
#
|
1728
1784
|
class FunctionCode < Struct.new(
|
1729
1785
|
:zip_file,
|
1730
1786
|
:s3_bucket,
|
1731
1787
|
:s3_key,
|
1732
|
-
:s3_object_version
|
1788
|
+
:s3_object_version,
|
1789
|
+
:image_uri)
|
1733
1790
|
SENSITIVE = [:zip_file]
|
1734
1791
|
include Aws::Structure
|
1735
1792
|
end
|
@@ -1744,11 +1801,21 @@ module Aws::Lambda
|
|
1744
1801
|
# A presigned URL that you can use to download the deployment package.
|
1745
1802
|
# @return [String]
|
1746
1803
|
#
|
1804
|
+
# @!attribute [rw] image_uri
|
1805
|
+
# URI of a container image in the Amazon ECR registry.
|
1806
|
+
# @return [String]
|
1807
|
+
#
|
1808
|
+
# @!attribute [rw] resolved_image_uri
|
1809
|
+
# The resolved URI for the image.
|
1810
|
+
# @return [String]
|
1811
|
+
#
|
1747
1812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation AWS API Documentation
|
1748
1813
|
#
|
1749
1814
|
class FunctionCodeLocation < Struct.new(
|
1750
1815
|
:repository_type,
|
1751
|
-
:location
|
1816
|
+
:location,
|
1817
|
+
:image_uri,
|
1818
|
+
:resolved_image_uri)
|
1752
1819
|
SENSITIVE = []
|
1753
1820
|
include Aws::Structure
|
1754
1821
|
end
|
@@ -1789,7 +1856,7 @@ module Aws::Lambda
|
|
1789
1856
|
# @return [Integer]
|
1790
1857
|
#
|
1791
1858
|
# @!attribute [rw] memory_size
|
1792
|
-
# The memory
|
1859
|
+
# The amount of memory available to the function at runtime.
|
1793
1860
|
# @return [Integer]
|
1794
1861
|
#
|
1795
1862
|
# @!attribute [rw] last_modified
|
@@ -1879,6 +1946,15 @@ module Aws::Lambda
|
|
1879
1946
|
# Connection settings for an Amazon EFS file system.
|
1880
1947
|
# @return [Array<Types::FileSystemConfig>]
|
1881
1948
|
#
|
1949
|
+
# @!attribute [rw] package_type
|
1950
|
+
# The type of deployment package. Set to `Image` for container image
|
1951
|
+
# and set `Zip` for .zip file archive.
|
1952
|
+
# @return [String]
|
1953
|
+
#
|
1954
|
+
# @!attribute [rw] image_config_response
|
1955
|
+
# The function's image configuration values.
|
1956
|
+
# @return [Types::ImageConfigResponse]
|
1957
|
+
#
|
1882
1958
|
# @!attribute [rw] signing_profile_version_arn
|
1883
1959
|
# The ARN of the signing profile version.
|
1884
1960
|
# @return [String]
|
@@ -1917,6 +1993,8 @@ module Aws::Lambda
|
|
1917
1993
|
:last_update_status_reason,
|
1918
1994
|
:last_update_status_reason_code,
|
1919
1995
|
:file_system_configs,
|
1996
|
+
:package_type,
|
1997
|
+
:image_config_response,
|
1920
1998
|
:signing_profile_version_arn,
|
1921
1999
|
:signing_job_arn)
|
1922
2000
|
SENSITIVE = []
|
@@ -2613,6 +2691,83 @@ module Aws::Lambda
|
|
2613
2691
|
include Aws::Structure
|
2614
2692
|
end
|
2615
2693
|
|
2694
|
+
# Configuration values that override the container image Dockerfile
|
2695
|
+
# settings. See [Container settings][1].
|
2696
|
+
#
|
2697
|
+
#
|
2698
|
+
#
|
2699
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms
|
2700
|
+
#
|
2701
|
+
# @note When making an API call, you may pass ImageConfig
|
2702
|
+
# data as a hash:
|
2703
|
+
#
|
2704
|
+
# {
|
2705
|
+
# entry_point: ["String"],
|
2706
|
+
# command: ["String"],
|
2707
|
+
# working_directory: "WorkingDirectory",
|
2708
|
+
# }
|
2709
|
+
#
|
2710
|
+
# @!attribute [rw] entry_point
|
2711
|
+
# Specifies the entry point to their application, which is typically
|
2712
|
+
# the location of the runtime executable.
|
2713
|
+
# @return [Array<String>]
|
2714
|
+
#
|
2715
|
+
# @!attribute [rw] command
|
2716
|
+
# Specifies parameters that you want to pass in with ENTRYPOINT.
|
2717
|
+
# @return [Array<String>]
|
2718
|
+
#
|
2719
|
+
# @!attribute [rw] working_directory
|
2720
|
+
# Specifies the working directory.
|
2721
|
+
# @return [String]
|
2722
|
+
#
|
2723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfig AWS API Documentation
|
2724
|
+
#
|
2725
|
+
class ImageConfig < Struct.new(
|
2726
|
+
:entry_point,
|
2727
|
+
:command,
|
2728
|
+
:working_directory)
|
2729
|
+
SENSITIVE = []
|
2730
|
+
include Aws::Structure
|
2731
|
+
end
|
2732
|
+
|
2733
|
+
# Error response to GetFunctionConfiguration.
|
2734
|
+
#
|
2735
|
+
# @!attribute [rw] error_code
|
2736
|
+
# Error code.
|
2737
|
+
# @return [String]
|
2738
|
+
#
|
2739
|
+
# @!attribute [rw] message
|
2740
|
+
# Error message.
|
2741
|
+
# @return [String]
|
2742
|
+
#
|
2743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigError AWS API Documentation
|
2744
|
+
#
|
2745
|
+
class ImageConfigError < Struct.new(
|
2746
|
+
:error_code,
|
2747
|
+
:message)
|
2748
|
+
SENSITIVE = [:message]
|
2749
|
+
include Aws::Structure
|
2750
|
+
end
|
2751
|
+
|
2752
|
+
# Response to GetFunctionConfiguration request.
|
2753
|
+
#
|
2754
|
+
# @!attribute [rw] image_config
|
2755
|
+
# Configuration values that override the container image Dockerfile.
|
2756
|
+
# @return [Types::ImageConfig]
|
2757
|
+
#
|
2758
|
+
# @!attribute [rw] error
|
2759
|
+
# Error response to GetFunctionConfiguration.
|
2760
|
+
# @return [Types::ImageConfigError]
|
2761
|
+
#
|
2762
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
|
2763
|
+
#
|
2764
|
+
class ImageConfigResponse < Struct.new(
|
2765
|
+
:image_config,
|
2766
|
+
:error)
|
2767
|
+
SENSITIVE = []
|
2768
|
+
include Aws::Structure
|
2769
|
+
end
|
2770
|
+
|
2616
2771
|
# The code signature failed the integrity check. Lambda always blocks
|
2617
2772
|
# deployment if the integrity check fails, even if code signing policy
|
2618
2773
|
# is set to WARN.
|
@@ -3540,7 +3695,7 @@ module Aws::Lambda
|
|
3540
3695
|
# data as a hash:
|
3541
3696
|
#
|
3542
3697
|
# {
|
3543
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3698
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3544
3699
|
# layer_name: "LayerName", # required
|
3545
3700
|
# marker: "String",
|
3546
3701
|
# max_items: 1,
|
@@ -3595,7 +3750,7 @@ module Aws::Lambda
|
|
3595
3750
|
# data as a hash:
|
3596
3751
|
#
|
3597
3752
|
# {
|
3598
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3753
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3599
3754
|
# marker: "String",
|
3600
3755
|
# max_items: 1,
|
3601
3756
|
# }
|
@@ -3957,7 +4112,7 @@ module Aws::Lambda
|
|
3957
4112
|
# s3_object_version: "S3ObjectVersion",
|
3958
4113
|
# zip_file: "data",
|
3959
4114
|
# },
|
3960
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4115
|
+
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3961
4116
|
# license_info: "LicenseInfo",
|
3962
4117
|
# }
|
3963
4118
|
#
|
@@ -4578,6 +4733,31 @@ module Aws::Lambda
|
|
4578
4733
|
include Aws::Structure
|
4579
4734
|
end
|
4580
4735
|
|
4736
|
+
# The Self-Managed Apache Kafka cluster for your event source.
|
4737
|
+
#
|
4738
|
+
# @note When making an API call, you may pass SelfManagedEventSource
|
4739
|
+
# data as a hash:
|
4740
|
+
#
|
4741
|
+
# {
|
4742
|
+
# endpoints: {
|
4743
|
+
# "KAFKA_BOOTSTRAP_SERVERS" => ["Endpoint"],
|
4744
|
+
# },
|
4745
|
+
# }
|
4746
|
+
#
|
4747
|
+
# @!attribute [rw] endpoints
|
4748
|
+
# The list of bootstrap servers for your Kafka brokers in the
|
4749
|
+
# following format: `"KAFKA_BOOTSTRAP_SERVERS":
|
4750
|
+
# ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]`.
|
4751
|
+
# @return [Hash<String,Array<String>>]
|
4752
|
+
#
|
4753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedEventSource AWS API Documentation
|
4754
|
+
#
|
4755
|
+
class SelfManagedEventSource < Struct.new(
|
4756
|
+
:endpoints)
|
4757
|
+
SENSITIVE = []
|
4758
|
+
include Aws::Structure
|
4759
|
+
end
|
4760
|
+
|
4581
4761
|
# The AWS Lambda service encountered an internal error.
|
4582
4762
|
#
|
4583
4763
|
# @!attribute [rw] type
|
@@ -4595,36 +4775,44 @@ module Aws::Lambda
|
|
4595
4775
|
include Aws::Structure
|
4596
4776
|
end
|
4597
4777
|
|
4598
|
-
#
|
4599
|
-
#
|
4600
|
-
# username", "password": "your password" \}`
|
4778
|
+
# You can specify the authentication protocol, or the VPC components to
|
4779
|
+
# secure access to your event source.
|
4601
4780
|
#
|
4602
4781
|
# @note When making an API call, you may pass SourceAccessConfiguration
|
4603
4782
|
# data as a hash:
|
4604
4783
|
#
|
4605
4784
|
# {
|
4606
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4607
|
-
# uri: "
|
4785
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
4786
|
+
# uri: "URI",
|
4608
4787
|
# }
|
4609
4788
|
#
|
4610
4789
|
# @!attribute [rw] type
|
4611
|
-
#
|
4612
|
-
#
|
4790
|
+
# The type of authentication protocol or the VPC components for your
|
4791
|
+
# event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`.
|
4792
|
+
#
|
4793
|
+
# * `BASIC_AUTH` - (MQ) The Secrets Manager secret that stores your
|
4794
|
+
# broker credentials.
|
4795
|
+
#
|
4796
|
+
# * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
|
4797
|
+
# connects to these subnets to fetch data from your Self-Managed
|
4798
|
+
# Apache Kafka cluster.
|
4613
4799
|
#
|
4614
|
-
#
|
4615
|
-
#
|
4616
|
-
#
|
4617
|
-
#
|
4800
|
+
# * `VPC_SECURITY_GROUP` - The VPC security group used to manage
|
4801
|
+
# access to your Self-Managed Apache Kafka brokers.
|
4802
|
+
#
|
4803
|
+
# * `SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key
|
4804
|
+
# used for SASL SCRAM-256 authentication of your Self-Managed Apache
|
4805
|
+
# Kafka brokers.
|
4806
|
+
#
|
4807
|
+
# * `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key
|
4808
|
+
# used for SASL SCRAM-512 authentication of your Self-Managed Apache
|
4809
|
+
# Kafka brokers.
|
4618
4810
|
# @return [String]
|
4619
4811
|
#
|
4620
4812
|
# @!attribute [rw] uri
|
4621
|
-
#
|
4622
|
-
# "
|
4623
|
-
#
|
4624
|
-
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4625
|
-
# you can use customer or service managed keys. When using a customer
|
4626
|
-
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4627
|
-
# permissions.
|
4813
|
+
# The value for your chosen configuration in `Type`. For example:
|
4814
|
+
# `"URI":
|
4815
|
+
# "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`.
|
4628
4816
|
# @return [String]
|
4629
4817
|
#
|
4630
4818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
|
@@ -4933,10 +5121,12 @@ module Aws::Lambda
|
|
4933
5121
|
# parallelization_factor: 1,
|
4934
5122
|
# source_access_configurations: [
|
4935
5123
|
# {
|
4936
|
-
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4937
|
-
# uri: "
|
5124
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH
|
5125
|
+
# uri: "URI",
|
4938
5126
|
# },
|
4939
5127
|
# ],
|
5128
|
+
# tumbling_window_in_seconds: 1,
|
5129
|
+
# function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
|
4940
5130
|
# }
|
4941
5131
|
#
|
4942
5132
|
# @!attribute [rw] uuid
|
@@ -4974,15 +5164,18 @@ module Aws::Lambda
|
|
4974
5164
|
#
|
4975
5165
|
# * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
|
4976
5166
|
#
|
4977
|
-
# * **Amazon Simple Queue Service** - Default 10.
|
5167
|
+
# * **Amazon Simple Queue Service** - Default 10. For standard queues
|
5168
|
+
# the max is 10,000. For FIFO queues the max is 10.
|
4978
5169
|
#
|
4979
5170
|
# * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
|
4980
5171
|
# 10,000.
|
5172
|
+
#
|
5173
|
+
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
4981
5174
|
# @return [Integer]
|
4982
5175
|
#
|
4983
5176
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
4984
|
-
# (Streams) The maximum amount of time to
|
4985
|
-
# invoking the function, in seconds.
|
5177
|
+
# (Streams and SQS standard queues) The maximum amount of time to
|
5178
|
+
# gather records before invoking the function, in seconds.
|
4986
5179
|
# @return [Integer]
|
4987
5180
|
#
|
4988
5181
|
# @!attribute [rw] destination_config
|
@@ -5012,18 +5205,19 @@ module Aws::Lambda
|
|
5012
5205
|
# @return [Integer]
|
5013
5206
|
#
|
5014
5207
|
# @!attribute [rw] source_access_configurations
|
5015
|
-
#
|
5016
|
-
#
|
5017
|
-
#
|
5208
|
+
# An array of the authentication protocol, or the VPC components to
|
5209
|
+
# secure your event source.
|
5210
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
5018
5211
|
#
|
5019
|
-
#
|
5020
|
-
#
|
5212
|
+
# @!attribute [rw] tumbling_window_in_seconds
|
5213
|
+
# (Streams) The duration in seconds of a processing window. The range
|
5214
|
+
# is between 1 second up to 900 seconds.
|
5215
|
+
# @return [Integer]
|
5021
5216
|
#
|
5022
|
-
#
|
5023
|
-
#
|
5024
|
-
#
|
5025
|
-
#
|
5026
|
-
# @return [Array<Types::SourceAccessConfiguration>]
|
5217
|
+
# @!attribute [rw] function_response_types
|
5218
|
+
# (Streams) A list of current response type enums applied to the event
|
5219
|
+
# source mapping.
|
5220
|
+
# @return [Array<String>]
|
5027
5221
|
#
|
5028
5222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
5029
5223
|
#
|
@@ -5038,7 +5232,9 @@ module Aws::Lambda
|
|
5038
5232
|
:bisect_batch_on_function_error,
|
5039
5233
|
:maximum_retry_attempts,
|
5040
5234
|
:parallelization_factor,
|
5041
|
-
:source_access_configurations
|
5235
|
+
:source_access_configurations,
|
5236
|
+
:tumbling_window_in_seconds,
|
5237
|
+
:function_response_types)
|
5042
5238
|
SENSITIVE = []
|
5043
5239
|
include Aws::Structure
|
5044
5240
|
end
|
@@ -5052,6 +5248,7 @@ module Aws::Lambda
|
|
5052
5248
|
# s3_bucket: "S3Bucket",
|
5053
5249
|
# s3_key: "S3Key",
|
5054
5250
|
# s3_object_version: "S3ObjectVersion",
|
5251
|
+
# image_uri: "String",
|
5055
5252
|
# publish: false,
|
5056
5253
|
# dry_run: false,
|
5057
5254
|
# revision_id: "String",
|
@@ -5092,6 +5289,10 @@ module Aws::Lambda
|
|
5092
5289
|
# to use.
|
5093
5290
|
# @return [String]
|
5094
5291
|
#
|
5292
|
+
# @!attribute [rw] image_uri
|
5293
|
+
# URI of a container image in the Amazon ECR registry.
|
5294
|
+
# @return [String]
|
5295
|
+
#
|
5095
5296
|
# @!attribute [rw] publish
|
5096
5297
|
# Set to true to publish a new version of the function after updating
|
5097
5298
|
# the code. This has the same effect as calling PublishVersion
|
@@ -5117,6 +5318,7 @@ module Aws::Lambda
|
|
5117
5318
|
:s3_bucket,
|
5118
5319
|
:s3_key,
|
5119
5320
|
:s3_object_version,
|
5321
|
+
:image_uri,
|
5120
5322
|
:publish,
|
5121
5323
|
:dry_run,
|
5122
5324
|
:revision_id)
|
@@ -5143,7 +5345,7 @@ module Aws::Lambda
|
|
5143
5345
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
5144
5346
|
# },
|
5145
5347
|
# },
|
5146
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
5348
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
5147
5349
|
# dead_letter_config: {
|
5148
5350
|
# target_arn: "ResourceArn",
|
5149
5351
|
# },
|
@@ -5159,6 +5361,11 @@ module Aws::Lambda
|
|
5159
5361
|
# local_mount_path: "LocalMountPath", # required
|
5160
5362
|
# },
|
5161
5363
|
# ],
|
5364
|
+
# image_config: {
|
5365
|
+
# entry_point: ["String"],
|
5366
|
+
# command: ["String"],
|
5367
|
+
# working_directory: "WorkingDirectory",
|
5368
|
+
# },
|
5162
5369
|
# }
|
5163
5370
|
#
|
5164
5371
|
# @!attribute [rw] function_name
|
@@ -5203,9 +5410,9 @@ module Aws::Lambda
|
|
5203
5410
|
# @return [Integer]
|
5204
5411
|
#
|
5205
5412
|
# @!attribute [rw] memory_size
|
5206
|
-
# The amount of memory
|
5207
|
-
# the function's memory also increases its CPU allocation.
|
5208
|
-
# default value is 128 MB. The value
|
5413
|
+
# The amount of memory available to the function at runtime.
|
5414
|
+
# Increasing the function's memory also increases its CPU allocation.
|
5415
|
+
# The default value is 128 MB. The value can be any multiple of 1 MB.
|
5209
5416
|
# @return [Integer]
|
5210
5417
|
#
|
5211
5418
|
# @!attribute [rw] vpc_config
|
@@ -5272,6 +5479,15 @@ module Aws::Lambda
|
|
5272
5479
|
# Connection settings for an Amazon EFS file system.
|
5273
5480
|
# @return [Array<Types::FileSystemConfig>]
|
5274
5481
|
#
|
5482
|
+
# @!attribute [rw] image_config
|
5483
|
+
# [Container image configuration values][1] that override the values
|
5484
|
+
# in the container image Dockerfile.
|
5485
|
+
#
|
5486
|
+
#
|
5487
|
+
#
|
5488
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
5489
|
+
# @return [Types::ImageConfig]
|
5490
|
+
#
|
5275
5491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
5276
5492
|
#
|
5277
5493
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
@@ -5289,7 +5505,8 @@ module Aws::Lambda
|
|
5289
5505
|
:tracing_config,
|
5290
5506
|
:revision_id,
|
5291
5507
|
:layers,
|
5292
|
-
:file_system_configs
|
5508
|
+
:file_system_configs,
|
5509
|
+
:image_config)
|
5293
5510
|
SENSITIVE = []
|
5294
5511
|
include Aws::Structure
|
5295
5512
|
end
|