aws-sdk-lambda 1.80.0 → 1.83.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 +416 -14
- data/lib/aws-sdk-lambda/client_api.rb +179 -0
- data/lib/aws-sdk-lambda/types.rb +650 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
@@ -26,6 +26,9 @@ 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')
|
@@ -47,11 +50,14 @@ module Aws::Lambda
|
|
47
50
|
CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
|
48
51
|
CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
|
49
52
|
Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
|
53
|
+
Cors = Shapes::StructureShape.new(name: 'Cors')
|
50
54
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
51
55
|
CreateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigRequest')
|
52
56
|
CreateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigResponse')
|
53
57
|
CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
|
54
58
|
CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
|
59
|
+
CreateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigRequest')
|
60
|
+
CreateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigResponse')
|
55
61
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
56
62
|
DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
|
57
63
|
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
@@ -62,6 +68,7 @@ module Aws::Lambda
|
|
62
68
|
DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
|
63
69
|
DeleteFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionEventInvokeConfigRequest')
|
64
70
|
DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
|
71
|
+
DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
|
65
72
|
DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
|
66
73
|
DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
|
67
74
|
Description = Shapes::StringShape.new(name: 'Description')
|
@@ -86,6 +93,8 @@ module Aws::Lambda
|
|
86
93
|
EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
|
87
94
|
EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
|
88
95
|
EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
|
96
|
+
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
|
97
|
+
EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
|
89
98
|
EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
|
90
99
|
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
|
91
100
|
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
|
@@ -107,6 +116,11 @@ module Aws::Lambda
|
|
107
116
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
108
117
|
FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
|
109
118
|
FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
|
119
|
+
FunctionUrl = Shapes::StringShape.new(name: 'FunctionUrl')
|
120
|
+
FunctionUrlAuthType = Shapes::StringShape.new(name: 'FunctionUrlAuthType')
|
121
|
+
FunctionUrlConfig = Shapes::StructureShape.new(name: 'FunctionUrlConfig')
|
122
|
+
FunctionUrlConfigList = Shapes::ListShape.new(name: 'FunctionUrlConfigList')
|
123
|
+
FunctionUrlQualifier = Shapes::StringShape.new(name: 'FunctionUrlQualifier')
|
110
124
|
FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
|
111
125
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
112
126
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
@@ -122,6 +136,8 @@ module Aws::Lambda
|
|
122
136
|
GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
|
123
137
|
GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
|
124
138
|
GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
|
139
|
+
GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
|
140
|
+
GetFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigResponse')
|
125
141
|
GetLayerVersionByArnRequest = Shapes::StructureShape.new(name: 'GetLayerVersionByArnRequest')
|
126
142
|
GetLayerVersionPolicyRequest = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyRequest')
|
127
143
|
GetLayerVersionPolicyResponse = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyResponse')
|
@@ -132,6 +148,8 @@ module Aws::Lambda
|
|
132
148
|
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
|
133
149
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
134
150
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
151
|
+
Header = Shapes::StringShape.new(name: 'Header')
|
152
|
+
HeadersList = Shapes::ListShape.new(name: 'HeadersList')
|
135
153
|
HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
|
136
154
|
ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
|
137
155
|
ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
|
@@ -181,6 +199,8 @@ module Aws::Lambda
|
|
181
199
|
ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
|
182
200
|
ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
|
183
201
|
ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
|
202
|
+
ListFunctionUrlConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsRequest')
|
203
|
+
ListFunctionUrlConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsResponse')
|
184
204
|
ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
|
185
205
|
ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
|
186
206
|
ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
|
@@ -199,7 +219,9 @@ module Aws::Lambda
|
|
199
219
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
200
220
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
201
221
|
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
222
|
+
MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
|
202
223
|
MaxFunctionEventInvokeConfigListItems = Shapes::IntegerShape.new(name: 'MaxFunctionEventInvokeConfigListItems')
|
224
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
203
225
|
MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
|
204
226
|
MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
|
205
227
|
MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
|
@@ -209,6 +231,7 @@ module Aws::Lambda
|
|
209
231
|
MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
|
210
232
|
MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
|
211
233
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
234
|
+
Method = Shapes::StringShape.new(name: 'Method')
|
212
235
|
NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
|
213
236
|
NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
|
214
237
|
NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
|
@@ -216,6 +239,7 @@ module Aws::Lambda
|
|
216
239
|
OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
|
217
240
|
OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
|
218
241
|
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
242
|
+
Origin = Shapes::StringShape.new(name: 'Origin')
|
219
243
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
220
244
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
221
245
|
Pattern = Shapes::StringShape.new(name: 'Pattern')
|
@@ -223,6 +247,7 @@ module Aws::Lambda
|
|
223
247
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
224
248
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
225
249
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
250
|
+
PrincipalOrgID = Shapes::StringShape.new(name: 'PrincipalOrgID')
|
226
251
|
ProvisionedConcurrencyConfigList = Shapes::ListShape.new(name: 'ProvisionedConcurrencyConfigList')
|
227
252
|
ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
|
228
253
|
ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
|
@@ -298,6 +323,8 @@ module Aws::Lambda
|
|
298
323
|
UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
|
299
324
|
UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
|
300
325
|
UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
|
326
|
+
UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
|
327
|
+
UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
|
301
328
|
Version = Shapes::StringShape.new(name: 'Version')
|
302
329
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
303
330
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
@@ -338,6 +365,8 @@ module Aws::Lambda
|
|
338
365
|
AddPermissionRequest.add_member(:event_source_token, Shapes::ShapeRef.new(shape: EventSourceToken, location_name: "EventSourceToken"))
|
339
366
|
AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
340
367
|
AddPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
368
|
+
AddPermissionRequest.add_member(:principal_org_id, Shapes::ShapeRef.new(shape: PrincipalOrgID, location_name: "PrincipalOrgID"))
|
369
|
+
AddPermissionRequest.add_member(:function_url_auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, location_name: "FunctionUrlAuthType"))
|
341
370
|
AddPermissionRequest.struct_class = Types::AddPermissionRequest
|
342
371
|
|
343
372
|
AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
|
@@ -359,6 +388,10 @@ module Aws::Lambda
|
|
359
388
|
AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
|
360
389
|
AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
|
361
390
|
|
391
|
+
AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
|
392
|
+
|
393
|
+
AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
|
394
|
+
|
362
395
|
AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
|
363
396
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
364
397
|
|
@@ -396,6 +429,14 @@ module Aws::Lambda
|
|
396
429
|
Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
|
397
430
|
Concurrency.struct_class = Types::Concurrency
|
398
431
|
|
432
|
+
Cors.add_member(:allow_credentials, Shapes::ShapeRef.new(shape: AllowCredentials, location_name: "AllowCredentials"))
|
433
|
+
Cors.add_member(:allow_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "AllowHeaders"))
|
434
|
+
Cors.add_member(:allow_methods, Shapes::ShapeRef.new(shape: AllowMethodsList, location_name: "AllowMethods"))
|
435
|
+
Cors.add_member(:allow_origins, Shapes::ShapeRef.new(shape: AllowOriginsList, location_name: "AllowOrigins"))
|
436
|
+
Cors.add_member(:expose_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "ExposeHeaders"))
|
437
|
+
Cors.add_member(:max_age, Shapes::ShapeRef.new(shape: MaxAge, location_name: "MaxAge"))
|
438
|
+
Cors.struct_class = Types::Cors
|
439
|
+
|
399
440
|
CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
400
441
|
CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
|
401
442
|
CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
|
@@ -453,8 +494,22 @@ module Aws::Lambda
|
|
453
494
|
CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
454
495
|
CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
|
455
496
|
CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
497
|
+
CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
456
498
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
457
499
|
|
500
|
+
CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
501
|
+
CreateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
502
|
+
CreateFunctionUrlConfigRequest.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
503
|
+
CreateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
504
|
+
CreateFunctionUrlConfigRequest.struct_class = Types::CreateFunctionUrlConfigRequest
|
505
|
+
|
506
|
+
CreateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
507
|
+
CreateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
508
|
+
CreateFunctionUrlConfigResponse.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
509
|
+
CreateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
510
|
+
CreateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
511
|
+
CreateFunctionUrlConfigResponse.struct_class = Types::CreateFunctionUrlConfigResponse
|
512
|
+
|
458
513
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
459
514
|
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
460
515
|
|
@@ -484,6 +539,10 @@ module Aws::Lambda
|
|
484
539
|
DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
485
540
|
DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
|
486
541
|
|
542
|
+
DeleteFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
543
|
+
DeleteFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
544
|
+
DeleteFunctionUrlConfigRequest.struct_class = Types::DeleteFunctionUrlConfigRequest
|
545
|
+
|
487
546
|
DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
488
547
|
DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
|
489
548
|
DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
|
@@ -548,6 +607,9 @@ module Aws::Lambda
|
|
548
607
|
EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
|
549
608
|
EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
|
550
609
|
|
610
|
+
EphemeralStorage.add_member(:size, Shapes::ShapeRef.new(shape: EphemeralStorageSize, required: true, location_name: "Size"))
|
611
|
+
EphemeralStorage.struct_class = Types::EphemeralStorage
|
612
|
+
|
551
613
|
EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
|
552
614
|
EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
553
615
|
EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
|
@@ -636,6 +698,7 @@ module Aws::Lambda
|
|
636
698
|
FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
|
637
699
|
FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
|
638
700
|
FunctionConfiguration.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
701
|
+
FunctionConfiguration.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
639
702
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
640
703
|
|
641
704
|
FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
@@ -651,6 +714,16 @@ module Aws::Lambda
|
|
651
714
|
|
652
715
|
FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
|
653
716
|
|
717
|
+
FunctionUrlConfig.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
718
|
+
FunctionUrlConfig.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
719
|
+
FunctionUrlConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
720
|
+
FunctionUrlConfig.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
721
|
+
FunctionUrlConfig.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
722
|
+
FunctionUrlConfig.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
723
|
+
FunctionUrlConfig.struct_class = Types::FunctionUrlConfig
|
724
|
+
|
725
|
+
FunctionUrlConfigList.member = Shapes::ShapeRef.new(shape: FunctionUrlConfig)
|
726
|
+
|
654
727
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
655
728
|
|
656
729
|
GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
|
@@ -701,6 +774,18 @@ module Aws::Lambda
|
|
701
774
|
GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
|
702
775
|
GetFunctionResponse.struct_class = Types::GetFunctionResponse
|
703
776
|
|
777
|
+
GetFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
778
|
+
GetFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
779
|
+
GetFunctionUrlConfigRequest.struct_class = Types::GetFunctionUrlConfigRequest
|
780
|
+
|
781
|
+
GetFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
782
|
+
GetFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
783
|
+
GetFunctionUrlConfigResponse.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
784
|
+
GetFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
785
|
+
GetFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
786
|
+
GetFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
787
|
+
GetFunctionUrlConfigResponse.struct_class = Types::GetFunctionUrlConfigResponse
|
788
|
+
|
704
789
|
GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
|
705
790
|
GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
|
706
791
|
|
@@ -747,6 +832,8 @@ module Aws::Lambda
|
|
747
832
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
748
833
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
749
834
|
|
835
|
+
HeadersList.member = Shapes::ShapeRef.new(shape: Header)
|
836
|
+
|
750
837
|
ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
|
751
838
|
ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
|
752
839
|
ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
|
@@ -910,6 +997,15 @@ module Aws::Lambda
|
|
910
997
|
ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
911
998
|
ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
|
912
999
|
|
1000
|
+
ListFunctionUrlConfigsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1001
|
+
ListFunctionUrlConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
1002
|
+
ListFunctionUrlConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
1003
|
+
ListFunctionUrlConfigsRequest.struct_class = Types::ListFunctionUrlConfigsRequest
|
1004
|
+
|
1005
|
+
ListFunctionUrlConfigsResponse.add_member(:function_url_configs, Shapes::ShapeRef.new(shape: FunctionUrlConfigList, required: true, location_name: "FunctionUrlConfigs"))
|
1006
|
+
ListFunctionUrlConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
1007
|
+
ListFunctionUrlConfigsResponse.struct_class = Types::ListFunctionUrlConfigsResponse
|
1008
|
+
|
913
1009
|
ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
|
914
1010
|
ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
915
1011
|
ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
|
@@ -1211,6 +1307,7 @@ module Aws::Lambda
|
|
1211
1307
|
UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
|
1212
1308
|
UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
1213
1309
|
UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
1310
|
+
UpdateFunctionConfigurationRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
1214
1311
|
UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
|
1215
1312
|
|
1216
1313
|
UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -1220,6 +1317,20 @@ module Aws::Lambda
|
|
1220
1317
|
UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
1221
1318
|
UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
|
1222
1319
|
|
1320
|
+
UpdateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1321
|
+
UpdateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
|
1322
|
+
UpdateFunctionUrlConfigRequest.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, location_name: "AuthType"))
|
1323
|
+
UpdateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
1324
|
+
UpdateFunctionUrlConfigRequest.struct_class = Types::UpdateFunctionUrlConfigRequest
|
1325
|
+
|
1326
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
|
1327
|
+
UpdateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
|
1328
|
+
UpdateFunctionUrlConfigResponse.add_member(:auth_type, Shapes::ShapeRef.new(shape: FunctionUrlAuthType, required: true, location_name: "AuthType"))
|
1329
|
+
UpdateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
|
1330
|
+
UpdateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
1331
|
+
UpdateFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
1332
|
+
UpdateFunctionUrlConfigResponse.struct_class = Types::UpdateFunctionUrlConfigResponse
|
1333
|
+
|
1223
1334
|
VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
1224
1335
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
|
1225
1336
|
VpcConfig.struct_class = Types::VpcConfig
|
@@ -1328,6 +1439,19 @@ module Aws::Lambda
|
|
1328
1439
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
1329
1440
|
end)
|
1330
1441
|
|
1442
|
+
api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1443
|
+
o.name = "CreateFunctionUrlConfig"
|
1444
|
+
o.http_method = "POST"
|
1445
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1446
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
|
1447
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
|
1448
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1449
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1451
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1452
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1453
|
+
end)
|
1454
|
+
|
1331
1455
|
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
1332
1456
|
o.name = "DeleteAlias"
|
1333
1457
|
o.http_method = "DELETE"
|
@@ -1418,6 +1542,18 @@ module Aws::Lambda
|
|
1418
1542
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1419
1543
|
end)
|
1420
1544
|
|
1545
|
+
api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1546
|
+
o.name = "DeleteFunctionUrlConfig"
|
1547
|
+
o.http_method = "DELETE"
|
1548
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1549
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
|
1550
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1552
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1553
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1554
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1555
|
+
end)
|
1556
|
+
|
1421
1557
|
api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
1422
1558
|
o.name = "DeleteLayerVersion"
|
1423
1559
|
o.http_method = "DELETE"
|
@@ -1546,6 +1682,18 @@ module Aws::Lambda
|
|
1546
1682
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1547
1683
|
end)
|
1548
1684
|
|
1685
|
+
api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1686
|
+
o.name = "GetFunctionUrlConfig"
|
1687
|
+
o.http_method = "GET"
|
1688
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1689
|
+
o.input = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigRequest)
|
1690
|
+
o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
|
1691
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1693
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1694
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1695
|
+
end)
|
1696
|
+
|
1549
1697
|
api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
1550
1698
|
o.name = "GetLayerVersion"
|
1551
1699
|
o.http_method = "GET"
|
@@ -1725,6 +1873,24 @@ module Aws::Lambda
|
|
1725
1873
|
)
|
1726
1874
|
end)
|
1727
1875
|
|
1876
|
+
api.add_operation(:list_function_url_configs, Seahorse::Model::Operation.new.tap do |o|
|
1877
|
+
o.name = "ListFunctionUrlConfigs"
|
1878
|
+
o.http_method = "GET"
|
1879
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/urls"
|
1880
|
+
o.input = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsRequest)
|
1881
|
+
o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
|
1882
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1883
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1884
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1885
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1886
|
+
o[:pager] = Aws::Pager.new(
|
1887
|
+
limit_key: "max_items",
|
1888
|
+
tokens: {
|
1889
|
+
"next_marker" => "marker"
|
1890
|
+
}
|
1891
|
+
)
|
1892
|
+
end)
|
1893
|
+
|
1728
1894
|
api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
|
1729
1895
|
o.name = "ListFunctions"
|
1730
1896
|
o.http_method = "GET"
|
@@ -2061,6 +2227,19 @@ module Aws::Lambda
|
|
2061
2227
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2062
2228
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2063
2229
|
end)
|
2230
|
+
|
2231
|
+
api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
2232
|
+
o.name = "UpdateFunctionUrlConfig"
|
2233
|
+
o.http_method = "PUT"
|
2234
|
+
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
2235
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
|
2236
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
|
2237
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2238
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2239
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2240
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2241
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2242
|
+
end)
|
2064
2243
|
end
|
2065
2244
|
|
2066
2245
|
end
|