aws-sdk-lambda 1.49.0 → 1.54.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')
@@ -73,6 +87,7 @@ module Aws::Lambda
73
87
  FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
74
88
  FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
75
89
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
90
+ FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
76
91
  FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
77
92
  FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
78
93
  FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
@@ -84,7 +99,11 @@ module Aws::Lambda
84
99
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
85
100
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
86
101
  GetAliasRequest = Shapes::StructureShape.new(name: 'GetAliasRequest')
102
+ GetCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'GetCodeSigningConfigRequest')
103
+ GetCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'GetCodeSigningConfigResponse')
87
104
  GetEventSourceMappingRequest = Shapes::StructureShape.new(name: 'GetEventSourceMappingRequest')
105
+ GetFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionCodeSigningConfigRequest')
106
+ GetFunctionCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionCodeSigningConfigResponse')
88
107
  GetFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'GetFunctionConcurrencyRequest')
89
108
  GetFunctionConcurrencyResponse = Shapes::StructureShape.new(name: 'GetFunctionConcurrencyResponse')
90
109
  GetFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'GetFunctionConfigurationRequest')
@@ -103,6 +122,7 @@ module Aws::Lambda
103
122
  Handler = Shapes::StringShape.new(name: 'Handler')
104
123
  HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
105
124
  Integer = Shapes::IntegerShape.new(name: 'Integer')
125
+ InvalidCodeSignatureException = Shapes::StructureShape.new(name: 'InvalidCodeSignatureException')
106
126
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
107
127
  InvalidRequestContentException = Shapes::StructureShape.new(name: 'InvalidRequestContentException')
108
128
  InvalidRuntimeException = Shapes::StructureShape.new(name: 'InvalidRuntimeException')
@@ -140,10 +160,14 @@ module Aws::Lambda
140
160
  LicenseInfo = Shapes::StringShape.new(name: 'LicenseInfo')
141
161
  ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
142
162
  ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
163
+ ListCodeSigningConfigsRequest = Shapes::StructureShape.new(name: 'ListCodeSigningConfigsRequest')
164
+ ListCodeSigningConfigsResponse = Shapes::StructureShape.new(name: 'ListCodeSigningConfigsResponse')
143
165
  ListEventSourceMappingsRequest = Shapes::StructureShape.new(name: 'ListEventSourceMappingsRequest')
144
166
  ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
145
167
  ListFunctionEventInvokeConfigsRequest = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsRequest')
146
168
  ListFunctionEventInvokeConfigsResponse = Shapes::StructureShape.new(name: 'ListFunctionEventInvokeConfigsResponse')
169
+ ListFunctionsByCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigRequest')
170
+ ListFunctionsByCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'ListFunctionsByCodeSigningConfigResponse')
147
171
  ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
148
172
  ListFunctionsResponse = Shapes::StructureShape.new(name: 'ListFunctionsResponse')
149
173
  ListLayerVersionsRequest = Shapes::StructureShape.new(name: 'ListLayerVersionsRequest')
@@ -189,11 +213,15 @@ module Aws::Lambda
189
213
  PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
190
214
  PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
191
215
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
216
+ PutFunctionCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionCodeSigningConfigRequest')
217
+ PutFunctionCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionCodeSigningConfigResponse')
192
218
  PutFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'PutFunctionConcurrencyRequest')
193
219
  PutFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionEventInvokeConfigRequest')
194
220
  PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
195
221
  PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
196
222
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
223
+ Queue = Shapes::StringShape.new(name: 'Queue')
224
+ Queues = Shapes::ListShape.new(name: 'Queues')
197
225
  RemoveLayerVersionPermissionRequest = Shapes::StructureShape.new(name: 'RemoveLayerVersionPermissionRequest')
198
226
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
199
227
  RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
@@ -212,6 +240,10 @@ module Aws::Lambda
212
240
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
213
241
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
214
242
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
243
+ SigningProfileVersionArns = Shapes::ListShape.new(name: 'SigningProfileVersionArns')
244
+ SourceAccessConfiguration = Shapes::StructureShape.new(name: 'SourceAccessConfiguration')
245
+ SourceAccessConfigurations = Shapes::ListShape.new(name: 'SourceAccessConfigurations')
246
+ SourceAccessType = Shapes::StringShape.new(name: 'SourceAccessType')
215
247
  SourceOwner = Shapes::StringShape.new(name: 'SourceOwner')
