From a13452355cb34615f469d53f3c0a5728d2fd8455 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Thu, 29 Feb 2024 19:11:47 +0000 Subject: [PATCH] Adds support for ModelDataSource in Model Packages to support unzipped models. Adds support to specify SourceUri for models which allows registration of models without mandating a container for hosting. Using SourceUri, customers can decouple the model from hosting information during registration. Add capability to update the Data Lake's MetaStoreManager Role in order to perform required data lake updates to use Iceberg table format in their data lake or update the role for any other reason. TooltipTarget for Combo chart visuals; ColumnConfiguration limit increase to 2000; Documentation Update Launched Elastic Clusters Readable Secondaries, Start/Stop, Configurable Shard Instance count, Automatic Backups and Snapshot Copying Adds new CreateTemplate, UpdateTemplate and DeleteTemplate APIs. This release makes AMAZON.QnAIntent generally available in Amazon Lex. This generative AI feature leverages large language models available through Amazon Bedrock to automate frequently asked questions (FAQ) experience for end-users. Added support for new AL2023 AMIs to the supported AMITypes. --- VERSION | 2 +- .../aws/docdb-elastic/DocDBElasticClient.h | 125 +++- .../DocDBElasticServiceClientModel.h | 15 + .../include/aws/docdb-elastic/model/Cluster.h | 355 ++++++++--- .../aws/docdb-elastic/model/ClusterInList.h | 46 +- .../aws/docdb-elastic/model/ClusterSnapshot.h | 294 +++++---- .../model/ClusterSnapshotInList.h | 78 +-- .../model/CopyClusterSnapshotRequest.h | 445 ++++++++++++++ .../model/CopyClusterSnapshotResult.h | 82 +++ .../model/CreateClusterRequest.h | 556 +++++++++++------- .../docdb-elastic/model/CreateClusterResult.h | 10 +- .../model/CreateClusterSnapshotRequest.h | 74 +-- .../model/CreateClusterSnapshotResult.h | 10 +- .../model/DeleteClusterRequest.h | 16 +- .../docdb-elastic/model/DeleteClusterResult.h | 10 +- .../model/DeleteClusterSnapshotRequest.h | 16 +- .../model/DeleteClusterSnapshotResult.h | 10 +- .../docdb-elastic/model/GetClusterRequest.h | 16 +- .../docdb-elastic/model/GetClusterResult.h | 10 +- .../model/GetClusterSnapshotRequest.h | 16 +- .../model/GetClusterSnapshotResult.h | 10 +- .../model/ListClusterSnapshotsRequest.h | 152 ++++- .../model/ListClusterSnapshotsResult.h | 63 +- .../docdb-elastic/model/ListClustersRequest.h | 52 +- .../docdb-elastic/model/ListClustersResult.h | 63 +- .../model/ListTagsForResourceRequest.h | 16 +- .../model/ListTagsForResourceResult.h | 24 +- .../model/RestoreClusterFromSnapshotRequest.h | 317 +++++----- .../model/RestoreClusterFromSnapshotResult.h | 10 +- .../include/aws/docdb-elastic/model/Shard.h | 167 ++++++ .../aws/docdb-elastic/model/SnapshotType.h | 31 + .../docdb-elastic/model/StartClusterRequest.h | 83 +++ .../docdb-elastic/model/StartClusterResult.h | 82 +++ .../include/aws/docdb-elastic/model/Status.h | 12 +- .../docdb-elastic/model/StopClusterRequest.h | 83 +++ .../docdb-elastic/model/StopClusterResult.h | 82 +++ .../docdb-elastic/model/TagResourceRequest.h | 42 +- .../model/UntagResourceRequest.h | 34 +- .../model/UpdateClusterRequest.h | 257 ++++++-- .../docdb-elastic/model/UpdateClusterResult.h | 10 +- .../source/DocDBElasticClient.cpp | 105 ++++ .../source/DocDBElasticEndpointRules.cpp | 220 +++---- .../source/model/Cluster.cpp | 72 +++ .../source/model/ClusterSnapshot.cpp | 16 + .../model/CopyClusterSnapshotRequest.cpp | 63 ++ .../model/CopyClusterSnapshotResult.cpp | 48 ++ .../source/model/CreateClusterRequest.cpp | 23 + .../model/ListClusterSnapshotsRequest.cpp | 10 +- .../RestoreClusterFromSnapshotRequest.cpp | 16 + .../source/model/Shard.cpp | 90 +++ .../source/model/SnapshotType.cpp | 72 +++ .../source/model/StartClusterRequest.cpp | 27 + .../source/model/StartClusterResult.cpp | 48 ++ .../source/model/Status.cpp | 70 +++ .../source/model/StopClusterRequest.cpp | 27 + .../source/model/StopClusterResult.cpp | 48 ++ .../source/model/UpdateClusterRequest.cpp | 23 + .../include/aws/eks/model/AMITypes.h | 4 +- .../aws-cpp-sdk-eks/source/model/AMITypes.cpp | 14 + .../BedrockKnowledgeStoreConfiguration.h | 89 +++ .../lexv2-models/model/BuildtimeSettings.h | 24 +- .../lexv2-models/model/CreateIntentRequest.h | 53 ++ .../lexv2-models/model/CreateIntentResult.h | 34 ++ .../model/DataSourceConfiguration.h | 222 +++++++ .../lexv2-models/model/DescribeIntentResult.h | 34 ++ .../lexv2-models/model/ExactResponseFields.h | 149 +++++ .../model/OpensearchConfiguration.h | 256 ++++++++ .../model/QnAIntentConfiguration.h | 108 ++++ .../model/QnAKendraConfiguration.h | 225 +++++++ .../lexv2-models/model/UpdateIntentRequest.h | 53 ++ .../lexv2-models/model/UpdateIntentResult.h | 34 ++ .../BedrockKnowledgeStoreConfiguration.cpp | 59 ++ .../source/model/CreateIntentRequest.cpp | 9 +- .../source/model/CreateIntentResult.cpp | 6 + .../source/model/DataSourceConfiguration.cpp | 89 +++ .../source/model/DescribeIntentResult.cpp | 6 + .../source/model/ExactResponseFields.cpp | 74 +++ .../source/model/OpensearchConfiguration.cpp | 129 ++++ .../source/model/QnAIntentConfiguration.cpp | 74 +++ .../source/model/QnAKendraConfiguration.cpp | 108 ++++ .../source/model/UpdateIntentRequest.cpp | 9 +- .../source/model/UpdateIntentResult.cpp | 6 + .../MigrationHubOrchestratorClient.h | 83 ++- .../MigrationHubOrchestratorErrors.h | 3 +- ...grationHubOrchestratorServiceClientModel.h | 15 + .../model/CreateTemplateRequest.h | 301 ++++++++++ .../model/CreateTemplateResult.h | 238 ++++++++ .../model/DeleteTemplateRequest.h | 83 +++ .../model/DeleteTemplateResult.h | 63 ++ .../model/GetTemplateResult.h | 296 +++++++++- .../model/GetWorkflowStepRequest.h | 16 +- .../model/StepStatus.h | 1 + .../model/TemplateSource.h | 89 +++ .../model/TemplateStatus.h | 6 +- .../model/UpdateTemplateRequest.h | 224 +++++++ .../model/UpdateTemplateResult.h | 238 ++++++++ .../source/MigrationHubOrchestratorClient.cpp | 96 +++ .../MigrationHubOrchestratorEndpointRules.cpp | 222 +++---- .../source/MigrationHubOrchestratorErrors.cpp | 7 +- .../source/model/CreateTemplateRequest.cpp | 69 +++ .../source/model/CreateTemplateResult.cpp | 63 ++ .../source/model/DeleteTemplateRequest.cpp | 27 + .../source/model/DeleteTemplateResult.cpp | 42 ++ .../source/model/GetTemplateResult.cpp | 37 +- .../source/model/StepStatus.cpp | 7 + .../source/model/TemplateSource.cpp | 59 ++ .../source/model/TemplateStatus.cpp | 28 + .../source/model/UpdateTemplateRequest.cpp | 51 ++ .../source/model/UpdateTemplateResult.cpp | 63 ++ .../aws/quicksight/model/ColumnTooltipItem.h | 35 ++ .../aws/quicksight/model/FieldTooltipItem.h | 35 ++ .../GenerateEmbedUrlForAnonymousUserRequest.h | 72 +-- .../aws/quicksight/model/TooltipTarget.h | 32 + .../source/model/ColumnTooltipItem.cpp | 20 +- .../source/model/FieldTooltipItem.cpp | 20 +- .../source/model/TooltipTarget.cpp | 79 +++ .../include/aws/sagemaker/SageMakerClient.h | 27 +- .../aws/sagemaker/model/AutoMLJobObjective.h | 102 ++-- .../model/CreateModelPackageRequest.h | 144 +++-- .../aws/sagemaker/model/DescribeAppResult.h | 35 +- .../model/DescribeModelPackageResult.h | 48 +- .../model/JupyterLabAppImageConfig.h | 3 +- .../aws/sagemaker/model/ModelMetrics.h | 12 +- .../aws/sagemaker/model/ModelPackage.h | 44 ++ .../model/ModelPackageContainerDefinition.h | 41 ++ .../aws/sagemaker/model/SourceAlgorithm.h | 41 ++ .../model/UpdateModelPackageRequest.h | 115 ++++ .../sagemaker/model/VisibilityConditions.h | 33 +- .../model/CreateModelPackageRequest.cpp | 9 +- .../model/DescribeModelPackageResult.cpp | 6 + .../source/model/ModelPackage.cpp | 15 + .../model/ModelPackageContainerDefinition.cpp | 15 + .../source/model/SourceAlgorithm.cpp | 15 + .../model/UpdateModelPackageRequest.cpp | 16 +- .../aws/securitylake/model/AwsLogSourceName.h | 4 +- .../model/ListTagsForResourceRequest.h | 32 +- .../model/UpdateDataLakeRequest.h | 61 ++ .../source/model/AwsLogSourceName.cpp | 14 + .../source/model/UpdateDataLakeRequest.cpp | 9 +- .../include/aws/core/VersionConfig.h | 4 +- .../docdb-elastic-2022-11-28.normal.json | 454 ++++++++++---- .../eks-2017-11-01.normal.json | 4 +- ...tionhuborchestrator-2021-08-28.normal.json | 283 ++++++++- .../models.lex.v2-2020-08-07.normal.json | 163 ++++- .../quicksight-2018-04-01.normal.json | 20 +- .../sagemaker-2017-07-24.normal.json | 56 +- .../securitylake-2018-05-10.normal.json | 30 +- ...-elastic-2022-11-28.endpoint-rule-set.json | 64 +- ...estrator-2021-08-28.endpoint-rule-set.json | 64 +- 149 files changed, 9695 insertions(+), 1630 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotResult.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterRequest.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterRequest.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotResult.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/Shard.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/SnapshotType.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterResult.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterResult.cpp create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BedrockKnowledgeStoreConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DataSourceConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/ExactResponseFields.h create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/OpensearchConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAIntentConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAKendraConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/source/model/BedrockKnowledgeStoreConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/source/model/DataSourceConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/source/model/ExactResponseFields.cpp create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/source/model/OpensearchConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAIntentConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAKendraConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateRequest.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateResult.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateRequest.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateResult.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateSource.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateRequest.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateResult.h create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateResult.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateResult.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateSource.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TooltipTarget.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/TooltipTarget.cpp diff --git a/VERSION b/VERSION index 751d42c14c4..c7a79197c65 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.275 \ No newline at end of file +1.11.276 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticClient.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticClient.h index 9deefa1b981..def03aa741a 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticClient.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticClient.h @@ -16,7 +16,17 @@ namespace Aws namespace DocDBElastic { /** - *

The new Amazon Elastic DocumentDB service endpoint.

+ *

Amazon DocumentDB elastic clusters

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:

*/ class AWS_DOCDBELASTIC_API DocDBElasticClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { @@ -77,7 +87,32 @@ namespace DocDBElastic virtual ~DocDBElasticClient(); /** - *

Creates a new Elastic DocumentDB cluster and returns its Cluster + *

Copies a snapshot of an elastic cluster.

See Also:

AWS + * API Reference

+ */ + virtual Model::CopyClusterSnapshotOutcome CopyClusterSnapshot(const Model::CopyClusterSnapshotRequest& request) const; + + /** + * A Callable wrapper for CopyClusterSnapshot that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CopyClusterSnapshotOutcomeCallable CopyClusterSnapshotCallable(const CopyClusterSnapshotRequestT& request) const + { + return SubmitCallable(&DocDBElasticClient::CopyClusterSnapshot, request); + } + + /** + * An Async wrapper for CopyClusterSnapshot that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CopyClusterSnapshotAsync(const CopyClusterSnapshotRequestT& request, const CopyClusterSnapshotResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DocDBElasticClient::CopyClusterSnapshot, request, handler, context); + } + + /** + *

Creates a new Amazon DocumentDB elastic cluster and returns its cluster * structure.

See Also:

AWS * API Reference

@@ -103,7 +138,7 @@ namespace DocDBElastic } /** - *

Creates a snapshot of a cluster.

See Also:

Creates a snapshot of an elastic cluster.

See Also:

AWS * API Reference

*/ @@ -128,7 +163,7 @@ namespace DocDBElastic } /** - *

Delete a Elastic DocumentDB cluster.

See Also:

Delete an elastic cluster.

See Also:

AWS * API Reference

*/ @@ -153,7 +188,7 @@ namespace DocDBElastic } /** - *

Delete a Elastic DocumentDB snapshot.

See Also:

Delete an elastic cluster snapshot.

See Also:

AWS * API Reference

*/ @@ -178,8 +213,8 @@ namespace DocDBElastic } /** - *

Returns information about a specific Elastic DocumentDB - * cluster.

See Also:

Returns information about a specific elastic cluster.

See + * Also:

AWS * API Reference

*/ @@ -204,8 +239,8 @@ namespace DocDBElastic } /** - *

Returns information about a specific Elastic DocumentDB - * snapshot

See Also:

Returns information about a specific elastic cluster snapshot

See + * Also:

AWS * API Reference

*/ @@ -230,7 +265,7 @@ namespace DocDBElastic } /** - *

Returns information about Elastic DocumentDB snapshots for a specified + *

Returns information about snapshots for a specified elastic * cluster.

See Also:

AWS * API Reference

@@ -256,7 +291,7 @@ namespace DocDBElastic } /** - *

Returns information about provisioned Elastic DocumentDB + *

Returns information about provisioned Amazon DocumentDB elastic * clusters.

See Also:

AWS * API Reference

@@ -282,7 +317,7 @@ namespace DocDBElastic } /** - *

Lists all tags on a Elastic DocumentDB resource

See Also:

Lists all tags on a elastic cluster resource

See Also:

AWS * API Reference

*/ @@ -307,8 +342,7 @@ namespace DocDBElastic } /** - *

Restores a Elastic DocumentDB cluster from a snapshot.

See - * Also:

Restores an elastic cluster from a snapshot.

See Also:

AWS * API Reference

*/ @@ -333,7 +367,60 @@ namespace DocDBElastic } /** - *

Adds metadata tags to a Elastic DocumentDB resource

See Also:

+ *

Restarts the stopped elastic cluster that is specified by + * clusterARN.

See Also:

AWS + * API Reference

+ */ + virtual Model::StartClusterOutcome StartCluster(const Model::StartClusterRequest& request) const; + + /** + * A Callable wrapper for StartCluster that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartClusterOutcomeCallable StartClusterCallable(const StartClusterRequestT& request) const + { + return SubmitCallable(&DocDBElasticClient::StartCluster, request); + } + + /** + * An Async wrapper for StartCluster that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartClusterAsync(const StartClusterRequestT& request, const StartClusterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DocDBElasticClient::StartCluster, request, handler, context); + } + + /** + *

Stops the running elastic cluster that is specified by + * clusterArn. The elastic cluster must be in the available + * state.

See Also:

AWS + * API Reference

+ */ + virtual Model::StopClusterOutcome StopCluster(const Model::StopClusterRequest& request) const; + + /** + * A Callable wrapper for StopCluster that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StopClusterOutcomeCallable StopClusterCallable(const StopClusterRequestT& request) const + { + return SubmitCallable(&DocDBElasticClient::StopCluster, request); + } + + /** + * An Async wrapper for StopCluster that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StopClusterAsync(const StopClusterRequestT& request, const StopClusterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DocDBElasticClient::StopCluster, request, handler, context); + } + + /** + *

Adds metadata tags to an elastic cluster resource

See Also:

* AWS * API Reference

@@ -359,7 +446,7 @@ namespace DocDBElastic } /** - *

Removes metadata tags to a Elastic DocumentDB resource

See + *

Removes metadata tags from an elastic cluster resource

See * Also:

AWS * API Reference

@@ -385,9 +472,9 @@ namespace DocDBElastic } /** - *

Modifies a Elastic DocumentDB cluster. This includes updating - * admin-username/password, upgrading API version setting up a backup window and - * maintenance window

See Also:

Modifies an elastic cluster. This includes updating admin-username/password, + * upgrading the API version, and setting up a backup window and maintenance + * window

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticServiceClientModel.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticServiceClientModel.h index baefe791615..1a9a24bd4dd 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/DocDBElasticServiceClientModel.h @@ -18,6 +18,7 @@ /* End of generic header includes */ /* Service model headers required in DocDBElasticClient header */ +#include #include #include #include @@ -28,6 +29,8 @@ #include #include #include +#include +#include #include #include #include @@ -71,6 +74,7 @@ namespace Aws namespace Model { /* Service model forward declarations required in DocDBElasticClient header */ + class CopyClusterSnapshotRequest; class CreateClusterRequest; class CreateClusterSnapshotRequest; class DeleteClusterRequest; @@ -81,12 +85,15 @@ namespace Aws class ListClustersRequest; class ListTagsForResourceRequest; class RestoreClusterFromSnapshotRequest; + class StartClusterRequest; + class StopClusterRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateClusterRequest; /* End of service model forward declarations required in DocDBElasticClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome CopyClusterSnapshotOutcome; typedef Aws::Utils::Outcome CreateClusterOutcome; typedef Aws::Utils::Outcome CreateClusterSnapshotOutcome; typedef Aws::Utils::Outcome DeleteClusterOutcome; @@ -97,12 +104,15 @@ namespace Aws typedef Aws::Utils::Outcome ListClustersOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome RestoreClusterFromSnapshotOutcome; + typedef Aws::Utils::Outcome StartClusterOutcome; + typedef Aws::Utils::Outcome StopClusterOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateClusterOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future CopyClusterSnapshotOutcomeCallable; typedef std::future CreateClusterOutcomeCallable; typedef std::future CreateClusterSnapshotOutcomeCallable; typedef std::future DeleteClusterOutcomeCallable; @@ -113,6 +123,8 @@ namespace Aws typedef std::future ListClustersOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future RestoreClusterFromSnapshotOutcomeCallable; + typedef std::future StartClusterOutcomeCallable; + typedef std::future StopClusterOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateClusterOutcomeCallable; @@ -122,6 +134,7 @@ namespace Aws class DocDBElasticClient; /* Service model async handlers definitions */ + typedef std::function&) > CopyClusterSnapshotResponseReceivedHandler; typedef std::function&) > CreateClusterResponseReceivedHandler; typedef std::function&) > CreateClusterSnapshotResponseReceivedHandler; typedef std::function&) > DeleteClusterResponseReceivedHandler; @@ -132,6 +145,8 @@ namespace Aws typedef std::function&) > ListClustersResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > RestoreClusterFromSnapshotResponseReceivedHandler; + typedef std::function&) > StartClusterResponseReceivedHandler; + typedef std::function&) > StopClusterResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateClusterResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Cluster.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Cluster.h index b70311fd72c..d2568d8d4bb 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Cluster.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Cluster.h @@ -7,8 +7,9 @@ #include #include #include -#include #include +#include +#include #include namespace Aws @@ -27,8 +28,8 @@ namespace Model { /** - *

Returns information about a specific Elastic DocumentDB - * cluster.

See Also:

Returns information about a specific elastic cluster.

See + * Also:

AWS * API Reference

*/ @@ -42,290 +43,360 @@ namespace Model /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline Cluster& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline Cluster& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline Cluster& WithAdminUserName(const char* value) { SetAdminUserName(value); return *this;} /** - *

The authentication type for the Elastic DocumentDB cluster.

+ *

The authentication type for the elastic cluster.

*/ inline const Auth& GetAuthType() const{ return m_authType; } /** - *

The authentication type for the Elastic DocumentDB cluster.

+ *

The authentication type for the elastic cluster.

*/ inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; } /** - *

The authentication type for the Elastic DocumentDB cluster.

+ *

The authentication type for the elastic cluster.

*/ inline void SetAuthType(const Auth& value) { m_authTypeHasBeenSet = true; m_authType = value; } /** - *

The authentication type for the Elastic DocumentDB cluster.

+ *

The authentication type for the elastic cluster.

*/ inline void SetAuthType(Auth&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); } /** - *

The authentication type for the Elastic DocumentDB cluster.

+ *

The authentication type for the elastic cluster.

*/ inline Cluster& WithAuthType(const Auth& value) { SetAuthType(value); return *this;} /** - *

The authentication type for the Elastic DocumentDB cluster.

+ *

The authentication type for the elastic cluster.

*/ inline Cluster& WithAuthType(Auth&& value) { SetAuthType(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The number of days for which automatic snapshots are retained.

+ */ + inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline Cluster& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} + + + /** + *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline Cluster& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline Cluster& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline Cluster& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; } /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; } /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; } /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); } /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); } /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline Cluster& WithClusterEndpoint(const Aws::String& value) { SetClusterEndpoint(value); return *this;} /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline Cluster& WithClusterEndpoint(Aws::String&& value) { SetClusterEndpoint(std::move(value)); return *this;} /** - *

The URL used to connect to the Elastic DocumentDB cluster.

+ *

The URL used to connect to the elastic cluster.

*/ inline Cluster& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline Cluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline Cluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline Cluster& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline const Aws::String& GetCreateTime() const{ return m_createTime; } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline void SetCreateTime(const Aws::String& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline void SetCreateTime(Aws::String&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline void SetCreateTime(const char* value) { m_createTimeHasBeenSet = true; m_createTime.assign(value); } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline Cluster& WithCreateTime(const Aws::String& value) { SetCreateTime(value); return *this;} /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline Cluster& WithCreateTime(Aws::String&& value) { SetCreateTime(std::move(value)); return *this;} /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline Cluster& WithCreateTime(const char* value) { SetCreateTime(value); return *this;} /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline Cluster& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline Cluster& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *

The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

+ *

The KMS key identifier to use to encrypt the elastic cluster.

*/ inline Cluster& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline Cluster& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline Cluster& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by backupRetentionPeriod.

+ */ + inline Cluster& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} + + /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: @@ -384,166 +455,244 @@ namespace Model /** - *

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.

*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** - *

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.

*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** - *

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.

*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** - *

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.

*/ inline Cluster& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** - *

The number of shards in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline int GetShardCount() const{ return m_shardCount; } /** - *

The number of shards in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** - *

The number of shards in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** - *

The number of shards in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline Cluster& WithShardCount(int value) { SetShardCount(value); return *this;} /** - *

The status of the Elastic DocumentDB cluster.

+ *

The number of replica instances applying to all shards in the 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.

+ */ + inline int GetShardInstanceCount() const{ return m_shardInstanceCount; } + + /** + *

The number of replica instances applying to all shards in the 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.

+ */ + inline bool ShardInstanceCountHasBeenSet() const { return m_shardInstanceCountHasBeenSet; } + + /** + *

The number of replica instances applying to all shards in the 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.

+ */ + inline void SetShardInstanceCount(int value) { m_shardInstanceCountHasBeenSet = true; m_shardInstanceCount = value; } + + /** + *

The number of replica instances applying to all shards in the 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.

+ */ + inline Cluster& WithShardInstanceCount(int value) { SetShardInstanceCount(value); return *this;} + + + /** + *

The total number of shards in the cluster.

+ */ + inline const Aws::Vector& GetShards() const{ return m_shards; } + + /** + *

The total number of shards in the cluster.

+ */ + inline bool ShardsHasBeenSet() const { return m_shardsHasBeenSet; } + + /** + *

The total number of shards in the cluster.

+ */ + inline void SetShards(const Aws::Vector& value) { m_shardsHasBeenSet = true; m_shards = value; } + + /** + *

The total number of shards in the cluster.

+ */ + inline void SetShards(Aws::Vector&& value) { m_shardsHasBeenSet = true; m_shards = std::move(value); } + + /** + *

The total number of shards in the cluster.

+ */ + inline Cluster& WithShards(const Aws::Vector& value) { SetShards(value); return *this;} + + /** + *

The total number of shards in the cluster.

+ */ + inline Cluster& WithShards(Aws::Vector&& value) { SetShards(std::move(value)); return *this;} + + /** + *

The total number of shards in the cluster.

+ */ + inline Cluster& AddShards(const Shard& value) { m_shardsHasBeenSet = true; m_shards.push_back(value); return *this; } + + /** + *

The total number of shards in the cluster.

+ */ + inline Cluster& AddShards(Shard&& value) { m_shardsHasBeenSet = true; m_shards.push_back(std::move(value)); return *this; } + + + /** + *

The status of the elastic cluster.

*/ inline const Status& GetStatus() const{ return m_status; } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline Cluster& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline Cluster& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline Cluster& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline Cluster& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline Cluster& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline Cluster& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline Cluster& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline Cluster& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline Cluster& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline Cluster& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline Cluster& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *

A list of EC2 VPC security groups associated with this cluster.

+ *

A list of EC2 VPC security groups associated with thie elastic cluster.

*/ inline Cluster& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -555,6 +704,9 @@ namespace Model Auth m_authType; bool m_authTypeHasBeenSet = false; + int m_backupRetentionPeriod; + bool m_backupRetentionPeriodHasBeenSet = false; + Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; @@ -570,6 +722,9 @@ namespace Model Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; + Aws::String m_preferredBackupWindow; + bool m_preferredBackupWindowHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; @@ -579,6 +734,12 @@ namespace Model int m_shardCount; bool m_shardCountHasBeenSet = false; + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + + Aws::Vector m_shards; + bool m_shardsHasBeenSet = false; + Status m_status; bool m_statusHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterInList.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterInList.h index 833266ceb79..3ed1dcfe0aa 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterInList.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterInList.h @@ -25,7 +25,7 @@ namespace Model { /** - *

A list of Elastic DocumentDB cluster.

See Also:

A list of Amazon DocumentDB elastic clusters.

See Also:

AWS * API Reference

*/ @@ -39,114 +39,114 @@ namespace Model /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline ClusterInList& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline ClusterInList& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline ClusterInList& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline const Status& GetStatus() const{ return m_status; } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline ClusterInList& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *

The status of the Elastic DocumentDB cluster.

+ *

The status of the elastic cluster.

*/ inline ClusterInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h index 7152f07eb65..1d63dec5a46 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -26,8 +27,8 @@ namespace Model { /** - *

Returns information about a specific Elastic DocumentDB - * snapshot.

See Also:

Returns information about a specific elastic cluster snapshot.

See + * Also:

AWS * API Reference

*/ @@ -41,436 +42,528 @@ namespace Model /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline ClusterSnapshot& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline ClusterSnapshot& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

The name of the elastic cluster administrator.

*/ inline ClusterSnapshot& WithAdminUserName(const char* value) { SetAdminUserName(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterSnapshot& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterSnapshot& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterSnapshot& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline const Aws::String& GetClusterCreationTime() const{ return m_clusterCreationTime; } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline bool ClusterCreationTimeHasBeenSet() const { return m_clusterCreationTimeHasBeenSet; } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline void SetClusterCreationTime(const Aws::String& value) { m_clusterCreationTimeHasBeenSet = true; m_clusterCreationTime = value; } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline void SetClusterCreationTime(Aws::String&& value) { m_clusterCreationTimeHasBeenSet = true; m_clusterCreationTime = std::move(value); } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline void SetClusterCreationTime(const char* value) { m_clusterCreationTimeHasBeenSet = true; m_clusterCreationTime.assign(value); } /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline ClusterSnapshot& WithClusterCreationTime(const Aws::String& value) { SetClusterCreationTime(value); return *this;} /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline ClusterSnapshot& WithClusterCreationTime(Aws::String&& value) { SetClusterCreationTime(std::move(value)); return *this;} /** - *

The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).

+ *

The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).

*/ inline ClusterSnapshot& WithClusterCreationTime(const char* value) { SetClusterCreationTime(value); return *this;} /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline ClusterSnapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline ClusterSnapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *

The KMS key identifier to use to encrypt the 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 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.

*/ inline ClusterSnapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline const Aws::String& GetSnapshotCreationTime() const{ return m_snapshotCreationTime; } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(const Aws::String& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = value; } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(Aws::String&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::move(value); } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(const char* value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime.assign(value); } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshot& WithSnapshotCreationTime(const Aws::String& value) { SetSnapshotCreationTime(value); return *this;} /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshot& WithSnapshotCreationTime(Aws::String&& value) { SetSnapshotCreationTime(std::move(value)); return *this;} /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshot& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline const SnapshotType& GetSnapshotType() const{ return m_snapshotType; } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline void SetSnapshotType(const SnapshotType& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline void SetSnapshotType(SnapshotType&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline ClusterSnapshot& WithSnapshotType(const SnapshotType& value) { SetSnapshotType(value); return *this;} + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline ClusterSnapshot& WithSnapshotType(SnapshotType&& value) { SetSnapshotType(std::move(value)); return *this;} + + + /** + *

The status of the elastic cluster snapshot.

*/ inline const Status& GetStatus() const{ return m_status; } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline ClusterSnapshot& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline ClusterSnapshot& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline ClusterSnapshot& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline ClusterSnapshot& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline ClusterSnapshot& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *

A list of the IDs of subnets associated with the DB cluster snapshot.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline ClusterSnapshot& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline ClusterSnapshot& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline ClusterSnapshot& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *

A list of the IDs of the VPC security groups associated with the cluster - * snapshot.

+ *

A list of EC2 VPC security groups to associate with the elastic cluster.

*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -497,6 +590,9 @@ namespace Model Aws::String m_snapshotName; bool m_snapshotNameHasBeenSet = false; + SnapshotType m_snapshotType; + bool m_snapshotTypeHasBeenSet = false; + Status m_status; bool m_statusHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h index 4a35c34603d..7a7017f33b5 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h @@ -25,7 +25,7 @@ namespace Model { /** - *

A list of Elastic DocumentDB snapshots.

See Also:

A list of elastic cluster snapshots.

See Also:

AWS * API Reference

*/ @@ -39,204 +39,204 @@ namespace Model /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterSnapshotInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterSnapshotInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ClusterSnapshotInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline const Aws::String& GetSnapshotCreationTime() const{ return m_snapshotCreationTime; } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(const Aws::String& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = value; } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(Aws::String&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::move(value); } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline void SetSnapshotCreationTime(const char* value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime.assign(value); } /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(const Aws::String& value) { SetSnapshotCreationTime(value); return *this;} /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(Aws::String&& value) { SetSnapshotCreationTime(std::move(value)); return *this;} /** - *

The time when the Elastic DocumentDB snapshot was created in Universal + *

The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).

*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline const Status& GetStatus() const{ return m_status; } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *

The status of the Elastic DocumentDB snapshot.

+ *

The status of the elastic cluster snapshot.

*/ inline ClusterSnapshotInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h new file mode 100644 index 00000000000..552bf5a27a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h @@ -0,0 +1,445 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace DocDBElastic +{ +namespace Model +{ + + /** + */ + class CopyClusterSnapshotRequest : public DocDBElasticRequest + { + public: + AWS_DOCDBELASTIC_API CopyClusterSnapshotRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CopyClusterSnapshot"; } + + AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override; + + + /** + *

Set to true to copy all tags from the source cluster snapshot to + * the target elastic cluster snapshot. The default is false.

+ */ + inline bool GetCopyTags() const{ return m_copyTags; } + + /** + *

Set to true to copy all tags from the source cluster snapshot to + * the target elastic cluster snapshot. The default is false.

+ */ + inline bool CopyTagsHasBeenSet() const { return m_copyTagsHasBeenSet; } + + /** + *

Set to true to copy all tags from the source cluster snapshot to + * the target elastic cluster snapshot. The default is false.

+ */ + inline void SetCopyTags(bool value) { m_copyTagsHasBeenSet = true; m_copyTags = value; } + + /** + *

Set to true to copy all tags from the source cluster snapshot to + * the target elastic cluster snapshot. The default is false.

+ */ + inline CopyClusterSnapshotRequest& WithCopyTags(bool value) { SetCopyTags(value); return *this;} + + + /** + *

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 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.

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. + * 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.

+ */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + + /** + *

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 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.

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. + * 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.

+ */ + inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } + + /** + *

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 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.

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. + * 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.

+ */ + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } + + /** + *

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 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.

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. + * 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.

+ */ + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } + + /** + *

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 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.

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. + * 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.

+ */ + inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } + + /** + *

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 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.

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. + * 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.

+ */ + inline CopyClusterSnapshotRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + + /** + *

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 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.

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. + * 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.

+ */ + inline CopyClusterSnapshotRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + + /** + *

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 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.

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. + * 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.

+ */ + inline CopyClusterSnapshotRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline CopyClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline CopyClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.

+ */ + inline CopyClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} + + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags to be assigned to the elastic cluster snapshot.

+ */ + inline CopyClusterSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline const Aws::String& GetTargetSnapshotName() const{ return m_targetSnapshotName; } + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline bool TargetSnapshotNameHasBeenSet() const { return m_targetSnapshotNameHasBeenSet; } + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline void SetTargetSnapshotName(const Aws::String& value) { m_targetSnapshotNameHasBeenSet = true; m_targetSnapshotName = value; } + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline void SetTargetSnapshotName(Aws::String&& value) { m_targetSnapshotNameHasBeenSet = true; m_targetSnapshotName = std::move(value); } + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline void SetTargetSnapshotName(const char* value) { m_targetSnapshotNameHasBeenSet = true; m_targetSnapshotName.assign(value); } + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline CopyClusterSnapshotRequest& WithTargetSnapshotName(const Aws::String& value) { SetTargetSnapshotName(value); return *this;} + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline CopyClusterSnapshotRequest& WithTargetSnapshotName(Aws::String&& value) { SetTargetSnapshotName(std::move(value)); return *this;} + + /** + *

The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.

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: + * elastic-cluster-snapshot-5

+ */ + inline CopyClusterSnapshotRequest& WithTargetSnapshotName(const char* value) { SetTargetSnapshotName(value); return *this;} + + private: + + bool m_copyTags; + bool m_copyTagsHasBeenSet = false; + + Aws::String m_kmsKeyId; + bool m_kmsKeyIdHasBeenSet = false; + + Aws::String m_snapshotArn; + bool m_snapshotArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + + Aws::String m_targetSnapshotName; + bool m_targetSnapshotNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotResult.h new file mode 100644 index 00000000000..9052a03d05d --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DocDBElastic +{ +namespace Model +{ + class CopyClusterSnapshotResult + { + public: + AWS_DOCDBELASTIC_API CopyClusterSnapshotResult(); + AWS_DOCDBELASTIC_API CopyClusterSnapshotResult(const Aws::AmazonWebServiceResult& result); + AWS_DOCDBELASTIC_API CopyClusterSnapshotResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } + + + inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } + + + inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } + + + inline CopyClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} + + + inline CopyClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CopyClusterSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CopyClusterSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CopyClusterSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + ClusterSnapshot m_snapshot; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterRequest.h index 164389cdb49..4a03841a31c 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterRequest.h @@ -37,7 +37,7 @@ namespace Model /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -45,7 +45,7 @@ namespace Model inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -53,7 +53,7 @@ namespace Model inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -61,7 +61,7 @@ namespace Model inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -69,7 +69,7 @@ namespace Model inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -77,7 +77,7 @@ namespace Model inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -85,7 +85,7 @@ namespace Model inline CreateClusterRequest& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -93,7 +93,7 @@ namespace Model inline CreateClusterRequest& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB cluster administrator.

+ *

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.

@@ -102,320 +102,402 @@ namespace Model /** - *

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 (@).

+ *

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 (@).

*/ inline const Aws::String& GetAdminUserPassword() const{ return m_adminUserPassword; } /** - *

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 (@).

+ *

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 (@).

*/ inline bool AdminUserPasswordHasBeenSet() const { return m_adminUserPasswordHasBeenSet; } /** - *

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 (@).

+ *

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 (@).

*/ inline void SetAdminUserPassword(const Aws::String& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = value; } /** - *

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 (@).

+ *

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 (@).

*/ inline void SetAdminUserPassword(Aws::String&& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = std::move(value); } /** - *

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 (@).

+ *

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 (@).

*/ inline void SetAdminUserPassword(const char* value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword.assign(value); } /** - *

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 (@).

+ *

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 (@).

*/ inline CreateClusterRequest& WithAdminUserPassword(const Aws::String& value) { SetAdminUserPassword(value); return *this;} /** - *

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 (@).

+ *

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 (@).

*/ inline CreateClusterRequest& WithAdminUserPassword(Aws::String&& value) { SetAdminUserPassword(std::move(value)); return *this;} /** - *

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 (@).

+ *

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 (@).

*/ inline CreateClusterRequest& WithAdminUserPassword(const char* value) { SetAdminUserPassword(value); return *this;} /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline const Auth& GetAuthType() const{ return m_authType; } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline void SetAuthType(const Auth& value) { m_authTypeHasBeenSet = true; m_authType = value; } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline void SetAuthType(Auth&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline CreateClusterRequest& WithAuthType(const Auth& value) { SetAuthType(value); return *this;} /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline CreateClusterRequest& WithAuthType(Auth&& value) { SetAuthType(std::move(value)); return *this;} /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The number of days for which automatic snapshots are retained.

+ */ + inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline CreateClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} + + + /** + *

The client token for the elastic cluster.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline CreateClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline CreateClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline CreateClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline CreateClusterRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline CreateClusterRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *

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: my-cluster - *

+ *

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: my-cluster

*/ inline CreateClusterRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *

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 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.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *

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 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.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *

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 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.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *

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 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.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *

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 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.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *

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 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.

*/ inline CreateClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *

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 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.

*/ inline CreateClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *

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 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.

*/ inline CreateClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline CreateClusterRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline CreateClusterRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline CreateClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} + + /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: @@ -506,210 +588,247 @@ namespace Model /** - *

The capacity of each shard in the new 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.

*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** - *

The capacity of each shard in the new 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.

*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** - *

The capacity of each shard in the new 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.

*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** - *

The capacity of each shard in the new 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.

*/ inline CreateClusterRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** - *

The number of shards to create in the new Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline int GetShardCount() const{ return m_shardCount; } /** - *

The number of shards to create in the new Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** - *

The number of shards to create in the new Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** - *

The number of shards to create in the new Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline CreateClusterRequest& WithShardCount(int value) { SetShardCount(value); return *this;} /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

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.

+ */ + inline int GetShardInstanceCount() const{ return m_shardInstanceCount; } + + /** + *

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.

+ */ + inline bool ShardInstanceCountHasBeenSet() const { return m_shardInstanceCountHasBeenSet; } + + /** + *

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.

+ */ + inline void SetShardInstanceCount(int value) { m_shardInstanceCountHasBeenSet = true; m_shardInstanceCount = value; } + + /** + *

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.

+ */ + inline CreateClusterRequest& WithShardInstanceCount(int value) { SetShardInstanceCount(value); return *this;} + + + /** + *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline CreateClusterRequest& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline CreateClusterRequest& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline CreateClusterRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline CreateClusterRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the new elastic cluster.

*/ inline CreateClusterRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB cluster.

+ *

The tags to be assigned to the new elastic cluster.

*/ inline CreateClusterRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

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 new elastic + * cluster.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** - *

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 new elastic + * cluster.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *

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 new elastic + * cluster.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** - *

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 new elastic + * cluster.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** - *

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 new elastic + * cluster.

*/ inline CreateClusterRequest& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** - *

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 new elastic + * cluster.

*/ inline CreateClusterRequest& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** - *

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 new elastic + * cluster.

*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *

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 new elastic + * cluster.

*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *

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 new elastic + * cluster.

*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -724,6 +843,9 @@ namespace Model Auth m_authType; bool m_authTypeHasBeenSet = false; + int m_backupRetentionPeriod; + bool m_backupRetentionPeriodHasBeenSet = false; + Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; @@ -733,6 +855,9 @@ namespace Model Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; + Aws::String m_preferredBackupWindow; + bool m_preferredBackupWindowHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; @@ -742,6 +867,9 @@ namespace Model int m_shardCount; bool m_shardCountHasBeenSet = false; + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterResult.h index e4ac858605b..ac86905d72a 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

The new Elastic DocumentDB cluster that has been created.

+ *

The new elastic cluster that has been created.

*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *

The new Elastic DocumentDB cluster that has been created.

+ *

The new elastic cluster that has been created.

*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *

The new Elastic DocumentDB cluster that has been created.

+ *

The new elastic cluster that has been created.

*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *

The new Elastic DocumentDB cluster that has been created.

+ *

The new elastic cluster that has been created.

*/ inline CreateClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *

The new Elastic DocumentDB cluster that has been created.

+ *

The new elastic cluster that has been created.

*/ inline CreateClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h index c89ca591278..514cf082de5 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h @@ -34,157 +34,157 @@ namespace Model /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline CreateClusterSnapshotRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline CreateClusterSnapshotRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.

+ *

The ARN identifier of the elastic cluster of which you want to create a + * snapshot.

*/ inline CreateClusterSnapshotRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB snapshot.

+ *

The name of the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

The tags to be assigned to the new Elastic DocumentDB snapshot.

+ *

The tags to be assigned to the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h index f61c5df4d54..753384ed28a 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about the new Elastic DocumentDB snapshot.

+ *

Returns information about the new elastic cluster snapshot.

*/ inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } /** - *

Returns information about the new Elastic DocumentDB snapshot.

+ *

Returns information about the new elastic cluster snapshot.

*/ inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } /** - *

Returns information about the new Elastic DocumentDB snapshot.

+ *

Returns information about the new elastic cluster snapshot.

*/ inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } /** - *

Returns information about the new Elastic DocumentDB snapshot.

+ *

Returns information about the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} /** - *

Returns information about the new Elastic DocumentDB snapshot.

+ *

Returns information about the new elastic cluster snapshot.

*/ inline CreateClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h index 5bc8985bcc7..0804480da86 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline DeleteClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline DeleteClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster that is to be deleted.

+ *

The ARN identifier of the elastic cluster that is to be deleted.

*/ inline DeleteClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h index 94df5b73efd..1e8b60d93b4 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about the newly deleted Elastic DocumentDB cluster.

+ *

Returns information about the newly deleted elastic cluster.

*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *

Returns information about the newly deleted Elastic DocumentDB cluster.

+ *

Returns information about the newly deleted elastic cluster.

*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *

Returns information about the newly deleted Elastic DocumentDB cluster.

+ *

Returns information about the newly deleted elastic cluster.

*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *

Returns information about the newly deleted Elastic DocumentDB cluster.

+ *

Returns information about the newly deleted elastic cluster.

*/ inline DeleteClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *

Returns information about the newly deleted Elastic DocumentDB cluster.

+ *

Returns information about the newly deleted elastic cluster.

*/ inline DeleteClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h index 8886ba59d47..260aba3c40a 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *

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.

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *

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.

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *

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.

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *

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.

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *

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.

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *

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.

*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *

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.

*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *

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.

*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h index 0e1a162d5c2..cabca621a2e 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about the newly deleted Elastic DocumentDB snapshot.

+ *

Returns information about the newly deleted elastic cluster snapshot.

*/ inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } /** - *

Returns information about the newly deleted Elastic DocumentDB snapshot.

+ *

Returns information about the newly deleted elastic cluster snapshot.

*/ inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } /** - *

Returns information about the newly deleted Elastic DocumentDB snapshot.

+ *

Returns information about the newly deleted elastic cluster snapshot.

*/ inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } /** - *

Returns information about the newly deleted Elastic DocumentDB snapshot.

+ *

Returns information about the newly deleted elastic cluster snapshot.

*/ inline DeleteClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} /** - *

Returns information about the newly deleted Elastic DocumentDB snapshot.

+ *

Returns information about the newly deleted elastic cluster snapshot.

*/ inline DeleteClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h index 669ec7d0d97..b2c8e82342e 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline GetClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline GetClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline GetClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h index a01efd9a881..32862486f9c 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about a specific Elastic DocumentDB cluster.

