Skip to content

Commit 362f7e0

Browse files
author
awstools
committed
feat(client-storage-gateway): The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated.
1 parent 0dac89e commit 362f7e0

File tree

8 files changed

+412
-86
lines changed

8 files changed

+412
-86
lines changed

clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export interface CreateNFSFileShareCommandOutput extends CreateNFSFileShareOutpu
5858
* OwnerId: Number("long"),
5959
* },
6060
* GatewayARN: "STRING_VALUE", // required
61+
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
6162
* KMSEncrypted: true || false,
6263
* KMSKey: "STRING_VALUE",
6364
* Role: "STRING_VALUE", // required

clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutpu
5252
* const input = { // CreateSMBFileShareInput
5353
* ClientToken: "STRING_VALUE", // required
5454
* GatewayARN: "STRING_VALUE", // required
55+
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
5556
* KMSEncrypted: true || false,
5657
* KMSKey: "STRING_VALUE",
5758
* Role: "STRING_VALUE", // required

clients/client-storage-gateway/src/commands/DescribeNFSFileSharesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export interface DescribeNFSFileSharesCommandOutput extends DescribeNFSFileShare
5656
* // FileShareId: "STRING_VALUE",
5757
* // FileShareStatus: "STRING_VALUE",
5858
* // GatewayARN: "STRING_VALUE",
59+
* // EncryptionType: "SseS3" || "SseKms" || "DsseKms",
5960
* // KMSEncrypted: true || false,
6061
* // KMSKey: "STRING_VALUE",
6162
* // Path: "STRING_VALUE",

clients/client-storage-gateway/src/commands/DescribeSMBFileSharesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export interface DescribeSMBFileSharesCommandOutput extends DescribeSMBFileShare
5050
* // FileShareId: "STRING_VALUE",
5151
* // FileShareStatus: "STRING_VALUE",
5252
* // GatewayARN: "STRING_VALUE",
53+
* // EncryptionType: "SseS3" || "SseKms" || "DsseKms",
5354
* // KMSEncrypted: true || false,
5455
* // KMSKey: "STRING_VALUE",
5556
* // Path: "STRING_VALUE",

clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export interface UpdateNFSFileShareCommandOutput extends UpdateNFSFileShareOutpu
6060
* const client = new StorageGatewayClient(config);
6161
* const input = { // UpdateNFSFileShareInput
6262
* FileShareARN: "STRING_VALUE", // required
63+
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
6364
* KMSEncrypted: true || false,
6465
* KMSKey: "STRING_VALUE",
6566
* NFSFileShareDefaults: { // NFSFileShareDefaults

clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu
5353
* const client = new StorageGatewayClient(config);
5454
* const input = { // UpdateSMBFileShareInput
5555
* FileShareARN: "STRING_VALUE", // required
56+
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
5657
* KMSEncrypted: true || false,
5758
* KMSKey: "STRING_VALUE",
5859
* DefaultStorageClass: "STRING_VALUE",

clients/client-storage-gateway/src/models/models_0.ts

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

codegen/sdk-codegen/aws-models/storage-gateway.json

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

0 commit comments

Comments
 (0)