216
248
  State = Shapes::StringShape.new(name: 'State')
217
249
  StateReason = Shapes::StringShape.new(name: 'StateReason')
@@ -239,6 +271,8 @@ module Aws::Lambda
239
271
  UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
240
272
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
241
273
  UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
274
+ UpdateCodeSigningConfigRequest = Shapes::StructureShape.new(name: 'UpdateCodeSigningConfigRequest')
275
+ UpdateCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'UpdateCodeSigningConfigResponse')
242
276
  UpdateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'UpdateEventSourceMappingRequest')
243
277
  UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
244
278
  UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
@@ -303,10 +337,34 @@ module Aws::Lambda
303
337
  AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
304
338
  AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
305
339
 
340
+ AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
341
+ AllowedPublishers.struct_class = Types::AllowedPublishers
342
+
343
+ CodeSigningConfig.add_member(:code_signing_config_id, Shapes::ShapeRef.new(shape: CodeSigningConfigId, required: true, location_name: "CodeSigningConfigId"))
344
+ CodeSigningConfig.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
345
+ CodeSigningConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
346
+ CodeSigningConfig.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
347
+ CodeSigningConfig.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, required: true, location_name: "CodeSigningPolicies"))
348
+ CodeSigningConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModified"))
349
+ CodeSigningConfig.struct_class = Types::CodeSigningConfig
350
+
351
+ CodeSigningConfigList.member = Shapes::ShapeRef.new(shape: CodeSigningConfig)
352
+
353
+ CodeSigningConfigNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
354
+ CodeSigningConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
355
+ CodeSigningConfigNotFoundException.struct_class = Types::CodeSigningConfigNotFoundException
356
+
357
+ CodeSigningPolicies.add_member(:untrusted_artifact_on_deployment, Shapes::ShapeRef.new(shape: CodeSigningPolicy, location_name: "UntrustedArtifactOnDeployment"))
358
+ CodeSigningPolicies.struct_class = Types::CodeSigningPolicies
359
+
306
360
  CodeStorageExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
307
361
  CodeStorageExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
308
362
  CodeStorageExceededException.struct_class = Types::CodeStorageExceededException
309
363
 
364
+ CodeVerificationFailedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
365
+ CodeVerificationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
366
+ CodeVerificationFailedException.struct_class = Types::CodeVerificationFailedException
367
+
310
368
  CompatibleRuntimes.member = Shapes::ShapeRef.new(shape: Runtime)
311
369
 
312
370
  Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
@@ -319,6 +377,14 @@ module Aws::Lambda
319
377
  CreateAliasRequest.add_member(:routing_config, Shapes::ShapeRef.new(shape: AliasRoutingConfiguration, location_name: "RoutingConfig"))
320
378
  CreateAliasRequest.struct_class = Types::CreateAliasRequest
321
379
 
380
+ CreateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
381
+ CreateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
382
+ CreateCodeSigningConfigRequest.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, location_name: "CodeSigningPolicies"))
383
+ CreateCodeSigningConfigRequest.struct_class = Types::CreateCodeSigningConfigRequest
384
+
385
+ CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
386
+ CreateCodeSigningConfigResponse.struct_class = Types::CreateCodeSigningConfigResponse
387
+
322
388
  CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
323
389
  CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
324
390
  CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
@@ -332,6 +398,8 @@ module Aws::Lambda
332
398
  CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
333
399
  CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
334
400
  CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
401
+ CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
402
+ CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
335
403
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
336
404
 
337
405
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -351,6 +419,7 @@ module Aws::Lambda
351
419
  CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
352
420
  CreateFunctionRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
353
421
  CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
422
+ CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
354
423
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
355
424
 
356
425
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
@@ -360,9 +429,17 @@ module Aws::Lambda
360
429
  DeleteAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
361
430
  DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
362
431
 
