aws-sdk-lambda 1.53.0 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,22 +26,36 @@ 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
+ AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
29
30
  Arn = Shapes::StringShape.new(name: 'Arn')
30
31
  BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
31
32
  BisectBatchOnFunctionError = Shapes::BooleanShape.new(name: 'BisectBatchOnFunctionError')
32
33
  Blob = Shapes::BlobShape.new(name: 'Blob')
33
34
  BlobStream = Shapes::BlobShape.new(name: 'BlobStream', streaming: true)
34
35
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
36
+ CodeSigningConfig = Shapes::StructureShape.new(name: 'CodeSigningConfig')
37
+ CodeSigningConfigArn = Shapes::StringShape.new(name: 'CodeSigningConfigArn')
38
+ CodeSigningConfigId = Shapes::StringShape.new(name: 'CodeSigningConfigId')
39
+ CodeSigningConfigList = Shapes::ListShape.new(name: 'CodeSigningConfigList')
40
+ CodeSigningConfigNotFoundException = Shapes::StructureShape.new(name: 'CodeSigningConfigNotFoundException')
41
+ CodeSigningPolicies = Shapes::StructureShape.new(name: 'CodeSigningPolicies')
42
+ CodeSigningPolicy = Shapes::StringShape.new(name: 'CodeSigningPolicy')
35
43
  CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
44
+ CodeVerificationFailedException = Shapes::StructureShape.new(name: 'CodeVerificationFailedException')
36
45
  CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
37
46
  Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
38
47
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
48
+ CreateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigRequest')
49
+ CreateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'CreateCodeSigningConfigResponse')
39
50
  CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
40
51
  CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
41
52
  Date = Shapes::TimestampShape.new(name: 'Date')
42
53
  DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
43
54
  DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
55
+ DeleteCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'DeleteCodeSigningConfigRequest')
56
+ DeleteCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'DeleteCodeSigningConfigResponse')
44
57
  DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
58
+ DeleteFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionCodeSigningConfigRequest')
45
59
  DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
46
60
  DeleteFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionEventInvokeConfigRequest')
47
61
  DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
@@ -59,6 +73,10 @@ module Aws::Lambda
59
73
  EFSMountTimeoutException = Shapes::StructureShape.new(name: 'EFSMountTimeoutException')
60
74
  ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
61
75
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
76
+ EndPointType = Shapes::StringShape.new(name: 'EndPointType')
77
+ Endpoint = Shapes::StringShape.new(name: 'Endpoint')
78
+ EndpointLists = Shapes::ListShape.new(name: 'EndpointLists')
79
+ Endpoints = Shapes::MapShape.new(name: 'Endpoints')
62
80
  Environment = Shapes::StructureShape.new(name: 'Environment')
63
81
  EnvironmentError = Shapes::StructureShape.new(name: 'EnvironmentError')
64
82
  EnvironmentResponse = Shapes::StructureShape.new(name: 'EnvironmentResponse')
@@ -73,6 +91,7 @@ module Aws::Lambda
73
91
  FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
74
92
  FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
75
93
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
94
+ FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
76
95
  FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
77
96
  FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
78
97
  FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
@@ -80,11 +99,17 @@ module Aws::Lambda
80
99
  FunctionEventInvokeConfigList = Shapes::ListShape.new(name: 'FunctionEventInvokeConfigList')
81
100
  FunctionList = Shapes::ListShape.new(name: 'FunctionList')
82
101
  FunctionName = Shapes::StringShape.new(name: 'FunctionName')
102
+ FunctionResponseType = Shapes::StringShape.new(name: 'FunctionResponseType')
103
+ FunctionResponseTypeList = Shapes::ListShape.new(name: 'FunctionResponseTypeList')
83
104
  FunctionVersion = Shapes::StringShape.new(name: 'FunctionVersion')
84
105
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
85
106
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
86
107
  GetAliasRequest = Shapes::StructureShape.new(name: 'GetAliasRequest')
108
+ GetCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'GetCodeSigningConfigRequest')
109
+ GetCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'GetCodeSigningConfigResponse')
87
110
  GetEventSourceMappingRequest = Shapes::StructureShape.new(name: 'GetEventSourceMappingRequest')
