aws-sdk-lambda 1.41.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +3 -1
- data/lib/aws-sdk-lambda/client.rb +62 -10
- data/lib/aws-sdk-lambda/client_api.rb +39 -0
- data/lib/aws-sdk-lambda/customizations.rb +1 -0
- data/lib/aws-sdk-lambda/errors.rb +86 -0
- data/lib/aws-sdk-lambda/resource.rb +2 -0
- data/lib/aws-sdk-lambda/types.rb +262 -7
- data/lib/aws-sdk-lambda/waiters.rb +2 -0
- 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: eb4e6a15a73563fb1ea4a31ccdc347067a2a50f40f1a64be0be53431db29de34
|
4
|
+
data.tar.gz: 2ce7fc0e6bc3e8f2ed50a7797d65cf4a9416d4c64c9906a4ee69e04b2e01eada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfb38dfcd865d58654007f66c14e5bdc5839a72e56652cb1039f299b308ea8482dfd5e70a2b398caf4e6ca164f10c43d46cae2e6573787458d4e1068115fbff6
|
7
|
+
data.tar.gz: 460fdfa31c97c2f5f64ce8c47019be2d8ecd4d0d1bd9d22e088a39c89eaba4329f61c9a277ca7ea2f26904eba261252323d424648f1494e3271b4db7acc20a1f
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-lambda/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::Lambda
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.46.0'
|
50
52
|
|
51
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Lambda
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::Lambda
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::Lambda
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -580,7 +584,7 @@ module Aws::Lambda
|
|
580
584
|
#
|
581
585
|
#
|
582
586
|
#
|
583
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
587
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
|
584
588
|
#
|
585
589
|
# @return [Types::AliasConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
586
590
|
#
|
@@ -991,6 +995,9 @@ module Aws::Lambda
|
|
991
995
|
#
|
992
996
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
993
997
|
#
|
998
|
+
# @option params [Array<Types::FileSystemConfig>] :file_system_configs
|
999
|
+
# Connection settings for an Amazon EFS file system.
|
1000
|
+
#
|
994
1001
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
995
1002
|
#
|
996
1003
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -1019,6 +1026,7 @@ module Aws::Lambda
|
|
1019
1026
|
# * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
|
1020
1027
|
# * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
|
1021
1028
|
# * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
|
1029
|
+
# * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array<Types::FileSystemConfig>
|
1022
1030
|
#
|
1023
1031
|
#
|
1024
1032
|
# @example Example: To create a function
|
@@ -1120,6 +1128,12 @@ module Aws::Lambda
|
|
1120
1128
|
# "TagKey" => "TagValue",
|
1121
1129
|
# },
|
1122
1130
|
# layers: ["LayerVersionArn"],
|
1131
|
+
# file_system_configs: [
|
1132
|
+
# {
|
1133
|
+
# arn: "FileSystemArn", # required
|
1134
|
+
# local_mount_path: "LocalMountPath", # required
|
1135
|
+
# },
|
1136
|
+
# ],
|
1123
1137
|
# })
|
1124
1138
|
#
|
1125
1139
|
# @example Response structure
|
@@ -1159,6 +1173,9 @@ module Aws::Lambda
|
|
1159
1173
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
1160
1174
|
# resp.last_update_status_reason #=> String
|
1161
1175
|
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1176
|
+
# resp.file_system_configs #=> Array
|
1177
|
+
# resp.file_system_configs[0].arn #=> String
|
1178
|
+
# resp.file_system_configs[0].local_mount_path #=> String
|
1162
1179
|
#
|
1163
1180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
1164
1181
|
#
|
@@ -1891,6 +1908,9 @@ module Aws::Lambda
|
|
1891
1908
|
# resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
1892
1909
|
# resp.configuration.last_update_status_reason #=> String
|
1893
1910
|
# resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1911
|
+
# resp.configuration.file_system_configs #=> Array
|
1912
|
+
# resp.configuration.file_system_configs[0].arn #=> String
|
1913
|
+
# resp.configuration.file_system_configs[0].local_mount_path #=> String
|
1894
1914
|
# resp.code.repository_type #=> String
|
1895
1915
|
# resp.code.location #=> String
|
1896
1916
|
# resp.tags #=> Hash
|
@@ -2023,6 +2043,7 @@ module Aws::Lambda
|
|
2023
2043
|
# * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
|
2024
2044
|
# * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
|
2025
2045
|
# * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
|
2046
|
+
# * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array<Types::FileSystemConfig>
|
2026
2047
|
#
|
2027
2048
|
#
|
2028
2049
|
# @example Example: To get a Lambda function's event source mapping
|
@@ -2107,6 +2128,9 @@ module Aws::Lambda
|
|
2107
2128
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
2108
2129
|
# resp.last_update_status_reason #=> String
|
2109
2130
|
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
2131
|
+
# resp.file_system_configs #=> Array
|
2132
|
+
# resp.file_system_configs[0].arn #=> String
|
2133
|
+
# resp.file_system_configs[0].local_mount_path #=> String
|
2110
2134
|
#
|
2111
2135
|
#
|
2112
2136
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2506,9 +2530,9 @@ module Aws::Lambda
|
|
2506
2530
|
# * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
|
2507
2531
|
#
|
2508
2532
|
#
|
2509
|
-
# @example Example: To
|
2533
|
+
# @example Example: To view a provisioned concurrency configuration
|
2510
2534
|
#
|
2511
|
-
# # The following example
|
2535
|
+
# # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
|
2512
2536
|
# # function.
|
2513
2537
|
#
|
2514
2538
|
# resp = client.get_provisioned_concurrency_config({
|
@@ -2525,9 +2549,9 @@ module Aws::Lambda
|
|
2525
2549
|
# status: "READY",
|
2526
2550
|
# }
|
2527
2551
|
#
|
2528
|
-
# @example Example: To
|
2552
|
+
# @example Example: To get a provisioned concurrency configuration
|
2529
2553
|
#
|
2530
|
-
# # The following example
|
2554
|
+
# # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
|
2531
2555
|
# # function.
|
2532
2556
|
#
|
2533
2557
|
# resp = client.get_provisioned_concurrency_config({
|
@@ -3232,6 +3256,9 @@ module Aws::Lambda
|
|
3232
3256
|
# resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
3233
3257
|
# resp.functions[0].last_update_status_reason #=> String
|
3234
3258
|
# resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
3259
|
+
# resp.functions[0].file_system_configs #=> Array
|
3260
|
+
# resp.functions[0].file_system_configs[0].arn #=> String
|
3261
|
+
# resp.functions[0].file_system_configs[0].local_mount_path #=> String
|
3235
3262
|
#
|
3236
3263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
3237
3264
|
#
|
@@ -3710,6 +3737,9 @@ module Aws::Lambda
|
|
3710
3737
|
# resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
3711
3738
|
# resp.versions[0].last_update_status_reason #=> String
|
3712
3739
|
# resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
3740
|
+
# resp.versions[0].file_system_configs #=> Array
|
3741
|
+
# resp.versions[0].file_system_configs[0].arn #=> String
|
3742
|
+
# resp.versions[0].file_system_configs[0].local_mount_path #=> String
|
3713
3743
|
#
|
3714
3744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
3715
3745
|
#
|
@@ -3925,6 +3955,7 @@ module Aws::Lambda
|
|
3925
3955
|
# * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
|
3926
3956
|
# * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
|
3927
3957
|
# * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
|
3958
|
+
# * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array<Types::FileSystemConfig>
|
3928
3959
|
#
|
3929
3960
|
#
|
3930
3961
|
# @example Example: To publish a version of a Lambda function
|
@@ -4012,6 +4043,9 @@ module Aws::Lambda
|
|
4012
4043
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
4013
4044
|
# resp.last_update_status_reason #=> String
|
4014
4045
|
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
4046
|
+
# resp.file_system_configs #=> Array
|
4047
|
+
# resp.file_system_configs[0].arn #=> String
|
4048
|
+
# resp.file_system_configs[0].local_mount_path #=> String
|
4015
4049
|
#
|
4016
4050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
4017
4051
|
#
|
@@ -4102,7 +4136,8 @@ module Aws::Lambda
|
|
4102
4136
|
# version, or alias. If a configuration already exists for a function,
|
4103
4137
|
# version, or alias, this operation overwrites it. If you exclude any
|
4104
4138
|
# settings, they are removed. To set one option without affecting
|
4105
|
-
# existing settings for other options, use
|
4139
|
+
# existing settings for other options, use
|
4140
|
+
# UpdateFunctionEventInvokeConfig.
|
4106
4141
|
#
|
4107
4142
|
# By default, Lambda retries an asynchronous invocation twice if the
|
4108
4143
|
# function returns an error. It retains events in a queue for up to six
|
@@ -4551,7 +4586,7 @@ module Aws::Lambda
|
|
4551
4586
|
#
|
4552
4587
|
#
|
4553
4588
|
#
|
4554
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
4589
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
|
4555
4590
|
#
|
4556
4591
|
# @option params [String] :revision_id
|
4557
4592
|
# Only update the alias if the revision ID matches the ID that's
|
@@ -4877,6 +4912,7 @@ module Aws::Lambda
|
|
4877
4912
|
# * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
|
4878
4913
|
# * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
|
4879
4914
|
# * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
|
4915
|
+
# * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array<Types::FileSystemConfig>
|
4880
4916
|
#
|
4881
4917
|
#
|
4882
4918
|
# @example Example: To update a Lambda function's code
|
@@ -4960,6 +4996,9 @@ module Aws::Lambda
|
|
4960
4996
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
4961
4997
|
# resp.last_update_status_reason #=> String
|
4962
4998
|
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
4999
|
+
# resp.file_system_configs #=> Array
|
5000
|
+
# resp.file_system_configs[0].arn #=> String
|
5001
|
+
# resp.file_system_configs[0].local_mount_path #=> String
|
4963
5002
|
#
|
4964
5003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
4965
5004
|
#
|
@@ -5087,6 +5126,9 @@ module Aws::Lambda
|
|
5087
5126
|
#
|
5088
5127
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
|
5089
5128
|
#
|
5129
|
+
# @option params [Array<Types::FileSystemConfig>] :file_system_configs
|
5130
|
+
# Connection settings for an Amazon EFS file system.
|
5131
|
+
#
|
5090
5132
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5091
5133
|
#
|
5092
5134
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -5115,6 +5157,7 @@ module Aws::Lambda
|
|
5115
5157
|
# * {Types::FunctionConfiguration#last_update_status #last_update_status} => String
|
5116
5158
|
# * {Types::FunctionConfiguration#last_update_status_reason #last_update_status_reason} => String
|
5117
5159
|
# * {Types::FunctionConfiguration#last_update_status_reason_code #last_update_status_reason_code} => String
|
5160
|
+
# * {Types::FunctionConfiguration#file_system_configs #file_system_configs} => Array<Types::FileSystemConfig>
|
5118
5161
|
#
|
5119
5162
|
#
|
5120
5163
|
# @example Example: To update a Lambda function's configuration
|
@@ -5175,6 +5218,12 @@ module Aws::Lambda
|
|
5175
5218
|
# },
|
5176
5219
|
# revision_id: "String",
|
5177
5220
|
# layers: ["LayerVersionArn"],
|
5221
|
+
# file_system_configs: [
|
5222
|
+
# {
|
5223
|
+
# arn: "FileSystemArn", # required
|
5224
|
+
# local_mount_path: "LocalMountPath", # required
|
5225
|
+
# },
|
5226
|
+
# ],
|
5178
5227
|
# })
|
5179
5228
|
#
|
5180
5229
|
# @example Response structure
|
@@ -5214,6 +5263,9 @@ module Aws::Lambda
|
|
5214
5263
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
5215
5264
|
# resp.last_update_status_reason #=> String
|
5216
5265
|
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
5266
|
+
# resp.file_system_configs #=> Array
|
5267
|
+
# resp.file_system_configs[0].arn #=> String
|
5268
|
+
# resp.file_system_configs[0].local_mount_path #=> String
|
5217
5269
|
#
|
5218
5270
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
5219
5271
|
#
|
@@ -5358,7 +5410,7 @@ module Aws::Lambda
|
|
5358
5410
|
params: params,
|
5359
5411
|
config: config)
|
5360
5412
|
context[:gem_name] = 'aws-sdk-lambda'
|
5361
|
-
context[:gem_version] = '1.
|
5413
|
+
context[:gem_version] = '1.46.0'
|
5362
5414
|
Seahorse::Client::Request.new(handlers, context)
|
5363
5415
|
end
|
5364
5416
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -51,6 +53,10 @@ module Aws::Lambda
|
|
51
53
|
EC2AccessDeniedException = Shapes::StructureShape.new(name: 'EC2AccessDeniedException')
|
52
54
|
EC2ThrottledException = Shapes::StructureShape.new(name: 'EC2ThrottledException')
|
53
55
|
EC2UnexpectedException = Shapes::StructureShape.new(name: 'EC2UnexpectedException')
|
56
|
+
EFSIOException = Shapes::StructureShape.new(name: 'EFSIOException')
|
57
|
+
EFSMountConnectivityException = Shapes::StructureShape.new(name: 'EFSMountConnectivityException')
|
58
|
+
EFSMountFailureException = Shapes::StructureShape.new(name: 'EFSMountFailureException')
|
59
|
+
EFSMountTimeoutException = Shapes::StructureShape.new(name: 'EFSMountTimeoutException')
|
54
60
|
ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
|
55
61
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
56
62
|
Environment = Shapes::StructureShape.new(name: 'Environment')
|
@@ -63,6 +69,9 @@ module Aws::Lambda
|
|
63
69
|
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
|
64
70
|
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
|
65
71
|
EventSourceToken = Shapes::StringShape.new(name: 'EventSourceToken')
|
72
|
+
FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
|
73
|
+
FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
|
74
|
+
FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
|
66
75
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
67
76
|
FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
|
68
77
|
FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
|
@@ -147,6 +156,7 @@ module Aws::Lambda
|
|
147
156
|
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
148
157
|
ListVersionsByFunctionRequest = Shapes::StructureShape.new(name: 'ListVersionsByFunctionRequest')
|
149
158
|
ListVersionsByFunctionResponse = Shapes::StructureShape.new(name: 'ListVersionsByFunctionResponse')
|
159
|
+
LocalMountPath = Shapes::StringShape.new(name: 'LocalMountPath')
|
150
160
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
151
161
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
152
162
|
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
@@ -337,6 +347,7 @@ module Aws::Lambda
|
|
337
347
|
CreateFunctionRequest.add_member(:tracing_config, Shapes::ShapeRef.new(shape: TracingConfig, location_name: "TracingConfig"))
|
338
348
|
CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
339
349
|
CreateFunctionRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
|
350
|
+
CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
340
351
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
341
352
|
|
342
353
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
@@ -385,6 +396,22 @@ module Aws::Lambda
|
|
385
396
|
EC2UnexpectedException.add_member(:ec2_error_code, Shapes::ShapeRef.new(shape: String, location_name: "EC2ErrorCode"))
|
386
397
|
EC2UnexpectedException.struct_class = Types::EC2UnexpectedException
|
387
398
|
|
399
|
+
EFSIOException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
400
|
+
EFSIOException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
401
|
+
EFSIOException.struct_class = Types::EFSIOException
|
402
|
+
|
403
|
+
EFSMountConnectivityException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
404
|
+
EFSMountConnectivityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
405
|
+
EFSMountConnectivityException.struct_class = Types::EFSMountConnectivityException
|
406
|
+
|
407
|
+
EFSMountFailureException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
408
|
+
EFSMountFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
409
|
+
EFSMountFailureException.struct_class = Types::EFSMountFailureException
|
410
|
+
|
411
|
+
EFSMountTimeoutException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
412
|
+
EFSMountTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
413
|
+
EFSMountTimeoutException.struct_class = Types::EFSMountTimeoutException
|
414
|
+
|
388
415
|
ENILimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
389
416
|
ENILimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
390
417
|
ENILimitReachedException.struct_class = Types::ENILimitReachedException
|
@@ -421,6 +448,12 @@ module Aws::Lambda
|
|
421
448
|
|
422
449
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
423
450
|
|
451
|
+
FileSystemConfig.add_member(:arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "Arn"))
|
452
|
+
FileSystemConfig.add_member(:local_mount_path, Shapes::ShapeRef.new(shape: LocalMountPath, required: true, location_name: "LocalMountPath"))
|
453
|
+
FileSystemConfig.struct_class = Types::FileSystemConfig
|
454
|
+
|
455
|
+
FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
|
456
|
+
|
424
457
|
FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
|
425
458
|
FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
|
426
459
|
FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
@@ -457,6 +490,7 @@ module Aws::Lambda
|
|
457
490
|
FunctionConfiguration.add_member(:last_update_status, Shapes::ShapeRef.new(shape: LastUpdateStatus, location_name: "LastUpdateStatus"))
|
458
491
|
FunctionConfiguration.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: LastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
|
459
492
|
FunctionConfiguration.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: LastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
|
493
|
+
FunctionConfiguration.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
460
494
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
461
495
|
|
462
496
|
FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
@@ -931,6 +965,7 @@ module Aws::Lambda
|
|
931
965
|
UpdateFunctionConfigurationRequest.add_member(:tracing_config, Shapes::ShapeRef.new(shape: TracingConfig, location_name: "TracingConfig"))
|
932
966
|
UpdateFunctionConfigurationRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
933
967
|
UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
|
968
|
+
UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
934
969
|
UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
|
935
970
|
|
936
971
|
UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -1280,6 +1315,10 @@ module Aws::Lambda
|
|
1280
1315
|
o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
|
1281
1316
|
o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
|
1282
1317
|
o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
|
1319
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
|
1320
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
|
1321
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
|
1283
1322
|
o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
|
1284
1323
|
o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
|
1285
1324
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -29,6 +31,10 @@ module Aws::Lambda
|
|
29
31
|
# * {EC2AccessDeniedException}
|
30
32
|
# * {EC2ThrottledException}
|
31
33
|
# * {EC2UnexpectedException}
|
34
|
+
# * {EFSIOException}
|
35
|
+
# * {EFSMountConnectivityException}
|
36
|
+
# * {EFSMountFailureException}
|
37
|
+
# * {EFSMountTimeoutException}
|
32
38
|
# * {ENILimitReachedException}
|
33
39
|
# * {InvalidParameterValueException}
|
34
40
|
# * {InvalidRequestContentException}
|
@@ -144,6 +150,86 @@ module Aws::Lambda
|
|
144
150
|
end
|
145
151
|
end
|
146
152
|
|
153
|
+
class EFSIOException < ServiceError
|
154
|
+
|
155
|
+
# @param [Seahorse::Client::RequestContext] context
|
156
|
+
# @param [String] message
|
157
|
+
# @param [Aws::Lambda::Types::EFSIOException] data
|
158
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
159
|
+
super(context, message, data)
|
160
|
+
end
|
161
|
+
|
162
|
+
# @return [String]
|
163
|
+
def type
|
164
|
+
@data[:type]
|
165
|
+
end
|
166
|
+
|
167
|
+
# @return [String]
|
168
|
+
def message
|
169
|
+
@message || @data[:message]
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
class EFSMountConnectivityException < ServiceError
|
174
|
+
|
175
|
+
# @param [Seahorse::Client::RequestContext] context
|
176
|
+
# @param [String] message
|
177
|
+
# @param [Aws::Lambda::Types::EFSMountConnectivityException] data
|
178
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
179
|
+
super(context, message, data)
|
180
|
+
end
|
181
|
+
|
182
|
+
# @return [String]
|
183
|
+
def type
|
184
|
+
@data[:type]
|
185
|
+
end
|
186
|
+
|
187
|
+
# @return [String]
|
188
|
+
def message
|
189
|
+
@message || @data[:message]
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
class EFSMountFailureException < ServiceError
|
194
|
+
|
195
|
+
# @param [Seahorse::Client::RequestContext] context
|
196
|
+
# @param [String] message
|
197
|
+
# @param [Aws::Lambda::Types::EFSMountFailureException] data
|
198
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
199
|
+
super(context, message, data)
|
200
|
+
end
|
201
|
+
|
202
|
+
# @return [String]
|
203
|
+
def type
|
204
|
+
@data[:type]
|
205
|
+
end
|
206
|
+
|
207
|
+
# @return [String]
|
208
|
+
def message
|
209
|
+
@message || @data[:message]
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
class EFSMountTimeoutException < ServiceError
|
214
|
+
|
215
|
+
# @param [Seahorse::Client::RequestContext] context
|
216
|
+
# @param [String] message
|
217
|
+
# @param [Aws::Lambda::Types::EFSMountTimeoutException] data
|
218
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
219
|
+
super(context, message, data)
|
220
|
+
end
|
221
|
+
|
222
|
+
# @return [String]
|
223
|
+
def type
|
224
|
+
@data[:type]
|
225
|
+
end
|
226
|
+
|
227
|
+
# @return [String]
|
228
|
+
def message
|
229
|
+
@message || @data[:message]
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
147
233
|
class ENILimitReachedException < ServiceError
|
148
234
|
|
149
235
|
# @param [Seahorse::Client::RequestContext] context
|