432
+ DeleteCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
433
+ DeleteCodeSigningConfigRequest.struct_class = Types::DeleteCodeSigningConfigRequest
434
+
435
+ DeleteCodeSigningConfigResponse.struct_class = Types::DeleteCodeSigningConfigResponse
436
+
363
437
  DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
364
438
  DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
365
439
 
440
+ DeleteFunctionCodeSigningConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
441
+ DeleteFunctionCodeSigningConfigRequest.struct_class = Types::DeleteFunctionCodeSigningConfigRequest
442
+
366
443
  DeleteFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
367
444
  DeleteFunctionConcurrencyRequest.struct_class = Types::DeleteFunctionConcurrencyRequest
368
445
 
@@ -434,6 +511,8 @@ module Aws::Lambda
434
511
  EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
435
512
 
436
513
  EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
514
+ EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
515
+ EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
437
516
  EventSourceMappingConfiguration.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
438
517
  EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
439
518
  EventSourceMappingConfiguration.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
@@ -445,6 +524,8 @@ module Aws::Lambda
445
524
  EventSourceMappingConfiguration.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateTransitionReason"))
446
525
  EventSourceMappingConfiguration.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
447
526
  EventSourceMappingConfiguration.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
527
+ EventSourceMappingConfiguration.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
528
+ EventSourceMappingConfiguration.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
448
529
  EventSourceMappingConfiguration.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
449
530
  EventSourceMappingConfiguration.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
450
531
  EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
@@ -458,6 +539,8 @@ module Aws::Lambda
458
539
 
459
540
  FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
460
541
 
542
+ FunctionArnList.member = Shapes::ShapeRef.new(shape: FunctionArn)
543
+
461
544
  FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
462
545
  FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
463
546
  FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
@@ -495,6 +578,8 @@ module Aws::Lambda
495
578
  FunctionConfiguration.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: LastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
496
579
  FunctionConfiguration.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: LastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
497
580
  FunctionConfiguration.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
581
+ FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
582
+ FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
498
583
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
499
584
 
500
585
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -518,9 +603,22 @@ module Aws::Lambda
518
603
  GetAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
519
604
  GetAliasRequest.struct_class = Types::GetAliasRequest
520
605
 
606
+ GetCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
607
+ GetCodeSigningConfigRequest.struct_class = Types::GetCodeSigningConfigRequest
608
+
609
+ GetCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
610
+ GetCodeSigningConfigResponse.struct_class = Types::GetCodeSigningConfigResponse
611
+
521
612
  GetEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
522
613
  GetEventSourceMappingRequest.struct_class = Types::GetEventSourceMappingRequest
523
614
 
615
+ GetFunctionCodeSigningConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
616
+ GetFunctionCodeSigningConfigRequest.struct_class = Types::GetFunctionCodeSigningConfigRequest
617
+
618
+ GetFunctionCodeSigningConfigResponse.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
619
+ GetFunctionCodeSigningConfigResponse.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
620
+ GetFunctionCodeSigningConfigResponse.struct_class = Types::GetFunctionCodeSigningConfigResponse
621
+
524
622
  GetFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
525
623
  GetFunctionConcurrencyRequest.struct_class = Types::GetFunctionConcurrencyRequest
526
624
 
@@ -590,6 +688,10 @@ module Aws::Lambda
590
688
  GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
591
689
  GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
592
690
 
691
+ InvalidCodeSignatureException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
692
+ InvalidCodeSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
693
+ InvalidCodeSignatureException.struct_class = Types::InvalidCodeSignatureException
694
+
593
695
  InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
594
696
  InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
595
697
  InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
@@ -660,6 +762,8 @@ module Aws::Lambda
660
762
 
661
763
  Layer.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, location_name: "Arn"))
662
764
  Layer.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
765
+ Layer.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
766
+ Layer.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
663
767
  Layer.struct_class = Types::Layer
664
768
 
665
769
  LayerList.member = Shapes::ShapeRef.new(shape: LayerVersionArn)
@@ -673,6 +777,8 @@ module Aws::Lambda
673
777
  LayerVersionContentOutput.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
674
778
  LayerVersionContentOutput.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
675
779
  LayerVersionContentOutput.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