111
+ GetFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionCodeSigningConfigRequest')
112
+ GetFunctionCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionCodeSigningConfigResponse')
88
113
  GetFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'GetFunctionConcurrencyRequest')
89
114
  GetFunctionConcurrencyResponse = Shapes::StructureShape.new(name: 'GetFunctionConcurrencyResponse')
90
115
  GetFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'GetFunctionConfigurationRequest')
@@ -102,7 +127,11 @@ module Aws::Lambda
102
127
  GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
103
128
  Handler = Shapes::StringShape.new(name: 'Handler')
104
129
  HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
130
+ ImageConfig = Shapes::StructureShape.new(name: 'ImageConfig')
131
+ ImageConfigError = Shapes::StructureShape.new(name: 'ImageConfigError')
132
+ ImageConfigResponse = Shapes::StructureShape.new(name: 'ImageConfigResponse')
105
133
  Integer = Shapes::IntegerShape.new(name: 'Integer')
134
+ InvalidCodeSignatureException = Shapes::StructureShape.new(name: 'InvalidCodeSignatureException')
106
135
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
107
136
  InvalidRequestContentException = Shapes::StructureShape.new(name: 'InvalidRequestContentException')
108
137
  InvalidRuntimeException = Shapes::StructureShape.new(name: 'InvalidRuntimeException')
@@ -140,10 +169,14 @@ module Aws::Lambda
140
169
  LicenseInfo = Shapes::StringShape.new(name: 'LicenseInfo')
141
170
  ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
142
171
  ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
172
+ ListCodeSigningConfigsRequest = Shapes::StructureShape.new(name: 'ListCodeSigningConfigsRequest')
173
+ ListCodeSigningConfigsResponse = Shapes::StructureShape.new(name: 'ListCodeSigningConfigsResponse')
143
174
  ListEventSourceMappingsRequest = Shapes::StructureShape.new(name: 'ListEventSourceMappingsRequest')
144
175
  ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
145
176
  ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
146
177
  ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
178
+ ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
179
+ ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
147
180
  ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
148
181
  ListFunctionsResponse = Shapes::StructureShape.new(name: 'ListFunctionsResponse')
149
182
  ListLayerVersionsRequest = Shapes::StructureShape.new(name: 'ListLayerVersionsRequest')
@@ -177,6 +210,7 @@ module Aws::Lambda
177
210
  OnFailure = Shapes::StructureShape.new(name: 'OnFailure')
178
211
  OnSuccess = Shapes::StructureShape.new(name: 'OnSuccess')
179
212
  OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
213
+ PackageType = Shapes::StringShape.new(name: 'PackageType')
180
214
  ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
181
215
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
182
216
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
@@ -189,6 +223,8 @@ module Aws::Lambda
189
223
  PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
190
224
  PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
191
225
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
226
+ PutFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionCodeSigningConfigRequest')
227
+ PutFunctionCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionCodeSigningConfigResponse')
192
228
  PutFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'PutFunctionConcurrencyRequest')
193
229
  PutFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionEventInvokeConfigRequest')
194
230
  PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
@@ -212,8 +248,10 @@ module Aws::Lambda
212
248
  S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
213
249
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
214
250
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
251
+ SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
215
252
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
216
253
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
254
+ SigningProfileVersionArns = Shapes::ListShape.new(name: 'SigningProfileVersionArns')
217
255
  SourceAccessConfiguration = Shapes::StructureShape.new(name: 'SourceAccessConfiguration')
218
256
  SourceAccessConfigurations = Shapes::ListShape.new(name: 'SourceAccessConfigurations')
219
257
  SourceAccessType = Shapes::StringShape.new(name: 'SourceAccessType')
@@ -223,6 +261,7 @@ module Aws::Lambda
223
261
  StateReasonCode = Shapes::StringShape.new(name: 'StateReasonCode')
224
262
  StatementId = Shapes::StringShape.new(name: 'StatementId')
225
263
  String = Shapes::StringShape.new(name: 'String')
