From 7be84d4a8d211dde517b9d9d9a1eca629072cce2 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Tue, 20 Feb 2024 20:14:59 +0000 Subject: [PATCH] Publishing quick fix for doc only update. Add .NET 8 (dotnet8) Runtime support to AWS Lambda. This release updates a few Firehose related APIs. --- VERSION | 2 +- .../include/aws/dynamodb/DynamoDBClient.h | 8 +- .../include/aws/firehose/FirehoseClient.h | 46 ----- .../include/aws/firehose/FirehoseErrors.h | 9 +- .../aws/firehose/FirehoseServiceClientModel.h | 10 - .../firehose/model/GetKinesisStreamRequest.h | 69 ------- .../firehose/model/GetKinesisStreamResult.h | 106 ---------- .../model/InvalidStreamTypeException.h | 95 --------- .../aws/firehose/model/SessionCredentials.h | 146 -------------- .../model/TagrisInvalidArnException.h | 90 --------- ...risPartialResourcesExistResultsException.h | 109 ---------- .../include/aws/firehose/model/TagrisStatus.h | 31 --- .../aws/firehose/model/TagrisSweepListItem.h | 139 ------------- .../VerifyResourcesExistForTagrisRequest.h | 70 ------- .../VerifyResourcesExistForTagrisResult.h | 101 ---------- .../source/FirehoseClient.cpp | 54 ----- .../source/FirehoseErrors.cpp | 68 +------ .../source/model/GetKinesisStreamRequest.cpp | 43 ---- .../source/model/GetKinesisStreamResult.cpp | 54 ----- .../model/InvalidStreamTypeException.cpp | 74 ------- .../source/model/SessionCredentials.cpp | 103 ---------- .../model/TagrisInvalidArnException.cpp | 74 ------- ...sPartialResourcesExistResultsException.cpp | 82 -------- .../source/model/TagrisStatus.cpp | 72 ------- .../source/model/TagrisSweepListItem.cpp | 106 ---------- .../VerifyResourcesExistForTagrisRequest.cpp | 48 ----- .../VerifyResourcesExistForTagrisResult.cpp | 51 ----- .../model/CreateEventSourceMappingResult.h | 25 ++- .../model/DeleteEventSourceMappingResult.h | 25 ++- .../model/EventSourceMappingConfiguration.h | 30 +-- .../model/GetEventSourceMappingResult.h | 25 ++- .../include/aws/lambda/model/OnFailure.h | 32 +-- .../include/aws/lambda/model/Runtime.h | 1 + .../model/UpdateEventSourceMappingResult.h | 25 ++- .../source/model/Runtime.cpp | 7 + .../include/aws/core/VersionConfig.h | 4 +- .../dynamodb-2012-08-10.normal.json | 2 +- .../firehose-2015-08-04.normal.json | 190 ------------------ .../lambda-2015-03-31.normal.json | 5 +- 39 files changed, 120 insertions(+), 2111 deletions(-) delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamRequest.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamResult.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/InvalidStreamTypeException.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SessionCredentials.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisInvalidArnException.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisPartialResourcesExistResultsException.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisStatus.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisSweepListItem.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisRequest.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisResult.h delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/InvalidStreamTypeException.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/SessionCredentials.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/TagrisInvalidArnException.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/TagrisPartialResourcesExistResultsException.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/TagrisStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/TagrisSweepListItem.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisResult.cpp diff --git a/VERSION b/VERSION index 835cf97f190..04660a3e8ca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.268 \ No newline at end of file +1.11.269 \ No newline at end of file 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 a2b16211fa9..a7db64177d1 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 @@ -2016,10 +2016,10 @@ namespace DynamoDB * 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 is executing, - * the table status changes from ACTIVE to UPDATING. - * While it is UPDATING, you cannot issue another - * UpdateTable request. When the table returns to the + * 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:

    AWS diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h index 3689b6094ee..3c067d946bd 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h @@ -241,29 +241,6 @@ namespace Firehose return SubmitAsync(&FirehoseClient::DescribeDeliveryStream, request, handler, context); } - /** - * - */ - virtual Model::GetKinesisStreamOutcome GetKinesisStream(const Model::GetKinesisStreamRequest& request) const; - - /** - * A Callable wrapper for GetKinesisStream that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetKinesisStreamOutcomeCallable GetKinesisStreamCallable(const GetKinesisStreamRequestT& request) const - { - return SubmitCallable(&FirehoseClient::GetKinesisStream, request); - } - - /** - * An Async wrapper for GetKinesisStream that queues the request into a thread executor and triggers associated callback when operation has finished. - */ - template - void GetKinesisStreamAsync(const GetKinesisStreamRequestT& request, const GetKinesisStreamResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const - { - return SubmitAsync(&FirehoseClient::GetKinesisStream, request, handler, context); - } - /** *

    Lists your delivery streams in alphabetical order of their names.

    The * number of delivery streams might be too large to return using a single call to @@ -693,29 +670,6 @@ namespace Firehose return SubmitAsync(&FirehoseClient::UpdateDestination, request, handler, context); } - /** - * - */ - virtual Model::VerifyResourcesExistForTagrisOutcome VerifyResourcesExistForTagris(const Model::VerifyResourcesExistForTagrisRequest& request) const; - - /** - * A Callable wrapper for VerifyResourcesExistForTagris that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::VerifyResourcesExistForTagrisOutcomeCallable VerifyResourcesExistForTagrisCallable(const VerifyResourcesExistForTagrisRequestT& request) const - { - return SubmitCallable(&FirehoseClient::VerifyResourcesExistForTagris, request); - } - - /** - * An Async wrapper for VerifyResourcesExistForTagris that queues the request into a thread executor and triggers associated callback when operation has finished. - */ - template - void VerifyResourcesExistForTagrisAsync(const VerifyResourcesExistForTagrisRequestT& request, const VerifyResourcesExistForTagrisResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const - { - return SubmitAsync(&FirehoseClient::VerifyResourcesExistForTagris, request, handler, context); - } - void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseErrors.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseErrors.h index 20b2388a449..cad678131b5 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseErrors.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseErrors.h @@ -51,15 +51,8 @@ enum class FirehoseErrors INVALID_ARGUMENT, INVALID_K_M_S_RESOURCE, INVALID_SOURCE, - INVALID_STREAM_TYPE, LIMIT_EXCEEDED, - RESOURCE_IN_USE, - TAGRIS_ACCESS_DENIED, - TAGRIS_INTERNAL_SERVICE, - TAGRIS_INVALID_ARN, - TAGRIS_INVALID_PARAMETER, - TAGRIS_PARTIAL_RESOURCES_EXIST_RESULTS, - TAGRIS_THROTTLED + RESOURCE_IN_USE }; class AWS_FIREHOSE_API FirehoseError : public Aws::Client::AWSError diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseServiceClientModel.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseServiceClientModel.h index a37443d5b90..8ef096949eb 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseServiceClientModel.h @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -31,7 +30,6 @@ #include #include #include -#include /* End of service model headers required in FirehoseClient header */ namespace Aws @@ -75,7 +73,6 @@ namespace Aws class CreateDeliveryStreamRequest; class DeleteDeliveryStreamRequest; class DescribeDeliveryStreamRequest; - class GetKinesisStreamRequest; class ListDeliveryStreamsRequest; class ListTagsForDeliveryStreamRequest; class PutRecordRequest; @@ -85,14 +82,12 @@ namespace Aws class TagDeliveryStreamRequest; class UntagDeliveryStreamRequest; class UpdateDestinationRequest; - class VerifyResourcesExistForTagrisRequest; /* End of service model forward declarations required in FirehoseClient header */ /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome CreateDeliveryStreamOutcome; typedef Aws::Utils::Outcome DeleteDeliveryStreamOutcome; typedef Aws::Utils::Outcome DescribeDeliveryStreamOutcome; - typedef Aws::Utils::Outcome GetKinesisStreamOutcome; typedef Aws::Utils::Outcome ListDeliveryStreamsOutcome; typedef Aws::Utils::Outcome ListTagsForDeliveryStreamOutcome; typedef Aws::Utils::Outcome PutRecordOutcome; @@ -102,14 +97,12 @@ namespace Aws typedef Aws::Utils::Outcome TagDeliveryStreamOutcome; typedef Aws::Utils::Outcome UntagDeliveryStreamOutcome; typedef Aws::Utils::Outcome UpdateDestinationOutcome; - typedef Aws::Utils::Outcome VerifyResourcesExistForTagrisOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ typedef std::future CreateDeliveryStreamOutcomeCallable; typedef std::future DeleteDeliveryStreamOutcomeCallable; typedef std::future DescribeDeliveryStreamOutcomeCallable; - typedef std::future GetKinesisStreamOutcomeCallable; typedef std::future ListDeliveryStreamsOutcomeCallable; typedef std::future ListTagsForDeliveryStreamOutcomeCallable; typedef std::future PutRecordOutcomeCallable; @@ -119,7 +112,6 @@ namespace Aws typedef std::future TagDeliveryStreamOutcomeCallable; typedef std::future UntagDeliveryStreamOutcomeCallable; typedef std::future UpdateDestinationOutcomeCallable; - typedef std::future VerifyResourcesExistForTagrisOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -129,7 +121,6 @@ namespace Aws typedef std::function&) > CreateDeliveryStreamResponseReceivedHandler; typedef std::function&) > DeleteDeliveryStreamResponseReceivedHandler; typedef std::function&) > DescribeDeliveryStreamResponseReceivedHandler; - typedef std::function&) > GetKinesisStreamResponseReceivedHandler; typedef std::function&) > ListDeliveryStreamsResponseReceivedHandler; typedef std::function&) > ListTagsForDeliveryStreamResponseReceivedHandler; typedef std::function&) > PutRecordResponseReceivedHandler; @@ -139,7 +130,6 @@ namespace Aws typedef std::function&) > TagDeliveryStreamResponseReceivedHandler; typedef std::function&) > UntagDeliveryStreamResponseReceivedHandler; typedef std::function&) > UpdateDestinationResponseReceivedHandler; - typedef std::function&) > VerifyResourcesExistForTagrisResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace Firehose } // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamRequest.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamRequest.h deleted file mode 100644 index cceaab782c6..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - - /** - */ - class GetKinesisStreamRequest : public FirehoseRequest - { - public: - AWS_FIREHOSE_API GetKinesisStreamRequest(); - - // 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 "GetKinesisStream"; } - - AWS_FIREHOSE_API Aws::String SerializePayload() const override; - - AWS_FIREHOSE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - - inline const Aws::String& GetDeliveryStreamARN() const{ return m_deliveryStreamARN; } - - - inline bool DeliveryStreamARNHasBeenSet() const { return m_deliveryStreamARNHasBeenSet; } - - - inline void SetDeliveryStreamARN(const Aws::String& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = value; } - - - inline void SetDeliveryStreamARN(Aws::String&& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = std::move(value); } - - - inline void SetDeliveryStreamARN(const char* value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN.assign(value); } - - - inline GetKinesisStreamRequest& WithDeliveryStreamARN(const Aws::String& value) { SetDeliveryStreamARN(value); return *this;} - - - inline GetKinesisStreamRequest& WithDeliveryStreamARN(Aws::String&& value) { SetDeliveryStreamARN(std::move(value)); return *this;} - - - inline GetKinesisStreamRequest& WithDeliveryStreamARN(const char* value) { SetDeliveryStreamARN(value); return *this;} - - private: - - Aws::String m_deliveryStreamARN; - bool m_deliveryStreamARNHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamResult.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamResult.h deleted file mode 100644 index 48fa03de6ea..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/GetKinesisStreamResult.h +++ /dev/null @@ -1,106 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include -#include -#include - -namespace Aws -{ -template -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Json -{ - class JsonValue; -} // namespace Json -} // namespace Utils -namespace Firehose -{ -namespace Model -{ - class GetKinesisStreamResult - { - public: - AWS_FIREHOSE_API GetKinesisStreamResult(); - AWS_FIREHOSE_API GetKinesisStreamResult(const Aws::AmazonWebServiceResult& result); - AWS_FIREHOSE_API GetKinesisStreamResult& operator=(const Aws::AmazonWebServiceResult& result); - - - - inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; } - - - inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARN = value; } - - - inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARN = std::move(value); } - - - inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARN.assign(value); } - - - inline GetKinesisStreamResult& WithKinesisStreamARN(const Aws::String& value) { SetKinesisStreamARN(value); return *this;} - - - inline GetKinesisStreamResult& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;} - - - inline GetKinesisStreamResult& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;} - - - - inline const SessionCredentials& GetCredentialsForReadingKinesisStream() const{ return m_credentialsForReadingKinesisStream; } - - - inline void SetCredentialsForReadingKinesisStream(const SessionCredentials& value) { m_credentialsForReadingKinesisStream = value; } - - - inline void SetCredentialsForReadingKinesisStream(SessionCredentials&& value) { m_credentialsForReadingKinesisStream = std::move(value); } - - - inline GetKinesisStreamResult& WithCredentialsForReadingKinesisStream(const SessionCredentials& value) { SetCredentialsForReadingKinesisStream(value); return *this;} - - - inline GetKinesisStreamResult& WithCredentialsForReadingKinesisStream(SessionCredentials&& value) { SetCredentialsForReadingKinesisStream(std::move(value)); return *this;} - - - - inline const Aws::String& GetRequestId() const{ return m_requestId; } - - - inline void SetRequestId(const Aws::String& value) { m_requestId = value; } - - - inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } - - - inline void SetRequestId(const char* value) { m_requestId.assign(value); } - - - inline GetKinesisStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} - - - inline GetKinesisStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} - - - inline GetKinesisStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} - - private: - - Aws::String m_kinesisStreamARN; - - SessionCredentials m_credentialsForReadingKinesisStream; - - Aws::String m_requestId; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/InvalidStreamTypeException.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/InvalidStreamTypeException.h deleted file mode 100644 index 8e0499dc032..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/InvalidStreamTypeException.h +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - - class InvalidStreamTypeException - { - public: - AWS_FIREHOSE_API InvalidStreamTypeException(); - AWS_FIREHOSE_API InvalidStreamTypeException(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API InvalidStreamTypeException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; - - - - inline const Aws::String& GetMessage() const{ return m_message; } - - - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - - - inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } - - - inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } - - - inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } - - - inline InvalidStreamTypeException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - - - inline InvalidStreamTypeException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - - - inline InvalidStreamTypeException& WithMessage(const char* value) { SetMessage(value); return *this;} - - - - inline const Aws::String& GetSource() const{ return m_source; } - - - inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } - - - inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } - - - inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } - - - inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } - - - inline InvalidStreamTypeException& WithSource(const Aws::String& value) { SetSource(value); return *this;} - - - inline InvalidStreamTypeException& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} - - - inline InvalidStreamTypeException& WithSource(const char* value) { SetSource(value); return *this;} - - private: - - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_source; - bool m_sourceHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SessionCredentials.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SessionCredentials.h deleted file mode 100644 index 34c5410e8c2..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SessionCredentials.h +++ /dev/null @@ -1,146 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include -#include -#include - -namespace Aws -{ -namespace Utils -{ -namespace Json -{ - class JsonValue; - class JsonView; -} // namespace Json -} // namespace Utils -namespace Firehose -{ -namespace Model -{ - - class SessionCredentials - { - public: - AWS_FIREHOSE_API SessionCredentials(); - AWS_FIREHOSE_API SessionCredentials(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API SessionCredentials& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; - - - - inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } - - - inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; } - - - inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = value; } - - - inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = std::move(value); } - - - inline void SetAccessKeyId(const char* value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId.assign(value); } - - - inline SessionCredentials& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} - - - inline SessionCredentials& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} - - - inline SessionCredentials& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} - - - - inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } - - - inline bool SecretAccessKeyHasBeenSet() const { return m_secretAccessKeyHasBeenSet; } - - - inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = value; } - - - inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = std::move(value); } - - - inline void SetSecretAccessKey(const char* value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey.assign(value); } - - - inline SessionCredentials& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} - - - inline SessionCredentials& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} - - - inline SessionCredentials& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} - - - - inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } - - - inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } - - - inline void SetSessionToken(const Aws::String& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = value; } - - - inline void SetSessionToken(Aws::String&& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = std::move(value); } - - - inline void SetSessionToken(const char* value) { m_sessionTokenHasBeenSet = true; m_sessionToken.assign(value); } - - - inline SessionCredentials& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} - - - inline SessionCredentials& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} - - - inline SessionCredentials& WithSessionToken(const char* value) { SetSessionToken(value); return *this;} - - - - inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } - - - inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } - - - inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; } - - - inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } - - - inline SessionCredentials& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} - - - inline SessionCredentials& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} - - private: - - Aws::String m_accessKeyId; - bool m_accessKeyIdHasBeenSet = false; - - Aws::String m_secretAccessKey; - bool m_secretAccessKeyHasBeenSet = false; - - Aws::String m_sessionToken; - bool m_sessionTokenHasBeenSet = false; - - Aws::Utils::DateTime m_expiration; - bool m_expirationHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisInvalidArnException.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisInvalidArnException.h deleted file mode 100644 index ffdf4044397..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisInvalidArnException.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include -#include -#include - -namespace Aws -{ -namespace Utils -{ -namespace Json -{ - class JsonValue; - class JsonView; -} // namespace Json -} // namespace Utils -namespace Firehose -{ -namespace Model -{ - - class TagrisInvalidArnException - { - public: - AWS_FIREHOSE_API TagrisInvalidArnException(); - AWS_FIREHOSE_API TagrisInvalidArnException(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API TagrisInvalidArnException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; - - - - inline const Aws::String& GetMessage() const{ return m_message; } - - - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - - - inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } - - - inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } - - - inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } - - - inline TagrisInvalidArnException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - - - inline TagrisInvalidArnException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - - - inline TagrisInvalidArnException& WithMessage(const char* value) { SetMessage(value); return *this;} - - - - inline const TagrisSweepListItem& GetSweepListItem() const{ return m_sweepListItem; } - - - inline bool SweepListItemHasBeenSet() const { return m_sweepListItemHasBeenSet; } - - - inline void SetSweepListItem(const TagrisSweepListItem& value) { m_sweepListItemHasBeenSet = true; m_sweepListItem = value; } - - - inline void SetSweepListItem(TagrisSweepListItem&& value) { m_sweepListItemHasBeenSet = true; m_sweepListItem = std::move(value); } - - - inline TagrisInvalidArnException& WithSweepListItem(const TagrisSweepListItem& value) { SetSweepListItem(value); return *this;} - - - inline TagrisInvalidArnException& WithSweepListItem(TagrisSweepListItem&& value) { SetSweepListItem(std::move(value)); return *this;} - - private: - - Aws::String m_message; - bool m_messageHasBeenSet = false; - - TagrisSweepListItem m_sweepListItem; - bool m_sweepListItemHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisPartialResourcesExistResultsException.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisPartialResourcesExistResultsException.h deleted file mode 100644 index 97067a55364..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisPartialResourcesExistResultsException.h +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include -#include -#include -#include - -namespace Aws -{ -namespace Utils -{ -namespace Json -{ - class JsonValue; - class JsonView; -} // namespace Json -} // namespace Utils -namespace Firehose -{ -namespace Model -{ - - class TagrisPartialResourcesExistResultsException - { - public: - AWS_FIREHOSE_API TagrisPartialResourcesExistResultsException(); - AWS_FIREHOSE_API TagrisPartialResourcesExistResultsException(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API TagrisPartialResourcesExistResultsException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; - - - - inline const Aws::String& GetMessage() const{ return m_message; } - - - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - - - inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } - - - inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } - - - inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } - - - inline TagrisPartialResourcesExistResultsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - - - inline TagrisPartialResourcesExistResultsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - - - inline TagrisPartialResourcesExistResultsException& WithMessage(const char* value) { SetMessage(value); return *this;} - - - - inline const Aws::Map& GetResourceExistenceInformation() const{ return m_resourceExistenceInformation; } - - - inline bool ResourceExistenceInformationHasBeenSet() const { return m_resourceExistenceInformationHasBeenSet; } - - - inline void SetResourceExistenceInformation(const Aws::Map& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation = value; } - - - inline void SetResourceExistenceInformation(Aws::Map&& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation = std::move(value); } - - - inline TagrisPartialResourcesExistResultsException& WithResourceExistenceInformation(const Aws::Map& value) { SetResourceExistenceInformation(value); return *this;} - - - inline TagrisPartialResourcesExistResultsException& WithResourceExistenceInformation(Aws::Map&& value) { SetResourceExistenceInformation(std::move(value)); return *this;} - - - inline TagrisPartialResourcesExistResultsException& AddResourceExistenceInformation(const Aws::String& key, const TagrisStatus& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation.emplace(key, value); return *this; } - - - inline TagrisPartialResourcesExistResultsException& AddResourceExistenceInformation(Aws::String&& key, const TagrisStatus& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation.emplace(std::move(key), value); return *this; } - - - inline TagrisPartialResourcesExistResultsException& AddResourceExistenceInformation(const Aws::String& key, TagrisStatus&& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation.emplace(key, std::move(value)); return *this; } - - - inline TagrisPartialResourcesExistResultsException& AddResourceExistenceInformation(Aws::String&& key, TagrisStatus&& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation.emplace(std::move(key), std::move(value)); return *this; } - - - inline TagrisPartialResourcesExistResultsException& AddResourceExistenceInformation(const char* key, TagrisStatus&& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation.emplace(key, std::move(value)); return *this; } - - - inline TagrisPartialResourcesExistResultsException& AddResourceExistenceInformation(const char* key, const TagrisStatus& value) { m_resourceExistenceInformationHasBeenSet = true; m_resourceExistenceInformation.emplace(key, value); return *this; } - - private: - - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::Map m_resourceExistenceInformation; - bool m_resourceExistenceInformationHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisStatus.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisStatus.h deleted file mode 100644 index 9178aa08958..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisStatus.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws -{ -namespace Firehose -{ -namespace Model -{ - enum class TagrisStatus - { - NOT_SET, - ACTIVE, - NOT_ACTIVE - }; - -namespace TagrisStatusMapper -{ -AWS_FIREHOSE_API TagrisStatus GetTagrisStatusForName(const Aws::String& name); - -AWS_FIREHOSE_API Aws::String GetNameForTagrisStatus(TagrisStatus value); -} // namespace TagrisStatusMapper -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisSweepListItem.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisSweepListItem.h deleted file mode 100644 index ba0e6e4fbcc..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/TagrisSweepListItem.h +++ /dev/null @@ -1,139 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - - class TagrisSweepListItem - { - public: - AWS_FIREHOSE_API TagrisSweepListItem(); - AWS_FIREHOSE_API TagrisSweepListItem(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API TagrisSweepListItem& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; - - - - inline const Aws::String& GetTagrisAccountId() const{ return m_tagrisAccountId; } - - - inline bool TagrisAccountIdHasBeenSet() const { return m_tagrisAccountIdHasBeenSet; } - - - inline void SetTagrisAccountId(const Aws::String& value) { m_tagrisAccountIdHasBeenSet = true; m_tagrisAccountId = value; } - - - inline void SetTagrisAccountId(Aws::String&& value) { m_tagrisAccountIdHasBeenSet = true; m_tagrisAccountId = std::move(value); } - - - inline void SetTagrisAccountId(const char* value) { m_tagrisAccountIdHasBeenSet = true; m_tagrisAccountId.assign(value); } - - - inline TagrisSweepListItem& WithTagrisAccountId(const Aws::String& value) { SetTagrisAccountId(value); return *this;} - - - inline TagrisSweepListItem& WithTagrisAccountId(Aws::String&& value) { SetTagrisAccountId(std::move(value)); return *this;} - - - inline TagrisSweepListItem& WithTagrisAccountId(const char* value) { SetTagrisAccountId(value); return *this;} - - - - inline const Aws::String& GetTagrisAmazonResourceName() const{ return m_tagrisAmazonResourceName; } - - - inline bool TagrisAmazonResourceNameHasBeenSet() const { return m_tagrisAmazonResourceNameHasBeenSet; } - - - inline void SetTagrisAmazonResourceName(const Aws::String& value) { m_tagrisAmazonResourceNameHasBeenSet = true; m_tagrisAmazonResourceName = value; } - - - inline void SetTagrisAmazonResourceName(Aws::String&& value) { m_tagrisAmazonResourceNameHasBeenSet = true; m_tagrisAmazonResourceName = std::move(value); } - - - inline void SetTagrisAmazonResourceName(const char* value) { m_tagrisAmazonResourceNameHasBeenSet = true; m_tagrisAmazonResourceName.assign(value); } - - - inline TagrisSweepListItem& WithTagrisAmazonResourceName(const Aws::String& value) { SetTagrisAmazonResourceName(value); return *this;} - - - inline TagrisSweepListItem& WithTagrisAmazonResourceName(Aws::String&& value) { SetTagrisAmazonResourceName(std::move(value)); return *this;} - - - inline TagrisSweepListItem& WithTagrisAmazonResourceName(const char* value) { SetTagrisAmazonResourceName(value); return *this;} - - - - inline const Aws::String& GetTagrisInternalId() const{ return m_tagrisInternalId; } - - - inline bool TagrisInternalIdHasBeenSet() const { return m_tagrisInternalIdHasBeenSet; } - - - inline void SetTagrisInternalId(const Aws::String& value) { m_tagrisInternalIdHasBeenSet = true; m_tagrisInternalId = value; } - - - inline void SetTagrisInternalId(Aws::String&& value) { m_tagrisInternalIdHasBeenSet = true; m_tagrisInternalId = std::move(value); } - - - inline void SetTagrisInternalId(const char* value) { m_tagrisInternalIdHasBeenSet = true; m_tagrisInternalId.assign(value); } - - - inline TagrisSweepListItem& WithTagrisInternalId(const Aws::String& value) { SetTagrisInternalId(value); return *this;} - - - inline TagrisSweepListItem& WithTagrisInternalId(Aws::String&& value) { SetTagrisInternalId(std::move(value)); return *this;} - - - inline TagrisSweepListItem& WithTagrisInternalId(const char* value) { SetTagrisInternalId(value); return *this;} - - - - inline long long GetTagrisVersion() const{ return m_tagrisVersion; } - - - inline bool TagrisVersionHasBeenSet() const { return m_tagrisVersionHasBeenSet; } - - - inline void SetTagrisVersion(long long value) { m_tagrisVersionHasBeenSet = true; m_tagrisVersion = value; } - - - inline TagrisSweepListItem& WithTagrisVersion(long long value) { SetTagrisVersion(value); return *this;} - - private: - - Aws::String m_tagrisAccountId; - bool m_tagrisAccountIdHasBeenSet = false; - - Aws::String m_tagrisAmazonResourceName; - bool m_tagrisAmazonResourceNameHasBeenSet = false; - - Aws::String m_tagrisInternalId; - bool m_tagrisInternalIdHasBeenSet = false; - - long long m_tagrisVersion; - bool m_tagrisVersionHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisRequest.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisRequest.h deleted file mode 100644 index 778a9cc4a7c..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisRequest.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - - /** - */ - class VerifyResourcesExistForTagrisRequest : public FirehoseRequest - { - public: - AWS_FIREHOSE_API VerifyResourcesExistForTagrisRequest(); - - // 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 "VerifyResourcesExistForTagris"; } - - AWS_FIREHOSE_API Aws::String SerializePayload() const override; - - AWS_FIREHOSE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - - inline const Aws::Vector& GetTagrisSweepList() const{ return m_tagrisSweepList; } - - - inline bool TagrisSweepListHasBeenSet() const { return m_tagrisSweepListHasBeenSet; } - - - inline void SetTagrisSweepList(const Aws::Vector& value) { m_tagrisSweepListHasBeenSet = true; m_tagrisSweepList = value; } - - - inline void SetTagrisSweepList(Aws::Vector&& value) { m_tagrisSweepListHasBeenSet = true; m_tagrisSweepList = std::move(value); } - - - inline VerifyResourcesExistForTagrisRequest& WithTagrisSweepList(const Aws::Vector& value) { SetTagrisSweepList(value); return *this;} - - - inline VerifyResourcesExistForTagrisRequest& WithTagrisSweepList(Aws::Vector&& value) { SetTagrisSweepList(std::move(value)); return *this;} - - - inline VerifyResourcesExistForTagrisRequest& AddTagrisSweepList(const TagrisSweepListItem& value) { m_tagrisSweepListHasBeenSet = true; m_tagrisSweepList.push_back(value); return *this; } - - - inline VerifyResourcesExistForTagrisRequest& AddTagrisSweepList(TagrisSweepListItem&& value) { m_tagrisSweepListHasBeenSet = true; m_tagrisSweepList.push_back(std::move(value)); return *this; } - - private: - - Aws::Vector m_tagrisSweepList; - bool m_tagrisSweepListHasBeenSet = false; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisResult.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisResult.h deleted file mode 100644 index 00b9ea1dfc8..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/VerifyResourcesExistForTagrisResult.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 -{ -template -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Json -{ - class JsonValue; -} // namespace Json -} // namespace Utils -namespace Firehose -{ -namespace Model -{ - class VerifyResourcesExistForTagrisResult - { - public: - AWS_FIREHOSE_API VerifyResourcesExistForTagrisResult(); - AWS_FIREHOSE_API VerifyResourcesExistForTagrisResult(const Aws::AmazonWebServiceResult& result); - AWS_FIREHOSE_API VerifyResourcesExistForTagrisResult& operator=(const Aws::AmazonWebServiceResult& result); - - - - inline const Aws::Map& GetTagrisSweepListResult() const{ return m_tagrisSweepListResult; } - - - inline void SetTagrisSweepListResult(const Aws::Map& value) { m_tagrisSweepListResult = value; } - - - inline void SetTagrisSweepListResult(Aws::Map&& value) { m_tagrisSweepListResult = std::move(value); } - - - inline VerifyResourcesExistForTagrisResult& WithTagrisSweepListResult(const Aws::Map& value) { SetTagrisSweepListResult(value); return *this;} - - - inline VerifyResourcesExistForTagrisResult& WithTagrisSweepListResult(Aws::Map&& value) { SetTagrisSweepListResult(std::move(value)); return *this;} - - - inline VerifyResourcesExistForTagrisResult& AddTagrisSweepListResult(const Aws::String& key, const TagrisStatus& value) { m_tagrisSweepListResult.emplace(key, value); return *this; } - - - inline VerifyResourcesExistForTagrisResult& AddTagrisSweepListResult(Aws::String&& key, const TagrisStatus& value) { m_tagrisSweepListResult.emplace(std::move(key), value); return *this; } - - - inline VerifyResourcesExistForTagrisResult& AddTagrisSweepListResult(const Aws::String& key, TagrisStatus&& value) { m_tagrisSweepListResult.emplace(key, std::move(value)); return *this; } - - - inline VerifyResourcesExistForTagrisResult& AddTagrisSweepListResult(Aws::String&& key, TagrisStatus&& value) { m_tagrisSweepListResult.emplace(std::move(key), std::move(value)); return *this; } - - - inline VerifyResourcesExistForTagrisResult& AddTagrisSweepListResult(const char* key, TagrisStatus&& value) { m_tagrisSweepListResult.emplace(key, std::move(value)); return *this; } - - - inline VerifyResourcesExistForTagrisResult& AddTagrisSweepListResult(const char* key, const TagrisStatus& value) { m_tagrisSweepListResult.emplace(key, value); return *this; } - - - - inline const Aws::String& GetRequestId() const{ return m_requestId; } - - - inline void SetRequestId(const Aws::String& value) { m_requestId = value; } - - - inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } - - - inline void SetRequestId(const char* value) { m_requestId.assign(value); } - - - inline VerifyResourcesExistForTagrisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} - - - inline VerifyResourcesExistForTagrisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} - - - inline VerifyResourcesExistForTagrisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} - - private: - - Aws::Map m_tagrisSweepListResult; - - Aws::String m_requestId; - }; - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/FirehoseClient.cpp b/generated/src/aws-cpp-sdk-firehose/source/FirehoseClient.cpp index 5999797ee9d..22369d7e3a5 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/FirehoseClient.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/FirehoseClient.cpp @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -34,7 +33,6 @@ #include #include #include -#include #include @@ -254,32 +252,6 @@ DescribeDeliveryStreamOutcome FirehoseClient::DescribeDeliveryStream(const Descr {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -GetKinesisStreamOutcome FirehoseClient::GetKinesisStream(const GetKinesisStreamRequest& request) const -{ - AWS_OPERATION_GUARD(GetKinesisStream); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetKinesisStream, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetKinesisStream, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetKinesisStream, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetKinesisStream", - {{ 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( - [&]()-> GetKinesisStreamOutcome { - 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, GetKinesisStream, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetKinesisStreamOutcome(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()}}); -} - ListDeliveryStreamsOutcome FirehoseClient::ListDeliveryStreams(const ListDeliveryStreamsRequest& request) const { AWS_OPERATION_GUARD(ListDeliveryStreams); @@ -514,29 +486,3 @@ UpdateDestinationOutcome FirehoseClient::UpdateDestination(const UpdateDestinati {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -VerifyResourcesExistForTagrisOutcome FirehoseClient::VerifyResourcesExistForTagris(const VerifyResourcesExistForTagrisRequest& request) const -{ - AWS_OPERATION_GUARD(VerifyResourcesExistForTagris); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, VerifyResourcesExistForTagris, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, VerifyResourcesExistForTagris, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, VerifyResourcesExistForTagris, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".VerifyResourcesExistForTagris", - {{ 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( - [&]()-> VerifyResourcesExistForTagrisOutcome { - 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, VerifyResourcesExistForTagris, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return VerifyResourcesExistForTagrisOutcome(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()}}); -} - diff --git a/generated/src/aws-cpp-sdk-firehose/source/FirehoseErrors.cpp b/generated/src/aws-cpp-sdk-firehose/source/FirehoseErrors.cpp index 614b613a753..d094027d734 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/FirehoseErrors.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/FirehoseErrors.cpp @@ -6,10 +6,7 @@ #include #include #include -#include -#include #include -#include #include using namespace Aws::Client; @@ -21,30 +18,12 @@ namespace Aws { namespace Firehose { -template<> AWS_FIREHOSE_API InvalidStreamTypeException FirehoseError::GetModeledError() -{ - assert(this->GetErrorType() == FirehoseErrors::INVALID_STREAM_TYPE); - return InvalidStreamTypeException(this->GetJsonPayload().View()); -} - -template<> AWS_FIREHOSE_API TagrisInvalidArnException FirehoseError::GetModeledError() -{ - assert(this->GetErrorType() == FirehoseErrors::TAGRIS_INVALID_ARN); - return TagrisInvalidArnException(this->GetJsonPayload().View()); -} - template<> AWS_FIREHOSE_API InvalidKMSResourceException FirehoseError::GetModeledError() { assert(this->GetErrorType() == FirehoseErrors::INVALID_K_M_S_RESOURCE); return InvalidKMSResourceException(this->GetJsonPayload().View()); } -template<> AWS_FIREHOSE_API TagrisPartialResourcesExistResultsException FirehoseError::GetModeledError() -{ - assert(this->GetErrorType() == FirehoseErrors::TAGRIS_PARTIAL_RESOURCES_EXIST_RESULTS); - return TagrisPartialResourcesExistResultsException(this->GetJsonPayload().View()); -} - template<> AWS_FIREHOSE_API InvalidSourceException FirehoseError::GetModeledError() { assert(this->GetErrorType() == FirehoseErrors::INVALID_SOURCE); @@ -54,18 +33,11 @@ template<> AWS_FIREHOSE_API InvalidSourceException FirehoseError::GetModeledErro namespace FirehoseErrorMapper { -static const int TAGRIS_INVALID_PARAMETER_HASH = HashingUtils::HashString("TagrisInvalidParameterException"); -static const int TAGRIS_ACCESS_DENIED_HASH = HashingUtils::HashString("TagrisAccessDeniedException"); -static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); -static const int CONCURRENT_MODIFICATION_HASH = HashingUtils::HashString("ConcurrentModificationException"); -static const int TAGRIS_THROTTLED_HASH = HashingUtils::HashString("TagrisThrottledException"); -static const int INVALID_STREAM_TYPE_HASH = HashingUtils::HashString("InvalidStreamTypeException"); -static const int TAGRIS_INVALID_ARN_HASH = HashingUtils::HashString("TagrisInvalidArnException"); static const int INVALID_K_M_S_RESOURCE_HASH = HashingUtils::HashString("InvalidKMSResourceException"); -static const int TAGRIS_PARTIAL_RESOURCES_EXIST_RESULTS_HASH = HashingUtils::HashString("TagrisPartialResourcesExistResultsException"); static const int INVALID_SOURCE_HASH = HashingUtils::HashString("InvalidSourceException"); +static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); +static const int CONCURRENT_MODIFICATION_HASH = HashingUtils::HashString("ConcurrentModificationException"); static const int RESOURCE_IN_USE_HASH = HashingUtils::HashString("ResourceInUseException"); -static const int TAGRIS_INTERNAL_SERVICE_HASH = HashingUtils::HashString("TagrisInternalServiceException"); static const int INVALID_ARGUMENT_HASH = HashingUtils::HashString("InvalidArgumentException"); @@ -73,13 +45,13 @@ AWSError GetErrorForName(const char* errorName) { int hashCode = HashingUtils::HashString(errorName); - if (hashCode == TAGRIS_INVALID_PARAMETER_HASH) + if (hashCode == INVALID_K_M_S_RESOURCE_HASH) { - return AWSError(static_cast(FirehoseErrors::TAGRIS_INVALID_PARAMETER), RetryableType::NOT_RETRYABLE); + return AWSError(static_cast(FirehoseErrors::INVALID_K_M_S_RESOURCE), RetryableType::NOT_RETRYABLE); } - else if (hashCode == TAGRIS_ACCESS_DENIED_HASH) + else if (hashCode == INVALID_SOURCE_HASH) { - return AWSError(static_cast(FirehoseErrors::TAGRIS_ACCESS_DENIED), RetryableType::NOT_RETRYABLE); + return AWSError(static_cast(FirehoseErrors::INVALID_SOURCE), RetryableType::NOT_RETRYABLE); } else if (hashCode == LIMIT_EXCEEDED_HASH) { @@ -89,38 +61,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(FirehoseErrors::CONCURRENT_MODIFICATION), RetryableType::NOT_RETRYABLE); } - else if (hashCode == TAGRIS_THROTTLED_HASH) - { - return AWSError(static_cast(FirehoseErrors::TAGRIS_THROTTLED), RetryableType::NOT_RETRYABLE); - } - else if (hashCode == INVALID_STREAM_TYPE_HASH) - { - return AWSError(static_cast(FirehoseErrors::INVALID_STREAM_TYPE), RetryableType::NOT_RETRYABLE); - } - else if (hashCode == TAGRIS_INVALID_ARN_HASH) - { - return AWSError(static_cast(FirehoseErrors::TAGRIS_INVALID_ARN), RetryableType::NOT_RETRYABLE); - } - else if (hashCode == INVALID_K_M_S_RESOURCE_HASH) - { - return AWSError(static_cast(FirehoseErrors::INVALID_K_M_S_RESOURCE), RetryableType::NOT_RETRYABLE); - } - else if (hashCode == TAGRIS_PARTIAL_RESOURCES_EXIST_RESULTS_HASH) - { - return AWSError(static_cast(FirehoseErrors::TAGRIS_PARTIAL_RESOURCES_EXIST_RESULTS), RetryableType::NOT_RETRYABLE); - } - else if (hashCode == INVALID_SOURCE_HASH) - { - return AWSError(static_cast(FirehoseErrors::INVALID_SOURCE), RetryableType::NOT_RETRYABLE); - } else if (hashCode == RESOURCE_IN_USE_HASH) { return AWSError(static_cast(FirehoseErrors::RESOURCE_IN_USE), RetryableType::NOT_RETRYABLE); } - else if (hashCode == TAGRIS_INTERNAL_SERVICE_HASH) - { - return AWSError(static_cast(FirehoseErrors::TAGRIS_INTERNAL_SERVICE), RetryableType::NOT_RETRYABLE); - } else if (hashCode == INVALID_ARGUMENT_HASH) { return AWSError(static_cast(FirehoseErrors::INVALID_ARGUMENT), RetryableType::NOT_RETRYABLE); diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamRequest.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamRequest.cpp deleted file mode 100644 index 88da7bf022f..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::Firehose::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -GetKinesisStreamRequest::GetKinesisStreamRequest() : - m_deliveryStreamARNHasBeenSet(false) -{ -} - -Aws::String GetKinesisStreamRequest::SerializePayload() const -{ - JsonValue payload; - - if(m_deliveryStreamARNHasBeenSet) - { - payload.WithString("DeliveryStreamARN", m_deliveryStreamARN); - - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection GetKinesisStreamRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "Firehose_20150804.GetKinesisStream")); - return headers; - -} - - - - diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamResult.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamResult.cpp deleted file mode 100644 index bf199b0b37e..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/GetKinesisStreamResult.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/** - * 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::Firehose::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetKinesisStreamResult::GetKinesisStreamResult() -{ -} - -GetKinesisStreamResult::GetKinesisStreamResult(const Aws::AmazonWebServiceResult& result) -{ - *this = result; -} - -GetKinesisStreamResult& GetKinesisStreamResult::operator =(const Aws::AmazonWebServiceResult& result) -{ - JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("KinesisStreamARN")) - { - m_kinesisStreamARN = jsonValue.GetString("KinesisStreamARN"); - - } - - if(jsonValue.ValueExists("CredentialsForReadingKinesisStream")) - { - m_credentialsForReadingKinesisStream = jsonValue.GetObject("CredentialsForReadingKinesisStream"); - - } - - - 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-firehose/source/model/InvalidStreamTypeException.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/InvalidStreamTypeException.cpp deleted file mode 100644 index e07d4d53eb7..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/InvalidStreamTypeException.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - -InvalidStreamTypeException::InvalidStreamTypeException() : - m_messageHasBeenSet(false), - m_sourceHasBeenSet(false) -{ -} - -InvalidStreamTypeException::InvalidStreamTypeException(JsonView jsonValue) : - m_messageHasBeenSet(false), - m_sourceHasBeenSet(false) -{ - *this = jsonValue; -} - -InvalidStreamTypeException& InvalidStreamTypeException::operator =(JsonView jsonValue) -{ - if(jsonValue.ValueExists("message")) - { - m_message = jsonValue.GetString("message"); - - m_messageHasBeenSet = true; - } - - if(jsonValue.ValueExists("source")) - { - m_source = jsonValue.GetString("source"); - - m_sourceHasBeenSet = true; - } - - return *this; -} - -JsonValue InvalidStreamTypeException::Jsonize() const -{ - JsonValue payload; - - if(m_messageHasBeenSet) - { - payload.WithString("message", m_message); - - } - - if(m_sourceHasBeenSet) - { - payload.WithString("source", m_source); - - } - - return payload; -} - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SessionCredentials.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SessionCredentials.cpp deleted file mode 100644 index 2f48f0dc67e..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SessionCredentials.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - -SessionCredentials::SessionCredentials() : - m_accessKeyIdHasBeenSet(false), - m_secretAccessKeyHasBeenSet(false), - m_sessionTokenHasBeenSet(false), - m_expirationHasBeenSet(false) -{ -} - -SessionCredentials::SessionCredentials(JsonView jsonValue) : - m_accessKeyIdHasBeenSet(false), - m_secretAccessKeyHasBeenSet(false), - m_sessionTokenHasBeenSet(false), - m_expirationHasBeenSet(false) -{ - *this = jsonValue; -} - -SessionCredentials& SessionCredentials::operator =(JsonView jsonValue) -{ - if(jsonValue.ValueExists("AccessKeyId")) - { - m_accessKeyId = jsonValue.GetString("AccessKeyId"); - - m_accessKeyIdHasBeenSet = true; - } - - if(jsonValue.ValueExists("SecretAccessKey")) - { - m_secretAccessKey = jsonValue.GetString("SecretAccessKey"); - - m_secretAccessKeyHasBeenSet = true; - } - - if(jsonValue.ValueExists("SessionToken")) - { - m_sessionToken = jsonValue.GetString("SessionToken"); - - m_sessionTokenHasBeenSet = true; - } - - if(jsonValue.ValueExists("Expiration")) - { - m_expiration = jsonValue.GetDouble("Expiration"); - - m_expirationHasBeenSet = true; - } - - return *this; -} - -JsonValue SessionCredentials::Jsonize() const -{ - JsonValue payload; - - if(m_accessKeyIdHasBeenSet) - { - payload.WithString("AccessKeyId", m_accessKeyId); - - } - - if(m_secretAccessKeyHasBeenSet) - { - payload.WithString("SecretAccessKey", m_secretAccessKey); - - } - - if(m_sessionTokenHasBeenSet) - { - payload.WithString("SessionToken", m_sessionToken); - - } - - if(m_expirationHasBeenSet) - { - payload.WithDouble("Expiration", m_expiration.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisInvalidArnException.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/TagrisInvalidArnException.cpp deleted file mode 100644 index 9f66c408622..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisInvalidArnException.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - -TagrisInvalidArnException::TagrisInvalidArnException() : - m_messageHasBeenSet(false), - m_sweepListItemHasBeenSet(false) -{ -} - -TagrisInvalidArnException::TagrisInvalidArnException(JsonView jsonValue) : - m_messageHasBeenSet(false), - m_sweepListItemHasBeenSet(false) -{ - *this = jsonValue; -} - -TagrisInvalidArnException& TagrisInvalidArnException::operator =(JsonView jsonValue) -{ - if(jsonValue.ValueExists("message")) - { - m_message = jsonValue.GetString("message"); - - m_messageHasBeenSet = true; - } - - if(jsonValue.ValueExists("sweepListItem")) - { - m_sweepListItem = jsonValue.GetObject("sweepListItem"); - - m_sweepListItemHasBeenSet = true; - } - - return *this; -} - -JsonValue TagrisInvalidArnException::Jsonize() const -{ - JsonValue payload; - - if(m_messageHasBeenSet) - { - payload.WithString("message", m_message); - - } - - if(m_sweepListItemHasBeenSet) - { - payload.WithObject("sweepListItem", m_sweepListItem.Jsonize()); - - } - - return payload; -} - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisPartialResourcesExistResultsException.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/TagrisPartialResourcesExistResultsException.cpp deleted file mode 100644 index e5ef2c0caa4..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisPartialResourcesExistResultsException.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - -TagrisPartialResourcesExistResultsException::TagrisPartialResourcesExistResultsException() : - m_messageHasBeenSet(false), - m_resourceExistenceInformationHasBeenSet(false) -{ -} - -TagrisPartialResourcesExistResultsException::TagrisPartialResourcesExistResultsException(JsonView jsonValue) : - m_messageHasBeenSet(false), - m_resourceExistenceInformationHasBeenSet(false) -{ - *this = jsonValue; -} - -TagrisPartialResourcesExistResultsException& TagrisPartialResourcesExistResultsException::operator =(JsonView jsonValue) -{ - if(jsonValue.ValueExists("message")) - { - m_message = jsonValue.GetString("message"); - - m_messageHasBeenSet = true; - } - - if(jsonValue.ValueExists("resourceExistenceInformation")) - { - Aws::Map resourceExistenceInformationJsonMap = jsonValue.GetObject("resourceExistenceInformation").GetAllObjects(); - for(auto& resourceExistenceInformationItem : resourceExistenceInformationJsonMap) - { - m_resourceExistenceInformation[resourceExistenceInformationItem.first] = TagrisStatusMapper::GetTagrisStatusForName(resourceExistenceInformationItem.second.AsString()); - } - m_resourceExistenceInformationHasBeenSet = true; - } - - return *this; -} - -JsonValue TagrisPartialResourcesExistResultsException::Jsonize() const -{ - JsonValue payload; - - if(m_messageHasBeenSet) - { - payload.WithString("message", m_message); - - } - - if(m_resourceExistenceInformationHasBeenSet) - { - JsonValue resourceExistenceInformationJsonMap; - for(auto& resourceExistenceInformationItem : m_resourceExistenceInformation) - { - resourceExistenceInformationJsonMap.WithString(resourceExistenceInformationItem.first, TagrisStatusMapper::GetNameForTagrisStatus(resourceExistenceInformationItem.second)); - } - payload.WithObject("resourceExistenceInformation", std::move(resourceExistenceInformationJsonMap)); - - } - - return payload; -} - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisStatus.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/TagrisStatus.cpp deleted file mode 100644 index 3478b6ef004..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisStatus.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -using namespace Aws::Utils; - - -namespace Aws -{ - namespace Firehose - { - namespace Model - { - namespace TagrisStatusMapper - { - - static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); - static const int NOT_ACTIVE_HASH = HashingUtils::HashString("NOT_ACTIVE"); - - - TagrisStatus GetTagrisStatusForName(const Aws::String& name) - { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ACTIVE_HASH) - { - return TagrisStatus::ACTIVE; - } - else if (hashCode == NOT_ACTIVE_HASH) - { - return TagrisStatus::NOT_ACTIVE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TagrisStatus::NOT_SET; - } - - Aws::String GetNameForTagrisStatus(TagrisStatus enumValue) - { - switch(enumValue) - { - case TagrisStatus::NOT_SET: - return {}; - case TagrisStatus::ACTIVE: - return "ACTIVE"; - case TagrisStatus::NOT_ACTIVE: - return "NOT_ACTIVE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } - } - - } // namespace TagrisStatusMapper - } // namespace Model - } // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisSweepListItem.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/TagrisSweepListItem.cpp deleted file mode 100644 index 918d60f2737..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/TagrisSweepListItem.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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 Firehose -{ -namespace Model -{ - -TagrisSweepListItem::TagrisSweepListItem() : - m_tagrisAccountIdHasBeenSet(false), - m_tagrisAmazonResourceNameHasBeenSet(false), - m_tagrisInternalIdHasBeenSet(false), - m_tagrisVersion(0), - m_tagrisVersionHasBeenSet(false) -{ -} - -TagrisSweepListItem::TagrisSweepListItem(JsonView jsonValue) : - m_tagrisAccountIdHasBeenSet(false), - m_tagrisAmazonResourceNameHasBeenSet(false), - m_tagrisInternalIdHasBeenSet(false), - m_tagrisVersion(0), - m_tagrisVersionHasBeenSet(false) -{ - *this = jsonValue; -} - -TagrisSweepListItem& TagrisSweepListItem::operator =(JsonView jsonValue) -{ - if(jsonValue.ValueExists("TagrisAccountId")) - { - m_tagrisAccountId = jsonValue.GetString("TagrisAccountId"); - - m_tagrisAccountIdHasBeenSet = true; - } - - if(jsonValue.ValueExists("TagrisAmazonResourceName")) - { - m_tagrisAmazonResourceName = jsonValue.GetString("TagrisAmazonResourceName"); - - m_tagrisAmazonResourceNameHasBeenSet = true; - } - - if(jsonValue.ValueExists("TagrisInternalId")) - { - m_tagrisInternalId = jsonValue.GetString("TagrisInternalId"); - - m_tagrisInternalIdHasBeenSet = true; - } - - if(jsonValue.ValueExists("TagrisVersion")) - { - m_tagrisVersion = jsonValue.GetInt64("TagrisVersion"); - - m_tagrisVersionHasBeenSet = true; - } - - return *this; -} - -JsonValue TagrisSweepListItem::Jsonize() const -{ - JsonValue payload; - - if(m_tagrisAccountIdHasBeenSet) - { - payload.WithString("TagrisAccountId", m_tagrisAccountId); - - } - - if(m_tagrisAmazonResourceNameHasBeenSet) - { - payload.WithString("TagrisAmazonResourceName", m_tagrisAmazonResourceName); - - } - - if(m_tagrisInternalIdHasBeenSet) - { - payload.WithString("TagrisInternalId", m_tagrisInternalId); - - } - - if(m_tagrisVersionHasBeenSet) - { - payload.WithInt64("TagrisVersion", m_tagrisVersion); - - } - - return payload; -} - -} // namespace Model -} // namespace Firehose -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisRequest.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisRequest.cpp deleted file mode 100644 index 9c12769cd64..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisRequest.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::Firehose::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -VerifyResourcesExistForTagrisRequest::VerifyResourcesExistForTagrisRequest() : - m_tagrisSweepListHasBeenSet(false) -{ -} - -Aws::String VerifyResourcesExistForTagrisRequest::SerializePayload() const -{ - JsonValue payload; - - if(m_tagrisSweepListHasBeenSet) - { - Aws::Utils::Array tagrisSweepListJsonList(m_tagrisSweepList.size()); - for(unsigned tagrisSweepListIndex = 0; tagrisSweepListIndex < tagrisSweepListJsonList.GetLength(); ++tagrisSweepListIndex) - { - tagrisSweepListJsonList[tagrisSweepListIndex].AsObject(m_tagrisSweepList[tagrisSweepListIndex].Jsonize()); - } - payload.WithArray("TagrisSweepList", std::move(tagrisSweepListJsonList)); - - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection VerifyResourcesExistForTagrisRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "Firehose_20150804.VerifyResourcesExistForTagris")); - return headers; - -} - - - - diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisResult.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisResult.cpp deleted file mode 100644 index 4e131e03f58..00000000000 --- a/generated/src/aws-cpp-sdk-firehose/source/model/VerifyResourcesExistForTagrisResult.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/** - * 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::Firehose::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -VerifyResourcesExistForTagrisResult::VerifyResourcesExistForTagrisResult() -{ -} - -VerifyResourcesExistForTagrisResult::VerifyResourcesExistForTagrisResult(const Aws::AmazonWebServiceResult& result) -{ - *this = result; -} - -VerifyResourcesExistForTagrisResult& VerifyResourcesExistForTagrisResult::operator =(const Aws::AmazonWebServiceResult& result) -{ - JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("TagrisSweepListResult")) - { - Aws::Map tagrisSweepListResultJsonMap = jsonValue.GetObject("TagrisSweepListResult").GetAllObjects(); - for(auto& tagrisSweepListResultItem : tagrisSweepListResultJsonMap) - { - m_tagrisSweepListResult[tagrisSweepListResultItem.first] = TagrisStatusMapper::GetTagrisStatusForName(tagrisSweepListResultItem.second.AsString()); - } - } - - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if(requestIdIter != headers.end()) - { - m_requestId = requestIdIter->second; - } - - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingResult.h index b98014c66b9..495bbd32f2a 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingResult.h @@ -549,32 +549,37 @@ namespace Model /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfig = value; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfig = std::move(value); } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline CreateEventSourceMappingResult& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;} /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline CreateEventSourceMappingResult& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteEventSourceMappingResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteEventSourceMappingResult.h index 8b5bcb7f693..35dd8b00549 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteEventSourceMappingResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteEventSourceMappingResult.h @@ -549,32 +549,37 @@ namespace Model /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfig = value; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfig = std::move(value); } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline DeleteEventSourceMappingResult& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;} /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline DeleteEventSourceMappingResult& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/EventSourceMappingConfiguration.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/EventSourceMappingConfiguration.h index 3119cf49d0c..a61ff8178d7 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/EventSourceMappingConfiguration.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/EventSourceMappingConfiguration.h @@ -646,38 +646,44 @@ namespace Model /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline EventSourceMappingConfiguration& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;} /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline EventSourceMappingConfiguration& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetEventSourceMappingResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetEventSourceMappingResult.h index 1241a62d711..34047c10a26 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetEventSourceMappingResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetEventSourceMappingResult.h @@ -549,32 +549,37 @@ namespace Model /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfig = value; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfig = std::move(value); } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline GetEventSourceMappingResult& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;} /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline GetEventSourceMappingResult& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/OnFailure.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/OnFailure.h index 54db2990f57..a781c346291 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/OnFailure.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/OnFailure.h @@ -51,8 +51,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka
    or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline const Aws::String& GetDestination() const{ return m_destination; } @@ -70,8 +70,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } @@ -89,8 +89,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; } @@ -108,8 +108,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } @@ -127,8 +127,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); } @@ -146,8 +146,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline OnFailure& WithDestination(const Aws::String& value) { SetDestination(value); return *this;} @@ -165,8 +165,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline OnFailure& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;} @@ -184,8 +184,8 @@ namespace Model * href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed * Kafka or Amazon - * MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the - * destination.

    + * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + * bucket as the destination.

    */ inline OnFailure& WithDestination(const char* value) { SetDestination(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h index 0d02461e06d..35ad38a7429 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h @@ -37,6 +37,7 @@ namespace Model dotnetcore2_1, dotnetcore3_1, dotnet6, + dotnet8, nodejs4_3_edge, go1_x, ruby2_5, diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingResult.h index 2428af9cb31..1ab6c0009cf 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingResult.h @@ -549,32 +549,37 @@ namespace Model /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfig = value; } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfig = std::move(value); } /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline UpdateEventSourceMappingResult& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;} /** - *

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - * destination for discarded records.

    + *

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + * sources only) A configuration object that specifies the destination of an event + * after Lambda processes it.

    */ inline UpdateEventSourceMappingResult& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp index ce825ac73b9..adc58af7181 100644 --- a/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp +++ b/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp @@ -41,6 +41,7 @@ namespace Aws static const int dotnetcore2_1_HASH = HashingUtils::HashString("dotnetcore2.1"); static const int dotnetcore3_1_HASH = HashingUtils::HashString("dotnetcore3.1"); static const int dotnet6_HASH = HashingUtils::HashString("dotnet6"); + static const int dotnet8_HASH = HashingUtils::HashString("dotnet8"); static const int nodejs4_3_edge_HASH = HashingUtils::HashString("nodejs4.3-edge"); static const int go1_x_HASH = HashingUtils::HashString("go1.x"); static const int ruby2_5_HASH = HashingUtils::HashString("ruby2.5"); @@ -145,6 +146,10 @@ namespace Aws { return Runtime::dotnet6; } + else if (hashCode == dotnet8_HASH) + { + return Runtime::dotnet8; + } else if (hashCode == nodejs4_3_edge_HASH) { return Runtime::nodejs4_3_edge; @@ -263,6 +268,8 @@ namespace Aws return "dotnetcore3.1"; case Runtime::dotnet6: return "dotnet6"; + case Runtime::dotnet8: + return "dotnet8"; case Runtime::nodejs4_3_edge: return "nodejs4.3-edge"; case Runtime::go1_x: 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 fb57dc3c889..d02c7a0ccdd 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.268" +#define AWS_SDK_VERSION_STRING "1.11.269" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 268 +#define AWS_SDK_VERSION_PATCH 269 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 5907221872e..c4d7cbde3f4 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 @@ -893,7 +893,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:

    UpdateTable is an asynchronous operation; while it is executing, the table status changes from ACTIVE to UPDATING. While it is UPDATING, you cannot issue another UpdateTable request. 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:

    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.

    ", "endpointdiscovery":{ } }, diff --git a/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json b/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json index 528a96a7a18..db142d3f047 100644 --- a/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json +++ b/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json @@ -56,22 +56,6 @@ ], "documentation":"

    Describes the specified delivery stream and its status. For example, after your delivery stream is created, call DescribeDeliveryStream to see whether the delivery stream is ACTIVE and therefore ready for data to be sent to it.

    If the status of a delivery stream is CREATING_FAILED, this status doesn't change, and you can't invoke CreateDeliveryStream again on it. However, you can invoke the DeleteDeliveryStream operation to delete it. If the status is DELETING_FAILED, you can force deletion by invoking DeleteDeliveryStream again but with DeleteDeliveryStreamInput$AllowForceDelete set to true.

    " }, - "GetKinesisStream":{ - "name":"GetKinesisStream", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"GetKinesisStreamInput"}, - "output":{"shape":"GetKinesisStreamOutput"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidArgumentException"}, - {"shape":"InvalidStreamTypeException"}, - {"shape":"InvalidKMSResourceException"} - ], - "internalonly":true - }, "ListDeliveryStreams":{ "name":"ListDeliveryStreams", "http":{ @@ -211,24 +195,6 @@ {"shape":"ConcurrentModificationException"} ], "documentation":"

    Updates the specified destination of the specified delivery stream.

    Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.

    Switching between Amazon OpenSearch Service and other services is not supported. For an Amazon OpenSearch Service destination, you can only update to another Amazon OpenSearch Service destination.

    If the destination type is the same, Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration is maintained on the destination.

    If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Firehose does not merge any parameters. In this case, all parameters must be specified.

    Firehose uses CurrentDeliveryStreamVersionId to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId in the next call.

    " - }, - "VerifyResourcesExistForTagris":{ - "name":"VerifyResourcesExistForTagris", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"TagrisVerifyResourcesExistInput"}, - "output":{"shape":"TagrisVerifyResourcesExistOutput"}, - "errors":[ - {"shape":"TagrisAccessDeniedException"}, - {"shape":"TagrisInternalServiceException"}, - {"shape":"TagrisInvalidArnException"}, - {"shape":"TagrisInvalidParameterException"}, - {"shape":"TagrisPartialResourcesExistResultsException"}, - {"shape":"TagrisThrottledException"} - ], - "internalonly":true } }, "shapes":{ @@ -238,10 +204,6 @@ "min":1, "pattern":"arn:.*" }, - "AccessKeyId":{ - "type":"string", - "sensitive":true - }, "AmazonOpenSearchServerlessBufferingHints":{ "type":"structure", "members":{ @@ -1726,21 +1688,6 @@ "min":0, "pattern":"^$|\\.[0-9a-z!\\-_.*'()]+" }, - "FirehoseSource":{"type":"string"}, - "GetKinesisStreamInput":{ - "type":"structure", - "required":["DeliveryStreamARN"], - "members":{ - "DeliveryStreamARN":{"shape":"DeliveryStreamARN"} - } - }, - "GetKinesisStreamOutput":{ - "type":"structure", - "members":{ - "KinesisStreamARN":{"shape":"KinesisStreamARN"}, - "CredentialsForReadingKinesisStream":{"shape":"SessionCredentials"} - } - }, "HECAcknowledgmentTimeoutInSeconds":{ "type":"integer", "max":600, @@ -2073,14 +2020,6 @@ "documentation":"

    Only requests from CloudWatch Logs are supported when CloudWatch Logs decompression is enabled.

    ", "exception":true }, - "InvalidStreamTypeException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"}, - "source":{"shape":"FirehoseSource"} - }, - "exception":true - }, "KMSEncryptionConfig":{ "type":"structure", "required":["AWSKMSKeyARN"], @@ -3082,10 +3021,6 @@ }, "documentation":"

    Specifies the schema to which you want Firehose to configure your data before it writes it to Amazon S3. This parameter is required if Enabled is set to true.

    " }, - "SecretAccessKey":{ - "type":"string", - "sensitive":true - }, "SecurityGroupIdList":{ "type":"list", "member":{"shape":"NonEmptyStringWithoutWhitespace"}, @@ -3118,26 +3053,6 @@ "exception":true, "fault":true }, - "SessionCredentials":{ - "type":"structure", - "required":[ - "AccessKeyId", - "SecretAccessKey", - "SessionToken", - "Expiration" - ], - "members":{ - "AccessKeyId":{"shape":"AccessKeyId"}, - "SecretAccessKey":{"shape":"SecretAccessKey"}, - "SessionToken":{"shape":"SessionToken"}, - "Expiration":{"shape":"Timestamp"} - }, - "sensitive":true - }, - "SessionToken":{ - "type":"string", - "sensitive":true - }, "SizeInMBs":{ "type":"integer", "max":128, @@ -3777,111 +3692,6 @@ "min":0, "pattern":"^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*$" }, - "TagrisAccessDeniedException":{ - "type":"structure", - "members":{ - "message":{"shape":"TagrisExceptionMessage"} - }, - "exception":true - }, - "TagrisAccountId":{ - "type":"string", - "max":12, - "min":12 - }, - "TagrisAmazonResourceName":{ - "type":"string", - "max":1011, - "min":1 - }, - "TagrisExceptionMessage":{ - "type":"string", - "max":2048, - "min":0 - }, - "TagrisInternalId":{ - "type":"string", - "max":64, - "min":0 - }, - "TagrisInternalServiceException":{ - "type":"structure", - "members":{ - "message":{"shape":"TagrisExceptionMessage"} - }, - "exception":true, - "fault":true - }, - "TagrisInvalidArnException":{ - "type":"structure", - "members":{ - "message":{"shape":"TagrisExceptionMessage"}, - "sweepListItem":{"shape":"TagrisSweepListItem"} - }, - "exception":true - }, - "TagrisInvalidParameterException":{ - "type":"structure", - "members":{ - "message":{"shape":"TagrisExceptionMessage"} - }, - "exception":true - }, - "TagrisPartialResourcesExistResultsException":{ - "type":"structure", - "members":{ - "message":{"shape":"TagrisExceptionMessage"}, - "resourceExistenceInformation":{"shape":"TagrisSweepListResult"} - }, - "exception":true - }, - "TagrisStatus":{ - "type":"string", - "enum":[ - "ACTIVE", - "NOT_ACTIVE" - ] - }, - "TagrisSweepList":{ - "type":"list", - "member":{"shape":"TagrisSweepListItem"} - }, - "TagrisSweepListItem":{ - "type":"structure", - "members":{ - "TagrisAccountId":{"shape":"TagrisAccountId"}, - "TagrisAmazonResourceName":{"shape":"TagrisAmazonResourceName"}, - "TagrisInternalId":{"shape":"TagrisInternalId"}, - "TagrisVersion":{"shape":"TagrisVersion"} - } - }, - "TagrisSweepListResult":{ - "type":"map", - "key":{"shape":"TagrisAmazonResourceName"}, - "value":{"shape":"TagrisStatus"} - }, - "TagrisThrottledException":{ - "type":"structure", - "members":{ - "message":{"shape":"TagrisExceptionMessage"} - }, - "exception":true - }, - "TagrisVerifyResourcesExistInput":{ - "type":"structure", - "required":["TagrisSweepList"], - "members":{ - "TagrisSweepList":{"shape":"TagrisSweepList"} - } - }, - "TagrisVerifyResourcesExistOutput":{ - "type":"structure", - "required":["TagrisSweepListResult"], - "members":{ - "TagrisSweepListResult":{"shape":"TagrisSweepListResult"} - } - }, - "TagrisVersion":{"type":"long"}, "Timestamp":{"type":"timestamp"}, "TopicName":{ "type":"string", diff --git a/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json b/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json index f9620132c3e..abbac4f91e6 100644 --- a/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json +++ b/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json @@ -2469,7 +2469,7 @@ }, "DestinationConfig":{ "shape":"DestinationConfig", - "documentation":"

    (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

    " + "documentation":"

    (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.

    " }, "Topics":{ "shape":"Topics", @@ -4639,7 +4639,7 @@ "members":{ "Destination":{ "shape":"DestinationArn", - "documentation":"

    The Amazon Resource Name (ARN) of the destination resource.

    To retain records of asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.

    To retain records of failed invocations from Kinesis and DynamoDB event sources, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.

    To retain records of failed invocations from self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.

    " + "documentation":"

    The Amazon Resource Name (ARN) of the destination resource.

    To retain records of asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.

    To retain records of failed invocations from Kinesis and DynamoDB event sources, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.

    To retain records of failed invocations from self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.

    " } }, "documentation":"

    A destination for events that failed processing.

    " @@ -5275,6 +5275,7 @@ "dotnetcore2.1", "dotnetcore3.1", "dotnet6", + "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5",