aws-sdk-lambda 1.69.0 → 1.73.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +336 -23
- data/lib/aws-sdk-lambda/client_api.rb +168 -0
- data/lib/aws-sdk-lambda/types.rb +345 -13
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +4 -4
@@ -26,10 +26,14 @@ 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')
|
30
33
|
Architecture = Shapes::StringShape.new(name: 'Architecture')
|
31
34
|
ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
|
32
35
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
36
|
+
AuthorizationType = Shapes::StringShape.new(name: 'AuthorizationType')
|
33
37
|
BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
|
34
38
|
BisectBatchOnFunctionError = Shapes::BooleanShape.new(name: 'BisectBatchOnFunctionError')
|
35
39
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
@@ -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')
|
@@ -104,6 +112,10 @@ module Aws::Lambda
|
|
104
112
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
105
113
|
FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
|
106
114
|
FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
|
115
|
+
FunctionUrl = Shapes::StringShape.new(name: 'FunctionUrl')
|
116
|
+
FunctionUrlConfig = Shapes::StructureShape.new(name: 'FunctionUrlConfig')
|
117
|
+
FunctionUrlConfigList = Shapes::ListShape.new(name: 'FunctionUrlConfigList')
|
118
|
+
FunctionUrlQualifier = Shapes::StringShape.new(name: 'FunctionUrlQualifier')
|
107
119
|
FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
|
108
120
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
109
121
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
@@ -119,6 +131,8 @@ module Aws::Lambda
|
|
119
131
|
GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
|
120
132
|
GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
|
121
133
|
GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
|
134
|
+
GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
|
135
|
+
GetFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigResponse')
|
122
136
|
GetLayerVersionByArnRequest = Shapes::StructureShape.new(name: 'GetLayerVersionByArnRequest')
|
123
137
|
GetLayerVersionPolicyRequest = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyRequest')
|
124
138
|
GetLayerVersionPolicyResponse = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyResponse')
|
@@ -129,6 +143,8 @@ module Aws::Lambda
|
|
129
143
|
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
|
130
144
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
131
145
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
146
|
+
Header = Shapes::StringShape.new(name: 'Header')
|
147
|
+
HeadersList = Shapes::ListShape.new(name: 'HeadersList')
|
132
148
|
HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
|
133
149
|
ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
|
134
150
|
ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
|
@@ -178,6 +194,8 @@ module Aws::Lambda
|
|
178
194
|
ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
|
179
195
|
ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
|
180
196
|
ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
|
197
|
+
ListFunctionUrlConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsRequest')
|
198
|
+
ListFunctionUrlConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsResponse')
|
181
199
|
ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
|
182
200
|
ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
|
183
201
|
ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
|
@@ -196,7 +214,9 @@ module Aws::Lambda
|
|
196
214
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
197
215
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
198
216
|
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
217
|
+
MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
|
199
218
|
MaxFunctionEventInvokeConfigListItems = Shapes::IntegerShape.new(name: 'MaxFunctionEventInvokeConfigListItems')
|
219
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
200
220
|
MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
|
201
221
|
MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
|
202
222
|
MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
|
@@ -206,6 +226,7 @@ module Aws::Lambda
|
|
206
226
|
MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
|
207
227
|
MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
|
208
228
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
229
|
+
Method = Shapes::StringShape.new(name: 'Method')
|
209
230
|
NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
|
210
231
|
NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
|
211
232
|
NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
|
@@ -213,6 +234,7 @@ module Aws::Lambda
|
|
213
234
|
OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
|
214
235
|
OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
|
215
236
|
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
237
|
+
Origin = Shapes::StringShape.new(name: 'Origin')
|
216
238
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
217
239
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
218
240
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
@@ -294,6 +316,8 @@ module Aws::Lambda
|
|
294
316
|
UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
|
295
317
|
UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
|
296
318
|
UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
|
319
|
+
UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
|
320
|
+
UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
|
297
321
|
Version = Shapes::StringShape.new(name: 'Version')
|
298
322
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
299
323
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
@@ -355,6 +379,10 @@ module Aws::Lambda
|
|
355
379
|
AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
|
356
380
|
AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
|
357
381
|
|
382
|
+
AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
|
383
|
+
|
384
|
+
AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
|
385
|
+
|
358
386
|
AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
|
359
387
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
360
388
|
|
@@ -392,6 +420,14 @@ module Aws::Lambda
|
|
392
420
|
Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
|
393
421
|
Concurrency.struct_class = Types::Concurrency
|
394
422
|
|
423
|
+
Cors.add_member(:allow_credentials, Shapes::ShapeRef.new(shape: AllowCredentials, location_name: "AllowCredentials"))
|
424
|
+
Cors.add_member(:allow_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "AllowHeaders"))
|
425
|
+
Cors.add_member(:allow_methods, Shapes::ShapeRef.new(shape: AllowMethodsList, location_name: "AllowMethods"))
|
426
|
+
Cors.add_member(:allow_origins, Shapes::ShapeRef.new(shape: AllowOriginsList, location_name: "AllowOrigins"))
|
427
|
+
Cors.add_member(:expose_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "ExposeHeaders"))
|
428
|
+
Cors.add_member(:max_age, Shapes::ShapeRef.new(shape: MaxAge, location_name: "MaxAge"))
|
429
|
+
Cors.struct_class = Types::Cors
|
430
|
+
|
395
431
|
CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
396
432
|
CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
|
397
433
|
CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
|
@@ -450,6 +486,19 @@ module Aws::Lambda
|
|
450
486
|
CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
451
487
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
452
488
|
|
489
|
+
CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
490
|
+
CreateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
491
|
+
CreateFunctionUrlConfigRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
492
|
+
CreateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
493
|
+
CreateFunctionUrlConfigRequest.struct_class = Types::CreateFunctionUrlConfigRequest
|
494
|
+
|
495
|
+
CreateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
496
|
+
CreateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
497
|
+
CreateFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
498
|
+
CreateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
499
|
+
CreateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
500
|
+
CreateFunctionUrlConfigResponse.struct_class = Types::CreateFunctionUrlConfigResponse
|
501
|
+
|
453
502
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
454
503
|
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
455
504
|
|
@@ -479,6 +528,10 @@ module Aws::Lambda
|
|
479
528
|
DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
480
529
|
DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
|
481
530
|
|
531
|
+
DeleteFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
532
|
+
DeleteFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
533
|
+
DeleteFunctionUrlConfigRequest.struct_class = Types::DeleteFunctionUrlConfigRequest
|
534
|
+
|
482
535
|
DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
483
536
|
DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
|
484
537
|
DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
|
@@ -637,6 +690,16 @@ module Aws::Lambda
|
|
637
690
|
|
638
691
|
FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
|
639
692
|
|
693
|
+
FunctionUrlConfig.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
694
|
+
FunctionUrlConfig.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
695
|
+
FunctionUrlConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
696
|
+
FunctionUrlConfig.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
697
|
+
FunctionUrlConfig.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
698
|
+
FunctionUrlConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
699
|
+
FunctionUrlConfig.struct_class = Types::FunctionUrlConfig
|
700
|
+
|
701
|
+
FunctionUrlConfigList.member = Shapes::ShapeRef.new(shape: FunctionUrlConfig)
|
702
|
+
|
640
703
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
641
704
|
|
642
705
|
GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
|
@@ -687,6 +750,18 @@ module Aws::Lambda
|
|
687
750
|
GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
|
688
751
|
GetFunctionResponse.struct_class = Types::GetFunctionResponse
|
689
752
|
|
753
|
+
GetFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
754
|
+
GetFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
755
|
+
GetFunctionUrlConfigRequest.struct_class = Types::GetFunctionUrlConfigRequest
|
756
|
+
|
757
|
+
GetFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
758
|
+
GetFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
759
|
+
GetFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
760
|
+
GetFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
761
|
+
GetFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
762
|
+
GetFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
763
|
+
GetFunctionUrlConfigResponse.struct_class = Types::GetFunctionUrlConfigResponse
|
764
|
+
|
690
765
|
GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
|
691
766
|
GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
|
692
767
|
|
@@ -733,6 +808,8 @@ module Aws::Lambda
|
|
733
808
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
734
809
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
735
810
|
|
811
|
+
HeadersList.member = Shapes::ShapeRef.new(shape: Header)
|
812
|
+
|
736
813
|
ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
|
737
814
|
ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
|
738
815
|
ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
|
@@ -896,6 +973,15 @@ module Aws::Lambda
|
|
896
973
|
ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
897
974
|
ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
|
898
975
|
|
976
|
+
ListFunctionUrlConfigsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
977
|
+
ListFunctionUrlConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
978
|
+
ListFunctionUrlConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
979
|
+
ListFunctionUrlConfigsRequest.struct_class = Types::ListFunctionUrlConfigsRequest
|
980
|
+
|
981
|
+
ListFunctionUrlConfigsResponse.add_member(:function_url_configs, Shapes::ShapeRef.new(shape: FunctionUrlConfigList, required: true, location_name: "FunctionUrlConfigs"))
|
982
|
+
ListFunctionUrlConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
983
|
+
ListFunctionUrlConfigsResponse.struct_class = Types::ListFunctionUrlConfigsResponse
|
984
|
+
|
899
985
|
ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
|
900
986
|
ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
901
987
|
ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
|
@@ -1205,6 +1291,20 @@ module Aws::Lambda
|
|
1205
1291
|
UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
1206
1292
|
UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
|
1207
1293
|
|
1294
|
+
UpdateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1295
|
+
UpdateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
1296
|
+
UpdateFunctionUrlConfigRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, location_name: "AuthorizationType"))
|
1297
|
+
UpdateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
1298
|
+
UpdateFunctionUrlConfigRequest.struct_class = Types::UpdateFunctionUrlConfigRequest
|
1299
|
+
|
1300
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
1301
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
1302
|
+
UpdateFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
|
1303
|
+
UpdateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
1304
|
+
UpdateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
1305
|
+
UpdateFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
1306
|
+
UpdateFunctionUrlConfigResponse.struct_class = Types::UpdateFunctionUrlConfigResponse
|
1307
|
+
|
1208
1308
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
1209
1309
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
|
1210
1310
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -1313,6 +1413,19 @@ module Aws::Lambda
|
|
1313
1413
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
1314
1414
|
end)
|
1315
1415
|
|
1416
|
+
api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1417
|
+
o.name = "CreateFunctionUrlConfig"
|
1418
|
+
o.http_method = "POST"
|
1419
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1420
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
|
1421
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1424
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1426
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1427
|
+
end)
|
1428
|
+
|
1316
1429
|
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
1317
1430
|
o.name = "DeleteAlias"
|
1318
1431
|
o.http_method = "DELETE"
|
@@ -1403,6 +1516,18 @@ module Aws::Lambda
|
|
1403
1516
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1404
1517
|
end)
|
1405
1518
|
|
1519
|
+
api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1520
|
+
o.name = "DeleteFunctionUrlConfig"
|
1521
|
+
o.http_method = "DELETE"
|
1522
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1523
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
|
1524
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1528
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1529
|
+
end)
|
1530
|
+
|
1406
1531
|
api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
1407
1532
|
o.name = "DeleteLayerVersion"
|
1408
1533
|
o.http_method = "DELETE"
|
@@ -1531,6 +1656,18 @@ module Aws::Lambda
|
|
1531
1656
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1532
1657
|
end)
|
1533
1658
|
|
1659
|
+
api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1660
|
+
o.name = "GetFunctionUrlConfig"
|
1661
|
+
o.http_method = "GET"
|
1662
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1663
|
+
o.input = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigRequest)
|
1664
|
+
o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1667
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1669
|
+
end)
|
1670
|
+
|
1534
1671
|
api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
1535
1672
|
o.name = "GetLayerVersion"
|
1536
1673
|
o.http_method = "GET"
|
@@ -1710,6 +1847,24 @@ module Aws::Lambda
|
|
1710
1847
|
)
|
1711
1848
|
end)
|
1712
1849
|
|
1850
|
+
api.add_operation(:list_function_url_configs, Seahorse::Model::Operation.new.tap do |o|
|
1851
|
+
o.name = "ListFunctionUrlConfigs"
|
1852
|
+
o.http_method = "GET"
|
1853
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/urls"
|
1854
|
+
o.input = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsRequest)
|
1855
|
+
o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
|
1856
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1857
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1858
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1859
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1860
|
+
o[:pager] = Aws::Pager.new(
|
1861
|
+
limit_key: "max_items",
|
1862
|
+
tokens: {
|
1863
|
+
"next_marker" => "marker"
|
1864
|
+
}
|
1865
|
+
)
|
1866
|
+
end)
|
1867
|
+
|
1713
1868
|
api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
|
1714
1869
|
o.name = "ListFunctions"
|
1715
1870
|
o.http_method = "GET"
|
@@ -2046,6 +2201,19 @@ module Aws::Lambda
|
|
2046
2201
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2047
2202
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2048
2203
|
end)
|
2204
|
+
|
2205
|
+
api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
2206
|
+
o.name = "UpdateFunctionUrlConfig"
|
2207
|
+
o.http_method = "PUT"
|
2208
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
2209
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
|
2210
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
|
2211
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2212
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2213
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2214
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2215
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2216
|
+
end)
|
2049
2217
|
end
|
2050
2218
|
|
2051
2219
|
end
|