264
+ StringList = Shapes::ListShape.new(name: 'StringList')
226
265
  SubnetIPAddressLimitReachedException = Shapes::StructureShape.new(name: 'SubnetIPAddressLimitReachedException')
227
266
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
228
267
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
@@ -240,10 +279,14 @@ module Aws::Lambda
240
279
  TracingConfig = Shapes::StructureShape.new(name: 'TracingConfig')
241
280
  TracingConfigResponse = Shapes::StructureShape.new(name: 'TracingConfigResponse')
242
281
  TracingMode = Shapes::StringShape.new(name: 'TracingMode')
282
+ TumblingWindowInSeconds = Shapes::IntegerShape.new(name: 'TumblingWindowInSeconds')
283
+ URI = Shapes::StringShape.new(name: 'URI')
243
284
  UnreservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'UnreservedConcurrentExecutions')
244
285
  UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
245
286
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
246
287
  UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
288
+ UpdateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'UpdateCodeSigningConfigRequest')
289
+ UpdateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'UpdateCodeSigningConfigResponse')
247
290
  UpdateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'UpdateEventSourceMappingRequest')
248
291
  UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
249
292
  UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
@@ -253,6 +296,7 @@ module Aws::Lambda
253
296
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
254
297
  VpcId = Shapes::StringShape.new(name: 'VpcId')
255
298
  Weight = Shapes::FloatShape.new(name: 'Weight')
299
+ WorkingDirectory = Shapes::StringShape.new(name: 'WorkingDirectory')
256
300
 
257
301
  AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
258
302
  AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
@@ -308,10 +352,34 @@ module Aws::Lambda
308
352
  AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
309
353
  AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
310
354
 
355
+ AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
356
+ AllowedPublishers.struct_class = Types::AllowedPublishers
357
+
358
+ CodeSigningConfig.add_member(:code_signing_config_id, Shapes::ShapeRef.new(shape: CodeSigningConfigId, required: true, location_name: "CodeSigningConfigId"))
359
+ CodeSigningConfig.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
360
+ CodeSigningConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
361
+ CodeSigningConfig.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
362
+ CodeSigningConfig.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, required: true, location_name: "CodeSigningPolicies"))
363
+ CodeSigningConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModified"))
364
+ CodeSigningConfig.struct_class = Types::CodeSigningConfig
365
+
366
+ CodeSigningConfigList.member = Shapes::ShapeRef.new(shape: CodeSigningConfig)
367
+
368
+ CodeSigningConfigNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
369
+ CodeSigningConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
370
+ CodeSigningConfigNotFoundException.struct_class = Types::CodeSigningConfigNotFoundException
371
+
372
+ CodeSigningPolicies.add_member(:untrusted_artifact_on_deployment, Shapes::ShapeRef.new(shape: CodeSigningPolicy, location_name: "UntrustedArtifactOnDeployment"))
373
+ CodeSigningPolicies.struct_class = Types::CodeSigningPolicies
374
+
311
375
  CodeStorageExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
312
376
  CodeStorageExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
313
377
  CodeStorageExceededException.struct_class = Types::CodeStorageExceededException
314
378
 
379
+ CodeVerificationFailedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
380
+ CodeVerificationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
381
+ CodeVerificationFailedException.struct_class = Types::CodeVerificationFailedException
382
+
315
383
  CompatibleRuntimes.member = Shapes::ShapeRef.new(shape: Runtime)
316
384
 
317
385
  Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
@@ -324,7 +392,15 @@ module Aws::Lambda
324
392
  CreateAliasRequest.add_member(:routing_config, Shapes::ShapeRef.new(shape: AliasRoutingConfiguration, location_name: "RoutingConfig"))
325
393
  CreateAliasRequest.struct_class = Types::CreateAliasRequest
326
394
 
327
- CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
395
+ CreateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
396
+ CreateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
397
+ CreateCodeSigningConfigRequest.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, location_name: "CodeSigningPolicies"))
398
+ CreateCodeSigningConfigRequest.struct_class = Types::CreateCodeSigningConfigRequest
399
+
400
+ CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
401
+ CreateCodeSigningConfigResponse.struct_class = Types::CreateCodeSigningConfigResponse
402
+
403
+ CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
328
404
  CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