+ *

Returns information about a specific elastic cluster.

*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *

Returns information about a specific Elastic DocumentDB cluster.

+ *

Returns information about a specific elastic cluster.

*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *

Returns information about a specific Elastic DocumentDB cluster.

+ *

Returns information about a specific elastic cluster.

*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *

Returns information about a specific Elastic DocumentDB cluster.

+ *

Returns information about a specific elastic cluster.

*/ inline GetClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *

Returns information about a specific Elastic DocumentDB cluster.

+ *

Returns information about a specific elastic cluster.

*/ inline GetClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h index c75fe6aeb4d..5e0f44c8265 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline GetClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline GetClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline GetClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h index 64cd7bb8637..37da2cb09de 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about a specific Elastic DocumentDB snapshot.

+ *

Returns information about a specific elastic cluster snapshot.

*/ inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } /** - *

Returns information about a specific Elastic DocumentDB snapshot.

+ *

Returns information about a specific elastic cluster snapshot.

*/ inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } /** - *

Returns information about a specific Elastic DocumentDB snapshot.

+ *

Returns information about a specific elastic cluster snapshot.

*/ inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } /** - *

Returns information about a specific Elastic DocumentDB snapshot.

+ *

Returns information about a specific elastic cluster snapshot.

*/ inline GetClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} /** - *

Returns information about a specific Elastic DocumentDB snapshot.

+ *

Returns information about a specific elastic cluster snapshot.

*/ inline GetClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h index 7283cca6909..344e109c405 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h @@ -39,107 +39,216 @@ namespace Model /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ListClusterSnapshotsRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ListClusterSnapshotsRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline ListClusterSnapshotsRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline ListClusterSnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClusterSnapshotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClusterSnapshotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClusterSnapshotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); } + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline ListClusterSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;} + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline ListClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;} + + /** + *

The type of cluster snapshots to be returned. You can specify one of the + * following values:

  • 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.

+ */ + inline ListClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;} + private: Aws::String m_clusterArn; @@ -150,6 +259,9 @@ namespace Model Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + Aws::String m_snapshotType; + bool m_snapshotTypeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsResult.h index 30baa90b553..e72a9dee7d6 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsResult.h @@ -35,87 +35,94 @@ namespace Model /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClusterSnapshotsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClusterSnapshotsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClusterSnapshotsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline const Aws::Vector& GetSnapshots() const{ return m_snapshots; } /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline void SetSnapshots(const Aws::Vector& value) { m_snapshots = value; } /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline void SetSnapshots(Aws::Vector&& value) { m_snapshots = std::move(value); } /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline ListClusterSnapshotsResult& WithSnapshots(const Aws::Vector& value) { SetSnapshots(value); return *this;} /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline ListClusterSnapshotsResult& WithSnapshots(Aws::Vector&& value) { SetSnapshots(std::move(value)); return *this;} /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline ListClusterSnapshotsResult& AddSnapshots(const ClusterSnapshotInList& value) { m_snapshots.push_back(value); return *this; } /** - *

A list of Elastic DocumentDB snapshots for a specified cluster.

+ *

A list of snapshots for a specified elastic cluster.

*/ inline ListClusterSnapshotsResult& AddSnapshots(ClusterSnapshotInList&& value) { m_snapshots.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h index a33b191bb37..873778ff9c8 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h @@ -39,63 +39,91 @@ namespace Model /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

The maximum number of entries to recieve in the response.

+ *

The maximum number of elastic cluster snapshot results to receive in the + * response.

*/ inline ListClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersResult.h index a91ea0314e6..95372652081 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersResult.h @@ -35,87 +35,94 @@ namespace Model /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline const Aws::Vector& GetClusters() const{ return m_clusters; } /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline void SetClusters(const Aws::Vector& value) { m_clusters = value; } /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline void SetClusters(Aws::Vector&& value) { m_clusters = std::move(value); } /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline ListClustersResult& WithClusters(const Aws::Vector& value) { SetClusters(value); return *this;} /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline ListClustersResult& WithClusters(Aws::Vector&& value) { SetClusters(std::move(value)); return *this;} /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline ListClustersResult& AddClusters(const ClusterInList& value) { m_clusters.push_back(value); return *this; } /** - *

A list of Elastic DocumentDB cluster.

+ *

A list of Amazon DocumentDB elastic clusters.

*/ inline ListClustersResult& AddClusters(ClusterInList&& value) { m_clusters.push_back(std::move(value)); return *this; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClustersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClustersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

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 max-results.

If there is no more data in the + * responce, the nextToken will not be returned.

*/ inline ListClustersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceRequest.h index f8df1daa1f2..9993903d88d 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h index 40b33e57b7e..b6f874b36d5 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h @@ -34,62 +34,62 @@ namespace Model /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** - *

The list of tags for the specified Elastic DocumentDB resource.

+ *

The list of tags for the specified elastic cluster resource.

*/ inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h index 0bf0905ef7b..1e1c61b708e 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h @@ -35,373 +35,418 @@ namespace Model /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *

The name of the Elastic DocumentDB cluster.

+ *

The name of the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *

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 - * here, 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 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, 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.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *

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 - * here, 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 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, 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.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *

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 - * here, 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 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, 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.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *

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 - * here, 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 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, 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.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *

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 - * here, 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 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, 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.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *

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 - * here, 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 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, 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.

*/ inline RestoreClusterFromSnapshotRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *

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 - * here, 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 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, 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.

*/ inline RestoreClusterFromSnapshotRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *

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 - * here, 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 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, 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.

*/ inline RestoreClusterFromSnapshotRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The capacity of each shard in the new restored elastic cluster.

+ */ + inline int GetShardCapacity() const{ return m_shardCapacity; } + + /** + *

The capacity of each shard in the new restored elastic cluster.

+ */ + inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } + + /** + *

The capacity of each shard in the new restored elastic cluster.

+ */ + inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } + + /** + *

The capacity of each shard in the new restored elastic cluster.

+ */ + inline RestoreClusterFromSnapshotRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} + + + /** + *

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.

+ */ + inline int GetShardInstanceCount() const{ return m_shardInstanceCount; } + + /** + *

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.

+ */ + inline bool ShardInstanceCountHasBeenSet() const { return m_shardInstanceCountHasBeenSet; } + + /** + *

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.

+ */ + inline void SetShardInstanceCount(int value) { m_shardInstanceCountHasBeenSet = true; m_shardInstanceCount = value; } + + /** + *

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.

+ */ + inline RestoreClusterFromSnapshotRequest& WithShardInstanceCount(int value) { SetShardInstanceCount(value); return *this;} + + + /** + *

The ARN identifier of the elastic cluster snapshot.

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline RestoreClusterFromSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline RestoreClusterFromSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB snapshot.

+ *

The ARN identifier of the elastic cluster snapshot.

*/ inline RestoreClusterFromSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *

The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline RestoreClusterFromSnapshotRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

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 + *

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.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** - *

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 + *

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.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *

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 + *

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.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** - *

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 + *

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.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

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 + *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

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.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** - *

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.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *

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.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** - *

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.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** - *

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.

*/ inline RestoreClusterFromSnapshotRequest& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** - *

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.

*/ inline RestoreClusterFromSnapshotRequest& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** - *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *

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.

*/ inline RestoreClusterFromSnapshotRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -413,6 +458,12 @@ namespace Model Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; + int m_shardCapacity; + bool m_shardCapacityHasBeenSet = false; + + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + Aws::String m_snapshotArn; bool m_snapshotArnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h index 5a111afa59b..b12bd218f99 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about a the restored Elastic DocumentDB cluster.

+ *

Returns information about a the restored elastic cluster.

*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *

Returns information about a the restored Elastic DocumentDB cluster.

+ *

Returns information about a the restored elastic cluster.

*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *

Returns information about a the restored Elastic DocumentDB cluster.

+ *

Returns information about a the restored elastic cluster.

*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *

Returns information about a the restored Elastic DocumentDB cluster.

+ *

Returns information about a the restored elastic cluster.

*/ inline RestoreClusterFromSnapshotResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *

Returns information about a the restored Elastic DocumentDB cluster.

+ *

Returns information about a the restored elastic cluster.

*/ inline RestoreClusterFromSnapshotResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h new file mode 100644 index 00000000000..f3d315a1192 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DocDBElastic +{ +namespace Model +{ + + /** + *

The name of the shard.

See Also:

AWS + * API Reference

+ */ + class Shard + { + public: + AWS_DOCDBELASTIC_API Shard(); + AWS_DOCDBELASTIC_API Shard(Aws::Utils::Json::JsonView jsonValue); + AWS_DOCDBELASTIC_API Shard& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline const Aws::String& GetCreateTime() const{ return m_createTime; } + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline void SetCreateTime(const Aws::String& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline void SetCreateTime(Aws::String&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline void SetCreateTime(const char* value) { m_createTimeHasBeenSet = true; m_createTime.assign(value); } + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline Shard& WithCreateTime(const Aws::String& value) { SetCreateTime(value); return *this;} + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline Shard& WithCreateTime(Aws::String&& value) { SetCreateTime(std::move(value)); return *this;} + + /** + *

The time when the shard was created in Universal Coordinated Time (UTC).

+ */ + inline Shard& WithCreateTime(const char* value) { SetCreateTime(value); return *this;} + + + /** + *

The ID of the shard.

+ */ + inline const Aws::String& GetShardId() const{ return m_shardId; } + + /** + *

The ID of the shard.

+ */ + inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; } + + /** + *

The ID of the shard.

+ */ + inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; } + + /** + *

The ID of the shard.

+ */ + inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); } + + /** + *

The ID of the shard.

+ */ + inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); } + + /** + *

The ID of the shard.

+ */ + inline Shard& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} + + /** + *

The ID of the shard.

+ */ + inline Shard& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} + + /** + *

The ID of the shard.

+ */ + inline Shard& WithShardId(const char* value) { SetShardId(value); return *this;} + + + /** + *

The current status of the shard.

+ */ + inline const Status& GetStatus() const{ return m_status; } + + /** + *

The current status of the shard.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The current status of the shard.

+ */ + inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The current status of the shard.

+ */ + inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The current status of the shard.

+ */ + inline Shard& WithStatus(const Status& value) { SetStatus(value); return *this;} + + /** + *

The current status of the shard.

+ */ + inline Shard& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_createTime; + bool m_createTimeHasBeenSet = false; + + Aws::String m_shardId; + bool m_shardIdHasBeenSet = false; + + Status m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h new file mode 100644 index 00000000000..52e40c9d7b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DocDBElastic +{ +namespace Model +{ + enum class SnapshotType + { + NOT_SET, + MANUAL, + AUTOMATED + }; + +namespace SnapshotTypeMapper +{ +AWS_DOCDBELASTIC_API SnapshotType GetSnapshotTypeForName(const Aws::String& name); + +AWS_DOCDBELASTIC_API Aws::String GetNameForSnapshotType(SnapshotType value); +} // namespace SnapshotTypeMapper +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterRequest.h new file mode 100644 index 00000000000..692e8999bb1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DocDBElastic +{ +namespace Model +{ + + /** + */ + class StartClusterRequest : public DocDBElasticRequest + { + public: + AWS_DOCDBELASTIC_API StartClusterRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartCluster"; } + + AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override; + + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline StartClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline StartClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline StartClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + + private: + + Aws::String m_clusterArn; + bool m_clusterArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h new file mode 100644 index 00000000000..54728b59d54 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DocDBElastic +{ +namespace Model +{ + class StartClusterResult + { + public: + AWS_DOCDBELASTIC_API StartClusterResult(); + AWS_DOCDBELASTIC_API StartClusterResult(const Aws::AmazonWebServiceResult& result); + AWS_DOCDBELASTIC_API StartClusterResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Cluster& GetCluster() const{ return m_cluster; } + + + inline void SetCluster(const Cluster& value) { m_cluster = value; } + + + inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } + + + inline StartClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} + + + inline StartClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline StartClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline StartClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline StartClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Cluster m_cluster; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Status.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Status.h index 517961c4df1..1baf7aba6af 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Status.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Status.h @@ -24,7 +24,17 @@ namespace Model IP_ADDRESS_LIMIT_EXCEEDED, INVALID_SECURITY_GROUP_ID, INVALID_SUBNET_ID, - INACCESSIBLE_ENCRYPTION_CREDS + INACCESSIBLE_ENCRYPTION_CREDS, + INACCESSIBLE_SECRET_ARN, + INACCESSIBLE_VPC_ENDPOINT, + INCOMPATIBLE_NETWORK, + MERGING, + MODIFYING, + SPLITTING, + COPYING, + STARTING, + STOPPING, + STOPPED }; namespace StatusMapper diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterRequest.h new file mode 100644 index 00000000000..e338132050d --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DocDBElastic +{ +namespace Model +{ + + /** + */ + class StopClusterRequest : public DocDBElasticRequest + { + public: + AWS_DOCDBELASTIC_API StopClusterRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StopCluster"; } + + AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override; + + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline StopClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline StopClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} + + /** + *

The ARN identifier of the elastic cluster.

+ */ + inline StopClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + + private: + + Aws::String m_clusterArn; + bool m_clusterArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h new file mode 100644 index 00000000000..83c8cc5c721 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DocDBElastic +{ +namespace Model +{ + class StopClusterResult + { + public: + AWS_DOCDBELASTIC_API StopClusterResult(); + AWS_DOCDBELASTIC_API StopClusterResult(const Aws::AmazonWebServiceResult& result); + AWS_DOCDBELASTIC_API StopClusterResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Cluster& GetCluster() const{ return m_cluster; } + + + inline void SetCluster(const Cluster& value) { m_cluster = value; } + + + inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } + + + inline StopClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} + + + inline StopClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline StopClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline StopClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline StopClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Cluster m_cluster; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/TagResourceRequest.h index 4a4dfab5ec1..3ab93c69bfb 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/TagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/TagResourceRequest.h @@ -34,108 +34,108 @@ namespace Model /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline TagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline TagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *

The tags to be assigned to the Elastic DocumentDB resource.

+ *

The tags that are assigned to the elastic cluster resource.

*/ inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h index 6587ddc53d3..5938bf9dc51 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h @@ -40,88 +40,88 @@ namespace Model /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB resource.

+ *

The ARN identifier of the elastic cluster resource.

*/ inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline const Aws::Vector& GetTagKeys() const{ return m_tagKeys; } /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline void SetTagKeys(const Aws::Vector& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; } /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline void SetTagKeys(Aws::Vector&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); } /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline UntagResourceRequest& WithTagKeys(const Aws::Vector& value) { SetTagKeys(value); return *this;} /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline UntagResourceRequest& WithTagKeys(Aws::Vector&& value) { SetTagKeys(std::move(value)); return *this;} /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } /** - *

The tag keys to be removed from the Elastic DocumentDB resource.

+ *

The tag keys to be removed from the elastic cluster resource.

*/ inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h index 490b1eff281..330db994ca2 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h @@ -36,7 +36,7 @@ namespace Model /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -44,7 +44,7 @@ namespace Model inline const Aws::String& GetAdminUserPassword() const{ return m_adminUserPassword; } /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -52,7 +52,7 @@ namespace Model inline bool AdminUserPasswordHasBeenSet() const { return m_adminUserPasswordHasBeenSet; } /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -60,7 +60,7 @@ namespace Model inline void SetAdminUserPassword(const Aws::String& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = value; } /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -68,7 +68,7 @@ namespace Model inline void SetAdminUserPassword(Aws::String&& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = std::move(value); } /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -76,7 +76,7 @@ namespace Model inline void SetAdminUserPassword(const char* value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword.assign(value); } /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -84,7 +84,7 @@ namespace Model inline UpdateClusterRequest& WithAdminUserPassword(const Aws::String& value) { SetAdminUserPassword(value); return *this;} /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -92,7 +92,7 @@ namespace Model inline UpdateClusterRequest& WithAdminUserPassword(Aws::String&& value) { SetAdminUserPassword(std::move(value)); return *this;} /** - *

The password for the Elastic DocumentDB cluster administrator. This password + *

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.

@@ -101,118 +101,208 @@ namespace Model /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline const Auth& GetAuthType() const{ return m_authType; } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline void SetAuthType(const Auth& value) { m_authTypeHasBeenSet = true; m_authType = value; } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline void SetAuthType(Auth&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); } /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline UpdateClusterRequest& WithAuthType(const Auth& value) { SetAuthType(value); return *this;} /** - *

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 PLAIN_TEXT or + * SECRET_ARN.

*/ inline UpdateClusterRequest& WithAuthType(Auth&& value) { SetAuthType(std::move(value)); return *this;} /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The number of days for which automatic snapshots are retained.

+ */ + inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } + + /** + *

The number of days for which automatic snapshots are retained.

+ */ + inline UpdateClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} + + + /** + *

The client token for the elastic cluster.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline UpdateClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline UpdateClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The client token for the Elastic DocumentDB cluster.

+ *

The client token for the elastic cluster.

*/ inline UpdateClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline UpdateClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline UpdateClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *

The arn of the Elastic DocumentDB cluster.

+ *

The ARN identifier of the elastic cluster.

