From 3cf46f190a6421f0846d1bac819f1cd2f5a5d574 Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 30 Jul 2024 18:19:27 +0000 Subject: [PATCH] docs(client-elasticache): Doc only update for changes to deletion API. --- .../src/commands/DeleteReplicationGroupCommand.ts | 11 ++++++++++- .../src/commands/DeleteServerlessCacheCommand.ts | 5 +++++ codegen/sdk-codegen/aws-models/elasticache.json | 4 ++-- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts b/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts index 532982366015..c58b2b666e50 100644 --- a/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts +++ b/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts @@ -37,7 +37,16 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr * immediately begins deleting the selected resources; you cannot cancel or revert this * operation.

* - *

This operation is valid for Redis OSS only.

+ * *
* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-elasticache/src/commands/DeleteServerlessCacheCommand.ts b/clients/client-elasticache/src/commands/DeleteServerlessCacheCommand.ts index 81fd048585d8..33b6be9b0032 100644 --- a/clients/client-elasticache/src/commands/DeleteServerlessCacheCommand.ts +++ b/clients/client-elasticache/src/commands/DeleteServerlessCacheCommand.ts @@ -29,6 +29,11 @@ export interface DeleteServerlessCacheCommandOutput extends DeleteServerlessCach /** *

Deletes a specified existing serverless cache.

+ * + *

+ * CreateServerlessCacheSnapshot permission is required to create a final snapshot. + * Without this permission, the API call will fail with an Access Denied exception.

+ *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/codegen/sdk-codegen/aws-models/elasticache.json b/codegen/sdk-codegen/aws-models/elasticache.json index 42484cd035df..6b1be7b265e7 100644 --- a/codegen/sdk-codegen/aws-models/elasticache.json +++ b/codegen/sdk-codegen/aws-models/elasticache.json @@ -5735,7 +5735,7 @@ } ], "traits": { - "smithy.api#documentation": "

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 RetainPrimaryCluster=true.

\n

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.

\n \n

This operation is valid for Redis OSS only.

\n
", + "smithy.api#documentation": "

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 RetainPrimaryCluster=true.

\n

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.

\n \n \n ", "smithy.api#examples": [ { "title": "DeleteReplicationGroup", @@ -5829,7 +5829,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a specified existing serverless cache.

" + "smithy.api#documentation": "

Deletes a specified existing serverless cache.

\n \n

\n CreateServerlessCacheSnapshot permission is required to create a final snapshot. \n Without this permission, the API call will fail with an Access Denied exception.

\n
" } }, "com.amazonaws.elasticache#DeleteServerlessCacheRequest": {