From 53259b8198b650ed78e47d26fb0c36fc2b1d5c4c Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Wed, 20 Mar 2024 18:22:20 +0000 Subject: [PATCH] AMB Query: update GetTransaction to include transactionId as input This release adds support for new webhook events (RELEASED and PRERELEASED) and filter types (TAG_NAME and RELEASE_NAME). Introducing the Savings Plans Return feature enabling customers to return their Savings Plans within 7 days of purchase. This release updates the *InstanceStorageConfig APIs to support a new ResourceType: REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS. Use this resource type to enable streaming for real-time analysis of chat contacts and to associate a Kinesis stream where real-time analysis chat segments will be published. This release adds support for policy validation and external access findings for DynamoDB tables and streams. IAM Access Analyzer helps you author functional and secure resource-based policies and identify cross-account access. Updated service API, documentation, and paginators. This release introduces 3 new APIs ('GetResourcePolicy', 'PutResourcePolicy' and 'DeleteResourcePolicy') and modifies the existing 'CreateTable' API for the resource-based policy support. It also modifies several APIs to accept a 'TableArn' for the 'TableName' parameter. --- VERSION | 2 +- .../aws/accessanalyzer/model/Configuration.h | 70 +++ .../model/DynamodbStreamConfiguration.h | 107 ++++ .../model/DynamodbTableConfiguration.h | 107 ++++ .../aws/accessanalyzer/model/ResourceType.h | 4 +- .../model/ValidatePolicyResourceType.h | 3 +- .../source/model/Configuration.cpp | 34 +- .../model/DynamodbStreamConfiguration.cpp | 59 +++ .../model/DynamodbTableConfiguration.cpp | 59 +++ .../source/model/ResourceType.cpp | 14 + .../model/ValidatePolicyResourceType.cpp | 7 + .../aws/codebuild/model/WebhookFilter.h | 462 ++++++++++-------- .../AssociateInstanceStorageConfigRequest.h | 84 +++- .../model/InstanceStorageResourceType.h | 4 +- .../model/InstanceStorageResourceType.cpp | 14 + .../include/aws/dynamodb/DynamoDBClient.h | 138 +++++- .../include/aws/dynamodb/DynamoDBErrors.h | 1 + .../aws/dynamodb/DynamoDBServiceClientModel.h | 15 + .../aws/dynamodb/model/BatchGetItemRequest.h | 168 +++---- .../aws/dynamodb/model/BatchGetItemResult.h | 66 +-- .../dynamodb/model/BatchWriteItemRequest.h | 336 ++++++------- .../aws/dynamodb/model/BatchWriteItemResult.h | 44 +- .../aws/dynamodb/model/ConditionCheck.h | 24 +- .../aws/dynamodb/model/ConsumedCapacity.h | 32 +- .../aws/dynamodb/model/CreateBackupRequest.h | 24 +- .../aws/dynamodb/model/CreateTableRequest.h | 140 +++++- .../include/aws/dynamodb/model/Delete.h | 24 +- .../aws/dynamodb/model/DeleteItemRequest.h | 24 +- .../model/DeleteResourcePolicyRequest.h | 185 +++++++ .../model/DeleteResourcePolicyResult.h | 122 +++++ .../aws/dynamodb/model/DeleteTableRequest.h | 24 +- .../model/DescribeContinuousBackupsRequest.h | 24 +- .../DescribeContributorInsightsRequest.h | 24 +- ...scribeKinesisStreamingDestinationRequest.h | 24 +- .../DescribeTableReplicaAutoScalingRequest.h | 24 +- .../aws/dynamodb/model/DescribeTableRequest.h | 24 +- .../model/DescribeTimeToLiveRequest.h | 24 +- ...isableKinesisStreamingDestinationRequest.h | 24 +- ...EnableKinesisStreamingDestinationRequest.h | 24 +- .../include/aws/dynamodb/model/Get.h | 24 +- .../aws/dynamodb/model/GetItemRequest.h | 24 +- .../dynamodb/model/GetResourcePolicyRequest.h | 93 ++++ .../dynamodb/model/GetResourcePolicyResult.h | 153 ++++++ .../aws/dynamodb/model/ListBackupsRequest.h | 32 +- .../model/ListContributorInsightsRequest.h | 24 +- .../include/aws/dynamodb/model/Put.h | 24 +- .../aws/dynamodb/model/PutItemRequest.h | 24 +- .../dynamodb/model/PutResourcePolicyRequest.h | 361 ++++++++++++++ .../dynamodb/model/PutResourcePolicyResult.h | 108 ++++ .../include/aws/dynamodb/model/QueryRequest.h | 24 +- .../include/aws/dynamodb/model/ScanRequest.h | 32 +- .../include/aws/dynamodb/model/Update.h | 24 +- .../model/UpdateContinuousBackupsRequest.h | 24 +- .../model/UpdateContributorInsightsRequest.h | 24 +- .../aws/dynamodb/model/UpdateItemRequest.h | 24 +- ...UpdateKinesisStreamingDestinationRequest.h | 40 +- .../UpdateTableReplicaAutoScalingRequest.h | 24 +- .../aws/dynamodb/model/UpdateTableRequest.h | 24 +- .../dynamodb/model/UpdateTimeToLiveRequest.h | 24 +- .../source/DynamoDBClient.cpp | 186 +++++++ .../source/DynamoDBErrors.cpp | 5 + .../source/model/CreateTableRequest.cpp | 9 +- .../model/DeleteResourcePolicyRequest.cpp | 50 ++ .../model/DeleteResourcePolicyResult.cpp | 48 ++ .../source/model/GetResourcePolicyRequest.cpp | 43 ++ .../source/model/GetResourcePolicyResult.cpp | 54 ++ .../source/model/PutResourcePolicyRequest.cpp | 65 +++ .../source/model/PutResourcePolicyResult.cpp | 48 ++ .../model/GetTransactionRequest.h | 60 +++ .../model/TransactionOutputItem.h | 52 ++ .../source/model/GetTransactionRequest.cpp | 7 + .../source/model/TransactionOutputItem.cpp | 15 + .../aws/savingsplans/SavingsPlansClient.h | 47 +- .../SavingsPlansServiceClientModel.h | 5 + .../model/CreateSavingsPlanRequest.h | 84 ++-- .../model/DescribeSavingsPlanRatesResult.h | 28 +- ...DescribeSavingsPlansOfferingRatesRequest.h | 43 +- .../DescribeSavingsPlansOfferingsRequest.h | 57 ++- .../model/DescribeSavingsPlansRequest.h | 16 +- .../model/ReturnSavingsPlanRequest.h | 136 ++++++ .../model/ReturnSavingsPlanResult.h | 101 ++++ .../aws/savingsplans/model/SavingsPlan.h | 104 +++- .../savingsplans/model/SavingsPlanFilter.h | 2 +- .../savingsplans/model/SavingsPlanOffering.h | 24 +- .../model/SavingsPlanOfferingFilterElement.h | 3 +- .../model/SavingsPlanOfferingProperty.h | 3 +- .../model/SavingsPlanOfferingRate.h | 24 +- .../SavingsPlanOfferingRateFilterElement.h | 3 +- .../model/SavingsPlanOfferingRateProperty.h | 3 +- .../aws/savingsplans/model/SavingsPlanRate.h | 24 +- .../model/SavingsPlanRateFilter.h | 2 +- .../model/SavingsPlanRateProperty.h | 2 +- .../aws/savingsplans/model/SavingsPlanState.h | 4 +- .../source/SavingsPlansClient.cpp | 28 ++ .../source/SavingsPlansEndpointRules.cpp | 230 ++++----- .../source/model/ReturnSavingsPlanRequest.cpp | 43 ++ .../source/model/ReturnSavingsPlanResult.cpp | 48 ++ .../source/model/SavingsPlan.cpp | 19 +- .../source/model/SavingsPlanState.cpp | 14 + .../include/aws/core/VersionConfig.h | 4 +- .../accessanalyzer-2019-11-01.normal.json | 37 +- .../codebuild-2016-10-06.normal.json | 2 +- .../connect-2017-08-08.normal.json | 6 +- .../dynamodb-2012-08-10.normal.json | 300 +++++++++--- ...gedblockchain-query-2023-05-04.normal.json | 13 +- .../savingsplans-2019-06-28.normal.json | 106 ++-- ...ngsplans-2019-06-28.endpoint-rule-set.json | 40 +- 107 files changed, 4762 insertions(+), 1205 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbStreamConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbTableConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbStreamConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbTableConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanRequest.h create mode 100644 generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanResult.h create mode 100644 generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanResult.cpp diff --git a/VERSION b/VERSION index 7ef9ecbc0aa..cbc3b98d1ac 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.289 \ No newline at end of file +1.11.290 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/Configuration.h b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/Configuration.h index 905144c9f13..822c3cd1998 100644 --- a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/Configuration.h +++ b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/Configuration.h @@ -17,6 +17,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -427,6 +429,68 @@ namespace Model */ inline Configuration& WithS3ExpressDirectoryBucket(S3ExpressDirectoryBucketConfiguration&& value) { SetS3ExpressDirectoryBucket(std::move(value)); return *this;} + + /** + *

The access control configuration is for a DynamoDB stream.

+ */ + inline const DynamodbStreamConfiguration& GetDynamodbStream() const{ return m_dynamodbStream; } + + /** + *

The access control configuration is for a DynamoDB stream.

+ */ + inline bool DynamodbStreamHasBeenSet() const { return m_dynamodbStreamHasBeenSet; } + + /** + *

The access control configuration is for a DynamoDB stream.

+ */ + inline void SetDynamodbStream(const DynamodbStreamConfiguration& value) { m_dynamodbStreamHasBeenSet = true; m_dynamodbStream = value; } + + /** + *

The access control configuration is for a DynamoDB stream.

+ */ + inline void SetDynamodbStream(DynamodbStreamConfiguration&& value) { m_dynamodbStreamHasBeenSet = true; m_dynamodbStream = std::move(value); } + + /** + *

The access control configuration is for a DynamoDB stream.

+ */ + inline Configuration& WithDynamodbStream(const DynamodbStreamConfiguration& value) { SetDynamodbStream(value); return *this;} + + /** + *

The access control configuration is for a DynamoDB stream.

+ */ + inline Configuration& WithDynamodbStream(DynamodbStreamConfiguration&& value) { SetDynamodbStream(std::move(value)); return *this;} + + + /** + *

The access control configuration is for a DynamoDB table or index.

+ */ + inline const DynamodbTableConfiguration& GetDynamodbTable() const{ return m_dynamodbTable; } + + /** + *

The access control configuration is for a DynamoDB table or index.

+ */ + inline bool DynamodbTableHasBeenSet() const { return m_dynamodbTableHasBeenSet; } + + /** + *

The access control configuration is for a DynamoDB table or index.

+ */ + inline void SetDynamodbTable(const DynamodbTableConfiguration& value) { m_dynamodbTableHasBeenSet = true; m_dynamodbTable = value; } + + /** + *

The access control configuration is for a DynamoDB table or index.

+ */ + inline void SetDynamodbTable(DynamodbTableConfiguration&& value) { m_dynamodbTableHasBeenSet = true; m_dynamodbTable = std::move(value); } + + /** + *

The access control configuration is for a DynamoDB table or index.

+ */ + inline Configuration& WithDynamodbTable(const DynamodbTableConfiguration& value) { SetDynamodbTable(value); return *this;} + + /** + *

The access control configuration is for a DynamoDB table or index.

+ */ + inline Configuration& WithDynamodbTable(DynamodbTableConfiguration&& value) { SetDynamodbTable(std::move(value)); return *this;} + private: EbsSnapshotConfiguration m_ebsSnapshot; @@ -464,6 +528,12 @@ namespace Model S3ExpressDirectoryBucketConfiguration m_s3ExpressDirectoryBucket; bool m_s3ExpressDirectoryBucketHasBeenSet = false; + + DynamodbStreamConfiguration m_dynamodbStream; + bool m_dynamodbStreamHasBeenSet = false; + + DynamodbTableConfiguration m_dynamodbTable; + bool m_dynamodbTableHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbStreamConfiguration.h b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbStreamConfiguration.h new file mode 100644 index 00000000000..ff129cc90c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbStreamConfiguration.h @@ -0,0 +1,107 @@ +/** + * 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 AccessAnalyzer +{ +namespace Model +{ + + /** + *

The proposed access control configuration for a DynamoDB stream. You can + * propose a configuration for a new DynamoDB stream or an existing DynamoDB stream + * that you own by specifying the policy for the DynamoDB stream. For more + * information, see PutResourcePolicy.

+ *
  • If the configuration is for an existing DynamoDB stream and you do + * not specify the DynamoDB policy, then the access preview uses the existing + * DynamoDB policy for the stream.

  • If the access preview is for a + * new resource and you do not specify the policy, then the access preview assumes + * a DynamoDB stream without a policy.

  • To propose deletion of an + * existing DynamoDB stream policy, you can specify an empty string for the + * DynamoDB policy.

See Also:

AWS + * API Reference

+ */ + class DynamodbStreamConfiguration + { + public: + AWS_ACCESSANALYZER_API DynamodbStreamConfiguration(); + AWS_ACCESSANALYZER_API DynamodbStreamConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_ACCESSANALYZER_API DynamodbStreamConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline const Aws::String& GetStreamPolicy() const{ return m_streamPolicy; } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline bool StreamPolicyHasBeenSet() const { return m_streamPolicyHasBeenSet; } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline void SetStreamPolicy(const Aws::String& value) { m_streamPolicyHasBeenSet = true; m_streamPolicy = value; } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline void SetStreamPolicy(Aws::String&& value) { m_streamPolicyHasBeenSet = true; m_streamPolicy = std::move(value); } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline void SetStreamPolicy(const char* value) { m_streamPolicyHasBeenSet = true; m_streamPolicy.assign(value); } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline DynamodbStreamConfiguration& WithStreamPolicy(const Aws::String& value) { SetStreamPolicy(value); return *this;} + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline DynamodbStreamConfiguration& WithStreamPolicy(Aws::String&& value) { SetStreamPolicy(std::move(value)); return *this;} + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * stream.

+ */ + inline DynamodbStreamConfiguration& WithStreamPolicy(const char* value) { SetStreamPolicy(value); return *this;} + + private: + + Aws::String m_streamPolicy; + bool m_streamPolicyHasBeenSet = false; + }; + +} // namespace Model +} // namespace AccessAnalyzer +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbTableConfiguration.h b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbTableConfiguration.h new file mode 100644 index 00000000000..7ecce867a79 --- /dev/null +++ b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/DynamodbTableConfiguration.h @@ -0,0 +1,107 @@ +/** + * 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 AccessAnalyzer +{ +namespace Model +{ + + /** + *

The proposed access control configuration for a DynamoDB table or index. You + * can propose a configuration for a new DynamoDB table or index or an existing + * DynamoDB table or index that you own by specifying the policy for the DynamoDB + * table or index. For more information, see PutResourcePolicy.

+ *
  • If the configuration is for an existing DynamoDB table or index and + * you do not specify the DynamoDB policy, then the access preview uses the + * existing DynamoDB policy for the table or index.

  • If the access + * preview is for a new resource and you do not specify the policy, then the access + * preview assumes a DynamoDB table without a policy.

  • To propose + * deletion of an existing DynamoDB table or index policy, you can specify an empty + * string for the DynamoDB policy.

See Also:

AWS + * API Reference

+ */ + class DynamodbTableConfiguration + { + public: + AWS_ACCESSANALYZER_API DynamodbTableConfiguration(); + AWS_ACCESSANALYZER_API DynamodbTableConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_ACCESSANALYZER_API DynamodbTableConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline const Aws::String& GetTablePolicy() const{ return m_tablePolicy; } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline bool TablePolicyHasBeenSet() const { return m_tablePolicyHasBeenSet; } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline void SetTablePolicy(const Aws::String& value) { m_tablePolicyHasBeenSet = true; m_tablePolicy = value; } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline void SetTablePolicy(Aws::String&& value) { m_tablePolicyHasBeenSet = true; m_tablePolicy = std::move(value); } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline void SetTablePolicy(const char* value) { m_tablePolicyHasBeenSet = true; m_tablePolicy.assign(value); } + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline DynamodbTableConfiguration& WithTablePolicy(const Aws::String& value) { SetTablePolicy(value); return *this;} + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline DynamodbTableConfiguration& WithTablePolicy(Aws::String&& value) { SetTablePolicy(std::move(value)); return *this;} + + /** + *

The proposed resource policy defining who can access or manage the DynamoDB + * table.

+ */ + inline DynamodbTableConfiguration& WithTablePolicy(const char* value) { SetTablePolicy(value); return *this;} + + private: + + Aws::String m_tablePolicy; + bool m_tablePolicyHasBeenSet = false; + }; + +} // namespace Model +} // namespace AccessAnalyzer +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ResourceType.h b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ResourceType.h index c2377cc3519..5edb807f358 100644 --- a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ResourceType.h +++ b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ResourceType.h @@ -29,7 +29,9 @@ namespace Model AWS_RDS_DBSnapshot, AWS_RDS_DBClusterSnapshot, AWS_SNS_Topic, - AWS_S3Express_DirectoryBucket + AWS_S3Express_DirectoryBucket, + AWS_DynamoDB_Table, + AWS_DynamoDB_Stream }; namespace ResourceTypeMapper diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ValidatePolicyResourceType.h b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ValidatePolicyResourceType.h index f1066218570..d0481f674b6 100644 --- a/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ValidatePolicyResourceType.h +++ b/generated/src/aws-cpp-sdk-accessanalyzer/include/aws/accessanalyzer/model/ValidatePolicyResourceType.h @@ -20,7 +20,8 @@ namespace Model AWS_S3_AccessPoint, AWS_S3_MultiRegionAccessPoint, AWS_S3ObjectLambda_AccessPoint, - AWS_IAM_AssumeRolePolicyDocument + AWS_IAM_AssumeRolePolicyDocument, + AWS_DynamoDB_Table }; namespace ValidatePolicyResourceTypeMapper diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/Configuration.cpp b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/Configuration.cpp index f7cc41ab9ee..cf36c1b5e25 100644 --- a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/Configuration.cpp +++ b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/Configuration.cpp @@ -30,7 +30,9 @@ Configuration::Configuration() : m_s3BucketHasBeenSet(false), m_snsTopicHasBeenSet(false), m_sqsQueueHasBeenSet(false), - m_s3ExpressDirectoryBucketHasBeenSet(false) + m_s3ExpressDirectoryBucketHasBeenSet(false), + m_dynamodbStreamHasBeenSet(false), + m_dynamodbTableHasBeenSet(false) { } @@ -46,7 +48,9 @@ Configuration::Configuration(JsonView jsonValue) : m_s3BucketHasBeenSet(false), m_snsTopicHasBeenSet(false), m_sqsQueueHasBeenSet(false), - m_s3ExpressDirectoryBucketHasBeenSet(false) + m_s3ExpressDirectoryBucketHasBeenSet(false), + m_dynamodbStreamHasBeenSet(false), + m_dynamodbTableHasBeenSet(false) { *this = jsonValue; } @@ -137,6 +141,20 @@ Configuration& Configuration::operator =(JsonView jsonValue) m_s3ExpressDirectoryBucketHasBeenSet = true; } + if(jsonValue.ValueExists("dynamodbStream")) + { + m_dynamodbStream = jsonValue.GetObject("dynamodbStream"); + + m_dynamodbStreamHasBeenSet = true; + } + + if(jsonValue.ValueExists("dynamodbTable")) + { + m_dynamodbTable = jsonValue.GetObject("dynamodbTable"); + + m_dynamodbTableHasBeenSet = true; + } + return *this; } @@ -216,6 +234,18 @@ JsonValue Configuration::Jsonize() const } + if(m_dynamodbStreamHasBeenSet) + { + payload.WithObject("dynamodbStream", m_dynamodbStream.Jsonize()); + + } + + if(m_dynamodbTableHasBeenSet) + { + payload.WithObject("dynamodbTable", m_dynamodbTable.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbStreamConfiguration.cpp b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbStreamConfiguration.cpp new file mode 100644 index 00000000000..269e48f2cf0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbStreamConfiguration.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 AccessAnalyzer +{ +namespace Model +{ + +DynamodbStreamConfiguration::DynamodbStreamConfiguration() : + m_streamPolicyHasBeenSet(false) +{ +} + +DynamodbStreamConfiguration::DynamodbStreamConfiguration(JsonView jsonValue) : + m_streamPolicyHasBeenSet(false) +{ + *this = jsonValue; +} + +DynamodbStreamConfiguration& DynamodbStreamConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("streamPolicy")) + { + m_streamPolicy = jsonValue.GetString("streamPolicy"); + + m_streamPolicyHasBeenSet = true; + } + + return *this; +} + +JsonValue DynamodbStreamConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_streamPolicyHasBeenSet) + { + payload.WithString("streamPolicy", m_streamPolicy); + + } + + return payload; +} + +} // namespace Model +} // namespace AccessAnalyzer +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbTableConfiguration.cpp b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbTableConfiguration.cpp new file mode 100644 index 00000000000..e6cf6d81703 --- /dev/null +++ b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/DynamodbTableConfiguration.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 AccessAnalyzer +{ +namespace Model +{ + +DynamodbTableConfiguration::DynamodbTableConfiguration() : + m_tablePolicyHasBeenSet(false) +{ +} + +DynamodbTableConfiguration::DynamodbTableConfiguration(JsonView jsonValue) : + m_tablePolicyHasBeenSet(false) +{ + *this = jsonValue; +} + +DynamodbTableConfiguration& DynamodbTableConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("tablePolicy")) + { + m_tablePolicy = jsonValue.GetString("tablePolicy"); + + m_tablePolicyHasBeenSet = true; + } + + return *this; +} + +JsonValue DynamodbTableConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_tablePolicyHasBeenSet) + { + payload.WithString("tablePolicy", m_tablePolicy); + + } + + return payload; +} + +} // namespace Model +} // namespace AccessAnalyzer +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ResourceType.cpp index c60e34a97be..e7fa2fe360f 100644 --- a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ResourceType.cpp +++ b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ResourceType.cpp @@ -34,6 +34,8 @@ namespace Aws static const int AWS_RDS_DBClusterSnapshot_HASH = HashingUtils::HashString("AWS::RDS::DBClusterSnapshot"); static const int AWS_SNS_Topic_HASH = HashingUtils::HashString("AWS::SNS::Topic"); static const int AWS_S3Express_DirectoryBucket_HASH = HashingUtils::HashString("AWS::S3Express::DirectoryBucket"); + static const int AWS_DynamoDB_Table_HASH = HashingUtils::HashString("AWS::DynamoDB::Table"); + static const int AWS_DynamoDB_Stream_HASH = HashingUtils::HashString("AWS::DynamoDB::Stream"); ResourceType GetResourceTypeForName(const Aws::String& name) @@ -95,6 +97,14 @@ namespace Aws { return ResourceType::AWS_S3Express_DirectoryBucket; } + else if (hashCode == AWS_DynamoDB_Table_HASH) + { + return ResourceType::AWS_DynamoDB_Table; + } + else if (hashCode == AWS_DynamoDB_Stream_HASH) + { + return ResourceType::AWS_DynamoDB_Stream; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -139,6 +149,10 @@ namespace Aws return "AWS::SNS::Topic"; case ResourceType::AWS_S3Express_DirectoryBucket: return "AWS::S3Express::DirectoryBucket"; + case ResourceType::AWS_DynamoDB_Table: + return "AWS::DynamoDB::Table"; + case ResourceType::AWS_DynamoDB_Stream: + return "AWS::DynamoDB::Stream"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ValidatePolicyResourceType.cpp b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ValidatePolicyResourceType.cpp index 363d48a2573..1570cd5245f 100644 --- a/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ValidatePolicyResourceType.cpp +++ b/generated/src/aws-cpp-sdk-accessanalyzer/source/model/ValidatePolicyResourceType.cpp @@ -25,6 +25,7 @@ namespace Aws static const int AWS_S3_MultiRegionAccessPoint_HASH = HashingUtils::HashString("AWS::S3::MultiRegionAccessPoint"); static const int AWS_S3ObjectLambda_AccessPoint_HASH = HashingUtils::HashString("AWS::S3ObjectLambda::AccessPoint"); static const int AWS_IAM_AssumeRolePolicyDocument_HASH = HashingUtils::HashString("AWS::IAM::AssumeRolePolicyDocument"); + static const int AWS_DynamoDB_Table_HASH = HashingUtils::HashString("AWS::DynamoDB::Table"); ValidatePolicyResourceType GetValidatePolicyResourceTypeForName(const Aws::String& name) @@ -50,6 +51,10 @@ namespace Aws { return ValidatePolicyResourceType::AWS_IAM_AssumeRolePolicyDocument; } + else if (hashCode == AWS_DynamoDB_Table_HASH) + { + return ValidatePolicyResourceType::AWS_DynamoDB_Table; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -76,6 +81,8 @@ namespace Aws return "AWS::S3ObjectLambda::AccessPoint"; case ValidatePolicyResourceType::AWS_IAM_AssumeRolePolicyDocument: return "AWS::IAM::AssumeRolePolicyDocument"; + case ValidatePolicyResourceType::AWS_DynamoDB_Table: + return "AWS::DynamoDB::Table"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h index f1f580c25b9..91798e43443 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h @@ -40,236 +40,290 @@ namespace Model /** - *

