aws-sdk-lambda 1.81.0 → 1.84.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')
@@ -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')
@@ -299,6 +323,8 @@ module Aws::Lambda
299
323
  UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
300
324
  UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
301
325
  UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
326
+ UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
327
+ UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
302
328
  Version = Shapes::StringShape.new(name: 'Version')
303
329
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
304
330
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
@@ -340,6 +366,7 @@ module Aws::Lambda
340
366
  AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
341
367
  AddPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
342
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"))
343
370
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
344
371
 
345
372
  AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
@@ -361,6 +388,10 @@ module Aws::Lambda
361
388
  AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
362
389
  AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
363
390
 
391
+ AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
392
+
393
+ AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
394
+
364
395
  AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
365
396
  AllowedPublishers.struct_class = Types::AllowedPublishers
366
397
 
@@ -398,6 +429,14 @@ module Aws::Lambda
398
429
  Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
399
430
  Concurrency.struct_class = Types::Concurrency
400
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
+
401
440
  CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
402
441
  CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
403
442
  CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
@@ -455,8 +494,22 @@ module Aws::Lambda
455
494
  CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
456
495
  CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
457
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"))
458
498
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
459
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
+
460
513
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
461
514
  DeadLetterConfig.struct_class = Types::DeadLetterConfig
462
515
 
@@ -486,6 +539,10 @@ module Aws::Lambda
486
539
  DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
487
540
  DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
488
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
+
489
546
  DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
490
547
  DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
491
548
  DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
@@ -550,6 +607,9 @@ module Aws::Lambda
550
607
  EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
551
608
  EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
552
609
 
610
+ EphemeralStorage.add_member(:size, Shapes::ShapeRef.new(shape: EphemeralStorageSize, required: true, location_name: "Size"))
611
+ EphemeralStorage.struct_class = Types::EphemeralStorage
612
+
553
613
  EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
554
614
  EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
555
615
  EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
@@ -638,6 +698,7 @@ module Aws::Lambda
638
698
  FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
639
699
  FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
640
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"))
641
702
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
642
703
 
643
704
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -653,6 +714,16 @@ module Aws::Lambda
653
714
 
654
715
  FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
655
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
+
656
727
  GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
657
728
 
658
729
  GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
@@ -703,6 +774,18 @@ module Aws::Lambda
703
774
  GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
704
775
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
705
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
+
706
789
  GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
707
790
  GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
708
791
 
@@ -749,6 +832,8 @@ module Aws::Lambda
749
832
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
750
833
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
751
834
 
835
+ HeadersList.member = Shapes::ShapeRef.new(shape: Header)
836
+
752
837
  ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
753
838
  ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
754
839
  ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
@@ -912,6 +997,15 @@ module Aws::Lambda
912
997
  ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
913
998
  ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
914
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
+
915
1009
  ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
916
1010
  ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
917
1011
  ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
@@ -1213,6 +1307,7 @@ module Aws::Lambda
1213
1307
  UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
1214
1308
  UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
1215
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"))
1216
1311
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
1217
1312
 
1218
1313
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1222,6 +1317,20 @@ module Aws::Lambda
1222
1317
  UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
1223
1318
  UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
1224
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
+
1225
1334
  VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
1226
1335
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
1227
1336
  VpcConfig.struct_class = Types::VpcConfig
@@ -1330,6 +1439,19 @@ module Aws::Lambda
1330
1439
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1331
1440
  end)
1332
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
+
1333
1455
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
1334
1456
  o.name = "DeleteAlias"
1335
1457
  o.http_method = "DELETE"
@@ -1420,6 +1542,18 @@ module Aws::Lambda
1420
1542
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1421
1543
  end)
1422
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
+
1423
1557
  api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
1424
1558
  o.name = "DeleteLayerVersion"
1425
1559
  o.http_method = "DELETE"
@@ -1548,6 +1682,18 @@ module Aws::Lambda
1548
1682
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1549
1683
  end)
1550
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
+
1551
1697
  api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
1552
1698
  o.name = "GetLayerVersion"
1553
1699
  o.http_method = "GET"
@@ -1727,6 +1873,24 @@ module Aws::Lambda
1727
1873
  )
1728
1874
  end)
1729
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
+
1730
1894
  api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
1731
1895
  o.name = "ListFunctions"
1732
1896
  o.http_method = "GET"
@@ -2063,6 +2227,19 @@ module Aws::Lambda
2063
2227
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2064
2228
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2065
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)
2066
2243
  end
2067
2244
 
2068
2245
  end