329
405
  CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
330
406
  CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
@@ -336,21 +412,25 @@ module Aws::Lambda
336
412
  CreateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
337
413
  CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
338
414
  CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
415
+ CreateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
339
416
  CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
340
417
  CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
341
418
  CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
419
+ CreateEventSourceMappingRequest.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
420
+ CreateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
342
421
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
343
422
 
344
423
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
345
- CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, required: true, location_name: "Runtime"))
424
+ CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
346
425
  CreateFunctionRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "Role"))
347
- CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, required: true, location_name: "Handler"))
426
+ CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
348
427
  CreateFunctionRequest.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCode, required: true, location_name: "Code"))
349
428
  CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
350
429
  CreateFunctionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
351
430
  CreateFunctionRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
352
431
  CreateFunctionRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
353
432
  CreateFunctionRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
433
+ CreateFunctionRequest.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
354
434
  CreateFunctionRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
355
435
  CreateFunctionRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
356
436
  CreateFunctionRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
@@ -358,6 +438,8 @@ module Aws::Lambda
358
438
  CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
359
439
  CreateFunctionRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
360
440
  CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
441
+ CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
442
+ CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
361
443
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
362
444
 
363
445
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
@@ -367,9 +449,17 @@ module Aws::Lambda
367
449
  DeleteAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
368
450
  DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
369
451
 
452
+ DeleteCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
453
+ DeleteCodeSigningConfigRequest.struct_class = Types::DeleteCodeSigningConfigRequest
454
+
455
+ DeleteCodeSigningConfigResponse.struct_class = Types::DeleteCodeSigningConfigResponse
456
+
370
457
  DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
371
458
  DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
372
459
 
460
+ DeleteFunctionCodeSigningConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
461
+ DeleteFunctionCodeSigningConfigRequest.struct_class = Types::DeleteFunctionCodeSigningConfigRequest
462
+
373
463
  DeleteFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
374
464
  DeleteFunctionConcurrencyRequest.struct_class = Types::DeleteFunctionConcurrencyRequest
375
465
 
@@ -426,6 +516,11 @@ module Aws::Lambda
426
516
  ENILimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
427
517
  ENILimitReachedException.struct_class = Types::ENILimitReachedException
428
518
 
519
+ EndpointLists.member = Shapes::ShapeRef.new(shape: Endpoint)
520
+
521
+ Endpoints.key = Shapes::ShapeRef.new(shape: EndPointType)
522
+ Endpoints.value = Shapes::ShapeRef.new(shape: EndpointLists)
523
+
429
524
  Environment.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
430
525
  Environment.struct_class = Types::Environment
431
526
 
@@ -456,9 +551,12 @@ module Aws::Lambda
456
551
  EventSourceMappingConfiguration.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
457
552
  EventSourceMappingConfiguration.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
458
553
  EventSourceMappingConfiguration.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
554
+ EventSourceMappingConfiguration.add_member(:self_managed_event_source, Shapes::ShapeRef.new(shape: SelfManagedEventSource, location_name: "SelfManagedEventSource"))
459
555
  EventSourceMappingConfiguration.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
460
556
  EventSourceMappingConfiguration.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
461
557
  EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
558
+ EventSourceMappingConfiguration.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
559
+ EventSourceMappingConfiguration.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
462
560
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
463
561
 
464
562
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
@@ -469,14 +567,19 @@ module Aws::Lambda
469
567
 
470
568
  FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
471
569
 
570
+ FunctionArnList.member = Shapes::ShapeRef.new(shape: FunctionArn)
571
+
472
572
  FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
473
573
  FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
474
574
  FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
475
575
  FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
576
+ FunctionCode.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
476
577
  FunctionCode.struct_class = Types::FunctionCode
477
578
 
478
579
  FunctionCodeLocation.add_member(:repository_type, Shapes::ShapeRef.new(shape: String, location_name: "RepositoryType"))
479
580
  FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
581
+ FunctionCodeLocation.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
582
+ FunctionCodeLocation.add_member(:resolved_image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ResolvedImageUri"))
480
583
  FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
481
584
 
482
585
  FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, location_name: "FunctionName"))