*/ inline UpdateClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline UpdateClusterRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline UpdateClusterRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} + + /** + *

The daily time range during which automated backups are created if automated + * backups are enabled, as determined by the + * backupRetentionPeriod.

+ */ + inline UpdateClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} + + /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: @@ -303,144 +393,172 @@ namespace Model /** - *

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.

*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** - *

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.

*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** - *

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.

*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** - *

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.

*/ inline UpdateClusterRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline int GetShardCount() const{ return m_shardCount; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The number of shards assigned to the elastic cluster. Maximum is 32.

*/ inline UpdateClusterRequest& WithShardCount(int value) { SetShardCount(value); return *this;} /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

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.

+ */ + inline int GetShardInstanceCount() const{ return m_shardInstanceCount; } + + /** + *

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.

+ */ + inline bool ShardInstanceCountHasBeenSet() const { return m_shardInstanceCountHasBeenSet; } + + /** + *

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.

+ */ + inline void SetShardInstanceCount(int value) { m_shardInstanceCountHasBeenSet = true; m_shardInstanceCount = value; } + + /** + *

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.

+ */ + inline UpdateClusterRequest& WithShardInstanceCount(int value) { SetShardInstanceCount(value); return *this;} + + + /** + *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline UpdateClusterRequest& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline UpdateClusterRequest& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline UpdateClusterRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline UpdateClusterRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *

The number of shards to create in the Elastic DocumentDB cluster.

+ *

The Amazon EC2 subnet IDs for the elastic cluster.

*/ inline UpdateClusterRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *

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.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** - *

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.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *

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.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** - *

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.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** - *

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.

*/ inline UpdateClusterRequest& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** - *

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.

*/ inline UpdateClusterRequest& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** - *

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.

*/ inline UpdateClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *

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.

*/ inline UpdateClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *

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.

*/ inline UpdateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -452,12 +570,18 @@ namespace Model Auth m_authType; bool m_authTypeHasBeenSet = false; + int m_backupRetentionPeriod; + bool m_backupRetentionPeriodHasBeenSet = false; + Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; + Aws::String m_preferredBackupWindow; + bool m_preferredBackupWindowHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; @@ -467,6 +591,9 @@ namespace Model int m_shardCount; bool m_shardCountHasBeenSet = false; + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterResult.h index c36e002208c..336d0b319bf 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterResult.h @@ -34,27 +34,27 @@ namespace Model /** - *

Returns information about the updated Elastic DocumentDB cluster.

+ *

Returns information about the updated elastic cluster.

*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *

Returns information about the updated Elastic DocumentDB cluster.

+ *

Returns information about the updated elastic cluster.

*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *

Returns information about the updated Elastic DocumentDB cluster.

+ *

Returns information about the updated elastic cluster.

*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *

Returns information about the updated Elastic DocumentDB cluster.

+ *

Returns information about the updated elastic cluster.

*/ inline UpdateClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *

Returns information about the updated Elastic DocumentDB cluster.

+ *

Returns information about the updated elastic cluster.

*/ inline UpdateClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp index b76acb60c84..a2636ce32d1 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -31,6 +32,8 @@ #include #include #include +#include +#include #include #include #include @@ -175,6 +178,40 @@ void DocDBElasticClient::OverrideEndpoint(const Aws::String& endpoint) m_endpointProvider->OverrideEndpoint(endpoint); } +CopyClusterSnapshotOutcome DocDBElasticClient::CopyClusterSnapshot(const CopyClusterSnapshotRequest& request) const +{ + AWS_OPERATION_GUARD(CopyClusterSnapshot); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CopyClusterSnapshot, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.SnapshotArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyClusterSnapshot", "Required field: SnapshotArn, is not set"); + return CopyClusterSnapshotOutcome(Aws::Client::AWSError(DocDBElasticErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SnapshotArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CopyClusterSnapshot, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CopyClusterSnapshot, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CopyClusterSnapshot", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CopyClusterSnapshotOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CopyClusterSnapshot, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/cluster-snapshot/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSnapshotArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/copy"); + return CopyClusterSnapshotOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateClusterOutcome DocDBElasticClient::CreateCluster(const CreateClusterRequest& request) const { AWS_OPERATION_GUARD(CreateCluster); @@ -482,6 +519,74 @@ RestoreClusterFromSnapshotOutcome DocDBElasticClient::RestoreClusterFromSnapshot {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +StartClusterOutcome DocDBElasticClient::StartCluster(const StartClusterRequest& request) const +{ + AWS_OPERATION_GUARD(StartCluster); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartCluster, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ClusterArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("StartCluster", "Required field: ClusterArn, is not set"); + return StartClusterOutcome(Aws::Client::AWSError(DocDBElasticErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ClusterArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartCluster, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartCluster, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartCluster", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartClusterOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartCluster, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/cluster/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetClusterArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/start"); + return StartClusterOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +StopClusterOutcome DocDBElasticClient::StopCluster(const StopClusterRequest& request) const +{ + AWS_OPERATION_GUARD(StopCluster); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopCluster, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ClusterArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("StopCluster", "Required field: ClusterArn, is not set"); + return StopClusterOutcome(Aws::Client::AWSError(DocDBElasticErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ClusterArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopCluster, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopCluster, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopCluster", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StopClusterOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StopCluster, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/cluster/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetClusterArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/stop"); + return StopClusterOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + TagResourceOutcome DocDBElasticClient::TagResource(const TagResourceRequest& request) const { AWS_OPERATION_GUARD(TagResource); diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticEndpointRules.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticEndpointRules.cpp index e1d29d592df..72551da0e46 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticEndpointRules.cpp @@ -51,120 +51,120 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', ',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', '{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', -'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', -'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', -' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', -'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', -',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', -'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','o','c','d','b','-','e', -'l','a','s','t','i','c','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', -'t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s', -'S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',', -'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', -'p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a', -'l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t', -'h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u', -'p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"', -':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', -'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',', -'t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', -'u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t', -'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"', -'h','t','t','p','s',':','/','/','d','o','c','d','b','-','e','l','a','s','t','i','c','-','f','i','p', -'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', -'l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i', -'s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t', -'i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S', -'"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l', +'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a', +'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r', +'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':', +'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a', +'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', +'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a', +'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', +',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','d','o','c','d','b','-','e','l','a','s','t','i','c','-','f','i', +'p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',', +'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k', +' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a', +'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', +'o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', 'd','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', 'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s', -'e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p', -'e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', -'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', -'u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':', -'"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o', -'r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"', -':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/', -'/','d','o','c','d','b','-','e','l','a','s','t','i','c','.','{','R','e','g','i','o','n','}','.','{', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k', -'D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k', -' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t', -'i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u', -'a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"', -':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l', -'"',':','"','h','t','t','p','s',':','/','/','d','o','c','d','b','-','e','l','a','s','t','i','c','.', -'{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"', -':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':', -'"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', -'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ', -'R','e','g','i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}', +'e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', +'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"', +':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p', +'o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e', +'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l', +'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d', +'o','c','d','b','-','e','l','a','s','t','i','c','-','f','i','p','s','.','{','R','e','g','i','o','n', +'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b', +'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', +'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e', +']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', +'"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t', +'t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a', +'l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','o','c','d','b','-','e','l', +'a','s','t','i','c','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x', +'}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', +'r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"', +':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n', +'a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', +'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c', +'k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', +'p','s',':','/','/','d','o','c','d','b','-','e','l','a','s','t','i','c','.','{','R','e','g','i','o', +'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u', +'f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h', +'e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o', +'i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', +'o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o', +'n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"', +':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', ']','}','\0' }}; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Cluster.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Cluster.cpp index 16d9dbebed7..4a62727d719 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Cluster.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Cluster.cpp @@ -22,16 +22,22 @@ Cluster::Cluster() : m_adminUserNameHasBeenSet(false), m_authType(Auth::NOT_SET), m_authTypeHasBeenSet(false), + m_backupRetentionPeriod(0), + m_backupRetentionPeriodHasBeenSet(false), m_clusterArnHasBeenSet(false), m_clusterEndpointHasBeenSet(false), m_clusterNameHasBeenSet(false), m_createTimeHasBeenSet(false), m_kmsKeyIdHasBeenSet(false), + m_preferredBackupWindowHasBeenSet(false), m_preferredMaintenanceWindowHasBeenSet(false), m_shardCapacity(0), m_shardCapacityHasBeenSet(false), m_shardCount(0), m_shardCountHasBeenSet(false), + m_shardInstanceCount(0), + m_shardInstanceCountHasBeenSet(false), + m_shardsHasBeenSet(false), m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_subnetIdsHasBeenSet(false), @@ -43,16 +49,22 @@ Cluster::Cluster(JsonView jsonValue) : m_adminUserNameHasBeenSet(false), m_authType(Auth::NOT_SET), m_authTypeHasBeenSet(false), + m_backupRetentionPeriod(0), + m_backupRetentionPeriodHasBeenSet(false), m_clusterArnHasBeenSet(false), m_clusterEndpointHasBeenSet(false), m_clusterNameHasBeenSet(false), m_createTimeHasBeenSet(false), m_kmsKeyIdHasBeenSet(false), + m_preferredBackupWindowHasBeenSet(false), m_preferredMaintenanceWindowHasBeenSet(false), m_shardCapacity(0), m_shardCapacityHasBeenSet(false), m_shardCount(0), m_shardCountHasBeenSet(false), + m_shardInstanceCount(0), + m_shardInstanceCountHasBeenSet(false), + m_shardsHasBeenSet(false), m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_subnetIdsHasBeenSet(false), @@ -77,6 +89,13 @@ Cluster& Cluster::operator =(JsonView jsonValue) m_authTypeHasBeenSet = true; } + if(jsonValue.ValueExists("backupRetentionPeriod")) + { + m_backupRetentionPeriod = jsonValue.GetInteger("backupRetentionPeriod"); + + m_backupRetentionPeriodHasBeenSet = true; + } + if(jsonValue.ValueExists("clusterArn")) { m_clusterArn = jsonValue.GetString("clusterArn"); @@ -112,6 +131,13 @@ Cluster& Cluster::operator =(JsonView jsonValue) m_kmsKeyIdHasBeenSet = true; } + if(jsonValue.ValueExists("preferredBackupWindow")) + { + m_preferredBackupWindow = jsonValue.GetString("preferredBackupWindow"); + + m_preferredBackupWindowHasBeenSet = true; + } + if(jsonValue.ValueExists("preferredMaintenanceWindow")) { m_preferredMaintenanceWindow = jsonValue.GetString("preferredMaintenanceWindow"); @@ -133,6 +159,23 @@ Cluster& Cluster::operator =(JsonView jsonValue) m_shardCountHasBeenSet = true; } + if(jsonValue.ValueExists("shardInstanceCount")) + { + m_shardInstanceCount = jsonValue.GetInteger("shardInstanceCount"); + + m_shardInstanceCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("shards")) + { + Aws::Utils::Array shardsJsonList = jsonValue.GetArray("shards"); + for(unsigned shardsIndex = 0; shardsIndex < shardsJsonList.GetLength(); ++shardsIndex) + { + m_shards.push_back(shardsJsonList[shardsIndex].AsObject()); + } + m_shardsHasBeenSet = true; + } + if(jsonValue.ValueExists("status")) { m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); @@ -178,6 +221,12 @@ JsonValue Cluster::Jsonize() const payload.WithString("authType", AuthMapper::GetNameForAuth(m_authType)); } + if(m_backupRetentionPeriodHasBeenSet) + { + payload.WithInteger("backupRetentionPeriod", m_backupRetentionPeriod); + + } + if(m_clusterArnHasBeenSet) { payload.WithString("clusterArn", m_clusterArn); @@ -208,6 +257,12 @@ JsonValue Cluster::Jsonize() const } + if(m_preferredBackupWindowHasBeenSet) + { + payload.WithString("preferredBackupWindow", m_preferredBackupWindow); + + } + if(m_preferredMaintenanceWindowHasBeenSet) { payload.WithString("preferredMaintenanceWindow", m_preferredMaintenanceWindow); @@ -226,6 +281,23 @@ JsonValue Cluster::Jsonize() const } + if(m_shardInstanceCountHasBeenSet) + { + payload.WithInteger("shardInstanceCount", m_shardInstanceCount); + + } + + if(m_shardsHasBeenSet) + { + Aws::Utils::Array shardsJsonList(m_shards.size()); + for(unsigned shardsIndex = 0; shardsIndex < shardsJsonList.GetLength(); ++shardsIndex) + { + shardsJsonList[shardsIndex].AsObject(m_shards[shardsIndex].Jsonize()); + } + payload.WithArray("shards", std::move(shardsJsonList)); + + } + if(m_statusHasBeenSet) { payload.WithString("status", StatusMapper::GetNameForStatus(m_status)); diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ClusterSnapshot.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ClusterSnapshot.cpp index 37a2b76bbb8..d62b37722db 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ClusterSnapshot.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ClusterSnapshot.cpp @@ -26,6 +26,8 @@ ClusterSnapshot::ClusterSnapshot() : m_snapshotArnHasBeenSet(false), m_snapshotCreationTimeHasBeenSet(false), m_snapshotNameHasBeenSet(false), + m_snapshotType(SnapshotType::NOT_SET), + m_snapshotTypeHasBeenSet(false), m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_subnetIdsHasBeenSet(false), @@ -41,6 +43,8 @@ ClusterSnapshot::ClusterSnapshot(JsonView jsonValue) : m_snapshotArnHasBeenSet(false), m_snapshotCreationTimeHasBeenSet(false), m_snapshotNameHasBeenSet(false), + m_snapshotType(SnapshotType::NOT_SET), + m_snapshotTypeHasBeenSet(false), m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_subnetIdsHasBeenSet(false), @@ -100,6 +104,13 @@ ClusterSnapshot& ClusterSnapshot::operator =(JsonView jsonValue) m_snapshotNameHasBeenSet = true; } + if(jsonValue.ValueExists("snapshotType")) + { + m_snapshotType = SnapshotTypeMapper::GetSnapshotTypeForName(jsonValue.GetString("snapshotType")); + + m_snapshotTypeHasBeenSet = true; + } + if(jsonValue.ValueExists("status")) { m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); @@ -176,6 +187,11 @@ JsonValue ClusterSnapshot::Jsonize() const } + if(m_snapshotTypeHasBeenSet) + { + payload.WithString("snapshotType", SnapshotTypeMapper::GetNameForSnapshotType(m_snapshotType)); + } + if(m_statusHasBeenSet) { payload.WithString("status", StatusMapper::GetNameForStatus(m_status)); diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotRequest.cpp new file mode 100644 index 00000000000..99b61e7cc81 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotRequest.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DocDBElastic::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CopyClusterSnapshotRequest::CopyClusterSnapshotRequest() : + m_copyTags(false), + m_copyTagsHasBeenSet(false), + m_kmsKeyIdHasBeenSet(false), + m_snapshotArnHasBeenSet(false), + m_tagsHasBeenSet(false), + m_targetSnapshotNameHasBeenSet(false) +{ +} + +Aws::String CopyClusterSnapshotRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_copyTagsHasBeenSet) + { + payload.WithBool("copyTags", m_copyTags); + + } + + if(m_kmsKeyIdHasBeenSet) + { + payload.WithString("kmsKeyId", m_kmsKeyId); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + if(m_targetSnapshotNameHasBeenSet) + { + payload.WithString("targetSnapshotName", m_targetSnapshotName); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotResult.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotResult.cpp new file mode 100644 index 00000000000..4dc6688fd1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CopyClusterSnapshotResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DocDBElastic::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CopyClusterSnapshotResult::CopyClusterSnapshotResult() +{ +} + +CopyClusterSnapshotResult::CopyClusterSnapshotResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CopyClusterSnapshotResult& CopyClusterSnapshotResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("snapshot")) + { + m_snapshot = jsonValue.GetObject("snapshot"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CreateClusterRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CreateClusterRequest.cpp index 213063d5d55..d6c5e160e8f 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CreateClusterRequest.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/CreateClusterRequest.cpp @@ -17,15 +17,20 @@ CreateClusterRequest::CreateClusterRequest() : m_adminUserPasswordHasBeenSet(false), m_authType(Auth::NOT_SET), m_authTypeHasBeenSet(false), + m_backupRetentionPeriod(0), + m_backupRetentionPeriodHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_clusterNameHasBeenSet(false), m_kmsKeyIdHasBeenSet(false), + m_preferredBackupWindowHasBeenSet(false), m_preferredMaintenanceWindowHasBeenSet(false), m_shardCapacity(0), m_shardCapacityHasBeenSet(false), m_shardCount(0), m_shardCountHasBeenSet(false), + m_shardInstanceCount(0), + m_shardInstanceCountHasBeenSet(false), m_subnetIdsHasBeenSet(false), m_tagsHasBeenSet(false), m_vpcSecurityGroupIdsHasBeenSet(false) @@ -53,6 +58,12 @@ Aws::String CreateClusterRequest::SerializePayload() const payload.WithString("authType", AuthMapper::GetNameForAuth(m_authType)); } + if(m_backupRetentionPeriodHasBeenSet) + { + payload.WithInteger("backupRetentionPeriod", m_backupRetentionPeriod); + + } + if(m_clientTokenHasBeenSet) { payload.WithString("clientToken", m_clientToken); @@ -71,6 +82,12 @@ Aws::String CreateClusterRequest::SerializePayload() const } + if(m_preferredBackupWindowHasBeenSet) + { + payload.WithString("preferredBackupWindow", m_preferredBackupWindow); + + } + if(m_preferredMaintenanceWindowHasBeenSet) { payload.WithString("preferredMaintenanceWindow", m_preferredMaintenanceWindow); @@ -89,6 +106,12 @@ Aws::String CreateClusterRequest::SerializePayload() const } + if(m_shardInstanceCountHasBeenSet) + { + payload.WithInteger("shardInstanceCount", m_shardInstanceCount); + + } + if(m_subnetIdsHasBeenSet) { Aws::Utils::Array subnetIdsJsonList(m_subnetIds.size()); diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ListClusterSnapshotsRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ListClusterSnapshotsRequest.cpp index ab4c7db3823..59e3ea262e4 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ListClusterSnapshotsRequest.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/ListClusterSnapshotsRequest.cpp @@ -19,7 +19,8 @@ ListClusterSnapshotsRequest::ListClusterSnapshotsRequest() : m_clusterArnHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_nextTokenHasBeenSet(false), + m_snapshotTypeHasBeenSet(false) { } @@ -52,6 +53,13 @@ void ListClusterSnapshotsRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } + if(m_snapshotTypeHasBeenSet) + { + ss << m_snapshotType; + uri.AddQueryStringParameter("snapshotType", ss.str()); + ss.str(""); + } + } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/RestoreClusterFromSnapshotRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/RestoreClusterFromSnapshotRequest.cpp index ddd8d89b213..68bc417112f 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/RestoreClusterFromSnapshotRequest.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/RestoreClusterFromSnapshotRequest.cpp @@ -15,6 +15,10 @@ using namespace Aws::Utils; RestoreClusterFromSnapshotRequest::RestoreClusterFromSnapshotRequest() : m_clusterNameHasBeenSet(false), m_kmsKeyIdHasBeenSet(false), + m_shardCapacity(0), + m_shardCapacityHasBeenSet(false), + m_shardInstanceCount(0), + m_shardInstanceCountHasBeenSet(false), m_snapshotArnHasBeenSet(false), m_subnetIdsHasBeenSet(false), m_tagsHasBeenSet(false), @@ -38,6 +42,18 @@ Aws::String RestoreClusterFromSnapshotRequest::SerializePayload() const } + if(m_shardCapacityHasBeenSet) + { + payload.WithInteger("shardCapacity", m_shardCapacity); + + } + + if(m_shardInstanceCountHasBeenSet) + { + payload.WithInteger("shardInstanceCount", m_shardInstanceCount); + + } + if(m_subnetIdsHasBeenSet) { Aws::Utils::Array subnetIdsJsonList(m_subnetIds.size()); diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Shard.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Shard.cpp new file mode 100644 index 00000000000..b7055a76245 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Shard.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DocDBElastic +{ +namespace Model +{ + +Shard::Shard() : + m_createTimeHasBeenSet(false), + m_shardIdHasBeenSet(false), + m_status(Status::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Shard::Shard(JsonView jsonValue) : + m_createTimeHasBeenSet(false), + m_shardIdHasBeenSet(false), + m_status(Status::NOT_SET), + m_statusHasBeenSet(false) +{ + *this = jsonValue; +} + +Shard& Shard::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createTime")) + { + m_createTime = jsonValue.GetString("createTime"); + + m_createTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("shardId")) + { + m_shardId = jsonValue.GetString("shardId"); + + m_shardIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue Shard::Jsonize() const +{ + JsonValue payload; + + if(m_createTimeHasBeenSet) + { + payload.WithString("createTime", m_createTime); + + } + + if(m_shardIdHasBeenSet) + { + payload.WithString("shardId", m_shardId); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", StatusMapper::GetNameForStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/SnapshotType.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/SnapshotType.cpp new file mode 100644 index 00000000000..03dd3a54c7c --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/SnapshotType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DocDBElastic + { + namespace Model + { + namespace SnapshotTypeMapper + { + + static const int MANUAL_HASH = HashingUtils::HashString("MANUAL"); + static const int AUTOMATED_HASH = HashingUtils::HashString("AUTOMATED"); + + + SnapshotType GetSnapshotTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == MANUAL_HASH) + { + return SnapshotType::MANUAL; + } + else if (hashCode == AUTOMATED_HASH) + { + return SnapshotType::AUTOMATED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SnapshotType::NOT_SET; + } + + Aws::String GetNameForSnapshotType(SnapshotType enumValue) + { + switch(enumValue) + { + case SnapshotType::NOT_SET: + return {}; + case SnapshotType::MANUAL: + return "MANUAL"; + case SnapshotType::AUTOMATED: + return "AUTOMATED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SnapshotTypeMapper + } // namespace Model + } // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterRequest.cpp new file mode 100644 index 00000000000..61f2c9cff1b --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DocDBElastic::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartClusterRequest::StartClusterRequest() : + m_clusterArnHasBeenSet(false) +{ +} + +Aws::String StartClusterRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterResult.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterResult.cpp new file mode 100644 index 00000000000..d533615a794 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StartClusterResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DocDBElastic::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartClusterResult::StartClusterResult() +{ +} + +StartClusterResult::StartClusterResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StartClusterResult& StartClusterResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("cluster")) + { + m_cluster = jsonValue.GetObject("cluster"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Status.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Status.cpp index f87082a0d1c..9e18544f236 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Status.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/Status.cpp @@ -29,6 +29,16 @@ namespace Aws static const int INVALID_SECURITY_GROUP_ID_HASH = HashingUtils::HashString("INVALID_SECURITY_GROUP_ID"); static const int INVALID_SUBNET_ID_HASH = HashingUtils::HashString("INVALID_SUBNET_ID"); static const int INACCESSIBLE_ENCRYPTION_CREDS_HASH = HashingUtils::HashString("INACCESSIBLE_ENCRYPTION_CREDS"); + static const int INACCESSIBLE_SECRET_ARN_HASH = HashingUtils::HashString("INACCESSIBLE_SECRET_ARN"); + static const int INACCESSIBLE_VPC_ENDPOINT_HASH = HashingUtils::HashString("INACCESSIBLE_VPC_ENDPOINT"); + static const int INCOMPATIBLE_NETWORK_HASH = HashingUtils::HashString("INCOMPATIBLE_NETWORK"); + static const int MERGING_HASH = HashingUtils::HashString("MERGING"); + static const int MODIFYING_HASH = HashingUtils::HashString("MODIFYING"); + static const int SPLITTING_HASH = HashingUtils::HashString("SPLITTING"); + static const int COPYING_HASH = HashingUtils::HashString("COPYING"); + static const int STARTING_HASH = HashingUtils::HashString("STARTING"); + static const int STOPPING_HASH = HashingUtils::HashString("STOPPING"); + static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); Status GetStatusForName(const Aws::String& name) @@ -70,6 +80,46 @@ namespace Aws { return Status::INACCESSIBLE_ENCRYPTION_CREDS; } + else if (hashCode == INACCESSIBLE_SECRET_ARN_HASH) + { + return Status::INACCESSIBLE_SECRET_ARN; + } + else if (hashCode == INACCESSIBLE_VPC_ENDPOINT_HASH) + { + return Status::INACCESSIBLE_VPC_ENDPOINT; + } + else if (hashCode == INCOMPATIBLE_NETWORK_HASH) + { + return Status::INCOMPATIBLE_NETWORK; + } + else if (hashCode == MERGING_HASH) + { + return Status::MERGING; + } + else if (hashCode == MODIFYING_HASH) + { + return Status::MODIFYING; + } + else if (hashCode == SPLITTING_HASH) + { + return Status::SPLITTING; + } + else if (hashCode == COPYING_HASH) + { + return Status::COPYING; + } + else if (hashCode == STARTING_HASH) + { + return Status::STARTING; + } + else if (hashCode == STOPPING_HASH) + { + return Status::STOPPING; + } + else if (hashCode == STOPPED_HASH) + { + return Status::STOPPED; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -104,6 +154,26 @@ namespace Aws return "INVALID_SUBNET_ID"; case Status::INACCESSIBLE_ENCRYPTION_CREDS: return "INACCESSIBLE_ENCRYPTION_CREDS"; + case Status::INACCESSIBLE_SECRET_ARN: + return "INACCESSIBLE_SECRET_ARN"; + case Status::INACCESSIBLE_VPC_ENDPOINT: + return "INACCESSIBLE_VPC_ENDPOINT"; + case Status::INCOMPATIBLE_NETWORK: + return "INCOMPATIBLE_NETWORK"; + case Status::MERGING: + return "MERGING"; + case Status::MODIFYING: + return "MODIFYING"; + case Status::SPLITTING: + return "SPLITTING"; + case Status::COPYING: + return "COPYING"; + case Status::STARTING: + return "STARTING"; + case Status::STOPPING: + return "STOPPING"; + case Status::STOPPED: + return "STOPPED"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterRequest.cpp new file mode 100644 index 00000000000..199558d8561 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DocDBElastic::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StopClusterRequest::StopClusterRequest() : + m_clusterArnHasBeenSet(false) +{ +} + +Aws::String StopClusterRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterResult.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterResult.cpp new file mode 100644 index 00000000000..03936b48e59 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/StopClusterResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DocDBElastic::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StopClusterResult::StopClusterResult() +{ +} + +StopClusterResult::StopClusterResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StopClusterResult& StopClusterResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("cluster")) + { + m_cluster = jsonValue.GetObject("cluster"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/UpdateClusterRequest.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/UpdateClusterRequest.cpp index 676885f1e6d..1a0b74ffa28 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/model/UpdateClusterRequest.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/model/UpdateClusterRequest.cpp @@ -16,14 +16,19 @@ UpdateClusterRequest::UpdateClusterRequest() : m_adminUserPasswordHasBeenSet(false), m_authType(Auth::NOT_SET), m_authTypeHasBeenSet(false), + m_backupRetentionPeriod(0), + m_backupRetentionPeriodHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_clusterArnHasBeenSet(false), + m_preferredBackupWindowHasBeenSet(false), m_preferredMaintenanceWindowHasBeenSet(false), m_shardCapacity(0), m_shardCapacityHasBeenSet(false), m_shardCount(0), m_shardCountHasBeenSet(false), + m_shardInstanceCount(0), + m_shardInstanceCountHasBeenSet(false), m_subnetIdsHasBeenSet(false), m_vpcSecurityGroupIdsHasBeenSet(false) { @@ -44,12 +49,24 @@ Aws::String UpdateClusterRequest::SerializePayload() const payload.WithString("authType", AuthMapper::GetNameForAuth(m_authType)); } + if(m_backupRetentionPeriodHasBeenSet) + { + payload.WithInteger("backupRetentionPeriod", m_backupRetentionPeriod); + + } + if(m_clientTokenHasBeenSet) { payload.WithString("clientToken", m_clientToken); } + if(m_preferredBackupWindowHasBeenSet) + { + payload.WithString("preferredBackupWindow", m_preferredBackupWindow); + + } + if(m_preferredMaintenanceWindowHasBeenSet) { payload.WithString("preferredMaintenanceWindow", m_preferredMaintenanceWindow); @@ -68,6 +85,12 @@ Aws::String UpdateClusterRequest::SerializePayload() const } + if(m_shardInstanceCountHasBeenSet) + { + payload.WithInteger("shardInstanceCount", m_shardInstanceCount); + + } + if(m_subnetIdsHasBeenSet) { Aws::Utils::Array subnetIdsJsonList(m_subnetIds.size()); diff --git a/generated/src/aws-cpp-sdk-eks/include/aws/eks/model/AMITypes.h b/generated/src/aws-cpp-sdk-eks/include/aws/eks/model/AMITypes.h index 3e3b3399657..ee0be363dbd 100644 --- a/generated/src/aws-cpp-sdk-eks/include/aws/eks/model/AMITypes.h +++ b/generated/src/aws-cpp-sdk-eks/include/aws/eks/model/AMITypes.h @@ -27,7 +27,9 @@ namespace Model WINDOWS_CORE_2019_x86_64, WINDOWS_FULL_2019_x86_64, WINDOWS_CORE_2022_x86_64, - WINDOWS_FULL_2022_x86_64 + WINDOWS_FULL_2022_x86_64, + AL2023_x86_64_STANDARD, + AL2023_ARM_64_STANDARD }; namespace AMITypesMapper diff --git a/generated/src/aws-cpp-sdk-eks/source/model/AMITypes.cpp b/generated/src/aws-cpp-sdk-eks/source/model/AMITypes.cpp index 3f97a292890..71a4e08432c 100644 --- a/generated/src/aws-cpp-sdk-eks/source/model/AMITypes.cpp +++ b/generated/src/aws-cpp-sdk-eks/source/model/AMITypes.cpp @@ -32,6 +32,8 @@ namespace Aws static const int WINDOWS_FULL_2019_x86_64_HASH = HashingUtils::HashString("WINDOWS_FULL_2019_x86_64"); static const int WINDOWS_CORE_2022_x86_64_HASH = HashingUtils::HashString("WINDOWS_CORE_2022_x86_64"); static const int WINDOWS_FULL_2022_x86_64_HASH = HashingUtils::HashString("WINDOWS_FULL_2022_x86_64"); + static const int AL2023_x86_64_STANDARD_HASH = HashingUtils::HashString("AL2023_x86_64_STANDARD"); + static const int AL2023_ARM_64_STANDARD_HASH = HashingUtils::HashString("AL2023_ARM_64_STANDARD"); AMITypes GetAMITypesForName(const Aws::String& name) @@ -85,6 +87,14 @@ namespace Aws { return AMITypes::WINDOWS_FULL_2022_x86_64; } + else if (hashCode == AL2023_x86_64_STANDARD_HASH) + { + return AMITypes::AL2023_x86_64_STANDARD; + } + else if (hashCode == AL2023_ARM_64_STANDARD_HASH) + { + return AMITypes::AL2023_ARM_64_STANDARD; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -125,6 +135,10 @@ namespace Aws return "WINDOWS_CORE_2022_x86_64"; case AMITypes::WINDOWS_FULL_2022_x86_64: return "WINDOWS_FULL_2022_x86_64"; + case AMITypes::AL2023_x86_64_STANDARD: + return "AL2023_x86_64_STANDARD"; + case AMITypes::AL2023_ARM_64_STANDARD: + return "AL2023_ARM_64_STANDARD"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BedrockKnowledgeStoreConfiguration.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BedrockKnowledgeStoreConfiguration.h new file mode 100644 index 00000000000..df5dcef05f4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BedrockKnowledgeStoreConfiguration.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LexModelsV2 +{ +namespace Model +{ + + /** + *

Contains details about the configuration of a Amazon Bedrock knowledge + * base.

See Also:

AWS + * API Reference

+ */ + class BedrockKnowledgeStoreConfiguration + { + public: + AWS_LEXMODELSV2_API BedrockKnowledgeStoreConfiguration(); + AWS_LEXMODELSV2_API BedrockKnowledgeStoreConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API BedrockKnowledgeStoreConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The ARN of the knowledge base used.

+ */ + inline const Aws::String& GetBedrockKnowledgeBaseArn() const{ return m_bedrockKnowledgeBaseArn; } + + /** + *

The ARN of the knowledge base used.

+ */ + inline bool BedrockKnowledgeBaseArnHasBeenSet() const { return m_bedrockKnowledgeBaseArnHasBeenSet; } + + /** + *

The ARN of the knowledge base used.

+ */ + inline void SetBedrockKnowledgeBaseArn(const Aws::String& value) { m_bedrockKnowledgeBaseArnHasBeenSet = true; m_bedrockKnowledgeBaseArn = value; } + + /** + *

The ARN of the knowledge base used.

+ */ + inline void SetBedrockKnowledgeBaseArn(Aws::String&& value) { m_bedrockKnowledgeBaseArnHasBeenSet = true; m_bedrockKnowledgeBaseArn = std::move(value); } + + /** + *

The ARN of the knowledge base used.

+ */ + inline void SetBedrockKnowledgeBaseArn(const char* value) { m_bedrockKnowledgeBaseArnHasBeenSet = true; m_bedrockKnowledgeBaseArn.assign(value); } + + /** + *

The ARN of the knowledge base used.

+ */ + inline BedrockKnowledgeStoreConfiguration& WithBedrockKnowledgeBaseArn(const Aws::String& value) { SetBedrockKnowledgeBaseArn(value); return *this;} + + /** + *

The ARN of the knowledge base used.

+ */ + inline BedrockKnowledgeStoreConfiguration& WithBedrockKnowledgeBaseArn(Aws::String&& value) { SetBedrockKnowledgeBaseArn(std::move(value)); return *this;} + + /** + *

The ARN of the knowledge base used.

+ */ + inline BedrockKnowledgeStoreConfiguration& WithBedrockKnowledgeBaseArn(const char* value) { SetBedrockKnowledgeBaseArn(value); return *this;} + + private: + + Aws::String m_bedrockKnowledgeBaseArn; + bool m_bedrockKnowledgeBaseArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BuildtimeSettings.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BuildtimeSettings.h index 0f9d6d236a5..8514dcc9fae 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BuildtimeSettings.h +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/BuildtimeSettings.h @@ -77,22 +77,34 @@ namespace Model inline BuildtimeSettings& WithDescriptiveBotBuilder(DescriptiveBotBuilderSpecification&& value) { SetDescriptiveBotBuilder(std::move(value)); return *this;} - + /** + *

Contains specifications for the sample utterance generation feature.

+ */ inline const SampleUtteranceGenerationSpecification& GetSampleUtteranceGeneration() const{ return m_sampleUtteranceGeneration; } - + /** + *

Contains specifications for the sample utterance generation feature.

+ */ inline bool SampleUtteranceGenerationHasBeenSet() const { return m_sampleUtteranceGenerationHasBeenSet; } - + /** + *

Contains specifications for the sample utterance generation feature.

+ */ inline void SetSampleUtteranceGeneration(const SampleUtteranceGenerationSpecification& value) { m_sampleUtteranceGenerationHasBeenSet = true; m_sampleUtteranceGeneration = value; } - + /** + *

Contains specifications for the sample utterance generation feature.

+ */ inline void SetSampleUtteranceGeneration(SampleUtteranceGenerationSpecification&& value) { m_sampleUtteranceGenerationHasBeenSet = true; m_sampleUtteranceGeneration = std::move(value); } - + /** + *

Contains specifications for the sample utterance generation feature.

+ */ inline BuildtimeSettings& WithSampleUtteranceGeneration(const SampleUtteranceGenerationSpecification& value) { SetSampleUtteranceGeneration(value); return *this;} - + /** + *

Contains specifications for the sample utterance generation feature.

+ */ inline BuildtimeSettings& WithSampleUtteranceGeneration(SampleUtteranceGenerationSpecification&& value) { SetSampleUtteranceGeneration(std::move(value)); return *this;} private: diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentRequest.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentRequest.h index aca0acca43a..4f47b354ba1 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentRequest.h +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentRequest.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -912,6 +913,55 @@ namespace Model */ inline CreateIntentRequest& WithInitialResponseSetting(InitialResponseSetting&& value) { SetInitialResponseSetting(std::move(value)); return *this;} + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline bool QnAIntentConfigurationHasBeenSet() const { return m_qnAIntentConfigurationHasBeenSet; } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfigurationHasBeenSet = true; m_qnAIntentConfiguration = value; } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfigurationHasBeenSet = true; m_qnAIntentConfiguration = std::move(value); } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline CreateIntentRequest& WithQnAIntentConfiguration(const QnAIntentConfiguration& value) { SetQnAIntentConfiguration(value); return *this;} + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline CreateIntentRequest& WithQnAIntentConfiguration(QnAIntentConfiguration&& value) { SetQnAIntentConfiguration(std::move(value)); return *this;} + private: Aws::String m_intentName; @@ -958,6 +1008,9 @@ namespace Model InitialResponseSetting m_initialResponseSetting; bool m_initialResponseSettingHasBeenSet = false; + + QnAIntentConfiguration m_qnAIntentConfiguration; + bool m_qnAIntentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentResult.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentResult.h index dcd5ab00bd6..edaae001c47 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentResult.h +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateIntentResult.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -595,6 +596,37 @@ namespace Model inline CreateIntentResult& WithInitialResponseSetting(InitialResponseSetting&& value) { SetInitialResponseSetting(std::move(value)); return *this;} + /** + *

Details about the the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; } + + /** + *

Details about the the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfiguration = value; } + + /** + *

Details about the the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfiguration = std::move(value); } + + /** + *

Details about the the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline CreateIntentResult& WithQnAIntentConfiguration(const QnAIntentConfiguration& value) { SetQnAIntentConfiguration(value); return *this;} + + /** + *

Details about the the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline CreateIntentResult& WithQnAIntentConfiguration(QnAIntentConfiguration&& value) { SetQnAIntentConfiguration(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -652,6 +684,8 @@ namespace Model InitialResponseSetting m_initialResponseSetting; + QnAIntentConfiguration m_qnAIntentConfiguration; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DataSourceConfiguration.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DataSourceConfiguration.h new file mode 100644 index 00000000000..dd08de88b5b --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DataSourceConfiguration.h @@ -0,0 +1,222 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LexModelsV2 +{ +namespace Model +{ + + /** + *

Contains details about the configuration of the knowledge store used for the + * AMAZON.QnAIntent. You must have already created the knowledge store + * and indexed the documents within it.

See Also:

AWS + * API Reference

+ */ + class DataSourceConfiguration + { + public: + AWS_LEXMODELSV2_API DataSourceConfiguration(); + AWS_LEXMODELSV2_API DataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API DataSourceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent. To create a domain, follow + * the steps at Creating + * and managing Amazon OpenSearch Service domains.

+ */ + inline const OpensearchConfiguration& GetOpensearchConfiguration() const{ return m_opensearchConfiguration; } + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent. To create a domain, follow + * the steps at Creating + * and managing Amazon OpenSearch Service domains.

+ */ + inline bool OpensearchConfigurationHasBeenSet() const { return m_opensearchConfigurationHasBeenSet; } + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent. To create a domain, follow + * the steps at Creating + * and managing Amazon OpenSearch Service domains.

+ */ + inline void SetOpensearchConfiguration(const OpensearchConfiguration& value) { m_opensearchConfigurationHasBeenSet = true; m_opensearchConfiguration = value; } + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent. To create a domain, follow + * the steps at Creating + * and managing Amazon OpenSearch Service domains.

+ */ + inline void SetOpensearchConfiguration(OpensearchConfiguration&& value) { m_opensearchConfigurationHasBeenSet = true; m_opensearchConfiguration = std::move(value); } + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent. To create a domain, follow + * the steps at Creating + * and managing Amazon OpenSearch Service domains.

+ */ + inline DataSourceConfiguration& WithOpensearchConfiguration(const OpensearchConfiguration& value) { SetOpensearchConfiguration(value); return *this;} + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent. To create a domain, follow + * the steps at Creating + * and managing Amazon OpenSearch Service domains.

+ */ + inline DataSourceConfiguration& WithOpensearchConfiguration(OpensearchConfiguration&& value) { SetOpensearchConfiguration(std::move(value)); return *this;} + + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the + * steps at Creating + * an index.

+ */ + inline const QnAKendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; } + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the + * steps at Creating + * an index.

+ */ + inline bool KendraConfigurationHasBeenSet() const { return m_kendraConfigurationHasBeenSet; } + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the + * steps at Creating + * an index.

+ */ + inline void SetKendraConfiguration(const QnAKendraConfiguration& value) { m_kendraConfigurationHasBeenSet = true; m_kendraConfiguration = value; } + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the + * steps at Creating + * an index.

+ */ + inline void SetKendraConfiguration(QnAKendraConfiguration&& value) { m_kendraConfigurationHasBeenSet = true; m_kendraConfiguration = std::move(value); } + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the + * steps at Creating + * an index.

+ */ + inline DataSourceConfiguration& WithKendraConfiguration(const QnAKendraConfiguration& value) { SetKendraConfiguration(value); return *this;} + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the + * steps at Creating + * an index.

