aws-sdk-lambda 1.82.0 → 1.83.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -109,6 +116,11 @@ module Aws::Lambda
109
116
  FunctionName = Shapes::StringShape.new(name: 'FunctionName')
110
117
  FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
111
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')
112
124
  FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
113
125
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
114
126
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
@@ -124,6 +136,8 @@ module Aws::Lambda
124
136
  GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
125
137
  GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
126
138
  GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
139
+ GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
140
+ GetFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigResponse')
127
141
  GetLayerVersionByArnRequest = Shapes::StructureShape.new(name: 'GetLayerVersionByArnRequest')
128
142
  GetLayerVersionPolicyRequest = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyRequest')
129
143
  GetLayerVersionPolicyResponse = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyResponse')
@@ -134,6 +148,8 @@ module Aws::Lambda
134
148
  GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
135
149
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
136
150
  Handler = Shapes::StringShape.new(name: 'Handler')
151
+ Header = Shapes::StringShape.new(name: 'Header')
152
+ HeadersList = Shapes::ListShape.new(name: 'HeadersList')
137
153
  HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
138
154
  ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
139
155
  ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
@@ -183,6 +199,8 @@ module Aws::Lambda
183
199
  ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
184
200
  ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
185
201
  ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
202
+ ListFunctionUrlConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsRequest')
203
+ ListFunctionUrlConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsResponse')
186
204
  ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
187
205
  ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
188
206
  ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
@@ -201,7 +219,9 @@ module Aws::Lambda
201
219
  LogType = Shapes::StringShape.new(name: 'LogType')
202
220
  Long = Shapes::IntegerShape.new(name: 'Long')
203
221
  MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
222
+ MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
204
223
  MaxFunctionEventInvokeConfigListItems = Shapes::IntegerShape.new(name: 'MaxFunctionEventInvokeConfigListItems')
224
+ MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
205
225
  MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
206
226
  MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
207
227
  MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
@@ -211,6 +231,7 @@ module Aws::Lambda
211
231
  MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
212
232
  MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
213
233
  MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
234
+ Method = Shapes::StringShape.new(name: 'Method')
214
235
  NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
215
236
  NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
216
237
  NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
@@ -218,6 +239,7 @@ module Aws::Lambda
218
239
  OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
219
240
  OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
220
241
  OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
242
+ Origin = Shapes::StringShape.new(name: 'Origin')
221
243
  PackageType = Shapes::StringShape.new(name: 'PackageType')
222
244
  ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
223
245
  Pattern = Shapes::StringShape.new(name: 'Pattern')
@@ -301,6 +323,8 @@ module Aws::Lambda
301
323
  UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
302
324
  UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
303
325
  UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
326
+ UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
327
+ UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
304
328
  Version = Shapes::StringShape.new(name: 'Version')
305
329
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
306
330
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
@@ -342,6 +366,7 @@ module Aws::Lambda
342
366
  AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
343
367
  AddPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
344
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"))
345
370
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
346
371
 
347
372
  AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
@@ -363,6 +388,10 @@ module Aws::Lambda
363
388
  AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
364
389
  AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
365
390
 
391
+ AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
392
+
393
+ AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
394
+
366
395
  AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
367
396
  AllowedPublishers.struct_class = Types::AllowedPublishers
368
397
 
@@ -400,6 +429,14 @@ module Aws::Lambda
400
429
  Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
401
430
  Concurrency.struct_class = Types::Concurrency
402
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
+
403
440
  CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
404
441
  CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
405
442
  CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
@@ -460,6 +497,19 @@ module Aws::Lambda
460
497
  CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
461
498
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
462
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
+
463
513
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
464
514
  DeadLetterConfig.struct_class = Types::DeadLetterConfig
465
515
 
@@ -489,6 +539,10 @@ module Aws::Lambda
489
539
  DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
490
540
  DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
491
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
+
492
546
  DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
493
547
  DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
494
548
  DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
@@ -660,6 +714,16 @@ module Aws::Lambda
660
714
 
661
715
  FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
662
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
+
663
727
  GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
664
728
 
665
729
  GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
@@ -710,6 +774,18 @@ module Aws::Lambda
710
774
  GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
711
775
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
712
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
+
713
789
  GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
714
790
  GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
715
791
 
@@ -756,6 +832,8 @@ module Aws::Lambda
756
832
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
757
833
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
758
834
 
835
+ HeadersList.member = Shapes::ShapeRef.new(shape: Header)
836
+
759
837
  ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
760
838
  ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
761
839
  ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
@@ -919,6 +997,15 @@ module Aws::Lambda
919
997
  ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
920
998
  ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
921
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
+
922
1009
  ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
923
1010
  ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
924
1011
  ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
@@ -1230,6 +1317,20 @@ module Aws::Lambda
1230
1317
  UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
1231
1318
  UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
1232
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
+
1233
1334
  VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
1234
1335
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
1235
1336
  VpcConfig.struct_class = Types::VpcConfig
@@ -1338,6 +1439,19 @@ module Aws::Lambda
1338
1439
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1339
1440
  end)
1340
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
+
1341
1455
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
1342
1456
  o.name = "DeleteAlias"
1343
1457
  o.http_method = "DELETE"
@@ -1428,6 +1542,18 @@ module Aws::Lambda
1428
1542
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1429
1543
  end)
1430
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
+
1431
1557
  api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
1432
1558
  o.name = "DeleteLayerVersion"
1433
1559
  o.http_method = "DELETE"
@@ -1556,6 +1682,18 @@ module Aws::Lambda
1556
1682
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1557
1683
  end)
1558
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
+
1559
1697
  api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
1560
1698
  o.name = "GetLayerVersion"
1561
1699
  o.http_method = "GET"
@@ -1735,6 +1873,24 @@ module Aws::Lambda
1735
1873
  )
1736
1874
  end)
1737
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
+
1738
1894
  api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
1739
1895
  o.name = "ListFunctions"
1740
1896
  o.http_method = "GET"
@@ -2071,6 +2227,19 @@ module Aws::Lambda
2071
2227
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2072
2228
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2073
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)
2074
2243
  end
2075
2244
 
2076
2245
  end