780
+ LayerVersionContentOutput.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: String, location_name: "SigningProfileVersionArn"))
781
+ LayerVersionContentOutput.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: String, location_name: "SigningJobArn"))
676
782
  LayerVersionContentOutput.struct_class = Types::LayerVersionContentOutput
677
783
 
678
784
  LayerVersionsList.member = Shapes::ShapeRef.new(shape: LayerVersionsListItem)
@@ -704,6 +810,14 @@ module Aws::Lambda
704
810
  ListAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
705
811
  ListAliasesResponse.struct_class = Types::ListAliasesResponse
706
812
 
813
+ ListCodeSigningConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
814
+ ListCodeSigningConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
815
+ ListCodeSigningConfigsRequest.struct_class = Types::ListCodeSigningConfigsRequest
816
+
817
+ ListCodeSigningConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
818
+ ListCodeSigningConfigsResponse.add_member(:code_signing_configs, Shapes::ShapeRef.new(shape: CodeSigningConfigList, location_name: "CodeSigningConfigs"))
819
+ ListCodeSigningConfigsResponse.struct_class = Types::ListCodeSigningConfigsResponse
820
+
707
821
  ListEventSourceMappingsRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "EventSourceArn"))
708
822
  ListEventSourceMappingsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location: "querystring", location_name: "FunctionName"))
709
823
  ListEventSourceMappingsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
@@ -723,6 +837,15 @@ module Aws::Lambda
723
837
  ListFunctionEventInvokeConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
724
838
  ListFunctionEventInvokeConfigsResponse.struct_class = Types::ListFunctionEventInvokeConfigsResponse
725
839
 
840
+ ListFunctionsByCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
841
+ ListFunctionsByCodeSigningConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
842
+ ListFunctionsByCodeSigningConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
843
+ ListFunctionsByCodeSigningConfigRequest.struct_class = Types::ListFunctionsByCodeSigningConfigRequest
844
+
845
+ ListFunctionsByCodeSigningConfigResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
846
+ ListFunctionsByCodeSigningConfigResponse.add_member(:function_arns, Shapes::ShapeRef.new(shape: FunctionArnList, location_name: "FunctionArns"))
847
+ ListFunctionsByCodeSigningConfigResponse.struct_class = Types::ListFunctionsByCodeSigningConfigResponse
848
+
726
849
  ListFunctionsRequest.add_member(:master_region, Shapes::ShapeRef.new(shape: MasterRegion, location: "querystring", location_name: "MasterRegion"))
727
850
  ListFunctionsRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: FunctionVersion, location: "querystring", location_name: "FunctionVersion"))
728
851
  ListFunctionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
@@ -828,6 +951,14 @@ module Aws::Lambda
828
951
  PublishVersionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
829
952
  PublishVersionRequest.struct_class = Types::PublishVersionRequest
830
953
 
954
+ PutFunctionCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
955
+ PutFunctionCodeSigningConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
956
+ PutFunctionCodeSigningConfigRequest.struct_class = Types::PutFunctionCodeSigningConfigRequest
957
+
958
+ PutFunctionCodeSigningConfigResponse.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
959
+ PutFunctionCodeSigningConfigResponse.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
960
+ PutFunctionCodeSigningConfigResponse.struct_class = Types::PutFunctionCodeSigningConfigResponse
961
+
831
962
  PutFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
832
963
  PutFunctionConcurrencyRequest.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, required: true, location_name: "ReservedConcurrentExecutions"))
833
964
  PutFunctionConcurrencyRequest.struct_class = Types::PutFunctionConcurrencyRequest
@@ -852,6 +983,8 @@ module Aws::Lambda
852
983
  PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
853
984
  PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
854
985
 
986
+ Queues.member = Shapes::ShapeRef.new(shape: Queue)
987
+
855
988
  RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
856
989
  RemoveLayerVersionPermissionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
857
990
  RemoveLayerVersionPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
@@ -890,6 +1023,14 @@ module Aws::Lambda
890
1023
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
891
1024
  ServiceException.struct_class = Types::ServiceException
892
1025
 
