Skip to content

Commit

Permalink
feat(client-storage-gateway): The S3 File Gateway now supports DSSE-K…
Browse files Browse the repository at this point in the history
…MS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated.
  • Loading branch information
awstools committed Sep 12, 2024
1 parent 0dac89e commit 362f7e0
Show file tree
Hide file tree
Showing 8 changed files with 412 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface CreateNFSFileShareCommandOutput extends CreateNFSFileShareOutpu
* OwnerId: Number("long"),
* },
* GatewayARN: "STRING_VALUE", // required
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
* KMSEncrypted: true || false,
* KMSKey: "STRING_VALUE",
* Role: "STRING_VALUE", // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutpu
* const input = { // CreateSMBFileShareInput
* ClientToken: "STRING_VALUE", // required
* GatewayARN: "STRING_VALUE", // required
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
* KMSEncrypted: true || false,
* KMSKey: "STRING_VALUE",
* Role: "STRING_VALUE", // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export interface DescribeNFSFileSharesCommandOutput extends DescribeNFSFileShare
* // FileShareId: "STRING_VALUE",
* // FileShareStatus: "STRING_VALUE",
* // GatewayARN: "STRING_VALUE",
* // EncryptionType: "SseS3" || "SseKms" || "DsseKms",
* // KMSEncrypted: true || false,
* // KMSKey: "STRING_VALUE",
* // Path: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface DescribeSMBFileSharesCommandOutput extends DescribeSMBFileShare
* // FileShareId: "STRING_VALUE",
* // FileShareStatus: "STRING_VALUE",
* // GatewayARN: "STRING_VALUE",
* // EncryptionType: "SseS3" || "SseKms" || "DsseKms",
* // KMSEncrypted: true || false,
* // KMSKey: "STRING_VALUE",
* // Path: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface UpdateNFSFileShareCommandOutput extends UpdateNFSFileShareOutpu
* const client = new StorageGatewayClient(config);
* const input = { // UpdateNFSFileShareInput
* FileShareARN: "STRING_VALUE", // required
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
* KMSEncrypted: true || false,
* KMSKey: "STRING_VALUE",
* NFSFileShareDefaults: { // NFSFileShareDefaults
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu
* const client = new StorageGatewayClient(config);
* const input = { // UpdateSMBFileShareInput
* FileShareARN: "STRING_VALUE", // required
* EncryptionType: "SseS3" || "SseKms" || "DsseKms",
* KMSEncrypted: true || false,
* KMSKey: "STRING_VALUE",
* DefaultStorageClass: "STRING_VALUE",
Expand Down
350 changes: 296 additions & 54 deletions clients/client-storage-gateway/src/models/models_0.ts

Large diffs are not rendered by default.

142 changes: 110 additions & 32 deletions codegen/sdk-codegen/aws-models/storage-gateway.json

Large diffs are not rendered by default.

0 comments on commit 362f7e0

Please sign in to comment.