@@ -506,6 +609,10 @@ module Aws::Lambda
506
609
  FunctionConfiguration.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: LastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
507
610
  FunctionConfiguration.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: LastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
508
611
  FunctionConfiguration.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
612
+ FunctionConfiguration.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
613
+ FunctionConfiguration.add_member(:image_config_response, Shapes::ShapeRef.new(shape: ImageConfigResponse, location_name: "ImageConfigResponse"))
614
+ FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
615
+ FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
509
616
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
510
617
 
511
618
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -519,6 +626,8 @@ module Aws::Lambda
519
626
 
520
627
  FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
521
628
 
629
+ FunctionResponseTypeList.member = Shapes::ShapeRef.new(shape: FunctionResponseType)
630
+
522
631
  GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
523
632
 
524
633
  GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
@@ -529,9 +638,22 @@ module Aws::Lambda
529
638
  GetAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
530
639
  GetAliasRequest.struct_class = Types::GetAliasRequest
531
640
 
641
+ GetCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
642
+ GetCodeSigningConfigRequest.struct_class = Types::GetCodeSigningConfigRequest
643
+
644
+ GetCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
645
+ GetCodeSigningConfigResponse.struct_class = Types::GetCodeSigningConfigResponse
646
+
532
647
  GetEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
533
648
  GetEventSourceMappingRequest.struct_class = Types::GetEventSourceMappingRequest
534
649
 
650
+ GetFunctionCodeSigningConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
651
+ GetFunctionCodeSigningConfigRequest.struct_class = Types::GetFunctionCodeSigningConfigRequest
652
+
653
+ GetFunctionCodeSigningConfigResponse.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
654
+ GetFunctionCodeSigningConfigResponse.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
655
+ GetFunctionCodeSigningConfigResponse.struct_class = Types::GetFunctionCodeSigningConfigResponse
656
+
535
657
  GetFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
536
658
  GetFunctionConcurrencyRequest.struct_class = Types::GetFunctionConcurrencyRequest
537
659
 
@@ -601,6 +723,23 @@ module Aws::Lambda
601
723
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
602
724
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
603
725
 
726
+ ImageConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "EntryPoint"))
727
+ ImageConfig.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "Command"))
728
+ ImageConfig.add_member(:working_directory, Shapes::ShapeRef.new(shape: WorkingDirectory, location_name: "WorkingDirectory"))
729
+ ImageConfig.struct_class = Types::ImageConfig
730
+
731
+ ImageConfigError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
732
+ ImageConfigError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
733
+ ImageConfigError.struct_class = Types::ImageConfigError
734
+
735
+ ImageConfigResponse.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
736
+ ImageConfigResponse.add_member(:error, Shapes::ShapeRef.new(shape: ImageConfigError, location_name: "Error"))
737
+ ImageConfigResponse.struct_class = Types::ImageConfigResponse
738
+
739
+ InvalidCodeSignatureException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
740
+ InvalidCodeSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
741
+ InvalidCodeSignatureException.struct_class = Types::InvalidCodeSignatureException
742
+
604
743
  InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
605
744
  InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
606
745
  InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
@@ -671,6 +810,8 @@ module Aws::Lambda
671
810
 
672
811
  Layer.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, location_name: "Arn"))
673
812
  Layer.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
813
+ Layer.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
814
+ Layer.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
674
815
  Layer.struct_class = Types::Layer
675
816
 
676
817
  LayerList.member = Shapes::ShapeRef.new(shape: LayerVersionArn)
@@ -684,6 +825,8 @@ module Aws::Lambda
684
825
  LayerVersionContentOutput.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
685
826
  LayerVersionContentOutput.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
686
827
  LayerVersionContentOutput.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
828
+ LayerVersionContentOutput.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: String, location_name: "SigningProfileVersionArn"))
829
+ LayerVersionContentOutput.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: String, location_name: "SigningJobArn"))
687
830
  LayerVersionContentOutput.struct_class = Types::LayerVersionContentOutput
688
831
 
689
832
  LayerVersionsList.member = Shapes::ShapeRef.new(shape: LayerVersionsListItem)