1026
+ SigningProfileVersionArns.member = Shapes::ShapeRef.new(shape: Arn)
1027
+
1028
+ SourceAccessConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SourceAccessType, location_name: "Type"))
1029
+ SourceAccessConfiguration.add_member(:uri, Shapes::ShapeRef.new(shape: Arn, location_name: "URI"))
1030
+ SourceAccessConfiguration.struct_class = Types::SourceAccessConfiguration
1031
+
1032
+ SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
1033
+
893
1034
  SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
894
1035
  SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
895
1036
  SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
@@ -935,6 +1076,15 @@ module Aws::Lambda
935
1076
  UpdateAliasRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
936
1077
  UpdateAliasRequest.struct_class = Types::UpdateAliasRequest
937
1078
 
1079
+ UpdateCodeSigningConfigRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location: "uri", location_name: "CodeSigningConfigArn"))
1080
+ UpdateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1081
+ UpdateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, location_name: "AllowedPublishers"))
1082
+ UpdateCodeSigningConfigRequest.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, location_name: "CodeSigningPolicies"))
1083
+ UpdateCodeSigningConfigRequest.struct_class = Types::UpdateCodeSigningConfigRequest
1084
+
1085
+ UpdateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
1086
+ UpdateCodeSigningConfigResponse.struct_class = Types::UpdateCodeSigningConfigResponse
1087
+
938
1088
  UpdateEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
939
1089
  UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
940
1090
  UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
@@ -945,6 +1095,7 @@ module Aws::Lambda
945
1095
  UpdateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
946
1096
  UpdateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
947
1097
  UpdateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
1098
+ UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
948
1099
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
949
1100
 
950
1101
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1049,6 +1200,16 @@ module Aws::Lambda
1049
1200
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1050
1201
  end)
1051
1202
 
1203
+ api.add_operation(:create_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1204
+ o.name = "CreateCodeSigningConfig"
1205
+ o.http_method = "POST"
1206
+ o.http_request_uri = "/2020-04-22/code-signing-configs/"
1207
+ o.input = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigRequest)
1208
+ o.output = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigResponse)
1209
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1211
+ end)
1212
+
1052
1213
  api.add_operation(:create_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1053
1214
  o.name = "CreateEventSourceMapping"
1054
1215
  o.http_method = "POST"
@@ -1074,6 +1235,9 @@ module Aws::Lambda
1074
1235
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1075
1236
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1076
1237
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1239
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
1240
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1077
1241
  end)
1078
1242
 
1079
1243
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1088,6 +1252,18 @@ module Aws::Lambda
1088
1252
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1089
1253
  end)
1090
1254
 
1255
+ api.add_operation(:delete_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1256
+ o.name = "DeleteCodeSigningConfig"
1257
+ o.http_method = "DELETE"
1258
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1259
+ o.input = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigRequest)
1260
+ o.output = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigResponse)
1261
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1263
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1264
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1265
+ end)
1266
+
1091
1267
  api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1092
1268
  o.name = "DeleteEventSourceMapping"
1093
1269
  o.http_method = "DELETE"
@@ -1114,6 +1290,20 @@ module Aws::Lambda
1114
1290
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1115
1291
  end)
1116
1292
 
1293
+ api.add_operation(:delete_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1294
+ o.name = "DeleteFunctionCodeSigningConfig"
1295
+ o.http_method = "DELETE"
1296
+ o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
1297
+ o.input = Shapes::ShapeRef.new(shape: DeleteFunctionCodeSigningConfigRequest)
1298
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1299
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1301
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1302
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1304
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1305
+ end)
1306
+
1117
1307
  api.add_operation(:delete_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
1118
1308
  o.name = "DeleteFunctionConcurrency"
1119
1309
  o.http_method = "DELETE"
@@ -1184,6 +1374,17 @@ module Aws::Lambda
1184
1374
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1185
1375
  end)
1186
1376
 
1377
+ api.add_operation(:get_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1378
+ o.name = "GetCodeSigningConfig"
1379
+ o.http_method = "GET"
1380
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1381
+ o.input = Shapes::ShapeRef.new(shape: GetCodeSigningConfigRequest)
1382
+ o.output = Shapes::ShapeRef.new(shape: GetCodeSigningConfigResponse)
1383
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1384
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1386
+ end)
1387
+
1187
1388
  api.add_operation(:get_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1188
1389
  o.name = "GetEventSourceMapping"
1189
1390
  o.http_method = "GET"
@@ -1208,6 +1409,18 @@ module Aws::Lambda
1208
1409
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1209
1410
  end)