+ */ + inline DataSourceConfiguration& WithKendraConfiguration(QnAKendraConfiguration&& value) { SetKendraConfiguration(std::move(value)); return *this;} + + + /** + *

Contains details about the configuration of the Amazon Bedrock knowledge base + * used for the AMAZON.QnAIntent. To set up a knowledge base, follow + * the steps at Building + * a knowledge base.

+ */ + inline const BedrockKnowledgeStoreConfiguration& GetBedrockKnowledgeStoreConfiguration() const{ return m_bedrockKnowledgeStoreConfiguration; } + + /** + *

Contains details about the configuration of the Amazon Bedrock knowledge base + * used for the AMAZON.QnAIntent. To set up a knowledge base, follow + * the steps at Building + * a knowledge base.

+ */ + inline bool BedrockKnowledgeStoreConfigurationHasBeenSet() const { return m_bedrockKnowledgeStoreConfigurationHasBeenSet; } + + /** + *

Contains details about the configuration of the Amazon Bedrock knowledge base + * used for the AMAZON.QnAIntent. To set up a knowledge base, follow + * the steps at Building + * a knowledge base.

+ */ + inline void SetBedrockKnowledgeStoreConfiguration(const BedrockKnowledgeStoreConfiguration& value) { m_bedrockKnowledgeStoreConfigurationHasBeenSet = true; m_bedrockKnowledgeStoreConfiguration = value; } + + /** + *

Contains details about the configuration of the Amazon Bedrock knowledge base + * used for the AMAZON.QnAIntent. To set up a knowledge base, follow + * the steps at Building + * a knowledge base.

+ */ + inline void SetBedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration&& value) { m_bedrockKnowledgeStoreConfigurationHasBeenSet = true; m_bedrockKnowledgeStoreConfiguration = std::move(value); } + + /** + *

Contains details about the configuration of the Amazon Bedrock knowledge base + * used for the AMAZON.QnAIntent. To set up a knowledge base, follow + * the steps at Building + * a knowledge base.

+ */ + inline DataSourceConfiguration& WithBedrockKnowledgeStoreConfiguration(const BedrockKnowledgeStoreConfiguration& value) { SetBedrockKnowledgeStoreConfiguration(value); return *this;} + + /** + *

Contains details about the configuration of the Amazon Bedrock knowledge base + * used for the AMAZON.QnAIntent. To set up a knowledge base, follow + * the steps at Building + * a knowledge base.

+ */ + inline DataSourceConfiguration& WithBedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration&& value) { SetBedrockKnowledgeStoreConfiguration(std::move(value)); return *this;} + + private: + + OpensearchConfiguration m_opensearchConfiguration; + bool m_opensearchConfigurationHasBeenSet = false; + + QnAKendraConfiguration m_kendraConfiguration; + bool m_kendraConfigurationHasBeenSet = false; + + BedrockKnowledgeStoreConfiguration m_bedrockKnowledgeStoreConfiguration; + bool m_bedrockKnowledgeStoreConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DescribeIntentResult.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DescribeIntentResult.h index 9397b4f4118..c9de418ae90 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DescribeIntentResult.h +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/DescribeIntentResult.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -694,6 +695,37 @@ namespace Model inline DescribeIntentResult& WithInitialResponseSetting(InitialResponseSetting&& value) { SetInitialResponseSetting(std::move(value)); return *this;} + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; } + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfiguration = value; } + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfiguration = std::move(value); } + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline DescribeIntentResult& WithQnAIntentConfiguration(const QnAIntentConfiguration& value) { SetQnAIntentConfiguration(value); return *this;} + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline DescribeIntentResult& WithQnAIntentConfiguration(QnAIntentConfiguration&& value) { SetQnAIntentConfiguration(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -755,6 +787,8 @@ namespace Model InitialResponseSetting m_initialResponseSetting; + QnAIntentConfiguration m_qnAIntentConfiguration; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/ExactResponseFields.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/ExactResponseFields.h new file mode 100644 index 00000000000..98d3ef7aecc --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/ExactResponseFields.h @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LexModelsV2 +{ +namespace Model +{ + + /** + *

Contains the names of the fields used for an exact response to the + * user.

See Also:

AWS + * API Reference

+ */ + class ExactResponseFields + { + public: + AWS_LEXMODELSV2_API ExactResponseFields(); + AWS_LEXMODELSV2_API ExactResponseFields(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API ExactResponseFields& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline const Aws::String& GetQuestionField() const{ return m_questionField; } + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline bool QuestionFieldHasBeenSet() const { return m_questionFieldHasBeenSet; } + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline void SetQuestionField(const Aws::String& value) { m_questionFieldHasBeenSet = true; m_questionField = value; } + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline void SetQuestionField(Aws::String&& value) { m_questionFieldHasBeenSet = true; m_questionField = std::move(value); } + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline void SetQuestionField(const char* value) { m_questionFieldHasBeenSet = true; m_questionField.assign(value); } + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline ExactResponseFields& WithQuestionField(const Aws::String& value) { SetQuestionField(value); return *this;} + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline ExactResponseFields& WithQuestionField(Aws::String&& value) { SetQuestionField(std::move(value)); return *this;} + + /** + *

The name of the field that contains the query made to the OpenSearch Service + * database.

+ */ + inline ExactResponseFields& WithQuestionField(const char* value) { SetQuestionField(value); return *this;} + + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline const Aws::String& GetAnswerField() const{ return m_answerField; } + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline bool AnswerFieldHasBeenSet() const { return m_answerFieldHasBeenSet; } + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline void SetAnswerField(const Aws::String& value) { m_answerFieldHasBeenSet = true; m_answerField = value; } + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline void SetAnswerField(Aws::String&& value) { m_answerFieldHasBeenSet = true; m_answerField = std::move(value); } + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline void SetAnswerField(const char* value) { m_answerFieldHasBeenSet = true; m_answerField.assign(value); } + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline ExactResponseFields& WithAnswerField(const Aws::String& value) { SetAnswerField(value); return *this;} + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline ExactResponseFields& WithAnswerField(Aws::String&& value) { SetAnswerField(std::move(value)); return *this;} + + /** + *

The name of the field that contains the answer to the query made to the + * OpenSearch Service database.

+ */ + inline ExactResponseFields& WithAnswerField(const char* value) { SetAnswerField(value); return *this;} + + private: + + Aws::String m_questionField; + bool m_questionFieldHasBeenSet = false; + + Aws::String m_answerField; + bool m_answerFieldHasBeenSet = false; + }; + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/OpensearchConfiguration.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/OpensearchConfiguration.h new file mode 100644 index 00000000000..08cc8353dbc --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/OpensearchConfiguration.h @@ -0,0 +1,256 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LexModelsV2 +{ +namespace Model +{ + + /** + *

Contains details about the configuration of the Amazon OpenSearch Service + * database used for the AMAZON.QnAIntent.

See Also:

+ * AWS + * API Reference

+ */ + class OpensearchConfiguration + { + public: + AWS_LEXMODELSV2_API OpensearchConfiguration(); + AWS_LEXMODELSV2_API OpensearchConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API OpensearchConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline const Aws::String& GetDomainEndpoint() const{ return m_domainEndpoint; } + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline bool DomainEndpointHasBeenSet() const { return m_domainEndpointHasBeenSet; } + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline void SetDomainEndpoint(const Aws::String& value) { m_domainEndpointHasBeenSet = true; m_domainEndpoint = value; } + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline void SetDomainEndpoint(Aws::String&& value) { m_domainEndpointHasBeenSet = true; m_domainEndpoint = std::move(value); } + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline void SetDomainEndpoint(const char* value) { m_domainEndpointHasBeenSet = true; m_domainEndpoint.assign(value); } + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline OpensearchConfiguration& WithDomainEndpoint(const Aws::String& value) { SetDomainEndpoint(value); return *this;} + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline OpensearchConfiguration& WithDomainEndpoint(Aws::String&& value) { SetDomainEndpoint(std::move(value)); return *this;} + + /** + *

The endpoint of the Amazon OpenSearch Service domain.

+ */ + inline OpensearchConfiguration& WithDomainEndpoint(const char* value) { SetDomainEndpoint(value); return *this;} + + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline const Aws::String& GetIndexName() const{ return m_indexName; } + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline OpensearchConfiguration& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline OpensearchConfiguration& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

The name of the Amazon OpenSearch Service index.

+ */ + inline OpensearchConfiguration& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + + /** + *

Specifies whether to return an exact response or to return an answer + * generated by the model using the fields you specify from the database.

+ */ + inline bool GetExactResponse() const{ return m_exactResponse; } + + /** + *

Specifies whether to return an exact response or to return an answer + * generated by the model using the fields you specify from the database.

+ */ + inline bool ExactResponseHasBeenSet() const { return m_exactResponseHasBeenSet; } + + /** + *

Specifies whether to return an exact response or to return an answer + * generated by the model using the fields you specify from the database.

+ */ + inline void SetExactResponse(bool value) { m_exactResponseHasBeenSet = true; m_exactResponse = value; } + + /** + *

Specifies whether to return an exact response or to return an answer + * generated by the model using the fields you specify from the database.

+ */ + inline OpensearchConfiguration& WithExactResponse(bool value) { SetExactResponse(value); return *this;} + + + /** + *

Contains the names of the fields used for an exact response to the user.

+ */ + inline const ExactResponseFields& GetExactResponseFields() const{ return m_exactResponseFields; } + + /** + *

Contains the names of the fields used for an exact response to the user.

+ */ + inline bool ExactResponseFieldsHasBeenSet() const { return m_exactResponseFieldsHasBeenSet; } + + /** + *

Contains the names of the fields used for an exact response to the user.

+ */ + inline void SetExactResponseFields(const ExactResponseFields& value) { m_exactResponseFieldsHasBeenSet = true; m_exactResponseFields = value; } + + /** + *

Contains the names of the fields used for an exact response to the user.

+ */ + inline void SetExactResponseFields(ExactResponseFields&& value) { m_exactResponseFieldsHasBeenSet = true; m_exactResponseFields = std::move(value); } + + /** + *

Contains the names of the fields used for an exact response to the user.

+ */ + inline OpensearchConfiguration& WithExactResponseFields(const ExactResponseFields& value) { SetExactResponseFields(value); return *this;} + + /** + *

Contains the names of the fields used for an exact response to the user.

+ */ + inline OpensearchConfiguration& WithExactResponseFields(ExactResponseFields&& value) { SetExactResponseFields(std::move(value)); return *this;} + + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline const Aws::Vector& GetIncludeFields() const{ return m_includeFields; } + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline bool IncludeFieldsHasBeenSet() const { return m_includeFieldsHasBeenSet; } + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline void SetIncludeFields(const Aws::Vector& value) { m_includeFieldsHasBeenSet = true; m_includeFields = value; } + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline void SetIncludeFields(Aws::Vector&& value) { m_includeFieldsHasBeenSet = true; m_includeFields = std::move(value); } + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline OpensearchConfiguration& WithIncludeFields(const Aws::Vector& value) { SetIncludeFields(value); return *this;} + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline OpensearchConfiguration& WithIncludeFields(Aws::Vector&& value) { SetIncludeFields(std::move(value)); return *this;} + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline OpensearchConfiguration& AddIncludeFields(const Aws::String& value) { m_includeFieldsHasBeenSet = true; m_includeFields.push_back(value); return *this; } + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline OpensearchConfiguration& AddIncludeFields(Aws::String&& value) { m_includeFieldsHasBeenSet = true; m_includeFields.push_back(std::move(value)); return *this; } + + /** + *

Contains a list of fields from the Amazon OpenSearch Service that the model + * can use to generate the answer to the query.

+ */ + inline OpensearchConfiguration& AddIncludeFields(const char* value) { m_includeFieldsHasBeenSet = true; m_includeFields.push_back(value); return *this; } + + private: + + Aws::String m_domainEndpoint; + bool m_domainEndpointHasBeenSet = false; + + Aws::String m_indexName; + bool m_indexNameHasBeenSet = false; + + bool m_exactResponse; + bool m_exactResponseHasBeenSet = false; + + ExactResponseFields m_exactResponseFields; + bool m_exactResponseFieldsHasBeenSet = false; + + Aws::Vector m_includeFields; + bool m_includeFieldsHasBeenSet = false; + }; + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAIntentConfiguration.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAIntentConfiguration.h new file mode 100644 index 00000000000..93335bcf73c --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAIntentConfiguration.h @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LexModelsV2 +{ +namespace Model +{ + + /** + *

Details about the the configuration of the built-in + * Amazon.QnAIntent.

See Also:

AWS + * API Reference

+ */ + class QnAIntentConfiguration + { + public: + AWS_LEXMODELSV2_API QnAIntentConfiguration(); + AWS_LEXMODELSV2_API QnAIntentConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API QnAIntentConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Contains details about the configuration of the data source used for the + * AMAZON.QnAIntent.

+ */ + inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } + + /** + *

Contains details about the configuration of the data source used for the + * AMAZON.QnAIntent.

+ */ + inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } + + /** + *

Contains details about the configuration of the data source used for the + * AMAZON.QnAIntent.

+ */ + inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } + + /** + *

Contains details about the configuration of the data source used for the + * AMAZON.QnAIntent.

+ */ + inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } + + /** + *

Contains details about the configuration of the data source used for the + * AMAZON.QnAIntent.

+ */ + inline QnAIntentConfiguration& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} + + /** + *

Contains details about the configuration of the data source used for the + * AMAZON.QnAIntent.

+ */ + inline QnAIntentConfiguration& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} + + + + inline const BedrockModelSpecification& GetBedrockModelConfiguration() const{ return m_bedrockModelConfiguration; } + + + inline bool BedrockModelConfigurationHasBeenSet() const { return m_bedrockModelConfigurationHasBeenSet; } + + + inline void SetBedrockModelConfiguration(const BedrockModelSpecification& value) { m_bedrockModelConfigurationHasBeenSet = true; m_bedrockModelConfiguration = value; } + + + inline void SetBedrockModelConfiguration(BedrockModelSpecification&& value) { m_bedrockModelConfigurationHasBeenSet = true; m_bedrockModelConfiguration = std::move(value); } + + + inline QnAIntentConfiguration& WithBedrockModelConfiguration(const BedrockModelSpecification& value) { SetBedrockModelConfiguration(value); return *this;} + + + inline QnAIntentConfiguration& WithBedrockModelConfiguration(BedrockModelSpecification&& value) { SetBedrockModelConfiguration(std::move(value)); return *this;} + + private: + + DataSourceConfiguration m_dataSourceConfiguration; + bool m_dataSourceConfigurationHasBeenSet = false; + + BedrockModelSpecification m_bedrockModelConfiguration; + bool m_bedrockModelConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAKendraConfiguration.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAKendraConfiguration.h new file mode 100644 index 00000000000..b54bdddbac9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/QnAKendraConfiguration.h @@ -0,0 +1,225 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LexModelsV2 +{ +namespace Model +{ + + /** + *

Contains details about the configuration of the Amazon Kendra index used for + * the AMAZON.QnAIntent.

See Also:

AWS + * API Reference

+ */ + class QnAKendraConfiguration + { + public: + AWS_LEXMODELSV2_API QnAKendraConfiguration(); + AWS_LEXMODELSV2_API QnAKendraConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API QnAKendraConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline const Aws::String& GetKendraIndex() const{ return m_kendraIndex; } + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline bool KendraIndexHasBeenSet() const { return m_kendraIndexHasBeenSet; } + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline void SetKendraIndex(const Aws::String& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = value; } + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline void SetKendraIndex(Aws::String&& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = std::move(value); } + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline void SetKendraIndex(const char* value) { m_kendraIndexHasBeenSet = true; m_kendraIndex.assign(value); } + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline QnAKendraConfiguration& WithKendraIndex(const Aws::String& value) { SetKendraIndex(value); return *this;} + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline QnAKendraConfiguration& WithKendraIndex(Aws::String&& value) { SetKendraIndex(std::move(value)); return *this;} + + /** + *

The ARN of the Amazon Kendra index to use.

+ */ + inline QnAKendraConfiguration& WithKendraIndex(const char* value) { SetKendraIndex(value); return *this;} + + + /** + *

Specifies whether to enable an Amazon Kendra filter string or not.

+ */ + inline bool GetQueryFilterStringEnabled() const{ return m_queryFilterStringEnabled; } + + /** + *

Specifies whether to enable an Amazon Kendra filter string or not.

+ */ + inline bool QueryFilterStringEnabledHasBeenSet() const { return m_queryFilterStringEnabledHasBeenSet; } + + /** + *

Specifies whether to enable an Amazon Kendra filter string or not.

+ */ + inline void SetQueryFilterStringEnabled(bool value) { m_queryFilterStringEnabledHasBeenSet = true; m_queryFilterStringEnabled = value; } + + /** + *

Specifies whether to enable an Amazon Kendra filter string or not.

+ */ + inline QnAKendraConfiguration& WithQueryFilterStringEnabled(bool value) { SetQueryFilterStringEnabled(value); return *this;} + + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline const Aws::String& GetQueryFilterString() const{ return m_queryFilterString; } + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline bool QueryFilterStringHasBeenSet() const { return m_queryFilterStringHasBeenSet; } + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline void SetQueryFilterString(const Aws::String& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = value; } + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline void SetQueryFilterString(Aws::String&& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = std::move(value); } + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline void SetQueryFilterString(const char* value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString.assign(value); } + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline QnAKendraConfiguration& WithQueryFilterString(const Aws::String& value) { SetQueryFilterString(value); return *this;} + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline QnAKendraConfiguration& WithQueryFilterString(Aws::String&& value) { SetQueryFilterString(std::move(value)); return *this;} + + /** + *

Contains the Amazon Kendra filter string to use if enabled. For more + * information on the Amazon Kendra search filter JSON format, see Using + * document attributes to filter search results.

+ */ + inline QnAKendraConfiguration& WithQueryFilterString(const char* value) { SetQueryFilterString(value); return *this;} + + + /** + *

Specifies whether to return an exact response from the Amazon Kendra index or + * to let the Amazon Bedrock model you select generate a response based on the + * results. To use this feature, you must first add FAQ questions to your index by + * following the steps at Adding + * frequently asked questions (FAQs) to an index.

+ */ + inline bool GetExactResponse() const{ return m_exactResponse; } + + /** + *

Specifies whether to return an exact response from the Amazon Kendra index or + * to let the Amazon Bedrock model you select generate a response based on the + * results. To use this feature, you must first add FAQ questions to your index by + * following the steps at Adding + * frequently asked questions (FAQs) to an index.

+ */ + inline bool ExactResponseHasBeenSet() const { return m_exactResponseHasBeenSet; } + + /** + *

Specifies whether to return an exact response from the Amazon Kendra index or + * to let the Amazon Bedrock model you select generate a response based on the + * results. To use this feature, you must first add FAQ questions to your index by + * following the steps at Adding + * frequently asked questions (FAQs) to an index.

+ */ + inline void SetExactResponse(bool value) { m_exactResponseHasBeenSet = true; m_exactResponse = value; } + + /** + *

Specifies whether to return an exact response from the Amazon Kendra index or + * to let the Amazon Bedrock model you select generate a response based on the + * results. To use this feature, you must first add FAQ questions to your index by + * following the steps at Adding + * frequently asked questions (FAQs) to an index.

+ */ + inline QnAKendraConfiguration& WithExactResponse(bool value) { SetExactResponse(value); return *this;} + + private: + + Aws::String m_kendraIndex; + bool m_kendraIndexHasBeenSet = false; + + bool m_queryFilterStringEnabled; + bool m_queryFilterStringEnabledHasBeenSet = false; + + Aws::String m_queryFilterString; + bool m_queryFilterStringHasBeenSet = false; + + bool m_exactResponse; + bool m_exactResponseHasBeenSet = false; + }; + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentRequest.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentRequest.h index 9eb4720a393..84cc17e2771 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentRequest.h +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentRequest.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -773,6 +774,55 @@ namespace Model */ inline UpdateIntentRequest& WithInitialResponseSetting(InitialResponseSetting&& value) { SetInitialResponseSetting(std::move(value)); return *this;} + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline bool QnAIntentConfigurationHasBeenSet() const { return m_qnAIntentConfigurationHasBeenSet; } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfigurationHasBeenSet = true; m_qnAIntentConfiguration = value; } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfigurationHasBeenSet = true; m_qnAIntentConfiguration = std::move(value); } + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline UpdateIntentRequest& WithQnAIntentConfiguration(const QnAIntentConfiguration& value) { SetQnAIntentConfiguration(value); return *this;} + + /** + *

Specifies the configuration of the built-in Amazon.QnAIntent. + * The AMAZON.QnAIntent intent is called when Amazon Lex can't + * determine another intent to invoke. If you specify this field, you can't specify + * the kendraConfiguration field.

+ */ + inline UpdateIntentRequest& WithQnAIntentConfiguration(QnAIntentConfiguration&& value) { SetQnAIntentConfiguration(std::move(value)); return *this;} + private: Aws::String m_intentId; @@ -825,6 +875,9 @@ namespace Model InitialResponseSetting m_initialResponseSetting; bool m_initialResponseSettingHasBeenSet = false; + + QnAIntentConfiguration m_qnAIntentConfiguration; + bool m_qnAIntentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentResult.h b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentResult.h index dfe815f52f5..e9e230da1e7 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentResult.h +++ b/generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/UpdateIntentResult.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -706,6 +707,37 @@ namespace Model inline UpdateIntentResult& WithInitialResponseSetting(InitialResponseSetting&& value) { SetInitialResponseSetting(std::move(value)); return *this;} + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; } + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfiguration = value; } + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfiguration = std::move(value); } + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline UpdateIntentResult& WithQnAIntentConfiguration(const QnAIntentConfiguration& value) { SetQnAIntentConfiguration(value); return *this;} + + /** + *

Details about the configuration of the built-in + * Amazon.QnAIntent.

+ */ + inline UpdateIntentResult& WithQnAIntentConfiguration(QnAIntentConfiguration&& value) { SetQnAIntentConfiguration(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -767,6 +799,8 @@ namespace Model InitialResponseSetting m_initialResponseSetting; + QnAIntentConfiguration m_qnAIntentConfiguration; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/BedrockKnowledgeStoreConfiguration.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/BedrockKnowledgeStoreConfiguration.cpp new file mode 100644 index 00000000000..d42817cff26 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/BedrockKnowledgeStoreConfiguration.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LexModelsV2 +{ +namespace Model +{ + +BedrockKnowledgeStoreConfiguration::BedrockKnowledgeStoreConfiguration() : + m_bedrockKnowledgeBaseArnHasBeenSet(false) +{ +} + +BedrockKnowledgeStoreConfiguration::BedrockKnowledgeStoreConfiguration(JsonView jsonValue) : + m_bedrockKnowledgeBaseArnHasBeenSet(false) +{ + *this = jsonValue; +} + +BedrockKnowledgeStoreConfiguration& BedrockKnowledgeStoreConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("bedrockKnowledgeBaseArn")) + { + m_bedrockKnowledgeBaseArn = jsonValue.GetString("bedrockKnowledgeBaseArn"); + + m_bedrockKnowledgeBaseArnHasBeenSet = true; + } + + return *this; +} + +JsonValue BedrockKnowledgeStoreConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_bedrockKnowledgeBaseArnHasBeenSet) + { + payload.WithString("bedrockKnowledgeBaseArn", m_bedrockKnowledgeBaseArn); + + } + + return payload; +} + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentRequest.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentRequest.cpp index be9b620a84f..fe87ab71128 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentRequest.cpp +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentRequest.cpp @@ -27,7 +27,8 @@ CreateIntentRequest::CreateIntentRequest() : m_botIdHasBeenSet(false), m_botVersionHasBeenSet(false), m_localeIdHasBeenSet(false), - m_initialResponseSettingHasBeenSet(false) + m_initialResponseSettingHasBeenSet(false), + m_qnAIntentConfigurationHasBeenSet(false) { } @@ -122,6 +123,12 @@ Aws::String CreateIntentRequest::SerializePayload() const } + if(m_qnAIntentConfigurationHasBeenSet) + { + payload.WithObject("qnAIntentConfiguration", m_qnAIntentConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentResult.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentResult.cpp index 6b39e20dd07..471d9ecf1fe 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentResult.cpp +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/CreateIntentResult.cpp @@ -140,6 +140,12 @@ CreateIntentResult& CreateIntentResult::operator =(const Aws::AmazonWebServiceRe } + if(jsonValue.ValueExists("qnAIntentConfiguration")) + { + m_qnAIntentConfiguration = jsonValue.GetObject("qnAIntentConfiguration"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/DataSourceConfiguration.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/DataSourceConfiguration.cpp new file mode 100644 index 00000000000..2dd6a6c376a --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/DataSourceConfiguration.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LexModelsV2 +{ +namespace Model +{ + +DataSourceConfiguration::DataSourceConfiguration() : + m_opensearchConfigurationHasBeenSet(false), + m_kendraConfigurationHasBeenSet(false), + m_bedrockKnowledgeStoreConfigurationHasBeenSet(false) +{ +} + +DataSourceConfiguration::DataSourceConfiguration(JsonView jsonValue) : + m_opensearchConfigurationHasBeenSet(false), + m_kendraConfigurationHasBeenSet(false), + m_bedrockKnowledgeStoreConfigurationHasBeenSet(false) +{ + *this = jsonValue; +} + +DataSourceConfiguration& DataSourceConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("opensearchConfiguration")) + { + m_opensearchConfiguration = jsonValue.GetObject("opensearchConfiguration"); + + m_opensearchConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("kendraConfiguration")) + { + m_kendraConfiguration = jsonValue.GetObject("kendraConfiguration"); + + m_kendraConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("bedrockKnowledgeStoreConfiguration")) + { + m_bedrockKnowledgeStoreConfiguration = jsonValue.GetObject("bedrockKnowledgeStoreConfiguration"); + + m_bedrockKnowledgeStoreConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue DataSourceConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_opensearchConfigurationHasBeenSet) + { + payload.WithObject("opensearchConfiguration", m_opensearchConfiguration.Jsonize()); + + } + + if(m_kendraConfigurationHasBeenSet) + { + payload.WithObject("kendraConfiguration", m_kendraConfiguration.Jsonize()); + + } + + if(m_bedrockKnowledgeStoreConfigurationHasBeenSet) + { + payload.WithObject("bedrockKnowledgeStoreConfiguration", m_bedrockKnowledgeStoreConfiguration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/DescribeIntentResult.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/DescribeIntentResult.cpp index e7156262804..61da590044b 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/source/model/DescribeIntentResult.cpp +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/DescribeIntentResult.cpp @@ -155,6 +155,12 @@ DescribeIntentResult& DescribeIntentResult::operator =(const Aws::AmazonWebServi } + if(jsonValue.ValueExists("qnAIntentConfiguration")) + { + m_qnAIntentConfiguration = jsonValue.GetObject("qnAIntentConfiguration"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/ExactResponseFields.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/ExactResponseFields.cpp new file mode 100644 index 00000000000..a65710815cb --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/ExactResponseFields.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LexModelsV2 +{ +namespace Model +{ + +ExactResponseFields::ExactResponseFields() : + m_questionFieldHasBeenSet(false), + m_answerFieldHasBeenSet(false) +{ +} + +ExactResponseFields::ExactResponseFields(JsonView jsonValue) : + m_questionFieldHasBeenSet(false), + m_answerFieldHasBeenSet(false) +{ + *this = jsonValue; +} + +ExactResponseFields& ExactResponseFields::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("questionField")) + { + m_questionField = jsonValue.GetString("questionField"); + + m_questionFieldHasBeenSet = true; + } + + if(jsonValue.ValueExists("answerField")) + { + m_answerField = jsonValue.GetString("answerField"); + + m_answerFieldHasBeenSet = true; + } + + return *this; +} + +JsonValue ExactResponseFields::Jsonize() const +{ + JsonValue payload; + + if(m_questionFieldHasBeenSet) + { + payload.WithString("questionField", m_questionField); + + } + + if(m_answerFieldHasBeenSet) + { + payload.WithString("answerField", m_answerField); + + } + + return payload; +} + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/OpensearchConfiguration.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/OpensearchConfiguration.cpp new file mode 100644 index 00000000000..92839fb4e10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/OpensearchConfiguration.cpp @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LexModelsV2 +{ +namespace Model +{ + +OpensearchConfiguration::OpensearchConfiguration() : + m_domainEndpointHasBeenSet(false), + m_indexNameHasBeenSet(false), + m_exactResponse(false), + m_exactResponseHasBeenSet(false), + m_exactResponseFieldsHasBeenSet(false), + m_includeFieldsHasBeenSet(false) +{ +} + +OpensearchConfiguration::OpensearchConfiguration(JsonView jsonValue) : + m_domainEndpointHasBeenSet(false), + m_indexNameHasBeenSet(false), + m_exactResponse(false), + m_exactResponseHasBeenSet(false), + m_exactResponseFieldsHasBeenSet(false), + m_includeFieldsHasBeenSet(false) +{ + *this = jsonValue; +} + +OpensearchConfiguration& OpensearchConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("domainEndpoint")) + { + m_domainEndpoint = jsonValue.GetString("domainEndpoint"); + + m_domainEndpointHasBeenSet = true; + } + + if(jsonValue.ValueExists("indexName")) + { + m_indexName = jsonValue.GetString("indexName"); + + m_indexNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("exactResponse")) + { + m_exactResponse = jsonValue.GetBool("exactResponse"); + + m_exactResponseHasBeenSet = true; + } + + if(jsonValue.ValueExists("exactResponseFields")) + { + m_exactResponseFields = jsonValue.GetObject("exactResponseFields"); + + m_exactResponseFieldsHasBeenSet = true; + } + + if(jsonValue.ValueExists("includeFields")) + { + Aws::Utils::Array includeFieldsJsonList = jsonValue.GetArray("includeFields"); + for(unsigned includeFieldsIndex = 0; includeFieldsIndex < includeFieldsJsonList.GetLength(); ++includeFieldsIndex) + { + m_includeFields.push_back(includeFieldsJsonList[includeFieldsIndex].AsString()); + } + m_includeFieldsHasBeenSet = true; + } + + return *this; +} + +JsonValue OpensearchConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_domainEndpointHasBeenSet) + { + payload.WithString("domainEndpoint", m_domainEndpoint); + + } + + if(m_indexNameHasBeenSet) + { + payload.WithString("indexName", m_indexName); + + } + + if(m_exactResponseHasBeenSet) + { + payload.WithBool("exactResponse", m_exactResponse); + + } + + if(m_exactResponseFieldsHasBeenSet) + { + payload.WithObject("exactResponseFields", m_exactResponseFields.Jsonize()); + + } + + if(m_includeFieldsHasBeenSet) + { + Aws::Utils::Array includeFieldsJsonList(m_includeFields.size()); + for(unsigned includeFieldsIndex = 0; includeFieldsIndex < includeFieldsJsonList.GetLength(); ++includeFieldsIndex) + { + includeFieldsJsonList[includeFieldsIndex].AsString(m_includeFields[includeFieldsIndex]); + } + payload.WithArray("includeFields", std::move(includeFieldsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAIntentConfiguration.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAIntentConfiguration.cpp new file mode 100644 index 00000000000..a609342985c --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAIntentConfiguration.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LexModelsV2 +{ +namespace Model +{ + +QnAIntentConfiguration::QnAIntentConfiguration() : + m_dataSourceConfigurationHasBeenSet(false), + m_bedrockModelConfigurationHasBeenSet(false) +{ +} + +QnAIntentConfiguration::QnAIntentConfiguration(JsonView jsonValue) : + m_dataSourceConfigurationHasBeenSet(false), + m_bedrockModelConfigurationHasBeenSet(false) +{ + *this = jsonValue; +} + +QnAIntentConfiguration& QnAIntentConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("dataSourceConfiguration")) + { + m_dataSourceConfiguration = jsonValue.GetObject("dataSourceConfiguration"); + + m_dataSourceConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("bedrockModelConfiguration")) + { + m_bedrockModelConfiguration = jsonValue.GetObject("bedrockModelConfiguration"); + + m_bedrockModelConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue QnAIntentConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_dataSourceConfigurationHasBeenSet) + { + payload.WithObject("dataSourceConfiguration", m_dataSourceConfiguration.Jsonize()); + + } + + if(m_bedrockModelConfigurationHasBeenSet) + { + payload.WithObject("bedrockModelConfiguration", m_bedrockModelConfiguration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAKendraConfiguration.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAKendraConfiguration.cpp new file mode 100644 index 00000000000..b07c783faa5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/QnAKendraConfiguration.cpp @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LexModelsV2 +{ +namespace Model +{ + +QnAKendraConfiguration::QnAKendraConfiguration() : + m_kendraIndexHasBeenSet(false), + m_queryFilterStringEnabled(false), + m_queryFilterStringEnabledHasBeenSet(false), + m_queryFilterStringHasBeenSet(false), + m_exactResponse(false), + m_exactResponseHasBeenSet(false) +{ +} + +QnAKendraConfiguration::QnAKendraConfiguration(JsonView jsonValue) : + m_kendraIndexHasBeenSet(false), + m_queryFilterStringEnabled(false), + m_queryFilterStringEnabledHasBeenSet(false), + m_queryFilterStringHasBeenSet(false), + m_exactResponse(false), + m_exactResponseHasBeenSet(false) +{ + *this = jsonValue; +} + +QnAKendraConfiguration& QnAKendraConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("kendraIndex")) + { + m_kendraIndex = jsonValue.GetString("kendraIndex"); + + m_kendraIndexHasBeenSet = true; + } + + if(jsonValue.ValueExists("queryFilterStringEnabled")) + { + m_queryFilterStringEnabled = jsonValue.GetBool("queryFilterStringEnabled"); + + m_queryFilterStringEnabledHasBeenSet = true; + } + + if(jsonValue.ValueExists("queryFilterString")) + { + m_queryFilterString = jsonValue.GetString("queryFilterString"); + + m_queryFilterStringHasBeenSet = true; + } + + if(jsonValue.ValueExists("exactResponse")) + { + m_exactResponse = jsonValue.GetBool("exactResponse"); + + m_exactResponseHasBeenSet = true; + } + + return *this; +} + +JsonValue QnAKendraConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_kendraIndexHasBeenSet) + { + payload.WithString("kendraIndex", m_kendraIndex); + + } + + if(m_queryFilterStringEnabledHasBeenSet) + { + payload.WithBool("queryFilterStringEnabled", m_queryFilterStringEnabled); + + } + + if(m_queryFilterStringHasBeenSet) + { + payload.WithString("queryFilterString", m_queryFilterString); + + } + + if(m_exactResponseHasBeenSet) + { + payload.WithBool("exactResponse", m_exactResponse); + + } + + return payload; +} + +} // namespace Model +} // namespace LexModelsV2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentRequest.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentRequest.cpp index b08adf17f03..ba78a3b3822 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentRequest.cpp +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentRequest.cpp @@ -29,7 +29,8 @@ UpdateIntentRequest::UpdateIntentRequest() : m_botIdHasBeenSet(false), m_botVersionHasBeenSet(false), m_localeIdHasBeenSet(false), - m_initialResponseSettingHasBeenSet(false) + m_initialResponseSettingHasBeenSet(false), + m_qnAIntentConfigurationHasBeenSet(false) { } @@ -135,6 +136,12 @@ Aws::String UpdateIntentRequest::SerializePayload() const } + if(m_qnAIntentConfigurationHasBeenSet) + { + payload.WithObject("qnAIntentConfiguration", m_qnAIntentConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentResult.cpp b/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentResult.cpp index bc6414641b1..269c4263f8b 100644 --- a/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentResult.cpp +++ b/generated/src/aws-cpp-sdk-lexv2-models/source/model/UpdateIntentResult.cpp @@ -155,6 +155,12 @@ UpdateIntentResult& UpdateIntentResult::operator =(const Aws::AmazonWebServiceRe } + if(jsonValue.ValueExists("qnAIntentConfiguration")) + { + m_qnAIntentConfiguration = jsonValue.GetObject("qnAIntentConfiguration"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorClient.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorClient.h index a5a4facaabf..a55e2149801 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorClient.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorClient.h @@ -17,10 +17,10 @@ namespace MigrationHubOrchestrator { /** *

This API reference provides descriptions, syntax, and other details about - * each of the actions and data types for AWS Migration Hub Orchestrator. he topic - * for each action shows the API request parameters and the response. - * Alternatively, you can use one of the AWS SDKs to access an API that is tailored - * to the programming language or platform that you're using.

+ * each of the actions and data types for AWS Migration Hub Orchestrator. The topic + * for each action shows the API request parameters and responses. Alternatively, + * you can use one of the AWS SDKs to access an API that is tailored to the + * programming language or platform that you're using.

*/ class AWS_MIGRATIONHUBORCHESTRATOR_API MigrationHubOrchestratorClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { @@ -80,6 +80,31 @@ namespace MigrationHubOrchestrator /* End of legacy constructors due deprecation */ virtual ~MigrationHubOrchestratorClient(); + /** + *

Creates a migration workflow template.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateTemplateOutcome CreateTemplate(const Model::CreateTemplateRequest& request) const; + + /** + * A Callable wrapper for CreateTemplate that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateTemplateOutcomeCallable CreateTemplateCallable(const CreateTemplateRequestT& request) const + { + return SubmitCallable(&MigrationHubOrchestratorClient::CreateTemplate, request); + } + + /** + * An Async wrapper for CreateTemplate that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateTemplateAsync(const CreateTemplateRequestT& request, const CreateTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&MigrationHubOrchestratorClient::CreateTemplate, request, handler, context); + } + /** *

Create a workflow to orchestrate your migrations.

See Also:

* Deletes a migration workflow template.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteTemplateOutcome DeleteTemplate(const Model::DeleteTemplateRequest& request) const; + + /** + * A Callable wrapper for DeleteTemplate that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteTemplateOutcomeCallable DeleteTemplateCallable(const DeleteTemplateRequestT& request) const + { + return SubmitCallable(&MigrationHubOrchestratorClient::DeleteTemplate, request); + } + + /** + * An Async wrapper for DeleteTemplate that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteTemplateAsync(const DeleteTemplateRequestT& request, const DeleteTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&MigrationHubOrchestratorClient::DeleteTemplate, request, handler, context); + } + /** *

Delete a migration workflow. You must pause a running workflow in Migration * Hub Orchestrator console to delete it.

See Also:

Updates a migration workflow template.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateTemplateOutcome UpdateTemplate(const Model::UpdateTemplateRequest& request) const; + + /** + * A Callable wrapper for UpdateTemplate that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateTemplateOutcomeCallable UpdateTemplateCallable(const UpdateTemplateRequestT& request) const + { + return SubmitCallable(&MigrationHubOrchestratorClient::UpdateTemplate, request); + } + + /** + * An Async wrapper for UpdateTemplate that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateTemplateAsync(const UpdateTemplateRequestT& request, const UpdateTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&MigrationHubOrchestratorClient::UpdateTemplate, request, handler, context); + } + /** *

Update a migration workflow.

See Also:

AWS diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorErrors.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorErrors.h index 041f8059668..280dfd60cd9 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorErrors.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorErrors.h @@ -47,7 +47,8 @@ enum class MigrationHubOrchestratorErrors UNKNOWN = 100, /////////////////////////////////////////////////////////////////////////////////////////// - INTERNAL_SERVER= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1 + CONFLICT= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, + INTERNAL_SERVER }; class AWS_MIGRATIONHUBORCHESTRATOR_API MigrationHubOrchestratorError : public Aws::Client::AWSError diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorServiceClientModel.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorServiceClientModel.h index 8bcc1c3b224..e337538c48e 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/MigrationHubOrchestratorServiceClientModel.h @@ -18,9 +18,11 @@ /* End of generic header includes */ /* Service model headers required in MigrationHubOrchestratorClient header */ +#include #include #include #include +#include #include #include #include @@ -43,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -86,9 +89,11 @@ namespace Aws namespace Model { /* Service model forward declarations required in MigrationHubOrchestratorClient header */ + class CreateTemplateRequest; class CreateWorkflowRequest; class CreateWorkflowStepRequest; class CreateWorkflowStepGroupRequest; + class DeleteTemplateRequest; class DeleteWorkflowRequest; class DeleteWorkflowStepRequest; class DeleteWorkflowStepGroupRequest; @@ -111,15 +116,18 @@ namespace Aws class StopWorkflowRequest; class TagResourceRequest; class UntagResourceRequest; + class UpdateTemplateRequest; class UpdateWorkflowRequest; class UpdateWorkflowStepRequest; class UpdateWorkflowStepGroupRequest; /* End of service model forward declarations required in MigrationHubOrchestratorClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome CreateTemplateOutcome; typedef Aws::Utils::Outcome CreateWorkflowOutcome; typedef Aws::Utils::Outcome CreateWorkflowStepOutcome; typedef Aws::Utils::Outcome CreateWorkflowStepGroupOutcome; + typedef Aws::Utils::Outcome DeleteTemplateOutcome; typedef Aws::Utils::Outcome DeleteWorkflowOutcome; typedef Aws::Utils::Outcome DeleteWorkflowStepOutcome; typedef Aws::Utils::Outcome DeleteWorkflowStepGroupOutcome; @@ -142,15 +150,18 @@ namespace Aws typedef Aws::Utils::Outcome StopWorkflowOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; + typedef Aws::Utils::Outcome UpdateTemplateOutcome; typedef Aws::Utils::Outcome UpdateWorkflowOutcome; typedef Aws::Utils::Outcome UpdateWorkflowStepOutcome; typedef Aws::Utils::Outcome UpdateWorkflowStepGroupOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future CreateTemplateOutcomeCallable; typedef std::future CreateWorkflowOutcomeCallable; typedef std::future CreateWorkflowStepOutcomeCallable; typedef std::future CreateWorkflowStepGroupOutcomeCallable; + typedef std::future DeleteTemplateOutcomeCallable; typedef std::future DeleteWorkflowOutcomeCallable; typedef std::future DeleteWorkflowStepOutcomeCallable; typedef std::future DeleteWorkflowStepGroupOutcomeCallable; @@ -173,6 +184,7 @@ namespace Aws typedef std::future StopWorkflowOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; + typedef std::future UpdateTemplateOutcomeCallable; typedef std::future UpdateWorkflowOutcomeCallable; typedef std::future UpdateWorkflowStepOutcomeCallable; typedef std::future UpdateWorkflowStepGroupOutcomeCallable; @@ -182,9 +194,11 @@ namespace Aws class MigrationHubOrchestratorClient; /* Service model async handlers definitions */ + typedef std::function&) > CreateTemplateResponseReceivedHandler; typedef std::function&) > CreateWorkflowResponseReceivedHandler; typedef std::function&) > CreateWorkflowStepResponseReceivedHandler; typedef std::function&) > CreateWorkflowStepGroupResponseReceivedHandler; + typedef std::function&) > DeleteTemplateResponseReceivedHandler; typedef std::function&) > DeleteWorkflowResponseReceivedHandler; typedef std::function&) > DeleteWorkflowStepResponseReceivedHandler; typedef std::function&) > DeleteWorkflowStepGroupResponseReceivedHandler; @@ -207,6 +221,7 @@ namespace Aws typedef std::function&) > StopWorkflowResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; + typedef std::function&) > UpdateTemplateResponseReceivedHandler; typedef std::function&) > UpdateWorkflowResponseReceivedHandler; typedef std::function&) > UpdateWorkflowStepResponseReceivedHandler; typedef std::function&) > UpdateWorkflowStepGroupResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateRequest.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateRequest.h new file mode 100644 index 00000000000..9bd393fc436 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateRequest.h @@ -0,0 +1,301 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace MigrationHubOrchestrator +{ +namespace Model +{ + + /** + */ + class CreateTemplateRequest : public MigrationHubOrchestratorRequest + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API CreateTemplateRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateTemplate"; } + + AWS_MIGRATIONHUBORCHESTRATOR_API Aws::String SerializePayload() const override; + + + /** + *

The name of the migration workflow template.

+ */ + inline const Aws::String& GetTemplateName() const{ return m_templateName; } + + /** + *

The name of the migration workflow template.

+ */ + inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } + + /** + *

The name of the migration workflow template.

+ */ + inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } + + /** + *

The name of the migration workflow template.

+ */ + inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } + + /** + *

The name of the migration workflow template.

+ */ + inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } + + /** + *

The name of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} + + /** + *

The name of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} + + /** + *

The name of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} + + + /** + *

A description of the migration workflow template.

+ */ + inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; } + + /** + *

A description of the migration workflow template.

+ */ + inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; } + + /** + *

A description of the migration workflow template.

+ */ + inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; } + + /** + *

A description of the migration workflow template.

+ */ + inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); } + + /** + *

A description of the migration workflow template.

+ */ + inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); } + + /** + *

A description of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateDescription(const Aws::String& value) { SetTemplateDescription(value); return *this;} + + /** + *

A description of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;} + + /** + *

A description of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;} + + + /** + *

The source of the migration workflow template.

+ */ + inline const TemplateSource& GetTemplateSource() const{ return m_templateSource; } + + /** + *

The source of the migration workflow template.

+ */ + inline bool TemplateSourceHasBeenSet() const { return m_templateSourceHasBeenSet; } + + /** + *

The source of the migration workflow template.

+ */ + inline void SetTemplateSource(const TemplateSource& value) { m_templateSourceHasBeenSet = true; m_templateSource = value; } + + /** + *

The source of the migration workflow template.

+ */ + inline void SetTemplateSource(TemplateSource&& value) { m_templateSourceHasBeenSet = true; m_templateSource = std::move(value); } + + /** + *

The source of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateSource(const TemplateSource& value) { SetTemplateSource(value); return *this;} + + /** + *

The source of the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTemplateSource(TemplateSource&& value) { SetTemplateSource(std::move(value)); return *this;} + + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline CreateTemplateRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline CreateTemplateRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Idempotency + * in the Smithy documentation.

+ */ + inline CreateTemplateRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The tags to add to the migration workflow template.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags to add to the migration workflow template.

+ */ + inline CreateTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_templateName; + bool m_templateNameHasBeenSet = false; + + Aws::String m_templateDescription; + bool m_templateDescriptionHasBeenSet = false; + + TemplateSource m_templateSource; + bool m_templateSourceHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateResult.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateResult.h new file mode 100644 index 00000000000..2c1a04ac378 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/CreateTemplateResult.h @@ -0,0 +1,238 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace MigrationHubOrchestrator +{ +namespace Model +{ + class CreateTemplateResult + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API CreateTemplateResult(); + AWS_MIGRATIONHUBORCHESTRATOR_API CreateTemplateResult(const Aws::AmazonWebServiceResult& result); + AWS_MIGRATIONHUBORCHESTRATOR_API CreateTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The ID of the migration workflow template.

+ */ + inline const Aws::String& GetTemplateId() const{ return m_templateId; } + + /** + *

The ID of the migration workflow template.

+ */ + inline void SetTemplateId(const Aws::String& value) { m_templateId = value; } + + /** + *

The ID of the migration workflow template.

+ */ + inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); } + + /** + *

The ID of the migration workflow template.

+ */ + inline void SetTemplateId(const char* value) { m_templateId.assign(value); } + + /** + *

The ID of the migration workflow template.

+ */ + inline CreateTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} + + /** + *

The ID of the migration workflow template.

+ */ + inline CreateTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} + + /** + *

The ID of the migration workflow template.

+ */ + inline CreateTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline const Aws::String& GetTemplateArn() const{ return m_templateArn; } + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline CreateTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline CreateTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the migration workflow template. The format + * for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline CreateTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;} + + + /** + *

The tags added to the migration workflow template.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline void SetTags(const Aws::Map& value) { m_tags = value; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline CreateTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_templateId; + + Aws::String m_templateArn; + + Aws::Map m_tags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateRequest.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateRequest.h new file mode 100644 index 00000000000..c40cc9ae0b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace MigrationHubOrchestrator +{ +namespace Model +{ + + /** + */ + class DeleteTemplateRequest : public MigrationHubOrchestratorRequest + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API DeleteTemplateRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteTemplate"; } + + AWS_MIGRATIONHUBORCHESTRATOR_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline DeleteTemplateRequest& WithId(const Aws::String& value) { SetId(value); return *this;} + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline DeleteTemplateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + + /** + *

