Skip to content

Commit 3c39d91

Browse files
author
AWS
committed
AWS Lambda Update: Launching Lambda integration with S3 Files as a new file system configuration.
1 parent 41c298a commit 3c39d91

File tree

2 files changed

+77
-8
lines changed

2 files changed

+77
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Lambda",
4+
"contributor": "",
5+
"description": "Launching Lambda integration with S3 Files as a new file system configuration."
6+
}

services/lambda/src/main/resources/codegen-resources/service-2.json

Lines changed: 71 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@
791791
{"shape":"RequestTooLargeException"},
792792
{"shape":"KMSDisabledException"},
793793
{"shape":"UnsupportedMediaTypeException"},
794+
{"shape":"S3FilesMountConnectivityException"},
794795
{"shape":"SerializedRequestEntityTooLargeException"},
795796
{"shape":"InvalidRuntimeException"},
796797
{"shape":"NoPublishedVersionException"},
@@ -807,7 +808,9 @@
807808
{"shape":"ServiceException"},
808809
{"shape":"SnapStartException"},
809810
{"shape":"RecursiveInvocationException"},
811+
{"shape":"S3FilesMountFailureException"},
810812
{"shape":"EFSMountTimeoutException"},
813+
{"shape":"S3FilesMountTimeoutException"},
811814
{"shape":"ResourceNotFoundException"},
812815
{"shape":"InvalidRequestContentException"},
813816
{"shape":"DurableExecutionAlreadyStartedException"},
@@ -856,6 +859,7 @@
856859
{"shape":"RequestTooLargeException"},
857860
{"shape":"KMSDisabledException"},
858861
{"shape":"UnsupportedMediaTypeException"},
862+
{"shape":"S3FilesMountConnectivityException"},
859863
{"shape":"SerializedRequestEntityTooLargeException"},
860864
{"shape":"InvalidRuntimeException"},
861865
{"shape":"NoPublishedVersionException"},
@@ -872,7 +876,9 @@
872876
{"shape":"ServiceException"},
873877
{"shape":"SnapStartException"},
874878
{"shape":"RecursiveInvocationException"},
879+
{"shape":"S3FilesMountFailureException"},
875880
{"shape":"EFSMountTimeoutException"},
881+
{"shape":"S3FilesMountTimeoutException"},
876882
{"shape":"ResourceNotFoundException"},
877883
{"shape":"InvalidRequestContentException"},
878884
{"shape":"InvalidZipFileException"},
@@ -2921,7 +2927,7 @@
29212927
},
29222928
"FileSystemConfigs":{
29232929
"shape":"FileSystemConfigList",
2924-
"documentation":"<p>Connection settings for an Amazon EFS file system.</p>"
2930+
"documentation":"<p>Connection settings for an Amazon EFS file system or an Amazon S3 Files file system.</p>"
29252931
},
29262932
"ImageConfig":{
29272933
"shape":"ImageConfig",
@@ -4108,9 +4114,9 @@
41084114
"ExecutionTimestamp":{"type":"timestamp"},
41094115
"FileSystemArn":{
41104116
"type":"string",
4111-
"max":200,
4117+
"max":256,
41124118
"min":0,
4113-
"pattern":"arn:aws[a-zA-Z-]*:elasticfilesystem:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:access-point/fsap-[a-f0-9]{17}"
4119+
"pattern":"arn:aws[a-zA-Z-]*:elasticfilesystem:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:access-point/fsap-[a-f0-9]{17}$|^arn:aws[-a-z]*:s3files:[0-9a-z-:]+:file-system/fs-[0-9a-f]{17,40}/access-point/fsap-[0-9a-f]{17,40}"
41144120
},
41154121
"FileSystemConfig":{
41164122
"type":"structure",
@@ -4121,14 +4127,14 @@
41214127
"members":{
41224128
"Arn":{
41234129
"shape":"FileSystemArn",
4124-
"documentation":"<p>The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.</p>"
4130+
"documentation":"<p>The Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files access point that provides access to the file system.</p>"
41254131
},
41264132
"LocalMountPath":{
41274133
"shape":"LocalMountPath",
41284134
"documentation":"<p>The path where the function can access the file system, starting with <code>/mnt/</code>.</p>"
41294135
}
41304136
},
4131-
"documentation":"<p>Details about the connection between a Lambda function and an <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html\">Amazon EFS file system</a>.</p>"
4137+
"documentation":"<p>Details about the connection between a Lambda function and an <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html\">Amazon EFS file system</a> or an <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html\">Amazon S3 Files file system</a>.</p>"
41324138
},
41334139
"FileSystemConfigList":{
41344140
"type":"list",
@@ -4368,7 +4374,7 @@
43684374
},
43694375
"FileSystemConfigs":{
43704376
"shape":"FileSystemConfigList",
4371-
"documentation":"<p>Connection settings for an <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html\">Amazon EFS file system</a>.</p>"
4377+
"documentation":"<p>Connection settings for an <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html\">Amazon EFS file system</a> or an <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html\">Amazon S3 Files file system</a>.</p>"
43724378
},
43734379
"PackageType":{
43744380
"shape":"PackageType",
@@ -6324,7 +6330,7 @@
63246330
},
63256331
"DurableExecutionName":{
63266332
"shape":"DurableExecutionName",
6327-
"documentation":"<p>Filter executions by name. Only executions with names that contain this string are returned.</p>",
6333+
"documentation":"<p>Filter executions by name. Only executions with names that matches this string are returned.</p>",
63286334
"location":"querystring",
63296335
"locationName":"DurableExecutionName"
63306336
},
@@ -8082,6 +8088,63 @@
80828088
"min":3,
80838089
"pattern":"[0-9A-Za-z\\.\\-_]*(?<!\\.)"
80848090
},
8091+
"S3FilesMountConnectivityException":{
8092+
"type":"structure",
8093+
"members":{
8094+
"Type":{
8095+
"shape":"String",
8096+
"documentation":"<p>The exception type.</p>"
8097+
},
8098+
"Message":{
8099+
"shape":"String",
8100+
"documentation":"<p>The exception message.</p>"
8101+
}
8102+
},
8103+
"documentation":"<p>The Lambda function couldn't make a network connection to the configured S3 Files access point.</p>",
8104+
"error":{
8105+
"httpStatusCode":408,
8106+
"senderFault":true
8107+
},
8108+
"exception":true
8109+
},
8110+
"S3FilesMountFailureException":{
8111+
"type":"structure",
8112+
"members":{
8113+
"Type":{
8114+
"shape":"String",
8115+
"documentation":"<p>The exception type.</p>"
8116+
},
8117+
"Message":{
8118+
"shape":"String",
8119+
"documentation":"<p>The exception message.</p>"
8120+
}
8121+
},
8122+
"documentation":"<p>The Lambda function couldn't mount the configured S3 Files access point due to a permission or configuration issue.</p>",
8123+
"error":{
8124+
"httpStatusCode":403,
8125+
"senderFault":true
8126+
},
8127+
"exception":true
8128+
},
8129+
"S3FilesMountTimeoutException":{
8130+
"type":"structure",
8131+
"members":{
8132+
"Type":{
8133+
"shape":"String",
8134+
"documentation":"<p>The exception type.</p>"
8135+
},
8136+
"Message":{
8137+
"shape":"String",
8138+
"documentation":"<p>The exception message.</p>"
8139+
}
8140+
},
8141+
"documentation":"<p>The Lambda function made a network connection to the configured S3 Files access point, but the mount operation timed out.</p>",
8142+
"error":{
8143+
"httpStatusCode":408,
8144+
"senderFault":true
8145+
},
8146+
"exception":true
8147+
},
80858148
"S3Key":{
80868149
"type":"string",
80878150
"max":1024,
@@ -9123,7 +9186,7 @@
91239186
},
91249187
"FileSystemConfigs":{
91259188
"shape":"FileSystemConfigList",
9126-
"documentation":"<p>Connection settings for an Amazon EFS file system.</p>"
9189+
"documentation":"<p>Connection settings for an Amazon EFS file system or an Amazon S3 Files file system.</p>"
91279190
},
91289191
"ImageConfig":{
91299192
"shape":"ImageConfig",

0 commit comments

Comments
 (0)