aws-sdk-lambda 1.79.0 → 1.82.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/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +51 -14
- data/lib/aws-sdk-lambda/client_api.rb +10 -0
- data/lib/aws-sdk-lambda/types.rb +58 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- 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: 28cd519a3e87a105f27fb37647a04227ecb6530e1303c7bc295e0cb03544ae2d
|
4
|
+
data.tar.gz: 66bd2c883ef159b3f055337cd3ccd10a899e77004118907030634a594f4ad28f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c441622320dd16bd405761826a4ed8316101b0321d7277cca5d7ab999818b0971c9ed4460ced5ed5c29b365507b3ed36637ec6c0448704b93b6027ec9dc4d24d
|
7
|
+
data.tar.gz: b2f3a998f57930ee17565d7febffa9be22c52813365a5233a53ec07a31d24514c362d4c02af6f7208977e520a1343cfa968dadf57e3bfb9af950e29e45115259
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.82.0 (2022-03-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for increased ephemeral storage (/tmp) up to 10GB for Lambda functions. Customers can now provision up to 10 GB of ephemeral storage per function instance, a 20x increase over the previous limit of 512 MB.
|
8
|
+
|
9
|
+
1.81.0 (2022-03-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds PrincipalOrgID support to AddPermission API. Customers can use it to manage permissions to lambda functions at AWS Organizations level.
|
13
|
+
|
14
|
+
1.80.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.79.0 (2022-02-23)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.82.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::Lambda
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -422,21 +424,23 @@ module Aws::Lambda
|
|
422
424
|
req.send_request(options)
|
423
425
|
end
|
424
426
|
|
425
|
-
# Grants an Amazon Web Services service
|
426
|
-
# use a function. You can apply the policy at the function
|
427
|
-
# specify a qualifier to restrict access to a single version
|
428
|
-
# If you use a qualifier, the invoker must use the full Amazon
|
429
|
-
# Name (ARN) of that version or alias to invoke the function.
|
430
|
-
# Lambda does not support adding policies to version $LATEST.
|
427
|
+
# Grants an Amazon Web Services service, account, or organization
|
428
|
+
# permission to use a function. You can apply the policy at the function
|
429
|
+
# level, or specify a qualifier to restrict access to a single version
|
430
|
+
# or alias. If you use a qualifier, the invoker must use the full Amazon
|
431
|
+
# Resource Name (ARN) of that version or alias to invoke the function.
|
432
|
+
# Note: Lambda does not support adding policies to version $LATEST.
|
431
433
|
#
|
432
434
|
# To grant permission to another account, specify the account ID as the
|
433
|
-
# `Principal`.
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
435
|
+
# `Principal`. To grant permission to an organization defined in
|
436
|
+
# Organizations, specify the organization ID as the `PrincipalOrgID`.
|
437
|
+
# For Amazon Web Services services, the principal is a domain-style
|
438
|
+
# identifier defined by the service, like `s3.amazonaws.com` or
|
439
|
+
# `sns.amazonaws.com`. For Amazon Web Services services, you can also
|
440
|
+
# specify the ARN of the associated resource as the `SourceArn`. If you
|
441
|
+
# grant permission to a service principal without specifying the source,
|
442
|
+
# other accounts could potentially configure resources in their account
|
443
|
+
# to invoke your Lambda function.
|
440
444
|
#
|
441
445
|
# This action adds a statement to a resource-based permissions policy
|
442
446
|
# for the function. For more information about function policies, see
|
@@ -503,6 +507,11 @@ module Aws::Lambda
|
|
503
507
|
# specified. Use this option to avoid modifying a policy that has
|
504
508
|
# changed since you last read it.
|
505
509
|
#
|
510
|
+
# @option params [String] :principal_org_id
|
511
|
+
# The identifier for your organization in Organizations. Use this to
|
512
|
+
# grant permissions to all the Amazon Web Services accounts under this
|
513
|
+
# organization.
|
514
|
+
#
|
506
515
|
# @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
507
516
|
#
|
508
517
|
# * {Types::AddPermissionResponse#statement #statement} => String
|
@@ -519,6 +528,7 @@ module Aws::Lambda
|
|
519
528
|
# event_source_token: "EventSourceToken",
|
520
529
|
# qualifier: "Qualifier",
|
521
530
|
# revision_id: "String",
|
531
|
+
# principal_org_id: "PrincipalOrgID",
|
522
532
|
# })
|
523
533
|
#
|
524
534
|
# @example Response structure
|
@@ -1199,6 +1209,10 @@ module Aws::Lambda
|
|
1199
1209
|
# string array with one of the valid values (arm64 or x86\_64). The
|
1200
1210
|
# default value is `x86_64`.
|
1201
1211
|
#
|
1212
|
+
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
1213
|
+
# The size of the function’s /tmp directory in MB. The default value is
|
1214
|
+
# 512, but can be any whole number between 512 and 10240 MB.
|
1215
|
+
#
|
1202
1216
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1203
1217
|
#
|
1204
1218
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -1233,6 +1247,7 @@ module Aws::Lambda
|
|
1233
1247
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
1234
1248
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
1235
1249
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
1250
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
1236
1251
|
#
|
1237
1252
|
# @example Request syntax with placeholder values
|
1238
1253
|
#
|
@@ -1286,6 +1301,9 @@ module Aws::Lambda
|
|
1286
1301
|
# },
|
1287
1302
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
1288
1303
|
# architectures: ["x86_64"], # accepts x86_64, arm64
|
1304
|
+
# ephemeral_storage: {
|
1305
|
+
# size: 1, # required
|
1306
|
+
# },
|
1289
1307
|
# })
|
1290
1308
|
#
|
1291
1309
|
# @example Response structure
|
@@ -1342,6 +1360,7 @@ module Aws::Lambda
|
|
1342
1360
|
# resp.signing_job_arn #=> String
|
1343
1361
|
# resp.architectures #=> Array
|
1344
1362
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
1363
|
+
# resp.ephemeral_storage.size #=> Integer
|
1345
1364
|
#
|
1346
1365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
1347
1366
|
#
|
@@ -2036,6 +2055,7 @@ module Aws::Lambda
|
|
2036
2055
|
# resp.configuration.signing_job_arn #=> String
|
2037
2056
|
# resp.configuration.architectures #=> Array
|
2038
2057
|
# resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
|
2058
|
+
# resp.configuration.ephemeral_storage.size #=> Integer
|
2039
2059
|
# resp.code.repository_type #=> String
|
2040
2060
|
# resp.code.location #=> String
|
2041
2061
|
# resp.code.image_uri #=> String
|
@@ -2206,6 +2226,7 @@ module Aws::Lambda
|
|
2206
2226
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
2207
2227
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
2208
2228
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
2229
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
2209
2230
|
#
|
2210
2231
|
# @example Request syntax with placeholder values
|
2211
2232
|
#
|
@@ -2268,6 +2289,7 @@ module Aws::Lambda
|
|
2268
2289
|
# resp.signing_job_arn #=> String
|
2269
2290
|
# resp.architectures #=> Array
|
2270
2291
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
2292
|
+
# resp.ephemeral_storage.size #=> Integer
|
2271
2293
|
#
|
2272
2294
|
#
|
2273
2295
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3179,6 +3201,7 @@ module Aws::Lambda
|
|
3179
3201
|
# resp.functions[0].signing_job_arn #=> String
|
3180
3202
|
# resp.functions[0].architectures #=> Array
|
3181
3203
|
# resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3204
|
+
# resp.functions[0].ephemeral_storage.size #=> Integer
|
3182
3205
|
#
|
3183
3206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
3184
3207
|
#
|
@@ -3570,6 +3593,7 @@ module Aws::Lambda
|
|
3570
3593
|
# resp.versions[0].signing_job_arn #=> String
|
3571
3594
|
# resp.versions[0].architectures #=> Array
|
3572
3595
|
# resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3596
|
+
# resp.versions[0].ephemeral_storage.size #=> Integer
|
3573
3597
|
#
|
3574
3598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
3575
3599
|
#
|
@@ -3765,6 +3789,7 @@ module Aws::Lambda
|
|
3765
3789
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
3766
3790
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
3767
3791
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
3792
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
3768
3793
|
#
|
3769
3794
|
# @example Request syntax with placeholder values
|
3770
3795
|
#
|
@@ -3829,6 +3854,7 @@ module Aws::Lambda
|
|
3829
3854
|
# resp.signing_job_arn #=> String
|
3830
3855
|
# resp.architectures #=> Array
|
3831
3856
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
3857
|
+
# resp.ephemeral_storage.size #=> Integer
|
3832
3858
|
#
|
3833
3859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
3834
3860
|
#
|
@@ -4810,6 +4836,7 @@ module Aws::Lambda
|
|
4810
4836
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
4811
4837
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
4812
4838
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
4839
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
4813
4840
|
#
|
4814
4841
|
# @example Request syntax with placeholder values
|
4815
4842
|
#
|
@@ -4880,6 +4907,7 @@ module Aws::Lambda
|
|
4880
4907
|
# resp.signing_job_arn #=> String
|
4881
4908
|
# resp.architectures #=> Array
|
4882
4909
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
4910
|
+
# resp.ephemeral_storage.size #=> Integer
|
4883
4911
|
#
|
4884
4912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
4885
4913
|
#
|
@@ -5034,6 +5062,10 @@ module Aws::Lambda
|
|
5034
5062
|
#
|
5035
5063
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
5036
5064
|
#
|
5065
|
+
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
5066
|
+
# The size of the function’s /tmp directory in MB. The default value is
|
5067
|
+
# 512, but can be any whole number between 512 and 10240 MB.
|
5068
|
+
#
|
5037
5069
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5038
5070
|
#
|
5039
5071
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -5068,6 +5100,7 @@ module Aws::Lambda
|
|
5068
5100
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
5069
5101
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
5070
5102
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
5103
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
5071
5104
|
#
|
5072
5105
|
# @example Request syntax with placeholder values
|
5073
5106
|
#
|
@@ -5108,6 +5141,9 @@ module Aws::Lambda
|
|
5108
5141
|
# command: ["String"],
|
5109
5142
|
# working_directory: "WorkingDirectory",
|
5110
5143
|
# },
|
5144
|
+
# ephemeral_storage: {
|
5145
|
+
# size: 1, # required
|
5146
|
+
# },
|
5111
5147
|
# })
|
5112
5148
|
#
|
5113
5149
|
# @example Response structure
|
@@ -5164,6 +5200,7 @@ module Aws::Lambda
|
|
5164
5200
|
# resp.signing_job_arn #=> String
|
5165
5201
|
# resp.architectures #=> Array
|
5166
5202
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
5203
|
+
# resp.ephemeral_storage.size #=> Integer
|
5167
5204
|
#
|
5168
5205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
5169
5206
|
#
|
@@ -5278,7 +5315,7 @@ module Aws::Lambda
|
|
5278
5315
|
params: params,
|
5279
5316
|
config: config)
|
5280
5317
|
context[:gem_name] = 'aws-sdk-lambda'
|
5281
|
-
context[:gem_version] = '1.
|
5318
|
+
context[:gem_version] = '1.82.0'
|
5282
5319
|
Seahorse::Client::Request.new(handlers, context)
|
5283
5320
|
end
|
5284
5321
|
|
@@ -86,6 +86,8 @@ module Aws::Lambda
|
|
86
86
|
EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
|
87
87
|
EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
|
88
88
|
EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
|
89
|
+
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
|
90
|
+
EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
|
89
91
|
EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
|
90
92
|
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
|
91
93
|
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
|
@@ -223,6 +225,7 @@ module Aws::Lambda
|
|
223
225
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
224
226
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
225
227
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
228
|
+
PrincipalOrgID = Shapes::StringShape.new(name: 'PrincipalOrgID')
|
226
229
|
ProvisionedConcurrencyConfigList = Shapes::ListShape.new(name: 'ProvisionedConcurrencyConfigList')
|
227
230
|
ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
|
228
231
|
ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
|
@@ -338,6 +341,7 @@ module Aws::Lambda
|
|
338
341
|
AddPermissionRequest.add_member(:event_source_token, Shapes::ShapeRef.new(shape: EventSourceToken, location_name: "EventSourceToken"))
|
339
342
|
AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
340
343
|
AddPermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
344
|
+
AddPermissionRequest.add_member(:principal_org_id, Shapes::ShapeRef.new(shape: PrincipalOrgID, location_name: "PrincipalOrgID"))
|
341
345
|
AddPermissionRequest.struct_class = Types::AddPermissionRequest
|
342
346
|
|
343
347
|
AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
|
@@ -453,6 +457,7 @@ module Aws::Lambda
|
|
453
457
|
CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
454
458
|
CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
|
455
459
|
CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
460
|
+
CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
456
461
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
457
462
|
|
458
463
|
DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
|
@@ -548,6 +553,9 @@ module Aws::Lambda
|
|
548
553
|
EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
|
549
554
|
EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
|
550
555
|
|
556
|
+
EphemeralStorage.add_member(:size, Shapes::ShapeRef.new(shape: EphemeralStorageSize, required: true, location_name: "Size"))
|
557
|
+
EphemeralStorage.struct_class = Types::EphemeralStorage
|
558
|
+
|
551
559
|
EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
|
552
560
|
EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
553
561
|
EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
|
@@ -636,6 +644,7 @@ module Aws::Lambda
|
|
636
644
|
FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
|
637
645
|
FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
|
638
646
|
FunctionConfiguration.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
|
647
|
+
FunctionConfiguration.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
639
648
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
640
649
|
|
641
650
|
FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
@@ -1211,6 +1220,7 @@ module Aws::Lambda
|
|
1211
1220
|
UpdateFunctionConfigurationRequest.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "Layers"))
|
1212
1221
|
UpdateFunctionConfigurationRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
|
1213
1222
|
UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
|
1223
|
+
UpdateFunctionConfigurationRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
|
1214
1224
|
UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
|
1215
1225
|
|
1216
1226
|
UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -164,6 +164,7 @@ module Aws::Lambda
|
|
164
164
|
# event_source_token: "EventSourceToken",
|
165
165
|
# qualifier: "Qualifier",
|
166
166
|
# revision_id: "String",
|
167
|
+
# principal_org_id: "PrincipalOrgID",
|
167
168
|
# }
|
168
169
|
#
|
169
170
|
# @!attribute [rw] function_name
|
@@ -233,6 +234,12 @@ module Aws::Lambda
|
|
233
234
|
# changed since you last read it.
|
234
235
|
# @return [String]
|
235
236
|
#
|
237
|
+
# @!attribute [rw] principal_org_id
|
238
|
+
# The identifier for your organization in Organizations. Use this to
|
239
|
+
# grant permissions to all the Amazon Web Services accounts under this
|
240
|
+
# organization.
|
241
|
+
# @return [String]
|
242
|
+
#
|
236
243
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest AWS API Documentation
|
237
244
|
#
|
238
245
|
class AddPermissionRequest < Struct.new(
|
@@ -244,7 +251,8 @@ module Aws::Lambda
|
|
244
251
|
:source_account,
|
245
252
|
:event_source_token,
|
246
253
|
:qualifier,
|
247
|
-
:revision_id
|
254
|
+
:revision_id,
|
255
|
+
:principal_org_id)
|
248
256
|
SENSITIVE = []
|
249
257
|
include Aws::Structure
|
250
258
|
end
|
@@ -894,6 +902,9 @@ module Aws::Lambda
|
|
894
902
|
# },
|
895
903
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
896
904
|
# architectures: ["x86_64"], # accepts x86_64, arm64
|
905
|
+
# ephemeral_storage: {
|
906
|
+
# size: 1, # required
|
907
|
+
# },
|
897
908
|
# }
|
898
909
|
#
|
899
910
|
# @!attribute [rw] function_name
|
@@ -1061,6 +1072,11 @@ module Aws::Lambda
|
|
1061
1072
|
# default value is `x86_64`.
|
1062
1073
|
# @return [Array<String>]
|
1063
1074
|
#
|
1075
|
+
# @!attribute [rw] ephemeral_storage
|
1076
|
+
# The size of the function’s /tmp directory in MB. The default value
|
1077
|
+
# is 512, but can be any whole number between 512 and 10240 MB.
|
1078
|
+
# @return [Types::EphemeralStorage]
|
1079
|
+
#
|
1064
1080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
1065
1081
|
#
|
1066
1082
|
class CreateFunctionRequest < Struct.new(
|
@@ -1084,7 +1100,8 @@ module Aws::Lambda
|
|
1084
1100
|
:file_system_configs,
|
1085
1101
|
:image_config,
|
1086
1102
|
:code_signing_config_arn,
|
1087
|
-
:architectures
|
1103
|
+
:architectures,
|
1104
|
+
:ephemeral_storage)
|
1088
1105
|
SENSITIVE = []
|
1089
1106
|
include Aws::Structure
|
1090
1107
|
end
|
@@ -1651,6 +1668,28 @@ module Aws::Lambda
|
|
1651
1668
|
include Aws::Structure
|
1652
1669
|
end
|
1653
1670
|
|
1671
|
+
# The size of the function’s /tmp directory in MB. The default value is
|
1672
|
+
# 512, but can be any whole number between 512 and 10240 MB.
|
1673
|
+
#
|
1674
|
+
# @note When making an API call, you may pass EphemeralStorage
|
1675
|
+
# data as a hash:
|
1676
|
+
#
|
1677
|
+
# {
|
1678
|
+
# size: 1, # required
|
1679
|
+
# }
|
1680
|
+
#
|
1681
|
+
# @!attribute [rw] size
|
1682
|
+
# The size of the function’s /tmp directory.
|
1683
|
+
# @return [Integer]
|
1684
|
+
#
|
1685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EphemeralStorage AWS API Documentation
|
1686
|
+
#
|
1687
|
+
class EphemeralStorage < Struct.new(
|
1688
|
+
:size)
|
1689
|
+
SENSITIVE = []
|
1690
|
+
include Aws::Structure
|
1691
|
+
end
|
1692
|
+
|
1654
1693
|
# A mapping between an Amazon Web Services resource and a Lambda
|
1655
1694
|
# function. For details, see CreateEventSourceMapping.
|
1656
1695
|
#
|
@@ -2145,6 +2184,11 @@ module Aws::Lambda
|
|
2145
2184
|
# default architecture value is `x86_64`.
|
2146
2185
|
# @return [Array<String>]
|
2147
2186
|
#
|
2187
|
+
# @!attribute [rw] ephemeral_storage
|
2188
|
+
# The size of the function’s /tmp directory in MB. The default value
|
2189
|
+
# is 512, but can be any whole number between 512 and 10240 MB.
|
2190
|
+
# @return [Types::EphemeralStorage]
|
2191
|
+
#
|
2148
2192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
|
2149
2193
|
#
|
2150
2194
|
class FunctionConfiguration < Struct.new(
|
@@ -2179,7 +2223,8 @@ module Aws::Lambda
|
|
2179
2223
|
:image_config_response,
|
2180
2224
|
:signing_profile_version_arn,
|
2181
2225
|
:signing_job_arn,
|
2182
|
-
:architectures
|
2226
|
+
:architectures,
|
2227
|
+
:ephemeral_storage)
|
2183
2228
|
SENSITIVE = []
|
2184
2229
|
include Aws::Structure
|
2185
2230
|
end
|
@@ -5688,6 +5733,9 @@ module Aws::Lambda
|
|
5688
5733
|
# command: ["String"],
|
5689
5734
|
# working_directory: "WorkingDirectory",
|
5690
5735
|
# },
|
5736
|
+
# ephemeral_storage: {
|
5737
|
+
# size: 1, # required
|
5738
|
+
# },
|
5691
5739
|
# }
|
5692
5740
|
#
|
5693
5741
|
# @!attribute [rw] function_name
|
@@ -5826,6 +5874,11 @@ module Aws::Lambda
|
|
5826
5874
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
5827
5875
|
# @return [Types::ImageConfig]
|
5828
5876
|
#
|
5877
|
+
# @!attribute [rw] ephemeral_storage
|
5878
|
+
# The size of the function’s /tmp directory in MB. The default value
|
5879
|
+
# is 512, but can be any whole number between 512 and 10240 MB.
|
5880
|
+
# @return [Types::EphemeralStorage]
|
5881
|
+
#
|
5829
5882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
|
5830
5883
|
#
|
5831
5884
|
class UpdateFunctionConfigurationRequest < Struct.new(
|
@@ -5844,7 +5897,8 @@ module Aws::Lambda
|
|
5844
5897
|
:revision_id,
|
5845
5898
|
:layers,
|
5846
5899
|
:file_system_configs,
|
5847
|
-
:image_config
|
5900
|
+
:image_config,
|
5901
|
+
:ephemeral_storage)
|
5848
5902
|
SENSITIVE = []
|
5849
5903
|
include Aws::Structure
|
5850
5904
|
end
|
data/lib/aws-sdk-lambda.rb
CHANGED
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.82.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: 2022-
|
11
|
+
date: 2022-03-24 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|