@@ -715,6 +858,14 @@ module Aws::Lambda
715
858
  ListAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
716
859
  ListAliasesResponse.struct_class = Types::ListAliasesResponse
717
860
 
861
+ ListCodeSigningConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
862
+ ListCodeSigningConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
863
+ ListCodeSigningConfigsRequest.struct_class = Types::ListCodeSigningConfigsRequest
864
+
865
+ ListCodeSigningConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
866
+ ListCodeSigningConfigsResponse.add_member(:code_signing_configs, Shapes::ShapeRef.new(shape: CodeSigningConfigList, location_name: "CodeSigningConfigs"))
867
+ ListCodeSigningConfigsResponse.struct_class = Types::ListCodeSigningConfigsResponse
868
+
718
869
  ListEventSourceMappingsRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "EventSourceArn"))
719
870
  ListEventSourceMappingsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location: "querystring", location_name: "FunctionName"))
720
871
  ListEventSourceMappingsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
@@ -734,6 +885,15 @@ module Aws::Lambda
734
885
  ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
735
886
  ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
736
887
 
888
+ ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
889
+ ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
890
+ ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
891
+ ListFunctionsByCodeSigningConfigRequest.struct_class = Types::ListFunctionsByCodeSigningConfigRequest
892
+
893
+ ListFunctionsByCodeSigningConfigResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
894
+ ListFunctionsByCodeSigningConfigResponse.add_member(:function_arns, Shapes::ShapeRef.new(shape: FunctionArnList, location_name: "FunctionArns"))
895
+ ListFunctionsByCodeSigningConfigResponse.struct_class = Types::ListFunctionsByCodeSigningConfigResponse
896
+
737
897
  ListFunctionsRequest.add_member(:master_region, Shapes::ShapeRef.new(shape: MasterRegion, location: "querystring", location_name: "MasterRegion"))
738
898
  ListFunctionsRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: FunctionVersion, location: "querystring", location_name: "FunctionVersion"))
739
899
  ListFunctionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
@@ -839,6 +999,14 @@ module Aws::Lambda
839
999
  PublishVersionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
840
1000
  PublishVersionRequest.struct_class = Types::PublishVersionRequest
841
1001
 
1002
+ PutFunctionCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
1003
+ PutFunctionCodeSigningConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
1004
+ PutFunctionCodeSigningConfigRequest.struct_class = Types::PutFunctionCodeSigningConfigRequest
1005
+
1006
+ PutFunctionCodeSigningConfigResponse.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
1007
+ PutFunctionCodeSigningConfigResponse.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
1008
+ PutFunctionCodeSigningConfigResponse.struct_class = Types::PutFunctionCodeSigningConfigResponse
1009
+
842
1010
  PutFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
843
1011
  PutFunctionConcurrencyRequest.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, required: true, location_name: "ReservedConcurrentExecutions"))
844
1012
  PutFunctionConcurrencyRequest.struct_class = Types::PutFunctionConcurrencyRequest
@@ -899,16 +1067,23 @@ module Aws::Lambda
899
1067
 
900
1068
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
901
1069
 
1070
+ SelfManagedEventSource.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
1071
+ SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
1072
+
902
1073
  ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
903
1074
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
904
1075
  ServiceException.struct_class = Types::ServiceException
905
1076
 
1077
+ SigningProfileVersionArns.member = Shapes::ShapeRef.new(shape: Arn)
1078
+
906
1079
  SourceAccessConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SourceAccessType, location_name: "Type"))
907
- SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: Arn, location_name: "URI"))
1080
+ SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: URI, location_name: "URI"))
908
1081
  SourceAccessConfiguration.struct_class = Types::SourceAccessConfiguration
909
1082
 
910
1083
  SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
911
1084
 
1085
+ StringList.member = Shapes::ShapeRef.new(shape: String)
1086
+
912
1087
  SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
913
1088
  SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
914
1089
  SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
@@ -954,6 +1129,15 @@ module Aws::Lambda
954
1129
  UpdateAliasRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
955
1130
  UpdateAliasRequest.struct_class = Types::UpdateAliasRequest
956
1131
 