The ID of the request to delete a migration workflow template.

+ */ + inline DeleteTemplateRequest& WithId(const char* value) { SetId(value); return *this;} + + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateResult.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateResult.h new file mode 100644 index 00000000000..f6eb0ebb7d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/DeleteTemplateResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace MigrationHubOrchestrator +{ +namespace Model +{ + class DeleteTemplateResult + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API DeleteTemplateResult(); + AWS_MIGRATIONHUBORCHESTRATOR_API DeleteTemplateResult(const Aws::AmazonWebServiceResult& result); + AWS_MIGRATIONHUBORCHESTRATOR_API DeleteTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetTemplateResult.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetTemplateResult.h index cb4ea8778b5..2d97ac1d673 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetTemplateResult.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetTemplateResult.h @@ -7,8 +7,9 @@ #include #include #include -#include #include +#include +#include #include #include #include @@ -73,6 +74,77 @@ namespace Model inline GetTemplateResult& WithId(const char* value) { SetId(value); return *this;} + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline const Aws::String& GetTemplateArn() const{ return m_templateArn; } + + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; } + + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); } + + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); } + + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline GetTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;} + + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline GetTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;} + + /** + *

>The Amazon Resource Name (ARN) of the migration workflow template. The + * format for an Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline GetTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;} + + /** *

The name of the template.

*/ @@ -217,6 +289,68 @@ namespace Model inline GetTemplateResult& AddTools(Tool&& value) { m_tools.push_back(std::move(value)); return *this; } + /** + *

The time at which the template was last created.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + + /** + *

The time at which the template was last created.

+ */ + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } + + /** + *

The time at which the template was last created.

+ */ + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } + + /** + *

The time at which the template was last created.

+ */ + inline GetTemplateResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + + /** + *

The time at which the template was last created.

+ */ + inline GetTemplateResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + + + /** + *

The owner of the migration workflow template.

+ */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

The owner of the migration workflow template.

+ */ + inline void SetOwner(const Aws::String& value) { m_owner = value; } + + /** + *

The owner of the migration workflow template.

+ */ + inline void SetOwner(Aws::String&& value) { m_owner = std::move(value); } + + /** + *

The owner of the migration workflow template.

+ */ + inline void SetOwner(const char* value) { m_owner.assign(value); } + + /** + *

The owner of the migration workflow template.

+ */ + inline GetTemplateResult& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

The owner of the migration workflow template.

+ */ + inline GetTemplateResult& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

The owner of the migration workflow template.

+ */ + inline GetTemplateResult& WithOwner(const char* value) { SetOwner(value); return *this;} + + /** *

The status of the template.

*/ @@ -244,29 +378,157 @@ namespace Model /** - *

The time at which the template was last created.

+ *

The status message of retrieving migration workflow templates.

*/ - inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** - *

The time at which the template was last created.

+ *

The status message of retrieving migration workflow templates.

*/ - inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } + inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } /** - *

The time at which the template was last created.

+ *

The status message of retrieving migration workflow templates.

*/ - inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } + inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } /** - *

The time at which the template was last created.

+ *

The status message of retrieving migration workflow templates.

*/ - inline GetTemplateResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** - *

The time at which the template was last created.

+ *

The status message of retrieving migration workflow templates.

*/ - inline GetTemplateResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + inline GetTemplateResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + + /** + *

The status message of retrieving migration workflow templates.

+ */ + inline GetTemplateResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + + /** + *

The status message of retrieving migration workflow templates.

+ */ + inline GetTemplateResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline const Aws::String& GetTemplateClass() const{ return m_templateClass; } + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline void SetTemplateClass(const Aws::String& value) { m_templateClass = value; } + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline void SetTemplateClass(Aws::String&& value) { m_templateClass = std::move(value); } + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline void SetTemplateClass(const char* value) { m_templateClass.assign(value); } + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline GetTemplateResult& WithTemplateClass(const Aws::String& value) { SetTemplateClass(value); return *this;} + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline GetTemplateResult& WithTemplateClass(Aws::String&& value) { SetTemplateClass(std::move(value)); return *this;} + + /** + *

The class of the migration workflow template. The available template classes + * are:

  • A2C

  • MGN

  • SAP_MULTI

    + *
  • SQL_EC2

  • SQL_RDS

  • VMIE

  • + *
+ */ + inline GetTemplateResult& WithTemplateClass(const char* value) { SetTemplateClass(value); return *this;} + + + /** + *

The tags added to the migration workflow template.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline void SetTags(const Aws::Map& value) { m_tags = value; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline GetTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } @@ -294,6 +556,8 @@ namespace Model Aws::String m_id; + Aws::String m_templateArn; + Aws::String m_name; Aws::String m_description; @@ -302,9 +566,17 @@ namespace Model Aws::Vector m_tools; + Aws::Utils::DateTime m_creationTime; + + Aws::String m_owner; + TemplateStatus m_status; - Aws::Utils::DateTime m_creationTime; + Aws::String m_statusMessage; + + Aws::String m_templateClass; + + Aws::Map m_tags; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetWorkflowStepRequest.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetWorkflowStepRequest.h index 7459b06cbc0..ccaeeddc04f 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetWorkflowStepRequest.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/GetWorkflowStepRequest.h @@ -80,42 +80,42 @@ namespace Model /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline const Aws::String& GetStepGroupId() const{ return m_stepGroupId; } /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline bool StepGroupIdHasBeenSet() const { return m_stepGroupIdHasBeenSet; } /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline void SetStepGroupId(const Aws::String& value) { m_stepGroupIdHasBeenSet = true; m_stepGroupId = value; } /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline void SetStepGroupId(Aws::String&& value) { m_stepGroupIdHasBeenSet = true; m_stepGroupId = std::move(value); } /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline void SetStepGroupId(const char* value) { m_stepGroupIdHasBeenSet = true; m_stepGroupId.assign(value); } /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline GetWorkflowStepRequest& WithStepGroupId(const Aws::String& value) { SetStepGroupId(value); return *this;} /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline GetWorkflowStepRequest& WithStepGroupId(Aws::String&& value) { SetStepGroupId(std::move(value)); return *this;} /** - *

desThe ID of the step group.

+ *

The ID of the step group.

*/ inline GetWorkflowStepRequest& WithStepGroupId(const char* value) { SetStepGroupId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/StepStatus.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/StepStatus.h index 7115b299ff1..f35c13ec22b 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/StepStatus.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/StepStatus.h @@ -17,6 +17,7 @@ namespace Model { NOT_SET, AWAITING_DEPENDENCIES, + SKIPPED, READY, IN_PROGRESS, COMPLETED, diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateSource.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateSource.h new file mode 100644 index 00000000000..697e724021c --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateSource.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace MigrationHubOrchestrator +{ +namespace Model +{ + + /** + *

The migration workflow template used as the source for the new + * template.

See Also:

AWS + * API Reference

+ */ + class TemplateSource + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API TemplateSource(); + AWS_MIGRATIONHUBORCHESTRATOR_API TemplateSource(Aws::Utils::Json::JsonView jsonValue); + AWS_MIGRATIONHUBORCHESTRATOR_API TemplateSource& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MIGRATIONHUBORCHESTRATOR_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline TemplateSource& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline TemplateSource& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} + + /** + *

The ID of the workflow from the source migration workflow template.

+ */ + inline TemplateSource& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} + + private: + + Aws::String m_workflowId; + bool m_workflowIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateStatus.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateStatus.h index 743412b1b0a..b6f723ddaf6 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateStatus.h +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/TemplateStatus.h @@ -16,7 +16,11 @@ namespace Model enum class TemplateStatus { NOT_SET, - CREATED + CREATED, + READY, + PENDING_CREATION, + CREATING, + CREATION_FAILED }; namespace TemplateStatusMapper diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateRequest.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateRequest.h new file mode 100644 index 00000000000..85547cbe9ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateRequest.h @@ -0,0 +1,224 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace MigrationHubOrchestrator +{ +namespace Model +{ + + /** + */ + class UpdateTemplateRequest : public MigrationHubOrchestratorRequest + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API UpdateTemplateRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateTemplate"; } + + AWS_MIGRATIONHUBORCHESTRATOR_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline UpdateTemplateRequest& WithId(const Aws::String& value) { SetId(value); return *this;} + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline UpdateTemplateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + + /** + *

The ID of the request to update a migration workflow template.

+ */ + inline UpdateTemplateRequest& WithId(const char* value) { SetId(value); return *this;} + + + /** + *

The name of the migration workflow template to update.

+ */ + inline const Aws::String& GetTemplateName() const{ return m_templateName; } + + /** + *

The name of the migration workflow template to update.

+ */ + inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } + + /** + *

The name of the migration workflow template to update.

+ */ + inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } + + /** + *

The name of the migration workflow template to update.

+ */ + inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } + + /** + *

The name of the migration workflow template to update.

+ */ + inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } + + /** + *

The name of the migration workflow template to update.

+ */ + inline UpdateTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} + + /** + *

The name of the migration workflow template to update.

+ */ + inline UpdateTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} + + /** + *

The name of the migration workflow template to update.

+ */ + inline UpdateTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} + + + /** + *

The description of the migration workflow template to update.

+ */ + inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; } + + /** + *

The description of the migration workflow template to update.

+ */ + inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; } + + /** + *

The description of the migration workflow template to update.

+ */ + inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; } + + /** + *

The description of the migration workflow template to update.

+ */ + inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); } + + /** + *

The description of the migration workflow template to update.

+ */ + inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); } + + /** + *

The description of the migration workflow template to update.

+ */ + inline UpdateTemplateRequest& WithTemplateDescription(const Aws::String& value) { SetTemplateDescription(value); return *this;} + + /** + *

The description of the migration workflow template to update.

+ */ + inline UpdateTemplateRequest& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;} + + /** + *

The description of the migration workflow template to update.

+ */ + inline UpdateTemplateRequest& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;} + + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline UpdateTemplateRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline UpdateTemplateRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

