aws-sdk-lambda 1.70.0 → 1.74.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,10 +26,14 @@ module Aws::Lambda
26
26
  AliasConfiguration = Shapes::StructureShape.new(name: 'AliasConfiguration')
27
27
  AliasList = Shapes::ListShape.new(name: 'AliasList')
28
28
  AliasRoutingConfiguration = Shapes::StructureShape.new(name: 'AliasRoutingConfiguration')
29
+ AllowCredentials = Shapes::BooleanShape.new(name: 'AllowCredentials')
30
+ AllowMethodsList = Shapes::ListShape.new(name: 'AllowMethodsList')
31
+ AllowOriginsList = Shapes::ListShape.new(name: 'AllowOriginsList')
29
32
  AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
30
33
  Architecture = Shapes::StringShape.new(name: 'Architecture')
31
34
  ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
32
35
  Arn = Shapes::StringShape.new(name: 'Arn')
36
+ AuthorizationType = Shapes::StringShape.new(name: 'AuthorizationType')
33
37
  BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
34
38
  BisectBatchOnFunctionError = Shapes::BooleanShape.new(name: 'BisectBatchOnFunctionError')
35
39
  Blob = Shapes::BlobShape.new(name: 'Blob')
@@ -47,11 +51,14 @@ module Aws::Lambda
47
51
  CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
48
52
  CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
49
53
  Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
54
+ Cors = Shapes::StructureShape.new(name: 'Cors')
50
55
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
51
56
  CreateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigRequest')
52
57
  CreateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigResponse')
53
58
  CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
54
59
  CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
60
+ CreateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigRequest')
61
+ CreateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigResponse')
55
62
  Date = Shapes::TimestampShape.new(name: 'Date')
56
63
  DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
57
64
  DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
@@ -62,6 +69,7 @@ module Aws::Lambda
62
69
  DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
63
70
  DeleteFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionEventInvokeConfigRequest')
64
71
  DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
72
+ DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
65
73
  DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
66
74
  DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
67
75
  Description = Shapes::StringShape.new(name: 'Description')
@@ -93,6 +101,9 @@ module Aws::Lambda
93
101
  FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
94
102
  FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
95
103
  FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
104
+ Filter = Shapes::StructureShape.new(name: 'Filter')
105
+ FilterCriteria = Shapes::StructureShape.new(name: 'FilterCriteria')
106
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
96
107
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
97
108
  FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
98
109
  FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
@@ -104,6 +115,10 @@ module Aws::Lambda
104
115
  FunctionName = Shapes::StringShape.new(name: 'FunctionName')
105
116
  FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
106
117
  FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
118
+ FunctionUrl = Shapes::StringShape.new(name: 'FunctionUrl')
119
+ FunctionUrlConfig = Shapes::StructureShape.new(name: 'FunctionUrlConfig')
120
+ FunctionUrlConfigList = Shapes::ListShape.new(name: 'FunctionUrlConfigList')
121
+ FunctionUrlQualifier = Shapes::StringShape.new(name: 'FunctionUrlQualifier')
107
122
  FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
108
123
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
109
124
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
@@ -119,6 +134,8 @@ module Aws::Lambda
119
134
  GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
120
135
  GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
121
136
  GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
137
+ GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
138
+ GetFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigResponse')
122
139
  GetLayerVersionByArnRequest = Shapes::StructureShape.new(name: 'GetLayerVersionByArnRequest')
123
140
  GetLayerVersionPolicyRequest = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyRequest')
124
141
  GetLayerVersionPolicyResponse = Shapes::StructureShape.new(name: 'GetLayerVersionPolicyResponse')
@@ -129,6 +146,8 @@ module Aws::Lambda
129
146
  GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
130
147
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
131
148
  Handler = Shapes::StringShape.new(name: 'Handler')
149
+ Header = Shapes::StringShape.new(name: 'Header')
150
+ HeadersList = Shapes::ListShape.new(name: 'HeadersList')
132
151
  HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
133
152
  ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
134
153
  ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
@@ -178,6 +197,8 @@ module Aws::Lambda
178
197
  ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
179
198
  ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
180
199
  ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
200
+ ListFunctionUrlConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsRequest')
201
+ ListFunctionUrlConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionUrlConfigsResponse')
181
202
  ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
182
203
  ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
183
204
  ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