The type of webhook filter. There are six webhook filter types: + *

The type of webhook filter. There are eight webhook filter types: * EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, - * BASE_REF, FILE_PATH, and COMMIT_MESSAGE. - *

  • EVENT

    • A webhook event triggers a build - * when the provided pattern matches one of six event types: - * PUSH, PULL_REQUEST_CREATED, - * PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, - * PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The - * EVENT patterns are specified as a comma-separated string. For - * example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - * all push, pull request created, and pull request updated events.

      - * The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise - * only.

  • ACTOR_ACCOUNT_ID

    • - * A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - * account ID matches the regular expression pattern.

    - *
  • HEAD_REF

    • A webhook event triggers a build when - * the head reference matches the regular expression pattern. For - * example, refs/heads/branch-name and - * refs/tags/tag-name.

      Works with GitHub and GitHub - * Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and - * Bitbucket pull request events.

  • BASE_REF

      - *
    • A webhook event triggers a build when the base reference matches the - * regular expression pattern. For example, - * refs/heads/branch-name.

      Works with pull request - * events only.

  • FILE_PATH

    • - * A webhook triggers a build when the path of a changed file matches the regular - * expression pattern.

      Works with GitHub and Bitbucket - * events push and pull requests events. Also works with GitHub Enterprise push - * events, but does not work with GitHub Enterprise pull request events.

      - *
  • COMMIT_MESSAGE

    • A webhook - * triggers a build when the head commit message matches the regular expression - * pattern.

      Works with GitHub and Bitbucket events push - * and pull requests events. Also works with GitHub Enterprise push events, but - * does not work with GitHub Enterprise pull request events.

    • - *
+ * BASE_REF, FILE_PATH, COMMIT_MESSAGE, + * TAG_NAME, and RELEASE_NAME.

  • EVENT + *

    • A webhook event triggers a build when the provided + * pattern matches one of eight event types: PUSH, + * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + * PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, + * PULL_REQUEST_MERGED, RELEASED, and + * PRERELEASED. The EVENT patterns are specified as a + * comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, + * PULL_REQUEST_UPDATED filters all push, pull request created, and pull + * request updated events.

      The PULL_REQUEST_REOPENED + * works with GitHub and GitHub Enterprise only. The RELEASED and + * PRERELEASED work with GitHub only.

  • + *
  • ACTOR_ACCOUNT_ID

    • A webhook event triggers a build when + * a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular + * expression pattern.

  • HEAD_REF

    + *
    • A webhook event triggers a build when the head reference matches + * the regular expression pattern. For example, + * refs/heads/branch-name and refs/tags/tag-name.

      + *

      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

      + *
  • BASE_REF

    • A webhook event + * triggers a build when the base reference matches the regular expression + * pattern. For example, refs/heads/branch-name.

      + *

      Works with pull request events only.

  • + *
  • FILE_PATH

    • A webhook triggers a build when the path of + * a changed file matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    COMMIT_MESSAGE

    • A webhook triggers a build when the head + * commit message matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    TAG_NAME

    • A webhook triggers a build when the tag name of the + * release matches the regular expression pattern.

      + * Works with RELEASED and PRERELEASED events only.

      + *
  • RELEASE_NAME

    • A webhook + * triggers a build when the release name matches the regular expression + * pattern.

      Works with RELEASED and + * PRERELEASED events only.