1132
+ UpdateCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
1133
+ UpdateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1134
+ UpdateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, location_name: "AllowedPublishers"))
1135
+ UpdateCodeSigningConfigRequest.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, location_name: "CodeSigningPolicies"))
1136
+ UpdateCodeSigningConfigRequest.struct_class = Types::UpdateCodeSigningConfigRequest
1137
+
1138
+ UpdateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
1139
+ UpdateCodeSigningConfigResponse.struct_class = Types::UpdateCodeSigningConfigResponse
1140
+
957
1141
  UpdateEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
958
1142
  UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
959
1143
  UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
@@ -965,6 +1149,8 @@ module Aws::Lambda
965
1149
  UpdateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
966
1150
  UpdateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
967
1151
  UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
1152
+ UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
1153
+ UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
968
1154
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
969
1155
 
970
1156
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -972,6 +1158,7 @@ module Aws::Lambda
972
1158
  UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
973
1159
  UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
974
1160
  UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
1161
+ UpdateFunctionCodeRequest.add_member(:image_uri, Shapes::ShapeRef.new(shape: String, location_name: "ImageUri"))
975
1162
  UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
976
1163
  UpdateFunctionCodeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
977
1164
  UpdateFunctionCodeRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
@@ -992,6 +1179,7 @@ module Aws::Lambda
992
1179
  UpdateFunctionConfigurationRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
993
1180
  UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
994
1181
  UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
1182
+ UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
995
1183
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
996
1184
 
997
1185
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1069,6 +1257,16 @@ module Aws::Lambda
1069
1257
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1070
1258
  end)
1071
1259
 
1260
+ api.add_operation(:create_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1261
+ o.name = "CreateCodeSigningConfig"
1262
+ o.http_method = "POST"
1263
+ o.http_request_uri = "/2020-04-22/code-signing-configs/"
1264
+ o.input = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigRequest)
1265
+ o.output = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigResponse)
1266
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1267
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1268
+ end)
1269
+
1072
1270
  api.add_operation(:create_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1073
1271
  o.name = "CreateEventSourceMapping"
1074
1272
  o.http_method = "POST"
@@ -1094,6 +1292,9 @@ module Aws::Lambda
1094
1292
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1095
1293
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1096
1294
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1296
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
1297
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1097
1298
  end)
1098
1299
 
1099
1300
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1108,6 +1309,18 @@ module Aws::Lambda
1108
1309
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1109
1310
  end)
1110
1311
 
1312
+ api.add_operation(:delete_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1313
+ o.name = "DeleteCodeSigningConfig"
1314
+ o.http_method = "DELETE"
1315
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1316
+ o.input = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigRequest)
1317
+ o.output = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigResponse)
1318
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1322
+ end)
1323
+
1111
1324
  api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1112
1325
  o.name = "DeleteEventSourceMapping"
1113
1326
  o.http_method = "DELETE"
@@ -1134,6 +1347,20 @@ module Aws::Lambda
1134
1347
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1135
1348
  end)
1136
1349
 
1350
+ api.add_operation(:delete_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1351
+ o.name = "DeleteFunctionCodeSigningConfig"
1352
+ o.http_method = "DELETE"
1353
+ o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
1354
+ o.input = Shapes::ShapeRef.new(shape: DeleteFunctionCodeSigningConfigRequest)
1355
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1356
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1361
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1362
+ end)
1363
+
1137
1364
  api.add_operation(:delete_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
1138
1365
  o.name = "DeleteFunctionConcurrency"
1139
1366
  o.http_method = "DELETE"
@@ -1204,6 +1431,17 @@ module Aws::Lambda
1204
1431
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1205
1432
  end)
1206
1433
 
1434
+ api.add_operation(:get_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1435
+ o.name = "GetCodeSigningConfig"
1436
+ o.http_method = "GET"
1437
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1438
+ o.input = Shapes::ShapeRef.new(shape: GetCodeSigningConfigRequest)
1439
+ o.output = Shapes::ShapeRef.new(shape: GetCodeSigningConfigResponse)
1440
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1443
+ end)
1444
+
1207
1445
  api.add_operation(:get_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1208
1446
  o.name = "GetEventSourceMapping"
1209
1447
  o.http_method = "GET"
@@ -1228,6 +1466,18 @@ module Aws::Lambda
1228
1466
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1229
1467
  end)
