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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +2 -1
- data/lib/aws-sdk-lambda/client.rb +558 -10
- data/lib/aws-sdk-lambda/client_api.rb +277 -0
- data/lib/aws-sdk-lambda/errors.rb +63 -0
- data/lib/aws-sdk-lambda/types.rb +734 -14
- metadata +4 -4
@@ -27,7 +27,9 @@ module Aws::Lambda
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {CodeSigningConfigNotFoundException}
|
30
31
|
# * {CodeStorageExceededException}
|
32
|
+
# * {CodeVerificationFailedException}
|
31
33
|
# * {EC2AccessDeniedException}
|
32
34
|
# * {EC2ThrottledException}
|
33
35
|
# * {EC2UnexpectedException}
|
@@ -36,6 +38,7 @@ module Aws::Lambda
|
|
36
38
|
# * {EFSMountFailureException}
|
37
39
|
# * {EFSMountTimeoutException}
|
38
40
|
# * {ENILimitReachedException}
|
41
|
+
# * {InvalidCodeSignatureException}
|
39
42
|
# * {InvalidParameterValueException}
|
40
43
|
# * {InvalidRequestContentException}
|
41
44
|
# * {InvalidRuntimeException}
|
@@ -65,6 +68,26 @@ module Aws::Lambda
|
|
65
68
|
|
66
69
|
extend Aws::Errors::DynamicErrors
|
67
70
|
|
71
|
+
class CodeSigningConfigNotFoundException < ServiceError
|
72
|
+
|
73
|
+
# @param [Seahorse::Client::RequestContext] context
|
74
|
+
# @param [String] message
|
75
|
+
# @param [Aws::Lambda::Types::CodeSigningConfigNotFoundException] data
|
76
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
77
|
+
super(context, message, data)
|
78
|
+
end
|
79
|
+
|
80
|
+
# @return [String]
|
81
|
+
def type
|
82
|
+
@data[:type]
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
68
91
|
class CodeStorageExceededException < ServiceError
|
69
92
|
|
70
93
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -85,6 +108,26 @@ module Aws::Lambda
|
|
85
108
|
end
|
86
109
|
end
|
87
110
|
|
111
|
+
class CodeVerificationFailedException < ServiceError
|
112
|
+
|
113
|
+
# @param [Seahorse::Client::RequestContext] context
|
114
|
+
# @param [String] message
|
115
|
+
# @param [Aws::Lambda::Types::CodeVerificationFailedException] data
|
116
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
117
|
+
super(context, message, data)
|
118
|
+
end
|
119
|
+
|
120
|
+
# @return [String]
|
121
|
+
def type
|
122
|
+
@data[:type]
|
123
|
+
end
|
124
|
+
|
125
|
+
# @return [String]
|
126
|
+
def message
|
127
|
+
@message || @data[:message]
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
88
131
|
class EC2AccessDeniedException < ServiceError
|
89
132
|
|
90
133
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -250,6 +293,26 @@ module Aws::Lambda
|
|
250
293
|
end
|
251
294
|
end
|
252
295
|
|
296
|
+
class InvalidCodeSignatureException < ServiceError
|
297
|
+
|
298
|
+
# @param [Seahorse::Client::RequestContext] context
|
299
|
+
# @param [String] message
|
300
|
+
# @param [Aws::Lambda::Types::InvalidCodeSignatureException] data
|
301
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
302
|
+
super(context, message, data)
|
303
|
+
end
|
304
|
+
|
305
|
+
# @return [String]
|
306
|
+
def type
|
307
|
+
@data[:type]
|
308
|
+
end
|
309
|
+
|
310
|
+
# @return [String]
|
311
|
+
def message
|
312
|
+
@message || @data[:message]
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
253
316
|
class InvalidParameterValueException < ServiceError
|
254
317
|
|
255
318
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -327,6 +327,114 @@ module Aws::Lambda
|
|
327
327
|
include Aws::Structure
|
328
328
|
end
|
329
329
|
|
330
|
+
# List of signing profiles that can sign a code package.
|
331
|
+
#
|
332
|
+
# @note When making an API call, you may pass AllowedPublishers
|
333
|
+
# data as a hash:
|
334
|
+
#
|
335
|
+
# {
|
336
|
+
# signing_profile_version_arns: ["Arn"], # required
|
337
|
+
# }
|
338
|
+
#
|
339
|
+
# @!attribute [rw] signing_profile_version_arns
|
340
|
+
# The Amazon Resource Name (ARN) for each of the signing profiles. A
|
341
|
+
# signing profile defines a trusted user who can sign a code package.
|
342
|
+
# @return [Array<String>]
|
343
|
+
#
|
344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AllowedPublishers AWS API Documentation
|
345
|
+
#
|
346
|
+
class AllowedPublishers < Struct.new(
|
347
|
+
:signing_profile_version_arns)
|
348
|
+
SENSITIVE = []
|
349
|
+
include Aws::Structure
|
350
|
+
end
|
351
|
+
|
352
|
+
# Details about a Code signing configuration.
|
353
|
+
#
|
354
|
+
# @!attribute [rw] code_signing_config_id
|
355
|
+
# Unique identifer for the Code signing configuration.
|
356
|
+
# @return [String]
|
357
|
+
#
|
358
|
+
# @!attribute [rw] code_signing_config_arn
|
359
|
+
# The Amazon Resource Name (ARN) of the Code signing configuration.
|
360
|
+
# @return [String]
|
361
|
+
#
|
362
|
+
# @!attribute [rw] description
|
363
|
+
# Code signing configuration description.
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] allowed_publishers
|
367
|
+
# List of allowed publishers.
|
368
|
+
# @return [Types::AllowedPublishers]
|
369
|
+
#
|
370
|
+
# @!attribute [rw] code_signing_policies
|
371
|
+
# The code signing policy controls the validation failure action for
|
372
|
+
# signature mismatch or expiry.
|
373
|
+
# @return [Types::CodeSigningPolicies]
|
374
|
+
#
|
375
|
+
# @!attribute [rw] last_modified
|
376
|
+
# The date and time that the Code signing configuration was last
|
377
|
+
# modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
|
378
|
+
# @return [Time]
|
379
|
+
#
|
380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeSigningConfig AWS API Documentation
|
381
|
+
#
|
382
|
+
class CodeSigningConfig < Struct.new(
|
383
|
+
:code_signing_config_id,
|
384
|
+
:code_signing_config_arn,
|
385
|
+
:description,
|
386
|
+
:allowed_publishers,
|
387
|
+
:code_signing_policies,
|
388
|
+
:last_modified)
|
389
|
+
SENSITIVE = []
|
390
|
+
include Aws::Structure
|
391
|
+
end
|
392
|
+
|
393
|
+
# The specified code signing configuration does not exist.
|
394
|
+
#
|
395
|
+
# @!attribute [rw] type
|
396
|
+
# @return [String]
|
397
|
+
#
|
398
|
+
# @!attribute [rw] message
|
399
|
+
# @return [String]
|
400
|
+
#
|
401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeSigningConfigNotFoundException AWS API Documentation
|
402
|
+
#
|
403
|
+
class CodeSigningConfigNotFoundException < Struct.new(
|
404
|
+
:type,
|
405
|
+
:message)
|
406
|
+
SENSITIVE = []
|
407
|
+
include Aws::Structure
|
408
|
+
end
|
409
|
+
|
410
|
+
# Code signing configuration policies specifies the validation failure
|
411
|
+
# action for signature mismatch or expiry.
|
412
|
+
#
|
413
|
+
# @note When making an API call, you may pass CodeSigningPolicies
|
414
|
+
# data as a hash:
|
415
|
+
#
|
416
|
+
# {
|
417
|
+
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
418
|
+
# }
|
419
|
+
#
|
420
|
+
# @!attribute [rw] untrusted_artifact_on_deployment
|
421
|
+
# Code signing configuration policy for deployment validation failure.
|
422
|
+
# If you set the policy to `Enforce`, Lambda blocks the deployment
|
423
|
+
# request if code-signing validation checks fail. If you set the
|
424
|
+
# policy to `Warn`, Lambda allows the deployment and creates a
|
425
|
+
# CloudWatch log.
|
426
|
+
#
|
427
|
+
# Default value: `Warn`
|
428
|
+
# @return [String]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeSigningPolicies AWS API Documentation
|
431
|
+
#
|
432
|
+
class CodeSigningPolicies < Struct.new(
|
433
|
+
:untrusted_artifact_on_deployment)
|
434
|
+
SENSITIVE = []
|
435
|
+
include Aws::Structure
|
436
|
+
end
|
437
|
+
|
330
438
|
# You have exceeded your maximum total code size per account. [Learn
|
331
439
|
# more][1]
|
332
440
|
#
|
@@ -350,6 +458,25 @@ module Aws::Lambda
|
|
350
458
|
include Aws::Structure
|
351
459
|
end
|
352
460
|
|
461
|
+
# The code signature failed one or more of the validation checks for
|
462
|
+
# signature mismatch or expiry, and the code signing policy is set to
|
463
|
+
# ENFORCE. Lambda blocks the deployment.
|
464
|
+
#
|
465
|
+
# @!attribute [rw] type
|
466
|
+
# @return [String]
|
467
|
+
#
|
468
|
+
# @!attribute [rw] message
|
469
|
+
# @return [String]
|
470
|
+
#
|
471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeVerificationFailedException AWS API Documentation
|
472
|
+
#
|
473
|
+
class CodeVerificationFailedException < Struct.new(
|
474
|
+
:type,
|
475
|
+
:message)
|
476
|
+
SENSITIVE = []
|
477
|
+
include Aws::Structure
|
478
|
+
end
|
479
|
+
|
353
480
|
# @!attribute [rw] reserved_concurrent_executions
|
354
481
|
# The number of concurrent executions that are reserved for this
|
355
482
|
# function. For more information, see [Managing Concurrency][1].
|
@@ -430,6 +557,54 @@ module Aws::Lambda
|
|
430
557
|
include Aws::Structure
|
431
558
|
end
|
432
559
|
|
560
|
+
# @note When making an API call, you may pass CreateCodeSigningConfigRequest
|
561
|
+
# data as a hash:
|
562
|
+
#
|
563
|
+
# {
|
564
|
+
# description: "Description",
|
565
|
+
# allowed_publishers: { # required
|
566
|
+
# signing_profile_version_arns: ["Arn"], # required
|
567
|
+
# },
|
568
|
+
# code_signing_policies: {
|
569
|
+
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
570
|
+
# },
|
571
|
+
# }
|
572
|
+
#
|
573
|
+
# @!attribute [rw] description
|
574
|
+
# Descriptive name for this code signing configuration.
|
575
|
+
# @return [String]
|
576
|
+
#
|
577
|
+
# @!attribute [rw] allowed_publishers
|
578
|
+
# Signing profiles for this code signing configuration.
|
579
|
+
# @return [Types::AllowedPublishers]
|
580
|
+
#
|
581
|
+
# @!attribute [rw] code_signing_policies
|
582
|
+
# The code signing policies define the actions to take if the
|
583
|
+
# validation checks fail.
|
584
|
+
# @return [Types::CodeSigningPolicies]
|
585
|
+
#
|
586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfigRequest AWS API Documentation
|
587
|
+
#
|
588
|
+
class CreateCodeSigningConfigRequest < Struct.new(
|
589
|
+
:description,
|
590
|
+
:allowed_publishers,
|
591
|
+
:code_signing_policies)
|
592
|
+
SENSITIVE = []
|
593
|
+
include Aws::Structure
|
594
|
+
end
|
595
|
+
|
596
|
+
# @!attribute [rw] code_signing_config
|
597
|
+
# The code signing configuration.
|
598
|
+
# @return [Types::CodeSigningConfig]
|
599
|
+
#
|
600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfigResponse AWS API Documentation
|
601
|
+
#
|
602
|
+
class CreateCodeSigningConfigResponse < Struct.new(
|
603
|
+
:code_signing_config)
|
604
|
+
SENSITIVE = []
|
605
|
+
include Aws::Structure
|
606
|
+
end
|
607
|
+
|
433
608
|
# @note When making an API call, you may pass CreateEventSourceMappingRequest
|
434
609
|
# data as a hash:
|
435
610
|
#
|
@@ -454,6 +629,13 @@ module Aws::Lambda
|
|
454
629
|
# bisect_batch_on_function_error: false,
|
455
630
|
# maximum_retry_attempts: 1,
|
456
631
|
# topics: ["Topic"],
|
632
|
+
# queues: ["Queue"],
|
633
|
+
# source_access_configurations: [
|
634
|
+
# {
|
635
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
636
|
+
# uri: "Arn",
|
637
|
+
# },
|
638
|
+
# ],
|
457
639
|
# }
|
458
640
|
#
|
459
641
|
# @!attribute [rw] event_source_arn
|
@@ -553,6 +735,24 @@ module Aws::Lambda
|
|
553
735
|
# (MSK) The name of the Kafka topic.
|
554
736
|
# @return [Array<String>]
|
555
737
|
#
|
738
|
+
# @!attribute [rw] queues
|
739
|
+
# (MQ) The name of the Amazon MQ broker destination queue to consume.
|
740
|
+
# @return [Array<String>]
|
741
|
+
#
|
742
|
+
# @!attribute [rw] source_access_configurations
|
743
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
744
|
+
# To store your secret, use the following format: ` \{ "username":
|
745
|
+
# "your username", "password": "your password" \}`
|
746
|
+
#
|
747
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
748
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
749
|
+
#
|
750
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
751
|
+
# you can use customer or service managed keys. When using a customer
|
752
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
753
|
+
# permissions.
|
754
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
755
|
+
#
|
556
756
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
557
757
|
#
|
558
758
|
class CreateEventSourceMappingRequest < Struct.new(
|
@@ -568,7 +768,9 @@ module Aws::Lambda
|
|
568
768
|
:maximum_record_age_in_seconds,
|
569
769
|
:bisect_batch_on_function_error,
|
570
770
|
:maximum_retry_attempts,
|
571
|
-
:topics
|
771
|
+
:topics,
|
772
|
+
:queues,
|
773
|
+
:source_access_configurations)
|
572
774
|
SENSITIVE = []
|
573
775
|
include Aws::Structure
|
574
776
|
end
|
@@ -617,6 +819,7 @@ module Aws::Lambda
|
|
617
819
|
# local_mount_path: "LocalMountPath", # required
|
618
820
|
# },
|
619
821
|
# ],
|
822
|
+
# code_signing_config_arn: "CodeSigningConfigArn",
|
620
823
|
# }
|
621
824
|
#
|
622
825
|
# @!attribute [rw] function_name
|
@@ -741,6 +944,13 @@ module Aws::Lambda
|
|
741
944
|
# Connection settings for an Amazon EFS file system.
|
742
945
|
# @return [Array<Types::FileSystemConfig>]
|
743
946
|
#
|
947
|
+
# @!attribute [rw] code_signing_config_arn
|
948
|
+
# To enable code signing for this function, specify the ARN of a
|
949
|
+
# code-signing configuration. A code-signing configuration includes
|
950
|
+
# set set of signing profiles, which define the trusted publishers for
|
951
|
+
# this function.
|
952
|
+
# @return [String]
|
953
|
+
#
|
744
954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
745
955
|
#
|
746
956
|
class CreateFunctionRequest < Struct.new(
|
@@ -760,7 +970,8 @@ module Aws::Lambda
|
|
760
970
|
:tracing_config,
|
761
971
|
:tags,
|
762
972
|
:layers,
|
763
|
-
:file_system_configs
|
973
|
+
:file_system_configs,
|
974
|
+
:code_signing_config_arn)
|
764
975
|
SENSITIVE = []
|
765
976
|
include Aws::Structure
|
766
977
|
end
|
@@ -828,6 +1039,30 @@ module Aws::Lambda
|
|
828
1039
|
include Aws::Structure
|
829
1040
|
end
|
830
1041
|
|
1042
|
+
# @note When making an API call, you may pass DeleteCodeSigningConfigRequest
|
1043
|
+
# data as a hash:
|
1044
|
+
#
|
1045
|
+
# {
|
1046
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
1047
|
+
# }
|
1048
|
+
#
|
1049
|
+
# @!attribute [rw] code_signing_config_arn
|
1050
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
1051
|
+
# configuration.
|
1052
|
+
# @return [String]
|
1053
|
+
#
|
1054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfigRequest AWS API Documentation
|
1055
|
+
#
|
1056
|
+
class DeleteCodeSigningConfigRequest < Struct.new(
|
1057
|
+
:code_signing_config_arn)
|
1058
|
+
SENSITIVE = []
|
1059
|
+
include Aws::Structure
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfigResponse AWS API Documentation
|
1063
|
+
#
|
1064
|
+
class DeleteCodeSigningConfigResponse < Aws::EmptyStructure; end
|
1065
|
+
|
831
1066
|
# @note When making an API call, you may pass DeleteEventSourceMappingRequest
|
832
1067
|
# data as a hash:
|
833
1068
|
#
|
@@ -847,6 +1082,37 @@ module Aws::Lambda
|
|
847
1082
|
include Aws::Structure
|
848
1083
|
end
|
849
1084
|
|
1085
|
+
# @note When making an API call, you may pass DeleteFunctionCodeSigningConfigRequest
|
1086
|
+
# data as a hash:
|
1087
|
+
#
|
1088
|
+
# {
|
1089
|
+
# function_name: "FunctionName", # required
|
1090
|
+
# }
|
1091
|
+
#
|
1092
|
+
# @!attribute [rw] function_name
|
1093
|
+
# The name of the Lambda function.
|
1094
|
+
#
|
1095
|
+
# **Name formats**
|
1096
|
+
#
|
1097
|
+
# * **Function name** - `MyFunction`.
|
1098
|
+
#
|
1099
|
+
# * **Function ARN** -
|
1100
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
1101
|
+
#
|
1102
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
1103
|
+
#
|
1104
|
+
# The length constraint applies only to the full ARN. If you specify
|
1105
|
+
# only the function name, it is limited to 64 characters in length.
|
1106
|
+
# @return [String]
|
1107
|
+
#
|
1108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfigRequest AWS API Documentation
|
1109
|
+
#
|
1110
|
+
class DeleteFunctionCodeSigningConfigRequest < Struct.new(
|
1111
|
+
:function_name)
|
1112
|
+
SENSITIVE = []
|
1113
|
+
include Aws::Structure
|
1114
|
+
end
|
1115
|
+
|
850
1116
|
# @note When making an API call, you may pass DeleteFunctionConcurrencyRequest
|
851
1117
|
# data as a hash:
|
852
1118
|
#
|
@@ -1271,18 +1537,29 @@ module Aws::Lambda
|
|
1271
1537
|
# The identifier of the event source mapping.
|
1272
1538
|
# @return [String]
|
1273
1539
|
#
|
1540
|
+
# @!attribute [rw] starting_position
|
1541
|
+
# The position in a stream from which to start reading. Required for
|
1542
|
+
# Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
|
1543
|
+
# `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
|
1544
|
+
# @return [String]
|
1545
|
+
#
|
1546
|
+
# @!attribute [rw] starting_position_timestamp
|
1547
|
+
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
1548
|
+
# to start reading.
|
1549
|
+
# @return [Time]
|
1550
|
+
#
|
1274
1551
|
# @!attribute [rw] batch_size
|
1275
1552
|
# The maximum number of items to retrieve in a single batch.
|
1276
1553
|
# @return [Integer]
|
1277
1554
|
#
|
1278
1555
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
1279
1556
|
# (Streams) The maximum amount of time to gather records before
|
1280
|
-
# invoking the function, in seconds.
|
1557
|
+
# invoking the function, in seconds. The default value is zero.
|
1281
1558
|
# @return [Integer]
|
1282
1559
|
#
|
1283
1560
|
# @!attribute [rw] parallelization_factor
|
1284
1561
|
# (Streams) The number of batches to process from each shard
|
1285
|
-
# concurrently.
|
1562
|
+
# concurrently. The default value is 1.
|
1286
1563
|
# @return [Integer]
|
1287
1564
|
#
|
1288
1565
|
# @!attribute [rw] event_source_arn
|
@@ -1320,28 +1597,50 @@ module Aws::Lambda
|
|
1320
1597
|
# @return [Types::DestinationConfig]
|
1321
1598
|
#
|
1322
1599
|
# @!attribute [rw] topics
|
1323
|
-
# (MSK) The name of the Kafka topic.
|
1600
|
+
# (MSK) The name of the Kafka topic to consume.
|
1324
1601
|
# @return [Array<String>]
|
1325
1602
|
#
|
1603
|
+
# @!attribute [rw] queues
|
1604
|
+
# (MQ) The name of the Amazon MQ broker destination queue to consume.
|
1605
|
+
# @return [Array<String>]
|
1606
|
+
#
|
1607
|
+
# @!attribute [rw] source_access_configurations
|
1608
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
1609
|
+
# To store your secret, use the following format: ` \{ "username":
|
1610
|
+
# "your username", "password": "your password" \}`
|
1611
|
+
#
|
1612
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
1613
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
1614
|
+
#
|
1615
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
1616
|
+
# you can use customer or service managed keys. When using a customer
|
1617
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
1618
|
+
# permissions.
|
1619
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
1620
|
+
#
|
1326
1621
|
# @!attribute [rw] maximum_record_age_in_seconds
|
1327
|
-
# (Streams)
|
1328
|
-
#
|
1622
|
+
# (Streams) Discard records older than the specified age. The default
|
1623
|
+
# value is infinite (-1). When set to infinite (-1), failed records
|
1624
|
+
# are retried until the record expires.
|
1329
1625
|
# @return [Integer]
|
1330
1626
|
#
|
1331
1627
|
# @!attribute [rw] bisect_batch_on_function_error
|
1332
1628
|
# (Streams) If the function returns an error, split the batch in two
|
1333
|
-
# and retry.
|
1629
|
+
# and retry. The default value is false.
|
1334
1630
|
# @return [Boolean]
|
1335
1631
|
#
|
1336
1632
|
# @!attribute [rw] maximum_retry_attempts
|
1337
|
-
# (Streams)
|
1338
|
-
#
|
1633
|
+
# (Streams) Discard records after the specified number of retries. The
|
1634
|
+
# default value is infinite (-1). When set to infinite (-1), failed
|
1635
|
+
# records are retried until the record expires.
|
1339
1636
|
# @return [Integer]
|
1340
1637
|
#
|
1341
1638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
1342
1639
|
#
|
1343
1640
|
class EventSourceMappingConfiguration < Struct.new(
|
1344
1641
|
:uuid,
|
1642
|
+
:starting_position,
|
1643
|
+
:starting_position_timestamp,
|
1345
1644
|
:batch_size,
|
1346
1645
|
:maximum_batching_window_in_seconds,
|
1347
1646
|
:parallelization_factor,
|
@@ -1353,6 +1652,8 @@ module Aws::Lambda
|
|
1353
1652
|
:state_transition_reason,
|
1354
1653
|
:destination_config,
|
1355
1654
|
:topics,
|
1655
|
+
:queues,
|
1656
|
+
:source_access_configurations,
|
1356
1657
|
:maximum_record_age_in_seconds,
|
1357
1658
|
:bisect_batch_on_function_error,
|
1358
1659
|
:maximum_retry_attempts)
|
@@ -1578,6 +1879,14 @@ module Aws::Lambda
|
|
1578
1879
|
# Connection settings for an Amazon EFS file system.
|
1579
1880
|
# @return [Array<Types::FileSystemConfig>]
|
1580
1881
|
#
|
1882
|
+
# @!attribute [rw] signing_profile_version_arn
|
1883
|
+
# The ARN of the signing profile version.
|
1884
|
+
# @return [String]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] signing_job_arn
|
1887
|
+
# The ARN of the signing job.
|
1888
|
+
# @return [String]
|
1889
|
+
#
|
1581
1890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
1582
1891
|
#
|
1583
1892
|
class FunctionConfiguration < Struct.new(
|
@@ -1607,7 +1916,9 @@ module Aws::Lambda
|
|
1607
1916
|
:last_update_status,
|
1608
1917
|
:last_update_status_reason,
|
1609
1918
|
:last_update_status_reason_code,
|
1610
|
-
:file_system_configs
|
1919
|
+
:file_system_configs,
|
1920
|
+
:signing_profile_version_arn,
|
1921
|
+
:signing_job_arn)
|
1611
1922
|
SENSITIVE = []
|
1612
1923
|
include Aws::Structure
|
1613
1924
|
end
|
@@ -1718,6 +2029,38 @@ module Aws::Lambda
|
|
1718
2029
|
include Aws::Structure
|
1719
2030
|
end
|
1720
2031
|
|
2032
|
+
# @note When making an API call, you may pass GetCodeSigningConfigRequest
|
2033
|
+
# data as a hash:
|
2034
|
+
#
|
2035
|
+
# {
|
2036
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
2037
|
+
# }
|
2038
|
+
#
|
2039
|
+
# @!attribute [rw] code_signing_config_arn
|
2040
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
2041
|
+
# configuration.
|
2042
|
+
# @return [String]
|
2043
|
+
#
|
2044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfigRequest AWS API Documentation
|
2045
|
+
#
|
2046
|
+
class GetCodeSigningConfigRequest < Struct.new(
|
2047
|
+
:code_signing_config_arn)
|
2048
|
+
SENSITIVE = []
|
2049
|
+
include Aws::Structure
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
# @!attribute [rw] code_signing_config
|
2053
|
+
# The code signing configuration
|
2054
|
+
# @return [Types::CodeSigningConfig]
|
2055
|
+
#
|
2056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfigResponse AWS API Documentation
|
2057
|
+
#
|
2058
|
+
class GetCodeSigningConfigResponse < Struct.new(
|
2059
|
+
:code_signing_config)
|
2060
|
+
SENSITIVE = []
|
2061
|
+
include Aws::Structure
|
2062
|
+
end
|
2063
|
+
|
1721
2064
|
# @note When making an API call, you may pass GetEventSourceMappingRequest
|
1722
2065
|
# data as a hash:
|
1723
2066
|
#
|
@@ -1737,6 +2080,67 @@ module Aws::Lambda
|
|
1737
2080
|
include Aws::Structure
|
1738
2081
|
end
|
1739
2082
|
|
2083
|
+
# @note When making an API call, you may pass GetFunctionCodeSigningConfigRequest
|
2084
|
+
# data as a hash:
|
2085
|
+
#
|
2086
|
+
# {
|
2087
|
+
# function_name: "FunctionName", # required
|
2088
|
+
# }
|
2089
|
+
#
|
2090
|
+
# @!attribute [rw] function_name
|
2091
|
+
# The name of the Lambda function.
|
2092
|
+
#
|
2093
|
+
# **Name formats**
|
2094
|
+
#
|
2095
|
+
# * **Function name** - `MyFunction`.
|
2096
|
+
#
|
2097
|
+
# * **Function ARN** -
|
2098
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2099
|
+
#
|
2100
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2101
|
+
#
|
2102
|
+
# The length constraint applies only to the full ARN. If you specify
|
2103
|
+
# only the function name, it is limited to 64 characters in length.
|
2104
|
+
# @return [String]
|
2105
|
+
#
|
2106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfigRequest AWS API Documentation
|
2107
|
+
#
|
2108
|
+
class GetFunctionCodeSigningConfigRequest < Struct.new(
|
2109
|
+
:function_name)
|
2110
|
+
SENSITIVE = []
|
2111
|
+
include Aws::Structure
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
# @!attribute [rw] code_signing_config_arn
|
2115
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
2116
|
+
# configuration.
|
2117
|
+
# @return [String]
|
2118
|
+
#
|
2119
|
+
# @!attribute [rw] function_name
|
2120
|
+
# The name of the Lambda function.
|
2121
|
+
#
|
2122
|
+
# **Name formats**
|
2123
|
+
#
|
2124
|
+
# * **Function name** - `MyFunction`.
|
2125
|
+
#
|
2126
|
+
# * **Function ARN** -
|
2127
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
2128
|
+
#
|
2129
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
2130
|
+
#
|
2131
|
+
# The length constraint applies only to the full ARN. If you specify
|
2132
|
+
# only the function name, it is limited to 64 characters in length.
|
2133
|
+
# @return [String]
|
2134
|
+
#
|
2135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfigResponse AWS API Documentation
|
2136
|
+
#
|
2137
|
+
class GetFunctionCodeSigningConfigResponse < Struct.new(
|
2138
|
+
:code_signing_config_arn,
|
2139
|
+
:function_name)
|
2140
|
+
SENSITIVE = []
|
2141
|
+
include Aws::Structure
|
2142
|
+
end
|
2143
|
+
|
1740
2144
|
# @note When making an API call, you may pass GetFunctionConcurrencyRequest
|
1741
2145
|
# data as a hash:
|
1742
2146
|
#
|
@@ -2209,6 +2613,25 @@ module Aws::Lambda
|
|
2209
2613
|
include Aws::Structure
|
2210
2614
|
end
|
2211
2615
|
|
2616
|
+
# The code signature failed the integrity check. Lambda always blocks
|
2617
|
+
# deployment if the integrity check fails, even if code signing policy
|
2618
|
+
# is set to WARN.
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] type
|
2621
|
+
# @return [String]
|
2622
|
+
#
|
2623
|
+
# @!attribute [rw] message
|
2624
|
+
# @return [String]
|
2625
|
+
#
|
2626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidCodeSignatureException AWS API Documentation
|
2627
|
+
#
|
2628
|
+
class InvalidCodeSignatureException < Struct.new(
|
2629
|
+
:type,
|
2630
|
+
:message)
|
2631
|
+
SENSITIVE = []
|
2632
|
+
include Aws::Structure
|
2633
|
+
end
|
2634
|
+
|
2212
2635
|
# One of the parameters in the request is invalid.
|
2213
2636
|
#
|
2214
2637
|
# @!attribute [rw] type
|
@@ -2572,11 +2995,21 @@ module Aws::Lambda
|
|
2572
2995
|
# The size of the layer archive in bytes.
|
2573
2996
|
# @return [Integer]
|
2574
2997
|
#
|
2998
|
+
# @!attribute [rw] signing_profile_version_arn
|
2999
|
+
# The Amazon Resource Name (ARN) for a signing profile version.
|
3000
|
+
# @return [String]
|
3001
|
+
#
|
3002
|
+
# @!attribute [rw] signing_job_arn
|
3003
|
+
# The Amazon Resource Name (ARN) of a signing job.
|
3004
|
+
# @return [String]
|
3005
|
+
#
|
2575
3006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Layer AWS API Documentation
|
2576
3007
|
#
|
2577
3008
|
class Layer < Struct.new(
|
2578
3009
|
:arn,
|
2579
|
-
:code_size
|
3010
|
+
:code_size,
|
3011
|
+
:signing_profile_version_arn,
|
3012
|
+
:signing_job_arn)
|
2580
3013
|
SENSITIVE = []
|
2581
3014
|
include Aws::Structure
|
2582
3015
|
end
|
@@ -2647,12 +3080,22 @@ module Aws::Lambda
|
|
2647
3080
|
# The size of the layer archive in bytes.
|
2648
3081
|
# @return [Integer]
|
2649
3082
|
#
|
3083
|
+
# @!attribute [rw] signing_profile_version_arn
|
3084
|
+
# The Amazon Resource Name (ARN) for a signing profile version.
|
3085
|
+
# @return [String]
|
3086
|
+
#
|
3087
|
+
# @!attribute [rw] signing_job_arn
|
3088
|
+
# The Amazon Resource Name (ARN) of a signing job.
|
3089
|
+
# @return [String]
|
3090
|
+
#
|
2650
3091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionContentOutput AWS API Documentation
|
2651
3092
|
#
|
2652
3093
|
class LayerVersionContentOutput < Struct.new(
|
2653
3094
|
:location,
|
2654
3095
|
:code_sha_256,
|
2655
|
-
:code_size
|
3096
|
+
:code_size,
|
3097
|
+
:signing_profile_version_arn,
|
3098
|
+
:signing_job_arn)
|
2656
3099
|
SENSITIVE = []
|
2657
3100
|
include Aws::Structure
|
2658
3101
|
end
|
@@ -2797,6 +3240,49 @@ module Aws::Lambda
|
|
2797
3240
|
include Aws::Structure
|
2798
3241
|
end
|
2799
3242
|
|
3243
|
+
# @note When making an API call, you may pass ListCodeSigningConfigsRequest
|
3244
|
+
# data as a hash:
|
3245
|
+
#
|
3246
|
+
# {
|
3247
|
+
# marker: "String",
|
3248
|
+
# max_items: 1,
|
3249
|
+
# }
|
3250
|
+
#
|
3251
|
+
# @!attribute [rw] marker
|
3252
|
+
# Specify the pagination token that's returned by a previous request
|
3253
|
+
# to retrieve the next page of results.
|
3254
|
+
# @return [String]
|
3255
|
+
#
|
3256
|
+
# @!attribute [rw] max_items
|
3257
|
+
# Maximum number of items to return.
|
3258
|
+
# @return [Integer]
|
3259
|
+
#
|
3260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigsRequest AWS API Documentation
|
3261
|
+
#
|
3262
|
+
class ListCodeSigningConfigsRequest < Struct.new(
|
3263
|
+
:marker,
|
3264
|
+
:max_items)
|
3265
|
+
SENSITIVE = []
|
3266
|
+
include Aws::Structure
|
3267
|
+
end
|
3268
|
+
|
3269
|
+
# @!attribute [rw] next_marker
|
3270
|
+
# The pagination token that's included if more results are available.
|
3271
|
+
# @return [String]
|
3272
|
+
#
|
3273
|
+
# @!attribute [rw] code_signing_configs
|
3274
|
+
# The code signing configurations
|
3275
|
+
# @return [Array<Types::CodeSigningConfig>]
|
3276
|
+
#
|
3277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigsResponse AWS API Documentation
|
3278
|
+
#
|
3279
|
+
class ListCodeSigningConfigsResponse < Struct.new(
|
3280
|
+
:next_marker,
|
3281
|
+
:code_signing_configs)
|
3282
|
+
SENSITIVE = []
|
3283
|
+
include Aws::Structure
|
3284
|
+
end
|
3285
|
+
|
2800
3286
|
# @note When making an API call, you may pass ListEventSourceMappingsRequest
|
2801
3287
|
# data as a hash:
|
2802
3288
|
#
|
@@ -2938,6 +3424,56 @@ module Aws::Lambda
|
|
2938
3424
|
include Aws::Structure
|
2939
3425
|
end
|
2940
3426
|
|
3427
|
+
# @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
|
3428
|
+
# data as a hash:
|
3429
|
+
#
|
3430
|
+
# {
|
3431
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
3432
|
+
# marker: "String",
|
3433
|
+
# max_items: 1,
|
3434
|
+
# }
|
3435
|
+
#
|
3436
|
+
# @!attribute [rw] code_signing_config_arn
|
3437
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
3438
|
+
# configuration.
|
3439
|
+
# @return [String]
|
3440
|
+
#
|
3441
|
+
# @!attribute [rw] marker
|
3442
|
+
# Specify the pagination token that's returned by a previous request
|
3443
|
+
# to retrieve the next page of results.
|
3444
|
+
# @return [String]
|
3445
|
+
#
|
3446
|
+
# @!attribute [rw] max_items
|
3447
|
+
# Maximum number of items to return.
|
3448
|
+
# @return [Integer]
|
3449
|
+
#
|
3450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfigRequest AWS API Documentation
|
3451
|
+
#
|
3452
|
+
class ListFunctionsByCodeSigningConfigRequest < Struct.new(
|
3453
|
+
:code_signing_config_arn,
|
3454
|
+
:marker,
|
3455
|
+
:max_items)
|
3456
|
+
SENSITIVE = []
|
3457
|
+
include Aws::Structure
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# @!attribute [rw] next_marker
|
3461
|
+
# The pagination token that's included if more results are available.
|
3462
|
+
# @return [String]
|
3463
|
+
#
|
3464
|
+
# @!attribute [rw] function_arns
|
3465
|
+
# The function ARNs.
|
3466
|
+
# @return [Array<String>]
|
3467
|
+
#
|
3468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfigResponse AWS API Documentation
|
3469
|
+
#
|
3470
|
+
class ListFunctionsByCodeSigningConfigResponse < Struct.new(
|
3471
|
+
:next_marker,
|
3472
|
+
:function_arns)
|
3473
|
+
SENSITIVE = []
|
3474
|
+
include Aws::Structure
|
3475
|
+
end
|
3476
|
+
|
2941
3477
|
# @note When making an API call, you may pass ListFunctionsRequest
|
2942
3478
|
# data as a hash:
|
2943
3479
|
#
|
@@ -3581,6 +4117,74 @@ module Aws::Lambda
|
|
3581
4117
|
include Aws::Structure
|
3582
4118
|
end
|
3583
4119
|
|
4120
|
+
# @note When making an API call, you may pass PutFunctionCodeSigningConfigRequest
|
4121
|
+
# data as a hash:
|
4122
|
+
#
|
4123
|
+
# {
|
4124
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
4125
|
+
# function_name: "FunctionName", # required
|
4126
|
+
# }
|
4127
|
+
#
|
4128
|
+
# @!attribute [rw] code_signing_config_arn
|
4129
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
4130
|
+
# configuration.
|
4131
|
+
# @return [String]
|
4132
|
+
#
|
4133
|
+
# @!attribute [rw] function_name
|
4134
|
+
# The name of the Lambda function.
|
4135
|
+
#
|
4136
|
+
# **Name formats**
|
4137
|
+
#
|
4138
|
+
# * **Function name** - `MyFunction`.
|
4139
|
+
#
|
4140
|
+
# * **Function ARN** -
|
4141
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4142
|
+
#
|
4143
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
4144
|
+
#
|
4145
|
+
# The length constraint applies only to the full ARN. If you specify
|
4146
|
+
# only the function name, it is limited to 64 characters in length.
|
4147
|
+
# @return [String]
|
4148
|
+
#
|
4149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfigRequest AWS API Documentation
|
4150
|
+
#
|
4151
|
+
class PutFunctionCodeSigningConfigRequest < Struct.new(
|
4152
|
+
:code_signing_config_arn,
|
4153
|
+
:function_name)
|
4154
|
+
SENSITIVE = []
|
4155
|
+
include Aws::Structure
|
4156
|
+
end
|
4157
|
+
|
4158
|
+
# @!attribute [rw] code_signing_config_arn
|
4159
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
4160
|
+
# configuration.
|
4161
|
+
# @return [String]
|
4162
|
+
#
|
4163
|
+
# @!attribute [rw] function_name
|
4164
|
+
# The name of the Lambda function.
|
4165
|
+
#
|
4166
|
+
# **Name formats**
|
4167
|
+
#
|
4168
|
+
# * **Function name** - `MyFunction`.
|
4169
|
+
#
|
4170
|
+
# * **Function ARN** -
|
4171
|
+
# `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
|
4172
|
+
#
|
4173
|
+
# * **Partial ARN** - `123456789012:function:MyFunction`.
|
4174
|
+
#
|
4175
|
+
# The length constraint applies only to the full ARN. If you specify
|
4176
|
+
# only the function name, it is limited to 64 characters in length.
|
4177
|
+
# @return [String]
|
4178
|
+
#
|
4179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfigResponse AWS API Documentation
|
4180
|
+
#
|
4181
|
+
class PutFunctionCodeSigningConfigResponse < Struct.new(
|
4182
|
+
:code_signing_config_arn,
|
4183
|
+
:function_name)
|
4184
|
+
SENSITIVE = []
|
4185
|
+
include Aws::Structure
|
4186
|
+
end
|
4187
|
+
|
3584
4188
|
# @note When making an API call, you may pass PutFunctionConcurrencyRequest
|
3585
4189
|
# data as a hash:
|
3586
4190
|
#
|
@@ -3991,6 +4595,47 @@ module Aws::Lambda
|
|
3991
4595
|
include Aws::Structure
|
3992
4596
|
end
|
3993
4597
|
|
4598
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
4599
|
+
# To store your secret, use the following format: ` \{ "username": "your
|
4600
|
+
# username", "password": "your password" \}`
|
4601
|
+
#
|
4602
|
+
# @note When making an API call, you may pass SourceAccessConfiguration
|
4603
|
+
# data as a hash:
|
4604
|
+
#
|
4605
|
+
# {
|
4606
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4607
|
+
# uri: "Arn",
|
4608
|
+
# }
|
4609
|
+
#
|
4610
|
+
# @!attribute [rw] type
|
4611
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
4612
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
4613
|
+
#
|
4614
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4615
|
+
# you can use customer or service managed keys. When using a customer
|
4616
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4617
|
+
# permissions.
|
4618
|
+
# @return [String]
|
4619
|
+
#
|
4620
|
+
# @!attribute [rw] uri
|
4621
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
4622
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
4623
|
+
#
|
4624
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4625
|
+
# you can use customer or service managed keys. When using a customer
|
4626
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4627
|
+
# permissions.
|
4628
|
+
# @return [String]
|
4629
|
+
#
|
4630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
|
4631
|
+
#
|
4632
|
+
class SourceAccessConfiguration < Struct.new(
|
4633
|
+
:type,
|
4634
|
+
:uri)
|
4635
|
+
SENSITIVE = []
|
4636
|
+
include Aws::Structure
|
4637
|
+
end
|
4638
|
+
|
3994
4639
|
# AWS Lambda was not able to set up VPC access for the Lambda function
|
3995
4640
|
# because one or more configured subnets has no available IP addresses.
|
3996
4641
|
#
|
@@ -4211,6 +4856,60 @@ module Aws::Lambda
|
|
4211
4856
|
include Aws::Structure
|
4212
4857
|
end
|
4213
4858
|
|
4859
|
+
# @note When making an API call, you may pass UpdateCodeSigningConfigRequest
|
4860
|
+
# data as a hash:
|
4861
|
+
#
|
4862
|
+
# {
|
4863
|
+
# code_signing_config_arn: "CodeSigningConfigArn", # required
|
4864
|
+
# description: "Description",
|
4865
|
+
# allowed_publishers: {
|
4866
|
+
# signing_profile_version_arns: ["Arn"], # required
|
4867
|
+
# },
|
4868
|
+
# code_signing_policies: {
|
4869
|
+
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
|
4870
|
+
# },
|
4871
|
+
# }
|
4872
|
+
#
|
4873
|
+
# @!attribute [rw] code_signing_config_arn
|
4874
|
+
# The The Amazon Resource Name (ARN) of the code signing
|
4875
|
+
# configuration.
|
4876
|
+
# @return [String]
|
4877
|
+
#
|
4878
|
+
# @!attribute [rw] description
|
4879
|
+
# Descriptive name for this code signing configuration.
|
4880
|
+
# @return [String]
|
4881
|
+
#
|
4882
|
+
# @!attribute [rw] allowed_publishers
|
4883
|
+
# Signing profiles for this code signing configuration.
|
4884
|
+
# @return [Types::AllowedPublishers]
|
4885
|
+
#
|
4886
|
+
# @!attribute [rw] code_signing_policies
|
4887
|
+
# The code signing policy.
|
4888
|
+
# @return [Types::CodeSigningPolicies]
|
4889
|
+
#
|
4890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfigRequest AWS API Documentation
|
4891
|
+
#
|
4892
|
+
class UpdateCodeSigningConfigRequest < Struct.new(
|
4893
|
+
:code_signing_config_arn,
|
4894
|
+
:description,
|
4895
|
+
:allowed_publishers,
|
4896
|
+
:code_signing_policies)
|
4897
|
+
SENSITIVE = []
|
4898
|
+
include Aws::Structure
|
4899
|
+
end
|
4900
|
+
|
4901
|
+
# @!attribute [rw] code_signing_config
|
4902
|
+
# The code signing configuration
|
4903
|
+
# @return [Types::CodeSigningConfig]
|
4904
|
+
#
|
4905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfigResponse AWS API Documentation
|
4906
|
+
#
|
4907
|
+
class UpdateCodeSigningConfigResponse < Struct.new(
|
4908
|
+
:code_signing_config)
|
4909
|
+
SENSITIVE = []
|
4910
|
+
include Aws::Structure
|
4911
|
+
end
|
4912
|
+
|
4214
4913
|
# @note When making an API call, you may pass UpdateEventSourceMappingRequest
|
4215
4914
|
# data as a hash:
|
4216
4915
|
#
|
@@ -4232,6 +4931,12 @@ module Aws::Lambda
|
|
4232
4931
|
# bisect_batch_on_function_error: false,
|
4233
4932
|
# maximum_retry_attempts: 1,
|
4234
4933
|
# parallelization_factor: 1,
|
4934
|
+
# source_access_configurations: [
|
4935
|
+
# {
|
4936
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4937
|
+
# uri: "Arn",
|
4938
|
+
# },
|
4939
|
+
# ],
|
4235
4940
|
# }
|
4236
4941
|
#
|
4237
4942
|
# @!attribute [rw] uuid
|
@@ -4306,6 +5011,20 @@ module Aws::Lambda
|
|
4306
5011
|
# concurrently.
|
4307
5012
|
# @return [Integer]
|
4308
5013
|
#
|
5014
|
+
# @!attribute [rw] source_access_configurations
|
5015
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
5016
|
+
# To store your secret, use the following format: ` \{ "username":
|
5017
|
+
# "your username", "password": "your password" \}`
|
5018
|
+
#
|
5019
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
5020
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
5021
|
+
#
|
5022
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
5023
|
+
# you can use customer or service managed keys. When using a customer
|
5024
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
5025
|
+
# permissions.
|
5026
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
5027
|
+
#
|
4309
5028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
4310
5029
|
#
|
4311
5030
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -4318,7 +5037,8 @@ module Aws::Lambda
|
|
4318
5037
|
:maximum_record_age_in_seconds,
|
4319
5038
|
:bisect_batch_on_function_error,
|
4320
5039
|
:maximum_retry_attempts,
|
4321
|
-
:parallelization_factor
|
5040
|
+
:parallelization_factor,
|
5041
|
+
:source_access_configurations)
|
4322
5042
|
SENSITIVE = []
|
4323
5043
|
include Aws::Structure
|
4324
5044
|
end
|