Skip to content

Commit 3cf46f1

Browse files
author
awstools
committed
docs(client-elasticache): Doc only update for changes to deletion API.
1 parent 01552b0 commit 3cf46f1

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,16 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
3737
* immediately begins deleting the selected resources; you cannot cancel or revert this
3838
* operation.</p>
3939
* <note>
40-
* <p>This operation is valid for Redis OSS only.</p>
40+
* <ul>
41+
* <li>
42+
* <p>
43+
* <code>CreateSnapshot</code> permission is required to create a final snapshot.
44+
* Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>
45+
* </li>
46+
* <li>
47+
* <p>This operation is valid for Redis OSS only.</p>
48+
* </li>
49+
* </ul>
4150
* </note>
4251
* @example
4352
* Use a bare-bones client and the command you need to make an API call.

clients/client-elasticache/src/commands/DeleteServerlessCacheCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export interface DeleteServerlessCacheCommandOutput extends DeleteServerlessCach
2929

3030
/**
3131
* <p>Deletes a specified existing serverless cache.</p>
32+
* <note>
33+
* <p>
34+
* <code>CreateServerlessCacheSnapshot</code> permission is required to create a final snapshot.
35+
* Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>
36+
* </note>
3237
* @example
3338
* Use a bare-bones client and the command you need to make an API call.
3439
* ```javascript

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -5735,7 +5735,7 @@
57355735
}
57365736
],
57375737
"traits": {
5738-
"smithy.api#documentation": "<p>Deletes an existing replication group. By default, this operation deletes the entire\n replication group, including the primary/primaries and all of the read replicas. If the\n replication group has only one primary, you can optionally delete only the read\n replicas, while retaining the primary by setting\n <code>RetainPrimaryCluster=true</code>.</p>\n <p>When you receive a successful response from this operation, Amazon ElastiCache\n immediately begins deleting the selected resources; you cannot cancel or revert this\n operation.</p>\n <note>\n <p>This operation is valid for Redis OSS only.</p>\n </note>",
5738+
"smithy.api#documentation": "<p>Deletes an existing replication group. By default, this operation deletes the entire\n replication group, including the primary/primaries and all of the read replicas. If the\n replication group has only one primary, you can optionally delete only the read\n replicas, while retaining the primary by setting\n <code>RetainPrimaryCluster=true</code>.</p>\n <p>When you receive a successful response from this operation, Amazon ElastiCache\n immediately begins deleting the selected resources; you cannot cancel or revert this\n operation.</p>\n <note>\n <ul>\n <li>\n <p>\n <code>CreateSnapshot</code> permission is required to create a final snapshot. \n Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>\n </li>\n <li>\n <p>This operation is valid for Redis OSS only.</p>\n </li>\n </ul>\n </note>",
57395739
"smithy.api#examples": [
57405740
{
57415741
"title": "DeleteReplicationGroup",
@@ -5829,7 +5829,7 @@
58295829
}
58305830
],
58315831
"traits": {
5832-
"smithy.api#documentation": "<p>Deletes a specified existing serverless cache.</p>"
5832+
"smithy.api#documentation": "<p>Deletes a specified existing serverless cache.</p>\n <note>\n <p>\n <code>CreateServerlessCacheSnapshot</code> permission is required to create a final snapshot. \n Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>\n </note>"
58335833
}
58345834
},
58355835
"com.amazonaws.elasticache#DeleteServerlessCacheRequest": {

0 commit comments

Comments
 (0)