Skip to content

Commit 4a8e853

Browse files
author
awstools
committed
feat(client-appsync): Deprecate atRestEncryptionEnabled and transitEncryptionEnabled attributes in CreateApiCache action. Encryption is always enabled for new caches.
1 parent b09a8f9 commit 4a8e853

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

clients/client-appsync/src/models/models_0.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,12 +1505,16 @@ export interface CreateApiCacheRequest {
15051505
/**
15061506
* <p>Transit encryption flag when connecting to cache. You cannot update this setting after
15071507
* creation.</p>
1508+
*
1509+
* @deprecated
15081510
* @public
15091511
*/
15101512
transitEncryptionEnabled?: boolean | undefined;
15111513

15121514
/**
15131515
* <p>At-rest encryption flag for cache. You cannot update this setting after creation.</p>
1516+
*
1517+
* @deprecated
15141518
* @public
15151519
*/
15161520
atRestEncryptionEnabled?: boolean | undefined;

codegen/sdk-codegen/aws-models/appsync.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,13 +2541,21 @@
25412541
"target": "com.amazonaws.appsync#Boolean",
25422542
"traits": {
25432543
"smithy.api#default": false,
2544+
"smithy.api#deprecated": {
2545+
"since": "5/15/2025",
2546+
"message": "transitEncryptionEnabled attribute is deprecated. Encryption in transit is always enabled."
2547+
},
25442548
"smithy.api#documentation": "<p>Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.</p>"
25452549
}
25462550
},
25472551
"atRestEncryptionEnabled": {
25482552
"target": "com.amazonaws.appsync#Boolean",
25492553
"traits": {
25502554
"smithy.api#default": false,
2555+
"smithy.api#deprecated": {
2556+
"since": "5/15/2025",
2557+
"message": "atRestEncryptionEnabled attribute is deprecated. Encryption at rest is always enabled."
2558+
},
25512559
"smithy.api#documentation": "<p>At-rest encryption flag for cache. You cannot update this setting after creation.</p>"
25522560
}
25532561
},

0 commit comments

Comments
 (0)