Skip to content

Commit 9158914

Browse files
Adds support for additional server-side encryption mode and storage class values for accessing Amazon FSx data from Amazon S3 using S3 Access Points
1 parent c29d4e4 commit 9158914

34 files changed

+301
-96
lines changed

generator/ServiceModels/s3/s3-2006-03-01.api.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6615,7 +6615,8 @@
66156615
"OUTPOSTS",
66166616
"GLACIER_IR",
66176617
"SNOW",
6618-
"EXPRESS_ONEZONE"
6618+
"EXPRESS_ONEZONE",
6619+
"FSX_OPENZFS"
66196620
]
66206621
},
66216622
"ObjectVersion":{
@@ -8866,6 +8867,7 @@
88668867
"type":"string",
88678868
"enum":[
88688869
"AES256",
8870+
"aws:fsx",
88698871
"aws:kms",
88708872
"aws:kms:dsse"
88718873
]
@@ -9013,7 +9015,8 @@
90139015
"OUTPOSTS",
90149016
"GLACIER_IR",
90159017
"SNOW",
9016-
"EXPRESS_ONEZONE"
9018+
"EXPRESS_ONEZONE",
9019+
"FSX_OPENZFS"
90179020
]
90189021
},
90199022
"StorageClassAnalysis":{

generator/ServiceModels/s3/s3-2006-03-01.docs.json

Lines changed: 17 additions & 17 deletions
Large diffs are not rendered by default.

generator/ServiceModels/s3/s3-2006-03-01.normal.json

Lines changed: 22 additions & 19 deletions
Large diffs are not rendered by default.

sdk/src/Services/S3/Custom/Model/CompleteMultipartUploadResponse.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,14 @@ internal bool IsSetRequestCharged()
327327

328328
/// <summary>
329329
/// <para>
330-
/// The server-side encryption algorithm used when storing this object in Amazon S3 (for example, <c>AES256</c>, <c>aws:kms</c>).
330+
/// The server-side encryption algorithm used when storing this object in Amazon S3.
331331
/// </para>
332+
/// <note>
333+
/// <para>
334+
/// When accessing data stored in Amazon FSx file systems using S3 access points, the
335+
/// only valid server side encryption option is <c>aws:fsx</c>.
336+
/// </para>
337+
/// </note>
332338
/// </summary>
333339
public ServerSideEncryptionMethod ServerSideEncryptionMethod
334340
{

sdk/src/Services/S3/Custom/Model/CopyObjectRequest.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,16 @@ internal bool IsSetSourceVersionId()
811811
/// encryption-related request headers, you must ensure the encryption key is the same customer managed key that you specified for the directory bucket's default encryption configuration.
812812
/// </para>
813813
/// </li>
814+
/// <li>
815+
/// <para>
816+
/// <b>S3 access points for Amazon FSx </b> - When accessing data stored in Amazon FSx
817+
/// file systems using S3 access points, the only valid server side encryption option
818+
/// is <c>aws:fsx</c>. All Amazon FSx file systems have encryption configured by default
819+
/// and are encrypted at rest. Data is automatically encrypted before being written to
820+
/// the file system, and automatically decrypted as it is read. These processes are handled
821+
/// transparently by Amazon FSx.
822+
/// </para>
823+
/// </li>
814824
/// </ul>
815825
/// </summary>
816826
public ServerSideEncryptionMethod ServerSideEncryptionMethod

sdk/src/Services/S3/Custom/Model/CopyObjectResponse.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,15 @@ internal bool IsSetRequestCharged()
109109

110110
/// <summary>
111111
/// <para>
112-
/// The server-side encryption algorithm used when you store this object in Amazon S3 (for example, <c>AES256</c>, <c>aws:kms</c>, <c>aws:kms:dsse</c>).
112+
/// The server-side encryption algorithm used when you store this object in Amazon S3
113+
/// or Amazon FSx.
113114
/// </para>
115+
/// <note>
116+
/// <para>
117+
/// When accessing data stored in Amazon FSx file systems using S3 access points, the
118+
/// only valid server side encryption option is <c>aws:fsx</c>.
119+
/// </para>
120+
/// </note>
114121
/// </summary>
115122
public ServerSideEncryptionMethod ServerSideEncryptionMethod
116123
{

sdk/src/Services/S3/Custom/Model/CopyPartResponse.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,15 @@ internal bool IsSetLastModified()
195195

196196
/// <summary>
197197
/// <para>
198-
/// The server-side encryption algorithm used when you store this object in Amazon S3 (for example, <c>AES256</c>, <c>aws:kms</c>).
198+
/// The server-side encryption algorithm used when you store this object in Amazon S3
199+
/// or Amazon FSx.
199200
/// </para>
201+
/// <note>
202+
/// <para>
203+
/// When accessing data stored in Amazon FSx file systems using S3 access points, the
204+
/// only valid server side encryption option is <c>aws:fsx</c>.
205+
/// </para>
206+
/// </note>
200207
/// </summary>
201208
public ServerSideEncryptionMethod ServerSideEncryptionMethod
202209
{

sdk/src/Services/S3/Custom/Model/CreateSessionRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ internal bool IsSetSessionMode()
7676
/// For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (<c>AES256</c>) and server-side encryption with KMS keys (SSE-KMS) (<c>aws:kms</c>).
7777
/// By default, Amazon S3 encrypts data with SSE-S3. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html">Protecting data with server-side encryption</a> in the <i>Amazon S3 User Guide</i>.
7878
/// </para>
79+
/// <para>
80+
/// <b>S3 access points for Amazon FSx </b> - When accessing data stored in Amazon FSx
81+
/// file systems using S3 access points, the only valid server side encryption option
82+
/// is <c>aws:fsx</c>. All Amazon FSx file systems have encryption configured by default
83+
/// and are encrypted at rest. Data is automatically encrypted before being written to
84+
/// the file system, and automatically decrypted as it is read. These processes are handled
85+
/// transparently by Amazon FSx.
86+
/// </para>
7987
/// </summary>
8088
public ServerSideEncryptionMethod ServerSideEncryption
8189
{

sdk/src/Services/S3/Custom/Model/CreateSessionResponse.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,16 @@ internal bool IsSetCredentials()
5050
}
5151

5252
/// <summary>
53-
/// The server-side encryption algorithm used when you store objects in the directory bucket.
53+
/// <para>
54+
/// The server-side encryption algorithm used when you store objects in the directory
55+
/// bucket.
56+
/// </para>
57+
/// <note>
58+
/// <para>
59+
/// When accessing data stored in Amazon FSx file systems using S3 access points, the
60+
/// only valid server side encryption option is <c>aws:fsx</c>.
61+
/// </para>
62+
/// </note>
5463
/// </summary>
5564
public ServerSideEncryptionMethod ServerSideEncryption
5665
{

sdk/src/Services/S3/Custom/Model/DeleteBucketIntelligentTieringConfigurationRequest.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ namespace Amazon.S3.Model
7171
public partial class DeleteBucketIntelligentTieringConfigurationRequest : AmazonWebServiceRequest
7272
{
7373
private string bucketName;
74+
private string expectedBucketOwner;
7475
private string intelligentTieiringId;
7576

7677
/// <summary>
@@ -88,6 +89,26 @@ internal bool IsSetBucketName()
8889
return !(string.IsNullOrEmpty(this.bucketName));
8990
}
9091

92+
/// <summary>
93+
/// Gets and sets the property ExpectedBucketOwner.
94+
/// <para>
95+
/// The account ID of the expected bucket owner. If the account ID that you provide does
96+
/// not match the actual owner of the bucket, the request fails with the HTTP status code
97+
/// <c>403 Forbidden</c> (access denied).
98+
/// </para>
99+
/// </summary>
100+
public string ExpectedBucketOwner
101+
{
102+
get { return this.expectedBucketOwner; }
103+
set { this.expectedBucketOwner = value; }
104+
}
105+
106+
// Check to see if ExpectedBucketOwner property is set
107+
internal bool IsSetExpectedBucketOwner()
108+
{
109+
return this.expectedBucketOwner != null;
110+
}
111+
91112
/// <summary>
92113
/// <para>The ID used to identify the S3 Intelligent-Tiering configuration.</para>
93114
/// </summary>

0 commit comments

Comments
 (0)