1230
1468
 
1469
+ api.add_operation(:get_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1470
+ o.name = "GetFunctionCodeSigningConfig"
1471
+ o.http_method = "GET"
1472
+ o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
1473
+ o.input = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigRequest)
1474
+ o.output = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigResponse)
1475
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1479
+ end)
1480
+
1231
1481
  api.add_operation(:get_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
1232
1482
  o.name = "GetFunctionConcurrency"
1233
1483
  o.http_method = "GET"
@@ -1391,6 +1641,22 @@ module Aws::Lambda
1391
1641
  )
1392
1642
  end)
1393
1643
 
1644
+ api.add_operation(:list_code_signing_configs, Seahorse::Model::Operation.new.tap do |o|
1645
+ o.name = "ListCodeSigningConfigs"
1646
+ o.http_method = "GET"
1647
+ o.http_request_uri = "/2020-04-22/code-signing-configs/"
1648
+ o.input = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsRequest)
1649
+ o.output = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsResponse)
1650
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1651
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1652
+ o[:pager] = Aws::Pager.new(
1653
+ limit_key: "max_items",
1654
+ tokens: {
1655
+ "next_marker" => "marker"
1656
+ }
1657
+ )
1658
+ end)
1659
+
1394
1660
  api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
1395
1661
  o.name = "ListEventSourceMappings"
1396
1662
  o.http_method = "GET"
@@ -1444,6 +1710,23 @@ module Aws::Lambda
1444
1710
  )
1445
1711
  end)
1446
1712
 
1713
+ api.add_operation(:list_functions_by_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1714
+ o.name = "ListFunctionsByCodeSigningConfig"
1715
+ o.http_method = "GET"
1716
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions"
1717
+ o.input = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigRequest)
1718
+ o.output = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigResponse)
1719
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1720
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1721
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1722
+ o[:pager] = Aws::Pager.new(
1723
+ limit_key: "max_items",
1724
+ tokens: {
1725
+ "next_marker" => "marker"
1726
+ }
1727
+ )
1728
+ end)
1729
+
1447
1730
  api.add_operation(:list_layer_versions, Seahorse::Model::Operation.new.tap do |o|
1448
1731
  o.name = "ListLayerVersions"
1449
1732
  o.http_method = "GET"
@@ -1555,6 +1838,20 @@ module Aws::Lambda
1555
1838
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1556
1839
  end)
1557
1840
 
1841
+ api.add_operation(:put_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1842
+ o.name = "PutFunctionCodeSigningConfig"
1843
+ o.http_method = "PUT"
1844
+ o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
1845
+ o.input = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigRequest)
1846
+ o.output = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigResponse)
1847
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1848
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1850
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1853
+ end)
1854
+
1558
1855
  api.add_operation(:put_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
1559
1856
  o.name = "PutFunctionConcurrency"
1560
1857
  o.http_method = "PUT"
@@ -1659,6 +1956,17 @@ module Aws::Lambda
1659
1956
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1660
1957
  end)
1661
1958
 
1959
+ api.add_operation(:update_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1960
+ o.name = "UpdateCodeSigningConfig"
1961
+ o.http_method = "PUT"
1962
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1963
+ o.input = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigRequest)
1964
+ o.output = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigResponse)
1965
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1966
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1967
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1968
+ end)
1969
+
1662
1970
  api.add_operation(:update_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1663
1971
  o.name = "UpdateEventSourceMapping"
1664
1972
  o.http_method = "PUT"
@@ -1686,6 +1994,9 @@ module Aws::Lambda
1686
1994
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
1687
1995
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1688
1996
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1997
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1998
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
1999
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1689
2000
  end)
1690
2001
 
1691
2002
  api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1700,6 +2011,9 @@ module Aws::Lambda
1700
2011
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1701
2012
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1702
2013
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2014
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
2015
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
2016
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1703
2017
  end)
1704
2018
 
1705
2019
  api.add_operation(:update_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|