@@ -196,7 +217,9 @@ module Aws::Lambda
196
217
  LogType = Shapes::StringShape.new(name: 'LogType')
197
218
  Long = Shapes::IntegerShape.new(name: 'Long')
198
219
  MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
220
+ MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
199
221
  MaxFunctionEventInvokeConfigListItems = Shapes::IntegerShape.new(name: 'MaxFunctionEventInvokeConfigListItems')
222
+ MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
200
223
  MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
201
224
  MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
202
225
  MaxProvisionedConcurrencyConfigListItems = Shapes::IntegerShape.new(name: 'MaxProvisionedConcurrencyConfigListItems')
@@ -206,6 +229,7 @@ module Aws::Lambda
206
229
  MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
207
230
  MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
208
231
  MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
232
+ Method = Shapes::StringShape.new(name: 'Method')
209
233
  NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
210
234
  NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
211
235
  NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
@@ -213,8 +237,10 @@ module Aws::Lambda
213
237
  OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
214
238
  OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
215
239
  OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
240
+ Origin = Shapes::StringShape.new(name: 'Origin')
216
241
  PackageType = Shapes::StringShape.new(name: 'PackageType')
217
242
  ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
243
+ Pattern = Shapes::StringShape.new(name: 'Pattern')
218
244
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
219
245
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
220
246
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
@@ -294,6 +320,8 @@ module Aws::Lambda
294
320
  UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
295
321
  UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
296
322
  UpdateFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionEventInvokeConfigRequest')
323
+ UpdateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigRequest')
324
+ UpdateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'UpdateFunctionUrlConfigResponse')
297
325
  Version = Shapes::StringShape.new(name: 'Version')
298
326
  VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
299
327
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
@@ -355,6 +383,10 @@ module Aws::Lambda
355
383
  AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
356
384
  AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
357
385
 
386
+ AllowMethodsList.member = Shapes::ShapeRef.new(shape: Method)
387
+
388
+ AllowOriginsList.member = Shapes::ShapeRef.new(shape: Origin)
389
+
358
390
  AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
359
391
  AllowedPublishers.struct_class = Types::AllowedPublishers
360
392
 
@@ -392,6 +424,14 @@ module Aws::Lambda
392
424
  Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
393
425
  Concurrency.struct_class = Types::Concurrency
394
426
 
427
+ Cors.add_member(:allow_credentials, Shapes::ShapeRef.new(shape: AllowCredentials, location_name: "AllowCredentials"))
428
+ Cors.add_member(:allow_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "AllowHeaders"))
429
+ Cors.add_member(:allow_methods, Shapes::ShapeRef.new(shape: AllowMethodsList, location_name: "AllowMethods"))
430
+ Cors.add_member(:allow_origins, Shapes::ShapeRef.new(shape: AllowOriginsList, location_name: "AllowOrigins"))
431
+ Cors.add_member(:expose_headers, Shapes::ShapeRef.new(shape: HeadersList, location_name: "ExposeHeaders"))
432
+ Cors.add_member(:max_age, Shapes::ShapeRef.new(shape: MaxAge, location_name: "MaxAge"))
433
+ Cors.struct_class = Types::Cors
434
+
395
435
  CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
396
436
  CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
397
437
  CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
@@ -411,6 +451,7 @@ module Aws::Lambda
411
451
  CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
412
452
  CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
413
453
  CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
454
+ CreateEventSourceMappingRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
414
455
  CreateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
415
456
  CreateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
416
457
  CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
@@ -450,6 +491,19 @@ module Aws::Lambda
450
491
  CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
451
492
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
452
493
 
494
+ CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
495
+ CreateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
496
+ CreateFunctionUrlConfigRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
497
+ CreateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
498
+ CreateFunctionUrlConfigRequest.struct_class = Types::CreateFunctionUrlConfigRequest
499
+
500
+ CreateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
501
+ CreateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
502
+ CreateFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
503
+ CreateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
504
+ CreateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
505
+ CreateFunctionUrlConfigResponse.struct_class = Types::CreateFunctionUrlConfigResponse
506
+
453
507
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
454
508
  DeadLetterConfig.struct_class = Types::DeadLetterConfig
455
509
 
@@ -479,6 +533,10 @@ module Aws::Lambda
479
533
  DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
480
534
  DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
481
535
 
