aws-sdk-lambda 1.82.0 → 1.85.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +435 -34
- data/lib/aws-sdk-lambda/client_api.rb +181 -0
- data/lib/aws-sdk-lambda/types.rb +695 -21
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
@@ -26,7 +26,11 @@ module Aws::Lambda
|
|
26
26
|
AliasConfiguration = Shapes::StructureShape.new(name: 'AliasConfiguration')
|
27
27
|
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
28
28
|
AliasRoutingConfiguration = Shapes::StructureShape.new(name: 'AliasRoutingConfiguration')
|
29
|
+
AllowCredentials = Shapes::BooleanShape.new(name: 'AllowCredentials')
|
30
|
+
AllowMethodsList = Shapes::ListShape.new(name: 'AllowMethodsList')
|
31
|
+
AllowOriginsList = Shapes::ListShape.new(name: 'AllowOriginsList')
|
29
32
|
AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
|
33
|
+
AmazonManagedKafkaEventSourceConfig = Shapes::StructureShape.new(name: 'AmazonManagedKafkaEventSourceConfig')
|
30
34
|
Architecture = Shapes::StringShape.new(name: 'Architecture')
|
31
35
|
ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
|
32
36
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
@@ -47,11 +51,14 @@ module Aws::Lambda
|
|
47
51
|
CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
|
48
52
|
CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
|
49
53
|
Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
|
54
|
+
Cors = Shapes::StructureShape.new(name: 'Cors')
|
50
55
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
51
56
|
CreateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigRequest')
|
52
57
|
CreateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigResponse')
|
53
58
|
CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
|
54
59
|
CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
|
60
|
+
CreateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigRequest')
|
61
|
+
CreateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigResponse')
|
55
62
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
56
63
|
DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
|
57
64
|
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
@@ -62,6 +69,7 @@ module Aws::Lambda
|
|
62
69
|
DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
|
63
70
|
DeleteFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionEventInvokeConfigRequest')
|
64
71
|
DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
|
72
|
+
DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
|
65
73
|
DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
|
66
74
|
DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
|
67
75
|
Description = Shapes::StringShape.new(name: 'Description')
|
@@ -109,6 +117,11 @@ module Aws::Lambda
|
|
109
117
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
110
118
|
FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
|
111
119
|
FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
|
120
|
+
FunctionUrl = Shapes::StringShape.new(name: 'FunctionUrl')
|
121
|
+
FunctionUrlAuthType = Shapes::StringShape.new(name: 'FunctionUrlAuthType')
|
122
|
+
FunctionUrlConfig = Shapes::StructureShape.new(name: 'FunctionUrlConfig')
|
123
|
+
FunctionUrlConfigList = Shapes::ListShape.new(name: 'FunctionUrlConfigList')
|
124
|
+
FunctionUrlQualifier = Shapes::StringShape.new(name: 'FunctionUrlQualifier')
|
112
125
|
FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
|
113
126
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
114
127
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
@@ -124,6 +137,8 @@ module Aws::Lambda
|
|
124
137
|
GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
|
125
138
|
GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
|
126
139
|
GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
|
140
|
+
GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
|
141
|
+
GetFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigResponse')
|
127
142
|
GetLayerVersionByArnRequest = Shapes::StructureShape.new(name: 'GetLayerVersionByArnRequest')
|
128
143
|
GetLayerVersionPolicyRequest = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyRequest')
|
129
144
|
GetLayerVersionPolicyResponse = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyResponse')
|
@@ -134,6 +149,8 @@ module Aws::Lambda
|
|
134
149
|
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
|
135
150
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
136
151
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
152
|
+
Header = Shapes::StringShape.new(name: 'Header')
|
153
|
+
HeadersList = Shapes::ListShape.new(name: 'HeadersList')
|
137
154
|
HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
|
138
155
|
ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
|
139
156
|
ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
|
@@ -183,6 +200,8 @@ module Aws::Lambda
|
|
183
200
|
ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
|
184
201
|
ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
|
185
202
|
ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
|
203
|
+
ListFunctionUrlConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsRequest')
|
204
|
+
ListFunctionUrlConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsResponse')
|
186
205
|
ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
|
187
206
|
ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
|
188
207
|
ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
|
@@ -201,7 +220,9 @@ module Aws::Lambda
|
|
201
220
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
202
221
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
203
222
|
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
223
|
+
MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
|
204
224
|
MaxFunctionEventInvokeConfigListItems = Shapes::IntegerShape.new(name: 'MaxFunctionEventInvokeConfigListItems')
|
225
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
205
226
|
MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
|
206
227
|
MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
|
207
228
|
MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
|
@@ -211,6 +232,7 @@ module Aws::Lambda
|
|
211
232
|
MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
|
212
233
|
MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
|
213
234
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
235
|
+
Method = Shapes::StringShape.new(name: 'Method')
|
214
236
|
NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
|
215
237
|
NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
|
216
238
|
NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
|
@@ -218,6 +240,7 @@ module Aws::Lambda
|
|
218
240
|
OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
|
219
241
|
OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
|
220
242
|
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
243
|
+
Origin = Shapes::StringShape.new(name: 'Origin')
|
221
244
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
222
245
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
223
246
|
Pattern = Shapes::StringShape.new(name: 'Pattern')
|
@@ -259,6 +282,7 @@ module Aws::Lambda
|
|
259
282
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
260
283
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
261
284
|
SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
|
285
|
+
SelfManagedKafkaEventSourceConfig = Shapes::StructureShape.new(name: 'SelfManagedKafkaEventSourceConfig')
|
262
286
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
263
287
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
264
288
|
SigningProfileVersionArns = Shapes::ListShape.new(name: 'SigningProfileVersionArns')
|
@@ -301,6 +325,8 @@ module Aws::Lambda
|
|
301
325
|
UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
|
302
326
|
UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
|
303
327
|
UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
|
328
|
+
UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
|
329
|
+
UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
|
304
330
|
Version = Shapes::StringShape.new(name: 'Version')
|
305
331
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
306
332
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
@@ -342,6 +368,7 @@ module Aws::Lambda
|
|
342
368
|
AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
343
369
|
AddPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
344
370
|
AddPermissionRequest.add_member(:principal_org_id, Shapes::ShapeRef.new(shape: PrincipalOrgID, location_name: "PrincipalOrgID"))
|
371
|
+
AddPermissionRequest.add_member(:function_url_auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, location_name: "FunctionUrlAuthType"))
|
345
372
|
AddPermissionRequest.struct_class = Types::AddPermissionRequest
|
346
373
|
|
347
374
|
AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
|
@@ -363,9 +390,16 @@ module Aws::Lambda
|
|
363
390
|
AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
|
364
391
|
AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
|
365
392
|
|
393
|
+
AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
|
394
|
+
|
395
|
+
AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
|
396
|
+
|
366
397
|
AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
|
367
398
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
368
399
|
|
400
|
+
AmazonManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
|
401
|
+
AmazonManagedKafkaEventSourceConfig.struct_class = Types::AmazonManagedKafkaEventSourceConfig
|
402
|
+
|
369
403
|
ArchitecturesList.member = Shapes::ShapeRef.new(shape: Architecture)
|
370
404
|
|
371
405
|
CodeSigningConfig.add_member(:code_signing_config_id, Shapes::ShapeRef.new(shape: CodeSigningConfigId, required: true, location_name: "CodeSigningConfigId"))
|
@@ -400,6 +434,14 @@ module Aws::Lambda
|
|
400
434
|
Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
|
401
435
|
Concurrency.struct_class = Types::Concurrency
|
402
436
|
|
437
|
+
Cors.add_member(:allow_credentials, Shapes::ShapeRef.new(shape: AllowCredentials, location_name: "AllowCredentials"))
|
438
|
+
Cors.add_member(:allow_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "AllowHeaders"))
|
439
|
+
Cors.add_member(:allow_methods, Shapes::ShapeRef.new(shape: AllowMethodsList, location_name: "AllowMethods"))
|
440
|
+
Cors.add_member(:allow_origins, Shapes::ShapeRef.new(shape: AllowOriginsList, location_name: "AllowOrigins"))
|
441
|
+
Cors.add_member(:expose_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "ExposeHeaders"))
|
442
|
+
Cors.add_member(:max_age, Shapes::ShapeRef.new(shape: MaxAge, location_name: "MaxAge"))
|
443
|
+
Cors.struct_class = Types::Cors
|
444
|
+
|
403
445
|
CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
404
446
|
CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
|
405
447
|
CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
|
@@ -434,6 +476,8 @@ module Aws::Lambda
|
|
434
476
|
CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
435
477
|
CreateEventSourceMappingRequest.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
|
436
478
|
CreateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
479
|
+
CreateEventSourceMappingRequest.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
|
480
|
+
CreateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
437
481
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
438
482
|
|
439
483
|
CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
@@ -460,6 +504,19 @@ module Aws::Lambda
|
|
460
504
|
CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
461
505
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
462
506
|
|
507
|
+
CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
508
|
+
CreateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
509
|
+
CreateFunctionUrlConfigRequest.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
510
|
+
CreateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
511
|
+
CreateFunctionUrlConfigRequest.struct_class = Types::CreateFunctionUrlConfigRequest
|
512
|
+
|
513
|
+
CreateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
514
|
+
CreateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
515
|
+
CreateFunctionUrlConfigResponse.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
516
|
+
CreateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
517
|
+
CreateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
518
|
+
CreateFunctionUrlConfigResponse.struct_class = Types::CreateFunctionUrlConfigResponse
|
519
|
+
|
463
520
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
464
521
|
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
465
522
|
|
@@ -489,6 +546,10 @@ module Aws::Lambda
|
|
489
546
|
DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
490
547
|
DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
|
491
548
|
|
549
|
+
DeleteFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
550
|
+
DeleteFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
551
|
+
DeleteFunctionUrlConfigRequest.struct_class = Types::DeleteFunctionUrlConfigRequest
|
552
|
+
|
492
553
|
DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
493
554
|
DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
|
494
555
|
DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
|
@@ -579,6 +640,8 @@ module Aws::Lambda
|
|
579
640
|
EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
580
641
|
EventSourceMappingConfiguration.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
581
642
|
EventSourceMappingConfiguration.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
643
|
+
EventSourceMappingConfiguration.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
|
644
|
+
EventSourceMappingConfiguration.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
582
645
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
583
646
|
|
584
647
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
@@ -660,6 +723,16 @@ module Aws::Lambda
|
|
660
723
|
|
661
724
|
FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
|
662
725
|
|
726
|
+
FunctionUrlConfig.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
727
|
+
FunctionUrlConfig.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
728
|
+
FunctionUrlConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
729
|
+
FunctionUrlConfig.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
730
|
+
FunctionUrlConfig.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
731
|
+
FunctionUrlConfig.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
732
|
+
FunctionUrlConfig.struct_class = Types::FunctionUrlConfig
|
733
|
+
|
734
|
+
FunctionUrlConfigList.member = Shapes::ShapeRef.new(shape: FunctionUrlConfig)
|
735
|
+
|
663
736
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
664
737
|
|
665
738
|
GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
|
@@ -710,6 +783,18 @@ module Aws::Lambda
|
|
710
783
|
GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
|
711
784
|
GetFunctionResponse.struct_class = Types::GetFunctionResponse
|
712
785
|
|
786
|
+
GetFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
787
|
+
GetFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
788
|
+
GetFunctionUrlConfigRequest.struct_class = Types::GetFunctionUrlConfigRequest
|
789
|
+
|
790
|
+
GetFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
791
|
+
GetFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
792
|
+
GetFunctionUrlConfigResponse.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
793
|
+
GetFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
794
|
+
GetFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
795
|
+
GetFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
796
|
+
GetFunctionUrlConfigResponse.struct_class = Types::GetFunctionUrlConfigResponse
|
797
|
+
|
713
798
|
GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
|
714
799
|
GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
|
715
800
|
|
@@ -756,6 +841,8 @@ module Aws::Lambda
|
|
756
841
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
757
842
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
758
843
|
|
844
|
+
HeadersList.member = Shapes::ShapeRef.new(shape: Header)
|
845
|
+
|
759
846
|
ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
|
760
847
|
ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
|
761
848
|
ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
|
@@ -919,6 +1006,15 @@ module Aws::Lambda
|
|
919
1006
|
ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
920
1007
|
ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
|
921
1008
|
|
1009
|
+
ListFunctionUrlConfigsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1010
|
+
ListFunctionUrlConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
1011
|
+
ListFunctionUrlConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
1012
|
+
ListFunctionUrlConfigsRequest.struct_class = Types::ListFunctionUrlConfigsRequest
|
1013
|
+
|
1014
|
+
ListFunctionUrlConfigsResponse.add_member(:function_url_configs, Shapes::ShapeRef.new(shape: FunctionUrlConfigList, required: true, location_name: "FunctionUrlConfigs"))
|
1015
|
+
ListFunctionUrlConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
1016
|
+
ListFunctionUrlConfigsResponse.struct_class = Types::ListFunctionUrlConfigsResponse
|
1017
|
+
|
922
1018
|
ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
|
923
1019
|
ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
924
1020
|
ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
|
@@ -1108,6 +1204,9 @@ module Aws::Lambda
|
|
1108
1204
|
SelfManagedEventSource.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
|
1109
1205
|
SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
|
1110
1206
|
|
1207
|
+
SelfManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
|
1208
|
+
SelfManagedKafkaEventSourceConfig.struct_class = Types::SelfManagedKafkaEventSourceConfig
|
1209
|
+
|
1111
1210
|
ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
1112
1211
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1113
1212
|
ServiceException.struct_class = Types::ServiceException
|
@@ -1230,6 +1329,20 @@ module Aws::Lambda
|
|
1230
1329
|
UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
1231
1330
|
UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
|
1232
1331
|
|
1332
|
+
UpdateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1333
|
+
UpdateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
1334
|
+
UpdateFunctionUrlConfigRequest.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, location_name: "AuthType"))
|
1335
|
+
UpdateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
1336
|
+
UpdateFunctionUrlConfigRequest.struct_class = Types::UpdateFunctionUrlConfigRequest
|
1337
|
+
|
1338
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
1339
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
1340
|
+
UpdateFunctionUrlConfigResponse.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
1341
|
+
UpdateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
1342
|
+
UpdateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
1343
|
+
UpdateFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
1344
|
+
UpdateFunctionUrlConfigResponse.struct_class = Types::UpdateFunctionUrlConfigResponse
|
1345
|
+
|
1233
1346
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
1234
1347
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
|
1235
1348
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -1338,6 +1451,19 @@ module Aws::Lambda
|
|
1338
1451
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
1339
1452
|
end)
|
1340
1453
|
|
1454
|
+
api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1455
|
+
o.name = "CreateFunctionUrlConfig"
|
1456
|
+
o.http_method = "POST"
|
1457
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1458
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
|
1459
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
|
1460
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1465
|
+
end)
|
1466
|
+
|
1341
1467
|
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
1342
1468
|
o.name = "DeleteAlias"
|
1343
1469
|
o.http_method = "DELETE"
|
@@ -1428,6 +1554,18 @@ module Aws::Lambda
|
|
1428
1554
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1429
1555
|
end)
|
1430
1556
|
|
1557
|
+
api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1558
|
+
o.name = "DeleteFunctionUrlConfig"
|
1559
|
+
o.http_method = "DELETE"
|
1560
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1561
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
|
1562
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1564
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1566
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1567
|
+
end)
|
1568
|
+
|
1431
1569
|
api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
1432
1570
|
o.name = "DeleteLayerVersion"
|
1433
1571
|
o.http_method = "DELETE"
|
@@ -1556,6 +1694,18 @@ module Aws::Lambda
|
|
1556
1694
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1557
1695
|
end)
|
1558
1696
|
|
1697
|
+
api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1698
|
+
o.name = "GetFunctionUrlConfig"
|
1699
|
+
o.http_method = "GET"
|
1700
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1701
|
+
o.input = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigRequest)
|
1702
|
+
o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
|
1703
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1704
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1705
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1706
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1707
|
+
end)
|
1708
|
+
|
1559
1709
|
api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
1560
1710
|
o.name = "GetLayerVersion"
|
1561
1711
|
o.http_method = "GET"
|
@@ -1735,6 +1885,24 @@ module Aws::Lambda
|
|
1735
1885
|
)
|
1736
1886
|
end)
|
1737
1887
|
|
1888
|
+
api.add_operation(:list_function_url_configs, Seahorse::Model::Operation.new.tap do |o|
|
1889
|
+
o.name = "ListFunctionUrlConfigs"
|
1890
|
+
o.http_method = "GET"
|
1891
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/urls"
|
1892
|
+
o.input = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsRequest)
|
1893
|
+
o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
|
1894
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1895
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1896
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1897
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1898
|
+
o[:pager] = Aws::Pager.new(
|
1899
|
+
limit_key: "max_items",
|
1900
|
+
tokens: {
|
1901
|
+
"next_marker" => "marker"
|
1902
|
+
}
|
1903
|
+
)
|
1904
|
+
end)
|
1905
|
+
|
1738
1906
|
api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
|
1739
1907
|
o.name = "ListFunctions"
|
1740
1908
|
o.http_method = "GET"
|
@@ -2071,6 +2239,19 @@ module Aws::Lambda
|
|
2071
2239
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2072
2240
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2073
2241
|
end)
|
2242
|
+
|
2243
|
+
api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
2244
|
+
o.name = "UpdateFunctionUrlConfig"
|
2245
|
+
o.http_method = "PUT"
|
2246
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
2247
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
|
2248
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
|
2249
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2250
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2251
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2252
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2253
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2254
|
+
end)
|
2074
2255
|
end
|
2075
2256
|
|
2076
2257
|
end
|