+ */ + inline UpdateTemplateRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_templateName; + bool m_templateNameHasBeenSet = false; + + Aws::String m_templateDescription; + bool m_templateDescriptionHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateResult.h b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateResult.h new file mode 100644 index 00000000000..f3e6bdb8017 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/include/aws/migrationhuborchestrator/model/UpdateTemplateResult.h @@ -0,0 +1,238 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace MigrationHubOrchestrator +{ +namespace Model +{ + class UpdateTemplateResult + { + public: + AWS_MIGRATIONHUBORCHESTRATOR_API UpdateTemplateResult(); + AWS_MIGRATIONHUBORCHESTRATOR_API UpdateTemplateResult(const Aws::AmazonWebServiceResult& result); + AWS_MIGRATIONHUBORCHESTRATOR_API UpdateTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline const Aws::String& GetTemplateId() const{ return m_templateId; } + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline void SetTemplateId(const Aws::String& value) { m_templateId = value; } + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); } + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline void SetTemplateId(const char* value) { m_templateId.assign(value); } + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline UpdateTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline UpdateTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} + + /** + *

The ID of the migration workflow template being updated.

+ */ + inline UpdateTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} + + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline const Aws::String& GetTemplateArn() const{ return m_templateArn; } + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; } + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); } + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); } + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline UpdateTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;} + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline UpdateTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;} + + /** + *

The ARN of the migration workflow template being updated. The format for an + * Migration Hub Orchestrator template ARN is + * arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. + * For more information about ARNs, see Amazon + * Resource Names (ARNs) in the AWS General Reference.

+ */ + inline UpdateTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;} + + + /** + *

The tags added to the migration workflow template.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline void SetTags(const Aws::Map& value) { m_tags = value; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags added to the migration workflow template.

+ */ + inline UpdateTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_templateId; + + Aws::String m_templateArn; + + Aws::Map m_tags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorClient.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorClient.cpp index 923e6fc5962..93b51cc0c0b 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorClient.cpp +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorClient.cpp @@ -21,9 +21,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -46,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -190,6 +193,33 @@ void MigrationHubOrchestratorClient::OverrideEndpoint(const Aws::String& endpoin m_endpointProvider->OverrideEndpoint(endpoint); } +CreateTemplateOutcome MigrationHubOrchestratorClient::CreateTemplate(const CreateTemplateRequest& request) const +{ + AWS_OPERATION_GUARD(CreateTemplate); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTemplate", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateTemplateOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/template"); + return CreateTemplateOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateWorkflowOutcome MigrationHubOrchestratorClient::CreateWorkflow(const CreateWorkflowRequest& request) const { AWS_OPERATION_GUARD(CreateWorkflow); @@ -271,6 +301,39 @@ CreateWorkflowStepGroupOutcome MigrationHubOrchestratorClient::CreateWorkflowSte {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteTemplateOutcome MigrationHubOrchestratorClient::DeleteTemplate(const DeleteTemplateRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteTemplate); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTemplate", "Required field: Id, is not set"); + return DeleteTemplateOutcome(Aws::Client::AWSError(MigrationHubOrchestratorErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTemplate", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteTemplateOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/template/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetId()); + return DeleteTemplateOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeleteWorkflowOutcome MigrationHubOrchestratorClient::DeleteWorkflow(const DeleteWorkflowRequest& request) const { AWS_OPERATION_GUARD(DeleteWorkflow); @@ -1054,6 +1117,39 @@ UntagResourceOutcome MigrationHubOrchestratorClient::UntagResource(const UntagRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateTemplateOutcome MigrationHubOrchestratorClient::UpdateTemplate(const UpdateTemplateRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTemplate); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTemplate", "Required field: Id, is not set"); + return UpdateTemplateOutcome(Aws::Client::AWSError(MigrationHubOrchestratorErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTemplate", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateTemplateOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/template/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetId()); + return UpdateTemplateOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateWorkflowOutcome MigrationHubOrchestratorClient::UpdateWorkflow(const UpdateWorkflowRequest& request) const { AWS_OPERATION_GUARD(UpdateWorkflow); diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorEndpointRules.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorEndpointRules.cpp index a90b5d94208..943af6f2ee5 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorEndpointRules.cpp @@ -51,122 +51,122 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', ',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', '{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', -'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', -'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', -' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', -'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', -',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l', +'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a', +'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r', +'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':', +'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a', +'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', +'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a', +'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', +',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','m','i','g','r','a','t','i','o','n','h','u','b','-','o','r','c', +'h','e','s','t','r','a','t','o','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{', +'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k', +'D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a', +'n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',', +' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ', +'n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',', +'"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', 'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', +':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', 'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', -'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','m','i','g','r','a','t','i', -'o','n','h','u','b','-','o','r','c','h','e','s','t','r','a','t','o','r','-','f','i','p','s','.','{', -'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', -'d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', -'p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}', -',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"', -'F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n', -'a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', -' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ', -'b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', -'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', -'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', -'t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':', -'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i', -'n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','m','i','g','r','a', -'t','i','o','n','h','u','b','-','o','r','c','h','e','s','t','r','a','t','o','r','-','f','i','p','s', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s', +'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t', +'r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l', +'"',':','"','h','t','t','p','s',':','/','/','m','i','g','r','a','t','i','o','n','h','u','b','-','o', +'r','c','h','e','s','t','r','a','t','o','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f', +'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', +'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l', +'e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e', +'s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e', +'"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', +'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', +'e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', +'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','m','i','g','r','a','t','i','o','n', +'h','u','b','-','o','r','c','h','e','s','t','r','a','t','o','r','.','{','R','e','g','i','o','n','}', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a', +'c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s', '"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"', -':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s', -' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i', -'o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"', -',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d', -'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', -'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e', -'D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', -'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', -'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', -'t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'m','i','g','r','a','t','i','o','n','h','u','b','-','o','r','c','h','e','s','t','r','a','t','o','r', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"', -':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u', -'t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t', -' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', -'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','m','i','g', -'r','a','t','i','o','n','h','u','b','-','o','r','c','h','e','s','t','r','a','t','o','r','.','{','R', -'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', -'n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', -'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',']','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ', -'C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e', -'g','i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',']','}', +':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l', +'S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s', +' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', +'r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r', +'o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', +'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','m','i','g','r','a','t','i','o','n', +'h','u','b','-','o','r','c','h','e','s','t','r','a','t','o','r','.','{','R','e','g','i','o','n','}', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f', +'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', +'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', +'"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':', +' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']','}', '\0' }}; diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorErrors.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorErrors.cpp index ce7e2a79a2b..d707f8fbc9c 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorErrors.cpp +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/MigrationHubOrchestratorErrors.cpp @@ -18,6 +18,7 @@ namespace MigrationHubOrchestrator namespace MigrationHubOrchestratorErrorMapper { +static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException"); @@ -25,7 +26,11 @@ AWSError GetErrorForName(const char* errorName) { int hashCode = HashingUtils::HashString(errorName); - if (hashCode == INTERNAL_SERVER_HASH) + if (hashCode == CONFLICT_HASH) + { + return AWSError(static_cast(MigrationHubOrchestratorErrors::CONFLICT), RetryableType::RETRYABLE); + } + else if (hashCode == INTERNAL_SERVER_HASH) { return AWSError(static_cast(MigrationHubOrchestratorErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE); } diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateRequest.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateRequest.cpp new file mode 100644 index 00000000000..ab5052ed5e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateRequest.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::MigrationHubOrchestrator::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateTemplateRequest::CreateTemplateRequest() : + m_templateNameHasBeenSet(false), + m_templateDescriptionHasBeenSet(false), + m_templateSourceHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateTemplateRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_templateNameHasBeenSet) + { + payload.WithString("templateName", m_templateName); + + } + + if(m_templateDescriptionHasBeenSet) + { + payload.WithString("templateDescription", m_templateDescription); + + } + + if(m_templateSourceHasBeenSet) + { + payload.WithObject("templateSource", m_templateSource.Jsonize()); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateResult.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateResult.cpp new file mode 100644 index 00000000000..4a38c686f96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/CreateTemplateResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::MigrationHubOrchestrator::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateTemplateResult::CreateTemplateResult() +{ +} + +CreateTemplateResult::CreateTemplateResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateTemplateResult& CreateTemplateResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("templateId")) + { + m_templateId = jsonValue.GetString("templateId"); + + } + + if(jsonValue.ValueExists("templateArn")) + { + m_templateArn = jsonValue.GetString("templateArn"); + + } + + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateRequest.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateRequest.cpp new file mode 100644 index 00000000000..0a2206c39bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::MigrationHubOrchestrator::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteTemplateRequest::DeleteTemplateRequest() : + m_idHasBeenSet(false) +{ +} + +Aws::String DeleteTemplateRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateResult.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateResult.cpp new file mode 100644 index 00000000000..5e15f857c5d --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/DeleteTemplateResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::MigrationHubOrchestrator::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteTemplateResult::DeleteTemplateResult() +{ +} + +DeleteTemplateResult::DeleteTemplateResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteTemplateResult& DeleteTemplateResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/GetTemplateResult.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/GetTemplateResult.cpp index 4df944958f1..534a2c5e6ca 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/GetTemplateResult.cpp +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/GetTemplateResult.cpp @@ -37,6 +37,12 @@ GetTemplateResult& GetTemplateResult::operator =(const Aws::AmazonWebServiceResu } + if(jsonValue.ValueExists("templateArn")) + { + m_templateArn = jsonValue.GetString("templateArn"); + + } + if(jsonValue.ValueExists("name")) { m_name = jsonValue.GetString("name"); @@ -67,16 +73,43 @@ GetTemplateResult& GetTemplateResult::operator =(const Aws::AmazonWebServiceResu } } + if(jsonValue.ValueExists("creationTime")) + { + m_creationTime = jsonValue.GetDouble("creationTime"); + + } + + if(jsonValue.ValueExists("owner")) + { + m_owner = jsonValue.GetString("owner"); + + } + if(jsonValue.ValueExists("status")) { m_status = TemplateStatusMapper::GetTemplateStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("creationTime")) + if(jsonValue.ValueExists("statusMessage")) { - m_creationTime = jsonValue.GetDouble("creationTime"); + m_statusMessage = jsonValue.GetString("statusMessage"); + + } + + if(jsonValue.ValueExists("templateClass")) + { + m_templateClass = jsonValue.GetString("templateClass"); + + } + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } } diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/StepStatus.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/StepStatus.cpp index 06f5609e885..9cd7eea45bc 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/StepStatus.cpp +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/StepStatus.cpp @@ -21,6 +21,7 @@ namespace Aws { static const int AWAITING_DEPENDENCIES_HASH = HashingUtils::HashString("AWAITING_DEPENDENCIES"); + static const int SKIPPED_HASH = HashingUtils::HashString("SKIPPED"); static const int READY_HASH = HashingUtils::HashString("READY"); static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); @@ -36,6 +37,10 @@ namespace Aws { return StepStatus::AWAITING_DEPENDENCIES; } + else if (hashCode == SKIPPED_HASH) + { + return StepStatus::SKIPPED; + } else if (hashCode == READY_HASH) { return StepStatus::READY; @@ -78,6 +83,8 @@ namespace Aws return {}; case StepStatus::AWAITING_DEPENDENCIES: return "AWAITING_DEPENDENCIES"; + case StepStatus::SKIPPED: + return "SKIPPED"; case StepStatus::READY: return "READY"; case StepStatus::IN_PROGRESS: diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateSource.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateSource.cpp new file mode 100644 index 00000000000..537bdc30fde --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateSource.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace MigrationHubOrchestrator +{ +namespace Model +{ + +TemplateSource::TemplateSource() : + m_workflowIdHasBeenSet(false) +{ +} + +TemplateSource::TemplateSource(JsonView jsonValue) : + m_workflowIdHasBeenSet(false) +{ + *this = jsonValue; +} + +TemplateSource& TemplateSource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("workflowId")) + { + m_workflowId = jsonValue.GetString("workflowId"); + + m_workflowIdHasBeenSet = true; + } + + return *this; +} + +JsonValue TemplateSource::Jsonize() const +{ + JsonValue payload; + + if(m_workflowIdHasBeenSet) + { + payload.WithString("workflowId", m_workflowId); + + } + + return payload; +} + +} // namespace Model +} // namespace MigrationHubOrchestrator +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateStatus.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateStatus.cpp index 03c3f45ea30..2073f66ca10 100644 --- a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateStatus.cpp +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/TemplateStatus.cpp @@ -21,6 +21,10 @@ namespace Aws { static const int CREATED_HASH = HashingUtils::HashString("CREATED"); + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int PENDING_CREATION_HASH = HashingUtils::HashString("PENDING_CREATION"); + static const int CREATING_HASH = HashingUtils::HashString("CREATING"); + static const int CREATION_FAILED_HASH = HashingUtils::HashString("CREATION_FAILED"); TemplateStatus GetTemplateStatusForName(const Aws::String& name) @@ -30,6 +34,22 @@ namespace Aws { return TemplateStatus::CREATED; } + else if (hashCode == READY_HASH) + { + return TemplateStatus::READY; + } + else if (hashCode == PENDING_CREATION_HASH) + { + return TemplateStatus::PENDING_CREATION; + } + else if (hashCode == CREATING_HASH) + { + return TemplateStatus::CREATING; + } + else if (hashCode == CREATION_FAILED_HASH) + { + return TemplateStatus::CREATION_FAILED; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -48,6 +68,14 @@ namespace Aws return {}; case TemplateStatus::CREATED: return "CREATED"; + case TemplateStatus::READY: + return "READY"; + case TemplateStatus::PENDING_CREATION: + return "PENDING_CREATION"; + case TemplateStatus::CREATING: + return "CREATING"; + case TemplateStatus::CREATION_FAILED: + return "CREATION_FAILED"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateRequest.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateRequest.cpp new file mode 100644 index 00000000000..98341347d50 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::MigrationHubOrchestrator::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateTemplateRequest::UpdateTemplateRequest() : + m_idHasBeenSet(false), + m_templateNameHasBeenSet(false), + m_templateDescriptionHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) +{ +} + +Aws::String UpdateTemplateRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_templateNameHasBeenSet) + { + payload.WithString("templateName", m_templateName); + + } + + if(m_templateDescriptionHasBeenSet) + { + payload.WithString("templateDescription", m_templateDescription); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateResult.cpp b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateResult.cpp new file mode 100644 index 00000000000..73371f09304 --- /dev/null +++ b/generated/src/aws-cpp-sdk-migrationhuborchestrator/source/model/UpdateTemplateResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::MigrationHubOrchestrator::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateTemplateResult::UpdateTemplateResult() +{ +} + +UpdateTemplateResult::UpdateTemplateResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateTemplateResult& UpdateTemplateResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("templateId")) + { + m_templateId = jsonValue.GetString("templateId"); + + } + + if(jsonValue.ValueExists("templateArn")) + { + m_templateArn = jsonValue.GetString("templateArn"); + + } + + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ColumnTooltipItem.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ColumnTooltipItem.h index 8d2a697ec3a..9d3d49f50ed 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ColumnTooltipItem.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ColumnTooltipItem.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -174,6 +175,37 @@ namespace Model */ inline ColumnTooltipItem& WithAggregation(AggregationFunction&& value) { SetAggregation(std::move(value)); return *this;} + + /** + *

Determines the target of the column tooltip item in a combo chart visual.

+ */ + inline const TooltipTarget& GetTooltipTarget() const{ return m_tooltipTarget; } + + /** + *

Determines the target of the column tooltip item in a combo chart visual.

+ */ + inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; } + + /** + *

Determines the target of the column tooltip item in a combo chart visual.

+ */ + inline void SetTooltipTarget(const TooltipTarget& value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = value; } + + /** + *

Determines the target of the column tooltip item in a combo chart visual.

+ */ + inline void SetTooltipTarget(TooltipTarget&& value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = std::move(value); } + + /** + *

Determines the target of the column tooltip item in a combo chart visual.

+ */ + inline ColumnTooltipItem& WithTooltipTarget(const TooltipTarget& value) { SetTooltipTarget(value); return *this;} + + /** + *

Determines the target of the column tooltip item in a combo chart visual.

+ */ + inline ColumnTooltipItem& WithTooltipTarget(TooltipTarget&& value) { SetTooltipTarget(std::move(value)); return *this;} + private: ColumnIdentifier m_column; @@ -187,6 +219,9 @@ namespace Model AggregationFunction m_aggregation; bool m_aggregationHasBeenSet = false; + + TooltipTarget m_tooltipTarget; + bool m_tooltipTargetHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FieldTooltipItem.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FieldTooltipItem.h index a4cbacc9ca3..2782af414ba 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FieldTooltipItem.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FieldTooltipItem.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -150,6 +151,37 @@ namespace Model */ inline FieldTooltipItem& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} + + /** + *

Determines the target of the field tooltip item in a combo chart visual.

+ */ + inline const TooltipTarget& GetTooltipTarget() const{ return m_tooltipTarget; } + + /** + *

Determines the target of the field tooltip item in a combo chart visual.

+ */ + inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; } + + /** + *

Determines the target of the field tooltip item in a combo chart visual.

+ */ + inline void SetTooltipTarget(const TooltipTarget& value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = value; } + + /** + *

Determines the target of the field tooltip item in a combo chart visual.

+ */ + inline void SetTooltipTarget(TooltipTarget&& value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = std::move(value); } + + /** + *

Determines the target of the field tooltip item in a combo chart visual.

+ */ + inline FieldTooltipItem& WithTooltipTarget(const TooltipTarget& value) { SetTooltipTarget(value); return *this;} + + /** + *

Determines the target of the field tooltip item in a combo chart visual.

+ */ + inline FieldTooltipItem& WithTooltipTarget(TooltipTarget&& value) { SetTooltipTarget(std::move(value)); return *this;} + private: Aws::String m_fieldId; @@ -160,6 +192,9 @@ namespace Model Visibility m_visibility; bool m_visibilityHasBeenSet = false; + + TooltipTarget m_tooltipTarget; + bool m_tooltipTargetHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForAnonymousUserRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForAnonymousUserRequest.h index 6be4db983a1..fd58f34133b 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForAnonymousUserRequest.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForAnonymousUserRequest.h @@ -273,82 +273,82 @@ namespace Model /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline const Aws::Vector& GetAuthorizedResourceArns() const{ return m_authorizedResourceArns; } /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline bool AuthorizedResourceArnsHasBeenSet() const { return m_authorizedResourceArnsHasBeenSet; } /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline void SetAuthorizedResourceArns(const Aws::Vector& value) { m_authorizedResourceArnsHasBeenSet = true; m_authorizedResourceArns = value; } /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline void SetAuthorizedResourceArns(Aws::Vector&& value) { m_authorizedResourceArnsHasBeenSet = true; m_authorizedResourceArns = std::move(value); } /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline GenerateEmbedUrlForAnonymousUserRequest& WithAuthorizedResourceArns(const Aws::Vector& value) { SetAuthorizedResourceArns(value); return *this;} /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline GenerateEmbedUrlForAnonymousUserRequest& WithAuthorizedResourceArns(Aws::Vector&& value) { SetAuthorizedResourceArns(std::move(value)); return *this;} /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline GenerateEmbedUrlForAnonymousUserRequest& AddAuthorizedResourceArns(const Aws::String& value) { m_authorizedResourceArnsHasBeenSet = true; m_authorizedResourceArns.push_back(value); return *this; } /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline GenerateEmbedUrlForAnonymousUserRequest& AddAuthorizedResourceArns(Aws::String&& value) { m_authorizedResourceArnsHasBeenSet = true; m_authorizedResourceArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the - * user is authorized to access during the lifetime of the session. If you choose - * Dashboard embedding experience, pass the list of dashboard ARNs in - * the account that you want the user to be able to view. Currently, you can pass - * up to 25 dashboard ARNs in each API call.

+ * user is authorized to access during the lifetime of the session.

If you + * choose Dashboard embedding experience, pass the list of dashboard + * ARNs in the account that you want the user to be able to view.

Currently, + * you can pass up to 25 dashboard ARNs in each API call.

*/ inline GenerateEmbedUrlForAnonymousUserRequest& AddAuthorizedResourceArns(const char* value) { m_authorizedResourceArnsHasBeenSet = true; m_authorizedResourceArns.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TooltipTarget.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TooltipTarget.h new file mode 100644 index 00000000000..b96160de35d --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TooltipTarget.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class TooltipTarget + { + NOT_SET, + BOTH, + BAR, + LINE + }; + +namespace TooltipTargetMapper +{ +AWS_QUICKSIGHT_API TooltipTarget GetTooltipTargetForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForTooltipTarget(TooltipTarget value); +} // namespace TooltipTargetMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ColumnTooltipItem.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ColumnTooltipItem.cpp index c981196df56..5775a0da028 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/model/ColumnTooltipItem.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ColumnTooltipItem.cpp @@ -23,7 +23,9 @@ ColumnTooltipItem::ColumnTooltipItem() : m_labelHasBeenSet(false), m_visibility(Visibility::NOT_SET), m_visibilityHasBeenSet(false), - m_aggregationHasBeenSet(false) + m_aggregationHasBeenSet(false), + m_tooltipTarget(TooltipTarget::NOT_SET), + m_tooltipTargetHasBeenSet(false) { } @@ -32,7 +34,9 @@ ColumnTooltipItem::ColumnTooltipItem(JsonView jsonValue) : m_labelHasBeenSet(false), m_visibility(Visibility::NOT_SET), m_visibilityHasBeenSet(false), - m_aggregationHasBeenSet(false) + m_aggregationHasBeenSet(false), + m_tooltipTarget(TooltipTarget::NOT_SET), + m_tooltipTargetHasBeenSet(false) { *this = jsonValue; } @@ -67,6 +71,13 @@ ColumnTooltipItem& ColumnTooltipItem::operator =(JsonView jsonValue) m_aggregationHasBeenSet = true; } + if(jsonValue.ValueExists("TooltipTarget")) + { + m_tooltipTarget = TooltipTargetMapper::GetTooltipTargetForName(jsonValue.GetString("TooltipTarget")); + + m_tooltipTargetHasBeenSet = true; + } + return *this; } @@ -97,6 +108,11 @@ JsonValue ColumnTooltipItem::Jsonize() const } + if(m_tooltipTargetHasBeenSet) + { + payload.WithString("TooltipTarget", TooltipTargetMapper::GetNameForTooltipTarget(m_tooltipTarget)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/FieldTooltipItem.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/FieldTooltipItem.cpp index 523399ddef7..a631269afc6 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/model/FieldTooltipItem.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/FieldTooltipItem.cpp @@ -22,7 +22,9 @@ FieldTooltipItem::FieldTooltipItem() : m_fieldIdHasBeenSet(false), m_labelHasBeenSet(false), m_visibility(Visibility::NOT_SET), - m_visibilityHasBeenSet(false) + m_visibilityHasBeenSet(false), + m_tooltipTarget(TooltipTarget::NOT_SET), + m_tooltipTargetHasBeenSet(false) { } @@ -30,7 +32,9 @@ FieldTooltipItem::FieldTooltipItem(JsonView jsonValue) : m_fieldIdHasBeenSet(false), m_labelHasBeenSet(false), m_visibility(Visibility::NOT_SET), - m_visibilityHasBeenSet(false) + m_visibilityHasBeenSet(false), + m_tooltipTarget(TooltipTarget::NOT_SET), + m_tooltipTargetHasBeenSet(false) { *this = jsonValue; } @@ -58,6 +62,13 @@ FieldTooltipItem& FieldTooltipItem::operator =(JsonView jsonValue) m_visibilityHasBeenSet = true; } + if(jsonValue.ValueExists("TooltipTarget")) + { + m_tooltipTarget = TooltipTargetMapper::GetTooltipTargetForName(jsonValue.GetString("TooltipTarget")); + + m_tooltipTargetHasBeenSet = true; + } + return *this; } @@ -82,6 +93,11 @@ JsonValue FieldTooltipItem::Jsonize() const payload.WithString("Visibility", VisibilityMapper::GetNameForVisibility(m_visibility)); } + if(m_tooltipTargetHasBeenSet) + { + payload.WithString("TooltipTarget", TooltipTargetMapper::GetNameForTooltipTarget(m_tooltipTarget)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TooltipTarget.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TooltipTarget.cpp new file mode 100644 index 00000000000..954b6b88a96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TooltipTarget.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace TooltipTargetMapper + { + + static const int BOTH_HASH = HashingUtils::HashString("BOTH"); + static const int BAR_HASH = HashingUtils::HashString("BAR"); + static const int LINE_HASH = HashingUtils::HashString("LINE"); + + + TooltipTarget GetTooltipTargetForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == BOTH_HASH) + { + return TooltipTarget::BOTH; + } + else if (hashCode == BAR_HASH) + { + return TooltipTarget::BAR; + } + else if (hashCode == LINE_HASH) + { + return TooltipTarget::LINE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TooltipTarget::NOT_SET; + } + + Aws::String GetNameForTooltipTarget(TooltipTarget enumValue) + { + switch(enumValue) + { + case TooltipTarget::NOT_SET: + return {}; + case TooltipTarget::BOTH: + return "BOTH"; + case TooltipTarget::BAR: + return "BAR"; + case TooltipTarget::LINE: + return "LINE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TooltipTargetMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h index ef142729cd2..2c6ba96d5ed 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h @@ -1343,19 +1343,15 @@ namespace SageMaker * create an endpoint configuration with the CreateEndpointConfig API, * and then create an endpoint with the CreateEndpoint API. SageMaker * then deploys all of the containers that you defined for the model in the hosting - * environment.

For an example that calls this method when deploying a - * model to SageMaker hosting services, see Create - * a Model (Amazon Web Services SDK for Python (Boto 3)).

To run a - * batch transform using your model, you start a job with the - * CreateTransformJob API. SageMaker uses your model and your dataset - * to get inferences which are then saved to a specified S3 location.

In the - * request, you also provide an IAM role that SageMaker can assume to access model - * artifacts and docker image for deployment on ML compute hosting instances or for - * batch transform jobs. In addition, you also use the IAM role to manage - * permissions the inference code needs. For example, if the inference code access - * any other Amazon Web Services resources, you grant necessary permissions via - * this role.

See Also:

To run a batch transform using your model, you start a job + * with the CreateTransformJob API. SageMaker uses your model and your + * dataset to get inferences which are then saved to a specified S3 location.

+ *

In the request, you also provide an IAM role that SageMaker can assume to + * access model artifacts and docker image for deployment on ML compute hosting + * instances or for batch transform jobs. In addition, you also use the IAM role to + * manage permissions the inference code needs. For example, if the inference code + * access any other Amazon Web Services resources, you grant necessary permissions + * via this role.

See Also:

AWS * API Reference

*/ @@ -8525,7 +8521,10 @@ namespace SageMaker * after the feature group is updated. If a record level * TtlDuration exists from using the PutRecord API, the * record level TtlDuration applies to that record instead of the - * default TtlDuration.

See Also:

TtlDuration. To remove the default TtlDuration + * from an existing feature group, use the UpdateFeatureGroup API and + * set the TtlDuration Unit and Value to + * null.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h index b19fe05922d..c91c9e86c86 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h @@ -46,16 +46,13 @@ namespace Model * list of available metrics supported by Autopilot and the default metric applied * when you do not specify a metric name explicitly depend on the problem type.

*
  • For tabular problem types:

    • List of available - * metrics:

      • Regression: InferenceLatency, - * MAE, MSE, R2, RMSE

        - *
      • Binary classification: Accuracy, AUC, - * BalancedAccuracy, F1, InferenceLatency, - * LogLoss, Precision, Recall

      • - *
      • Multiclass classification: Accuracy, - * BalancedAccuracy, F1macro, - * InferenceLatency, LogLoss, - * PrecisionMacro, RecallMacro

      For a - * description of each metric, see

      For a description of each metric, see Autopilot * metrics for classification and regression.

    • Default * objective metrics:

      • Regression: MSE.

      • @@ -95,16 +92,13 @@ namespace Model * list of available metrics supported by Autopilot and the default metric applied * when you do not specify a metric name explicitly depend on the problem type.

        *
        • For tabular problem types:

          • List of available - * metrics:

            • Regression: InferenceLatency, - * MAE, MSE, R2, RMSE

              - *
            • Binary classification: Accuracy, AUC, - * BalancedAccuracy, F1, InferenceLatency, - * LogLoss, Precision, Recall

            • - *
            • Multiclass classification: Accuracy, - * BalancedAccuracy, F1macro, - * InferenceLatency, LogLoss, - * PrecisionMacro, RecallMacro

            For a - * description of each metric, see

            For a description of each metric, see Autopilot * metrics for classification and regression.

          • Default * objective metrics:

            • Regression: MSE.

            • @@ -144,16 +138,13 @@ namespace Model * list of available metrics supported by Autopilot and the default metric applied * when you do not specify a metric name explicitly depend on the problem type.

              *
              • For tabular problem types:

                • List of available - * metrics:

                  • Regression: InferenceLatency, - * MAE, MSE, R2, RMSE

                    - *
                  • Binary classification: Accuracy, AUC, - * BalancedAccuracy, F1, InferenceLatency, - * LogLoss, Precision, Recall

                  • - *
                  • Multiclass classification: Accuracy, - * BalancedAccuracy, F1macro, - * InferenceLatency, LogLoss, - * PrecisionMacro, RecallMacro

                  For a - * description of each metric, see

                  For a description of each metric, see Autopilot * metrics for classification and regression.

                • Default * objective metrics:

                  • Regression: MSE.

                  • @@ -193,16 +184,13 @@ namespace Model * list of available metrics supported by Autopilot and the default metric applied * when you do not specify a metric name explicitly depend on the problem type.

                    *
                    • For tabular problem types:

                      • List of available - * metrics:

                        • Regression: InferenceLatency, - * MAE, MSE, R2, RMSE

                          - *
                        • Binary classification: Accuracy, AUC, - * BalancedAccuracy, F1, InferenceLatency, - * LogLoss, Precision, Recall

                        • - *
                        • Multiclass classification: Accuracy, - * BalancedAccuracy, F1macro, - * InferenceLatency, LogLoss, - * PrecisionMacro, RecallMacro

                        For a - * description of each metric, see

                        For a description of each metric, see Autopilot * metrics for classification and regression.

                      • Default * objective metrics:

                        • Regression: MSE.

                        • @@ -242,16 +230,13 @@ namespace Model * list of available metrics supported by Autopilot and the default metric applied * when you do not specify a metric name explicitly depend on the problem type.

                          *
                          • For tabular problem types:

                            • List of available - * metrics:

                              • Regression: InferenceLatency, - * MAE, MSE, R2, RMSE

                                - *
                              • Binary classification: Accuracy, AUC, - * BalancedAccuracy, F1, InferenceLatency, - * LogLoss, Precision, Recall

                              • - *
                              • Multiclass classification: Accuracy, - * BalancedAccuracy, F1macro, - * InferenceLatency, LogLoss, - * PrecisionMacro, RecallMacro

                              For a - * description of each metric, see

                              For a description of each metric, see Autopilot * metrics for classification and regression.

                            • Default * objective metrics:

                              • Regression: MSE.

                              • @@ -291,16 +276,13 @@ namespace Model * list of available metrics supported by Autopilot and the default metric applied * when you do not specify a metric name explicitly depend on the problem type.

                                *
                                • For tabular problem types:

                                  • List of available - * metrics:

                                    • Regression: InferenceLatency, - * MAE, MSE, R2, RMSE

                                      - *
                                    • Binary classification: Accuracy, AUC, - * BalancedAccuracy, F1, InferenceLatency, - * LogLoss, Precision, Recall

                                    • - *
                                    • Multiclass classification: Accuracy, - * BalancedAccuracy, F1macro, - * InferenceLatency, LogLoss, - * PrecisionMacro, RecallMacro

                                    For a - * description of each metric, see

                                    For a description of each metric, see Autopilot * metrics for classification and regression.

                                  • Default * objective metrics:

                                    • Regression: MSE.

                                    • diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateModelPackageRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateModelPackageRequest.h index e6d40118e13..774c9356493 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateModelPackageRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateModelPackageRequest.h @@ -203,68 +203,68 @@ namespace Model /** - *

                                      Specifies details about inference jobs that can be run with models based on - * this model package, including the following:

                                      • The Amazon ECR - * paths of containers that contain the inference code and model artifacts.

                                        - *
                                      • The instance types that the model package supports for transform - * jobs and real-time endpoints used for inference.

                                      • The input and - * output content formats that the model package supports for inference.

                                      • - *
                                      + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      */ inline const InferenceSpecification& GetInferenceSpecification() const{ return m_inferenceSpecification; } /** - *

                                      Specifies details about inference jobs that can be run with models based on - * this model package, including the following:

                                      • The Amazon ECR - * paths of containers that contain the inference code and model artifacts.

                                        - *
                                      • The instance types that the model package supports for transform - * jobs and real-time endpoints used for inference.

                                      • The input and - * output content formats that the model package supports for inference.

                                      • - *
                                      + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      */ inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; } /** - *

                                      Specifies details about inference jobs that can be run with models based on - * this model package, including the following:

                                      • The Amazon ECR - * paths of containers that contain the inference code and model artifacts.

                                        - *
                                      • The instance types that the model package supports for transform - * jobs and real-time endpoints used for inference.

                                      • The input and - * output content formats that the model package supports for inference.

                                      • - *
                                      + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      */ inline void SetInferenceSpecification(const InferenceSpecification& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = value; } /** - *

                                      Specifies details about inference jobs that can be run with models based on - * this model package, including the following:

                                      • The Amazon ECR - * paths of containers that contain the inference code and model artifacts.

                                        - *
                                      • The instance types that the model package supports for transform - * jobs and real-time endpoints used for inference.

                                      • The input and - * output content formats that the model package supports for inference.

                                      • - *
                                      + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      */ inline void SetInferenceSpecification(InferenceSpecification&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::move(value); } /** - *

                                      Specifies details about inference jobs that can be run with models based on - * this model package, including the following:

                                      • The Amazon ECR - * paths of containers that contain the inference code and model artifacts.

                                        - *
                                      • The instance types that the model package supports for transform - * jobs and real-time endpoints used for inference.

                                      • The input and - * output content formats that the model package supports for inference.

                                      • - *
                                      + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      */ inline CreateModelPackageRequest& WithInferenceSpecification(const InferenceSpecification& value) { SetInferenceSpecification(value); return *this;} /** - *

                                      Specifies details about inference jobs that can be run with models based on - * this model package, including the following:

                                      • The Amazon ECR - * paths of containers that contain the inference code and model artifacts.

                                        - *
                                      • The instance types that the model package supports for transform - * jobs and real-time endpoints used for inference.

                                      • The input and - * output content formats that the model package supports for inference.

                                      • - *
                                      + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      */ inline CreateModelPackageRequest& WithInferenceSpecification(InferenceSpecification&& value) { SetInferenceSpecification(std::move(value)); return *this;} @@ -1054,6 +1054,63 @@ namespace Model */ inline CreateModelPackageRequest& WithSkipModelValidation(SkipModelValidation&& value) { SetSkipModelValidation(std::move(value)); return *this;} + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline const Aws::String& GetSourceUri() const{ return m_sourceUri; } + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; } + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; } + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); } + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); } + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline CreateModelPackageRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;} + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline CreateModelPackageRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;} + + /** + *

                                      The URI of the source for the model package. If you want to clone a model + * package, set it to the model package Amazon Resource Name (ARN). If you want to + * register a model, set it to the model ARN.

                                      + */ + inline CreateModelPackageRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;} + private: Aws::String m_modelPackageName; @@ -1112,6 +1169,9 @@ namespace Model SkipModelValidation m_skipModelValidation; bool m_skipModelValidationHasBeenSet = false; + + Aws::String m_sourceUri; + bool m_sourceUriHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h index dc106cce4f5..092a79718cb 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h @@ -343,27 +343,52 @@ namespace Model /** - *

                                      The creation time.

                                      + *

                                      The creation time of the application.

                                      After an application has + * been shut down for 24 hours, SageMaker deletes all metadata for the application. + * To be considered an update and retain application metadata, applications must be + * restarted within 24 hours after the previous application has been shut down. + * After this time window, creation of an application is considered a new + * application rather than an update of the previous application.

                                      */ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** - *

                                      The creation time.

                                      + *

                                      The creation time of the application.

                                      After an application has + * been shut down for 24 hours, SageMaker deletes all metadata for the application. + * To be considered an update and retain application metadata, applications must be + * restarted within 24 hours after the previous application has been shut down. + * After this time window, creation of an application is considered a new + * application rather than an update of the previous application.

                                      */ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** - *

                                      The creation time.

                                      + *

                                      The creation time of the application.

                                      After an application has + * been shut down for 24 hours, SageMaker deletes all metadata for the application. + * To be considered an update and retain application metadata, applications must be + * restarted within 24 hours after the previous application has been shut down. + * After this time window, creation of an application is considered a new + * application rather than an update of the previous application.

                                      */ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** - *

                                      The creation time.

                                      + *

                                      The creation time of the application.

                                      After an application has + * been shut down for 24 hours, SageMaker deletes all metadata for the application. + * To be considered an update and retain application metadata, applications must be + * restarted within 24 hours after the previous application has been shut down. + * After this time window, creation of an application is considered a new + * application rather than an update of the previous application.

                                      */ inline DescribeAppResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** - *

                                      The creation time.

                                      + *

                                      The creation time of the application.

                                      After an application has + * been shut down for 24 hours, SageMaker deletes all metadata for the application. + * To be considered an update and retain application metadata, applications must be + * restarted within 24 hours after the previous application has been shut down. + * After this time window, creation of an application is considered a new + * application rather than an update of the previous application.

                                      */ inline DescribeAppResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h index 1e15a2d6f94..93bd21e9840 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h @@ -241,31 +241,31 @@ namespace Model /** - *

                                      Details about inference jobs that can be run with models based on this model + *

                                      Details about inference jobs that you can run with models based on this model * package.

                                      */ inline const InferenceSpecification& GetInferenceSpecification() const{ return m_inferenceSpecification; } /** - *

                                      Details about inference jobs that can be run with models based on this model + *

                                      Details about inference jobs that you can run with models based on this model * package.

                                      */ inline void SetInferenceSpecification(const InferenceSpecification& value) { m_inferenceSpecification = value; } /** - *

                                      Details about inference jobs that can be run with models based on this model + *

                                      Details about inference jobs that you can run with models based on this model * package.

                                      */ inline void SetInferenceSpecification(InferenceSpecification&& value) { m_inferenceSpecification = std::move(value); } /** - *

                                      Details about inference jobs that can be run with models based on this model + *

                                      Details about inference jobs that you can run with models based on this model * package.

                                      */ inline DescribeModelPackageResult& WithInferenceSpecification(const InferenceSpecification& value) { SetInferenceSpecification(value); return *this;} /** - *

                                      Details about inference jobs that can be run with models based on this model + *

                                      Details about inference jobs that you can run with models based on this model * package.

                                      */ inline DescribeModelPackageResult& WithInferenceSpecification(InferenceSpecification&& value) { SetInferenceSpecification(std::move(value)); return *this;} @@ -901,6 +901,42 @@ namespace Model inline DescribeModelPackageResult& WithSkipModelValidation(SkipModelValidation&& value) { SetSkipModelValidation(std::move(value)); return *this;} + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline const Aws::String& GetSourceUri() const{ return m_sourceUri; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(const Aws::String& value) { m_sourceUri = value; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(Aws::String&& value) { m_sourceUri = std::move(value); } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(const char* value) { m_sourceUri.assign(value); } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline DescribeModelPackageResult& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;} + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline DescribeModelPackageResult& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;} + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline DescribeModelPackageResult& WithSourceUri(const char* value) { SetSourceUri(value); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -976,6 +1012,8 @@ namespace Model SkipModelValidation m_skipModelValidation; + Aws::String m_sourceUri; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h index 97e4886483a..20bb053d038 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h @@ -26,7 +26,8 @@ namespace Model /** *

                                      The configuration for the file system and kernels in a SageMaker image - * running as a JupyterLab app.

                                      See Also:

                                      FileSystemConfig object is not + * supported.

                                      See Also:

                                      AWS * API Reference

                                      */ diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelMetrics.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelMetrics.h index dc25e02cff3..a12fd1836c7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelMetrics.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelMetrics.h @@ -103,32 +103,32 @@ namespace Model /** - *

                                      Metrics that measure bais in a model.

                                      + *

                                      Metrics that measure bias in a model.

                                      */ inline const Bias& GetBias() const{ return m_bias; } /** - *

                                      Metrics that measure bais in a model.

                                      + *

                                      Metrics that measure bias in a model.

                                      */ inline bool BiasHasBeenSet() const { return m_biasHasBeenSet; } /** - *

                                      Metrics that measure bais in a model.

                                      + *

                                      Metrics that measure bias in a model.

                                      */ inline void SetBias(const Bias& value) { m_biasHasBeenSet = true; m_bias = value; } /** - *

                                      Metrics that measure bais in a model.

                                      + *

                                      Metrics that measure bias in a model.

                                      */ inline void SetBias(Bias&& value) { m_biasHasBeenSet = true; m_bias = std::move(value); } /** - *

                                      Metrics that measure bais in a model.

                                      + *

                                      Metrics that measure bias in a model.

                                      */ inline ModelMetrics& WithBias(const Bias& value) { SetBias(value); return *this;} /** - *

                                      Metrics that measure bais in a model.

                                      + *

                                      Metrics that measure bias in a model.

                                      */ inline ModelMetrics& WithBias(Bias&& value) { SetBias(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackage.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackage.h index e6b96ee070d..38225980be0 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackage.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackage.h @@ -971,6 +971,47 @@ namespace Model inline ModelPackage& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications.push_back(std::move(value)); return *this; } + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline const Aws::String& GetSourceUri() const{ return m_sourceUri; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline ModelPackage& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;} + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline ModelPackage& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;} + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline ModelPackage& WithSourceUri(const char* value) { SetSourceUri(value); return *this;} + + /** *

                                      A list of the tags associated with the model package. For more information, * see m_additionalInferenceSpecifications; bool m_additionalInferenceSpecificationsHasBeenSet = false; + Aws::String m_sourceUri; + bool m_sourceUriHasBeenSet = false; + Aws::Vector m_tags; bool m_tagsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackageContainerDefinition.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackageContainerDefinition.h index 13a3f715075..41998f777d2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackageContainerDefinition.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ModelPackageContainerDefinition.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -301,6 +302,43 @@ namespace Model inline ModelPackageContainerDefinition& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;} + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline bool ModelDataSourceHasBeenSet() const { return m_modelDataSourceHasBeenSet; } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = value; } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::move(value); } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline ModelPackageContainerDefinition& WithModelDataSource(const ModelDataSource& value) { SetModelDataSource(value); return *this;} + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline ModelPackageContainerDefinition& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;} + + /** *

                                      The Amazon Web Services Marketplace product ID of the model package.

                                      */ @@ -654,6 +692,9 @@ namespace Model Aws::String m_modelDataUrl; bool m_modelDataUrlHasBeenSet = false; + ModelDataSource m_modelDataSource; + bool m_modelDataSourceHasBeenSet = false; + Aws::String m_productId; bool m_productIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SourceAlgorithm.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SourceAlgorithm.h index 901f74ca5c7..ff2f8e02911 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SourceAlgorithm.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SourceAlgorithm.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include namespace Aws @@ -113,6 +114,43 @@ namespace Model inline SourceAlgorithm& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;} + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline bool ModelDataSourceHasBeenSet() const { return m_modelDataSourceHasBeenSet; } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = value; } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::move(value); } + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline SourceAlgorithm& WithModelDataSource(const ModelDataSource& value) { SetModelDataSource(value); return *this;} + + /** + *

                                      Specifies the location of ML model data to deploy during endpoint + * creation.

                                      + */ + inline SourceAlgorithm& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;} + + /** *

                                      The name of an algorithm that was used to create the model package. The * algorithm must be either an algorithm resource in your SageMaker account or an @@ -174,6 +212,9 @@ namespace Model Aws::String m_modelDataUrl; bool m_modelDataUrlHasBeenSet = false; + ModelDataSource m_modelDataSource; + bool m_modelDataSourceHasBeenSet = false; + Aws::String m_algorithmName; bool m_algorithmNameHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateModelPackageRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateModelPackageRequest.h index 96c0896a811..199ee7612f5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateModelPackageRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateModelPackageRequest.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -352,6 +353,114 @@ namespace Model */ inline UpdateModelPackageRequest& AddAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationDefinition&& value) { m_additionalInferenceSpecificationsToAddHasBeenSet = true; m_additionalInferenceSpecificationsToAdd.push_back(std::move(value)); return *this; } + + /** + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      + */ + inline const InferenceSpecification& GetInferenceSpecification() const{ return m_inferenceSpecification; } + + /** + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      + */ + inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; } + + /** + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      + */ + inline void SetInferenceSpecification(const InferenceSpecification& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = value; } + + /** + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      + */ + inline void SetInferenceSpecification(InferenceSpecification&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::move(value); } + + /** + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      + */ + inline UpdateModelPackageRequest& WithInferenceSpecification(const InferenceSpecification& value) { SetInferenceSpecification(value); return *this;} + + /** + *

                                      Specifies details about inference jobs that you can run with models based on + * this model package, including the following information:

                                      • The + * Amazon ECR paths of containers that contain the inference code and model + * artifacts.

                                      • The instance types that the model package supports + * for transform jobs and real-time endpoints used for inference.

                                      • + *

                                        The input and output content formats that the model package supports for + * inference.

                                      + */ + inline UpdateModelPackageRequest& WithInferenceSpecification(InferenceSpecification&& value) { SetInferenceSpecification(std::move(value)); return *this;} + + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline const Aws::String& GetSourceUri() const{ return m_sourceUri; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); } + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline UpdateModelPackageRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;} + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline UpdateModelPackageRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;} + + /** + *

                                      The URI of the source for the model package.

                                      + */ + inline UpdateModelPackageRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;} + private: Aws::String m_modelPackageArn; @@ -371,6 +480,12 @@ namespace Model Aws::Vector m_additionalInferenceSpecificationsToAdd; bool m_additionalInferenceSpecificationsToAddHasBeenSet = false; + + InferenceSpecification m_inferenceSpecification; + bool m_inferenceSpecificationHasBeenSet = false; + + Aws::String m_sourceUri; + bool m_sourceUriHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/VisibilityConditions.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/VisibilityConditions.h index c8ae102d2cc..c81a79fd086 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/VisibilityConditions.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/VisibilityConditions.h @@ -24,8 +24,13 @@ namespace Model { /** - *

                                      The list of key-value pairs that you specify for your - * resources.

                                      See Also:

                                      The list of key-value pairs used to filter your search results. If a search + * result contains a key from your list, it is included in the final search + * response if the value associated with the key in the result matches the value + * you specified. If the value doesn't match, the result is excluded from the + * search response. Any resources that don't have a key from the list that you've + * provided will also be included in the search response.

                                      See Also:

                                      + *
                                      AWS * API Reference

                                      */ @@ -40,57 +45,49 @@ namespace Model /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline const Aws::String& GetKey() const{ return m_key; } /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline VisibilityConditions& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline VisibilityConditions& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *

                                      The key that specifies the tag that you're using to filter the search - * results. It must be in the following format: - * Tags.<key>/EqualsIfExists.

                                      + * results. It must be in the following format: Tags.<key>.

                                      */ inline VisibilityConditions& WithKey(const char* value) { SetKey(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp index fd0e1ad8d30..26be9cd3511 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp @@ -35,7 +35,8 @@ CreateModelPackageRequest::CreateModelPackageRequest() : m_driftCheckBaselinesHasBeenSet(false), m_additionalInferenceSpecificationsHasBeenSet(false), m_skipModelValidation(SkipModelValidation::NOT_SET), - m_skipModelValidationHasBeenSet(false) + m_skipModelValidationHasBeenSet(false), + m_sourceUriHasBeenSet(false) { } @@ -170,6 +171,12 @@ Aws::String CreateModelPackageRequest::SerializePayload() const payload.WithString("SkipModelValidation", SkipModelValidationMapper::GetNameForSkipModelValidation(m_skipModelValidation)); } + if(m_sourceUriHasBeenSet) + { + payload.WithString("SourceUri", m_sourceUri); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp index 65e7043a05b..a0d42b1757f 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp @@ -201,6 +201,12 @@ DescribeModelPackageResult& DescribeModelPackageResult::operator =(const Aws::Am } + if(jsonValue.ValueExists("SourceUri")) + { + m_sourceUri = jsonValue.GetString("SourceUri"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackage.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackage.cpp index cfeb54200de..7b90a640d64 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackage.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackage.cpp @@ -46,6 +46,7 @@ ModelPackage::ModelPackage() : m_taskHasBeenSet(false), m_samplePayloadUrlHasBeenSet(false), m_additionalInferenceSpecificationsHasBeenSet(false), + m_sourceUriHasBeenSet(false), m_tagsHasBeenSet(false), m_customerMetadataPropertiesHasBeenSet(false), m_driftCheckBaselinesHasBeenSet(false), @@ -82,6 +83,7 @@ ModelPackage::ModelPackage(JsonView jsonValue) : m_taskHasBeenSet(false), m_samplePayloadUrlHasBeenSet(false), m_additionalInferenceSpecificationsHasBeenSet(false), + m_sourceUriHasBeenSet(false), m_tagsHasBeenSet(false), m_customerMetadataPropertiesHasBeenSet(false), m_driftCheckBaselinesHasBeenSet(false), @@ -257,6 +259,13 @@ ModelPackage& ModelPackage::operator =(JsonView jsonValue) m_additionalInferenceSpecificationsHasBeenSet = true; } + if(jsonValue.ValueExists("SourceUri")) + { + m_sourceUri = jsonValue.GetString("SourceUri"); + + m_sourceUriHasBeenSet = true; + } + if(jsonValue.ValueExists("Tags")) { Aws::Utils::Array tagsJsonList = jsonValue.GetArray("Tags"); @@ -437,6 +446,12 @@ JsonValue ModelPackage::Jsonize() const } + if(m_sourceUriHasBeenSet) + { + payload.WithString("SourceUri", m_sourceUri); + + } + if(m_tagsHasBeenSet) { Aws::Utils::Array tagsJsonList(m_tags.size()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackageContainerDefinition.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackageContainerDefinition.cpp index a48d17f0244..8d635cebd5f 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackageContainerDefinition.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelPackageContainerDefinition.cpp @@ -23,6 +23,7 @@ ModelPackageContainerDefinition::ModelPackageContainerDefinition() : m_imageHasBeenSet(false), m_imageDigestHasBeenSet(false), m_modelDataUrlHasBeenSet(false), + m_modelDataSourceHasBeenSet(false), m_productIdHasBeenSet(false), m_environmentHasBeenSet(false), m_modelInputHasBeenSet(false), @@ -38,6 +39,7 @@ ModelPackageContainerDefinition::ModelPackageContainerDefinition(JsonView jsonVa m_imageHasBeenSet(false), m_imageDigestHasBeenSet(false), m_modelDataUrlHasBeenSet(false), + m_modelDataSourceHasBeenSet(false), m_productIdHasBeenSet(false), m_environmentHasBeenSet(false), m_modelInputHasBeenSet(false), @@ -79,6 +81,13 @@ ModelPackageContainerDefinition& ModelPackageContainerDefinition::operator =(Jso m_modelDataUrlHasBeenSet = true; } + if(jsonValue.ValueExists("ModelDataSource")) + { + m_modelDataSource = jsonValue.GetObject("ModelDataSource"); + + m_modelDataSourceHasBeenSet = true; + } + if(jsonValue.ValueExists("ProductId")) { m_productId = jsonValue.GetString("ProductId"); @@ -162,6 +171,12 @@ JsonValue ModelPackageContainerDefinition::Jsonize() const } + if(m_modelDataSourceHasBeenSet) + { + payload.WithObject("ModelDataSource", m_modelDataSource.Jsonize()); + + } + if(m_productIdHasBeenSet) { payload.WithString("ProductId", m_productId); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/SourceAlgorithm.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/SourceAlgorithm.cpp index 2d1ee8d81e0..1c0396eed57 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/SourceAlgorithm.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/SourceAlgorithm.cpp @@ -20,12 +20,14 @@ namespace Model SourceAlgorithm::SourceAlgorithm() : m_modelDataUrlHasBeenSet(false), + m_modelDataSourceHasBeenSet(false), m_algorithmNameHasBeenSet(false) { } SourceAlgorithm::SourceAlgorithm(JsonView jsonValue) : m_modelDataUrlHasBeenSet(false), + m_modelDataSourceHasBeenSet(false), m_algorithmNameHasBeenSet(false) { *this = jsonValue; @@ -40,6 +42,13 @@ SourceAlgorithm& SourceAlgorithm::operator =(JsonView jsonValue) m_modelDataUrlHasBeenSet = true; } + if(jsonValue.ValueExists("ModelDataSource")) + { + m_modelDataSource = jsonValue.GetObject("ModelDataSource"); + + m_modelDataSourceHasBeenSet = true; + } + if(jsonValue.ValueExists("AlgorithmName")) { m_algorithmName = jsonValue.GetString("AlgorithmName"); @@ -60,6 +69,12 @@ JsonValue SourceAlgorithm::Jsonize() const } + if(m_modelDataSourceHasBeenSet) + { + payload.WithObject("ModelDataSource", m_modelDataSource.Jsonize()); + + } + if(m_algorithmNameHasBeenSet) { payload.WithString("AlgorithmName", m_algorithmName); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateModelPackageRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateModelPackageRequest.cpp index 2acfb4250d2..e7490ad76aa 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateModelPackageRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateModelPackageRequest.cpp @@ -19,7 +19,9 @@ UpdateModelPackageRequest::UpdateModelPackageRequest() : m_approvalDescriptionHasBeenSet(false), m_customerMetadataPropertiesHasBeenSet(false), m_customerMetadataPropertiesToRemoveHasBeenSet(false), - m_additionalInferenceSpecificationsToAddHasBeenSet(false) + m_additionalInferenceSpecificationsToAddHasBeenSet(false), + m_inferenceSpecificationHasBeenSet(false), + m_sourceUriHasBeenSet(false) { } @@ -77,6 +79,18 @@ Aws::String UpdateModelPackageRequest::SerializePayload() const } + if(m_inferenceSpecificationHasBeenSet) + { + payload.WithObject("InferenceSpecification", m_inferenceSpecification.Jsonize()); + + } + + if(m_sourceUriHasBeenSet) + { + payload.WithString("SourceUri", m_sourceUri); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/AwsLogSourceName.h b/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/AwsLogSourceName.h index 63a5e407414..6edacefd941 100644 --- a/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/AwsLogSourceName.h +++ b/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/AwsLogSourceName.h @@ -21,7 +21,9 @@ namespace Model SH_FINDINGS, CLOUD_TRAIL_MGMT, LAMBDA_EXECUTION, - S3_DATA + S3_DATA, + EKS_AUDIT, + WAF }; namespace AwsLogSourceNameMapper diff --git a/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/ListTagsForResourceRequest.h index 8c2207498e2..4d651fe3feb 100644 --- a/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/ListTagsForResourceRequest.h +++ b/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/ListTagsForResourceRequest.h @@ -33,50 +33,50 @@ namespace Model /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to - * retrieve the tags for.

                                      + *

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which + * you want to retrieve the tags.

                                      */ inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/UpdateDataLakeRequest.h b/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/UpdateDataLakeRequest.h index e49ca58c352..34fec852268 100644 --- a/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/UpdateDataLakeRequest.h +++ b/generated/src/aws-cpp-sdk-securitylake/include/aws/securitylake/model/UpdateDataLakeRequest.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -81,10 +82,70 @@ namespace Model */ inline UpdateDataLakeRequest& AddConfigurations(DataLakeConfiguration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; } + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline const Aws::String& GetMetaStoreManagerRoleArn() const{ return m_metaStoreManagerRoleArn; } + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline bool MetaStoreManagerRoleArnHasBeenSet() const { return m_metaStoreManagerRoleArnHasBeenSet; } + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline void SetMetaStoreManagerRoleArn(const Aws::String& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = value; } + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline void SetMetaStoreManagerRoleArn(Aws::String&& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = std::move(value); } + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline void SetMetaStoreManagerRoleArn(const char* value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn.assign(value); } + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline UpdateDataLakeRequest& WithMetaStoreManagerRoleArn(const Aws::String& value) { SetMetaStoreManagerRoleArn(value); return *this;} + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline UpdateDataLakeRequest& WithMetaStoreManagerRoleArn(Aws::String&& value) { SetMetaStoreManagerRoleArn(std::move(value)); return *this;} + + /** + *

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This + * table contains partitions generated by the ingestion and normalization of Amazon + * Web Services log sources and custom sources.

                                      + */ + inline UpdateDataLakeRequest& WithMetaStoreManagerRoleArn(const char* value) { SetMetaStoreManagerRoleArn(value); return *this;} + private: Aws::Vector m_configurations; bool m_configurationsHasBeenSet = false; + + Aws::String m_metaStoreManagerRoleArn; + bool m_metaStoreManagerRoleArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-securitylake/source/model/AwsLogSourceName.cpp b/generated/src/aws-cpp-sdk-securitylake/source/model/AwsLogSourceName.cpp index 1b16e533725..798e6499cf6 100644 --- a/generated/src/aws-cpp-sdk-securitylake/source/model/AwsLogSourceName.cpp +++ b/generated/src/aws-cpp-sdk-securitylake/source/model/AwsLogSourceName.cpp @@ -26,6 +26,8 @@ namespace Aws static const int CLOUD_TRAIL_MGMT_HASH = HashingUtils::HashString("CLOUD_TRAIL_MGMT"); static const int LAMBDA_EXECUTION_HASH = HashingUtils::HashString("LAMBDA_EXECUTION"); static const int S3_DATA_HASH = HashingUtils::HashString("S3_DATA"); + static const int EKS_AUDIT_HASH = HashingUtils::HashString("EKS_AUDIT"); + static const int WAF_HASH = HashingUtils::HashString("WAF"); AwsLogSourceName GetAwsLogSourceNameForName(const Aws::String& name) @@ -55,6 +57,14 @@ namespace Aws { return AwsLogSourceName::S3_DATA; } + else if (hashCode == EKS_AUDIT_HASH) + { + return AwsLogSourceName::EKS_AUDIT; + } + else if (hashCode == WAF_HASH) + { + return AwsLogSourceName::WAF; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -83,6 +93,10 @@ namespace Aws return "LAMBDA_EXECUTION"; case AwsLogSourceName::S3_DATA: return "S3_DATA"; + case AwsLogSourceName::EKS_AUDIT: + return "EKS_AUDIT"; + case AwsLogSourceName::WAF: + return "WAF"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-securitylake/source/model/UpdateDataLakeRequest.cpp b/generated/src/aws-cpp-sdk-securitylake/source/model/UpdateDataLakeRequest.cpp index 98315707845..bf8641e3438 100644 --- a/generated/src/aws-cpp-sdk-securitylake/source/model/UpdateDataLakeRequest.cpp +++ b/generated/src/aws-cpp-sdk-securitylake/source/model/UpdateDataLakeRequest.cpp @@ -13,7 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateDataLakeRequest::UpdateDataLakeRequest() : - m_configurationsHasBeenSet(false) + m_configurationsHasBeenSet(false), + m_metaStoreManagerRoleArnHasBeenSet(false) { } @@ -32,6 +33,12 @@ Aws::String UpdateDataLakeRequest::SerializePayload() const } + if(m_metaStoreManagerRoleArnHasBeenSet) + { + payload.WithString("metaStoreManagerRoleArn", m_metaStoreManagerRoleArn); + + } + return payload.View().WriteReadable(); } diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 3398d49d306..c55f8d0f78b 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.275" +#define AWS_SDK_VERSION_STRING "1.11.276" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 275 +#define AWS_SDK_VERSION_PATCH 276 diff --git a/tools/code-generation/api-descriptions/docdb-elastic-2022-11-28.normal.json b/tools/code-generation/api-descriptions/docdb-elastic-2022-11-28.normal.json index 63dceab3249..ef72cb5b367 100644 --- a/tools/code-generation/api-descriptions/docdb-elastic-2022-11-28.normal.json +++ b/tools/code-generation/api-descriptions/docdb-elastic-2022-11-28.normal.json @@ -13,6 +13,27 @@ "uid":"docdb-elastic-2022-11-28" }, "operations":{ + "CopyClusterSnapshot":{ + "name":"CopyClusterSnapshot", + "http":{ + "method":"POST", + "requestUri":"/cluster-snapshot/{snapshotArn}/copy", + "responseCode":200 + }, + "input":{"shape":"CopyClusterSnapshotInput"}, + "output":{"shape":"CopyClusterSnapshotOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

                                      Copies a snapshot of an elastic cluster.

                                      ", + "idempotent":true + }, "CreateCluster":{ "name":"CreateCluster", "http":{ @@ -30,7 +51,7 @@ {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Creates a new Elastic DocumentDB cluster and returns its Cluster structure.

                                      ", + "documentation":"

                                      Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.

                                      ", "idempotent":true }, "CreateClusterSnapshot":{ @@ -51,7 +72,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Creates a snapshot of a cluster.

                                      ", + "documentation":"

                                      Creates a snapshot of an elastic cluster.

                                      ", "idempotent":true }, "DeleteCluster":{ @@ -71,7 +92,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Delete a Elastic DocumentDB cluster.

                                      ", + "documentation":"

                                      Delete an elastic cluster.

                                      ", "idempotent":true }, "DeleteClusterSnapshot":{ @@ -91,7 +112,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Delete a Elastic DocumentDB snapshot.

                                      ", + "documentation":"

                                      Delete an elastic cluster snapshot.

                                      ", "idempotent":true }, "GetCluster":{ @@ -110,7 +131,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Returns information about a specific Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      Returns information about a specific elastic cluster.

                                      " }, "GetClusterSnapshot":{ "name":"GetClusterSnapshot", @@ -128,7 +149,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Returns information about a specific Elastic DocumentDB snapshot

                                      " + "documentation":"

                                      Returns information about a specific elastic cluster snapshot

                                      " }, "ListClusterSnapshots":{ "name":"ListClusterSnapshots", @@ -145,7 +166,7 @@ {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Returns information about Elastic DocumentDB snapshots for a specified cluster.

                                      " + "documentation":"

                                      Returns information about snapshots for a specified elastic cluster.

                                      " }, "ListClusters":{ "name":"ListClusters", @@ -162,7 +183,7 @@ {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Returns information about provisioned Elastic DocumentDB clusters.

                                      " + "documentation":"

                                      Returns information about provisioned Amazon DocumentDB elastic clusters.

                                      " }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -179,7 +200,7 @@ {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

                                      Lists all tags on a Elastic DocumentDB resource

                                      " + "documentation":"

                                      Lists all tags on a elastic cluster resource

                                      " }, "RestoreClusterFromSnapshot":{ "name":"RestoreClusterFromSnapshot", @@ -199,7 +220,45 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Restores a Elastic DocumentDB cluster from a snapshot.

                                      ", + "documentation":"

                                      Restores an elastic cluster from a snapshot.

                                      ", + "idempotent":true + }, + "StartCluster":{ + "name":"StartCluster", + "http":{ + "method":"POST", + "requestUri":"/cluster/{clusterArn}/start", + "responseCode":200 + }, + "input":{"shape":"StartClusterInput"}, + "output":{"shape":"StartClusterOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

                                      Restarts the stopped elastic cluster that is specified by clusterARN.

                                      ", + "idempotent":true + }, + "StopCluster":{ + "name":"StopCluster", + "http":{ + "method":"POST", + "requestUri":"/cluster/{clusterArn}/stop", + "responseCode":200 + }, + "input":{"shape":"StopClusterInput"}, + "output":{"shape":"StopClusterOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

                                      Stops the running elastic cluster that is specified by clusterArn. The elastic cluster must be in the available state.

                                      ", "idempotent":true }, "TagResource":{ @@ -217,7 +276,7 @@ {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

                                      Adds metadata tags to a Elastic DocumentDB resource

                                      " + "documentation":"

                                      Adds metadata tags to an elastic cluster resource

                                      " }, "UntagResource":{ "name":"UntagResource", @@ -234,7 +293,7 @@ {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

                                      Removes metadata tags to a Elastic DocumentDB resource

                                      ", + "documentation":"

                                      Removes metadata tags from an elastic cluster resource

                                      ", "idempotent":true }, "UpdateCluster":{ @@ -254,7 +313,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

                                      Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window

                                      ", + "documentation":"

                                      Modifies an elastic cluster. This includes updating admin-username/password, upgrading the API version, and setting up a backup window and maintenance window

                                      ", "idempotent":true } }, @@ -287,6 +346,10 @@ "SECRET_ARN" ] }, + "Boolean":{ + "type":"boolean", + "box":true + }, "Cluster":{ "type":"structure", "required":[ @@ -307,31 +370,39 @@ "members":{ "adminUserName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB cluster administrator.

                                      " + "documentation":"

                                      The name of the elastic cluster administrator.

                                      " }, "authType":{ "shape":"Auth", - "documentation":"

                                      The authentication type for the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The authentication type for the elastic cluster.

                                      " + }, + "backupRetentionPeriod":{ + "shape":"Integer", + "documentation":"

                                      The number of days for which automatic snapshots are retained.

                                      " }, "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      " }, "clusterEndpoint":{ "shape":"String", - "documentation":"

                                      The URL used to connect to the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The URL used to connect to the elastic cluster.

                                      " }, "clusterName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The name of the elastic cluster.

                                      " }, "createTime":{ "shape":"String", - "documentation":"

                                      The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).

                                      " + "documentation":"

                                      The time when the elastic cluster was created in Universal Coordinated Time (UTC).

                                      " }, "kmsKeyId":{ "shape":"String", - "documentation":"

                                      The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The KMS key identifier to use to encrypt the elastic cluster.

                                      " + }, + "preferredBackupWindow":{ + "shape":"String", + "documentation":"

                                      The daily time range during which automated backups are created if automated backups are enabled, as determined by backupRetentionPeriod.

                                      " }, "preferredMaintenanceWindow":{ "shape":"String", @@ -339,26 +410,34 @@ }, "shardCapacity":{ "shape":"Integer", - "documentation":"

                                      The capacity of each shard in the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.

                                      " }, "shardCount":{ "shape":"Integer", - "documentation":"

                                      The number of shards in the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The number of shards assigned to the elastic cluster. Maximum is 32.

                                      " + }, + "shardInstanceCount":{ + "shape":"Integer", + "documentation":"

                                      The number of replica instances applying to all shards in the 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.

                                      " + }, + "shards":{ + "shape":"ShardList", + "documentation":"

                                      The total number of shards in the cluster.

                                      " }, "status":{ "shape":"Status", - "documentation":"

                                      The status of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The status of the elastic cluster.

                                      " }, "subnetIds":{ "shape":"StringList", - "documentation":"

                                      The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The Amazon EC2 subnet IDs for the elastic cluster.

                                      " }, "vpcSecurityGroupIds":{ "shape":"StringList", - "documentation":"

                                      A list of EC2 VPC security groups associated with this cluster.

                                      " + "documentation":"

                                      A list of EC2 VPC security groups associated with thie elastic cluster.

                                      " } }, - "documentation":"

                                      Returns information about a specific Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      Returns information about a specific elastic cluster.

                                      " }, "ClusterInList":{ "type":"structure", @@ -370,18 +449,18 @@ "members":{ "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      " }, "clusterName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The name of the elastic cluster.

                                      " }, "status":{ "shape":"Status", - "documentation":"

                                      The status of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The status of the elastic cluster.

                                      " } }, - "documentation":"

                                      A list of Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      A list of Amazon DocumentDB elastic clusters.

                                      " }, "ClusterList":{ "type":"list", @@ -404,46 +483,50 @@ "members":{ "adminUserName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB cluster administrator.

                                      " + "documentation":"

                                      The name of the elastic cluster administrator.

                                      " }, "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      " }, "clusterCreationTime":{ "shape":"String", - "documentation":"

                                      The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).

                                      " + "documentation":"

                                      The time when the elastic cluster was created in Universal Coordinated Time (UTC).

                                      " }, "kmsKeyId":{ "shape":"String", - "documentation":"

                                      The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      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.

                                      " }, "snapshotArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB snapshot

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster snapshot.

                                      " }, "snapshotCreationTime":{ "shape":"String", - "documentation":"

                                      The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).

                                      " + "documentation":"

                                      The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).

                                      " }, "snapshotName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      The name of the elastic cluster snapshot.

                                      " + }, + "snapshotType":{ + "shape":"SnapshotType", + "documentation":"

                                      The type of cluster snapshots to be returned. You can specify one of the following values:

                                      • 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.

                                      " }, "status":{ "shape":"Status", - "documentation":"

                                      The status of the Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      The status of the elastic cluster snapshot.

                                      " }, "subnetIds":{ "shape":"StringList", - "documentation":"

                                      A list of the IDs of subnets associated with the DB cluster snapshot.

                                      " + "documentation":"

                                      The Amazon EC2 subnet IDs for the elastic cluster.

                                      " }, "vpcSecurityGroupIds":{ "shape":"StringList", - "documentation":"

                                      A list of the IDs of the VPC security groups associated with the cluster snapshot.

                                      " + "documentation":"

                                      A list of EC2 VPC security groups to associate with the elastic cluster.

                                      " } }, - "documentation":"

                                      Returns information about a specific Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      Returns information about a specific elastic cluster snapshot.

                                      " }, "ClusterSnapshotInList":{ "type":"structure", @@ -457,26 +540,26 @@ "members":{ "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      " }, "snapshotArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB snapshot

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster snapshot.

                                      " }, "snapshotCreationTime":{ "shape":"String", - "documentation":"

                                      The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).

                                      " + "documentation":"

                                      The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).

                                      " }, "snapshotName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      The name of the elastic cluster snapshot.

                                      " }, "status":{ "shape":"Status", - "documentation":"

                                      The status of the Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      The status of the elastic cluster snapshot.

                                      " } }, - "documentation":"

                                      A list of Elastic DocumentDB snapshots.

                                      " + "documentation":"

                                      A list of elastic cluster snapshots.

                                      " }, "ClusterSnapshotList":{ "type":"list", @@ -507,6 +590,49 @@ }, "exception":true }, + "CopyClusterSnapshotInput":{ + "type":"structure", + "required":[ + "snapshotArn", + "targetSnapshotName" + ], + "members":{ + "copyTags":{ + "shape":"Boolean", + "documentation":"

                                      Set to true to copy all tags from the source cluster snapshot to the target elastic cluster snapshot. The default is false.

                                      " + }, + "kmsKeyId":{ + "shape":"String", + "documentation":"

                                      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 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.

                                      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. 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.

                                      " + }, + "snapshotArn":{ + "shape":"String", + "documentation":"

                                      The Amazon Resource Name (ARN) identifier of the elastic cluster snapshot.

                                      ", + "location":"uri", + "locationName":"snapshotArn" + }, + "tags":{ + "shape":"TagMap", + "documentation":"

                                      The tags to be assigned to the elastic cluster snapshot.

                                      " + }, + "targetSnapshotName":{ + "shape":"CopyClusterSnapshotInputTargetSnapshotNameString", + "documentation":"

                                      The identifier of the new elastic cluster snapshot to create from the source cluster snapshot. This parameter is not case sensitive.

                                      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: elastic-cluster-snapshot-5

                                      " + } + } + }, + "CopyClusterSnapshotInputTargetSnapshotNameString":{ + "type":"string", + "max":63, + "min":1 + }, + "CopyClusterSnapshotOutput":{ + "type":"structure", + "required":["snapshot"], + "members":{ + "snapshot":{"shape":"ClusterSnapshot"} + } + }, "CreateClusterInput":{ "type":"structure", "required":[ @@ -520,28 +646,36 @@ "members":{ "adminUserName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB cluster administrator.

                                      Constraints:

                                      • Must be from 1 to 63 letters or numbers.

                                      • The first character must be a letter.

                                      • Cannot be a reserved word.

                                      " + "documentation":"

                                      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.

                                      " }, "adminUserPassword":{ "shape":"Password", - "documentation":"

                                      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 (@).

                                      " + "documentation":"

                                      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 (@).

                                      " }, "authType":{ "shape":"Auth", - "documentation":"

                                      The authentication type for the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The authentication type used to determine where to fetch the password used for accessing the elastic cluster. Valid types are PLAIN_TEXT or SECRET_ARN.

                                      " + }, + "backupRetentionPeriod":{ + "shape":"Integer", + "documentation":"

                                      The number of days for which automatic snapshots are retained.

                                      " }, "clientToken":{ "shape":"String", - "documentation":"

                                      The client token for the Elastic DocumentDB cluster.

                                      ", + "documentation":"

                                      The client token for the elastic cluster.

                                      ", "idempotencyToken":true }, "clusterName":{ "shape":"String", - "documentation":"

                                      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: my-cluster

                                      " + "documentation":"

                                      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: my-cluster

                                      " }, "kmsKeyId":{ "shape":"String", - "documentation":"

                                      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.

                                      " + "documentation":"

                                      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.

                                      " + }, + "preferredBackupWindow":{ + "shape":"String", + "documentation":"

                                      The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod.

                                      " }, "preferredMaintenanceWindow":{ "shape":"String", @@ -549,23 +683,27 @@ }, "shardCapacity":{ "shape":"Integer", - "documentation":"

                                      The capacity of each shard in the new Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.

                                      " }, "shardCount":{ "shape":"Integer", - "documentation":"

                                      The number of shards to create in the new Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The number of shards assigned to the elastic cluster. Maximum is 32.

                                      " + }, + "shardInstanceCount":{ + "shape":"Integer", + "documentation":"

                                      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.

                                      " }, "subnetIds":{ "shape":"StringList", - "documentation":"

                                      The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The Amazon EC2 subnet IDs for the new elastic cluster.

                                      " }, "tags":{ "shape":"TagMap", - "documentation":"

                                      The tags to be assigned to the new Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The tags to be assigned to the new elastic cluster.

                                      " }, "vpcSecurityGroupIds":{ "shape":"StringList", - "documentation":"

                                      A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      A list of EC2 VPC security groups to associate with the new elastic cluster.

                                      " } } }, @@ -575,7 +713,7 @@ "members":{ "cluster":{ "shape":"Cluster", - "documentation":"

                                      The new Elastic DocumentDB cluster that has been created.

                                      " + "documentation":"

                                      The new elastic cluster that has been created.

                                      " } } }, @@ -588,15 +726,15 @@ "members":{ "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.

                                      " + "documentation":"

                                      The ARN identifier of the elastic cluster of which you want to create a snapshot.

                                      " }, "snapshotName":{ "shape":"CreateClusterSnapshotInputSnapshotNameString", - "documentation":"

                                      The name of the Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      The name of the new elastic cluster snapshot.

                                      " }, "tags":{ "shape":"TagMap", - "documentation":"

                                      The tags to be assigned to the new Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      The tags to be assigned to the new elastic cluster snapshot.

                                      " } } }, @@ -611,7 +749,7 @@ "members":{ "snapshot":{ "shape":"ClusterSnapshot", - "documentation":"

                                      Returns information about the new Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      Returns information about the new elastic cluster snapshot.

                                      " } } }, @@ -621,7 +759,7 @@ "members":{ "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster that is to be deleted.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster that is to be deleted.

                                      ", "location":"uri", "locationName":"clusterArn" } @@ -633,7 +771,7 @@ "members":{ "cluster":{ "shape":"Cluster", - "documentation":"

                                      Returns information about the newly deleted Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      Returns information about the newly deleted elastic cluster.

                                      " } } }, @@ -643,7 +781,7 @@ "members":{ "snapshotArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB snapshot that is to be deleted.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster snapshot that is to be deleted.

                                      ", "location":"uri", "locationName":"snapshotArn" } @@ -655,7 +793,7 @@ "members":{ "snapshot":{ "shape":"ClusterSnapshot", - "documentation":"

                                      Returns information about the newly deleted Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      Returns information about the newly deleted elastic cluster snapshot.

                                      " } } }, @@ -665,7 +803,7 @@ "members":{ "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      ", "location":"uri", "locationName":"clusterArn" } @@ -677,7 +815,7 @@ "members":{ "cluster":{ "shape":"Cluster", - "documentation":"

                                      Returns information about a specific Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      Returns information about a specific elastic cluster.

                                      " } } }, @@ -687,7 +825,7 @@ "members":{ "snapshotArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB snapshot.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster snapshot.

                                      ", "location":"uri", "locationName":"snapshotArn" } @@ -699,7 +837,7 @@ "members":{ "snapshot":{ "shape":"ClusterSnapshot", - "documentation":"

                                      Returns information about a specific Elastic DocumentDB snapshot.

                                      " + "documentation":"

                                      Returns information about a specific elastic cluster snapshot.

                                      " } } }, @@ -724,21 +862,27 @@ "members":{ "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      ", "location":"querystring", "locationName":"clusterArn" }, "maxResults":{ "shape":"ListClusterSnapshotsInputMaxResultsInteger", - "documentation":"

                                      The maximum number of entries to recieve in the response.

                                      ", + "documentation":"

                                      The maximum number of elastic cluster snapshot results to receive in the response.

                                      ", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

                                      The nextToken which is used the get the next page of data.

                                      ", + "documentation":"

                                      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 max-results.

                                      If there is no more data in the responce, the nextToken will not be returned.

                                      ", "location":"querystring", "locationName":"nextToken" + }, + "snapshotType":{ + "shape":"String", + "documentation":"

                                      The type of cluster snapshots to be returned. You can specify one of the following values:

                                      • 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.

                                      ", + "location":"querystring", + "locationName":"snapshotType" } } }, @@ -753,11 +897,11 @@ "members":{ "nextToken":{ "shape":"PaginationToken", - "documentation":"

                                      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.

                                      " + "documentation":"

                                      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 max-results.

                                      If there is no more data in the responce, the nextToken will not be returned.

                                      " }, "snapshots":{ "shape":"ClusterSnapshotList", - "documentation":"

                                      A list of Elastic DocumentDB snapshots for a specified cluster.

                                      " + "documentation":"

                                      A list of snapshots for a specified elastic cluster.

                                      " } } }, @@ -766,13 +910,13 @@ "members":{ "maxResults":{ "shape":"ListClustersInputMaxResultsInteger", - "documentation":"

                                      The maximum number of entries to recieve in the response.

                                      ", + "documentation":"

                                      The maximum number of elastic cluster snapshot results to receive in the response.

                                      ", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

                                      The nextToken which is used the get the next page of data.

                                      ", + "documentation":"

                                      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 max-results.

                                      If there is no more data in the responce, the nextToken will not be returned.

                                      ", "location":"querystring", "locationName":"nextToken" } @@ -789,11 +933,11 @@ "members":{ "clusters":{ "shape":"ClusterList", - "documentation":"

                                      A list of Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      A list of Amazon DocumentDB elastic clusters.

                                      " }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

                                      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.

                                      " + "documentation":"

                                      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 max-results.

                                      If there is no more data in the responce, the nextToken will not be returned.

                                      " } } }, @@ -803,7 +947,7 @@ "members":{ "resourceArn":{ "shape":"Arn", - "documentation":"

                                      The arn of the Elastic DocumentDB resource.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster resource.

                                      ", "location":"uri", "locationName":"resourceArn" } @@ -814,7 +958,7 @@ "members":{ "tags":{ "shape":"TagMap", - "documentation":"

                                      The list of tags for the specified Elastic DocumentDB resource.

                                      " + "documentation":"

                                      The list of tags for the specified elastic cluster resource.

                                      " } } }, @@ -863,29 +1007,37 @@ "members":{ "clusterName":{ "shape":"String", - "documentation":"

                                      The name of the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The name of the elastic cluster.

                                      " }, "kmsKeyId":{ "shape":"String", - "documentation":"

                                      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 here, 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.

                                      " + "documentation":"

                                      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, 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.

                                      " + }, + "shardCapacity":{ + "shape":"Integer", + "documentation":"

                                      The capacity of each shard in the new restored elastic cluster.

                                      " + }, + "shardInstanceCount":{ + "shape":"Integer", + "documentation":"

                                      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.

                                      " }, "snapshotArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB snapshot.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster snapshot.

                                      ", "location":"uri", "locationName":"snapshotArn" }, "subnetIds":{ "shape":"StringList", - "documentation":"

                                      The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The Amazon EC2 subnet IDs for the elastic cluster.

                                      " }, "tags":{ "shape":"TagMap", - "documentation":"

                                      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.

                                      " + "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.

                                      " }, "vpcSecurityGroupIds":{ "shape":"StringList", - "documentation":"

                                      A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      A list of EC2 VPC security groups to associate with the elastic cluster.

                                      " } } }, @@ -895,7 +1047,7 @@ "members":{ "cluster":{ "shape":"Cluster", - "documentation":"

                                      Returns information about a the restored Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      Returns information about a the restored elastic cluster.

                                      " } } }, @@ -912,6 +1064,59 @@ }, "exception":true }, + "Shard":{ + "type":"structure", + "required":[ + "createTime", + "shardId", + "status" + ], + "members":{ + "createTime":{ + "shape":"String", + "documentation":"

                                      The time when the shard was created in Universal Coordinated Time (UTC).

                                      " + }, + "shardId":{ + "shape":"String", + "documentation":"

                                      The ID of the shard.

                                      " + }, + "status":{ + "shape":"Status", + "documentation":"

                                      The current status of the shard.

                                      " + } + }, + "documentation":"

                                      The name of the shard.

                                      " + }, + "ShardList":{ + "type":"list", + "member":{"shape":"Shard"} + }, + "SnapshotType":{ + "type":"string", + "enum":[ + "MANUAL", + "AUTOMATED" + ] + }, + "StartClusterInput":{ + "type":"structure", + "required":["clusterArn"], + "members":{ + "clusterArn":{ + "shape":"String", + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      ", + "location":"uri", + "locationName":"clusterArn" + } + } + }, + "StartClusterOutput":{ + "type":"structure", + "required":["cluster"], + "members":{ + "cluster":{"shape":"Cluster"} + } + }, "Status":{ "type":"string", "enum":[ @@ -923,9 +1128,38 @@ "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", - "INACCESSIBLE_ENCRYPTION_CREDS" + "INACCESSIBLE_ENCRYPTION_CREDS", + "INACCESSIBLE_SECRET_ARN", + "INACCESSIBLE_VPC_ENDPOINT", + "INCOMPATIBLE_NETWORK", + "MERGING", + "MODIFYING", + "SPLITTING", + "COPYING", + "STARTING", + "STOPPING", + "STOPPED" ] }, + "StopClusterInput":{ + "type":"structure", + "required":["clusterArn"], + "members":{ + "clusterArn":{ + "shape":"String", + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      ", + "location":"uri", + "locationName":"clusterArn" + } + } + }, + "StopClusterOutput":{ + "type":"structure", + "required":["cluster"], + "members":{ + "cluster":{"shape":"Cluster"} + } + }, "String":{"type":"string"}, "StringList":{ "type":"list", @@ -957,13 +1191,13 @@ "members":{ "resourceArn":{ "shape":"Arn", - "documentation":"

                                      The arn of the Elastic DocumentDB resource.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster resource.

                                      ", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"TagMap", - "documentation":"

                                      The tags to be assigned to the Elastic DocumentDB resource.

                                      " + "documentation":"

                                      The tags that are assigned to the elastic cluster resource.

                                      " } } }, @@ -1006,13 +1240,13 @@ "members":{ "resourceArn":{ "shape":"Arn", - "documentation":"

                                      The arn of the Elastic DocumentDB resource.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster resource.

                                      ", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeyList", - "documentation":"

                                      The tag keys to be removed from the Elastic DocumentDB resource.

                                      ", + "documentation":"

                                      The tag keys to be removed from the elastic cluster resource.

                                      ", "location":"querystring", "locationName":"tagKeys" } @@ -1029,42 +1263,54 @@ "members":{ "adminUserPassword":{ "shape":"Password", - "documentation":"

                                      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 (@).

                                      Constraints: Must contain from 8 to 100 characters.

                                      " + "documentation":"

                                      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.

                                      " }, "authType":{ "shape":"Auth", - "documentation":"

                                      The authentication type for the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The authentication type used to determine where to fetch the password used for accessing the elastic cluster. Valid types are PLAIN_TEXT or SECRET_ARN.

                                      " + }, + "backupRetentionPeriod":{ + "shape":"Integer", + "documentation":"

                                      The number of days for which automatic snapshots are retained.

                                      " }, "clientToken":{ "shape":"String", - "documentation":"

                                      The client token for the Elastic DocumentDB cluster.

                                      ", + "documentation":"

                                      The client token for the elastic cluster.

                                      ", "idempotencyToken":true }, "clusterArn":{ "shape":"String", - "documentation":"

                                      The arn of the Elastic DocumentDB cluster.

                                      ", + "documentation":"

                                      The ARN identifier of the elastic cluster.

                                      ", "location":"uri", "locationName":"clusterArn" }, + "preferredBackupWindow":{ + "shape":"String", + "documentation":"

                                      The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod.

                                      " + }, "preferredMaintenanceWindow":{ "shape":"String", "documentation":"

                                      The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

                                      Format: ddd:hh24:mi-ddd:hh24:mi

                                      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.

                                      " }, "shardCapacity":{ "shape":"Integer", - "documentation":"

                                      The capacity of each shard in the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.

                                      " }, "shardCount":{ "shape":"Integer", - "documentation":"

                                      The number of shards to create in the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The number of shards assigned to the elastic cluster. Maximum is 32.

                                      " + }, + "shardInstanceCount":{ + "shape":"Integer", + "documentation":"

                                      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.

                                      " }, "subnetIds":{ "shape":"StringList", - "documentation":"

                                      The number of shards to create in the Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      The Amazon EC2 subnet IDs for the elastic cluster.

                                      " }, "vpcSecurityGroupIds":{ "shape":"StringList", - "documentation":"

                                      A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      A list of EC2 VPC security groups to associate with the elastic cluster.

                                      " } } }, @@ -1074,7 +1320,7 @@ "members":{ "cluster":{ "shape":"Cluster", - "documentation":"

                                      Returns information about the updated Elastic DocumentDB cluster.

                                      " + "documentation":"

                                      Returns information about the updated elastic cluster.

                                      " } } }, @@ -1137,5 +1383,5 @@ ] } }, - "documentation":"

                                      The new Amazon Elastic DocumentDB service endpoint.

                                      " + "documentation":"

                                      Amazon DocumentDB elastic clusters

                                      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.

                                      " } diff --git a/tools/code-generation/api-descriptions/eks-2017-11-01.normal.json b/tools/code-generation/api-descriptions/eks-2017-11-01.normal.json index 76ec58104f0..847bf54eb89 100644 --- a/tools/code-generation/api-descriptions/eks-2017-11-01.normal.json +++ b/tools/code-generation/api-descriptions/eks-2017-11-01.normal.json @@ -958,7 +958,9 @@ "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", - "WINDOWS_FULL_2022_x86_64" + "WINDOWS_FULL_2022_x86_64", + "AL2023_x86_64_STANDARD", + "AL2023_ARM_64_STANDARD" ] }, "AccessConfigResponse":{ diff --git a/tools/code-generation/api-descriptions/migrationhuborchestrator-2021-08-28.normal.json b/tools/code-generation/api-descriptions/migrationhuborchestrator-2021-08-28.normal.json index 89f3165ba5c..b44ed014ee0 100644 --- a/tools/code-generation/api-descriptions/migrationhuborchestrator-2021-08-28.normal.json +++ b/tools/code-generation/api-descriptions/migrationhuborchestrator-2021-08-28.normal.json @@ -12,6 +12,24 @@ "uid":"migrationhuborchestrator-2021-08-28" }, "operations":{ + "CreateTemplate":{ + "name":"CreateTemplate", + "http":{ + "method":"POST", + "requestUri":"/template", + "responseCode":200 + }, + "input":{"shape":"CreateTemplateRequest"}, + "output":{"shape":"CreateTemplateResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"} + ], + "documentation":"

                                      Creates a migration workflow template.

                                      " + }, "CreateWorkflow":{ "name":"CreateWorkflow", "http":{ @@ -63,6 +81,25 @@ ], "documentation":"

                                      Create a step group in a migration workflow.

                                      " }, + "DeleteTemplate":{ + "name":"DeleteTemplate", + "http":{ + "method":"DELETE", + "requestUri":"/template/{id}", + "responseCode":200 + }, + "input":{"shape":"DeleteTemplateRequest"}, + "output":{"shape":"DeleteTemplateResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

                                      Deletes a migration workflow template.

                                      ", + "idempotent":true + }, "DeleteWorkflow":{ "name":"DeleteWorkflow", "http":{ @@ -446,6 +483,24 @@ "documentation":"

                                      Deletes the tags for a resource.

                                      ", "idempotent":true }, + "UpdateTemplate":{ + "name":"UpdateTemplate", + "http":{ + "method":"POST", + "requestUri":"/template/{id}", + "responseCode":200 + }, + "input":{"shape":"UpdateTemplateRequest"}, + "output":{"shape":"UpdateTemplateResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

                                      Updates a migration workflow template.

                                      " + }, "UpdateWorkflow":{ "name":"UpdateWorkflow", "http":{ @@ -526,12 +581,31 @@ "type":"boolean", "box":true }, + "ClientToken":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[-a-zA-Z0-9]*" + }, + "ConflictException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "documentation":"

                                      This exception is thrown when an attempt to update or delete a resource would cause an inconsistent state.

                                      ", + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":false} + }, "CreateMigrationWorkflowRequest":{ "type":"structure", "required":[ "name", "templateId", - "applicationConfigurationId", "inputParameters" ], "members":{ @@ -568,8 +642,8 @@ "CreateMigrationWorkflowRequestApplicationConfigurationIdString":{ "type":"string", "max":100, - "min":1, - "pattern":"[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*" + "min":0, + "pattern":"[-a-zA-Z0-9_.+]*" }, "CreateMigrationWorkflowRequestDescriptionString":{ "type":"string", @@ -638,6 +712,65 @@ } } }, + "CreateTemplateRequest":{ + "type":"structure", + "required":[ + "templateName", + "templateSource" + ], + "members":{ + "templateName":{ + "shape":"CreateTemplateRequestTemplateNameString", + "documentation":"

                                      The name of the migration workflow template.

                                      " + }, + "templateDescription":{ + "shape":"CreateTemplateRequestTemplateDescriptionString", + "documentation":"

                                      A description of the migration workflow template.

                                      " + }, + "templateSource":{ + "shape":"TemplateSource", + "documentation":"

                                      The source of the migration workflow template.

                                      " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

                                      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Idempotency in the Smithy documentation.

                                      ", + "idempotencyToken":true + }, + "tags":{ + "shape":"TagMap", + "documentation":"

                                      The tags to add to the migration workflow template.

                                      " + } + } + }, + "CreateTemplateRequestTemplateDescriptionString":{ + "type":"string", + "max":250, + "min":0, + "pattern":".*" + }, + "CreateTemplateRequestTemplateNameString":{ + "type":"string", + "max":128, + "min":1, + "pattern":"[ a-zA-Z0-9]*" + }, + "CreateTemplateResponse":{ + "type":"structure", + "members":{ + "templateId":{ + "shape":"String", + "documentation":"

                                      The ID of the migration workflow template.

                                      " + }, + "templateArn":{ + "shape":"String", + "documentation":"

                                      The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

                                      " + }, + "tags":{ + "shape":"StringMap", + "documentation":"

                                      The tags added to the migration workflow template.

                                      " + } + } + }, "CreateWorkflowStepGroupRequest":{ "type":"structure", "required":[ @@ -814,6 +947,23 @@ } } }, + "DeleteTemplateRequest":{ + "type":"structure", + "required":["id"], + "members":{ + "id":{ + "shape":"TemplateId", + "documentation":"

                                      The ID of the request to delete a migration workflow template.

                                      ", + "location":"uri", + "locationName":"id" + } + } + }, + "DeleteTemplateResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteWorkflowStepGroupRequest":{ "type":"structure", "required":[ @@ -989,6 +1139,10 @@ "shape":"String", "documentation":"

                                      The ID of the template.

                                      " }, + "templateArn":{ + "shape":"String", + "documentation":"

                                      >The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

                                      " + }, "name":{ "shape":"String", "documentation":"

                                      The name of the template.

                                      " @@ -1005,13 +1159,29 @@ "shape":"ToolsList", "documentation":"

                                      List of AWS services utilized in a migration workflow.

                                      " }, + "creationTime":{ + "shape":"Timestamp", + "documentation":"

                                      The time at which the template was last created.

                                      " + }, + "owner":{ + "shape":"String", + "documentation":"

                                      The owner of the migration workflow template.

                                      " + }, "status":{ "shape":"TemplateStatus", "documentation":"

                                      The status of the template.

                                      " }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

                                      The time at which the template was last created.

                                      " + "statusMessage":{ + "shape":"String", + "documentation":"

                                      The status message of retrieving migration workflow templates.

                                      " + }, + "templateClass":{ + "shape":"String", + "documentation":"

                                      The class of the migration workflow template. The available template classes are:

                                      • A2C

                                      • MGN

                                      • SAP_MULTI

                                      • SQL_EC2

                                      • SQL_RDS

                                      • VMIE

                                      " + }, + "tags":{ + "shape":"StringMap", + "documentation":"

                                      The tags added to the migration workflow template.

                                      " } } }, @@ -1248,7 +1418,7 @@ }, "stepGroupId":{ "shape":"StepGroupId", - "documentation":"

                                      desThe ID of the step group.

                                      ", + "documentation":"

                                      The ID of the step group.

                                      ", "location":"querystring", "locationName":"stepGroupId" }, @@ -1693,6 +1863,15 @@ "max":100, "min":0 }, + "MaxStringList":{ + "type":"list", + "member":{"shape":"MaxStringValue"} + }, + "MaxStringValue":{ + "type":"string", + "max":2048, + "min":0 + }, "MigrationWorkflowDescription":{ "type":"string", "max":500, @@ -1876,7 +2055,7 @@ }, "ResourceArn":{ "type":"string", - "pattern":"arn:aws:migrationhub-orchestrator:[a-z0-9-]+:[0-9]+:workflow/[.]*" + "pattern":"arn:aws:migrationhub-orchestrator:[a-z0-9-]+:[0-9]+:(template|workflow)/[.]*" }, "ResourceNotFoundException":{ "type":"structure", @@ -2076,8 +2255,7 @@ "members":{ "integerValue":{ "shape":"Integer", - "documentation":"

                                      The value of the integer.

                                      ", - "box":true + "documentation":"

                                      The value of the integer.

                                      " }, "stringValue":{ "shape":"StringValue", @@ -2139,6 +2317,7 @@ "type":"string", "enum":[ "AWAITING_DEPENDENCIES", + "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", @@ -2191,7 +2370,7 @@ }, "StringListMember":{ "type":"string", - "max":100, + "max":500, "min":0 }, "StringMap":{ @@ -2309,9 +2488,26 @@ "min":1, "pattern":"[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*" }, + "TemplateSource":{ + "type":"structure", + "members":{ + "workflowId":{ + "shape":"MigrationWorkflowId", + "documentation":"

                                      The ID of the workflow from the source migration workflow template.

                                      " + } + }, + "documentation":"

                                      The migration workflow template used as the source for the new template.

                                      ", + "union":true + }, "TemplateStatus":{ "type":"string", - "enum":["CREATED"] + "enum":[ + "CREATED", + "READY", + "PENDING_CREATION", + "CREATING", + "CREATION_FAILED" + ] }, "TemplateStepGroupSummary":{ "type":"structure", @@ -2562,6 +2758,60 @@ } } }, + "UpdateTemplateRequest":{ + "type":"structure", + "required":["id"], + "members":{ + "id":{ + "shape":"TemplateId", + "documentation":"

                                      The ID of the request to update a migration workflow template.

                                      ", + "location":"uri", + "locationName":"id" + }, + "templateName":{ + "shape":"UpdateTemplateRequestTemplateNameString", + "documentation":"

                                      The name of the migration workflow template to update.

                                      " + }, + "templateDescription":{ + "shape":"UpdateTemplateRequestTemplateDescriptionString", + "documentation":"

                                      The description of the migration workflow template to update.

                                      " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

                                      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                      ", + "idempotencyToken":true + } + } + }, + "UpdateTemplateRequestTemplateDescriptionString":{ + "type":"string", + "max":250, + "min":0, + "pattern":".*" + }, + "UpdateTemplateRequestTemplateNameString":{ + "type":"string", + "max":128, + "min":1, + "pattern":"[ a-zA-Z0-9]*" + }, + "UpdateTemplateResponse":{ + "type":"structure", + "members":{ + "templateId":{ + "shape":"String", + "documentation":"

                                      The ID of the migration workflow template being updated.

                                      " + }, + "templateArn":{ + "shape":"String", + "documentation":"

                                      The ARN of the migration workflow template being updated. The format for an Migration Hub Orchestrator template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

                                      " + }, + "tags":{ + "shape":"StringMap", + "documentation":"

                                      The tags added to the migration workflow template.

                                      " + } + } + }, "UpdateWorkflowStepGroupRequest":{ "type":"structure", "required":[ @@ -2828,15 +3078,14 @@ "members":{ "integerValue":{ "shape":"Integer", - "documentation":"

                                      The integer value.

                                      ", - "box":true + "documentation":"

                                      The integer value.

                                      " }, "stringValue":{ - "shape":"StringValue", + "shape":"MaxStringValue", "documentation":"

                                      The string value.

                                      " }, "listOfStringValue":{ - "shape":"StringList", + "shape":"MaxStringList", "documentation":"

                                      The list of string value.

                                      " } }, @@ -2906,5 +3155,5 @@ "member":{"shape":"WorkflowStepSummary"} } }, - "documentation":"

                                      This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using.

                                      " + "documentation":"

                                      This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Migration Hub Orchestrator. The topic for each action shows the API request parameters and responses. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using.

                                      " } diff --git a/tools/code-generation/api-descriptions/models.lex.v2-2020-08-07.normal.json b/tools/code-generation/api-descriptions/models.lex.v2-2020-08-07.normal.json index c55e824971f..6671405782a 100644 --- a/tools/code-generation/api-descriptions/models.lex.v2-2020-08-07.normal.json +++ b/tools/code-generation/api-descriptions/models.lex.v2-2020-08-07.normal.json @@ -2982,6 +2982,7 @@ "type":"string", "enum":["UtteranceTimestamp"] }, + "AnswerField":{"type":"string"}, "AssociatedTranscript":{ "type":"structure", "members":{ @@ -3294,9 +3295,26 @@ } } }, + "BedrockKnowledgeBaseArn":{ + "type":"string", + "max":200, + "min":1, + "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,40}:[0-9]{12}:knowledge-base\\/[A-Za-z0-9]{10}$|^[A-Za-z0-9]{10}$" + }, + "BedrockKnowledgeStoreConfiguration":{ + "type":"structure", + "required":["bedrockKnowledgeBaseArn"], + "members":{ + "bedrockKnowledgeBaseArn":{ + "shape":"BedrockKnowledgeBaseArn", + "documentation":"

                                      The ARN of the knowledge base used.

                                      " + } + }, + "documentation":"

                                      Contains details about the configuration of a Amazon Bedrock knowledge base.

                                      " + }, "BedrockModelArn":{ "type":"string", - "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model\\/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}$" + "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model\\/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}$" }, "BedrockModelSpecification":{ "type":"structure", @@ -4186,7 +4204,10 @@ "shape":"DescriptiveBotBuilderSpecification", "documentation":"

                                      An object containing specifications for the descriptive bot building feature.

                                      " }, - "sampleUtteranceGeneration":{"shape":"SampleUtteranceGenerationSpecification"} + "sampleUtteranceGeneration":{ + "shape":"SampleUtteranceGenerationSpecification", + "documentation":"

                                      Contains specifications for the sample utterance generation feature.

                                      " + } }, "documentation":"

                                      Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.

                                      " }, @@ -5177,6 +5198,10 @@ "initialResponseSetting":{ "shape":"InitialResponseSetting", "documentation":"

                                      Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.

                                      " + }, + "qnAIntentConfiguration":{ + "shape":"QnAIntentConfiguration", + "documentation":"

                                      Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.

                                      " } } }, @@ -5250,6 +5275,10 @@ "initialResponseSetting":{ "shape":"InitialResponseSetting", "documentation":"

                                      Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.

                                      " + }, + "qnAIntentConfiguration":{ + "shape":"QnAIntentConfiguration", + "documentation":"

                                      Details about the the configuration of the built-in Amazon.QnAIntent.

                                      " } } }, @@ -5788,6 +5817,24 @@ }, "documentation":"

                                      By default, data stored by Amazon Lex is encrypted. The DataPrivacy structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.

                                      " }, + "DataSourceConfiguration":{ + "type":"structure", + "members":{ + "opensearchConfiguration":{ + "shape":"OpensearchConfiguration", + "documentation":"

                                      Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.

                                      " + }, + "kendraConfiguration":{ + "shape":"QnAKendraConfiguration", + "documentation":"

                                      Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.

                                      " + }, + "bedrockKnowledgeStoreConfiguration":{ + "shape":"BedrockKnowledgeStoreConfiguration", + "documentation":"

                                      Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.

                                      " + } + }, + "documentation":"

                                      Contains details about the configuration of the knowledge store used for the AMAZON.QnAIntent. You must have already created the knowledge store and indexed the documents within it.

                                      " + }, "DateRangeFilter":{ "type":"structure", "required":[ @@ -7167,6 +7214,10 @@ "initialResponseSetting":{ "shape":"InitialResponseSetting", "documentation":"

                                      Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.

                                      " + }, + "qnAIntentConfiguration":{ + "shape":"QnAIntentConfiguration", + "documentation":"

                                      Details about the configuration of the built-in Amazon.QnAIntent.

                                      " } } }, @@ -7722,6 +7773,10 @@ }, "documentation":"

                                      The current state of the conversation with the user.

                                      " }, + "DomainEndpoint":{ + "type":"string", + "pattern":"^(http|https):\\/\\/+[^\\s]+[\\w]" + }, "DraftBotVersion":{ "type":"string", "max":5, @@ -7779,6 +7834,24 @@ ] }, "ErrorMessage":{"type":"string"}, + "ExactResponseFields":{ + "type":"structure", + "required":[ + "questionField", + "answerField" + ], + "members":{ + "questionField":{ + "shape":"QuestionField", + "documentation":"

                                      The name of the field that contains the query made to the OpenSearch Service database.

                                      " + }, + "answerField":{ + "shape":"AnswerField", + "documentation":"

                                      The name of the field that contains the answer to the query made to the OpenSearch Service database.

                                      " + } + }, + "documentation":"

                                      Contains the names of the fields used for an exact response to the user.

                                      " + }, "ExceptionMessage":{"type":"string"}, "ExecutionErrorDetails":{ "type":"structure", @@ -8463,6 +8536,7 @@ "min":5, "pattern":"^([0-9a-zA-Z_])+$" }, + "IncludeField":{"type":"string"}, "InitialResponseSetting":{ "type":"structure", "members":{ @@ -10705,6 +10779,18 @@ "min":1, "pattern":"^[0-9]+$" }, + "OSIncludeFields":{ + "type":"list", + "member":{"shape":"IncludeField"}, + "max":5, + "min":1 + }, + "OSIndexName":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^(?![_-])[a-z0-9][a-z0-9_\\-]{0,254}$" + }, "ObfuscationSetting":{ "type":"structure", "required":["obfuscationSettingType"], @@ -10734,6 +10820,36 @@ "max":2, "min":1 }, + "OpensearchConfiguration":{ + "type":"structure", + "required":[ + "domainEndpoint", + "indexName" + ], + "members":{ + "domainEndpoint":{ + "shape":"DomainEndpoint", + "documentation":"

                                      The endpoint of the Amazon OpenSearch Service domain.

                                      " + }, + "indexName":{ + "shape":"OSIndexName", + "documentation":"

                                      The name of the Amazon OpenSearch Service index.

                                      " + }, + "exactResponse":{ + "shape":"Boolean", + "documentation":"

                                      Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.

                                      " + }, + "exactResponseFields":{ + "shape":"ExactResponseFields", + "documentation":"

                                      Contains the names of the fields used for an exact response to the user.

                                      " + }, + "includeFields":{ + "shape":"OSIncludeFields", + "documentation":"

                                      Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.

                                      " + } + }, + "documentation":"

                                      Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent.

                                      " + }, "Operation":{ "type":"string", "max":50, @@ -11058,11 +11174,46 @@ }, "documentation":"

                                      Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.

                                      " }, + "QnAIntentConfiguration":{ + "type":"structure", + "members":{ + "dataSourceConfiguration":{ + "shape":"DataSourceConfiguration", + "documentation":"

                                      Contains details about the configuration of the data source used for the AMAZON.QnAIntent.

                                      " + }, + "bedrockModelConfiguration":{"shape":"BedrockModelSpecification"} + }, + "documentation":"

                                      Details about the the configuration of the built-in Amazon.QnAIntent.

                                      " + }, + "QnAKendraConfiguration":{ + "type":"structure", + "required":["kendraIndex"], + "members":{ + "kendraIndex":{ + "shape":"KendraIndexArn", + "documentation":"

                                      The ARN of the Amazon Kendra index to use.

                                      " + }, + "queryFilterStringEnabled":{ + "shape":"Boolean", + "documentation":"

                                      Specifies whether to enable an Amazon Kendra filter string or not.

                                      " + }, + "queryFilterString":{ + "shape":"QueryFilterString", + "documentation":"

                                      Contains the Amazon Kendra filter string to use if enabled. For more information on the Amazon Kendra search filter JSON format, see Using document attributes to filter search results.

                                      " + }, + "exactResponse":{ + "shape":"Boolean", + "documentation":"

                                      Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results. To use this feature, you must first add FAQ questions to your index by following the steps at Adding frequently asked questions (FAQs) to an index.

                                      " + } + }, + "documentation":"

                                      Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent.

                                      " + }, "QueryFilterString":{ "type":"string", "max":5000, "min":1 }, + "QuestionField":{"type":"string"}, "RecommendedAction":{"type":"string"}, "RecommendedActions":{ "type":"list", @@ -13869,6 +14020,10 @@ "initialResponseSetting":{ "shape":"InitialResponseSetting", "documentation":"

                                      Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

                                      " + }, + "qnAIntentConfiguration":{ + "shape":"QnAIntentConfiguration", + "documentation":"

                                      Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.

                                      " } } }, @@ -13950,6 +14105,10 @@ "initialResponseSetting":{ "shape":"InitialResponseSetting", "documentation":"

                                      Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

                                      " + }, + "qnAIntentConfiguration":{ + "shape":"QnAIntentConfiguration", + "documentation":"

                                      Details about the configuration of the built-in Amazon.QnAIntent.

                                      " } } }, diff --git a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json index c9f17d960de..e7b1b5d2082 100644 --- a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json +++ b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json @@ -6320,7 +6320,7 @@ "ColumnConfigurationList":{ "type":"list", "member":{"shape":"ColumnConfiguration"}, - "max":200 + "max":2000 }, "ColumnDataRole":{ "type":"string", @@ -6603,6 +6603,10 @@ "Aggregation":{ "shape":"AggregationFunction", "documentation":"

                                      The aggregation function of the column tooltip item.

                                      " + }, + "TooltipTarget":{ + "shape":"TooltipTarget", + "documentation":"

                                      Determines the target of the column tooltip item in a combo chart visual.

                                      " } }, "documentation":"

                                      The tooltip item for the columns that are not part of a field well.

                                      " @@ -14876,6 +14880,10 @@ "Visibility":{ "shape":"Visibility", "documentation":"

                                      The visibility of the tooltip item.

                                      " + }, + "TooltipTarget":{ + "shape":"TooltipTarget", + "documentation":"

                                      Determines the target of the field tooltip item in a combo chart visual.

                                      " } }, "documentation":"

                                      The tooltip item for the fields.

                                      " @@ -16363,7 +16371,7 @@ }, "AuthorizedResourceArns":{ "shape":"ArnList", - "documentation":"

                                      The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose Dashboard embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view. Currently, you can pass up to 25 dashboard ARNs in each API call.

                                      " + "documentation":"

                                      The Amazon Resource Names (ARNs) for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session.

                                      If you choose Dashboard embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.

                                      Currently, you can pass up to 25 dashboard ARNs in each API call.

                                      " }, "ExperienceConfiguration":{ "shape":"AnonymousUserEmbeddingExperienceConfiguration", @@ -28251,6 +28259,14 @@ }, "documentation":"

                                      The display options for the visual tooltip.

                                      " }, + "TooltipTarget":{ + "type":"string", + "enum":[ + "BOTH", + "BAR", + "LINE" + ] + }, "TooltipTitleType":{ "type":"string", "enum":[ diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index 2d32a93f54b..4df8df84c34 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -486,7 +486,7 @@ "errors":[ {"shape":"ResourceLimitExceeded"} ], - "documentation":"

                                      Creates a model in SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.

                                      Use this API to create a model if you want to use SageMaker hosting services or run a batch transform job.

                                      To host your model, you create an endpoint configuration with the CreateEndpointConfig API, and then create an endpoint with the CreateEndpoint API. SageMaker then deploys all of the containers that you defined for the model in the hosting environment.

                                      For an example that calls this method when deploying a model to SageMaker hosting services, see Create a Model (Amazon Web Services SDK for Python (Boto 3)).

                                      To run a batch transform using your model, you start a job with the CreateTransformJob API. SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location.

                                      In the request, you also provide an IAM role that SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other Amazon Web Services resources, you grant necessary permissions via this role.

                                      " + "documentation":"

                                      Creates a model in SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.

                                      Use this API to create a model if you want to use SageMaker hosting services or run a batch transform job.

                                      To host your model, you create an endpoint configuration with the CreateEndpointConfig API, and then create an endpoint with the CreateEndpoint API. SageMaker then deploys all of the containers that you defined for the model in the hosting environment.

                                      To run a batch transform using your model, you start a job with the CreateTransformJob API. SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location.

                                      In the request, you also provide an IAM role that SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other Amazon Web Services resources, you grant necessary permissions via this role.

                                      " }, "CreateModelBiasJobDefinition":{ "name":"CreateModelBiasJobDefinition", @@ -3607,7 +3607,7 @@ {"shape":"ResourceNotFound"}, {"shape":"ResourceLimitExceeded"} ], - "documentation":"

                                      Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the UpdateFeatureGroup API.

                                      You can add features for your feature group using the FeatureAdditions request parameter. Features cannot be removed from a feature group.

                                      You can update the online store configuration by using the OnlineStoreConfig request parameter. If a TtlDuration is specified, the default TtlDuration applies for all records added to the feature group after the feature group is updated. If a record level TtlDuration exists from using the PutRecord API, the record level TtlDuration applies to that record instead of the default TtlDuration.

                                      " + "documentation":"

                                      Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the UpdateFeatureGroup API.

                                      You can add features for your feature group using the FeatureAdditions request parameter. Features cannot be removed from a feature group.

                                      You can update the online store configuration by using the OnlineStoreConfig request parameter. If a TtlDuration is specified, the default TtlDuration applies for all records added to the feature group after the feature group is updated. If a record level TtlDuration exists from using the PutRecord API, the record level TtlDuration applies to that record instead of the default TtlDuration. To remove the default TtlDuration from an existing feature group, use the UpdateFeatureGroup API and set the TtlDuration Unit and Value to null.

                                      " }, "UpdateFeatureMetadata":{ "name":"UpdateFeatureMetadata", @@ -5363,7 +5363,7 @@ "members":{ "MetricName":{ "shape":"AutoMLMetricEnum", - "documentation":"

                                      The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

                                      The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

                                      • For tabular problem types:

                                        • List of available metrics:

                                          • Regression: InferenceLatency, MAE, MSE, R2, RMSE

                                          • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, InferenceLatency, LogLoss, Precision, Recall

                                          • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, InferenceLatency, LogLoss, PrecisionMacro, RecallMacro

                                          For a description of each metric, see Autopilot metrics for classification and regression.

                                        • Default objective metrics:

                                          • Regression: MSE.

                                          • Binary classification: F1.

                                          • Multiclass classification: Accuracy.

                                      • For image or text classification problem types:

                                      • For time-series forecasting problem types:

                                      • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

                                      " + "documentation":"

                                      The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

                                      The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

                                      • For tabular problem types:

                                        • List of available metrics:

                                          • Regression: MAE, MSE, R2, RMSE

                                          • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, Precision, Recall

                                          • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, PrecisionMacro, RecallMacro

                                          For a description of each metric, see Autopilot metrics for classification and regression.

                                        • Default objective metrics:

                                          • Regression: MSE.

                                          • Binary classification: F1.

                                          • Multiclass classification: Accuracy.

                                      • For image or text classification problem types:

                                      • For time-series forecasting problem types:

                                      • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

                                      " } }, "documentation":"

                                      Specifies a metric to minimize or maximize as the objective of an AutoML job.

                                      " @@ -9476,7 +9476,7 @@ }, "InferenceSpecification":{ "shape":"InferenceSpecification", - "documentation":"

                                      Specifies details about inference jobs that can be run with models based on this model package, including the following:

                                      • The Amazon ECR paths of containers that contain the inference code and model artifacts.

                                      • The instance types that the model package supports for transform jobs and real-time endpoints used for inference.

                                      • The input and output content formats that the model package supports for inference.

                                      " + "documentation":"

                                      Specifies details about inference jobs that you can run with models based on this model package, including the following information:

                                      • The Amazon ECR paths of containers that contain the inference code and model artifacts.

                                      • The instance types that the model package supports for transform jobs and real-time endpoints used for inference.

                                      • The input and output content formats that the model package supports for inference.

                                      " }, "ValidationSpecification":{ "shape":"ModelPackageValidationSpecification", @@ -9535,6 +9535,10 @@ "SkipModelValidation":{ "shape":"SkipModelValidation", "documentation":"

                                      Indicates if you want to skip model validation.

                                      " + }, + "SourceUri":{ + "shape":"ModelPackageSourceUri", + "documentation":"

                                      The URI of the source for the model package. If you want to clone a model package, set it to the model package Amazon Resource Name (ARN). If you want to register a model, set it to the model ARN.

                                      " } } }, @@ -12085,7 +12089,7 @@ }, "CreationTime":{ "shape":"Timestamp", - "documentation":"

                                      The creation time.

                                      " + "documentation":"

                                      The creation time of the application.

                                      After an application has been shut down for 24 hours, SageMaker deletes all metadata for the application. To be considered an update and retain application metadata, applications must be restarted within 24 hours after the previous application has been shut down. After this time window, creation of an application is considered a new application rather than an update of the previous application.

                                      " }, "FailureReason":{ "shape":"FailureReason", @@ -14707,7 +14711,7 @@ }, "InferenceSpecification":{ "shape":"InferenceSpecification", - "documentation":"

                                      Details about inference jobs that can be run with models based on this model package.

                                      " + "documentation":"

                                      Details about inference jobs that you can run with models based on this model package.

                                      " }, "SourceAlgorithmSpecification":{ "shape":"SourceAlgorithmSpecification", @@ -14775,6 +14779,10 @@ "SkipModelValidation":{ "shape":"SkipModelValidation", "documentation":"

                                      Indicates if you want to skip model validation.

                                      " + }, + "SourceUri":{ + "shape":"ModelPackageSourceUri", + "documentation":"

                                      The URI of the source for the model package.

                                      " } } }, @@ -17472,7 +17480,7 @@ "type":"map", "key":{"shape":"EnvironmentKey"}, "value":{"shape":"EnvironmentValue"}, - "max":16 + "max":100 }, "EnvironmentParameter":{ "type":"structure", @@ -21029,7 +21037,7 @@ "FileSystemConfig":{"shape":"FileSystemConfig"}, "ContainerConfig":{"shape":"ContainerConfig"} }, - "documentation":"

                                      The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.

                                      " + "documentation":"

                                      The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app. The FileSystemConfig object is not supported.

                                      " }, "JupyterLabAppSettings":{ "type":"structure", @@ -26680,7 +26688,7 @@ }, "Bias":{ "shape":"Bias", - "documentation":"

                                      Metrics that measure bais in a model.

                                      " + "documentation":"

                                      Metrics that measure bias in a model.

                                      " }, "Explainability":{ "shape":"Explainability", @@ -26794,6 +26802,10 @@ "shape":"AdditionalInferenceSpecifications", "documentation":"

                                      An array of additional Inference Specification objects.

                                      " }, + "SourceUri":{ + "shape":"ModelPackageSourceUri", + "documentation":"

                                      The URI of the source for the model package.

                                      " + }, "Tags":{ "shape":"TagList", "documentation":"

                                      A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

                                      " @@ -26845,6 +26857,10 @@ "shape":"Url", "documentation":"

                                      The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

                                      The model artifacts must be in an S3 bucket that is in the same region as the model package.

                                      " }, + "ModelDataSource":{ + "shape":"ModelDataSource", + "documentation":"

                                      Specifies the location of ML model data to deploy during endpoint creation.

                                      " + }, "ProductId":{ "shape":"ProductId", "documentation":"

                                      The Amazon Web Services Marketplace product ID of the model package.

                                      " @@ -26986,6 +27002,12 @@ "CreationTime" ] }, + "ModelPackageSourceUri":{ + "type":"string", + "max":1024, + "min":0, + "pattern":"[\\p{L}\\p{M}\\p{Z}\\p{N}\\p{P}]{0,1024}" + }, "ModelPackageStatus":{ "type":"string", "enum":[ @@ -32848,6 +32870,10 @@ "shape":"Url", "documentation":"

                                      The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

                                      The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.

                                      " }, + "ModelDataSource":{ + "shape":"ModelDataSource", + "documentation":"

                                      Specifies the location of ML model data to deploy during endpoint creation.

                                      " + }, "AlgorithmName":{ "shape":"ArnOrName", "documentation":"

                                      The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

                                      " @@ -36395,6 +36421,14 @@ "AdditionalInferenceSpecificationsToAdd":{ "shape":"AdditionalInferenceSpecifications", "documentation":"

                                      An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

                                      " + }, + "InferenceSpecification":{ + "shape":"InferenceSpecification", + "documentation":"

                                      Specifies details about inference jobs that you can run with models based on this model package, including the following information:

                                      • The Amazon ECR paths of containers that contain the inference code and model artifacts.

                                      • The instance types that the model package supports for transform jobs and real-time endpoints used for inference.

                                      • The input and output content formats that the model package supports for inference.

                                      " + }, + "SourceUri":{ + "shape":"ModelPackageSourceUri", + "documentation":"

                                      The URI of the source for the model package.

                                      " } } }, @@ -37200,14 +37234,14 @@ "members":{ "Key":{ "shape":"VisibilityConditionsKey", - "documentation":"

                                      The key that specifies the tag that you're using to filter the search results. It must be in the following format: Tags.<key>/EqualsIfExists.

                                      " + "documentation":"

                                      The key that specifies the tag that you're using to filter the search results. It must be in the following format: Tags.<key>.

                                      " }, "Value":{ "shape":"VisibilityConditionsValue", "documentation":"

                                      The value for the tag that you're using to filter the search results.

                                      " } }, - "documentation":"

                                      The list of key-value pairs that you specify for your resources.

                                      " + "documentation":"

                                      The list of key-value pairs used to filter your search results. If a search result contains a key from your list, it is included in the final search response if the value associated with the key in the result matches the value you specified. If the value doesn't match, the result is excluded from the search response. Any resources that don't have a key from the list that you've provided will also be included in the search response.

                                      " }, "VisibilityConditionsKey":{ "type":"string", diff --git a/tools/code-generation/api-descriptions/securitylake-2018-05-10.normal.json b/tools/code-generation/api-descriptions/securitylake-2018-05-10.normal.json index 165dbb19051..e0fd1f2a336 100644 --- a/tools/code-generation/api-descriptions/securitylake-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/securitylake-2018-05-10.normal.json @@ -707,7 +707,7 @@ "type":"list", "member":{"shape":"AwsLogSourceConfiguration"}, "max":50, - "min":0 + "min":1 }, "AwsLogSourceName":{ "type":"string", @@ -717,7 +717,9 @@ "SH_FINDINGS", "CLOUD_TRAIL_MGMT", "LAMBDA_EXECUTION", - "S3_DATA" + "S3_DATA", + "EKS_AUDIT", + "WAF" ] }, "AwsLogSourceResource":{ @@ -736,7 +738,8 @@ }, "AwsLogSourceResourceList":{ "type":"list", - "member":{"shape":"AwsLogSourceResource"} + "member":{"shape":"AwsLogSourceResource"}, + "min":1 }, "AwsLogSourceVersion":{ "type":"string", @@ -799,7 +802,10 @@ }, "CreateCustomLogSourceRequest":{ "type":"structure", - "required":["sourceName"], + "required":[ + "configuration", + "sourceName" + ], "members":{ "configuration":{ "shape":"CustomLogSourceConfiguration", @@ -861,7 +867,6 @@ }, "CreateDataLakeOrganizationConfigurationRequest":{ "type":"structure", - "required":["autoEnableNewAccount"], "members":{ "autoEnableNewAccount":{ "shape":"DataLakeAutoEnableNewAccountConfigurationList", @@ -1095,7 +1100,8 @@ }, "DataLakeAutoEnableNewAccountConfigurationList":{ "type":"list", - "member":{"shape":"DataLakeAutoEnableNewAccountConfiguration"} + "member":{"shape":"DataLakeAutoEnableNewAccountConfiguration"}, + "min":1 }, "DataLakeConfiguration":{ "type":"structure", @@ -1122,7 +1128,8 @@ }, "DataLakeConfigurationList":{ "type":"list", - "member":{"shape":"DataLakeConfiguration"} + "member":{"shape":"DataLakeConfiguration"}, + "min":1 }, "DataLakeEncryptionConfiguration":{ "type":"structure", @@ -1412,7 +1419,6 @@ }, "DeleteDataLakeOrganizationConfigurationRequest":{ "type":"structure", - "required":["autoEnableNewAccount"], "members":{ "autoEnableNewAccount":{ "shape":"DataLakeAutoEnableNewAccountConfigurationList", @@ -1765,7 +1771,7 @@ "members":{ "resourceArn":{ "shape":"AmazonResourceName", - "documentation":"

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource to retrieve the tags for.

                                      ", + "documentation":"

                                      The Amazon Resource Name (ARN) of the Amazon Security Lake resource for which you want to retrieve the tags.

                                      ", "location":"uri", "locationName":"resourceArn" } @@ -1909,7 +1915,7 @@ }, "RoleArn":{ "type":"string", - "pattern":"^arn:.*$" + "pattern":"^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" }, "S3BucketArn":{"type":"string"}, "S3URI":{ @@ -2191,6 +2197,10 @@ "configurations":{ "shape":"DataLakeConfigurationList", "documentation":"

                                      Specify the Region or Regions that will contribute data to the rollup region.

                                      " + }, + "metaStoreManagerRoleArn":{ + "shape":"RoleArn", + "documentation":"

                                      The Amazon Resource Name (ARN) used to create and update the Glue table. This table contains partitions generated by the ingestion and normalization of Amazon Web Services log sources and custom sources.

                                      " } } }, diff --git a/tools/code-generation/endpoints/docdb-elastic-2022-11-28.endpoint-rule-set.json b/tools/code-generation/endpoints/docdb-elastic-2022-11-28.endpoint-rule-set.json index dc9f2464117..086aaa0cea0 100644 --- a/tools/code-generation/endpoints/docdb-elastic-2022-11-28.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/docdb-elastic-2022-11-28.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/tools/code-generation/endpoints/migrationhuborchestrator-2021-08-28.endpoint-rule-set.json b/tools/code-generation/endpoints/migrationhuborchestrator-2021-08-28.endpoint-rule-set.json index 6f809520383..caee563f28f 100644 --- a/tools/code-generation/endpoints/migrationhuborchestrator-2021-08-28.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/migrationhuborchestrator-2021-08-28.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file