536
+ DeleteFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
537
+ DeleteFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
538
+ DeleteFunctionUrlConfigRequest.struct_class = Types::DeleteFunctionUrlConfigRequest
539
+
482
540
  DeleteLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
483
541
  DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
484
542
  DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
@@ -550,6 +608,7 @@ module Aws::Lambda
550
608
  EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
551
609
  EventSourceMappingConfiguration.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
552
610
  EventSourceMappingConfiguration.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
611
+ EventSourceMappingConfiguration.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
553
612
  EventSourceMappingConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
554
613
  EventSourceMappingConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
555
614
  EventSourceMappingConfiguration.add_member(:last_processing_result, Shapes::ShapeRef.new(shape: String, location_name: "LastProcessingResult"))
@@ -575,6 +634,14 @@ module Aws::Lambda
575
634
 
576
635
  FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
577
636
 
637
+ Filter.add_member(:pattern, Shapes::ShapeRef.new(shape: Pattern, location_name: "Pattern"))
638
+ Filter.struct_class = Types::Filter
639
+
640
+ FilterCriteria.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
641
+ FilterCriteria.struct_class = Types::FilterCriteria
642
+
643
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
644
+
578
645
  FunctionArnList.member = Shapes::ShapeRef.new(shape: FunctionArn)
579
646
 
580
647
  FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
@@ -637,6 +704,16 @@ module Aws::Lambda
637
704
 
638
705
  FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
639
706
 
707
+ FunctionUrlConfig.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
708
+ FunctionUrlConfig.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
709
+ FunctionUrlConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
710
+ FunctionUrlConfig.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
711
+ FunctionUrlConfig.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
712
+ FunctionUrlConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
713
+ FunctionUrlConfig.struct_class = Types::FunctionUrlConfig
714
+
715
+ FunctionUrlConfigList.member = Shapes::ShapeRef.new(shape: FunctionUrlConfig)
716
+
640
717
  GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
641
718
 
642
719
  GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
@@ -687,6 +764,18 @@ module Aws::Lambda
687
764
  GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
688
765
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
689
766
 
767
+ GetFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
768
+ GetFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
769
+ GetFunctionUrlConfigRequest.struct_class = Types::GetFunctionUrlConfigRequest
770
+
771
+ GetFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
772
+ GetFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
773
+ GetFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
774
+ GetFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
775
+ GetFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
776
+ GetFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
777
+ GetFunctionUrlConfigResponse.struct_class = Types::GetFunctionUrlConfigResponse
778
+
690
779
  GetLayerVersionByArnRequest.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, required: true, location: "querystring", location_name: "Arn"))
691
780
  GetLayerVersionByArnRequest.struct_class = Types::GetLayerVersionByArnRequest
692
781
 
@@ -733,6 +822,8 @@ module Aws::Lambda
733
822
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
734
823
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
735
824
 
825
+ HeadersList.member = Shapes::ShapeRef.new(shape: Header)
826
+
736
827
  ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
737
828
  ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
738
829
  ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
@@ -896,6 +987,15 @@ module Aws::Lambda
896
987
  ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
897
988
  ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
898
989
 
990
+ ListFunctionUrlConfigsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
991
+ ListFunctionUrlConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
992
+ ListFunctionUrlConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
993
+ ListFunctionUrlConfigsRequest.struct_class = Types::ListFunctionUrlConfigsRequest
994
+
995
+ ListFunctionUrlConfigsResponse.add_member(:function_url_configs, Shapes::ShapeRef.new(shape: FunctionUrlConfigList, required: true, location_name: "FunctionUrlConfigs"))
996
+ ListFunctionUrlConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
997
+ ListFunctionUrlConfigsResponse.struct_class = Types::ListFunctionUrlConfigsResponse
998
+
899
999
  ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
900
1000
  ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
901
1001
  ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
@@ -1157,6 +1257,7 @@ module Aws::Lambda
1157
1257
  UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
1158
1258
  UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
1159
1259
  UpdateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
1260
+ UpdateEventSourceMappingRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
1160
1261
  UpdateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
1161
1262
  UpdateEventSourceMappingRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
1162
1263
  UpdateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
@@ -1205,6 +1306,20 @@ module Aws::Lambda
1205
1306
  UpdateFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