1210
1411
 
1412
+ api.add_operation(:get_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1413
+ o.name = "GetFunctionCodeSigningConfig"
1414
+ o.http_method = "GET"
1415
+ o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
1416
+ o.input = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigRequest)
1417
+ o.output = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigResponse)
1418
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1419
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1420
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1421
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1422
+ end)
1423
+
1211
1424
  api.add_operation(:get_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
1212
1425
  o.name = "GetFunctionConcurrency"
1213
1426
  o.http_method = "GET"
@@ -1371,6 +1584,22 @@ module Aws::Lambda
1371
1584
  )
1372
1585
  end)
1373
1586
 
1587
+ api.add_operation(:list_code_signing_configs, Seahorse::Model::Operation.new.tap do |o|
1588
+ o.name = "ListCodeSigningConfigs"
1589
+ o.http_method = "GET"
1590
+ o.http_request_uri = "/2020-04-22/code-signing-configs/"
1591
+ o.input = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsRequest)
1592
+ o.output = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsResponse)
1593
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1594
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1595
+ o[:pager] = Aws::Pager.new(
1596
+ limit_key: "max_items",
1597
+ tokens: {
1598
+ "next_marker" => "marker"
1599
+ }
1600
+ )
1601
+ end)
1602
+
1374
1603
  api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
1375
1604
  o.name = "ListEventSourceMappings"
1376
1605
  o.http_method = "GET"
@@ -1424,6 +1653,23 @@ module Aws::Lambda
1424
1653
  )
1425
1654
  end)
1426
1655
 
1656
+ api.add_operation(:list_functions_by_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1657
+ o.name = "ListFunctionsByCodeSigningConfig"
1658
+ o.http_method = "GET"
1659
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions"
1660
+ o.input = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigRequest)
1661
+ o.output = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigResponse)
1662
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1665
+ o[:pager] = Aws::Pager.new(
1666
+ limit_key: "max_items",
1667
+ tokens: {
1668
+ "next_marker" => "marker"
1669
+ }
1670
+ )
1671
+ end)
1672
+
1427
1673
  api.add_operation(:list_layer_versions, Seahorse::Model::Operation.new.tap do |o|
1428
1674
  o.name = "ListLayerVersions"
1429
1675
  o.http_method = "GET"
@@ -1535,6 +1781,20 @@ module Aws::Lambda
1535
1781
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1536
1782
  end)
1537
1783
 
1784
+ api.add_operation(:put_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1785
+ o.name = "PutFunctionCodeSigningConfig"
1786
+ o.http_method = "PUT"
1787
+ o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
1788
+ o.input = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigRequest)
1789
+ o.output = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigResponse)
1790
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1791
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1792
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1793
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1794
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1795
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1796
+ end)
1797
+
1538
1798
  api.add_operation(:put_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
1539
1799
  o.name = "PutFunctionConcurrency"
1540
1800
  o.http_method = "PUT"
@@ -1639,6 +1899,17 @@ module Aws::Lambda
1639
1899
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1640
1900
  end)
1641
1901
 
1902
+ api.add_operation(:update_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1903
+ o.name = "UpdateCodeSigningConfig"
1904
+ o.http_method = "PUT"
1905
+ o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1906
+ o.input = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigRequest)
1907
+ o.output = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigResponse)
1908
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1909
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1910
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1911
+ end)
1912
+
1642
1913
  api.add_operation(:update_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1643
1914
  o.name = "UpdateEventSourceMapping"
1644
1915
  o.http_method = "PUT"
@@ -1666,6 +1937,9 @@ module Aws::Lambda
1666
1937
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
1667
1938
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1668
1939
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1940
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1941
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
1942
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1669
1943
  end)
1670
1944
 
1671
1945
  api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1680,6 +1954,9 @@ module Aws::Lambda
1680
1954
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1681
1955
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1682
1956
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1957
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1958
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
1959
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1683
1960
  end)
1684
1961
 
1685
1962
  api.add_operation(:update_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|