From c995dd7e0b00e0cf3e7308a586fc788b4e641569 Mon Sep 17 00:00:00 2001
From: awstools The new Amazon Elastic DocumentDB service endpoint. Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity.
+Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances. Amazon DocumentDB elastic-clusters were created to: provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility. give customers higher connection limits, and to reduce downtime from patching. continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads. The new Amazon Elastic DocumentDB service endpoint. Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity.
+ * Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances. Amazon DocumentDB elastic-clusters were created to: provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility. give customers higher connection limits, and to reduce downtime from patching. continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads. The new Amazon Elastic DocumentDB service endpoint. Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity.
+ * Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances. Amazon DocumentDB elastic-clusters were created to: provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility. give customers higher connection limits, and to reduce downtime from patching. continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads. Copies a snapshot of an elastic cluster. An exception that occurs when there are not sufficient permissions to perform an action. There was an access conflict. There was an internal server error. The specified resource could not be located. The service quota for the action was exceeded. ThrottlingException will be thrown when request was denied due to request throttling. A structure defining a validation exception. Base exception class for all service exceptions from DocDBElastic service. Creates a new Elastic DocumentDB cluster and returns its Cluster structure. Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure. Creates a snapshot of a cluster. Creates a snapshot of an elastic cluster. Delete a Elastic DocumentDB cluster. Delete an elastic cluster. Delete a Elastic DocumentDB snapshot. Delete an elastic cluster snapshot. Returns information about a specific Elastic DocumentDB cluster. Returns information about a specific elastic cluster. Returns information about a specific Elastic DocumentDB snapshot Returns information about a specific elastic cluster snapshot Returns information about Elastic DocumentDB snapshots for a specified cluster. Returns information about snapshots for a specified elastic cluster. Returns information about provisioned Elastic DocumentDB clusters. Returns information about provisioned Amazon DocumentDB elastic clusters. Lists all tags on a Elastic DocumentDB resource Lists all tags on a elastic cluster resource Restores a Elastic DocumentDB cluster from a snapshot. Restores an elastic cluster from a snapshot. Restarts the stopped elastic cluster that is specified by An exception that occurs when there are not sufficient permissions to perform an action. There was an internal server error. The specified resource could not be located. ThrottlingException will be thrown when request was denied due to request throttling. A structure defining a validation exception. Base exception class for all service exceptions from DocDBElastic service. Stops the running elastic cluster that is specified by An exception that occurs when there are not sufficient permissions to perform an action. There was an internal server error. The specified resource could not be located. ThrottlingException will be thrown when request was denied due to request throttling. A structure defining a validation exception. Base exception class for all service exceptions from DocDBElastic service. Adds metadata tags to a Elastic DocumentDB resource Adds metadata tags to an elastic cluster resource Removes metadata tags to a Elastic DocumentDB resource Removes metadata tags from an elastic cluster resource Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password,
- * upgrading API version setting up a backup window and maintenance window Modifies an elastic cluster. This includes updating admin-username/password,
+ * upgrading the API version, and setting up a backup window and maintenance window The new Amazon Elastic DocumentDB service endpoint. Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity.
+ * Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances. Amazon DocumentDB elastic-clusters were created to: provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility. give customers higher connection limits, and to reduce downtime from patching. continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads. The name of the new Elastic DocumentDB cluster. This parameter is stored as
- * a lowercase string.
- * Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
- * Example: The authentication type for the Elastic DocumentDB cluster. The Amazon Resource Name (ARN) identifier of the elastic cluster snapshot. The name of the Elastic DocumentDB cluster administrator.
- * Constraints: The identifier of the new elastic cluster snapshot to create from the source cluster snapshot.
+ * This parameter is not case sensitive. Constraints: Must be from 1 to 63 letters or numbers. Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot be a reserved word. The password for the Elastic DocumentDB cluster administrator and can
- * contain any printable ASCII characters.
- * Constraints: Must contain from 8 to 100 characters. Cannot contain a forward slash (/), double quote ("), or the "at" symbol (@). Cannot end with a hyphen or contain two consecutive hyphens. Example: The capacity of each shard in the new Elastic DocumentDB cluster. The number of shards to create in the new Elastic DocumentDB cluster. A list of EC2 VPC security groups to associate with the new
- * Elastic DocumentDB cluster. The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster. The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
- * encryption key. If you are creating a cluster using the same Amazon account
- * that owns this KMS encryption key, you can use the KMS key alias instead
- * of the ARN as the KMS encryption key. If an encryption key is not specified, Elastic DocumentDB uses the
- * default encryption key that KMS creates for your account. Your account
- * has a different default encryption key for each Amazon Region. The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot.
+ * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web Services KMS key identifier, or the Amazon Web Services KMS key alias for the Amazon Web Services KMS encryption key. If you copy an encrypted elastic cluster snapshot from your Amazon Web Services account, you can specify a value for To copy an encrypted elastic cluster snapshot to another Amazon Web Services region, set If you copy an unencrypted elastic cluster snapshot and specify a value for the The client token for the Elastic DocumentDB cluster. The weekly time range during which system maintenance can occur,
- * in Universal Coordinated Time (UTC).
- * Format:
- * Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
- * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
- * Constraints: Minimum 30-minute window. Set to The tags to be assigned to the new Elastic DocumentDB cluster. The tags to be assigned to the elastic cluster snapshot. Returns information about a specific Elastic DocumentDB cluster. Returns information about a specific elastic cluster snapshot. The name of the Elastic DocumentDB cluster. The arn of the Elastic DocumentDB cluster. The status of the Elastic DocumentDB cluster. The Amazon EC2 subnet IDs for the elastic cluster. The URL used to connect to the Elastic DocumentDB cluster. The name of the elastic cluster snapshot. The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC). The ARN identifier of the elastic cluster snapshot. The name of the Elastic DocumentDB cluster administrator. The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC). The authentication type for the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. The capacity of each shard in the Elastic DocumentDB cluster. The time when the elastic cluster was created in Universal Coordinated Time (UTC). The number of shards in the Elastic DocumentDB cluster. The status of the elastic cluster snapshot. A list of EC2 VPC security groups associated with this cluster. A list of EC2 VPC security groups to associate with the elastic cluster. The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster. The name of the elastic cluster administrator. The weekly time range during which system maintenance can occur,
- * in Universal Coordinated Time (UTC).
- * Format: The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key.
+ * If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key.
+ * If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account.
+ * Your account has a different default encryption key for each Amazon Region.
+ * The KMS key identifier to use to encrypt the Elastic DocumentDB cluster. The type of cluster snapshots to be returned.
+ * You can specify one of the following values:
+ *
+ * The new Elastic DocumentDB cluster that has been created. Returns information about a specific elastic cluster snapshot. The specified resource could not be located. The ID of the resource that could not be located. The type of the resource that could not be found. The service quota for the action was exceeded. The arn of the Elastic DocumentDB cluster that the snapshot will be taken from. The name of the new elastic cluster. This parameter is stored as
+ * a lowercase string.
+ * Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
+ * Example: The name of the Elastic DocumentDB snapshot. The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
+ * Valid types are The name of the Amazon DocumentDB elastic clusters administrator.
+ * Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word. The password for the Amazon DocumentDB elastic clusters administrator. The password can contain any printable ASCII characters.
+ * Constraints: Must contain from 8 to 100 characters. Cannot contain a forward slash (/), double quote ("), or the "at" symbol (@). The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64. The number of shards assigned to the elastic cluster. Maximum is 32. A list of EC2 VPC security groups to associate with the new
+ * elastic cluster. The Amazon EC2 subnet IDs for the new elastic cluster. The KMS key identifier to use to encrypt the new elastic cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
+ * encryption key. If you are creating a cluster using the same Amazon account
+ * that owns this KMS encryption key, you can use the KMS key alias instead
+ * of the ARN as the KMS encryption key. If an encryption key is not specified, Amazon DocumentDB uses the
+ * default encryption key that KMS creates for your account. Your account
+ * has a different default encryption key for each Amazon Region. The tags to be assigned to the new Elastic DocumentDB snapshot. The client token for the elastic cluster. The weekly time range during which system maintenance can occur,
+ * in Universal Coordinated Time (UTC).
+ * Format:
+ * Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
+ * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
+ * Constraints: Minimum 30-minute window. The tags to be assigned to the new elastic cluster. The number of days for which automatic snapshots are retained. The daily time range during which automated backups are created if automated backups are enabled, as determined by the The number of replica instances applying to all shards in the elastic cluster.
+ * A Returns information about a specific Elastic DocumentDB snapshot. The name of the shard. A list of the IDs of subnets associated with the DB cluster snapshot. The ID of the shard. The name of the Elastic DocumentDB snapshot. The time when the shard was created in Universal Coordinated Time (UTC). The arn of the Elastic DocumentDB snapshot The current status of the shard. Returns information about a specific elastic cluster. The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC). The name of the elastic cluster. The arn of the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC). The status of the elastic cluster. The status of the Elastic DocumentDB snapshot. The URL used to connect to the elastic cluster. A list of the IDs of the VPC security groups associated with the cluster snapshot. The time when the elastic cluster was created in Universal Coordinated Time (UTC). The name of the Elastic DocumentDB cluster administrator. The name of the elastic cluster administrator. The KMS key identifier to use to encrypt the Elastic DocumentDB cluster. The authentication type for the elastic cluster. The number of vCPUs assigned to each elastic cluster shard. Maximum is 64.
+ * Allowed values are 2, 4, 8, 16, 32, 64. The number of shards assigned to the elastic cluster. Maximum is 32. A list of EC2 VPC security groups associated with thie elastic cluster. The Amazon EC2 subnet IDs for the elastic cluster. The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
+ * Format: The KMS key identifier to use to encrypt the elastic cluster. The total number of shards in the cluster. The number of days for which automatic snapshots are retained. The daily time range during which automated backups are created if automated backups are enabled, as determined by The number of replica instances applying to all shards in the cluster.
+ * A Returns information about the new Elastic DocumentDB snapshot. The new elastic cluster that has been created. The specified resource could not be located. The ID of the resource that could not be located. The ARN identifier of the elastic cluster of which you want to create a snapshot. The type of the resource that could not be found. The name of the new elastic cluster snapshot. The tags to be assigned to the new elastic cluster snapshot. Returns information about the new elastic cluster snapshot. The arn of the Elastic DocumentDB cluster that is to be deleted. The ARN identifier of the elastic cluster that is to be deleted. Returns information about the newly deleted Elastic DocumentDB cluster. Returns information about the newly deleted elastic cluster. The arn of the Elastic DocumentDB snapshot that is to be deleted. The ARN identifier of the elastic cluster snapshot that is to be deleted. Returns information about the newly deleted Elastic DocumentDB snapshot. Returns information about the newly deleted elastic cluster snapshot. The arn of the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. Returns information about a specific Elastic DocumentDB cluster. Returns information about a specific elastic cluster. The arn of the Elastic DocumentDB snapshot. The ARN identifier of the elastic cluster snapshot. Returns information about a specific Elastic DocumentDB snapshot. Returns information about a specific elastic cluster snapshot. The nextToken which is used the get the next page of data. A pagination token provided by a previous request.
+ * If this parameter is specified, the response includes only records beyond this token, up to the value specified by If there is no more data in the responce, the The maximum number of entries to recieve in the response. The maximum number of elastic cluster snapshot results to receive in the response. A list of Elastic DocumentDB cluster. A list of Amazon DocumentDB elastic clusters. The name of the Elastic DocumentDB cluster. The name of the elastic cluster. The arn of the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. The status of the Elastic DocumentDB cluster. The status of the elastic cluster. A list of Elastic DocumentDB cluster. A list of Amazon DocumentDB elastic clusters. The response will provide a nextToken if there is more data beyond the maxResults. If there is no more data in the responce, the nextToken will not be returned. A pagination token provided by a previous request.
+ * If this parameter is specified, the response includes only records beyond this token, up to the value specified by If there is no more data in the responce, the The arn of the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. The nextToken which is used the get the next page of data. A pagination token provided by a previous request.
+ * If this parameter is specified, the response includes only records beyond this token, up to the value specified by If there is no more data in the responce, the The maximum number of entries to recieve in the response. The maximum number of elastic cluster snapshot results to receive in the response. The type of cluster snapshots to be returned. You can specify one of the following values:
+ *
+ * A list of Elastic DocumentDB snapshots. A list of elastic cluster snapshots. The name of the Elastic DocumentDB snapshot. The name of the elastic cluster snapshot. The arn of the Elastic DocumentDB snapshot The ARN identifier of the elastic cluster snapshot. The arn of the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. The status of the Elastic DocumentDB snapshot. The status of the elastic cluster snapshot. The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC). The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC). A list of Elastic DocumentDB snapshots for a specified cluster. A list of snapshots for a specified elastic cluster. The response will provide a nextToken if there is more data beyond the maxResults. If there is no more data in the responce, the nextToken will not be returned. A pagination token provided by a previous request.
+ * If this parameter is specified, the response includes only records beyond this token, up to the value specified by If there is no more data in the responce, the The arn of the Elastic DocumentDB resource. The ARN identifier of the elastic cluster resource. The list of tags for the specified Elastic DocumentDB resource. The list of tags for the specified elastic cluster resource. The name of the Elastic DocumentDB cluster. The name of the elastic cluster. The arn of the Elastic DocumentDB snapshot. The ARN identifier of the elastic cluster snapshot. A list of EC2 VPC security groups to associate with the
- * Elastic DocumentDB cluster. A list of EC2 VPC security groups to associate with the elastic cluster. The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster. The Amazon EC2 subnet IDs for the elastic cluster. The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster. The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic clusters cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
* encryption key. If you are creating a cluster using the same Amazon account
* that owns this KMS encryption key, you can use the KMS key alias instead
* of the ARN as the KMS encryption key. If an encryption key is not specified here, Elastic DocumentDB uses the
+ * If an encryption key is not specified here, Amazon DocumentDB uses the
* default encryption key that KMS creates for your account. Your account
* has a different default encryption key for each Amazon Region. A list of the tag names to be assigned to the restored DB cluster,
- * in the form of an array of key-value pairs in which the key
- * is the tag name and the value is the key value. A list of the tag names to be assigned to the restored elastic cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value. The capacity of each shard in the new restored elastic cluster. The number of replica instances applying to all shards in the elastic cluster.
+ * A Returns information about a the restored Elastic DocumentDB cluster. Returns information about a the restored elastic cluster. The ARN identifier of the elastic cluster. Returns information about a specific elastic cluster. The ARN identifier of the elastic cluster. Returns information about a specific elastic cluster. The arn of the Elastic DocumentDB resource. The ARN identifier of the elastic cluster resource. The tags to be assigned to the Elastic DocumentDB resource. The tags that are assigned to the elastic cluster resource. The arn of the Elastic DocumentDB resource. The ARN identifier of the elastic cluster resource. The tag keys to be removed from the Elastic DocumentDB resource. The tag keys to be removed from the elastic cluster resource. The arn of the Elastic DocumentDB cluster. The ARN identifier of the elastic cluster. The authentication type for the Elastic DocumentDB cluster. The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
+ * Valid types are The capacity of each shard in the Elastic DocumentDB cluster. The number of vCPUs assigned to each elastic cluster shard.
+ * Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64. The number of shards to create in the Elastic DocumentDB cluster. The number of shards assigned to the elastic cluster. Maximum is 32. A list of EC2 VPC security groups to associate with the new
- * Elastic DocumentDB cluster. A list of EC2 VPC security groups to associate with the elastic cluster. The number of shards to create in the Elastic DocumentDB cluster. The Amazon EC2 subnet IDs for the elastic cluster. The password for the Elastic DocumentDB cluster administrator. This password can
- * contain any printable ASCII character except forward slash (/),
- * double quote ("), or the "at" symbol (@). The password associated with the elastic cluster administrator.
+ * This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
* Constraints: Must contain from 8 to 100 characters. The client token for the Elastic DocumentDB cluster. The client token for the elastic cluster. The weekly time range during which system maintenance can occur,
- * in Universal Coordinated Time (UTC). The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
* Format:
+
## Installing
@@ -203,6 +218,14 @@ see LICENSE for more information.
## Client Commands (Operations List)
+
+CopyClusterSnapshot
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/CopyClusterSnapshotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/CopyClusterSnapshotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/CopyClusterSnapshotCommandOutput/)
+
+
CreateCluster
@@ -282,6 +305,22 @@ RestoreClusterFromSnapshot
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/RestoreClusterFromSnapshotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/RestoreClusterFromSnapshotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/RestoreClusterFromSnapshotCommandOutput/)
+
+StartCluster
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/StartClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/StartClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/StartClusterCommandOutput/)
+
+
+StopCluster
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/StopClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/StopClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/StopClusterCommandOutput/)
+
diff --git a/clients/client-docdb-elastic/src/DocDBElastic.ts b/clients/client-docdb-elastic/src/DocDBElastic.ts
index 26c470d2579ff..8d9603374b376 100644
--- a/clients/client-docdb-elastic/src/DocDBElastic.ts
+++ b/clients/client-docdb-elastic/src/DocDBElastic.ts
@@ -2,6 +2,11 @@
import { createAggregatedClient } from "@smithy/smithy-client";
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
+import {
+ CopyClusterSnapshotCommand,
+ CopyClusterSnapshotCommandInput,
+ CopyClusterSnapshotCommandOutput,
+} from "./commands/CopyClusterSnapshotCommand";
import {
CreateClusterCommand,
CreateClusterCommandInput,
@@ -48,6 +53,12 @@ import {
RestoreClusterFromSnapshotCommandInput,
RestoreClusterFromSnapshotCommandOutput,
} from "./commands/RestoreClusterFromSnapshotCommand";
+import {
+ StartClusterCommand,
+ StartClusterCommandInput,
+ StartClusterCommandOutput,
+} from "./commands/StartClusterCommand";
+import { StopClusterCommand, StopClusterCommandInput, StopClusterCommandOutput } from "./commands/StopClusterCommand";
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import {
UntagResourceCommand,
@@ -62,6 +73,7 @@ import {
import { DocDBElasticClient, DocDBElasticClientConfig } from "./DocDBElasticClient";
const commands = {
+ CopyClusterSnapshotCommand,
CreateClusterCommand,
CreateClusterSnapshotCommand,
DeleteClusterCommand,
@@ -72,12 +84,31 @@ const commands = {
ListClusterSnapshotsCommand,
ListTagsForResourceCommand,
RestoreClusterFromSnapshotCommand,
+ StartClusterCommand,
+ StopClusterCommand,
TagResourceCommand,
UntagResourceCommand,
UpdateClusterCommand,
};
export interface DocDBElastic {
+ /**
+ * @see {@link CopyClusterSnapshotCommand}
+ */
+ copyClusterSnapshot(
+ args: CopyClusterSnapshotCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
+ *
*/
export class DocDBElastic extends DocDBElasticClient implements DocDBElastic {}
createAggregatedClient(commands, DocDBElastic);
diff --git a/clients/client-docdb-elastic/src/DocDBElasticClient.ts b/clients/client-docdb-elastic/src/DocDBElasticClient.ts
index 7a70851889061..cb35e64f50885 100644
--- a/clients/client-docdb-elastic/src/DocDBElasticClient.ts
+++ b/clients/client-docdb-elastic/src/DocDBElasticClient.ts
@@ -53,6 +53,10 @@ import {
HttpAuthSchemeResolvedConfig,
resolveHttpAuthSchemeConfig,
} from "./auth/httpAuthSchemeProvider";
+import {
+ CopyClusterSnapshotCommandInput,
+ CopyClusterSnapshotCommandOutput,
+} from "./commands/CopyClusterSnapshotCommand";
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
import {
CreateClusterSnapshotCommandInput,
@@ -78,6 +82,8 @@ import {
RestoreClusterFromSnapshotCommandInput,
RestoreClusterFromSnapshotCommandOutput,
} from "./commands/RestoreClusterFromSnapshotCommand";
+import { StartClusterCommandInput, StartClusterCommandOutput } from "./commands/StartClusterCommand";
+import { StopClusterCommandInput, StopClusterCommandOutput } from "./commands/StopClusterCommand";
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
@@ -96,6 +102,7 @@ export { __Client };
* @public
*/
export type ServiceInputTypes =
+ | CopyClusterSnapshotCommandInput
| CreateClusterCommandInput
| CreateClusterSnapshotCommandInput
| DeleteClusterCommandInput
@@ -106,6 +113,8 @@ export type ServiceInputTypes =
| ListClustersCommandInput
| ListTagsForResourceCommandInput
| RestoreClusterFromSnapshotCommandInput
+ | StartClusterCommandInput
+ | StopClusterCommandInput
| TagResourceCommandInput
| UntagResourceCommandInput
| UpdateClusterCommandInput;
@@ -114,6 +123,7 @@ export type ServiceInputTypes =
* @public
*/
export type ServiceOutputTypes =
+ | CopyClusterSnapshotCommandOutput
| CreateClusterCommandOutput
| CreateClusterSnapshotCommandOutput
| DeleteClusterCommandOutput
@@ -124,6 +134,8 @@ export type ServiceOutputTypes =
| ListClustersCommandOutput
| ListTagsForResourceCommandOutput
| RestoreClusterFromSnapshotCommandOutput
+ | StartClusterCommandOutput
+ | StopClusterCommandOutput
| TagResourceCommandOutput
| UntagResourceCommandOutput
| UpdateClusterCommandOutput;
@@ -301,7 +313,21 @@ export interface DocDBElasticClientResolvedConfig extends DocDBElasticClientReso
/**
* @public
- *
+ *
*/
export class DocDBElasticClient extends __Client<
__HttpHandlerOptions,
diff --git a/clients/client-docdb-elastic/src/commands/CopyClusterSnapshotCommand.ts b/clients/client-docdb-elastic/src/commands/CopyClusterSnapshotCommand.ts
new file mode 100644
index 0000000000000..535a7192a21b9
--- /dev/null
+++ b/clients/client-docdb-elastic/src/commands/CopyClusterSnapshotCommand.ts
@@ -0,0 +1,124 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import { CopyClusterSnapshotInput, CopyClusterSnapshotOutput } from "../models/models_0";
+import { de_CopyClusterSnapshotCommand, se_CopyClusterSnapshotCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CopyClusterSnapshotCommand}.
+ */
+export interface CopyClusterSnapshotCommandInput extends CopyClusterSnapshotInput {}
+/**
+ * @public
+ *
+ * The output of {@link CopyClusterSnapshotCommand}.
+ */
+export interface CopyClusterSnapshotCommandOutput extends CopyClusterSnapshotOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * clusterARN
.clusterArn
.
+ * The elastic cluster must be in the available state.
+ *
*
* @packageDocumentation
*/
diff --git a/clients/client-docdb-elastic/src/models/models_0.ts b/clients/client-docdb-elastic/src/models/models_0.ts
index 3e15a650e81dc..ddd67aa52b28d 100644
--- a/clients/client-docdb-elastic/src/models/models_0.ts
+++ b/clients/client-docdb-elastic/src/models/models_0.ts
@@ -74,151 +74,96 @@ export class ConflictException extends __BaseException {
/**
* @public
*/
-export interface CreateClusterInput {
- /**
- * @public
- *
- *
- * my-cluster
- *
*
- */
- adminUserName: string | undefined;
-
- /**
- * @public
- *
- *
+ * elastic-cluster-snapshot-5
+ * KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS KMS encryption key.
+ * If you don't specify a value for KmsKeyId
, then the copy of the elastic cluster snapshot is encrypted with the same AWS
KMS key as the source elastic cluster snapshot.KmsKeyId
to the Amazon Web Services KMS key ID that you want to use to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services region that they are created in, and you can't use encryption keys from one Amazon Web Services region in another Amazon Web Services region.KmsKeyId
parameter, an error is returned.ddd:hh24:mi-ddd:hh24:mi
- * true
to copy all tags from the source cluster snapshot to the target elastic cluster snapshot.
+ * The default is false
.ddd:hh24:mi-ddd:hh24:mi
- *
+ *
*/
- kmsKeyId: string | undefined;
+ snapshotType?: SnapshotType;
}
/**
* @public
*/
-export interface CreateClusterOutput {
+export interface CopyClusterSnapshotOutput {
/**
* @public
- * automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account.manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services account.
+ *
+ * my-cluster
+ * PLAIN_TEXT
or SECRET_ARN
.
+ *
+ */
+ adminUserName: string | undefined;
+
+ /**
+ * @public
+ *
+ *
+ */
+ adminUserPassword: string | undefined;
+
+ /**
+ * @public
+ * ddd:hh24:mi-ddd:hh24:mi
+ * backupRetentionPeriod
.shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.ddd:hh24:mi-ddd:hh24:mi
+ * backupRetentionPeriod
.shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.max-results
.nextToken
will not be returned.max-results
.nextToken
will not be returned.max-results
.nextToken
will not be returned.
+ *
+ */
+ snapshotType?: string;
}
/**
* @public
- * automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account.manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services account.max-results
.nextToken
will not be returned.shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.PLAIN_TEXT
or SECRET_ARN
.ddd:hh24:mi-ddd:hh24:mi
*
The number of days for which automatic snapshots are retained.
+ */ + backupRetentionPeriod?: number; + + /** + * @public + *The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod
.
The number of replica instances applying to all shards in the elastic cluster.
+ * A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
Returns information about the updated Elastic DocumentDB cluster.
+ *Returns information about the updated elastic cluster.
*/ cluster: Cluster | undefined; } diff --git a/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts b/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts index 5a9a8f3565432..9eedc2675fd23 100644 --- a/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts +++ b/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts @@ -22,6 +22,10 @@ import { } from "@smithy/types"; import { v4 as generateIdempotencyToken } from "uuid"; +import { + CopyClusterSnapshotCommandInput, + CopyClusterSnapshotCommandOutput, +} from "../commands/CopyClusterSnapshotCommand"; import { CreateClusterCommandInput, CreateClusterCommandOutput } from "../commands/CreateClusterCommand"; import { CreateClusterSnapshotCommandInput, @@ -47,6 +51,8 @@ import { RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput, } from "../commands/RestoreClusterFromSnapshotCommand"; +import { StartClusterCommandInput, StartClusterCommandOutput } from "../commands/StartClusterCommand"; +import { StopClusterCommandInput, StopClusterCommandOutput } from "../commands/StopClusterCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "../commands/UpdateClusterCommand"; @@ -61,6 +67,32 @@ import { ValidationException, } from "../models/models_0"; +/** + * serializeAws_restJson1CopyClusterSnapshotCommand + */ +export const se_CopyClusterSnapshotCommand = async ( + input: CopyClusterSnapshotCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/cluster-snapshot/{snapshotArn}/copy"); + b.p("snapshotArn", () => input.snapshotArn!, "{snapshotArn}", false); + let body: any; + body = JSON.stringify( + take(input, { + copyTags: [], + kmsKeyId: [], + tags: (_) => _json(_), + targetSnapshotName: [], + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1CreateClusterCommand */ @@ -79,12 +111,15 @@ export const se_CreateClusterCommand = async ( adminUserName: [], adminUserPassword: [], authType: [], + backupRetentionPeriod: [], clientToken: [true, (_) => _ ?? generateIdempotencyToken()], clusterName: [], kmsKeyId: [], + preferredBackupWindow: [], preferredMaintenanceWindow: [], shardCapacity: [], shardCount: [], + shardInstanceCount: [], subnetIds: (_) => _json(_), tags: (_) => _json(_), vpcSecurityGroupIds: (_) => _json(_), @@ -215,6 +250,7 @@ export const se_ListClusterSnapshotsCommand = async ( [_cA]: [, input[_cA]!], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], + [_sT]: [, input[_sT]!], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -255,6 +291,8 @@ export const se_RestoreClusterFromSnapshotCommand = async ( take(input, { clusterName: [], kmsKeyId: [], + shardCapacity: [], + shardInstanceCount: [], subnetIds: (_) => _json(_), tags: (_) => _json(_), vpcSecurityGroupIds: (_) => _json(_), @@ -264,6 +302,38 @@ export const se_RestoreClusterFromSnapshotCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1StartClusterCommand + */ +export const se_StartClusterCommand = async ( + input: StartClusterCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/cluster/{clusterArn}/start"); + b.p("clusterArn", () => input.clusterArn!, "{clusterArn}", false); + let body: any; + b.m("POST").h(headers).b(body); + return b.build(); +}; + +/** + * serializeAws_restJson1StopClusterCommand + */ +export const se_StopClusterCommand = async ( + input: StopClusterCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/cluster/{clusterArn}/stop"); + b.p("clusterArn", () => input.clusterArn!, "{clusterArn}", false); + let body: any; + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1TagResourceCommand */ @@ -327,10 +397,13 @@ export const se_UpdateClusterCommand = async ( take(input, { adminUserPassword: [], authType: [], + backupRetentionPeriod: [], clientToken: [true, (_) => _ ?? generateIdempotencyToken()], + preferredBackupWindow: [], preferredMaintenanceWindow: [], shardCapacity: [], shardCount: [], + shardInstanceCount: [], subnetIds: (_) => _json(_), vpcSecurityGroupIds: (_) => _json(_), }) @@ -339,6 +412,27 @@ export const se_UpdateClusterCommand = async ( return b.build(); }; +/** + * deserializeAws_restJson1CopyClusterSnapshotCommand + */ +export const de_CopyClusterSnapshotCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseThe new Amazon Elastic DocumentDB service endpoint.
", + "smithy.api#documentation": "Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity. \n Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances.
\nAmazon DocumentDB elastic-clusters were created to:
\nprovide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility.
\ngive customers higher connection limits, and to reduce downtime from patching.
\ncontinue investing in a cloud-native, elastic, and class leading architecture for JSON workloads.
\nThe name of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The name of the elastic cluster.
", "smithy.api#required": {} } }, "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.docdbelastic#Status", "traits": { - "smithy.api#documentation": "The status of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The status of the elastic cluster.
", "smithy.api#required": {} } }, "clusterEndpoint": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The URL used to connect to the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The URL used to connect to the elastic cluster.
", "smithy.api#required": {} } }, "createTime": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
", + "smithy.api#documentation": "The time when the elastic cluster was created in Universal Coordinated Time (UTC).
", "smithy.api#required": {} } }, "adminUserName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB cluster administrator.
", + "smithy.api#documentation": "The name of the elastic cluster administrator.
", "smithy.api#required": {} } }, "authType": { "target": "com.amazonaws.docdbelastic#Auth", "traits": { - "smithy.api#documentation": "The authentication type for the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The authentication type for the elastic cluster.
", "smithy.api#required": {} } }, "shardCapacity": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "The capacity of each shard in the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. \n Allowed values are 2, 4, 8, 16, 32, 64.
", "smithy.api#required": {} } }, "shardCount": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "The number of shards in the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The number of shards assigned to the elastic cluster. Maximum is 32.
", "smithy.api#required": {} } }, "vpcSecurityGroupIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "A list of EC2 VPC security groups associated with this cluster.
", + "smithy.api#documentation": "A list of EC2 VPC security groups associated with thie elastic cluster.
", "smithy.api#required": {} } }, "subnetIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The Amazon EC2 subnet IDs for the elastic cluster.
", "smithy.api#required": {} } }, "preferredMaintenanceWindow": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The weekly time range during which system maintenance can occur,\n in Universal Coordinated Time (UTC).
\n\n Format: ddd:hh24:mi-ddd:hh24:mi
\n
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
\n\n Format: ddd:hh24:mi-ddd:hh24:mi
\n
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The KMS key identifier to use to encrypt the elastic cluster.
", "smithy.api#required": {} } + }, + "shards": { + "target": "com.amazonaws.docdbelastic#ShardList", + "traits": { + "smithy.api#documentation": "The total number of shards in the cluster.
" + } + }, + "backupRetentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The number of days for which automatic snapshots are retained.
" + } + }, + "preferredBackupWindow": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The daily time range during which automated backups are created if automated backups are enabled, as determined by backupRetentionPeriod
.
The number of replica instances applying to all shards in the cluster. \n A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
Returns information about a specific Elastic DocumentDB cluster.
" + "smithy.api#documentation": "Returns information about a specific elastic cluster.
" } }, "com.amazonaws.docdbelastic#ClusterInList": { @@ -881,27 +914,27 @@ "clusterName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The name of the elastic cluster.
", "smithy.api#required": {} } }, "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.docdbelastic#Status", "traits": { - "smithy.api#documentation": "The status of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The status of the elastic cluster.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "A list of Elastic DocumentDB cluster.
" + "smithy.api#documentation": "A list of Amazon DocumentDB elastic clusters.
" } }, "com.amazonaws.docdbelastic#ClusterList": { @@ -916,76 +949,82 @@ "subnetIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "A list of the IDs of subnets associated with the DB cluster snapshot.
", + "smithy.api#documentation": "The Amazon EC2 subnet IDs for the elastic cluster.
", "smithy.api#required": {} } }, "snapshotName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The name of the elastic cluster snapshot.
", "smithy.api#required": {} } }, "snapshotArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB snapshot
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster snapshot.
", "smithy.api#required": {} } }, "snapshotCreationTime": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
", + "smithy.api#documentation": "The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
", "smithy.api#required": {} } }, "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#required": {} } }, "clusterCreationTime": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
", + "smithy.api#documentation": "The time when the elastic cluster was created in Universal Coordinated Time (UTC).
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.docdbelastic#Status", "traits": { - "smithy.api#documentation": "The status of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The status of the elastic cluster snapshot.
", "smithy.api#required": {} } }, "vpcSecurityGroupIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "A list of the IDs of the VPC security groups associated with the cluster snapshot.
", + "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the elastic cluster.
", "smithy.api#required": {} } }, "adminUserName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB cluster administrator.
", + "smithy.api#documentation": "The name of the elastic cluster administrator.
", "smithy.api#required": {} } }, "kmsKeyId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. \n If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key.\n If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. \n Your account has a different default encryption key for each Amazon Region.\n
", "smithy.api#required": {} } + }, + "snapshotType": { + "target": "com.amazonaws.docdbelastic#SnapshotType", + "traits": { + "smithy.api#documentation": "The type of cluster snapshots to be returned. \n You can specify one of the following values:
\n\n automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account.
\n manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services account.
Returns information about a specific Elastic DocumentDB snapshot.
" + "smithy.api#documentation": "Returns information about a specific elastic cluster snapshot.
" } }, "com.amazonaws.docdbelastic#ClusterSnapshotInList": { @@ -994,41 +1033,41 @@ "snapshotName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The name of the elastic cluster snapshot.
", "smithy.api#required": {} } }, "snapshotArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB snapshot
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster snapshot.
", "smithy.api#required": {} } }, "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.docdbelastic#Status", "traits": { - "smithy.api#documentation": "The status of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The status of the elastic cluster snapshot.
", "smithy.api#required": {} } }, "snapshotCreationTime": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
", + "smithy.api#documentation": "The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "A list of Elastic DocumentDB snapshots.
" + "smithy.api#documentation": "A list of elastic cluster snapshots.
" } }, "com.amazonaws.docdbelastic#ClusterSnapshotList": { @@ -1067,6 +1106,133 @@ "smithy.api#httpError": 409 } }, + "com.amazonaws.docdbelastic#CopyClusterSnapshot": { + "type": "operation", + "input": { + "target": "com.amazonaws.docdbelastic#CopyClusterSnapshotInput" + }, + "output": { + "target": "com.amazonaws.docdbelastic#CopyClusterSnapshotOutput" + }, + "errors": [ + { + "target": "com.amazonaws.docdbelastic#AccessDeniedException" + }, + { + "target": "com.amazonaws.docdbelastic#ConflictException" + }, + { + "target": "com.amazonaws.docdbelastic#InternalServerException" + }, + { + "target": "com.amazonaws.docdbelastic#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.docdbelastic#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.docdbelastic#ThrottlingException" + }, + { + "target": "com.amazonaws.docdbelastic#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Copies a snapshot of an elastic cluster.
", + "smithy.api#examples": [ + { + "title": "Basic Copy Cluster Snapshot Example", + "documentation": "update applied", + "input": { + "snapshotArn": "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster-snapshot/$SOURCE_SNAPSHOT_ID", + "targetSnapshotName": "sampleSnapshotName" + }, + "output": { + "snapshot": { + "subnetIds": ["subnetId1", "subnetId2"], + "snapshotName": "sampleSnapshotName", + "snapshotArn": "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster-snapshot/$TARGET_SNAPSHOT_ID", + "snapshotCreationTime": "2000-01-01T00:00:00.000Z", + "clusterArn": "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID", + "clusterCreationTime": "2000-01-01T00:00:00.000Z", + "status": "ACTIVE", + "vpcSecurityGroupIds": ["vpcSgId1, vpcSgId2"], + "adminUserName": "sampleAdminUser", + "kmsKeyId": "AWS_OWNED_KMS_KEY", + "snapshotType": "MANUAL" + } + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cluster-snapshot/{snapshotArn}/copy" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.docdbelastic#CopyClusterSnapshotInput": { + "type": "structure", + "members": { + "snapshotArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) identifier of the elastic cluster snapshot.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "snapshotArn" + } + }, + "targetSnapshotName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The identifier of the new elastic cluster snapshot to create from the source cluster snapshot. \n This parameter is not case sensitive.
\nConstraints:
\nMust contain from 1 to 63 letters, numbers, or hyphens.
\nThe first character must be a letter.
\nCannot end with a hyphen or contain two consecutive hyphens.
\nExample: elastic-cluster-snapshot-5
\n
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. \n The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web Services KMS key identifier, or the Amazon Web Services KMS key alias for the Amazon Web Services KMS encryption key.
\nIf you copy an encrypted elastic cluster snapshot from your Amazon Web Services account, you can specify a value for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS KMS encryption key. \n If you don't specify a value for KmsKeyId
, then the copy of the elastic cluster snapshot is encrypted with the same AWS
KMS key as the source elastic cluster snapshot.
To copy an encrypted elastic cluster snapshot to another Amazon Web Services region, set KmsKeyId
to the Amazon Web Services KMS key ID that you want to use to encrypt the copy of the elastic cluster snapshot in the destination region. \n Amazon Web Services KMS encryption keys are specific to the Amazon Web Services region that they are created in, and you can't use encryption keys from one Amazon Web Services region in another Amazon Web Services region.
If you copy an unencrypted elastic cluster snapshot and specify a value for the KmsKeyId
parameter, an error is returned.
Set to true
to copy all tags from the source cluster snapshot to the target elastic cluster snapshot. \n The default is false
.
The tags to be assigned to the elastic cluster snapshot.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.docdbelastic#CopyClusterSnapshotOutput": { + "type": "structure", + "members": { + "snapshot": { + "target": "com.amazonaws.docdbelastic#ClusterSnapshot", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.docdbelastic#CreateCluster": { "type": "operation", "input": { @@ -1096,7 +1262,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
", + "smithy.api#documentation": "Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
", "smithy.api#http": { "code": 200, "method": "POST", @@ -1111,67 +1277,67 @@ "clusterName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the new Elastic DocumentDB cluster. This parameter is stored as\n a lowercase string.
\n\n Constraints:
\nMust contain from 1 to 63 letters, numbers, or hyphens.
\nThe first character must be a letter.
\nCannot end with a hyphen or contain two consecutive hyphens.
\n\n Example: my-cluster
\n
The name of the new elastic cluster. This parameter is stored as\n a lowercase string.
\n\n Constraints:
\nMust contain from 1 to 63 letters, numbers, or hyphens.
\nThe first character must be a letter.
\nCannot end with a hyphen or contain two consecutive hyphens.
\n\n Example: my-cluster
\n
The authentication type for the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The authentication type used to determine where to fetch the password used for accessing the elastic cluster. \n Valid types are PLAIN_TEXT
or SECRET_ARN
.
The name of the Elastic DocumentDB cluster administrator.
\n\n Constraints:
\nMust be from 1 to 63 letters or numbers.
\nThe first character must be a letter.
\nCannot be a reserved word.
\nThe name of the Amazon DocumentDB elastic clusters administrator.
\n\n Constraints:
\nMust be from 1 to 63 letters or numbers.
\nThe first character must be a letter.
\nCannot be a reserved word.
\nThe password for the Elastic DocumentDB cluster administrator and can\n contain any printable ASCII characters.
\n\n Constraints:
\nMust contain from 8 to 100 characters.
\nCannot contain a forward slash (/), double quote (\"), or the \"at\" symbol (@).
\nThe password for the Amazon DocumentDB elastic clusters administrator. The password can contain any printable ASCII characters.
\n\n Constraints:
\nMust contain from 8 to 100 characters.
\nCannot contain a forward slash (/), double quote (\"), or the \"at\" symbol (@).
\nThe capacity of each shard in the new Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
", "smithy.api#required": {} } }, "shardCount": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "The number of shards to create in the new Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The number of shards assigned to the elastic cluster. Maximum is 32.
", "smithy.api#required": {} } }, "vpcSecurityGroupIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the new\n Elastic DocumentDB cluster.
" + "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the new\n elastic cluster.
" } }, "subnetIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The Amazon EC2 subnet IDs for the new elastic cluster.
" } }, "kmsKeyId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
\nThe KMS key identifier is the Amazon Resource Name (ARN) for the KMS\n encryption key. If you are creating a cluster using the same Amazon account\n that owns this KMS encryption key, you can use the KMS key alias instead\n of the ARN as the KMS encryption key.
\nIf an encryption key is not specified, Elastic DocumentDB uses the\n default encryption key that KMS creates for your account. Your account\n has a different default encryption key for each Amazon Region.
" + "smithy.api#documentation": "The KMS key identifier to use to encrypt the new elastic cluster.
\nThe KMS key identifier is the Amazon Resource Name (ARN) for the KMS\n encryption key. If you are creating a cluster using the same Amazon account\n that owns this KMS encryption key, you can use the KMS key alias instead\n of the ARN as the KMS encryption key.
\nIf an encryption key is not specified, Amazon DocumentDB uses the\n default encryption key that KMS creates for your account. Your account\n has a different default encryption key for each Amazon Region.
" } }, "clientToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The client token for the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The client token for the elastic cluster.
", "smithy.api#idempotencyToken": {} } }, @@ -1184,7 +1350,25 @@ "tags": { "target": "com.amazonaws.docdbelastic#TagMap", "traits": { - "smithy.api#documentation": "The tags to be assigned to the new Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The tags to be assigned to the new elastic cluster.
" + } + }, + "backupRetentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The number of days for which automatic snapshots are retained.
" + } + }, + "preferredBackupWindow": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod
.
The number of replica instances applying to all shards in the elastic cluster. \n A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
The new Elastic DocumentDB cluster that has been created.
", + "smithy.api#documentation": "The new elastic cluster that has been created.
", "smithy.api#required": {} } } @@ -1233,7 +1417,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a snapshot of a cluster.
", + "smithy.api#documentation": "Creates a snapshot of an elastic cluster.
", "smithy.api#http": { "code": 200, "method": "POST", @@ -1248,14 +1432,14 @@ "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster of which you want to create a snapshot.
", "smithy.api#required": {} } }, "snapshotName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The name of the new elastic cluster snapshot.
", "smithy.api#length": { "min": 1, "max": 63 @@ -1266,7 +1450,7 @@ "tags": { "target": "com.amazonaws.docdbelastic#TagMap", "traits": { - "smithy.api#documentation": "The tags to be assigned to the new Elastic DocumentDB snapshot.
" + "smithy.api#documentation": "The tags to be assigned to the new elastic cluster snapshot.
" } } } @@ -1277,7 +1461,7 @@ "snapshot": { "target": "com.amazonaws.docdbelastic#ClusterSnapshot", "traits": { - "smithy.api#documentation": "Returns information about the new Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "Returns information about the new elastic cluster snapshot.
", "smithy.api#required": {} } } @@ -1312,7 +1496,7 @@ } ], "traits": { - "smithy.api#documentation": "Delete a Elastic DocumentDB cluster.
", + "smithy.api#documentation": "Delete an elastic cluster.
", "smithy.api#http": { "code": 200, "method": "DELETE", @@ -1327,7 +1511,7 @@ "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster that is to be deleted.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster that is to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "clusterArn" @@ -1341,7 +1525,7 @@ "cluster": { "target": "com.amazonaws.docdbelastic#Cluster", "traits": { - "smithy.api#documentation": "Returns information about the newly deleted Elastic DocumentDB cluster.
", + "smithy.api#documentation": "Returns information about the newly deleted elastic cluster.
", "smithy.api#required": {} } } @@ -1376,7 +1560,7 @@ } ], "traits": { - "smithy.api#documentation": "Delete a Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "Delete an elastic cluster snapshot.
", "smithy.api#http": { "code": 200, "method": "DELETE", @@ -1391,7 +1575,7 @@ "snapshotArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB snapshot that is to be deleted.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster snapshot that is to be deleted.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "snapshotArn" @@ -1405,7 +1589,7 @@ "snapshot": { "target": "com.amazonaws.docdbelastic#ClusterSnapshot", "traits": { - "smithy.api#documentation": "Returns information about the newly deleted Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "Returns information about the newly deleted elastic cluster snapshot.
", "smithy.api#required": {} } } @@ -1437,7 +1621,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about a specific Elastic DocumentDB cluster.
", + "smithy.api#documentation": "Returns information about a specific elastic cluster.
", "smithy.api#http": { "code": 200, "method": "GET", @@ -1452,7 +1636,7 @@ "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "clusterArn" @@ -1466,7 +1650,7 @@ "cluster": { "target": "com.amazonaws.docdbelastic#Cluster", "traits": { - "smithy.api#documentation": "Returns information about a specific Elastic DocumentDB cluster.
", + "smithy.api#documentation": "Returns information about a specific elastic cluster.
", "smithy.api#required": {} } } @@ -1498,7 +1682,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about a specific Elastic DocumentDB snapshot
", + "smithy.api#documentation": "Returns information about a specific elastic cluster snapshot
", "smithy.api#http": { "code": 200, "method": "GET", @@ -1513,7 +1697,7 @@ "snapshotArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster snapshot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "snapshotArn" @@ -1527,7 +1711,7 @@ "snapshot": { "target": "com.amazonaws.docdbelastic#ClusterSnapshot", "traits": { - "smithy.api#documentation": "Returns information about a specific Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "Returns information about a specific elastic cluster snapshot.
", "smithy.api#required": {} } } @@ -1573,7 +1757,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about Elastic DocumentDB snapshots for a specified cluster.
", + "smithy.api#documentation": "Returns information about snapshots for a specified elastic cluster.
", "smithy.api#http": { "code": 200, "method": "GET", @@ -1594,14 +1778,14 @@ "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#httpQuery": "clusterArn" } }, "nextToken": { "target": "com.amazonaws.docdbelastic#PaginationToken", "traits": { - "smithy.api#documentation": "The nextToken which is used the get the next page of data.
", + "smithy.api#documentation": "A pagination token provided by a previous request. \n If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
The maximum number of entries to recieve in the response.
", + "smithy.api#documentation": "The maximum number of elastic cluster snapshot results to receive in the response.
", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { "min": 20, "max": 100 } } + }, + "snapshotType": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The type of cluster snapshots to be returned. You can specify one of the following values:
\n\n automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account.
\n manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services account.
A list of Elastic DocumentDB snapshots for a specified cluster.
" + "smithy.api#documentation": "A list of snapshots for a specified elastic cluster.
" } }, "nextToken": { "target": "com.amazonaws.docdbelastic#PaginationToken", "traits": { - "smithy.api#documentation": "The response will provide a nextToken if there is more data beyond the maxResults.
\nIf there is no more data in the responce, the nextToken will not be returned.
" + "smithy.api#documentation": "A pagination token provided by a previous request. \n If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
Returns information about provisioned Elastic DocumentDB clusters.
", + "smithy.api#documentation": "Returns information about provisioned Amazon DocumentDB elastic clusters.
", "smithy.api#http": { "code": 200, "method": "GET", @@ -1680,7 +1871,7 @@ "nextToken": { "target": "com.amazonaws.docdbelastic#PaginationToken", "traits": { - "smithy.api#documentation": "The nextToken which is used the get the next page of data.
", + "smithy.api#documentation": "A pagination token provided by a previous request. \n If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
The maximum number of entries to recieve in the response.
", + "smithy.api#documentation": "The maximum number of elastic cluster snapshot results to receive in the response.
", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { "min": 1, @@ -1704,13 +1895,13 @@ "clusters": { "target": "com.amazonaws.docdbelastic#ClusterList", "traits": { - "smithy.api#documentation": "A list of Elastic DocumentDB cluster.
" + "smithy.api#documentation": "A list of Amazon DocumentDB elastic clusters.
" } }, "nextToken": { "target": "com.amazonaws.docdbelastic#PaginationToken", "traits": { - "smithy.api#documentation": "The response will provide a nextToken if there is more data beyond the maxResults.
\nIf there is no more data in the responce, the nextToken will not be returned.
" + "smithy.api#documentation": "A pagination token provided by a previous request. \n If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
Lists all tags on a Elastic DocumentDB resource
", + "smithy.api#documentation": "Lists all tags on a elastic cluster resource
", "smithy.api#http": { "uri": "/tags/{resourceArn}", "method": "GET" @@ -1752,7 +1943,7 @@ "resourceArn": { "target": "com.amazonaws.docdbelastic#Arn", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB resource.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1765,7 +1956,7 @@ "tags": { "target": "com.amazonaws.docdbelastic#TagMap", "traits": { - "smithy.api#documentation": "The list of tags for the specified Elastic DocumentDB resource.
" + "smithy.api#documentation": "The list of tags for the specified elastic cluster resource.
" } } } @@ -1845,7 +2036,7 @@ } ], "traits": { - "smithy.api#documentation": "Restores a Elastic DocumentDB cluster from a snapshot.
", + "smithy.api#documentation": "Restores an elastic cluster from a snapshot.
", "smithy.api#http": { "code": 200, "method": "POST", @@ -1860,14 +2051,14 @@ "clusterName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The name of the elastic cluster.
", "smithy.api#required": {} } }, "snapshotArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB snapshot.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster snapshot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "snapshotArn" @@ -1876,25 +2067,37 @@ "vpcSecurityGroupIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the\n Elastic DocumentDB cluster.
" + "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the elastic cluster.
" } }, "subnetIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The Amazon EC2 subnet IDs for the elastic cluster.
" } }, "kmsKeyId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
\nThe KMS key identifier is the Amazon Resource Name (ARN) for the KMS\n encryption key. If you are creating a cluster using the same Amazon account\n that owns this KMS encryption key, you can use the KMS key alias instead\n of the ARN as the KMS encryption key.
\nIf an encryption key is not specified here, Elastic DocumentDB uses the\n default encryption key that KMS creates for your account. Your account\n has a different default encryption key for each Amazon Region.
" + "smithy.api#documentation": "The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic clusters cluster.
\nThe KMS key identifier is the Amazon Resource Name (ARN) for the KMS\n encryption key. If you are creating a cluster using the same Amazon account\n that owns this KMS encryption key, you can use the KMS key alias instead\n of the ARN as the KMS encryption key.
\nIf an encryption key is not specified here, Amazon DocumentDB uses the\n default encryption key that KMS creates for your account. Your account\n has a different default encryption key for each Amazon Region.
" } }, "tags": { "target": "com.amazonaws.docdbelastic#TagMap", "traits": { - "smithy.api#documentation": "A list of the tag names to be assigned to the restored DB cluster,\n in the form of an array of key-value pairs in which the key\n is the tag name and the value is the key value.
" + "smithy.api#documentation": "A list of the tag names to be assigned to the restored elastic cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.
" + } + }, + "shardCapacity": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The capacity of each shard in the new restored elastic cluster.
" + } + }, + "shardInstanceCount": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The number of replica instances applying to all shards in the elastic cluster. \n A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
Returns information about a the restored Elastic DocumentDB cluster.
", + "smithy.api#documentation": "Returns information about a the restored elastic cluster.
", "smithy.api#required": {} } } @@ -1927,6 +2130,152 @@ "smithy.api#httpError": 402 } }, + "com.amazonaws.docdbelastic#Shard": { + "type": "structure", + "members": { + "shardId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The ID of the shard.
", + "smithy.api#required": {} + } + }, + "createTime": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The time when the shard was created in Universal Coordinated Time (UTC).
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.docdbelastic#Status", + "traits": { + "smithy.api#documentation": "The current status of the shard.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The name of the shard.
" + } + }, + "com.amazonaws.docdbelastic#ShardList": { + "type": "list", + "member": { + "target": "com.amazonaws.docdbelastic#Shard" + } + }, + "com.amazonaws.docdbelastic#SnapshotType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MANUAL", + "name": "MANUAL" + }, + { + "value": "AUTOMATED", + "name": "AUTOMATED" + } + ] + } + }, + "com.amazonaws.docdbelastic#StartCluster": { + "type": "operation", + "input": { + "target": "com.amazonaws.docdbelastic#StartClusterInput" + }, + "output": { + "target": "com.amazonaws.docdbelastic#StartClusterOutput" + }, + "errors": [ + { + "target": "com.amazonaws.docdbelastic#AccessDeniedException" + }, + { + "target": "com.amazonaws.docdbelastic#InternalServerException" + }, + { + "target": "com.amazonaws.docdbelastic#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.docdbelastic#ThrottlingException" + }, + { + "target": "com.amazonaws.docdbelastic#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Restarts the stopped elastic cluster that is specified by clusterARN
.
The ARN identifier of the elastic cluster.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "clusterArn" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.docdbelastic#StartClusterOutput": { + "type": "structure", + "members": { + "cluster": { + "target": "com.amazonaws.docdbelastic#Cluster", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.docdbelastic#Status": { "type": "string", "traits": { @@ -1966,10 +2315,146 @@ { "value": "INACCESSIBLE_ENCRYPTION_CREDS", "name": "INACCESSIBLE_ENCRYPTION_CREDS" + }, + { + "value": "INACCESSIBLE_SECRET_ARN", + "name": "INACCESSIBLE_SECRET_ARN" + }, + { + "value": "INACCESSIBLE_VPC_ENDPOINT", + "name": "INACCESSIBLE_VPC_ENDPOINT" + }, + { + "value": "INCOMPATIBLE_NETWORK", + "name": "INCOMPATIBLE_NETWORK" + }, + { + "value": "MERGING", + "name": "MERGING" + }, + { + "value": "MODIFYING", + "name": "MODIFYING" + }, + { + "value": "SPLITTING", + "name": "SPLITTING" + }, + { + "value": "COPYING", + "name": "COPYING" + }, + { + "value": "STARTING", + "name": "STARTING" + }, + { + "value": "STOPPING", + "name": "STOPPING" + }, + { + "value": "STOPPED", + "name": "STOPPED" } ] } }, + "com.amazonaws.docdbelastic#StopCluster": { + "type": "operation", + "input": { + "target": "com.amazonaws.docdbelastic#StopClusterInput" + }, + "output": { + "target": "com.amazonaws.docdbelastic#StopClusterOutput" + }, + "errors": [ + { + "target": "com.amazonaws.docdbelastic#AccessDeniedException" + }, + { + "target": "com.amazonaws.docdbelastic#InternalServerException" + }, + { + "target": "com.amazonaws.docdbelastic#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.docdbelastic#ThrottlingException" + }, + { + "target": "com.amazonaws.docdbelastic#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Stops the running elastic cluster that is specified by clusterArn
. \n The elastic cluster must be in the available state.
The ARN identifier of the elastic cluster.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "clusterArn" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.docdbelastic#StopClusterOutput": { + "type": "structure", + "members": { + "cluster": { + "target": "com.amazonaws.docdbelastic#Cluster", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.docdbelastic#StringList": { "type": "list", "member": { @@ -2030,7 +2515,7 @@ } ], "traits": { - "smithy.api#documentation": "Adds metadata tags to a Elastic DocumentDB resource
", + "smithy.api#documentation": "Adds metadata tags to an elastic cluster resource
", "smithy.api#http": { "uri": "/tags/{resourceArn}", "method": "POST" @@ -2043,7 +2528,7 @@ "resourceArn": { "target": "com.amazonaws.docdbelastic#Arn", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB resource.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2051,7 +2536,7 @@ "tags": { "target": "com.amazonaws.docdbelastic#TagMap", "traits": { - "smithy.api#documentation": "The tags to be assigned to the Elastic DocumentDB resource.
", + "smithy.api#documentation": "The tags that are assigned to the elastic cluster resource.
", "smithy.api#required": {} } } @@ -2117,7 +2602,7 @@ } ], "traits": { - "smithy.api#documentation": "Removes metadata tags to a Elastic DocumentDB resource
", + "smithy.api#documentation": "Removes metadata tags from an elastic cluster resource
", "smithy.api#http": { "uri": "/tags/{resourceArn}", "method": "DELETE" @@ -2131,7 +2616,7 @@ "resourceArn": { "target": "com.amazonaws.docdbelastic#Arn", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB resource.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2139,7 +2624,7 @@ "tagKeys": { "target": "com.amazonaws.docdbelastic#TagKeyList", "traits": { - "smithy.api#documentation": "The tag keys to be removed from the Elastic DocumentDB resource.
", + "smithy.api#documentation": "The tag keys to be removed from the elastic cluster resource.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } @@ -2179,7 +2664,7 @@ } ], "traits": { - "smithy.api#documentation": "Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, \n upgrading API version setting up a backup window and maintenance window
", + "smithy.api#documentation": "Modifies an elastic cluster. This includes updating admin-username/password, \n upgrading the API version, and setting up a backup window and maintenance window
", "smithy.api#http": { "code": 200, "method": "PUT", @@ -2194,7 +2679,7 @@ "clusterArn": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The arn of the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The ARN identifier of the elastic cluster.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "clusterArn" @@ -2203,50 +2688,68 @@ "authType": { "target": "com.amazonaws.docdbelastic#Auth", "traits": { - "smithy.api#documentation": "The authentication type for the Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The authentication type used to determine where to fetch the password used for accessing the elastic cluster. \n Valid types are PLAIN_TEXT
or SECRET_ARN
.
The capacity of each shard in the Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The number of vCPUs assigned to each elastic cluster shard. \n Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
" } }, "shardCount": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "The number of shards to create in the Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The number of shards assigned to the elastic cluster. Maximum is 32.
" } }, "vpcSecurityGroupIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the new\n Elastic DocumentDB cluster.
" + "smithy.api#documentation": "A list of EC2 VPC security groups to associate with the elastic cluster.
" } }, "subnetIds": { "target": "com.amazonaws.docdbelastic#StringList", "traits": { - "smithy.api#documentation": "The number of shards to create in the Elastic DocumentDB cluster.
" + "smithy.api#documentation": "The Amazon EC2 subnet IDs for the elastic cluster.
" } }, "adminUserPassword": { "target": "com.amazonaws.docdbelastic#Password", "traits": { - "smithy.api#documentation": "The password for the Elastic DocumentDB cluster administrator. This password can\n contain any printable ASCII character except forward slash (/),\n double quote (\"), or the \"at\" symbol (@).
\n\n Constraints: Must contain from 8 to 100 characters.
" + "smithy.api#documentation": "The password associated with the elastic cluster administrator. \n This password can contain any printable ASCII character except forward slash (/), double quote (\"), or the \"at\" symbol (@).
\n\n Constraints: Must contain from 8 to 100 characters.
" } }, "clientToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The client token for the Elastic DocumentDB cluster.
", + "smithy.api#documentation": "The client token for the elastic cluster.
", "smithy.api#idempotencyToken": {} } }, "preferredMaintenanceWindow": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The weekly time range during which system maintenance can occur,\n in Universal Coordinated Time (UTC).
\n\n Format: ddd:hh24:mi-ddd:hh24:mi
\n
\n Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
\n\n Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
\n\n Constraints: Minimum 30-minute window.
" + "smithy.api#documentation": "The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
\n\n Format: ddd:hh24:mi-ddd:hh24:mi
\n
\n Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
\n\n Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
\n\n Constraints: Minimum 30-minute window.
" + } + }, + "backupRetentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The number of days for which automatic snapshots are retained.
" + } + }, + "preferredBackupWindow": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod
.
The number of replica instances applying to all shards in the elastic cluster. \n A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
Returns information about the updated Elastic DocumentDB cluster.
", + "smithy.api#documentation": "Returns information about the updated elastic cluster.
", "smithy.api#required": {} } }