*/ inline const WebhookFilterType& GetType() const{ return m_type; } /** - *

The type of webhook filter. There are six webhook filter types: + *

The type of webhook filter. There are eight webhook filter types: * EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, - * BASE_REF, FILE_PATH, and COMMIT_MESSAGE. - *

  • EVENT

    • A webhook event triggers a build - * when the provided pattern matches one of six event types: - * PUSH, PULL_REQUEST_CREATED, - * PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, - * PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The - * EVENT patterns are specified as a comma-separated string. For - * example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - * all push, pull request created, and pull request updated events.

      - * The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise - * only.

  • ACTOR_ACCOUNT_ID

    • - * A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - * account ID matches the regular expression pattern.

    - *
  • HEAD_REF

    • A webhook event triggers a build when - * the head reference matches the regular expression pattern. For - * example, refs/heads/branch-name and - * refs/tags/tag-name.

      Works with GitHub and GitHub - * Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and - * Bitbucket pull request events.

  • BASE_REF

      - *
    • A webhook event triggers a build when the base reference matches the - * regular expression pattern. For example, - * refs/heads/branch-name.

      Works with pull request - * events only.

  • FILE_PATH

    • - * A webhook triggers a build when the path of a changed file matches the regular - * expression pattern.

      Works with GitHub and Bitbucket - * events push and pull requests events. Also works with GitHub Enterprise push - * events, but does not work with GitHub Enterprise pull request events.

      - *
  • COMMIT_MESSAGE

    • A webhook - * triggers a build when the head commit message matches the regular expression - * pattern.

      Works with GitHub and Bitbucket events push - * and pull requests events. Also works with GitHub Enterprise push events, but - * does not work with GitHub Enterprise pull request events.

    • - *
+ * BASE_REF, FILE_PATH, COMMIT_MESSAGE, + * TAG_NAME, and RELEASE_NAME.

  • EVENT + *

    • A webhook event triggers a build when the provided + * pattern matches one of eight event types: PUSH, + * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + * PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, + * PULL_REQUEST_MERGED, RELEASED, and + * PRERELEASED. The EVENT patterns are specified as a + * comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, + * PULL_REQUEST_UPDATED filters all push, pull request created, and pull + * request updated events.

      The PULL_REQUEST_REOPENED + * works with GitHub and GitHub Enterprise only. The RELEASED and + * PRERELEASED work with GitHub only.

  • + *
  • ACTOR_ACCOUNT_ID

    • A webhook event triggers a build when + * a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular + * expression pattern.

  • HEAD_REF

    + *
    • A webhook event triggers a build when the head reference matches + * the regular expression pattern. For example, + * refs/heads/branch-name and refs/tags/tag-name.

      + *

      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

      + *
  • BASE_REF

    • A webhook event + * triggers a build when the base reference matches the regular expression + * pattern. For example, refs/heads/branch-name.

      + *

      Works with pull request events only.

  • + *
  • FILE_PATH

    • A webhook triggers a build when the path of + * a changed file matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    COMMIT_MESSAGE

    • A webhook triggers a build when the head + * commit message matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    TAG_NAME

    • A webhook triggers a build when the tag name of the + * release matches the regular expression pattern.

      + * Works with RELEASED and PRERELEASED events only.

      + *
  • RELEASE_NAME

    • A webhook + * triggers a build when the release name matches the regular expression + * pattern.

      Works with RELEASED and + * PRERELEASED events only.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** - *

The type of webhook filter. There are six webhook filter types: + *

The type of webhook filter. There are eight webhook filter types: * EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, - * BASE_REF, FILE_PATH, and COMMIT_MESSAGE. - *

  • EVENT

    • A webhook event triggers a build - * when the provided pattern matches one of six event types: - * PUSH, PULL_REQUEST_CREATED, - * PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, - * PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The - * EVENT patterns are specified as a comma-separated string. For - * example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - * all push, pull request created, and pull request updated events.

      - * The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise - * only.

  • ACTOR_ACCOUNT_ID

    • - * A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - * account ID matches the regular expression pattern.

    - *
  • HEAD_REF

    • A webhook event triggers a build when - * the head reference matches the regular expression pattern. For - * example, refs/heads/branch-name and - * refs/tags/tag-name.

      Works with GitHub and GitHub - * Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and - * Bitbucket pull request events.

  • BASE_REF

      - *
    • A webhook event triggers a build when the base reference matches the - * regular expression pattern. For example, - * refs/heads/branch-name.

      Works with pull request - * events only.

  • FILE_PATH

    • - * A webhook triggers a build when the path of a changed file matches the regular - * expression pattern.

      Works with GitHub and Bitbucket - * events push and pull requests events. Also works with GitHub Enterprise push - * events, but does not work with GitHub Enterprise pull request events.

      - *
  • COMMIT_MESSAGE

    • A webhook - * triggers a build when the head commit message matches the regular expression - * pattern.

      Works with GitHub and Bitbucket events push - * and pull requests events. Also works with GitHub Enterprise push events, but - * does not work with GitHub Enterprise pull request events.

    • - *
+ * BASE_REF, FILE_PATH, COMMIT_MESSAGE, + * TAG_NAME, and RELEASE_NAME.

  • EVENT + *

    • A webhook event triggers a build when the provided + * pattern matches one of eight event types: PUSH, + * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + * PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, + * PULL_REQUEST_MERGED, RELEASED, and + * PRERELEASED. The EVENT patterns are specified as a + * comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, + * PULL_REQUEST_UPDATED filters all push, pull request created, and pull + * request updated events.

      The PULL_REQUEST_REOPENED + * works with GitHub and GitHub Enterprise only. The RELEASED and + * PRERELEASED work with GitHub only.

  • + *
  • ACTOR_ACCOUNT_ID

    • A webhook event triggers a build when + * a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular + * expression pattern.

  • HEAD_REF

    + *
    • A webhook event triggers a build when the head reference matches + * the regular expression pattern. For example, + * refs/heads/branch-name and refs/tags/tag-name.

      + *

      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

      + *
  • BASE_REF

    • A webhook event + * triggers a build when the base reference matches the regular expression + * pattern. For example, refs/heads/branch-name.

      + *

      Works with pull request events only.

  • + *
  • FILE_PATH

    • A webhook triggers a build when the path of + * a changed file matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    COMMIT_MESSAGE

    • A webhook triggers a build when the head + * commit message matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    TAG_NAME

    • A webhook triggers a build when the tag name of the + * release matches the regular expression pattern.

      + * Works with RELEASED and PRERELEASED events only.

      + *
  • RELEASE_NAME

    • A webhook + * triggers a build when the release name matches the regular expression + * pattern.

      Works with RELEASED and + * PRERELEASED events only.

*/ inline void SetType(const WebhookFilterType& value) { m_typeHasBeenSet = true; m_type = value; } /** - *

The type of webhook filter. There are six webhook filter types: + *

The type of webhook filter. There are eight webhook filter types: * EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, - * BASE_REF, FILE_PATH, and COMMIT_MESSAGE. - *

  • EVENT

    • A webhook event triggers a build - * when the provided pattern matches one of six event types: - * PUSH, PULL_REQUEST_CREATED, - * PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, - * PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The - * EVENT patterns are specified as a comma-separated string. For - * example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - * all push, pull request created, and pull request updated events.

      - * The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise - * only.

  • ACTOR_ACCOUNT_ID

    • - * A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - * account ID matches the regular expression pattern.

    - *
  • HEAD_REF

    • A webhook event triggers a build when - * the head reference matches the regular expression pattern. For - * example, refs/heads/branch-name and - * refs/tags/tag-name.

      Works with GitHub and GitHub - * Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and - * Bitbucket pull request events.

  • BASE_REF

      - *
    • A webhook event triggers a build when the base reference matches the - * regular expression pattern. For example, - * refs/heads/branch-name.

      Works with pull request - * events only.

  • FILE_PATH

    • - * A webhook triggers a build when the path of a changed file matches the regular - * expression pattern.

      Works with GitHub and Bitbucket - * events push and pull requests events. Also works with GitHub Enterprise push - * events, but does not work with GitHub Enterprise pull request events.

      - *
  • COMMIT_MESSAGE

    • A webhook - * triggers a build when the head commit message matches the regular expression - * pattern.

      Works with GitHub and Bitbucket events push - * and pull requests events. Also works with GitHub Enterprise push events, but - * does not work with GitHub Enterprise pull request events.

    • - *
+ * BASE_REF, FILE_PATH, COMMIT_MESSAGE, + * TAG_NAME, and RELEASE_NAME.

  • EVENT + *

    • A webhook event triggers a build when the provided + * pattern matches one of eight event types: PUSH, + * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + * PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, + * PULL_REQUEST_MERGED, RELEASED, and + * PRERELEASED. The EVENT patterns are specified as a + * comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, + * PULL_REQUEST_UPDATED filters all push, pull request created, and pull + * request updated events.

      The PULL_REQUEST_REOPENED + * works with GitHub and GitHub Enterprise only. The RELEASED and + * PRERELEASED work with GitHub only.

  • + *
  • ACTOR_ACCOUNT_ID

    • A webhook event triggers a build when + * a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular + * expression pattern.

  • HEAD_REF

    + *
    • A webhook event triggers a build when the head reference matches + * the regular expression pattern. For example, + * refs/heads/branch-name and refs/tags/tag-name.

      + *

      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

      + *
  • BASE_REF

    • A webhook event + * triggers a build when the base reference matches the regular expression + * pattern. For example, refs/heads/branch-name.

      + *

      Works with pull request events only.

  • + *
  • FILE_PATH

    • A webhook triggers a build when the path of + * a changed file matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    COMMIT_MESSAGE

    • A webhook triggers a build when the head + * commit message matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    TAG_NAME

    • A webhook triggers a build when the tag name of the + * release matches the regular expression pattern.

      + * Works with RELEASED and PRERELEASED events only.

      + *
  • RELEASE_NAME

    • A webhook + * triggers a build when the release name matches the regular expression + * pattern.

      Works with RELEASED and + * PRERELEASED events only.

*/ inline void SetType(WebhookFilterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** - *

The type of webhook filter. There are six webhook filter types: + *

The type of webhook filter. There are eight webhook filter types: * EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, - * BASE_REF, FILE_PATH, and COMMIT_MESSAGE. - *

  • EVENT

    • A webhook event triggers a build - * when the provided pattern matches one of six event types: - * PUSH, PULL_REQUEST_CREATED, - * PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, - * PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The - * EVENT patterns are specified as a comma-separated string. For - * example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - * all push, pull request created, and pull request updated events.

      - * The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise - * only.

  • ACTOR_ACCOUNT_ID

    • - * A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - * account ID matches the regular expression pattern.

    - *
  • HEAD_REF

    • A webhook event triggers a build when - * the head reference matches the regular expression pattern. For - * example, refs/heads/branch-name and - * refs/tags/tag-name.

      Works with GitHub and GitHub - * Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and - * Bitbucket pull request events.

  • BASE_REF

      - *
    • A webhook event triggers a build when the base reference matches the - * regular expression pattern. For example, - * refs/heads/branch-name.

      Works with pull request - * events only.

  • FILE_PATH

    • - * A webhook triggers a build when the path of a changed file matches the regular - * expression pattern.

      Works with GitHub and Bitbucket - * events push and pull requests events. Also works with GitHub Enterprise push - * events, but does not work with GitHub Enterprise pull request events.

      - *
  • COMMIT_MESSAGE

    • A webhook - * triggers a build when the head commit message matches the regular expression - * pattern.

      Works with GitHub and Bitbucket events push - * and pull requests events. Also works with GitHub Enterprise push events, but - * does not work with GitHub Enterprise pull request events.

    • - *
+ * BASE_REF, FILE_PATH, COMMIT_MESSAGE, + * TAG_NAME, and RELEASE_NAME.

  • EVENT + *

    • A webhook event triggers a build when the provided + * pattern matches one of eight event types: PUSH, + * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + * PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, + * PULL_REQUEST_MERGED, RELEASED, and + * PRERELEASED. The EVENT patterns are specified as a + * comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, + * PULL_REQUEST_UPDATED filters all push, pull request created, and pull + * request updated events.

      The PULL_REQUEST_REOPENED + * works with GitHub and GitHub Enterprise only. The RELEASED and + * PRERELEASED work with GitHub only.

  • + *
  • ACTOR_ACCOUNT_ID

    • A webhook event triggers a build when + * a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular + * expression pattern.

  • HEAD_REF

    + *
    • A webhook event triggers a build when the head reference matches + * the regular expression pattern. For example, + * refs/heads/branch-name and refs/tags/tag-name.

      + *

      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

      + *
  • BASE_REF

    • A webhook event + * triggers a build when the base reference matches the regular expression + * pattern. For example, refs/heads/branch-name.

      + *

      Works with pull request events only.

  • + *
  • FILE_PATH

    • A webhook triggers a build when the path of + * a changed file matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    COMMIT_MESSAGE

    • A webhook triggers a build when the head + * commit message matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    TAG_NAME

    • A webhook triggers a build when the tag name of the + * release matches the regular expression pattern.

      + * Works with RELEASED and PRERELEASED events only.

      + *
  • RELEASE_NAME

    • A webhook + * triggers a build when the release name matches the regular expression + * pattern.

      Works with RELEASED and + * PRERELEASED events only.

*/ inline WebhookFilter& WithType(const WebhookFilterType& value) { SetType(value); return *this;} /** - *

The type of webhook filter. There are six webhook filter types: + *

The type of webhook filter. There are eight webhook filter types: * EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, - * BASE_REF, FILE_PATH, and COMMIT_MESSAGE. - *

  • EVENT

    • A webhook event triggers a build - * when the provided pattern matches one of six event types: - * PUSH, PULL_REQUEST_CREATED, - * PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, - * PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The - * EVENT patterns are specified as a comma-separated string. For - * example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - * all push, pull request created, and pull request updated events.

      - * The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise - * only.

  • ACTOR_ACCOUNT_ID

    • - * A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - * account ID matches the regular expression pattern.

    - *
  • HEAD_REF

    • A webhook event triggers a build when - * the head reference matches the regular expression pattern. For - * example, refs/heads/branch-name and - * refs/tags/tag-name.

      Works with GitHub and GitHub - * Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and - * Bitbucket pull request events.

  • BASE_REF

      - *
    • A webhook event triggers a build when the base reference matches the - * regular expression pattern. For example, - * refs/heads/branch-name.

      Works with pull request - * events only.

  • FILE_PATH

    • - * A webhook triggers a build when the path of a changed file matches the regular - * expression pattern.

      Works with GitHub and Bitbucket - * events push and pull requests events. Also works with GitHub Enterprise push - * events, but does not work with GitHub Enterprise pull request events.

      - *
  • COMMIT_MESSAGE

    • A webhook - * triggers a build when the head commit message matches the regular expression - * pattern.

      Works with GitHub and Bitbucket events push - * and pull requests events. Also works with GitHub Enterprise push events, but - * does not work with GitHub Enterprise pull request events.

    • - *
+ * BASE_REF, FILE_PATH, COMMIT_MESSAGE, + * TAG_NAME, and RELEASE_NAME.

  • EVENT + *

    • A webhook event triggers a build when the provided + * pattern matches one of eight event types: PUSH, + * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + * PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, + * PULL_REQUEST_MERGED, RELEASED, and + * PRERELEASED. The EVENT patterns are specified as a + * comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, + * PULL_REQUEST_UPDATED filters all push, pull request created, and pull + * request updated events.

      The PULL_REQUEST_REOPENED + * works with GitHub and GitHub Enterprise only. The RELEASED and + * PRERELEASED work with GitHub only.

  • + *
  • ACTOR_ACCOUNT_ID

    • A webhook event triggers a build when + * a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular + * expression pattern.

  • HEAD_REF

    + *
    • A webhook event triggers a build when the head reference matches + * the regular expression pattern. For example, + * refs/heads/branch-name and refs/tags/tag-name.

      + *

      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + * Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

      + *
  • BASE_REF

    • A webhook event + * triggers a build when the base reference matches the regular expression + * pattern. For example, refs/heads/branch-name.

      + *

      Works with pull request events only.

  • + *
  • FILE_PATH

    • A webhook triggers a build when the path of + * a changed file matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    COMMIT_MESSAGE

    • A webhook triggers a build when the head + * commit message matches the regular expression pattern.

      + *

      Works with GitHub and Bitbucket events push and pull requests events. Also + * works with GitHub Enterprise push events, but does not work with GitHub + * Enterprise pull request events.

  • + *

    TAG_NAME

    • A webhook triggers a build when the tag name of the + * release matches the regular expression pattern.

      + * Works with RELEASED and PRERELEASED events only.

      + *
  • RELEASE_NAME

    • A webhook + * triggers a build when the release name matches the regular expression + * pattern.

      Works with RELEASED and + * PRERELEASED events only.

*/ inline WebhookFilter& WithType(WebhookFilterType&& value) { SetType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateInstanceStorageConfigRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateInstanceStorageConfigRequest.h index d3b8ed9ebe6..e04a047df76 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateInstanceStorageConfigRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateInstanceStorageConfigRequest.h @@ -92,32 +92,104 @@ namespace Model /** - *

A valid resource type.

+ *

A valid resource type. To enable + * streaming for real-time analysis of contacts, use the following types:

+ *
  • For chat contacts, use + * REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

  • For + * voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

    + *

REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is + * deprecated, but it is still supported and will apply only to VOICE channel + * contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice + * contacts moving forward.

If you have previously associated a stream with + * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update + * the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

+ * */ inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; } /** - *

A valid resource type.

+ *

A valid resource type. To enable + * streaming for real-time analysis of contacts, use the following types:

+ *
  • For chat contacts, use + * REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

  • For + * voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

    + *

REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is + * deprecated, but it is still supported and will apply only to VOICE channel + * contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice + * contacts moving forward.

If you have previously associated a stream with + * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update + * the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

+ * */ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** - *

A valid resource type.

+ *

A valid resource type. To enable + * streaming for real-time analysis of contacts, use the following types:

+ *
  • For chat contacts, use + * REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

  • For + * voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

    + *

REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is + * deprecated, but it is still supported and will apply only to VOICE channel + * contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice + * contacts moving forward.

If you have previously associated a stream with + * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update + * the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

+ * */ inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** - *

A valid resource type.

+ *

A valid resource type. To enable + * streaming for real-time analysis of contacts, use the following types:

+ *
  • For chat contacts, use + * REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

  • For + * voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

    + *

REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is + * deprecated, but it is still supported and will apply only to VOICE channel + * contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice + * contacts moving forward.

If you have previously associated a stream with + * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update + * the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

+ * */ inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** - *

A valid resource type.

+ *

A valid resource type. To enable + * streaming for real-time analysis of contacts, use the following types:

+ *
  • For chat contacts, use + * REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

  • For + * voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

    + *

REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is + * deprecated, but it is still supported and will apply only to VOICE channel + * contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice + * contacts moving forward.

If you have previously associated a stream with + * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update + * the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

+ * */ inline AssociateInstanceStorageConfigRequest& WithResourceType(const InstanceStorageResourceType& value) { SetResourceType(value); return *this;} /** - *

A valid resource type.

+ *

A valid resource type. To enable + * streaming for real-time analysis of contacts, use the following types:

+ *
  • For chat contacts, use + * REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

  • For + * voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

    + *

REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is + * deprecated, but it is still supported and will apply only to VOICE channel + * contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice + * contacts moving forward.

If you have previously associated a stream with + * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update + * the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

+ * */ inline AssociateInstanceStorageConfigRequest& WithResourceType(InstanceStorageResourceType&& value) { SetResourceType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceStorageResourceType.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceStorageResourceType.h index f914d763ba2..e4c6e9146c5 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceStorageResourceType.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/InstanceStorageResourceType.h @@ -25,7 +25,9 @@ namespace Model REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, - SCREEN_RECORDINGS + SCREEN_RECORDINGS, + REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, + REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS }; namespace InstanceStorageResourceTypeMapper diff --git a/generated/src/aws-cpp-sdk-connect/source/model/InstanceStorageResourceType.cpp b/generated/src/aws-cpp-sdk-connect/source/model/InstanceStorageResourceType.cpp index e6cd88864eb..310f5aa60f3 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/InstanceStorageResourceType.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/InstanceStorageResourceType.cpp @@ -30,6 +30,8 @@ namespace Aws static const int ATTACHMENTS_HASH = HashingUtils::HashString("ATTACHMENTS"); static const int CONTACT_EVALUATIONS_HASH = HashingUtils::HashString("CONTACT_EVALUATIONS"); static const int SCREEN_RECORDINGS_HASH = HashingUtils::HashString("SCREEN_RECORDINGS"); + static const int REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS_HASH = HashingUtils::HashString("REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS"); + static const int REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS_HASH = HashingUtils::HashString("REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS"); InstanceStorageResourceType GetInstanceStorageResourceTypeForName(const Aws::String& name) @@ -75,6 +77,14 @@ namespace Aws { return InstanceStorageResourceType::SCREEN_RECORDINGS; } + else if (hashCode == REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS_HASH) + { + return InstanceStorageResourceType::REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS; + } + else if (hashCode == REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS_HASH) + { + return InstanceStorageResourceType::REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -111,6 +121,10 @@ namespace Aws return "CONTACT_EVALUATIONS"; case InstanceStorageResourceType::SCREEN_RECORDINGS: return "SCREEN_RECORDINGS"; + case InstanceStorageResourceType::REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS: + return "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS"; + case InstanceStorageResourceType::REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS: + return "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h index 45c42e4f652..a3dd34ff2ba 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h @@ -488,6 +488,46 @@ namespace DynamoDB return SubmitAsync(&DynamoDBClient::DeleteItem, request, handler, context); } + /** + *

Deletes the resource-based policy attached to the resource, which can be a + * table or stream.

DeleteResourcePolicy is an idempotent + * operation; running it multiple times on the same resource doesn't result + * in an error response, unless you specify an ExpectedRevisionId, + * which will then return a PolicyNotFoundException.

+ *

To make sure that you don't inadvertently lock yourself out of your own + * resources, the root principal in your Amazon Web Services account can perform + * DeleteResourcePolicy requests, even if your resource-based policy + * explicitly denies the root principal's access.

+ * DeleteResourcePolicy is an asynchronous operation. If you issue a + * GetResourcePolicy request immediately after running the + * DeleteResourcePolicy request, DynamoDB might still return the + * deleted policy. This is because the policy for your resource might not have been + * deleted yet. Wait for a few seconds, and then try the + * GetResourcePolicy request again.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::DeleteResourcePolicyOutcome DeleteResourcePolicy(const Model::DeleteResourcePolicyRequest& request) const; + + /** + * A Callable wrapper for DeleteResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteResourcePolicyOutcomeCallable DeleteResourcePolicyCallable(const DeleteResourcePolicyRequestT& request) const + { + return SubmitCallable(&DynamoDBClient::DeleteResourcePolicy, request); + } + + /** + * An Async wrapper for DeleteResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteResourcePolicyAsync(const DeleteResourcePolicyRequestT& request, const DeleteResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DynamoDBClient::DeleteResourcePolicy, request, handler, context); + } + /** *

The DeleteTable operation deletes a table and all of its items. * After a DeleteTable request, the specified table is in the @@ -1137,6 +1177,57 @@ namespace DynamoDB return SubmitAsync(&DynamoDBClient::GetItem, request, handler, context); } + /** + *

Returns the resource-based policy document attached to the resource, which + * can be a table or stream, in JSON format.

GetResourcePolicy + * follows an + * eventually consistent model. The following list describes the + * outcomes when you issue the GetResourcePolicy request immediately + * after issuing another request:

  • If you issue a + * GetResourcePolicy request immediately after a + * PutResourcePolicy request, DynamoDB might return a + * PolicyNotFoundException.

  • If you issue a + * GetResourcePolicyrequest immediately after a + * DeleteResourcePolicy request, DynamoDB might return the policy that + * was present before the deletion request.

  • If you issue a + * GetResourcePolicy request immediately after a + * CreateTable request, which includes a resource-based policy, + * DynamoDB might return a ResourceNotFoundException or a + * PolicyNotFoundException.

Because + * GetResourcePolicy uses an eventually consistent query, the + * metadata for your policy or table might not be available at that moment. Wait + * for a few seconds, and then retry the GetResourcePolicy + * request.

After a GetResourcePolicy request returns a policy + * created using the PutResourcePolicy request, you can assume the + * policy will start getting applied in the authorization of requests to the + * resource. Because this process is eventually consistent, it will take some time + * to apply the policy to all requests to a resource. Policies that you attach + * while creating a table using the CreateTable request will always be + * applied to all requests for that table.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetResourcePolicyOutcome GetResourcePolicy(const Model::GetResourcePolicyRequest& request) const; + + /** + * A Callable wrapper for GetResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetResourcePolicyOutcomeCallable GetResourcePolicyCallable(const GetResourcePolicyRequestT& request) const + { + return SubmitCallable(&DynamoDBClient::GetResourcePolicy, request); + } + + /** + * An Async wrapper for GetResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetResourcePolicyAsync(const GetResourcePolicyRequestT& request, const GetResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DynamoDBClient::GetResourcePolicy, request, handler, context); + } + /** *

Imports table data from an S3 bucket.

See Also:

AWS @@ -1415,6 +1506,48 @@ namespace DynamoDB return SubmitAsync(&DynamoDBClient::PutItem, request, handler, context); } + /** + *

Attaches a resource-based policy document to the resource, which can be a + * table or stream. When you attach a resource-based policy using this API, the + * policy application is + * eventually consistent .

PutResourcePolicy is an + * idempotent operation; running it multiple times on the same resource using the + * same policy document will return the same revision ID. If you specify an + * ExpectedRevisionId which doesn't match the current policy's + * RevisionId, the PolicyNotFoundException will be + * returned.

PutResourcePolicy is an asynchronous + * operation. If you issue a GetResourcePolicy request immediately + * after a PutResourcePolicy request, DynamoDB might return your + * previous policy, if there was one, or return the + * PolicyNotFoundException. This is because + * GetResourcePolicy uses an eventually consistent query, and the + * metadata for your policy or table might not be available at that moment. Wait + * for a few seconds, and then try the GetResourcePolicy request + * again.

See Also:

AWS + * API Reference

+ */ + virtual Model::PutResourcePolicyOutcome PutResourcePolicy(const Model::PutResourcePolicyRequest& request) const; + + /** + * A Callable wrapper for PutResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutResourcePolicyOutcomeCallable PutResourcePolicyCallable(const PutResourcePolicyRequestT& request) const + { + return SubmitCallable(&DynamoDBClient::PutResourcePolicy, request); + } + + /** + * An Async wrapper for PutResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutResourcePolicyAsync(const PutResourcePolicyRequestT& request, const PutResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DynamoDBClient::PutResourcePolicy, request, handler, context); + } + /** *

You must provide the name of the partition key attribute and a single value * for that attribute. Query returns all items with that partition key @@ -2019,9 +2152,8 @@ namespace DynamoDB * UpdateTable is an asynchronous operation; while it's executing, the * table status changes from ACTIVE to UPDATING. While * it's UPDATING, you can't issue another UpdateTable - * request on the base table nor any replicas. When the table returns to the - * ACTIVE state, the UpdateTable operation is - * complete.

See Also:

ACTIVE state, the + * UpdateTable operation is complete.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h index ca62ebdf1d5..2a1559ff8f7 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h @@ -65,6 +65,7 @@ enum class DynamoDBErrors ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED, LIMIT_EXCEEDED, POINT_IN_TIME_RECOVERY_UNAVAILABLE, + POLICY_NOT_FOUND, PROVISIONED_THROUGHPUT_EXCEEDED, REPLICA_ALREADY_EXISTS, REPLICA_NOT_FOUND, diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBServiceClientModel.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBServiceClientModel.h index 0e988184073..4a86c006c61 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBServiceClientModel.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -47,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -56,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -120,6 +123,7 @@ namespace Aws class CreateTableRequest; class DeleteBackupRequest; class DeleteItemRequest; + class DeleteResourcePolicyRequest; class DeleteTableRequest; class DescribeBackupRequest; class DescribeContinuousBackupsRequest; @@ -140,6 +144,7 @@ namespace Aws class ExecuteTransactionRequest; class ExportTableToPointInTimeRequest; class GetItemRequest; + class GetResourcePolicyRequest; class ImportTableRequest; class ListBackupsRequest; class ListContributorInsightsRequest; @@ -149,6 +154,7 @@ namespace Aws class ListTablesRequest; class ListTagsOfResourceRequest; class PutItemRequest; + class PutResourcePolicyRequest; class QueryRequest; class RestoreTableFromBackupRequest; class RestoreTableToPointInTimeRequest; @@ -177,6 +183,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateTableOutcome; typedef Aws::Utils::Outcome DeleteBackupOutcome; typedef Aws::Utils::Outcome DeleteItemOutcome; + typedef Aws::Utils::Outcome DeleteResourcePolicyOutcome; typedef Aws::Utils::Outcome DeleteTableOutcome; typedef Aws::Utils::Outcome DescribeBackupOutcome; typedef Aws::Utils::Outcome DescribeContinuousBackupsOutcome; @@ -197,6 +204,7 @@ namespace Aws typedef Aws::Utils::Outcome ExecuteTransactionOutcome; typedef Aws::Utils::Outcome ExportTableToPointInTimeOutcome; typedef Aws::Utils::Outcome GetItemOutcome; + typedef Aws::Utils::Outcome GetResourcePolicyOutcome; typedef Aws::Utils::Outcome ImportTableOutcome; typedef Aws::Utils::Outcome ListBackupsOutcome; typedef Aws::Utils::Outcome ListContributorInsightsOutcome; @@ -206,6 +214,7 @@ namespace Aws typedef Aws::Utils::Outcome ListTablesOutcome; typedef Aws::Utils::Outcome ListTagsOfResourceOutcome; typedef Aws::Utils::Outcome PutItemOutcome; + typedef Aws::Utils::Outcome PutResourcePolicyOutcome; typedef Aws::Utils::Outcome QueryOutcome; typedef Aws::Utils::Outcome RestoreTableFromBackupOutcome; typedef Aws::Utils::Outcome RestoreTableToPointInTimeOutcome; @@ -234,6 +243,7 @@ namespace Aws typedef std::future CreateTableOutcomeCallable; typedef std::future DeleteBackupOutcomeCallable; typedef std::future DeleteItemOutcomeCallable; + typedef std::future DeleteResourcePolicyOutcomeCallable; typedef std::future DeleteTableOutcomeCallable; typedef std::future DescribeBackupOutcomeCallable; typedef std::future DescribeContinuousBackupsOutcomeCallable; @@ -254,6 +264,7 @@ namespace Aws typedef std::future ExecuteTransactionOutcomeCallable; typedef std::future ExportTableToPointInTimeOutcomeCallable; typedef std::future GetItemOutcomeCallable; + typedef std::future GetResourcePolicyOutcomeCallable; typedef std::future ImportTableOutcomeCallable; typedef std::future ListBackupsOutcomeCallable; typedef std::future ListContributorInsightsOutcomeCallable; @@ -263,6 +274,7 @@ namespace Aws typedef std::future ListTablesOutcomeCallable; typedef std::future ListTagsOfResourceOutcomeCallable; typedef std::future PutItemOutcomeCallable; + typedef std::future PutResourcePolicyOutcomeCallable; typedef std::future QueryOutcomeCallable; typedef std::future RestoreTableFromBackupOutcomeCallable; typedef std::future RestoreTableToPointInTimeOutcomeCallable; @@ -294,6 +306,7 @@ namespace Aws typedef std::function&) > CreateTableResponseReceivedHandler; typedef std::function&) > DeleteBackupResponseReceivedHandler; typedef std::function&) > DeleteItemResponseReceivedHandler; + typedef std::function&) > DeleteResourcePolicyResponseReceivedHandler; typedef std::function&) > DeleteTableResponseReceivedHandler; typedef std::function&) > DescribeBackupResponseReceivedHandler; typedef std::function&) > DescribeContinuousBackupsResponseReceivedHandler; @@ -314,6 +327,7 @@ namespace Aws typedef std::function&) > ExecuteTransactionResponseReceivedHandler; typedef std::function&) > ExportTableToPointInTimeResponseReceivedHandler; typedef std::function&) > GetItemResponseReceivedHandler; + typedef std::function&) > GetResourcePolicyResponseReceivedHandler; typedef std::function&) > ImportTableResponseReceivedHandler; typedef std::function&) > ListBackupsResponseReceivedHandler; typedef std::function&) > ListContributorInsightsResponseReceivedHandler; @@ -323,6 +337,7 @@ namespace Aws typedef std::function&) > ListTablesResponseReceivedHandler; typedef std::function&) > ListTagsOfResourceResponseReceivedHandler; typedef std::function&) > PutItemResponseReceivedHandler; + typedef std::function&) > PutResourcePolicyResponseReceivedHandler; typedef std::function&) > QueryResponseReceivedHandler; typedef std::function&) > RestoreTableFromBackupResponseReceivedHandler; typedef std::function&) > RestoreTableToPointInTimeResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemRequest.h index 30ac09f49f8..4878700ab84 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemRequest.h @@ -42,13 +42,13 @@ namespace Model /** - *

A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

Each element in the map of - * items to retrieve consists of the following:

  • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

  • ExpressionAttributeNames - One or more + *

    A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

    Each + * element in the map of items to retrieve consists of the following:

    • + *

      ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

    • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

      • To access an attribute @@ -93,13 +93,13 @@ namespace Model inline const Aws::Map& GetRequestItems() const{ return m_requestItems; } /** - *

        A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

        Each element in the map of - * items to retrieve consists of the following:

        • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

        • ExpressionAttributeNames - One or more + *

          A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

          Each + * element in the map of items to retrieve consists of the following:

          • + *

            ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

          • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

            • To access an attribute @@ -144,13 +144,13 @@ namespace Model inline bool RequestItemsHasBeenSet() const { return m_requestItemsHasBeenSet; } /** - *

              A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

              Each element in the map of - * items to retrieve consists of the following:

              • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

              • ExpressionAttributeNames - One or more + *

                A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                Each + * element in the map of items to retrieve consists of the following:

                • + *

                  ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                  • To access an attribute @@ -195,13 +195,13 @@ namespace Model inline void SetRequestItems(const Aws::Map& value) { m_requestItemsHasBeenSet = true; m_requestItems = value; } /** - *

                    A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                    Each element in the map of - * items to retrieve consists of the following:

                    • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                    • ExpressionAttributeNames - One or more + *

                      A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                      Each + * element in the map of items to retrieve consists of the following:

                      • + *

                        ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                      • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                        • To access an attribute @@ -246,13 +246,13 @@ namespace Model inline void SetRequestItems(Aws::Map&& value) { m_requestItemsHasBeenSet = true; m_requestItems = std::move(value); } /** - *

                          A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                          Each element in the map of - * items to retrieve consists of the following:

                          • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                          • ExpressionAttributeNames - One or more + *

                            A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                            Each + * element in the map of items to retrieve consists of the following:

                            • + *

                              ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                            • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                              • To access an attribute @@ -297,13 +297,13 @@ namespace Model inline BatchGetItemRequest& WithRequestItems(const Aws::Map& value) { SetRequestItems(value); return *this;} /** - *

                                A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                Each element in the map of - * items to retrieve consists of the following:

                                • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                • ExpressionAttributeNames - One or more + *

                                  A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                  Each + * element in the map of items to retrieve consists of the following:

                                  • + *

                                    ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                  • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                    • To access an attribute @@ -348,13 +348,13 @@ namespace Model inline BatchGetItemRequest& WithRequestItems(Aws::Map&& value) { SetRequestItems(std::move(value)); return *this;} /** - *

                                      A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                      Each element in the map of - * items to retrieve consists of the following:

                                      • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                      • ExpressionAttributeNames - One or more + *

                                        A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                        Each + * element in the map of items to retrieve consists of the following:

                                        • + *

                                          ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                        • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                          • To access an attribute @@ -399,13 +399,13 @@ namespace Model inline BatchGetItemRequest& AddRequestItems(const Aws::String& key, const KeysAndAttributes& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(key, value); return *this; } /** - *

                                            A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                            Each element in the map of - * items to retrieve consists of the following:

                                            • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                            • ExpressionAttributeNames - One or more + *

                                              A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                              Each + * element in the map of items to retrieve consists of the following:

                                              • + *

                                                ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                              • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                                • To access an attribute @@ -450,13 +450,13 @@ namespace Model inline BatchGetItemRequest& AddRequestItems(Aws::String&& key, const KeysAndAttributes& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(std::move(key), value); return *this; } /** - *

                                                  A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                                  Each element in the map of - * items to retrieve consists of the following:

                                                  • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                                  • ExpressionAttributeNames - One or more + *

                                                    A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                                    Each + * element in the map of items to retrieve consists of the following:

                                                    • + *

                                                      ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                                    • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                                      • To access an attribute @@ -501,13 +501,13 @@ namespace Model inline BatchGetItemRequest& AddRequestItems(const Aws::String& key, KeysAndAttributes&& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(key, std::move(value)); return *this; } /** - *

                                                        A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                                        Each element in the map of - * items to retrieve consists of the following:

                                                        • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                                        • ExpressionAttributeNames - One or more + *

                                                          A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                                          Each + * element in the map of items to retrieve consists of the following:

                                                          • + *

                                                            ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                                          • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                                            • To access an attribute @@ -552,13 +552,13 @@ namespace Model inline BatchGetItemRequest& AddRequestItems(Aws::String&& key, KeysAndAttributes&& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(std::move(key), std::move(value)); return *this; } /** - *

                                                              A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                                              Each element in the map of - * items to retrieve consists of the following:

                                                              • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                                              • ExpressionAttributeNames - One or more + *

                                                                A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                                                Each + * element in the map of items to retrieve consists of the following:

                                                                • + *

                                                                  ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                                                • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                                                  • To access an attribute @@ -603,13 +603,13 @@ namespace Model inline BatchGetItemRequest& AddRequestItems(const char* key, KeysAndAttributes&& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(key, std::move(value)); return *this; } /** - *

                                                                    A map of one or more table names and, for each table, a map that describes - * one or more items to retrieve from that table. Each table name can be used only - * once per BatchGetItem request.

                                                                    Each element in the map of - * items to retrieve consists of the following:

                                                                    • - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

                                                                    • ExpressionAttributeNames - One or more + *

                                                                      A map of one or more table names or table ARNs and, for each table, a map + * that describes one or more items to retrieve from that table. Each table name or + * ARN can be used only once per BatchGetItem request.

                                                                      Each + * element in the map of items to retrieve consists of the following:

                                                                      • + *

                                                                        ConsistentRead - If true, a strongly consistent + * read is used; if false (the default), an eventually consistent read + * is used.

                                                                      • ExpressionAttributeNames - One or more * substitution tokens for attribute names in the ProjectionExpression * parameter. The following are some use cases for using * ExpressionAttributeNames:

                                                                        • To access an attribute diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemResult.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemResult.h index 19028851162..3447312290a 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemResult.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchGetItemResult.h @@ -44,79 +44,79 @@ namespace Model /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline const Aws::Map>>& GetResponses() const{ return m_responses; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline void SetResponses(const Aws::Map>>& value) { m_responses = value; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline void SetResponses(Aws::Map>>&& value) { m_responses = std::move(value); } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& WithResponses(const Aws::Map>>& value) { SetResponses(value); return *this;} /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& WithResponses(Aws::Map>>&& value) { SetResponses(std::move(value)); return *this;} /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& AddResponses(const Aws::String& key, const Aws::Vector>& value) { m_responses.emplace(key, value); return *this; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& AddResponses(Aws::String&& key, const Aws::Vector>& value) { m_responses.emplace(std::move(key), value); return *this; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& AddResponses(const Aws::String& key, Aws::Vector>&& value) { m_responses.emplace(key, std::move(value)); return *this; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& AddResponses(Aws::String&& key, Aws::Vector>&& value) { m_responses.emplace(std::move(key), std::move(value)); return *this; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& AddResponses(const char* key, Aws::Vector>&& value) { m_responses.emplace(key, std::move(value)); return *this; } /** - *

                                                                          A map of table name to a list of items. Each object in Responses - * consists of a table name, along with a map of attribute data consisting of the - * data type and attribute value.

                                                                          + *

                                                                          A map of table name or table ARN to a list of items. Each object in + * Responses consists of a table name or ARN, along with a map of + * attribute data consisting of the data type and attribute value.

                                                                          */ inline BatchGetItemResult& AddResponses(const char* key, const Aws::Vector>& value) { m_responses.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemRequest.h index f5e29cb43df..75a6642111d 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemRequest.h @@ -44,20 +44,20 @@ namespace Model /** - *

                                                                          A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                          • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                            • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                              - *
                                                                          • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                            • + *

                                                                              A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                              + *
                                                                              • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                              • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -70,20 +70,20 @@ namespace Model inline const Aws::Map>& GetRequestItems() const{ return m_requestItems; } /** - *

                                                                                  A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                  • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                    • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                      - *
                                                                                  • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                    • + *

                                                                                      A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                      + *
                                                                                      • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                        • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                      • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                        • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -96,20 +96,20 @@ namespace Model inline bool RequestItemsHasBeenSet() const { return m_requestItemsHasBeenSet; } /** - *

                                                                                          A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                          • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                            • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                              - *
                                                                                          • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                            • + *

                                                                                              A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                              + *
                                                                                              • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                              • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -122,20 +122,20 @@ namespace Model inline void SetRequestItems(const Aws::Map>& value) { m_requestItemsHasBeenSet = true; m_requestItems = value; } /** - *

                                                                                                  A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                  • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                    • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                      - *
                                                                                                  • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                    • + *

                                                                                                      A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                      + *
                                                                                                      • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                        • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                      • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                        • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -148,20 +148,20 @@ namespace Model inline void SetRequestItems(Aws::Map>&& value) { m_requestItemsHasBeenSet = true; m_requestItems = std::move(value); } /** - *

                                                                                                          A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                          • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                            • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                              - *
                                                                                                          • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                            • + *

                                                                                                              A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                              + *
                                                                                                              • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                              • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -174,20 +174,20 @@ namespace Model inline BatchWriteItemRequest& WithRequestItems(const Aws::Map>& value) { SetRequestItems(value); return *this;} /** - *

                                                                                                                  A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                  • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                    • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                      - *
                                                                                                                  • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                    • + *

                                                                                                                      A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                      + *
                                                                                                                      • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                        • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                      • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                        • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -200,20 +200,20 @@ namespace Model inline BatchWriteItemRequest& WithRequestItems(Aws::Map>&& value) { SetRequestItems(std::move(value)); return *this;} /** - *

                                                                                                                          A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                          • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                            • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                              - *
                                                                                                                          • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                            • + *

                                                                                                                              A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                              + *
                                                                                                                              • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                                • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                              • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                                • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -226,20 +226,20 @@ namespace Model inline BatchWriteItemRequest& AddRequestItems(const Aws::String& key, const Aws::Vector& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(key, value); return *this; } /** - *

                                                                                                                                  A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                                  • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                                    • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                                      - *
                                                                                                                                  • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                                    • + *

                                                                                                                                      A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                                      + *
                                                                                                                                      • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                                        • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                                      • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                                        • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -252,20 +252,20 @@ namespace Model inline BatchWriteItemRequest& AddRequestItems(Aws::String&& key, const Aws::Vector& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(std::move(key), value); return *this; } /** - *

                                                                                                                                          A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                                          • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                                            • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                                              - *
                                                                                                                                          • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                                            • + *

                                                                                                                                              A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                                              + *
                                                                                                                                              • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                                                • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                                              • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                                                • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -278,20 +278,20 @@ namespace Model inline BatchWriteItemRequest& AddRequestItems(const Aws::String& key, Aws::Vector&& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(key, std::move(value)); return *this; } /** - *

                                                                                                                                                  A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                                                  • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                                                    • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                                                      - *
                                                                                                                                                  • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                                                    • + *

                                                                                                                                                      A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                                                      + *
                                                                                                                                                      • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                                                        • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                                                      • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                                                        • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -304,20 +304,20 @@ namespace Model inline BatchWriteItemRequest& AddRequestItems(Aws::String&& key, Aws::Vector&& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(std::move(key), std::move(value)); return *this; } /** - *

                                                                                                                                                          A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                                                          • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                                                            • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                                                              - *
                                                                                                                                                          • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                                                            • + *

                                                                                                                                                              A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                                                              + *
                                                                                                                                                              • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                                                                • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                                                              • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                                                                • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; @@ -330,20 +330,20 @@ namespace Model inline BatchWriteItemRequest& AddRequestItems(const char* key, Aws::Vector&& value) { m_requestItemsHasBeenSet = true; m_requestItems.emplace(key, std::move(value)); return *this; } /** - *

                                                                                                                                                                  A map of one or more table names and, for each table, a list of operations to - * be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

                                                                                                                                                                  • - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

                                                                                                                                                                    • Key - A map of primary key attribute - * values that uniquely identify the item. Each entry in this map consists of an - * attribute name and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a simple primary key, you - * only need to provide a value for the partition key. For a composite primary key, - * you must provide values for both the partition key and the sort key.

                                                                                                                                                                      - *
                                                                                                                                                                  • PutRequest - Perform a - * PutItem operation on the specified item. The item to be put is - * identified by an Item subelement:

                                                                                                                                                                    • + *

                                                                                                                                                                      A map of one or more table names or table ARNs and, for each table, a list of + * operations to be performed (DeleteRequest or + * PutRequest). Each element in the map consists of the following:

                                                                                                                                                                      + *
                                                                                                                                                                      • DeleteRequest - Perform a DeleteItem + * operation on the specified item. The item to be deleted is identified by a + * Key subelement:

                                                                                                                                                                        • Key - A map of + * primary key attribute values that uniquely identify the item. Each entry in this + * map consists of an attribute name and an attribute value. For each primary key, + * you must provide all of the key attributes. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key + * and the sort key.

                                                                                                                                                                      • PutRequest - + * Perform a PutItem operation on the specified item. The item to be + * put is identified by an Item subelement:

                                                                                                                                                                        • * Item - A map of attributes and their values. Each entry in this map * consists of an attribute name and an attribute value. Attribute values must not * be null; string and binary type attributes must have lengths greater than zero; diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemResult.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemResult.h index 596b79cdff5..53d496faaea 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemResult.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/BatchWriteItemResult.h @@ -49,8 +49,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                          Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                          • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                            • @@ -77,8 +77,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                              Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                              • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                • @@ -105,8 +105,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                  Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                  • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                    • @@ -133,8 +133,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                      Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                      • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                        • @@ -161,8 +161,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                          Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                          • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                            • @@ -189,8 +189,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                              Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                              • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                                • @@ -217,8 +217,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                                  Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                                  • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                                    • @@ -245,8 +245,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                                      Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                                      • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                                        • @@ -273,8 +273,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                                          Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                                          • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                                            • @@ -301,8 +301,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                                              Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                                              • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                                                • @@ -329,8 +329,8 @@ namespace Model * RequestItems, so you can provide this value directly to a * subsequent BatchWriteItem operation. For more information, see * RequestItems in the Request Parameters section.

                                                                                                                                                                                                                  Each - * UnprocessedItems entry consists of a table name and, for that - * table, a list of operations to perform (DeleteRequest or + * UnprocessedItems entry consists of a table name or table ARN and, + * for that table, a list of operations to perform (DeleteRequest or * PutRequest).

                                                                                                                                                                                                                  • DeleteRequest - Perform * a DeleteItem operation on the specified item. The item to be * deleted is identified by a Key subelement:

                                                                                                                                                                                                                    • diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConditionCheck.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConditionCheck.h index fc45aea01e0..018fd8ab298 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConditionCheck.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConditionCheck.h @@ -115,42 +115,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline ConditionCheck& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline ConditionCheck& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline ConditionCheck& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConsumedCapacity.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConsumedCapacity.h index 0efdfa88f13..d86c792a997 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConsumedCapacity.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ConsumedCapacity.h @@ -46,42 +46,58 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline ConsumedCapacity& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline ConsumedCapacity& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had + * specified the Amazon Resource Name (ARN) of a table in the input, you'll see the + * table ARN in the response.

                                                                                                                                                                                                                      */ inline ConsumedCapacity& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateBackupRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateBackupRequest.h index 1dbb4affc44..46c5cccb06c 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateBackupRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateBackupRequest.h @@ -35,42 +35,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline CreateBackupRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline CreateBackupRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline CreateBackupRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateTableRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateTableRequest.h index 440ec65ef10..37241473adf 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateTableRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateTableRequest.h @@ -99,42 +99,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline CreateTableRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline CreateTableRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline CreateTableRequest& WithTableName(const char* value) { SetTableName(value); return *this;} @@ -1216,6 +1224,119 @@ namespace Model */ inline CreateTableRequest& WithDeletionProtectionEnabled(bool value) { SetDeletionProtectionEnabled(value); return *this;} + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline bool ResourcePolicyHasBeenSet() const { return m_resourcePolicyHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = value; } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = std::move(value); } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline void SetResourcePolicy(const char* value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy.assign(value); } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline CreateTableRequest& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;} + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline CreateTableRequest& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that + * will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy + * while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. You can’t request an increase for this limit. For a full list of all + * considerations that you should keep in mind while attaching a resource-based + * policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline CreateTableRequest& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;} + private: Aws::Vector m_attributeDefinitions; @@ -1253,6 +1374,9 @@ namespace Model bool m_deletionProtectionEnabled; bool m_deletionProtectionEnabledHasBeenSet = false; + + Aws::String m_resourcePolicy; + bool m_resourcePolicyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Delete.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Delete.h index a9ce526df9f..d7445cf9684 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Delete.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Delete.h @@ -115,42 +115,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Delete& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Delete& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Delete& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteItemRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteItemRequest.h index 8ed287e1759..a247150cc7e 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteItemRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteItemRequest.h @@ -47,42 +47,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DeleteItemRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DeleteItemRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DeleteItemRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyRequest.h new file mode 100644 index 00000000000..4f496ba6dc7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyRequest.h @@ -0,0 +1,185 @@ +/** + * 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 DynamoDB +{ +namespace Model +{ + + /** + */ + class DeleteResourcePolicyRequest : public DynamoDBRequest + { + public: + AWS_DYNAMODB_API DeleteResourcePolicyRequest(); + + // 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 "DeleteResourcePolicy"; } + + AWS_DYNAMODB_API Aws::String SerializePayload() const override; + + AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy + * will be removed. The resources you can specify include tables and streams. If + * you remove the policy of a table, it will also remove the permissions for the + * table's indexes defined in that policy document. This is because index + * permissions are defined in the table's policy.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetExpectedRevisionId() const{ return m_expectedRevisionId; } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline bool ExpectedRevisionIdHasBeenSet() const { return m_expectedRevisionIdHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline void SetExpectedRevisionId(const Aws::String& value) { m_expectedRevisionIdHasBeenSet = true; m_expectedRevisionId = value; } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline void SetExpectedRevisionId(Aws::String&& value) { m_expectedRevisionIdHasBeenSet = true; m_expectedRevisionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline void SetExpectedRevisionId(const char* value) { m_expectedRevisionIdHasBeenSet = true; m_expectedRevisionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyRequest& WithExpectedRevisionId(const Aws::String& value) { SetExpectedRevisionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyRequest& WithExpectedRevisionId(Aws::String&& value) { SetExpectedRevisionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you + * provide an expected revision ID, if the revision ID of the existing policy on + * the resource doesn't match or if there's no policy attached to the resource, the + * request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyRequest& WithExpectedRevisionId(const char* value) { SetExpectedRevisionId(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_expectedRevisionId; + bool m_expectedRevisionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyResult.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyResult.h new file mode 100644 index 00000000000..3852a4446e7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteResourcePolicyResult.h @@ -0,0 +1,122 @@ +/** + * 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 DynamoDB +{ +namespace Model +{ + class DeleteResourcePolicyResult + { + public: + AWS_DYNAMODB_API DeleteResourcePolicyResult(); + AWS_DYNAMODB_API DeleteResourcePolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_DYNAMODB_API DeleteResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetRevisionId() const{ return m_revisionId; } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a + * policy.

                                                                                                                                                                                                                      + */ + inline DeleteResourcePolicyResult& WithRevisionId(const char* value) { SetRevisionId(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 DeleteResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_revisionId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteTableRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteTableRequest.h index 8607219a95a..c83e7f591a2 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteTableRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DeleteTableRequest.h @@ -39,42 +39,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DeleteTableRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DeleteTableRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DeleteTableRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContinuousBackupsRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContinuousBackupsRequest.h index 12f628b88f9..ea5d36fe660 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContinuousBackupsRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContinuousBackupsRequest.h @@ -36,49 +36,57 @@ namespace Model /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeContinuousBackupsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeContinuousBackupsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous - * backups and point in time recovery settings.

                                                                                                                                                                                                                      + * backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeContinuousBackupsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContributorInsightsRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContributorInsightsRequest.h index bbc7a035d71..1e245723029 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContributorInsightsRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeContributorInsightsRequest.h @@ -35,42 +35,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeContributorInsightsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeContributorInsightsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeContributorInsightsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeKinesisStreamingDestinationRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeKinesisStreamingDestinationRequest.h index bd938786df5..27b6fa45f6b 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeKinesisStreamingDestinationRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeKinesisStreamingDestinationRequest.h @@ -35,42 +35,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeKinesisStreamingDestinationRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeKinesisStreamingDestinationRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeKinesisStreamingDestinationRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableReplicaAutoScalingRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableReplicaAutoScalingRequest.h index 82f43710ae0..08bec73d0a7 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableReplicaAutoScalingRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableReplicaAutoScalingRequest.h @@ -35,42 +35,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTableReplicaAutoScalingRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTableReplicaAutoScalingRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTableReplicaAutoScalingRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableRequest.h index 62c5d7d83bf..f3e8e9ff1bf 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTableRequest.h @@ -39,42 +39,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTableRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTableRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTableRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTimeToLiveRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTimeToLiveRequest.h index 59dba82fe7a..be1baff720d 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTimeToLiveRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DescribeTimeToLiveRequest.h @@ -35,42 +35,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTimeToLiveRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTimeToLiveRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DescribeTimeToLiveRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DisableKinesisStreamingDestinationRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DisableKinesisStreamingDestinationRequest.h index f5ccc8c2970..75c9f1fe27d 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DisableKinesisStreamingDestinationRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/DisableKinesisStreamingDestinationRequest.h @@ -36,42 +36,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DisableKinesisStreamingDestinationRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DisableKinesisStreamingDestinationRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline DisableKinesisStreamingDestinationRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/EnableKinesisStreamingDestinationRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/EnableKinesisStreamingDestinationRequest.h index 4cb9562b049..ab3826371b2 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/EnableKinesisStreamingDestinationRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/EnableKinesisStreamingDestinationRequest.h @@ -36,42 +36,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline EnableKinesisStreamingDestinationRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline EnableKinesisStreamingDestinationRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name + * (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline EnableKinesisStreamingDestinationRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Get.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Get.h index aa29627ccb1..e46038d169b 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Get.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Get.h @@ -114,42 +114,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Get& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Get& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Get& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetItemRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetItemRequest.h index 7bddf29806c..79291b9c886 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetItemRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetItemRequest.h @@ -43,42 +43,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline GetItemRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline GetItemRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline GetItemRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyRequest.h new file mode 100644 index 00000000000..9c72ae1cc52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyRequest.h @@ -0,0 +1,93 @@ +/** + * 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 DynamoDB +{ +namespace Model +{ + + /** + */ + class GetResourcePolicyRequest : public DynamoDBRequest + { + public: + AWS_DYNAMODB_API GetResourcePolicyRequest(); + + // 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 "GetResourcePolicy"; } + + AWS_DYNAMODB_API Aws::String SerializePayload() const override; + + AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyResult.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyResult.h new file mode 100644 index 00000000000..2aaff7371a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/GetResourcePolicyResult.h @@ -0,0 +1,153 @@ +/** + * 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 DynamoDB +{ +namespace Model +{ + class GetResourcePolicyResult + { + public: + AWS_DYNAMODB_API GetResourcePolicyResult(); + AWS_DYNAMODB_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_DYNAMODB_API GetResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline void SetPolicy(const Aws::String& value) { m_policy = value; } + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline void SetPolicy(const char* value) { m_policy.assign(value); } + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a + * table or stream, in JSON format.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;} + + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetRevisionId() const{ return m_revisionId; } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline GetResourcePolicyResult& WithRevisionId(const char* value) { SetRevisionId(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 GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_policy; + + Aws::String m_revisionId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListBackupsRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListBackupsRequest.h index aac7426ac5b..9b348c93d8b 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListBackupsRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListBackupsRequest.h @@ -37,50 +37,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline ListBackupsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline ListBackupsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed. - *

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can + * also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline ListBackupsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListContributorInsightsRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListContributorInsightsRequest.h index e3e4ba7f2e2..92d0f44ed7f 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListContributorInsightsRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ListContributorInsightsRequest.h @@ -35,42 +35,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline ListContributorInsightsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline ListContributorInsightsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline ListContributorInsightsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Put.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Put.h index dcd64fec1f6..082114f67e9 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Put.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Put.h @@ -163,42 +163,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Put& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Put& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Put& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutItemRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutItemRequest.h index 6380e0ee915..03dfa5524fd 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutItemRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutItemRequest.h @@ -47,42 +47,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline PutItemRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline PutItemRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline PutItemRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyRequest.h new file mode 100644 index 00000000000..57c04729520 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyRequest.h @@ -0,0 +1,361 @@ +/** + * 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 DynamoDB +{ +namespace Model +{ + + /** + */ + class PutResourcePolicyRequest : public DynamoDBRequest + { + public: + AWS_DYNAMODB_API PutResourcePolicyRequest(); + + // 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 "PutResourcePolicy"; } + + AWS_DYNAMODB_API Aws::String SerializePayload() const override; + + AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy + * will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify + * the same permission level for your table and its indexes, you can provide both + * the table and index Amazon Resource Name (ARN)s in the Resource + * field of a given Statement in your policy document. Alternatively, + * to specify different permissions for your table, indexes, or both, you can + * define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); } + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. + * DynamoDB counts whitespaces when calculating the size of a policy against this + * limit. For a full list of all considerations that you should keep in mind while + * attaching a resource-based policy, see Resource-based + * policy considerations.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithPolicy(const char* value) { SetPolicy(value); return *this;} + + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetExpectedRevisionId() const{ return m_expectedRevisionId; } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline bool ExpectedRevisionIdHasBeenSet() const { return m_expectedRevisionIdHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline void SetExpectedRevisionId(const Aws::String& value) { m_expectedRevisionIdHasBeenSet = true; m_expectedRevisionId = value; } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline void SetExpectedRevisionId(Aws::String&& value) { m_expectedRevisionIdHasBeenSet = true; m_expectedRevisionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline void SetExpectedRevisionId(const char* value) { m_expectedRevisionIdHasBeenSet = true; m_expectedRevisionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithExpectedRevisionId(const Aws::String& value) { SetExpectedRevisionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithExpectedRevisionId(Aws::String&& value) { SetExpectedRevisionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can + * provide the revision ID of your existing policy to make mutating requests + * against that policy. When you provide an expected revision ID, if the revision + * ID of the existing policy on the resource doesn't match or if there's no policy + * attached to the resource, your request will be rejected with a + * PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when + * no policy exists for the resource, specify NO_POLICY for the + * revision ID.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithExpectedRevisionId(const char* value) { SetExpectedRevisionId(value); return *this;} + + + /** + *

                                                                                                                                                                                                                      Set this parameter to true to confirm that you want to remove + * your permissions to change the policy of this resource in the future.

                                                                                                                                                                                                                      + */ + inline bool GetConfirmRemoveSelfResourceAccess() const{ return m_confirmRemoveSelfResourceAccess; } + + /** + *

                                                                                                                                                                                                                      Set this parameter to true to confirm that you want to remove + * your permissions to change the policy of this resource in the future.

                                                                                                                                                                                                                      + */ + inline bool ConfirmRemoveSelfResourceAccessHasBeenSet() const { return m_confirmRemoveSelfResourceAccessHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      Set this parameter to true to confirm that you want to remove + * your permissions to change the policy of this resource in the future.

                                                                                                                                                                                                                      + */ + inline void SetConfirmRemoveSelfResourceAccess(bool value) { m_confirmRemoveSelfResourceAccessHasBeenSet = true; m_confirmRemoveSelfResourceAccess = value; } + + /** + *

                                                                                                                                                                                                                      Set this parameter to true to confirm that you want to remove + * your permissions to change the policy of this resource in the future.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyRequest& WithConfirmRemoveSelfResourceAccess(bool value) { SetConfirmRemoveSelfResourceAccess(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_policy; + bool m_policyHasBeenSet = false; + + Aws::String m_expectedRevisionId; + bool m_expectedRevisionIdHasBeenSet = false; + + bool m_confirmRemoveSelfResourceAccess; + bool m_confirmRemoveSelfResourceAccessHasBeenSet = false; + }; + +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyResult.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyResult.h new file mode 100644 index 00000000000..6658829adfe --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/PutResourcePolicyResult.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 + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DynamoDB +{ +namespace Model +{ + class PutResourcePolicyResult + { + public: + AWS_DYNAMODB_API PutResourcePolicyResult(); + AWS_DYNAMODB_API PutResourcePolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_DYNAMODB_API PutResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetRevisionId() const{ return m_revisionId; } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are + * comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      + */ + inline PutResourcePolicyResult& WithRevisionId(const char* value) { SetRevisionId(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 PutResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline PutResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline PutResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_revisionId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/QueryRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/QueryRequest.h index fb752ac6725..c5a78850093 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/QueryRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/QueryRequest.h @@ -46,42 +46,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline QueryRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline QueryRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline QueryRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ScanRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ScanRequest.h index 97ad14f1936..26c818243bb 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ScanRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ScanRequest.h @@ -46,50 +46,66 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline ScanRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline ScanRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide + *

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this + * parameter.

                                                                                                                                                                                                                      */ inline ScanRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Update.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Update.h index 280623ca173..658c5c6f264 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Update.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/Update.h @@ -164,42 +164,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Update& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Update& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also + * provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline Update& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContinuousBackupsRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContinuousBackupsRequest.h index bfe41e6621c..30695cdd68c 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContinuousBackupsRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContinuousBackupsRequest.h @@ -36,42 +36,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateContinuousBackupsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateContinuousBackupsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateContinuousBackupsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContributorInsightsRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContributorInsightsRequest.h index 591db1718ed..c41a4bbc30d 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContributorInsightsRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateContributorInsightsRequest.h @@ -36,42 +36,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateContributorInsightsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateContributorInsightsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateContributorInsightsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateItemRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateItemRequest.h index 68cb862c659..2284fb2db26 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateItemRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateItemRequest.h @@ -48,42 +48,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateItemRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateItemRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateItemRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateKinesisStreamingDestinationRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateKinesisStreamingDestinationRequest.h index e340b5c24c3..7f4cc2f8f7a 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateKinesisStreamingDestinationRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateKinesisStreamingDestinationRequest.h @@ -36,83 +36,91 @@ namespace Model /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateKinesisStreamingDestinationRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateKinesisStreamingDestinationRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also + * provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateKinesisStreamingDestinationRequest& WithTableName(const char* value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline const Aws::String& GetStreamArn() const{ return m_streamArn; } /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; } /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; } /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); } /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); } /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline UpdateKinesisStreamingDestinationRequest& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;} /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline UpdateKinesisStreamingDestinationRequest& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      */ inline UpdateKinesisStreamingDestinationRequest& WithStreamArn(const char* value) { SetStreamArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableReplicaAutoScalingRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableReplicaAutoScalingRequest.h index 86f50c6f16a..f27900066b6 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableReplicaAutoScalingRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableReplicaAutoScalingRequest.h @@ -88,42 +88,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTableReplicaAutoScalingRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTableReplicaAutoScalingRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTableReplicaAutoScalingRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h index 37d82117040..cfbe6e07c1c 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h @@ -113,42 +113,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTableRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTableRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource + * Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTableRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTimeToLiveRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTimeToLiveRequest.h index a2ea4a6001b..c3ea0616b3c 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTimeToLiveRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTimeToLiveRequest.h @@ -40,42 +40,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline const Aws::String& GetTableName() const{ return m_tableName; } /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTimeToLiveRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTimeToLiveRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon + * Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      */ inline UpdateTimeToLiveRequest& WithTableName(const char* value) { SetTableName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBClient.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBClient.cpp index 20ea07755a0..2c31e07c5b4 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBClient.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBClient.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -50,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -59,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -670,6 +673,67 @@ DeleteItemOutcome DynamoDBClient::DeleteItem(const DeleteItemRequest& request) c {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteResourcePolicyOutcome DynamoDBClient::DeleteResourcePolicy(const DeleteResourcePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteResourcePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteResourcePolicy", + {{ 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( + [&]()-> DeleteResourcePolicyOutcome { + ResolveEndpointOutcome endpointResolutionOutcome = Aws::Endpoint::AWSEndpoint(); + const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value() && m_clientConfiguration.endpointOverride.empty(); + if (enableEndpointDiscovery) + { + Aws::String endpointKey = "Shared"; + Aws::String endpoint; + if (m_endpointsCache.Get(endpointKey, endpoint)) + { + AWS_LOGSTREAM_TRACE("DeleteResourcePolicy", "Making request to cached endpoint: " << endpoint); + endpoint = Aws::String(SchemeMapper::ToString(m_clientConfiguration.scheme)) + "://" + endpoint; + endpointResolutionOutcome.GetResult().SetURI(endpoint); + } + else + { + AWS_LOGSTREAM_TRACE("DeleteResourcePolicy", "Endpoint discovery is enabled and there is no usable endpoint in cache. Discovering endpoints from service..."); + DescribeEndpointsRequest endpointRequest; + auto endpointOutcome = DescribeEndpoints(endpointRequest); + if (endpointOutcome.IsSuccess() && !endpointOutcome.GetResult().GetEndpoints().empty()) + { + const auto& item = endpointOutcome.GetResult().GetEndpoints()[0]; + + m_endpointsCache.Put(endpointKey, item.GetAddress(), std::chrono::minutes(item.GetCachePeriodInMinutes())); + endpoint = Aws::String(SchemeMapper::ToString(m_clientConfiguration.scheme)) + "://" + item.GetAddress(); + AWS_LOGSTREAM_TRACE("DeleteResourcePolicy", "Endpoints cache updated. Address: " << item.GetAddress() << ". Valid in: " << item.GetCachePeriodInMinutes() << " minutes. Making request to newly discovered endpoint."); + endpointResolutionOutcome.GetResult().SetURI(endpoint); + } + else + { + AWS_LOGSTREAM_ERROR("DeleteResourcePolicy", "Failed to discover endpoints " << endpointOutcome.GetError() << "\n Endpoint discovery is not required for this operation, falling back to the regional endpoint."); + endpointResolutionOutcome = endpointOutcome.GetError(); + } + } + } + if (!enableEndpointDiscovery || !endpointResolutionOutcome.IsSuccess() || endpointResolutionOutcome.GetResult().GetURL().empty()) { + 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, DeleteResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteResourcePolicyOutcome(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()}}); +} + DeleteTableOutcome DynamoDBClient::DeleteTable(const DeleteTableRequest& request) const { AWS_OPERATION_GUARD(DeleteTable); @@ -1610,6 +1674,67 @@ GetItemOutcome DynamoDBClient::GetItem(const GetItemRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetResourcePolicyOutcome DynamoDBClient::GetResourcePolicy(const GetResourcePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(GetResourcePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetResourcePolicy", + {{ 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( + [&]()-> GetResourcePolicyOutcome { + ResolveEndpointOutcome endpointResolutionOutcome = Aws::Endpoint::AWSEndpoint(); + const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value() && m_clientConfiguration.endpointOverride.empty(); + if (enableEndpointDiscovery) + { + Aws::String endpointKey = "Shared"; + Aws::String endpoint; + if (m_endpointsCache.Get(endpointKey, endpoint)) + { + AWS_LOGSTREAM_TRACE("GetResourcePolicy", "Making request to cached endpoint: " << endpoint); + endpoint = Aws::String(SchemeMapper::ToString(m_clientConfiguration.scheme)) + "://" + endpoint; + endpointResolutionOutcome.GetResult().SetURI(endpoint); + } + else + { + AWS_LOGSTREAM_TRACE("GetResourcePolicy", "Endpoint discovery is enabled and there is no usable endpoint in cache. Discovering endpoints from service..."); + DescribeEndpointsRequest endpointRequest; + auto endpointOutcome = DescribeEndpoints(endpointRequest); + if (endpointOutcome.IsSuccess() && !endpointOutcome.GetResult().GetEndpoints().empty()) + { + const auto& item = endpointOutcome.GetResult().GetEndpoints()[0]; + + m_endpointsCache.Put(endpointKey, item.GetAddress(), std::chrono::minutes(item.GetCachePeriodInMinutes())); + endpoint = Aws::String(SchemeMapper::ToString(m_clientConfiguration.scheme)) + "://" + item.GetAddress(); + AWS_LOGSTREAM_TRACE("GetResourcePolicy", "Endpoints cache updated. Address: " << item.GetAddress() << ". Valid in: " << item.GetCachePeriodInMinutes() << " minutes. Making request to newly discovered endpoint."); + endpointResolutionOutcome.GetResult().SetURI(endpoint); + } + else + { + AWS_LOGSTREAM_ERROR("GetResourcePolicy", "Failed to discover endpoints " << endpointOutcome.GetError() << "\n Endpoint discovery is not required for this operation, falling back to the regional endpoint."); + endpointResolutionOutcome = endpointOutcome.GetError(); + } + } + } + if (!enableEndpointDiscovery || !endpointResolutionOutcome.IsSuccess() || endpointResolutionOutcome.GetResult().GetURL().empty()) { + 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, GetResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetResourcePolicyOutcome(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()}}); +} + ImportTableOutcome DynamoDBClient::ImportTable(const ImportTableRequest& request) const { AWS_OPERATION_GUARD(ImportTable); @@ -2019,6 +2144,67 @@ PutItemOutcome DynamoDBClient::PutItem(const PutItemRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +PutResourcePolicyOutcome DynamoDBClient::PutResourcePolicy(const PutResourcePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(PutResourcePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutResourcePolicy", + {{ 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( + [&]()-> PutResourcePolicyOutcome { + ResolveEndpointOutcome endpointResolutionOutcome = Aws::Endpoint::AWSEndpoint(); + const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value() && m_clientConfiguration.endpointOverride.empty(); + if (enableEndpointDiscovery) + { + Aws::String endpointKey = "Shared"; + Aws::String endpoint; + if (m_endpointsCache.Get(endpointKey, endpoint)) + { + AWS_LOGSTREAM_TRACE("PutResourcePolicy", "Making request to cached endpoint: " << endpoint); + endpoint = Aws::String(SchemeMapper::ToString(m_clientConfiguration.scheme)) + "://" + endpoint; + endpointResolutionOutcome.GetResult().SetURI(endpoint); + } + else + { + AWS_LOGSTREAM_TRACE("PutResourcePolicy", "Endpoint discovery is enabled and there is no usable endpoint in cache. Discovering endpoints from service..."); + DescribeEndpointsRequest endpointRequest; + auto endpointOutcome = DescribeEndpoints(endpointRequest); + if (endpointOutcome.IsSuccess() && !endpointOutcome.GetResult().GetEndpoints().empty()) + { + const auto& item = endpointOutcome.GetResult().GetEndpoints()[0]; + + m_endpointsCache.Put(endpointKey, item.GetAddress(), std::chrono::minutes(item.GetCachePeriodInMinutes())); + endpoint = Aws::String(SchemeMapper::ToString(m_clientConfiguration.scheme)) + "://" + item.GetAddress(); + AWS_LOGSTREAM_TRACE("PutResourcePolicy", "Endpoints cache updated. Address: " << item.GetAddress() << ". Valid in: " << item.GetCachePeriodInMinutes() << " minutes. Making request to newly discovered endpoint."); + endpointResolutionOutcome.GetResult().SetURI(endpoint); + } + else + { + AWS_LOGSTREAM_ERROR("PutResourcePolicy", "Failed to discover endpoints " << endpointOutcome.GetError() << "\n Endpoint discovery is not required for this operation, falling back to the regional endpoint."); + endpointResolutionOutcome = endpointOutcome.GetError(); + } + } + } + if (!enableEndpointDiscovery || !endpointResolutionOutcome.IsSuccess() || endpointResolutionOutcome.GetResult().GetURL().empty()) { + 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, PutResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return PutResourcePolicyOutcome(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()}}); +} + QueryOutcome DynamoDBClient::Query(const QueryRequest& request) const { AWS_OPERATION_GUARD(Query); diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp index fe545183ef8..f6281ed997a 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp @@ -53,6 +53,7 @@ static const int ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_HASH = HashingUtils::HashSt static const int BACKUP_NOT_FOUND_HASH = HashingUtils::HashString("BackupNotFoundException"); static const int IDEMPOTENT_PARAMETER_MISMATCH_HASH = HashingUtils::HashString("IdempotentParameterMismatchException"); static const int POINT_IN_TIME_RECOVERY_UNAVAILABLE_HASH = HashingUtils::HashString("PointInTimeRecoveryUnavailableException"); +static const int POLICY_NOT_FOUND_HASH = HashingUtils::HashString("PolicyNotFoundException"); static const int TABLE_ALREADY_EXISTS_HASH = HashingUtils::HashString("TableAlreadyExistsException"); static const int EXPORT_CONFLICT_HASH = HashingUtils::HashString("ExportConflictException"); static const int GLOBAL_TABLE_ALREADY_EXISTS_HASH = HashingUtils::HashString("GlobalTableAlreadyExistsException"); @@ -148,6 +149,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(DynamoDBErrors::POINT_IN_TIME_RECOVERY_UNAVAILABLE), RetryableType::NOT_RETRYABLE); } + else if (hashCode == POLICY_NOT_FOUND_HASH) + { + return AWSError(static_cast(DynamoDBErrors::POLICY_NOT_FOUND), RetryableType::NOT_RETRYABLE); + } else if (hashCode == TABLE_ALREADY_EXISTS_HASH) { return AWSError(static_cast(DynamoDBErrors::TABLE_ALREADY_EXISTS), RetryableType::NOT_RETRYABLE); diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/CreateTableRequest.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/CreateTableRequest.cpp index 1ff84e3df47..d7fd0db4200 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/model/CreateTableRequest.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/CreateTableRequest.cpp @@ -27,7 +27,8 @@ CreateTableRequest::CreateTableRequest() : m_tableClass(TableClass::NOT_SET), m_tableClassHasBeenSet(false), m_deletionProtectionEnabled(false), - m_deletionProtectionEnabledHasBeenSet(false) + m_deletionProtectionEnabledHasBeenSet(false), + m_resourcePolicyHasBeenSet(false) { } @@ -130,6 +131,12 @@ Aws::String CreateTableRequest::SerializePayload() const } + if(m_resourcePolicyHasBeenSet) + { + payload.WithString("ResourcePolicy", m_resourcePolicy); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyRequest.cpp new file mode 100644 index 00000000000..5db91a4a969 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DynamoDB::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteResourcePolicyRequest::DeleteResourcePolicyRequest() : + m_resourceArnHasBeenSet(false), + m_expectedRevisionIdHasBeenSet(false) +{ +} + +Aws::String DeleteResourcePolicyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_expectedRevisionIdHasBeenSet) + { + payload.WithString("ExpectedRevisionId", m_expectedRevisionId); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteResourcePolicyRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "DynamoDB_20120810.DeleteResourcePolicy")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyResult.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyResult.cpp new file mode 100644 index 00000000000..df435633581 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/DeleteResourcePolicyResult.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::DynamoDB::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteResourcePolicyResult::DeleteResourcePolicyResult() +{ +} + +DeleteResourcePolicyResult::DeleteResourcePolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteResourcePolicyResult& DeleteResourcePolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("RevisionId")) + { + m_revisionId = jsonValue.GetString("RevisionId"); + + } + + + 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-dynamodb/source/model/GetResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyRequest.cpp new file mode 100644 index 00000000000..3eab873885c --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DynamoDB::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetResourcePolicyRequest::GetResourcePolicyRequest() : + m_resourceArnHasBeenSet(false) +{ +} + +Aws::String GetResourcePolicyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetResourcePolicyRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "DynamoDB_20120810.GetResourcePolicy")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyResult.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyResult.cpp new file mode 100644 index 00000000000..31407af2fa5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/GetResourcePolicyResult.cpp @@ -0,0 +1,54 @@ +/** + * 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::DynamoDB::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetResourcePolicyResult::GetResourcePolicyResult() +{ +} + +GetResourcePolicyResult::GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetResourcePolicyResult& GetResourcePolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Policy")) + { + m_policy = jsonValue.GetString("Policy"); + + } + + if(jsonValue.ValueExists("RevisionId")) + { + m_revisionId = jsonValue.GetString("RevisionId"); + + } + + + 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-dynamodb/source/model/PutResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyRequest.cpp new file mode 100644 index 00000000000..03cf2119116 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyRequest.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DynamoDB::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutResourcePolicyRequest::PutResourcePolicyRequest() : + m_resourceArnHasBeenSet(false), + m_policyHasBeenSet(false), + m_expectedRevisionIdHasBeenSet(false), + m_confirmRemoveSelfResourceAccess(false), + m_confirmRemoveSelfResourceAccessHasBeenSet(false) +{ +} + +Aws::String PutResourcePolicyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_policyHasBeenSet) + { + payload.WithString("Policy", m_policy); + + } + + if(m_expectedRevisionIdHasBeenSet) + { + payload.WithString("ExpectedRevisionId", m_expectedRevisionId); + + } + + if(m_confirmRemoveSelfResourceAccessHasBeenSet) + { + payload.WithBool("ConfirmRemoveSelfResourceAccess", m_confirmRemoveSelfResourceAccess); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection PutResourcePolicyRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "DynamoDB_20120810.PutResourcePolicy")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyResult.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyResult.cpp new file mode 100644 index 00000000000..0e2f60c2124 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/PutResourcePolicyResult.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::DynamoDB::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +PutResourcePolicyResult::PutResourcePolicyResult() +{ +} + +PutResourcePolicyResult::PutResourcePolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +PutResourcePolicyResult& PutResourcePolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("RevisionId")) + { + m_revisionId = jsonValue.GetString("RevisionId"); + + } + + + 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-managedblockchain-query/include/aws/managedblockchain-query/model/GetTransactionRequest.h b/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/GetTransactionRequest.h index d0ba9029e4a..105d3567a39 100644 --- a/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/GetTransactionRequest.h +++ b/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/GetTransactionRequest.h @@ -74,6 +74,63 @@ namespace Model inline GetTransactionRequest& WithTransactionHash(const char* value) { SetTransactionHash(value); return *this;} + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetTransactionId() const{ return m_transactionId; } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline GetTransactionRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline GetTransactionRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      transactionId is only supported on the + * Bitcoin networks.

                                                                                                                                                                                                                      + */ + inline GetTransactionRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} + + /** *

                                                                                                                                                                                                                      The blockchain network where the transaction occurred.

                                                                                                                                                                                                                      */ @@ -109,6 +166,9 @@ namespace Model Aws::String m_transactionHash; bool m_transactionHashHasBeenSet = false; + Aws::String m_transactionId; + bool m_transactionIdHasBeenSet = false; + QueryNetwork m_network; bool m_networkHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/TransactionOutputItem.h b/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/TransactionOutputItem.h index 67c30983516..6bff71ad5fc 100644 --- a/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/TransactionOutputItem.h +++ b/generated/src/aws-cpp-sdk-managedblockchain-query/include/aws/managedblockchain-query/model/TransactionOutputItem.h @@ -81,6 +81,55 @@ namespace Model inline TransactionOutputItem& WithTransactionHash(const char* value) { SetTransactionHash(value); return *this;} + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetTransactionId() const{ return m_transactionId; } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline TransactionOutputItem& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline TransactionOutputItem& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction + * is created.

                                                                                                                                                                                                                      + */ + inline TransactionOutputItem& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} + + /** *

                                                                                                                                                                                                                      The blockchain network where the transaction occurred.

                                                                                                                                                                                                                      */ @@ -178,6 +227,9 @@ namespace Model Aws::String m_transactionHash; bool m_transactionHashHasBeenSet = false; + Aws::String m_transactionId; + bool m_transactionIdHasBeenSet = false; + QueryNetwork m_network; bool m_networkHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/GetTransactionRequest.cpp b/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/GetTransactionRequest.cpp index e11eb945251..4946d9d710e 100644 --- a/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/GetTransactionRequest.cpp +++ b/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/GetTransactionRequest.cpp @@ -14,6 +14,7 @@ using namespace Aws::Utils; GetTransactionRequest::GetTransactionRequest() : m_transactionHashHasBeenSet(false), + m_transactionIdHasBeenSet(false), m_network(QueryNetwork::NOT_SET), m_networkHasBeenSet(false) { @@ -29,6 +30,12 @@ Aws::String GetTransactionRequest::SerializePayload() const } + if(m_transactionIdHasBeenSet) + { + payload.WithString("transactionId", m_transactionId); + + } + if(m_networkHasBeenSet) { payload.WithString("network", QueryNetworkMapper::GetNameForQueryNetwork(m_network)); diff --git a/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/TransactionOutputItem.cpp b/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/TransactionOutputItem.cpp index 0511c8256a3..b7acdd5463f 100644 --- a/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/TransactionOutputItem.cpp +++ b/generated/src/aws-cpp-sdk-managedblockchain-query/source/model/TransactionOutputItem.cpp @@ -20,6 +20,7 @@ namespace Model TransactionOutputItem::TransactionOutputItem() : m_transactionHashHasBeenSet(false), + m_transactionIdHasBeenSet(false), m_network(QueryNetwork::NOT_SET), m_networkHasBeenSet(false), m_transactionTimestampHasBeenSet(false), @@ -30,6 +31,7 @@ TransactionOutputItem::TransactionOutputItem() : TransactionOutputItem::TransactionOutputItem(JsonView jsonValue) : m_transactionHashHasBeenSet(false), + m_transactionIdHasBeenSet(false), m_network(QueryNetwork::NOT_SET), m_networkHasBeenSet(false), m_transactionTimestampHasBeenSet(false), @@ -48,6 +50,13 @@ TransactionOutputItem& TransactionOutputItem::operator =(JsonView jsonValue) m_transactionHashHasBeenSet = true; } + if(jsonValue.ValueExists("transactionId")) + { + m_transactionId = jsonValue.GetString("transactionId"); + + m_transactionIdHasBeenSet = true; + } + if(jsonValue.ValueExists("network")) { m_network = QueryNetworkMapper::GetQueryNetworkForName(jsonValue.GetString("network")); @@ -82,6 +91,12 @@ JsonValue TransactionOutputItem::Jsonize() const } + if(m_transactionIdHasBeenSet) + { + payload.WithString("transactionId", m_transactionId); + + } + if(m_networkHasBeenSet) { payload.WithString("network", QueryNetworkMapper::GetNameForQueryNetwork(m_network)); diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/SavingsPlansClient.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/SavingsPlansClient.h index 868ee3b27c8..8a00b290efe 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/SavingsPlansClient.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/SavingsPlansClient.h @@ -16,12 +16,13 @@ namespace Aws namespace SavingsPlans { /** - *

                                                                                                                                                                                                                      Savings Plans are a pricing model that offer significant savings on AWS usage - * (for example, on Amazon EC2 instances). You commit to a consistent amount of - * usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price - * for that usage. For more information, see the AWS Savings - * Plans User Guide.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Savings Plans are a pricing model that offer significant savings on Amazon + * Web Services usage (for example, on Amazon EC2 instances). You commit to a + * consistent amount of usage per hour, in the specified currency, for a term of + * one or three years, and receive a lower price for that usage. For more + * information, see the Amazon Web + * Services Savings Plans User Guide.

                                                                                                                                                                                                                      */ class AWS_SAVINGSPLANS_API SavingsPlansClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { @@ -133,7 +134,8 @@ namespace SavingsPlans } /** - *

                                                                                                                                                                                                                      Describes the specified Savings Plans rates.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Describes the rates for the specified Savings Plan.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ @@ -183,7 +185,7 @@ namespace SavingsPlans } /** - *

                                                                                                                                                                                                                      Describes the specified Savings Plans offering rates.

                                                                                                                                                                                                                      See + *

                                                                                                                                                                                                                      Describes the offering rates for the specified Savings Plans.

                                                                                                                                                                                                                      See * Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      @@ -209,8 +211,8 @@ namespace SavingsPlans } /** - *

                                                                                                                                                                                                                      Describes the specified Savings Plans offerings.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      - * Describes the offerings for the specified Savings Plans.

                                                                                                                                                                                                                      See + * Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ @@ -259,6 +261,31 @@ namespace SavingsPlans return SubmitAsync(&SavingsPlansClient::ListTagsForResource, request, handler, context); } + /** + *

                                                                                                                                                                                                                      Returns the specified Savings Plan.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      AWS + * API Reference

                                                                                                                                                                                                                      + */ + virtual Model::ReturnSavingsPlanOutcome ReturnSavingsPlan(const Model::ReturnSavingsPlanRequest& request) const; + + /** + * A Callable wrapper for ReturnSavingsPlan that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ReturnSavingsPlanOutcomeCallable ReturnSavingsPlanCallable(const ReturnSavingsPlanRequestT& request) const + { + return SubmitCallable(&SavingsPlansClient::ReturnSavingsPlan, request); + } + + /** + * An Async wrapper for ReturnSavingsPlan that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ReturnSavingsPlanAsync(const ReturnSavingsPlanRequestT& request, const ReturnSavingsPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&SavingsPlansClient::ReturnSavingsPlan, request, handler, context); + } + /** *

                                                                                                                                                                                                                      Adds the specified tags to the specified resource.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      * #include #include +#include #include #include /* End of service model headers required in SavingsPlansClient header */ @@ -74,6 +75,7 @@ namespace Aws class DescribeSavingsPlansOfferingRatesRequest; class DescribeSavingsPlansOfferingsRequest; class ListTagsForResourceRequest; + class ReturnSavingsPlanRequest; class TagResourceRequest; class UntagResourceRequest; /* End of service model forward declarations required in SavingsPlansClient header */ @@ -86,6 +88,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeSavingsPlansOfferingRatesOutcome; typedef Aws::Utils::Outcome DescribeSavingsPlansOfferingsOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; + typedef Aws::Utils::Outcome ReturnSavingsPlanOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; /* End of service model Outcome class definitions */ @@ -98,6 +101,7 @@ namespace Aws typedef std::future DescribeSavingsPlansOfferingRatesOutcomeCallable; typedef std::future DescribeSavingsPlansOfferingsOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; + typedef std::future ReturnSavingsPlanOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; /* End of service model Outcome callable definitions */ @@ -113,6 +117,7 @@ namespace Aws typedef std::function&) > DescribeSavingsPlansOfferingRatesResponseReceivedHandler; typedef std::function&) > DescribeSavingsPlansOfferingsResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; + typedef std::function&) > ReturnSavingsPlanResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; /* End of service model async handlers definitions */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/CreateSavingsPlanRequest.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/CreateSavingsPlanRequest.h index 3b816cee727..a7c77cf6422 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/CreateSavingsPlanRequest.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/CreateSavingsPlanRequest.h @@ -77,49 +77,57 @@ namespace Model /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline const Aws::String& GetCommitment() const{ return m_commitment; } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline bool CommitmentHasBeenSet() const { return m_commitmentHasBeenSet; } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline void SetCommitment(const Aws::String& value) { m_commitmentHasBeenSet = true; m_commitment = value; } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline void SetCommitment(Aws::String&& value) { m_commitmentHasBeenSet = true; m_commitment = std::move(value); } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline void SetCommitment(const char* value) { m_commitmentHasBeenSet = true; m_commitment.assign(value); } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithCommitment(const Aws::String& value) { SetCommitment(value); return *this;} /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithCommitment(Aws::String&& value) { SetCommitment(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. + *

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the + * savingsPlanOfferingId. This is a value between 0.001 and 1 million. * You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithCommitment(const char* value) { SetCommitment(value); return *this;} @@ -127,143 +135,143 @@ namespace Model /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline const Aws::String& GetUpfrontPaymentAmount() const{ return m_upfrontPaymentAmount; } /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline bool UpfrontPaymentAmountHasBeenSet() const { return m_upfrontPaymentAmountHasBeenSet; } /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline void SetUpfrontPaymentAmount(const Aws::String& value) { m_upfrontPaymentAmountHasBeenSet = true; m_upfrontPaymentAmount = value; } /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline void SetUpfrontPaymentAmount(Aws::String&& value) { m_upfrontPaymentAmountHasBeenSet = true; m_upfrontPaymentAmount = std::move(value); } /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline void SetUpfrontPaymentAmount(const char* value) { m_upfrontPaymentAmountHasBeenSet = true; m_upfrontPaymentAmount.assign(value); } /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithUpfrontPaymentAmount(const Aws::String& value) { SetUpfrontPaymentAmount(value); return *this;} /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithUpfrontPaymentAmount(Aws::String&& value) { SetUpfrontPaymentAmount(std::move(value)); return *this;} /** *

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent - * of the total value of the Savings Plan. This parameter is supported only if the + * of the total value of the Savings Plan. This parameter is only supported if the * payment option is Partial Upfront.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithUpfrontPaymentAmount(const char* value) { SetUpfrontPaymentAmount(value); return *this;} /** - *

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format + *

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format * (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      */ inline const Aws::Utils::DateTime& GetPurchaseTime() const{ return m_purchaseTime; } /** - *

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format + *

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format * (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      */ inline bool PurchaseTimeHasBeenSet() const { return m_purchaseTimeHasBeenSet; } /** - *

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format + *

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format * (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      */ inline void SetPurchaseTime(const Aws::Utils::DateTime& value) { m_purchaseTimeHasBeenSet = true; m_purchaseTime = value; } /** - *

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format + *

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format * (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      */ inline void SetPurchaseTime(Aws::Utils::DateTime&& value) { m_purchaseTimeHasBeenSet = true; m_purchaseTime = std::move(value); } /** - *

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format + *

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format * (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithPurchaseTime(const Aws::Utils::DateTime& value) { SetPurchaseTime(value); return *this;} /** - *

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format + *

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format * (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithPurchaseTime(Aws::Utils::DateTime&& value) { SetPurchaseTime(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

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

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

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

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      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; } /** - *

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      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); } /** - *

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      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); } /** - *

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

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

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

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

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request.

                                                                                                                                                                                                                      */ inline CreateSavingsPlanRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlanRatesResult.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlanRatesResult.h index 4ee58bb8a1d..dc5a1e31674 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlanRatesResult.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlanRatesResult.h @@ -71,80 +71,80 @@ namespace Model /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetSearchResults() const{ return m_searchResults; } /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline void SetSearchResults(const Aws::Vector& value) { m_searchResults = value; } /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline void SetSearchResults(Aws::Vector&& value) { m_searchResults = std::move(value); } /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& WithSearchResults(const Aws::Vector& value) { SetSearchResults(value); return *this;} /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& WithSearchResults(Aws::Vector&& value) { SetSearchResults(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& AddSearchResults(const SavingsPlanRate& value) { m_searchResults.push_back(value); return *this; } /** - *

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& AddSearchResults(SavingsPlanRate&& value) { m_searchResults.push_back(std::move(value)); return *this; } /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                                                                                                                                                                      + * when there are no more results to return.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlanRatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingRatesRequest.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingRatesRequest.h index 423657119e6..c782d53cb0c 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingRatesRequest.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingRatesRequest.h @@ -167,42 +167,42 @@ namespace Model /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetProducts() const{ return m_products; } /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline bool ProductsHasBeenSet() const { return m_productsHasBeenSet; } /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline void SetProducts(const Aws::Vector& value) { m_productsHasBeenSet = true; m_products = value; } /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline void SetProducts(Aws::Vector&& value) { m_productsHasBeenSet = true; m_products = std::move(value); } /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& WithProducts(const Aws::Vector& value) { SetProducts(value); return *this;} /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& WithProducts(Aws::Vector&& value) { SetProducts(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& AddProducts(const SavingsPlanProductType& value) { m_productsHasBeenSet = true; m_products.push_back(value); return *this; } /** - *

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& AddProducts(SavingsPlanProductType&& value) { m_productsHasBeenSet = true; m_products.push_back(std::move(value)); return *this; } @@ -295,47 +295,56 @@ namespace Model /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperations(const Aws::Vector& value) { m_operationsHasBeenSet = true; m_operations = value; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperations(Aws::Vector&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& AddOperations(const Aws::String& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& AddOperations(Aws::String&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingRatesRequest& AddOperations(const char* value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingsRequest.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingsRequest.h index 6d30b530cea..8fd23a8df5d 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingsRequest.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansOfferingsRequest.h @@ -157,78 +157,78 @@ namespace Model /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetPlanTypes() const{ return m_planTypes; } /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline bool PlanTypesHasBeenSet() const { return m_planTypesHasBeenSet; } /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline void SetPlanTypes(const Aws::Vector& value) { m_planTypesHasBeenSet = true; m_planTypes = value; } /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline void SetPlanTypes(Aws::Vector&& value) { m_planTypesHasBeenSet = true; m_planTypes = std::move(value); } /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& WithPlanTypes(const Aws::Vector& value) { SetPlanTypes(value); return *this;} /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& WithPlanTypes(Aws::Vector&& value) { SetPlanTypes(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& AddPlanTypes(const SavingsPlanType& value) { m_planTypesHasBeenSet = true; m_planTypes.push_back(value); return *this; } /** - *

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& AddPlanTypes(SavingsPlanType&& value) { m_planTypesHasBeenSet = true; m_planTypes.push_back(std::move(value)); return *this; } /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetDurations() const{ return m_durations; } /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline bool DurationsHasBeenSet() const { return m_durationsHasBeenSet; } /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline void SetDurations(const Aws::Vector& value) { m_durationsHasBeenSet = true; m_durations = value; } /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline void SetDurations(Aws::Vector&& value) { m_durationsHasBeenSet = true; m_durations = std::move(value); } /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& WithDurations(const Aws::Vector& value) { SetDurations(value); return *this;} /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& WithDurations(Aws::Vector&& value) { SetDurations(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& AddDurations(long long value) { m_durationsHasBeenSet = true; m_durations.push_back(value); return *this; } @@ -413,47 +413,56 @@ namespace Model /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperations(const Aws::Vector& value) { m_operationsHasBeenSet = true; m_operations = value; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperations(Aws::Vector&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& AddOperations(const Aws::String& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& AddOperations(Aws::String&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansOfferingsRequest& AddOperations(const char* value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansRequest.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansRequest.h index 7bef1e773c5..877bfbeb7b5 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansRequest.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/DescribeSavingsPlansRequest.h @@ -194,42 +194,42 @@ namespace Model /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline const Aws::Vector& GetStates() const{ return m_states; } /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; } /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline void SetStates(const Aws::Vector& value) { m_statesHasBeenSet = true; m_states = value; } /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline void SetStates(Aws::Vector&& value) { m_statesHasBeenSet = true; m_states = std::move(value); } /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansRequest& WithStates(const Aws::Vector& value) { SetStates(value); return *this;} /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansRequest& WithStates(Aws::Vector&& value) { SetStates(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansRequest& AddStates(const SavingsPlanState& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; } /** - *

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      */ inline DescribeSavingsPlansRequest& AddStates(SavingsPlanState&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanRequest.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanRequest.h new file mode 100644 index 00000000000..23b0b16d784 --- /dev/null +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanRequest.h @@ -0,0 +1,136 @@ +/** + * 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 SavingsPlans +{ +namespace Model +{ + + /** + */ + class ReturnSavingsPlanRequest : public SavingsPlansRequest + { + public: + AWS_SAVINGSPLANS_API ReturnSavingsPlanRequest(); + + // 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 "ReturnSavingsPlan"; } + + AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override; + + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetSavingsPlanId() const{ return m_savingsPlanId; } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline bool SavingsPlanIdHasBeenSet() const { return m_savingsPlanIdHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline void SetSavingsPlanId(const Aws::String& value) { m_savingsPlanIdHasBeenSet = true; m_savingsPlanId = value; } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline void SetSavingsPlanId(Aws::String&& value) { m_savingsPlanIdHasBeenSet = true; m_savingsPlanId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline void SetSavingsPlanId(const char* value) { m_savingsPlanIdHasBeenSet = true; m_savingsPlanId.assign(value); } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline ReturnSavingsPlanRequest& WithSavingsPlanId(const Aws::String& value) { SetSavingsPlanId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline ReturnSavingsPlanRequest& WithSavingsPlanId(Aws::String&& value) { SetSavingsPlanId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline ReturnSavingsPlanRequest& WithSavingsPlanId(const char* value) { SetSavingsPlanId(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 ReturnSavingsPlanRequest& 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 ReturnSavingsPlanRequest& 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 ReturnSavingsPlanRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + private: + + Aws::String m_savingsPlanId; + bool m_savingsPlanIdHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace SavingsPlans +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanResult.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanResult.h new file mode 100644 index 00000000000..10d4687f5f3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/ReturnSavingsPlanResult.h @@ -0,0 +1,101 @@ +/** + * 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 SavingsPlans +{ +namespace Model +{ + class ReturnSavingsPlanResult + { + public: + AWS_SAVINGSPLANS_API ReturnSavingsPlanResult(); + AWS_SAVINGSPLANS_API ReturnSavingsPlanResult(const Aws::AmazonWebServiceResult& result); + AWS_SAVINGSPLANS_API ReturnSavingsPlanResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetSavingsPlanId() const{ return m_savingsPlanId; } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline void SetSavingsPlanId(const Aws::String& value) { m_savingsPlanId = value; } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline void SetSavingsPlanId(Aws::String&& value) { m_savingsPlanId = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline void SetSavingsPlanId(const char* value) { m_savingsPlanId.assign(value); } + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline ReturnSavingsPlanResult& WithSavingsPlanId(const Aws::String& value) { SetSavingsPlanId(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline ReturnSavingsPlanResult& WithSavingsPlanId(Aws::String&& value) { SetSavingsPlanId(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      + */ + inline ReturnSavingsPlanResult& WithSavingsPlanId(const char* value) { SetSavingsPlanId(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 ReturnSavingsPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ReturnSavingsPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ReturnSavingsPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_savingsPlanId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace SavingsPlans +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlan.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlan.h index 64019f118d9..454a88dab0c 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlan.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlan.h @@ -291,73 +291,73 @@ namespace Model /** - *

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      */ inline const SavingsPlanState& GetState() const{ return m_state; } /** - *

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      */ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** - *

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      */ inline void SetState(const SavingsPlanState& value) { m_stateHasBeenSet = true; m_state = value; } /** - *

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      */ inline void SetState(SavingsPlanState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** - *

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithState(const SavingsPlanState& value) { SetState(value); return *this;} /** - *

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithState(SavingsPlanState&& value) { SetState(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline const Aws::String& GetRegion() const{ return m_region; } /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithRegion(const char* value) { SetRegion(value); return *this;} @@ -538,42 +538,42 @@ namespace Model /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline const Aws::String& GetCommitment() const{ return m_commitment; } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline bool CommitmentHasBeenSet() const { return m_commitmentHasBeenSet; } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline void SetCommitment(const Aws::String& value) { m_commitmentHasBeenSet = true; m_commitment = value; } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline void SetCommitment(Aws::String&& value) { m_commitmentHasBeenSet = true; m_commitment = std::move(value); } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline void SetCommitment(const char* value) { m_commitmentHasBeenSet = true; m_commitment.assign(value); } /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithCommitment(const Aws::String& value) { SetCommitment(value); return *this;} /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithCommitment(Aws::String&& value) { SetCommitment(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      */ inline SavingsPlan& WithCommitment(const char* value) { SetCommitment(value); return *this;} @@ -746,6 +746,63 @@ namespace Model */ inline SavingsPlan& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline const Aws::String& GetReturnableUntil() const{ return m_returnableUntil; } + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline bool ReturnableUntilHasBeenSet() const { return m_returnableUntilHasBeenSet; } + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline void SetReturnableUntil(const Aws::String& value) { m_returnableUntilHasBeenSet = true; m_returnableUntil = value; } + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline void SetReturnableUntil(Aws::String&& value) { m_returnableUntilHasBeenSet = true; m_returnableUntil = std::move(value); } + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline void SetReturnableUntil(const char* value) { m_returnableUntilHasBeenSet = true; m_returnableUntil.assign(value); } + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline SavingsPlan& WithReturnableUntil(const Aws::String& value) { SetReturnableUntil(value); return *this;} + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline SavingsPlan& WithReturnableUntil(Aws::String&& value) { SetReturnableUntil(std::move(value)); return *this;} + + /** + *

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the + * Savings Plan is not returnable, the field reflects the Savings Plan start + * time.

                                                                                                                                                                                                                      + */ + inline SavingsPlan& WithReturnableUntil(const char* value) { SetReturnableUntil(value); return *this;} + private: Aws::String m_offeringId; @@ -801,6 +858,9 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + Aws::String m_returnableUntil; + bool m_returnableUntilHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanFilter.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanFilter.h index 435dc54c80a..d0baadffd96 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanFilter.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanFilter.h @@ -26,7 +26,7 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOffering.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOffering.h index 103767d10ae..e13c9181097 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOffering.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOffering.h @@ -363,42 +363,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline const Aws::String& GetOperation() const{ return m_operation; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanOffering& WithOperation(const Aws::String& value) { SetOperation(value); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanOffering& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanOffering& WithOperation(const char* value) { SetOperation(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingFilterElement.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingFilterElement.h index bc455777aef..c7212beed53 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingFilterElement.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingFilterElement.h @@ -26,7 +26,8 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan offering filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingProperty.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingProperty.h index 6a0425bbcb5..a18298458f9 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingProperty.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingProperty.h @@ -25,7 +25,8 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a property.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan offering property.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRate.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRate.h index 90884a21a91..c978d29596a 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRate.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRate.h @@ -250,42 +250,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline const Aws::String& GetOperation() const{ return m_operation; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanOfferingRate& WithOperation(const Aws::String& value) { SetOperation(value); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanOfferingRate& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanOfferingRate& WithOperation(const char* value) { SetOperation(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateFilterElement.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateFilterElement.h index 5b354e1a210..decff0a0d68 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateFilterElement.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateFilterElement.h @@ -26,7 +26,8 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan offering rate filter.

                                                                                                                                                                                                                      See + * Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateProperty.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateProperty.h index 2fb73026236..68d555c1ed2 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateProperty.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanOfferingRateProperty.h @@ -24,7 +24,8 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a property.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan offering rate property.

                                                                                                                                                                                                                      See + * Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRate.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRate.h index f611889bca9..dc6c60b548c 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRate.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRate.h @@ -250,42 +250,50 @@ namespace Model /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline const Aws::String& GetOperation() const{ return m_operation; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); } /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanRate& WithOperation(const Aws::String& value) { SetOperation(value); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanRate& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;} /** - *

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing + * report.

                                                                                                                                                                                                                      */ inline SavingsPlanRate& WithOperation(const char* value) { SetOperation(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateFilter.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateFilter.h index 473b741c86d..492be6f56de 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateFilter.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateFilter.h @@ -26,7 +26,7 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan rate filter.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateProperty.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateProperty.h index e7866c4f782..16d10672112 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateProperty.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanRateProperty.h @@ -25,7 +25,7 @@ namespace Model { /** - *

                                                                                                                                                                                                                      Information about a property.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      Information about a Savings Plan rate property.

                                                                                                                                                                                                                      See Also:

                                                                                                                                                                                                                      AWS * API Reference

                                                                                                                                                                                                                      */ diff --git a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanState.h b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanState.h index f2dd68752ce..f678b37f9c5 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanState.h +++ b/generated/src/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/SavingsPlanState.h @@ -21,7 +21,9 @@ namespace Model active, retired, queued, - queued_deleted + queued_deleted, + pending_return, + returned }; namespace SavingsPlanStateMapper diff --git a/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansClient.cpp b/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansClient.cpp index a38c91d7b38..506e8c52b2b 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansClient.cpp +++ b/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansClient.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -360,6 +361,33 @@ ListTagsForResourceOutcome SavingsPlansClient::ListTagsForResource(const ListTag {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ReturnSavingsPlanOutcome SavingsPlansClient::ReturnSavingsPlan(const ReturnSavingsPlanRequest& request) const +{ + AWS_OPERATION_GUARD(ReturnSavingsPlan); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ReturnSavingsPlan, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ReturnSavingsPlan, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ReturnSavingsPlan, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ReturnSavingsPlan", + {{ 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( + [&]()-> ReturnSavingsPlanOutcome { + 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, ReturnSavingsPlan, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/ReturnSavingsPlan"); + return ReturnSavingsPlanOutcome(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 SavingsPlansClient::TagResource(const TagResourceRequest& request) const { AWS_OPERATION_GUARD(TagResource); diff --git a/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansEndpointRules.cpp b/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansEndpointRules.cpp index 19cef82b0c1..8a3aa08829e 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-savingsplans/source/SavingsPlansEndpointRules.cpp @@ -51,124 +51,124 @@ 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','"', -',','"','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','"',':','[','{','"','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','"','}',']','}', +'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','"',':','[','{', +'"','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','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', ',','{','"','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','"',':','"','s','t','r','i','n','g','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','"','}',',','"','n','a','m','e','"',']','}',',','"', -'a','w','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','"','}',',','f','a','l','s','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','"','}',',','f','a','l','s','e',']','}',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','s','a','v','i','n','g','s','p','l','a','n','s','.','a','m','a','z','o','n','a','w','s','.', -'c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h','S', -'c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',', -'"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','s','a','v','i','n','g','s','p','l','a', -'n','s','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','e', -'a','s','t','-','1','"','}',']','}',',','"','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','"',':','[','{','"','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','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','a','v','i','n','g','s', -'p','l','a','n','s','-','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','"',':','[','{', +'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','"',':','"','s','t','r','i','n','g','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','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','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','"', +'}',',','f','a','l','s','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','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s', +'a','v','i','n','g','s','p','l','a','n','s','.','a','m','a','z','o','n','a','w','s','.','c','o','m', +'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e', +'m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i', +'g','n','i','n','g','N','a','m','e','"',':','"','s','a','v','i','n','g','s','p','l','a','n','s','"', +',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','e','a','s','t', +'-','1','"','}',']','}',',','"','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','"',':','[','{','"','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','"',':','[','{','"','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','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','a','v','i','n','g','s','p','l','a', -'n','s','-','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','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','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','a','v','i','n','g','s','p','l','a', -'n','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','"', -':','"','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', -'"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h', -'t','t','p','s',':','/','/','s','a','v','i','n','g','s','p','l','a','n','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','"',':', +'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','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', +'l','"',':','"','h','t','t','p','s',':','/','/','s','a','v','i','n','g','s','p','l','a','n','s','-', +'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','"','}',',','{','"','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','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','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','s','a','v','i','n','g','s','p','l','a','n','s','-','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','"','}',',','{','"','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','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','s','a','v','i','n','g','s','p','l','a','n','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','"','}',',','{','"','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','"',':','[', +']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p', +'s',':','/','/','s','a','v','i','n','g','s','p','l','a','n','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','"',':','"','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','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanRequest.cpp b/generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanRequest.cpp new file mode 100644 index 00000000000..a1a99118955 --- /dev/null +++ b/generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::SavingsPlans::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ReturnSavingsPlanRequest::ReturnSavingsPlanRequest() : + m_savingsPlanIdHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) +{ +} + +Aws::String ReturnSavingsPlanRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_savingsPlanIdHasBeenSet) + { + payload.WithString("savingsPlanId", m_savingsPlanId); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanResult.cpp b/generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanResult.cpp new file mode 100644 index 00000000000..f1276ebc48f --- /dev/null +++ b/generated/src/aws-cpp-sdk-savingsplans/source/model/ReturnSavingsPlanResult.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::SavingsPlans::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ReturnSavingsPlanResult::ReturnSavingsPlanResult() +{ +} + +ReturnSavingsPlanResult::ReturnSavingsPlanResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ReturnSavingsPlanResult& ReturnSavingsPlanResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("savingsPlanId")) + { + m_savingsPlanId = jsonValue.GetString("savingsPlanId"); + + } + + + 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-savingsplans/source/model/SavingsPlan.cpp b/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlan.cpp index e8b05e50794..cb5dae0b263 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlan.cpp +++ b/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlan.cpp @@ -41,7 +41,8 @@ SavingsPlan::SavingsPlan() : m_recurringPaymentAmountHasBeenSet(false), m_termDurationInSeconds(0), m_termDurationInSecondsHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_returnableUntilHasBeenSet(false) { } @@ -68,7 +69,8 @@ SavingsPlan::SavingsPlan(JsonView jsonValue) : m_recurringPaymentAmountHasBeenSet(false), m_termDurationInSeconds(0), m_termDurationInSecondsHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_returnableUntilHasBeenSet(false) { *this = jsonValue; } @@ -207,6 +209,13 @@ SavingsPlan& SavingsPlan::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } + if(jsonValue.ValueExists("returnableUntil")) + { + m_returnableUntil = jsonValue.GetString("returnableUntil"); + + m_returnableUntilHasBeenSet = true; + } + return *this; } @@ -328,6 +337,12 @@ JsonValue SavingsPlan::Jsonize() const } + if(m_returnableUntilHasBeenSet) + { + payload.WithString("returnableUntil", m_returnableUntil); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlanState.cpp b/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlanState.cpp index db45d56fed6..58acc94768d 100644 --- a/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlanState.cpp +++ b/generated/src/aws-cpp-sdk-savingsplans/source/model/SavingsPlanState.cpp @@ -26,6 +26,8 @@ namespace Aws static const int retired_HASH = HashingUtils::HashString("retired"); static const int queued_HASH = HashingUtils::HashString("queued"); static const int queued_deleted_HASH = HashingUtils::HashString("queued-deleted"); + static const int pending_return_HASH = HashingUtils::HashString("pending-return"); + static const int returned_HASH = HashingUtils::HashString("returned"); SavingsPlanState GetSavingsPlanStateForName(const Aws::String& name) @@ -55,6 +57,14 @@ namespace Aws { return SavingsPlanState::queued_deleted; } + else if (hashCode == pending_return_HASH) + { + return SavingsPlanState::pending_return; + } + else if (hashCode == returned_HASH) + { + return SavingsPlanState::returned; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -83,6 +93,10 @@ namespace Aws return "queued"; case SavingsPlanState::queued_deleted: return "queued-deleted"; + case SavingsPlanState::pending_return: + return "pending-return"; + case SavingsPlanState::returned: + return "returned"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) 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 3c7ed812ae2..152c68f214d 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.289" +#define AWS_SDK_VERSION_STRING "1.11.290" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 289 +#define AWS_SDK_VERSION_PATCH 290 diff --git a/tools/code-generation/api-descriptions/accessanalyzer-2019-11-01.normal.json b/tools/code-generation/api-descriptions/accessanalyzer-2019-11-01.normal.json index 66d1e8f275a..2a66180e5e1 100644 --- a/tools/code-generation/api-descriptions/accessanalyzer-2019-11-01.normal.json +++ b/tools/code-generation/api-descriptions/accessanalyzer-2019-11-01.normal.json @@ -1305,6 +1305,14 @@ "s3ExpressDirectoryBucket":{ "shape":"S3ExpressDirectoryBucketConfiguration", "documentation":"

                                                                                                                                                                                                                      The access control configuration is for an Amazon S3 directory bucket.

                                                                                                                                                                                                                      " + }, + "dynamodbStream":{ + "shape":"DynamodbStreamConfiguration", + "documentation":"

                                                                                                                                                                                                                      The access control configuration is for a DynamoDB stream.

                                                                                                                                                                                                                      " + }, + "dynamodbTable":{ + "shape":"DynamodbTableConfiguration", + "documentation":"

                                                                                                                                                                                                                      The access control configuration is for a DynamoDB table or index.

                                                                                                                                                                                                                      " } }, "documentation":"

                                                                                                                                                                                                                      Access control configuration structures for your resource. You specify the configuration as a type-value pair. You can specify only one type of access control configuration.

                                                                                                                                                                                                                      ", @@ -1519,6 +1527,28 @@ }, "documentation":"

                                                                                                                                                                                                                      Deletes an archive rule.

                                                                                                                                                                                                                      " }, + "DynamodbStreamConfiguration":{ + "type":"structure", + "members":{ + "streamPolicy":{ + "shape":"DynamodbStreamPolicy", + "documentation":"

                                                                                                                                                                                                                      The proposed resource policy defining who can access or manage the DynamoDB stream.

                                                                                                                                                                                                                      " + } + }, + "documentation":"

                                                                                                                                                                                                                      The proposed access control configuration for a DynamoDB stream. You can propose a configuration for a new DynamoDB stream or an existing DynamoDB stream that you own by specifying the policy for the DynamoDB stream. For more information, see PutResourcePolicy.

                                                                                                                                                                                                                      • If the configuration is for an existing DynamoDB stream and you do not specify the DynamoDB policy, then the access preview uses the existing DynamoDB policy for the stream.

                                                                                                                                                                                                                      • If the access preview is for a new resource and you do not specify the policy, then the access preview assumes a DynamoDB stream without a policy.

                                                                                                                                                                                                                      • To propose deletion of an existing DynamoDB stream policy, you can specify an empty string for the DynamoDB policy.

                                                                                                                                                                                                                      " + }, + "DynamodbStreamPolicy":{"type":"string"}, + "DynamodbTableConfiguration":{ + "type":"structure", + "members":{ + "tablePolicy":{ + "shape":"DynamodbTablePolicy", + "documentation":"

                                                                                                                                                                                                                      The proposed resource policy defining who can access or manage the DynamoDB table.

                                                                                                                                                                                                                      " + } + }, + "documentation":"

                                                                                                                                                                                                                      The proposed access control configuration for a DynamoDB table or index. You can propose a configuration for a new DynamoDB table or index or an existing DynamoDB table or index that you own by specifying the policy for the DynamoDB table or index. For more information, see PutResourcePolicy.

                                                                                                                                                                                                                      • If the configuration is for an existing DynamoDB table or index and you do not specify the DynamoDB policy, then the access preview uses the existing DynamoDB policy for the table or index.

                                                                                                                                                                                                                      • If the access preview is for a new resource and you do not specify the policy, then the access preview assumes a DynamoDB table without a policy.

                                                                                                                                                                                                                      • To propose deletion of an existing DynamoDB table or index policy, you can specify an empty string for the DynamoDB policy.

                                                                                                                                                                                                                      " + }, + "DynamodbTablePolicy":{"type":"string"}, "EbsGroup":{"type":"string"}, "EbsGroupList":{ "type":"list", @@ -3176,7 +3206,9 @@ "AWS::RDS::DBSnapshot", "AWS::RDS::DBClusterSnapshot", "AWS::SNS::Topic", - "AWS::S3Express::DirectoryBucket" + "AWS::S3Express::DirectoryBucket", + "AWS::DynamoDB::Table", + "AWS::DynamoDB::Stream" ] }, "RetiringPrincipal":{"type":"string"}, @@ -3858,7 +3890,8 @@ "AWS::S3::AccessPoint", "AWS::S3::MultiRegionAccessPoint", "AWS::S3ObjectLambda::AccessPoint", - "AWS::IAM::AssumeRolePolicyDocument" + "AWS::IAM::AssumeRolePolicyDocument", + "AWS::DynamoDB::Table" ] }, "ValidatePolicyResponse":{ diff --git a/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json b/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json index 0bd63b29c97..67232b810d1 100644 --- a/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json +++ b/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json @@ -4745,7 +4745,7 @@ "members":{ "type":{ "shape":"WebhookFilterType", - "documentation":"

                                                                                                                                                                                                                      The type of webhook filter. There are six webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, and COMMIT_MESSAGE.

                                                                                                                                                                                                                      • EVENT

                                                                                                                                                                                                                        • A webhook event triggers a build when the provided pattern matches one of six event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events.

                                                                                                                                                                                                                          The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only.

                                                                                                                                                                                                                      • ACTOR_ACCOUNT_ID

                                                                                                                                                                                                                        • A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern.

                                                                                                                                                                                                                      • HEAD_REF

                                                                                                                                                                                                                        • A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name.

                                                                                                                                                                                                                          Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

                                                                                                                                                                                                                      • BASE_REF

                                                                                                                                                                                                                        • A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name.

                                                                                                                                                                                                                          Works with pull request events only.

                                                                                                                                                                                                                      • FILE_PATH

                                                                                                                                                                                                                        • A webhook triggers a build when the path of a changed file matches the regular expression pattern.

                                                                                                                                                                                                                          Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

                                                                                                                                                                                                                      • COMMIT_MESSAGE

                                                                                                                                                                                                                        • A webhook triggers a build when the head commit message matches the regular expression pattern.

                                                                                                                                                                                                                          Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The type of webhook filter. There are eight webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, COMMIT_MESSAGE, TAG_NAME, and RELEASE_NAME.

                                                                                                                                                                                                                      • EVENT

                                                                                                                                                                                                                        • A webhook event triggers a build when the provided pattern matches one of eight event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, PULL_REQUEST_MERGED, RELEASED, and PRERELEASED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events.

                                                                                                                                                                                                                          The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only. The RELEASED and PRERELEASED work with GitHub only.

                                                                                                                                                                                                                      • ACTOR_ACCOUNT_ID

                                                                                                                                                                                                                        • A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern.

                                                                                                                                                                                                                      • HEAD_REF

                                                                                                                                                                                                                        • A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name.

                                                                                                                                                                                                                          Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

                                                                                                                                                                                                                      • BASE_REF

                                                                                                                                                                                                                        • A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name.

                                                                                                                                                                                                                          Works with pull request events only.

                                                                                                                                                                                                                      • FILE_PATH

                                                                                                                                                                                                                        • A webhook triggers a build when the path of a changed file matches the regular expression pattern.

                                                                                                                                                                                                                          Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

                                                                                                                                                                                                                      • COMMIT_MESSAGE

                                                                                                                                                                                                                        • A webhook triggers a build when the head commit message matches the regular expression pattern.

                                                                                                                                                                                                                          Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

                                                                                                                                                                                                                      • TAG_NAME

                                                                                                                                                                                                                        • A webhook triggers a build when the tag name of the release matches the regular expression pattern.

                                                                                                                                                                                                                          Works with RELEASED and PRERELEASED events only.

                                                                                                                                                                                                                      • RELEASE_NAME

                                                                                                                                                                                                                        • A webhook triggers a build when the release name matches the regular expression pattern.

                                                                                                                                                                                                                          Works with RELEASED and PRERELEASED events only.

                                                                                                                                                                                                                      " }, "pattern":{ "shape":"String", diff --git a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json index f0743507092..42d2c02deba 100644 --- a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json +++ b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json @@ -4832,7 +4832,7 @@ }, "ResourceType":{ "shape":"InstanceStorageResourceType", - "documentation":"

                                                                                                                                                                                                                      A valid resource type.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      A valid resource type. To enable streaming for real-time analysis of contacts, use the following types:

                                                                                                                                                                                                                      • For chat contacts, use REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS.

                                                                                                                                                                                                                      • For voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

                                                                                                                                                                                                                      REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is deprecated, but it is still supported and will apply only to VOICE channel contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice contacts moving forward.

                                                                                                                                                                                                                      If you have previously associated a stream with REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.

                                                                                                                                                                                                                      " }, "StorageConfig":{ "shape":"InstanceStorageConfig", @@ -11758,7 +11758,9 @@ "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS", "ATTACHMENTS", "CONTACT_EVALUATIONS", - "SCREEN_RECORDINGS" + "SCREEN_RECORDINGS", + "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS", + "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS" ] }, "InstanceSummary":{ diff --git a/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json b/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json index 8e2accb69c9..713432d8d07 100644 --- a/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json +++ b/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json @@ -158,6 +158,25 @@ "endpointdiscovery":{ } }, + "DeleteResourcePolicy":{ + "name":"DeleteResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourcePolicyInput"}, + "output":{"shape":"DeleteResourcePolicyOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerError"}, + {"shape":"PolicyNotFoundException"}, + {"shape":"ResourceInUseException"}, + {"shape":"LimitExceededException"} + ], + "documentation":"

                                                                                                                                                                                                                      Deletes the resource-based policy attached to the resource, which can be a table or stream.

                                                                                                                                                                                                                      DeleteResourcePolicy is an idempotent operation; running it multiple times on the same resource doesn't result in an error response, unless you specify an ExpectedRevisionId, which will then return a PolicyNotFoundException.

                                                                                                                                                                                                                      To make sure that you don't inadvertently lock yourself out of your own resources, the root principal in your Amazon Web Services account can perform DeleteResourcePolicy requests, even if your resource-based policy explicitly denies the root principal's access.

                                                                                                                                                                                                                      DeleteResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after running the DeleteResourcePolicy request, DynamoDB might still return the deleted policy. This is because the policy for your resource might not have been deleted yet. Wait for a few seconds, and then try the GetResourcePolicy request again.

                                                                                                                                                                                                                      ", + "endpointdiscovery":{ + } + }, "DeleteTable":{ "name":"DeleteTable", "http":{ @@ -481,6 +500,23 @@ "endpointdiscovery":{ } }, + "GetResourcePolicy":{ + "name":"GetResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourcePolicyInput"}, + "output":{"shape":"GetResourcePolicyOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerError"}, + {"shape":"PolicyNotFoundException"} + ], + "documentation":"

                                                                                                                                                                                                                      Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format.

                                                                                                                                                                                                                      GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request:

                                                                                                                                                                                                                      • If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException.

                                                                                                                                                                                                                      • If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request.

                                                                                                                                                                                                                      • If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException.

                                                                                                                                                                                                                      Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request.

                                                                                                                                                                                                                      After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, you can assume the policy will start getting applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.

                                                                                                                                                                                                                      ", + "endpointdiscovery":{ + } + }, "ImportTable":{ "name":"ImportTable", "http":{ @@ -619,6 +655,25 @@ "endpointdiscovery":{ } }, + "PutResourcePolicy":{ + "name":"PutResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutResourcePolicyInput"}, + "output":{"shape":"PutResourcePolicyOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerError"}, + {"shape":"LimitExceededException"}, + {"shape":"PolicyNotFoundException"}, + {"shape":"ResourceInUseException"} + ], + "documentation":"

                                                                                                                                                                                                                      Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent .

                                                                                                                                                                                                                      PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId which doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned.

                                                                                                                                                                                                                      PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.

                                                                                                                                                                                                                      ", + "endpointdiscovery":{ + } + }, "Query":{ "name":"Query", "http":{ @@ -893,7 +948,7 @@ {"shape":"LimitExceededException"}, {"shape":"InternalServerError"} ], - "documentation":"

                                                                                                                                                                                                                      Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.

                                                                                                                                                                                                                      This operation only applies to Version 2019.11.21 (Current) of global tables.

                                                                                                                                                                                                                      You can only perform one of the following operations at once:

                                                                                                                                                                                                                      • Modify the provisioned throughput settings of the table.

                                                                                                                                                                                                                      • Remove a global secondary index from the table.

                                                                                                                                                                                                                      • Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations.

                                                                                                                                                                                                                      UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request on the base table nor any replicas. When the table returns to the ACTIVE state, the UpdateTable operation is complete.

                                                                                                                                                                                                                      ", + "documentation":"

                                                                                                                                                                                                                      Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.

                                                                                                                                                                                                                      This operation only applies to Version 2019.11.21 (Current) of global tables.

                                                                                                                                                                                                                      You can only perform one of the following operations at once:

                                                                                                                                                                                                                      • Modify the provisioned throughput settings of the table.

                                                                                                                                                                                                                      • Remove a global secondary index from the table.

                                                                                                                                                                                                                      • Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations.

                                                                                                                                                                                                                      UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.

                                                                                                                                                                                                                      ", "endpointdiscovery":{ } }, @@ -1417,7 +1472,7 @@ "members":{ "RequestItems":{ "shape":"BatchGetRequestMap", - "documentation":"

                                                                                                                                                                                                                      A map of one or more table names and, for each table, a map that describes one or more items to retrieve from that table. Each table name can be used only once per BatchGetItem request.

                                                                                                                                                                                                                      Each element in the map of items to retrieve consists of the following:

                                                                                                                                                                                                                      • ConsistentRead - If true, a strongly consistent read is used; if false (the default), an eventually consistent read is used.

                                                                                                                                                                                                                      • ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                        • To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                        • To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                        • To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                        Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                        • Percentile

                                                                                                                                                                                                                        The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                                                        • {\"#P\":\"Percentile\"}

                                                                                                                                                                                                                        You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                        • #P = :val

                                                                                                                                                                                                                        Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                        For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                      • Keys - An array of primary key attribute values that define specific items in the table. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide the partition key value. For a composite key, you must provide both the partition key value and the sort key value.

                                                                                                                                                                                                                      • ProjectionExpression - A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                                                                                                                                                                                                        If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.

                                                                                                                                                                                                                        For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                      • AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      A map of one or more table names or table ARNs and, for each table, a map that describes one or more items to retrieve from that table. Each table name or ARN can be used only once per BatchGetItem request.

                                                                                                                                                                                                                      Each element in the map of items to retrieve consists of the following:

                                                                                                                                                                                                                      • ConsistentRead - If true, a strongly consistent read is used; if false (the default), an eventually consistent read is used.

                                                                                                                                                                                                                      • ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                        • To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                        • To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                        • To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                        Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                        • Percentile

                                                                                                                                                                                                                        The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                                                        • {\"#P\":\"Percentile\"}

                                                                                                                                                                                                                        You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                        • #P = :val

                                                                                                                                                                                                                        Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                        For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                      • Keys - An array of primary key attribute values that define specific items in the table. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide the partition key value. For a composite key, you must provide both the partition key value and the sort key value.

                                                                                                                                                                                                                      • ProjectionExpression - A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                                                                                                                                                                                                        If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.

                                                                                                                                                                                                                        For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                      • AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                      " }, "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"} }, @@ -1428,7 +1483,7 @@ "members":{ "Responses":{ "shape":"BatchGetResponseMap", - "documentation":"

                                                                                                                                                                                                                      A map of table name to a list of items. Each object in Responses consists of a table name, along with a map of attribute data consisting of the data type and attribute value.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      A map of table name or table ARN to a list of items. Each object in Responses consists of a table name or ARN, along with a map of attribute data consisting of the data type and attribute value.

                                                                                                                                                                                                                      " }, "UnprocessedKeys":{ "shape":"BatchGetRequestMap", @@ -1443,14 +1498,14 @@ }, "BatchGetRequestMap":{ "type":"map", - "key":{"shape":"TableName"}, + "key":{"shape":"TableArn"}, "value":{"shape":"KeysAndAttributes"}, "max":100, "min":1 }, "BatchGetResponseMap":{ "type":"map", - "key":{"shape":"TableName"}, + "key":{"shape":"TableArn"}, "value":{"shape":"ItemList"} }, "BatchStatementError":{ @@ -1534,7 +1589,7 @@ "members":{ "RequestItems":{ "shape":"BatchWriteItemRequestMap", - "documentation":"

                                                                                                                                                                                                                      A map of one or more table names and, for each table, a list of operations to be performed (DeleteRequest or PutRequest). Each element in the map consists of the following:

                                                                                                                                                                                                                      • DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement:

                                                                                                                                                                                                                        • Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

                                                                                                                                                                                                                      • PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement:

                                                                                                                                                                                                                        • Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values are rejected with a ValidationException exception.

                                                                                                                                                                                                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      A map of one or more table names or table ARNs and, for each table, a list of operations to be performed (DeleteRequest or PutRequest). Each element in the map consists of the following:

                                                                                                                                                                                                                      • DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement:

                                                                                                                                                                                                                        • Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

                                                                                                                                                                                                                      • PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement:

                                                                                                                                                                                                                        • Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values are rejected with a ValidationException exception.

                                                                                                                                                                                                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                      " }, "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"}, "ReturnItemCollectionMetrics":{ @@ -1549,7 +1604,7 @@ "members":{ "UnprocessedItems":{ "shape":"BatchWriteItemRequestMap", - "documentation":"

                                                                                                                                                                                                                      A map of tables and requests against those tables that were not processed. The UnprocessedItems value is in the same form as RequestItems, so you can provide this value directly to a subsequent BatchWriteItem operation. For more information, see RequestItems in the Request Parameters section.

                                                                                                                                                                                                                      Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).

                                                                                                                                                                                                                      • DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement:

                                                                                                                                                                                                                        • Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.

                                                                                                                                                                                                                      • PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement:

                                                                                                                                                                                                                        • Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values will be rejected with a ValidationException exception.

                                                                                                                                                                                                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                      If there are no unprocessed items remaining, the response contains an empty UnprocessedItems map.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      A map of tables and requests against those tables that were not processed. The UnprocessedItems value is in the same form as RequestItems, so you can provide this value directly to a subsequent BatchWriteItem operation. For more information, see RequestItems in the Request Parameters section.

                                                                                                                                                                                                                      Each UnprocessedItems entry consists of a table name or table ARN and, for that table, a list of operations to perform (DeleteRequest or PutRequest).

                                                                                                                                                                                                                      • DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement:

                                                                                                                                                                                                                        • Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.

                                                                                                                                                                                                                      • PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement:

                                                                                                                                                                                                                        • Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values will be rejected with a ValidationException exception.

                                                                                                                                                                                                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                      If there are no unprocessed items remaining, the response contains an empty UnprocessedItems map.

                                                                                                                                                                                                                      " }, "ItemCollectionMetrics":{ "shape":"ItemCollectionMetricsPerTable", @@ -1564,7 +1619,7 @@ }, "BatchWriteItemRequestMap":{ "type":"map", - "key":{"shape":"TableName"}, + "key":{"shape":"TableArn"}, "value":{"shape":"WriteRequests"}, "max":25, "min":1 @@ -1704,8 +1759,8 @@ "documentation":"

                                                                                                                                                                                                                      The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      Name of the table for the check item request.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "ConditionExpression":{ "shape":"ConditionExpression", @@ -1749,13 +1804,14 @@ "OR" ] }, + "ConfirmRemoveSelfResourceAccess":{"type":"boolean"}, "ConsistentRead":{"type":"boolean"}, "ConsumedCapacity":{ "type":"structure", "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table that was affected by the operation.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

                                                                                                                                                                                                                      " }, "CapacityUnits":{ "shape":"ConsumedCapacityUnits", @@ -1874,8 +1930,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "BackupName":{ "shape":"BackupName", @@ -1996,8 +2052,8 @@ "documentation":"

                                                                                                                                                                                                                      An array of attributes that describe the key schema for the table and indexes.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to create.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "KeySchema":{ "shape":"KeySchema", @@ -2038,6 +2094,10 @@ "DeletionProtectionEnabled":{ "shape":"DeletionProtectionEnabled", "documentation":"

                                                                                                                                                                                                                      Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.

                                                                                                                                                                                                                      " + }, + "ResourcePolicy":{ + "shape":"ResourcePolicy", + "documentation":"

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.

                                                                                                                                                                                                                      When you attach a resource-based policy while creating a table, the policy creation is strongly consistent.

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. You can’t request an increase for this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.

                                                                                                                                                                                                                      " } }, "documentation":"

                                                                                                                                                                                                                      Represents the input of a CreateTable operation.

                                                                                                                                                                                                                      " @@ -2097,8 +2157,8 @@ "documentation":"

                                                                                                                                                                                                                      The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "ConditionExpression":{ "shape":"ConditionExpression", @@ -2157,8 +2217,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table from which to delete the item.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table from which to delete the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "Key":{ "shape":"Key", @@ -2251,13 +2311,36 @@ }, "documentation":"

                                                                                                                                                                                                                      Represents a request to perform a DeleteItem operation on an item.

                                                                                                                                                                                                                      " }, + "DeleteResourcePolicyInput":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"ResourceArnString", + "documentation":"

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.

                                                                                                                                                                                                                      " + }, + "ExpectedRevisionId":{ + "shape":"PolicyRevisionId", + "documentation":"

                                                                                                                                                                                                                      A string value that you can use to conditionally delete your policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, the request will fail and return a PolicyNotFoundException.

                                                                                                                                                                                                                      " + } + } + }, + "DeleteResourcePolicyOutput":{ + "type":"structure", + "members":{ + "RevisionId":{ + "shape":"PolicyRevisionId", + "documentation":"

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      This value will be empty if you make a request against a resource without a policy.

                                                                                                                                                                                                                      " + } + } + }, "DeleteTableInput":{ "type":"structure", "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to delete.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to delete. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " } }, "documentation":"

                                                                                                                                                                                                                      Represents the input of a DeleteTable operation.

                                                                                                                                                                                                                      " @@ -2297,8 +2380,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " } } }, @@ -2316,8 +2399,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "IndexName":{ "shape":"IndexName", @@ -2455,8 +2538,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table being described.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table being described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " } } }, @@ -2506,8 +2589,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to describe.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " } }, "documentation":"

                                                                                                                                                                                                                      Represents the input of a DescribeTable operation.

                                                                                                                                                                                                                      " @@ -2527,8 +2610,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " } } }, @@ -2546,8 +2629,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to be described.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to be described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " } } }, @@ -3004,8 +3087,8 @@ "documentation":"

                                                                                                                                                                                                                      A map of attribute names to AttributeValue objects that specifies the primary key of the item to retrieve.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "ProjectionExpression":{ "shape":"ProjectionExpression", @@ -3026,8 +3109,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table containing the requested item.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table containing the requested item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "Key":{ "shape":"Key", @@ -3067,6 +3150,29 @@ }, "documentation":"

                                                                                                                                                                                                                      Represents the output of a GetItem operation.

                                                                                                                                                                                                                      " }, + "GetResourcePolicyInput":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"ResourceArnString", + "documentation":"

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy is attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      " + } + } + }, + "GetResourcePolicyOutput":{ + "type":"structure", + "members":{ + "Policy":{ + "shape":"ResourcePolicy", + "documentation":"

                                                                                                                                                                                                                      The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.

                                                                                                                                                                                                                      " + }, + "RevisionId":{ + "shape":"PolicyRevisionId", + "documentation":"

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      " + } + } + }, "GlobalSecondaryIndex":{ "type":"structure", "required":[ @@ -3645,7 +3751,7 @@ }, "ItemCollectionMetricsPerTable":{ "type":"map", - "key":{"shape":"TableName"}, + "key":{"shape":"TableArn"}, "value":{"shape":"ItemCollectionMetricsMultiple"} }, "ItemCollectionSizeEstimateBound":{"type":"double"}, @@ -3804,8 +3910,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the DynamoDB table.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the DynamoDB table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "StreamArn":{ "shape":"StreamArn", @@ -3858,8 +3964,8 @@ "type":"structure", "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The backups from the table specified by TableName are listed.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      Lists the backups from the table specified in TableName. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "Limit":{ "shape":"BackupsInputLimit", @@ -3900,8 +4006,8 @@ "type":"structure", "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "NextToken":{ "shape":"NextTokenString", @@ -4291,6 +4397,19 @@ "documentation":"

                                                                                                                                                                                                                      Point in time recovery has not yet been enabled for this source table.

                                                                                                                                                                                                                      ", "exception":true }, + "PolicyNotFoundException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

                                                                                                                                                                                                                      The operation tried to access a nonexistent resource-based policy.

                                                                                                                                                                                                                      If you specified an ExpectedRevisionId, it's possible that a policy is present for the resource but its revision ID didn't match the expected value.

                                                                                                                                                                                                                      ", + "exception":true + }, + "PolicyRevisionId":{ + "type":"string", + "max":255, + "min":1 + }, "PositiveIntegerObject":{ "type":"integer", "min":1 @@ -4408,8 +4527,8 @@ "documentation":"

                                                                                                                                                                                                                      A map of attribute name to attribute values, representing the primary key of the item to be written by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      Name of the table in which to write the item.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "ConditionExpression":{ "shape":"ConditionExpression", @@ -4438,8 +4557,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to contain the item.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to contain the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "Item":{ "shape":"PutItemInputAttributeMap", @@ -4515,13 +4634,47 @@ }, "documentation":"

                                                                                                                                                                                                                      Represents a request to perform a PutItem operation on an item.

                                                                                                                                                                                                                      " }, + "PutResourcePolicyInput":{ + "type":"structure", + "required":[ + "ResourceArn", + "Policy" + ], + "members":{ + "ResourceArn":{ + "shape":"ResourceArnString", + "documentation":"

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams.

                                                                                                                                                                                                                      You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document.

                                                                                                                                                                                                                      " + }, + "Policy":{ + "shape":"ResourcePolicy", + "documentation":"

                                                                                                                                                                                                                      An Amazon Web Services resource-based policy document in JSON format.

                                                                                                                                                                                                                      The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.

                                                                                                                                                                                                                      " + }, + "ExpectedRevisionId":{ + "shape":"PolicyRevisionId", + "documentation":"

                                                                                                                                                                                                                      A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException.

                                                                                                                                                                                                                      To conditionally put a policy when no policy exists for the resource, specify NO_POLICY for the revision ID.

                                                                                                                                                                                                                      " + }, + "ConfirmRemoveSelfResourceAccess":{ + "shape":"ConfirmRemoveSelfResourceAccess", + "documentation":"

                                                                                                                                                                                                                      Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future.

                                                                                                                                                                                                                      " + } + } + }, + "PutResourcePolicyOutput":{ + "type":"structure", + "members":{ + "RevisionId":{ + "shape":"PolicyRevisionId", + "documentation":"

                                                                                                                                                                                                                      A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.

                                                                                                                                                                                                                      " + } + } + }, "QueryInput":{ "type":"structure", "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table containing the requested items.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table containing the requested items. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "IndexName":{ "shape":"IndexName", @@ -5032,6 +5185,7 @@ "documentation":"

                                                                                                                                                                                                                      The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be ACTIVE.

                                                                                                                                                                                                                      ", "exception":true }, + "ResourcePolicy":{"type":"string"}, "RestoreInProgress":{"type":"boolean"}, "RestoreSummary":{ "type":"structure", @@ -5308,8 +5462,8 @@ "required":["TableName"], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table containing the requested items; or, if you provide IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table containing the requested items or if you provide IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                      You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "IndexName":{ "shape":"IndexName", @@ -5540,7 +5694,11 @@ "documentation":"

                                                                                                                                                                                                                      A target table with the specified name already exists.

                                                                                                                                                                                                                      ", "exception":true }, - "TableArn":{"type":"string"}, + "TableArn":{ + "type":"string", + "max":1024, + "min":1 + }, "TableAutoScalingDescription":{ "type":"structure", "members":{ @@ -6023,8 +6181,8 @@ "documentation":"

                                                                                                                                                                                                                      An expression that defines one or more attributes to be updated, the action to be performed on them, and new value(s) for them.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      Name of the table for the UpdateItem request.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      Name of the table for the UpdateItem request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "ConditionExpression":{ "shape":"ConditionExpression", @@ -6053,8 +6211,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "PointInTimeRecoverySpecification":{ "shape":"PointInTimeRecoverySpecification", @@ -6079,8 +6237,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "IndexName":{ "shape":"IndexName", @@ -6205,8 +6363,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table containing the item to update.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table containing the item to update. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "Key":{ "shape":"Key", @@ -6292,12 +6450,12 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The table name for the Kinesis streaming destination input. You can also provide the ARN of the table in this parameter.

                                                                                                                                                                                                                      " }, "StreamArn":{ "shape":"StreamArn", - "documentation":"

                                                                                                                                                                                                                      The ARN for the Kinesis stream input.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The Amazon Resource Name (ARN) for the Kinesis stream input.

                                                                                                                                                                                                                      " }, "UpdateKinesisStreamingConfiguration":{ "shape":"UpdateKinesisStreamingConfiguration", @@ -6362,8 +6520,8 @@ "documentation":"

                                                                                                                                                                                                                      An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, AttributeDefinitions must include the key element(s) of the new index.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to be updated.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "BillingMode":{ "shape":"BillingMode", @@ -6419,8 +6577,8 @@ "documentation":"

                                                                                                                                                                                                                      Represents the auto scaling settings of the global secondary indexes of the replica to be updated.

                                                                                                                                                                                                                      " }, "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the global table to be updated.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the global table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "ProvisionedWriteCapacityAutoScalingUpdate":{"shape":"AutoScalingSettingsUpdate"}, "ReplicaUpdates":{ @@ -6446,8 +6604,8 @@ ], "members":{ "TableName":{ - "shape":"TableName", - "documentation":"

                                                                                                                                                                                                                      The name of the table to be configured.

                                                                                                                                                                                                                      " + "shape":"TableArn", + "documentation":"

                                                                                                                                                                                                                      The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

                                                                                                                                                                                                                      " }, "TimeToLiveSpecification":{ "shape":"TimeToLiveSpecification", diff --git a/tools/code-generation/api-descriptions/managedblockchain-query-2023-05-04.normal.json b/tools/code-generation/api-descriptions/managedblockchain-query-2023-05-04.normal.json index bfe69e938b3..5d816d5eb31 100644 --- a/tools/code-generation/api-descriptions/managedblockchain-query-2023-05-04.normal.json +++ b/tools/code-generation/api-descriptions/managedblockchain-query-2023-05-04.normal.json @@ -539,15 +539,16 @@ }, "GetTransactionInput":{ "type":"structure", - "required":[ - "transactionHash", - "network" - ], + "required":["network"], "members":{ "transactionHash":{ "shape":"QueryTransactionHash", "documentation":"

                                                                                                                                                                                                                      The hash of a transaction. It is generated when a transaction is created.

                                                                                                                                                                                                                      " }, + "transactionId":{ + "shape":"QueryTransactionId", + "documentation":"

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction is created.

                                                                                                                                                                                                                      transactionId is only supported on the Bitcoin networks.

                                                                                                                                                                                                                      " + }, "network":{ "shape":"QueryNetwork", "documentation":"

                                                                                                                                                                                                                      The blockchain network where the transaction occurred.

                                                                                                                                                                                                                      " @@ -1323,6 +1324,10 @@ "shape":"QueryTransactionHash", "documentation":"

                                                                                                                                                                                                                      The hash of a transaction. It is generated when a transaction is created.

                                                                                                                                                                                                                      " }, + "transactionId":{ + "shape":"QueryTransactionId", + "documentation":"

                                                                                                                                                                                                                      The identifier of a Bitcoin transaction. It is generated when a transaction is created.

                                                                                                                                                                                                                      " + }, "network":{ "shape":"QueryNetwork", "documentation":"

                                                                                                                                                                                                                      The blockchain network where the transaction occurred.

                                                                                                                                                                                                                      " diff --git a/tools/code-generation/api-descriptions/savingsplans-2019-06-28.normal.json b/tools/code-generation/api-descriptions/savingsplans-2019-06-28.normal.json index 3cbf318f905..0447d4202f1 100644 --- a/tools/code-generation/api-descriptions/savingsplans-2019-06-28.normal.json +++ b/tools/code-generation/api-descriptions/savingsplans-2019-06-28.normal.json @@ -57,7 +57,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], - "documentation":"

                                                                                                                                                                                                                      Describes the specified Savings Plans rates.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Describes the rates for the specified Savings Plan.

                                                                                                                                                                                                                      " }, "DescribeSavingsPlans":{ "name":"DescribeSavingsPlans", @@ -85,7 +85,7 @@ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], - "documentation":"

                                                                                                                                                                                                                      Describes the specified Savings Plans offering rates.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Describes the offering rates for the specified Savings Plans.

                                                                                                                                                                                                                      " }, "DescribeSavingsPlansOfferings":{ "name":"DescribeSavingsPlansOfferings", @@ -99,7 +99,7 @@ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], - "documentation":"

                                                                                                                                                                                                                      Describes the specified Savings Plans offerings.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Describes the offerings for the specified Savings Plans.

                                                                                                                                                                                                                      " }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -116,6 +116,22 @@ ], "documentation":"

                                                                                                                                                                                                                      Lists the tags for the specified resource.

                                                                                                                                                                                                                      " }, + "ReturnSavingsPlan":{ + "name":"ReturnSavingsPlan", + "http":{ + "method":"POST", + "requestUri":"/ReturnSavingsPlan" + }, + "input":{"shape":"ReturnSavingsPlanRequest"}, + "output":{"shape":"ReturnSavingsPlanResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

                                                                                                                                                                                                                      Returns the specified Savings Plan.

                                                                                                                                                                                                                      " + }, "TagResource":{ "name":"TagResource", "http":{ @@ -164,19 +180,19 @@ }, "commitment":{ "shape":"Amount", - "documentation":"

                                                                                                                                                                                                                      The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The hourly commitment, in the same currency of the savingsPlanOfferingId. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.

                                                                                                                                                                                                                      " }, "upfrontPaymentAmount":{ "shape":"Amount", - "documentation":"

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is supported only if the payment option is Partial Upfront.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is only supported if the payment option is Partial Upfront.

                                                                                                                                                                                                                      " }, "purchaseTime":{ "shape":"DateTime", - "documentation":"

                                                                                                                                                                                                                      The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).

                                                                                                                                                                                                                      " }, "clientToken":{ "shape":"ClientToken", - "documentation":"

                                                                                                                                                                                                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                      ", + "documentation":"

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                      ", "idempotencyToken":true }, "tags":{ @@ -252,11 +268,11 @@ }, "searchResults":{ "shape":"SavingsPlanRateList", - "documentation":"

                                                                                                                                                                                                                      Information about the Savings Plans rates.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about the Savings Plan rates.

                                                                                                                                                                                                                      " }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                                                                                                                                                      " } } }, @@ -277,7 +293,7 @@ }, "products":{ "shape":"SavingsPlanProductTypeList", - "documentation":"

                                                                                                                                                                                                                      The AWS products.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The Amazon Web Services products.

                                                                                                                                                                                                                      " }, "serviceCodes":{ "shape":"SavingsPlanRateServiceCodeList", @@ -289,7 +305,7 @@ }, "operations":{ "shape":"SavingsPlanRateOperationList", - "documentation":"

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing report.

                                                                                                                                                                                                                      " }, "filters":{ "shape":"SavingsPlanOfferingRateFiltersList", @@ -335,11 +351,11 @@ }, "planTypes":{ "shape":"SavingsPlanTypeList", - "documentation":"

                                                                                                                                                                                                                      The plan type.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The plan types.

                                                                                                                                                                                                                      " }, "durations":{ "shape":"DurationsList", - "documentation":"

                                                                                                                                                                                                                      The durations, in seconds.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The duration, in seconds.

                                                                                                                                                                                                                      " }, "currencies":{ "shape":"CurrencyList", @@ -359,7 +375,7 @@ }, "operations":{ "shape":"SavingsPlanOperationList", - "documentation":"

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing report.

                                                                                                                                                                                                                      " }, "filters":{ "shape":"SavingsPlanOfferingFiltersList", @@ -409,7 +425,7 @@ }, "states":{ "shape":"SavingsPlanStateList", - "documentation":"

                                                                                                                                                                                                                      The states.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The current states of the Savings Plans.

                                                                                                                                                                                                                      " }, "filters":{ "shape":"SavingsPlanFilterList", @@ -532,6 +548,30 @@ "error":{"httpStatusCode":404}, "exception":true }, + "ReturnSavingsPlanRequest":{ + "type":"structure", + "required":["savingsPlanId"], + "members":{ + "savingsPlanId":{ + "shape":"SavingsPlanId", + "documentation":"

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

                                                                                                                                                                                                                      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                                                                                                                                                                                                                      ", + "idempotencyToken":true + } + } + }, + "ReturnSavingsPlanResponse":{ + "type":"structure", + "members":{ + "savingsPlanId":{ + "shape":"SavingsPlanId", + "documentation":"

                                                                                                                                                                                                                      The ID of the Savings Plan.

                                                                                                                                                                                                                      " + } + } + }, "SavingsPlan":{ "type":"structure", "members":{ @@ -561,11 +601,11 @@ }, "state":{ "shape":"SavingsPlanState", - "documentation":"

                                                                                                                                                                                                                      The state.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The current state.

                                                                                                                                                                                                                      " }, "region":{ "shape":"Region", - "documentation":"

                                                                                                                                                                                                                      The AWS Region.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The Amazon Web Services Region.

                                                                                                                                                                                                                      " }, "ec2InstanceFamily":{ "shape":"EC2InstanceFamily", @@ -589,7 +629,7 @@ }, "commitment":{ "shape":"Amount", - "documentation":"

                                                                                                                                                                                                                      The hourly commitment, in USD.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The hourly commitment amount in the specified currency.

                                                                                                                                                                                                                      " }, "upfrontPaymentAmount":{ "shape":"Amount", @@ -606,6 +646,10 @@ "tags":{ "shape":"TagMap", "documentation":"

                                                                                                                                                                                                                      One or more tags.

                                                                                                                                                                                                                      " + }, + "returnableUntil":{ + "shape":"String", + "documentation":"

                                                                                                                                                                                                                      The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plan start time.

                                                                                                                                                                                                                      " } }, "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan.

                                                                                                                                                                                                                      " @@ -639,7 +683,7 @@ "documentation":"

                                                                                                                                                                                                                      The filter value.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan filter.

                                                                                                                                                                                                                      " }, "SavingsPlanFilterList":{ "type":"list", @@ -695,7 +739,7 @@ }, "operation":{ "shape":"SavingsPlanOperation", - "documentation":"

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing report.

                                                                                                                                                                                                                      " }, "properties":{ "shape":"SavingsPlanOfferingPropertyList", @@ -723,7 +767,7 @@ "documentation":"

                                                                                                                                                                                                                      The filter values.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan offering filter.

                                                                                                                                                                                                                      " }, "SavingsPlanOfferingFiltersList":{ "type":"list", @@ -742,7 +786,7 @@ "documentation":"

                                                                                                                                                                                                                      The property value.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a property.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan offering property.

                                                                                                                                                                                                                      " }, "SavingsPlanOfferingPropertyKey":{ "type":"string", @@ -784,7 +828,7 @@ }, "operation":{ "shape":"SavingsPlanRateOperation", - "documentation":"

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing report.

                                                                                                                                                                                                                      " }, "properties":{ "shape":"SavingsPlanOfferingRatePropertyList", @@ -805,7 +849,7 @@ "documentation":"

                                                                                                                                                                                                                      The filter values.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan offering rate filter.

                                                                                                                                                                                                                      " }, "SavingsPlanOfferingRateFiltersList":{ "type":"list", @@ -823,7 +867,7 @@ "documentation":"

                                                                                                                                                                                                                      The property value.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a property.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan offering rate property.

                                                                                                                                                                                                                      " }, "SavingsPlanOfferingRatePropertyList":{ "type":"list", @@ -900,7 +944,7 @@ }, "operation":{ "shape":"SavingsPlanRateOperation", - "documentation":"

                                                                                                                                                                                                                      The specific AWS operation for the line item in the billing report.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      The specific Amazon Web Services operation for the line item in the billing report.

                                                                                                                                                                                                                      " }, "properties":{ "shape":"SavingsPlanRatePropertyList", @@ -921,7 +965,7 @@ "documentation":"

                                                                                                                                                                                                                      The filter values.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a filter.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan rate filter.

                                                                                                                                                                                                                      " }, "SavingsPlanRateFilterAttribute":{ "type":"string", @@ -977,7 +1021,7 @@ "documentation":"

                                                                                                                                                                                                                      The property value.

                                                                                                                                                                                                                      " } }, - "documentation":"

                                                                                                                                                                                                                      Information about a property.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Information about a Savings Plan rate property.

                                                                                                                                                                                                                      " }, "SavingsPlanRatePropertyKey":{ "type":"string", @@ -1041,7 +1085,9 @@ "active", "retired", "queued", - "queued-deleted" + "queued-deleted", + "pending-return", + "returned" ] }, "SavingsPlanStateList":{ @@ -1173,5 +1219,5 @@ "exception":true } }, - "documentation":"

                                                                                                                                                                                                                      Savings Plans are a pricing model that offer significant savings on AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the AWS Savings Plans User Guide.

                                                                                                                                                                                                                      " + "documentation":"

                                                                                                                                                                                                                      Savings Plans are a pricing model that offer significant savings on Amazon Web Services usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage per hour, in the specified currency, for a term of one or three years, and receive a lower price for that usage. For more information, see the Amazon Web Services Savings Plans User Guide.

                                                                                                                                                                                                                      " } diff --git a/tools/code-generation/endpoints/savingsplans-2019-06-28.endpoint-rule-set.json b/tools/code-generation/endpoints/savingsplans-2019-06-28.endpoint-rule-set.json index f6d356a3326..9cd6b62b591 100644 --- a/tools/code-generation/endpoints/savingsplans-2019-06-28.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/savingsplans-2019-06-28.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -184,7 +182,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -219,7 +216,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -230,14 +226,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -251,14 +249,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -267,11 +263,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -282,14 +278,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -303,7 +301,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -323,7 +320,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -334,14 +330,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -352,9 +350,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [],