aws-sdk-lambda 1.48.0 → 1.53.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 +3 -2
- data/lib/aws-sdk-lambda/client.rb +129 -16
- data/lib/aws-sdk-lambda/client_api.rb +20 -0
- data/lib/aws-sdk-lambda/types.rb +134 -10
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70078dd67659e21cbea7f9f1b66704815c8aa15de85aaeb53112908315cabd38
|
4
|
+
data.tar.gz: d7c33760b4d483cf4e086af86224f91a373c91cb534d7c703171d2ca6bbf15be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a293f20ae9e9af1011fb603e4b22230e9034f6dbd1fe540797edb836e1920345baf28ea14fba9ec644fc9a03e53665ddff10aa6e429195fc53fae6b90edd22eb
|
7
|
+
data.tar.gz: 45fdfebd416512f8d24c104ebb31ce41c7689841b419d9de8414ec1adfaaebb1ebbc3c08bf29244a5568b460e4b89b01bb66dbbeb2c8ecafd5dec9a145a77cc8
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-lambda/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::Lambda
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.53.0'
|
52
53
|
|
53
54
|
end
|
@@ -85,13 +85,28 @@ module Aws::Lambda
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Lambda
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -660,7 +675,9 @@ module Aws::Lambda
|
|
660
675
|
#
|
661
676
|
# * [Using AWS Lambda with Amazon SQS][3]
|
662
677
|
#
|
663
|
-
# * [Using AWS Lambda with Amazon
|
678
|
+
# * [Using AWS Lambda with Amazon MQ][4]
|
679
|
+
#
|
680
|
+
# * [Using AWS Lambda with Amazon MSK][5]
|
664
681
|
#
|
665
682
|
# The following error handling options are only available for stream
|
666
683
|
# sources (DynamoDB and Kinesis):
|
@@ -672,11 +689,12 @@ module Aws::Lambda
|
|
672
689
|
# or Amazon SNS topic.
|
673
690
|
#
|
674
691
|
# * `MaximumRecordAgeInSeconds` - Discard records older than the
|
675
|
-
# specified age.
|
692
|
+
# specified age. The default value is infinite (-1). When set to
|
693
|
+
# infinite (-1), failed records are retried until the record expires
|
676
694
|
#
|
677
695
|
# * `MaximumRetryAttempts` - Discard records after the specified number
|
678
|
-
# of retries.
|
679
|
-
#
|
696
|
+
# of retries. The default value is infinite (-1). When set to infinite
|
697
|
+
# (-1), failed records are retried until the record expires.
|
680
698
|
#
|
681
699
|
# * `ParallelizationFactor` - Process multiple batches from each shard
|
682
700
|
# concurrently.
|
@@ -686,7 +704,8 @@ module Aws::Lambda
|
|
686
704
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
|
687
705
|
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
|
688
706
|
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
|
689
|
-
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
707
|
+
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html
|
708
|
+
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
|
690
709
|
#
|
691
710
|
# @option params [required, String] :event_source_arn
|
692
711
|
# The Amazon Resource Name (ARN) of the event source.
|
@@ -772,9 +791,27 @@ module Aws::Lambda
|
|
772
791
|
# @option params [Array<String>] :topics
|
773
792
|
# (MSK) The name of the Kafka topic.
|
774
793
|
#
|
794
|
+
# @option params [Array<String>] :queues
|
795
|
+
# (MQ) The name of the Amazon MQ broker destination queue to consume.
|
796
|
+
#
|
797
|
+
# @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
|
798
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
799
|
+
# To store your secret, use the following format: ` \{ "username": "your
|
800
|
+
# username", "password": "your password" \}`
|
801
|
+
#
|
802
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
803
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
804
|
+
#
|
805
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
|
806
|
+
# can use customer or service managed keys. When using a customer
|
807
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
808
|
+
# permissions.
|
809
|
+
#
|
775
810
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
776
811
|
#
|
777
812
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
813
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
814
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
778
815
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
779
816
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
780
817
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -786,6 +823,8 @@ module Aws::Lambda
|
|
786
823
|
# * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
|
787
824
|
# * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
|
788
825
|
# * {Types::EventSourceMappingConfiguration#topics #topics} => Array<String>
|
826
|
+
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
827
|
+
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
789
828
|
# * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
|
790
829
|
# * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
|
791
830
|
# * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
|
@@ -835,11 +874,20 @@ module Aws::Lambda
|
|
835
874
|
# bisect_batch_on_function_error: false,
|
836
875
|
# maximum_retry_attempts: 1,
|
837
876
|
# topics: ["Topic"],
|
877
|
+
# queues: ["Queue"],
|
878
|
+
# source_access_configurations: [
|
879
|
+
# {
|
880
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
881
|
+
# uri: "Arn",
|
882
|
+
# },
|
883
|
+
# ],
|
838
884
|
# })
|
839
885
|
#
|
840
886
|
# @example Response structure
|
841
887
|
#
|
842
888
|
# resp.uuid #=> String
|
889
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
890
|
+
# resp.starting_position_timestamp #=> Time
|
843
891
|
# resp.batch_size #=> Integer
|
844
892
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
845
893
|
# resp.parallelization_factor #=> Integer
|
@@ -853,6 +901,11 @@ module Aws::Lambda
|
|
853
901
|
# resp.destination_config.on_failure.destination #=> String
|
854
902
|
# resp.topics #=> Array
|
855
903
|
# resp.topics[0] #=> String
|
904
|
+
# resp.queues #=> Array
|
905
|
+
# resp.queues[0] #=> String
|
906
|
+
# resp.source_access_configurations #=> Array
|
907
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
|
908
|
+
# resp.source_access_configurations[0].uri #=> String
|
856
909
|
# resp.maximum_record_age_in_seconds #=> Integer
|
857
910
|
# resp.bisect_batch_on_function_error #=> Boolean
|
858
911
|
# resp.maximum_retry_attempts #=> Integer
|
@@ -1273,6 +1326,8 @@ module Aws::Lambda
|
|
1273
1326
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1274
1327
|
#
|
1275
1328
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
1329
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
1330
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
1276
1331
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
1277
1332
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1278
1333
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -1284,6 +1339,8 @@ module Aws::Lambda
|
|
1284
1339
|
# * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
|
1285
1340
|
# * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
|
1286
1341
|
# * {Types::EventSourceMappingConfiguration#topics #topics} => Array<String>
|
1342
|
+
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
1343
|
+
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
1287
1344
|
# * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
|
1288
1345
|
# * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
|
1289
1346
|
# * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
|
@@ -1317,6 +1374,8 @@ module Aws::Lambda
|
|
1317
1374
|
# @example Response structure
|
1318
1375
|
#
|
1319
1376
|
# resp.uuid #=> String
|
1377
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
1378
|
+
# resp.starting_position_timestamp #=> Time
|
1320
1379
|
# resp.batch_size #=> Integer
|
1321
1380
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1322
1381
|
# resp.parallelization_factor #=> Integer
|
@@ -1330,6 +1389,11 @@ module Aws::Lambda
|
|
1330
1389
|
# resp.destination_config.on_failure.destination #=> String
|
1331
1390
|
# resp.topics #=> Array
|
1332
1391
|
# resp.topics[0] #=> String
|
1392
|
+
# resp.queues #=> Array
|
1393
|
+
# resp.queues[0] #=> String
|
1394
|
+
# resp.source_access_configurations #=> Array
|
1395
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
|
1396
|
+
# resp.source_access_configurations[0].uri #=> String
|
1333
1397
|
# resp.maximum_record_age_in_seconds #=> Integer
|
1334
1398
|
# resp.bisect_batch_on_function_error #=> Boolean
|
1335
1399
|
# resp.maximum_retry_attempts #=> Integer
|
@@ -1731,6 +1795,8 @@ module Aws::Lambda
|
|
1731
1795
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1732
1796
|
#
|
1733
1797
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
1798
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
1799
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
1734
1800
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
1735
1801
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1736
1802
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -1742,6 +1808,8 @@ module Aws::Lambda
|
|
1742
1808
|
# * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
|
1743
1809
|
# * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
|
1744
1810
|
# * {Types::EventSourceMappingConfiguration#topics #topics} => Array<String>
|
1811
|
+
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
1812
|
+
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
1745
1813
|
# * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
|
1746
1814
|
# * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
|
1747
1815
|
# * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
|
@@ -1782,6 +1850,8 @@ module Aws::Lambda
|
|
1782
1850
|
# @example Response structure
|
1783
1851
|
#
|
1784
1852
|
# resp.uuid #=> String
|
1853
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
1854
|
+
# resp.starting_position_timestamp #=> Time
|
1785
1855
|
# resp.batch_size #=> Integer
|
1786
1856
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1787
1857
|
# resp.parallelization_factor #=> Integer
|
@@ -1795,6 +1865,11 @@ module Aws::Lambda
|
|
1795
1865
|
# resp.destination_config.on_failure.destination #=> String
|
1796
1866
|
# resp.topics #=> Array
|
1797
1867
|
# resp.topics[0] #=> String
|
1868
|
+
# resp.queues #=> Array
|
1869
|
+
# resp.queues[0] #=> String
|
1870
|
+
# resp.source_access_configurations #=> Array
|
1871
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
|
1872
|
+
# resp.source_access_configurations[0].uri #=> String
|
1798
1873
|
# resp.maximum_record_age_in_seconds #=> Integer
|
1799
1874
|
# resp.bisect_batch_on_function_error #=> Boolean
|
1800
1875
|
# resp.maximum_retry_attempts #=> Integer
|
@@ -3033,6 +3108,8 @@ module Aws::Lambda
|
|
3033
3108
|
# resp.next_marker #=> String
|
3034
3109
|
# resp.event_source_mappings #=> Array
|
3035
3110
|
# resp.event_source_mappings[0].uuid #=> String
|
3111
|
+
# resp.event_source_mappings[0].starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
3112
|
+
# resp.event_source_mappings[0].starting_position_timestamp #=> Time
|
3036
3113
|
# resp.event_source_mappings[0].batch_size #=> Integer
|
3037
3114
|
# resp.event_source_mappings[0].maximum_batching_window_in_seconds #=> Integer
|
3038
3115
|
# resp.event_source_mappings[0].parallelization_factor #=> Integer
|
@@ -3046,6 +3123,11 @@ module Aws::Lambda
|
|
3046
3123
|
# resp.event_source_mappings[0].destination_config.on_failure.destination #=> String
|
3047
3124
|
# resp.event_source_mappings[0].topics #=> Array
|
3048
3125
|
# resp.event_source_mappings[0].topics[0] #=> String
|
3126
|
+
# resp.event_source_mappings[0].queues #=> Array
|
3127
|
+
# resp.event_source_mappings[0].queues[0] #=> String
|
3128
|
+
# resp.event_source_mappings[0].source_access_configurations #=> Array
|
3129
|
+
# resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
|
3130
|
+
# resp.event_source_mappings[0].source_access_configurations[0].uri #=> String
|
3049
3131
|
# resp.event_source_mappings[0].maximum_record_age_in_seconds #=> Integer
|
3050
3132
|
# resp.event_source_mappings[0].bisect_batch_on_function_error #=> Boolean
|
3051
3133
|
# resp.event_source_mappings[0].maximum_retry_attempts #=> Integer
|
@@ -4710,11 +4792,12 @@ module Aws::Lambda
|
|
4710
4792
|
# or Amazon SNS topic.
|
4711
4793
|
#
|
4712
4794
|
# * `MaximumRecordAgeInSeconds` - Discard records older than the
|
4713
|
-
# specified age.
|
4795
|
+
# specified age. The default value is infinite (-1). When set to
|
4796
|
+
# infinite (-1), failed records are retried until the record expires
|
4714
4797
|
#
|
4715
4798
|
# * `MaximumRetryAttempts` - Discard records after the specified number
|
4716
|
-
# of retries.
|
4717
|
-
#
|
4799
|
+
# of retries. The default value is infinite (-1). When set to infinite
|
4800
|
+
# (-1), failed records are retried until the record expires.
|
4718
4801
|
#
|
4719
4802
|
# * `ParallelizationFactor` - Process multiple batches from each shard
|
4720
4803
|
# concurrently.
|
@@ -4781,9 +4864,24 @@ module Aws::Lambda
|
|
4781
4864
|
# (Streams) The number of batches to process from each shard
|
4782
4865
|
# concurrently.
|
4783
4866
|
#
|
4867
|
+
# @option params [Array<Types::SourceAccessConfiguration>] :source_access_configurations
|
4868
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
4869
|
+
# To store your secret, use the following format: ` \{ "username": "your
|
4870
|
+
# username", "password": "your password" \}`
|
4871
|
+
#
|
4872
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
4873
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
4874
|
+
#
|
4875
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret, you
|
4876
|
+
# can use customer or service managed keys. When using a customer
|
4877
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4878
|
+
# permissions.
|
4879
|
+
#
|
4784
4880
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4785
4881
|
#
|
4786
4882
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
4883
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
4884
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
4787
4885
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
4788
4886
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
4789
4887
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -4795,6 +4893,8 @@ module Aws::Lambda
|
|
4795
4893
|
# * {Types::EventSourceMappingConfiguration#state_transition_reason #state_transition_reason} => String
|
4796
4894
|
# * {Types::EventSourceMappingConfiguration#destination_config #destination_config} => Types::DestinationConfig
|
4797
4895
|
# * {Types::EventSourceMappingConfiguration#topics #topics} => Array<String>
|
4896
|
+
# * {Types::EventSourceMappingConfiguration#queues #queues} => Array<String>
|
4897
|
+
# * {Types::EventSourceMappingConfiguration#source_access_configurations #source_access_configurations} => Array<Types::SourceAccessConfiguration>
|
4798
4898
|
# * {Types::EventSourceMappingConfiguration#maximum_record_age_in_seconds #maximum_record_age_in_seconds} => Integer
|
4799
4899
|
# * {Types::EventSourceMappingConfiguration#bisect_batch_on_function_error #bisect_batch_on_function_error} => Boolean
|
4800
4900
|
# * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
|
@@ -4843,11 +4943,19 @@ module Aws::Lambda
|
|
4843
4943
|
# bisect_batch_on_function_error: false,
|
4844
4944
|
# maximum_retry_attempts: 1,
|
4845
4945
|
# parallelization_factor: 1,
|
4946
|
+
# source_access_configurations: [
|
4947
|
+
# {
|
4948
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4949
|
+
# uri: "Arn",
|
4950
|
+
# },
|
4951
|
+
# ],
|
4846
4952
|
# })
|
4847
4953
|
#
|
4848
4954
|
# @example Response structure
|
4849
4955
|
#
|
4850
4956
|
# resp.uuid #=> String
|
4957
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
4958
|
+
# resp.starting_position_timestamp #=> Time
|
4851
4959
|
# resp.batch_size #=> Integer
|
4852
4960
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
4853
4961
|
# resp.parallelization_factor #=> Integer
|
@@ -4861,6 +4969,11 @@ module Aws::Lambda
|
|
4861
4969
|
# resp.destination_config.on_failure.destination #=> String
|
4862
4970
|
# resp.topics #=> Array
|
4863
4971
|
# resp.topics[0] #=> String
|
4972
|
+
# resp.queues #=> Array
|
4973
|
+
# resp.queues[0] #=> String
|
4974
|
+
# resp.source_access_configurations #=> Array
|
4975
|
+
# resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH"
|
4976
|
+
# resp.source_access_configurations[0].uri #=> String
|
4864
4977
|
# resp.maximum_record_age_in_seconds #=> Integer
|
4865
4978
|
# resp.bisect_batch_on_function_error #=> Boolean
|
4866
4979
|
# resp.maximum_retry_attempts #=> Integer
|
@@ -5449,7 +5562,7 @@ module Aws::Lambda
|
|
5449
5562
|
params: params,
|
5450
5563
|
config: config)
|
5451
5564
|
context[:gem_name] = 'aws-sdk-lambda'
|
5452
|
-
context[:gem_version] = '1.
|
5565
|
+
context[:gem_version] = '1.53.0'
|
5453
5566
|
Seahorse::Client::Request.new(handlers, context)
|
5454
5567
|
end
|
5455
5568
|
|
@@ -194,6 +194,8 @@ module Aws::Lambda
|
|
194
194
|
PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
|
195
195
|
PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
|
196
196
|
Qualifier = Shapes::StringShape.new(name: 'Qualifier')
|
197
|
+
Queue = Shapes::StringShape.new(name: 'Queue')
|
198
|
+
Queues = Shapes::ListShape.new(name: 'Queues')
|
197
199
|
RemoveLayerVersionPermissionRequest = Shapes::StructureShape.new(name: 'RemoveLayerVersionPermissionRequest')
|
198
200
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
199
201
|
RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
|
@@ -212,6 +214,9 @@ module Aws::Lambda
|
|
212
214
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
213
215
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
214
216
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
217
|
+
SourceAccessConfiguration = Shapes::StructureShape.new(name: 'SourceAccessConfiguration')
|
218
|
+
SourceAccessConfigurations = Shapes::ListShape.new(name: 'SourceAccessConfigurations')
|
219
|
+
SourceAccessType = Shapes::StringShape.new(name: 'SourceAccessType')
|
215
220
|
SourceOwner = Shapes::StringShape.new(name: 'SourceOwner')
|
216
221
|
State = Shapes::StringShape.new(name: 'State')
|
217
222
|
StateReason = Shapes::StringShape.new(name: 'StateReason')
|
@@ -332,6 +337,8 @@ module Aws::Lambda
|
|
332
337
|
CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
333
338
|
CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
334
339
|
CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
|
340
|
+
CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
341
|
+
CreateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
335
342
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
336
343
|
|
337
344
|
CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
@@ -434,6 +441,8 @@ module Aws::Lambda
|
|
434
441
|
EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
|
435
442
|
|
436
443
|
EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
|
444
|
+
EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
445
|
+
EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
|
437
446
|
EventSourceMappingConfiguration.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
438
447
|
EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
439
448
|
EventSourceMappingConfiguration.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
@@ -445,6 +454,8 @@ module Aws::Lambda
|
|
445
454
|
EventSourceMappingConfiguration.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateTransitionReason"))
|
446
455
|
EventSourceMappingConfiguration.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
447
456
|
EventSourceMappingConfiguration.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
|
457
|
+
EventSourceMappingConfiguration.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
458
|
+
EventSourceMappingConfiguration.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
448
459
|
EventSourceMappingConfiguration.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
449
460
|
EventSourceMappingConfiguration.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
450
461
|
EventSourceMappingConfiguration.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
@@ -852,6 +863,8 @@ module Aws::Lambda
|
|
852
863
|
PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
853
864
|
PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
|
854
865
|
|
866
|
+
Queues.member = Shapes::ShapeRef.new(shape: Queue)
|
867
|
+
|
855
868
|
RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
856
869
|
RemoveLayerVersionPermissionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
|
857
870
|
RemoveLayerVersionPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
|
@@ -890,6 +903,12 @@ module Aws::Lambda
|
|
890
903
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
891
904
|
ServiceException.struct_class = Types::ServiceException
|
892
905
|
|
906
|
+
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"))
|
908
|
+
SourceAccessConfiguration.struct_class = Types::SourceAccessConfiguration
|
909
|
+
|
910
|
+
SourceAccessConfigurations.member = Shapes::ShapeRef.new(shape: SourceAccessConfiguration)
|
911
|
+
|
893
912
|
SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
894
913
|
SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
895
914
|
SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
|
@@ -945,6 +964,7 @@ module Aws::Lambda
|
|
945
964
|
UpdateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
946
965
|
UpdateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
947
966
|
UpdateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
967
|
+
UpdateEventSourceMappingRequest.add_member(:source_access_configurations, Shapes::ShapeRef.new(shape: SourceAccessConfigurations, location_name: "SourceAccessConfigurations"))
|
948
968
|
UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
|
949
969
|
|
950
970
|
UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -454,6 +454,13 @@ module Aws::Lambda
|
|
454
454
|
# bisect_batch_on_function_error: false,
|
455
455
|
# maximum_retry_attempts: 1,
|
456
456
|
# topics: ["Topic"],
|
457
|
+
# queues: ["Queue"],
|
458
|
+
# source_access_configurations: [
|
459
|
+
# {
|
460
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
461
|
+
# uri: "Arn",
|
462
|
+
# },
|
463
|
+
# ],
|
457
464
|
# }
|
458
465
|
#
|
459
466
|
# @!attribute [rw] event_source_arn
|
@@ -553,6 +560,24 @@ module Aws::Lambda
|
|
553
560
|
# (MSK) The name of the Kafka topic.
|
554
561
|
# @return [Array<String>]
|
555
562
|
#
|
563
|
+
# @!attribute [rw] queues
|
564
|
+
# (MQ) The name of the Amazon MQ broker destination queue to consume.
|
565
|
+
# @return [Array<String>]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] source_access_configurations
|
568
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
569
|
+
# To store your secret, use the following format: ` \{ "username":
|
570
|
+
# "your username", "password": "your password" \}`
|
571
|
+
#
|
572
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
573
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
574
|
+
#
|
575
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
576
|
+
# you can use customer or service managed keys. When using a customer
|
577
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
578
|
+
# permissions.
|
579
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
580
|
+
#
|
556
581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
557
582
|
#
|
558
583
|
class CreateEventSourceMappingRequest < Struct.new(
|
@@ -568,7 +593,9 @@ module Aws::Lambda
|
|
568
593
|
:maximum_record_age_in_seconds,
|
569
594
|
:bisect_batch_on_function_error,
|
570
595
|
:maximum_retry_attempts,
|
571
|
-
:topics
|
596
|
+
:topics,
|
597
|
+
:queues,
|
598
|
+
:source_access_configurations)
|
572
599
|
SENSITIVE = []
|
573
600
|
include Aws::Structure
|
574
601
|
end
|
@@ -1271,18 +1298,29 @@ module Aws::Lambda
|
|
1271
1298
|
# The identifier of the event source mapping.
|
1272
1299
|
# @return [String]
|
1273
1300
|
#
|
1301
|
+
# @!attribute [rw] starting_position
|
1302
|
+
# The position in a stream from which to start reading. Required for
|
1303
|
+
# Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
|
1304
|
+
# `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
|
1305
|
+
# @return [String]
|
1306
|
+
#
|
1307
|
+
# @!attribute [rw] starting_position_timestamp
|
1308
|
+
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
1309
|
+
# to start reading.
|
1310
|
+
# @return [Time]
|
1311
|
+
#
|
1274
1312
|
# @!attribute [rw] batch_size
|
1275
1313
|
# The maximum number of items to retrieve in a single batch.
|
1276
1314
|
# @return [Integer]
|
1277
1315
|
#
|
1278
1316
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
1279
1317
|
# (Streams) The maximum amount of time to gather records before
|
1280
|
-
# invoking the function, in seconds.
|
1318
|
+
# invoking the function, in seconds. The default value is zero.
|
1281
1319
|
# @return [Integer]
|
1282
1320
|
#
|
1283
1321
|
# @!attribute [rw] parallelization_factor
|
1284
1322
|
# (Streams) The number of batches to process from each shard
|
1285
|
-
# concurrently.
|
1323
|
+
# concurrently. The default value is 1.
|
1286
1324
|
# @return [Integer]
|
1287
1325
|
#
|
1288
1326
|
# @!attribute [rw] event_source_arn
|
@@ -1320,28 +1358,50 @@ module Aws::Lambda
|
|
1320
1358
|
# @return [Types::DestinationConfig]
|
1321
1359
|
#
|
1322
1360
|
# @!attribute [rw] topics
|
1323
|
-
# (MSK) The name of the Kafka topic.
|
1361
|
+
# (MSK) The name of the Kafka topic to consume.
|
1324
1362
|
# @return [Array<String>]
|
1325
1363
|
#
|
1364
|
+
# @!attribute [rw] queues
|
1365
|
+
# (MQ) The name of the Amazon MQ broker destination queue to consume.
|
1366
|
+
# @return [Array<String>]
|
1367
|
+
#
|
1368
|
+
# @!attribute [rw] source_access_configurations
|
1369
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
1370
|
+
# To store your secret, use the following format: ` \{ "username":
|
1371
|
+
# "your username", "password": "your password" \}`
|
1372
|
+
#
|
1373
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
1374
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
1375
|
+
#
|
1376
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
1377
|
+
# you can use customer or service managed keys. When using a customer
|
1378
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
1379
|
+
# permissions.
|
1380
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
1381
|
+
#
|
1326
1382
|
# @!attribute [rw] maximum_record_age_in_seconds
|
1327
|
-
# (Streams)
|
1328
|
-
#
|
1383
|
+
# (Streams) Discard records older than the specified age. The default
|
1384
|
+
# value is infinite (-1). When set to infinite (-1), failed records
|
1385
|
+
# are retried until the record expires.
|
1329
1386
|
# @return [Integer]
|
1330
1387
|
#
|
1331
1388
|
# @!attribute [rw] bisect_batch_on_function_error
|
1332
1389
|
# (Streams) If the function returns an error, split the batch in two
|
1333
|
-
# and retry.
|
1390
|
+
# and retry. The default value is false.
|
1334
1391
|
# @return [Boolean]
|
1335
1392
|
#
|
1336
1393
|
# @!attribute [rw] maximum_retry_attempts
|
1337
|
-
# (Streams)
|
1338
|
-
#
|
1394
|
+
# (Streams) Discard records after the specified number of retries. The
|
1395
|
+
# default value is infinite (-1). When set to infinite (-1), failed
|
1396
|
+
# records are retried until the record expires.
|
1339
1397
|
# @return [Integer]
|
1340
1398
|
#
|
1341
1399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
1342
1400
|
#
|
1343
1401
|
class EventSourceMappingConfiguration < Struct.new(
|
1344
1402
|
:uuid,
|
1403
|
+
:starting_position,
|
1404
|
+
:starting_position_timestamp,
|
1345
1405
|
:batch_size,
|
1346
1406
|
:maximum_batching_window_in_seconds,
|
1347
1407
|
:parallelization_factor,
|
@@ -1353,6 +1413,8 @@ module Aws::Lambda
|
|
1353
1413
|
:state_transition_reason,
|
1354
1414
|
:destination_config,
|
1355
1415
|
:topics,
|
1416
|
+
:queues,
|
1417
|
+
:source_access_configurations,
|
1356
1418
|
:maximum_record_age_in_seconds,
|
1357
1419
|
:bisect_batch_on_function_error,
|
1358
1420
|
:maximum_retry_attempts)
|
@@ -3991,6 +4053,47 @@ module Aws::Lambda
|
|
3991
4053
|
include Aws::Structure
|
3992
4054
|
end
|
3993
4055
|
|
4056
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
4057
|
+
# To store your secret, use the following format: ` \{ "username": "your
|
4058
|
+
# username", "password": "your password" \}`
|
4059
|
+
#
|
4060
|
+
# @note When making an API call, you may pass SourceAccessConfiguration
|
4061
|
+
# data as a hash:
|
4062
|
+
#
|
4063
|
+
# {
|
4064
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4065
|
+
# uri: "Arn",
|
4066
|
+
# }
|
4067
|
+
#
|
4068
|
+
# @!attribute [rw] type
|
4069
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
4070
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
4071
|
+
#
|
4072
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4073
|
+
# you can use customer or service managed keys. When using a customer
|
4074
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4075
|
+
# permissions.
|
4076
|
+
# @return [String]
|
4077
|
+
#
|
4078
|
+
# @!attribute [rw] uri
|
4079
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
4080
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
4081
|
+
#
|
4082
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4083
|
+
# you can use customer or service managed keys. When using a customer
|
4084
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4085
|
+
# permissions.
|
4086
|
+
# @return [String]
|
4087
|
+
#
|
4088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SourceAccessConfiguration AWS API Documentation
|
4089
|
+
#
|
4090
|
+
class SourceAccessConfiguration < Struct.new(
|
4091
|
+
:type,
|
4092
|
+
:uri)
|
4093
|
+
SENSITIVE = []
|
4094
|
+
include Aws::Structure
|
4095
|
+
end
|
4096
|
+
|
3994
4097
|
# AWS Lambda was not able to set up VPC access for the Lambda function
|
3995
4098
|
# because one or more configured subnets has no available IP addresses.
|
3996
4099
|
#
|
@@ -4232,6 +4335,12 @@ module Aws::Lambda
|
|
4232
4335
|
# bisect_batch_on_function_error: false,
|
4233
4336
|
# maximum_retry_attempts: 1,
|
4234
4337
|
# parallelization_factor: 1,
|
4338
|
+
# source_access_configurations: [
|
4339
|
+
# {
|
4340
|
+
# type: "BASIC_AUTH", # accepts BASIC_AUTH
|
4341
|
+
# uri: "Arn",
|
4342
|
+
# },
|
4343
|
+
# ],
|
4235
4344
|
# }
|
4236
4345
|
#
|
4237
4346
|
# @!attribute [rw] uuid
|
@@ -4306,6 +4415,20 @@ module Aws::Lambda
|
|
4306
4415
|
# concurrently.
|
4307
4416
|
# @return [Integer]
|
4308
4417
|
#
|
4418
|
+
# @!attribute [rw] source_access_configurations
|
4419
|
+
# (MQ) The Secrets Manager secret that stores your broker credentials.
|
4420
|
+
# To store your secret, use the following format: ` \{ "username":
|
4421
|
+
# "your username", "password": "your password" \}`
|
4422
|
+
#
|
4423
|
+
# To reference the secret, use the following format: `[ \{ "Type":
|
4424
|
+
# "BASIC_AUTH", "URI": "secretARN" \} ]`
|
4425
|
+
#
|
4426
|
+
# The value of `Type` is always `BASIC_AUTH`. To encrypt the secret,
|
4427
|
+
# you can use customer or service managed keys. When using a customer
|
4428
|
+
# managed KMS key, the Lambda execution role requires `kms:Decrypt`
|
4429
|
+
# permissions.
|
4430
|
+
# @return [Array<Types::SourceAccessConfiguration>]
|
4431
|
+
#
|
4309
4432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
4310
4433
|
#
|
4311
4434
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -4318,7 +4441,8 @@ module Aws::Lambda
|
|
4318
4441
|
:maximum_record_age_in_seconds,
|
4319
4442
|
:bisect_batch_on_function_error,
|
4320
4443
|
:maximum_retry_attempts,
|
4321
|
-
:parallelization_factor
|
4444
|
+
:parallelization_factor,
|
4445
|
+
:source_access_configurations)
|
4322
4446
|
SENSITIVE = []
|
4323
4447
|
include Aws::Structure
|
4324
4448
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|