1206
1307
  UpdateFunctionEventInvokeConfigRequest.struct_class = Types::UpdateFunctionEventInvokeConfigRequest
1207
1308
 
1309
+ UpdateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
1310
+ UpdateFunctionUrlConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: FunctionUrlQualifier, location: "querystring", location_name: "Qualifier"))
1311
+ UpdateFunctionUrlConfigRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, location_name: "AuthorizationType"))
1312
+ UpdateFunctionUrlConfigRequest.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
1313
+ UpdateFunctionUrlConfigRequest.struct_class = Types::UpdateFunctionUrlConfigRequest
1314
+
1315
+ UpdateFunctionUrlConfigResponse.add_member(:function_url, Shapes::ShapeRef.new(shape: FunctionUrl, required: true, location_name: "FunctionUrl"))
1316
+ UpdateFunctionUrlConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
1317
+ UpdateFunctionUrlConfigResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "AuthorizationType"))
1318
+ UpdateFunctionUrlConfigResponse.add_member(:cors, Shapes::ShapeRef.new(shape: Cors, location_name: "Cors"))
1319
+ UpdateFunctionUrlConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
1320
+ UpdateFunctionUrlConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
1321
+ UpdateFunctionUrlConfigResponse.struct_class = Types::UpdateFunctionUrlConfigResponse
1322
+
1208
1323
  VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
1209
1324
  VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
1210
1325
  VpcConfig.struct_class = Types::VpcConfig
@@ -1313,6 +1428,19 @@ module Aws::Lambda
1313
1428
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1314
1429
  end)
1315
1430
 
1431
+ api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
1432
+ o.name = "CreateFunctionUrlConfig"
1433
+ o.http_method = "POST"
1434
+ o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
1435
+ o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
1436
+ o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
1437
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1438
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1440
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1442
+ end)
1443
+
1316
1444
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
1317
1445
  o.name = "DeleteAlias"
1318
1446
  o.http_method = "DELETE"
@@ -1403,6 +1531,18 @@ module Aws::Lambda
1403
1531
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1404
1532
  end)
1405
1533
 
1534
+ api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
1535
+ o.name = "DeleteFunctionUrlConfig"
1536
+ o.http_method = "DELETE"
1537
+ o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
1538
+ o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
1539
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1540
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1544
+ end)
1545
+
1406
1546
  api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
1407
1547
  o.name = "DeleteLayerVersion"
1408
1548
  o.http_method = "DELETE"
@@ -1531,6 +1671,18 @@ module Aws::Lambda
1531
1671
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1532
1672
  end)
1533
1673
 
1674
+ api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
1675
+ o.name = "GetFunctionUrlConfig"
1676
+ o.http_method = "GET"
1677
+ o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
1678
+ o.input = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigRequest)
1679
+ o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
1680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1683
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1684
+ end)
1685
+
1534
1686
  api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
1535
1687
  o.name = "GetLayerVersion"
1536
1688
  o.http_method = "GET"
@@ -1710,6 +1862,24 @@ module Aws::Lambda
1710
1862
  )
1711
1863
  end)
1712
1864
 
1865
+ api.add_operation(:list_function_url_configs, Seahorse::Model::Operation.new.tap do |o|
1866
+ o.name = "ListFunctionUrlConfigs"
1867
+ o.http_method = "GET"
1868
+ o.http_request_uri = "/2021-10-31/functions/{FunctionName}/urls"
1869
+ o.input = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsRequest)
1870
+ o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
1871
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1872
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1875
+ o[:pager] = Aws::Pager.new(
1876
+ limit_key: "max_items",
1877
+ tokens: {
1878
+ "next_marker" => "marker"
1879
+ }
1880
+ )
1881
+ end)
1882
+
1713
1883
  api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
1714
1884
  o.name = "ListFunctions"
1715
1885
  o.http_method = "GET"
@@ -2046,6 +2216,19 @@ module Aws::Lambda
2046
2216
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2047
2217
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2048
2218
  end)
2219
+
2220
+ api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
2221
+ o.name = "UpdateFunctionUrlConfig"
2222
+ o.http_method = "PUT"
2223
+ o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
2224
+ o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
2225
+ o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
2226
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2227
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2228
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2229
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2230
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2231
+ end)
2049
2232
  end
2050
2233
 
2051
2234
  end