Skip to content

Commit

Permalink
docs(client-elasticache): Doc only update for changes to deletion API.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 30, 2024
1 parent 01552b0 commit 3cf46f1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,16 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
* immediately begins deleting the selected resources; you cannot cancel or revert this
* operation.</p>
* <note>
* <p>This operation is valid for Redis OSS only.</p>
* <ul>
* <li>
* <p>
* <code>CreateSnapshot</code> permission is required to create a final snapshot.
* Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>
* </li>
* <li>
* <p>This operation is valid for Redis OSS only.</p>
* </li>
* </ul>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export interface DeleteServerlessCacheCommandOutput extends DeleteServerlessCach

/**
* <p>Deletes a specified existing serverless cache.</p>
* <note>
* <p>
* <code>CreateServerlessCacheSnapshot</code> permission is required to create a final snapshot.
* Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/elasticache.json
Original file line number Diff line number Diff line change
Expand Up @@ -5735,7 +5735,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#examples": [
{
"title": "DeleteReplicationGroup",
Expand Down Expand Up @@ -5829,7 +5829,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a specified existing serverless cache.</p>"
"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>"
}
},
"com.amazonaws.elasticache#DeleteServerlessCacheRequest": {
Expand Down

0 comments on commit 3cf46f1

Please sign in to comment.