diff --git a/VERSION b/VERSION index feaf0b5f6f4..c6ed99aef63 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.201 \ No newline at end of file +1.11.202 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h index e23788f3734..729981e8f35 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h @@ -1172,6 +1172,36 @@ namespace Backup return SubmitAsync(&BackupClient::GetSupportedResourceTypes, request, handler, context); } + /** + *

This is a request for a summary of backup jobs created or running within the + * most recent 30 days. You can include parameters AccountID, State, ResourceType, + * MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter + * results.

This request returns a summary that contains Region, Account, + * State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListBackupJobSummariesOutcome ListBackupJobSummaries(const Model::ListBackupJobSummariesRequest& request) const; + + /** + * A Callable wrapper for ListBackupJobSummaries that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListBackupJobSummariesOutcomeCallable ListBackupJobSummariesCallable(const ListBackupJobSummariesRequestT& request) const + { + return SubmitCallable(&BackupClient::ListBackupJobSummaries, request); + } + + /** + * An Async wrapper for ListBackupJobSummaries that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListBackupJobSummariesAsync(const ListBackupJobSummariesRequestT& request, const ListBackupJobSummariesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupClient::ListBackupJobSummaries, request, handler, context); + } + /** *

Returns a list of existing backup jobs for an authenticated account for the * last 30 days. For a longer period of time, consider using these This request obtains a list of copy jobs created or running within the the + * most recent 30 days. You can include parameters AccountID, State, ResourceType, + * MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter + * results.

This request returns a summary that contains Region, Account, + * State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListCopyJobSummariesOutcome ListCopyJobSummaries(const Model::ListCopyJobSummariesRequest& request) const; + + /** + * A Callable wrapper for ListCopyJobSummaries that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListCopyJobSummariesOutcomeCallable ListCopyJobSummariesCallable(const ListCopyJobSummariesRequestT& request) const + { + return SubmitCallable(&BackupClient::ListCopyJobSummaries, request); + } + + /** + * An Async wrapper for ListCopyJobSummaries that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListCopyJobSummariesAsync(const ListCopyJobSummariesRequestT& request, const ListCopyJobSummariesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupClient::ListCopyJobSummaries, request, handler, context); + } + /** *

Returns metadata about your copy jobs.

See Also:

AWS @@ -1594,6 +1654,36 @@ namespace Backup return SubmitAsync(&BackupClient::ListReportPlans, request, handler, context); } + /** + *

This request obtains a summary of restore jobs created or running within the + * the most recent 30 days. You can include parameters AccountID, State, + * ResourceType, AggregationPeriod, MaxResults, or NextToken to filter results.

+ *

This request returns a summary that contains Region, Account, State, + * RestourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListRestoreJobSummariesOutcome ListRestoreJobSummaries(const Model::ListRestoreJobSummariesRequest& request) const; + + /** + * A Callable wrapper for ListRestoreJobSummaries that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListRestoreJobSummariesOutcomeCallable ListRestoreJobSummariesCallable(const ListRestoreJobSummariesRequestT& request) const + { + return SubmitCallable(&BackupClient::ListRestoreJobSummaries, request); + } + + /** + * An Async wrapper for ListRestoreJobSummaries that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListRestoreJobSummariesAsync(const ListRestoreJobSummariesRequestT& request, const ListRestoreJobSummariesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupClient::ListRestoreJobSummaries, request, handler, context); + } + /** *

Returns a list of jobs that Backup initiated to restore a saved resource, * including details about the recovery process.

See Also:

#include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -64,6 +66,7 @@ #include #include #include +#include #include #include #include @@ -155,12 +158,14 @@ namespace Aws class GetLegalHoldRequest; class GetRecoveryPointRestoreMetadataRequest; class GetSupportedResourceTypesRequest; + class ListBackupJobSummariesRequest; class ListBackupJobsRequest; class ListBackupPlanTemplatesRequest; class ListBackupPlanVersionsRequest; class ListBackupPlansRequest; class ListBackupSelectionsRequest; class ListBackupVaultsRequest; + class ListCopyJobSummariesRequest; class ListCopyJobsRequest; class ListFrameworksRequest; class ListLegalHoldsRequest; @@ -171,6 +176,7 @@ namespace Aws class ListRecoveryPointsByResourceRequest; class ListReportJobsRequest; class ListReportPlansRequest; + class ListRestoreJobSummariesRequest; class ListRestoreJobsRequest; class ListTagsRequest; class PutBackupVaultAccessPolicyRequest; @@ -232,12 +238,14 @@ namespace Aws typedef Aws::Utils::Outcome GetLegalHoldOutcome; typedef Aws::Utils::Outcome GetRecoveryPointRestoreMetadataOutcome; typedef Aws::Utils::Outcome GetSupportedResourceTypesOutcome; + typedef Aws::Utils::Outcome ListBackupJobSummariesOutcome; typedef Aws::Utils::Outcome ListBackupJobsOutcome; typedef Aws::Utils::Outcome ListBackupPlanTemplatesOutcome; typedef Aws::Utils::Outcome ListBackupPlanVersionsOutcome; typedef Aws::Utils::Outcome ListBackupPlansOutcome; typedef Aws::Utils::Outcome ListBackupSelectionsOutcome; typedef Aws::Utils::Outcome ListBackupVaultsOutcome; + typedef Aws::Utils::Outcome ListCopyJobSummariesOutcome; typedef Aws::Utils::Outcome ListCopyJobsOutcome; typedef Aws::Utils::Outcome ListFrameworksOutcome; typedef Aws::Utils::Outcome ListLegalHoldsOutcome; @@ -248,6 +256,7 @@ namespace Aws typedef Aws::Utils::Outcome ListRecoveryPointsByResourceOutcome; typedef Aws::Utils::Outcome ListReportJobsOutcome; typedef Aws::Utils::Outcome ListReportPlansOutcome; + typedef Aws::Utils::Outcome ListRestoreJobSummariesOutcome; typedef Aws::Utils::Outcome ListRestoreJobsOutcome; typedef Aws::Utils::Outcome ListTagsOutcome; typedef Aws::Utils::Outcome PutBackupVaultAccessPolicyOutcome; @@ -309,12 +318,14 @@ namespace Aws typedef std::future GetLegalHoldOutcomeCallable; typedef std::future GetRecoveryPointRestoreMetadataOutcomeCallable; typedef std::future GetSupportedResourceTypesOutcomeCallable; + typedef std::future ListBackupJobSummariesOutcomeCallable; typedef std::future ListBackupJobsOutcomeCallable; typedef std::future ListBackupPlanTemplatesOutcomeCallable; typedef std::future ListBackupPlanVersionsOutcomeCallable; typedef std::future ListBackupPlansOutcomeCallable; typedef std::future ListBackupSelectionsOutcomeCallable; typedef std::future ListBackupVaultsOutcomeCallable; + typedef std::future ListCopyJobSummariesOutcomeCallable; typedef std::future ListCopyJobsOutcomeCallable; typedef std::future ListFrameworksOutcomeCallable; typedef std::future ListLegalHoldsOutcomeCallable; @@ -325,6 +336,7 @@ namespace Aws typedef std::future ListRecoveryPointsByResourceOutcomeCallable; typedef std::future ListReportJobsOutcomeCallable; typedef std::future ListReportPlansOutcomeCallable; + typedef std::future ListRestoreJobSummariesOutcomeCallable; typedef std::future ListRestoreJobsOutcomeCallable; typedef std::future ListTagsOutcomeCallable; typedef std::future PutBackupVaultAccessPolicyOutcomeCallable; @@ -389,12 +401,14 @@ namespace Aws typedef std::function&) > GetLegalHoldResponseReceivedHandler; typedef std::function&) > GetRecoveryPointRestoreMetadataResponseReceivedHandler; typedef std::function&) > GetSupportedResourceTypesResponseReceivedHandler; + typedef std::function&) > ListBackupJobSummariesResponseReceivedHandler; typedef std::function&) > ListBackupJobsResponseReceivedHandler; typedef std::function&) > ListBackupPlanTemplatesResponseReceivedHandler; typedef std::function&) > ListBackupPlanVersionsResponseReceivedHandler; typedef std::function&) > ListBackupPlansResponseReceivedHandler; typedef std::function&) > ListBackupSelectionsResponseReceivedHandler; typedef std::function&) > ListBackupVaultsResponseReceivedHandler; + typedef std::function&) > ListCopyJobSummariesResponseReceivedHandler; typedef std::function&) > ListCopyJobsResponseReceivedHandler; typedef std::function&) > ListFrameworksResponseReceivedHandler; typedef std::function&) > ListLegalHoldsResponseReceivedHandler; @@ -405,6 +419,7 @@ namespace Aws typedef std::function&) > ListRecoveryPointsByResourceResponseReceivedHandler; typedef std::function&) > ListReportJobsResponseReceivedHandler; typedef std::function&) > ListReportPlansResponseReceivedHandler; + typedef std::function&) > ListRestoreJobSummariesResponseReceivedHandler; typedef std::function&) > ListRestoreJobsResponseReceivedHandler; typedef std::function&) > ListTagsResponseReceivedHandler; typedef std::function&) > PutBackupVaultAccessPolicyResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/AggregationPeriod.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/AggregationPeriod.h new file mode 100644 index 00000000000..80b54e27f53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/AggregationPeriod.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + enum class AggregationPeriod + { + NOT_SET, + ONE_DAY, + SEVEN_DAYS, + FOURTEEN_DAYS + }; + +namespace AggregationPeriodMapper +{ +AWS_BACKUP_API AggregationPeriod GetAggregationPeriodForName(const Aws::String& name); + +AWS_BACKUP_API Aws::String GetNameForAggregationPeriod(AggregationPeriod value); +} // namespace AggregationPeriodMapper +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJob.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJob.h index 5127a9566e1..c076996252a 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJob.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJob.h @@ -1232,6 +1232,95 @@ namespace Model */ inline BackupJob& WithResourceName(const char* value) { SetResourceName(value); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline BackupJob& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline BackupJob& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline BackupJob& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + private: Aws::String m_accountId; @@ -1302,6 +1391,9 @@ namespace Model Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; + + Aws::String m_messageCategory; + bool m_messageCategoryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJobStatus.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJobStatus.h new file mode 100644 index 00000000000..84a1cf0d2d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJobStatus.h @@ -0,0 +1,40 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + enum class BackupJobStatus + { + NOT_SET, + CREATED, + PENDING, + RUNNING, + ABORTING, + ABORTED, + COMPLETED, + FAILED, + EXPIRED, + PARTIAL, + AGGREGATE_ALL, + ANY + }; + +namespace BackupJobStatusMapper +{ +AWS_BACKUP_API BackupJobStatus GetBackupJobStatusForName(const Aws::String& name); + +AWS_BACKUP_API Aws::String GetNameForBackupJobStatus(BackupJobStatus value); +} // namespace BackupJobStatusMapper +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJobSummary.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJobSummary.h new file mode 100644 index 00000000000..7a7eefddd6d --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupJobSummary.h @@ -0,0 +1,451 @@ +/** + * 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 Backup +{ +namespace Model +{ + + /** + *

This is a summary of jobs created or running within the most recent 30 + * days.

The returned summary may contain the following: Region, Account, + * State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

See Also:

AWS + * API Reference

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

The Amazon Web Services Regions within the job summary.

+ */ + inline const Aws::String& GetRegion() const{ return m_region; } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline BackupJobSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline BackupJobSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline BackupJobSummary& WithRegion(const char* value) { SetRegion(value); return *this;} + + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline BackupJobSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline BackupJobSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline BackupJobSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline const BackupJobStatus& GetState() const{ return m_state; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline void SetState(const BackupJobStatus& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline void SetState(BackupJobStatus&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline BackupJobSummary& WithState(const BackupJobStatus& value) { SetState(value); return *this;} + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline BackupJobSummary& WithState(BackupJobStatus&& value) { SetState(std::move(value)); return *this;} + + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

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

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

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

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline BackupJobSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline BackupJobSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline BackupJobSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline BackupJobSummary& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline BackupJobSummary& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline BackupJobSummary& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline int GetCount() const{ return m_count; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline bool CountHasBeenSet() const { return m_countHasBeenSet; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline BackupJobSummary& WithCount(int value) { SetCount(value); return *this;} + + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline BackupJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline BackupJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline BackupJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline BackupJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + + private: + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + BackupJobStatus m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_messageCategory; + bool m_messageCategoryHasBeenSet = false; + + int m_count; + bool m_countHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJob.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJob.h index 748e26347ae..99249b0e15c 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJob.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJob.h @@ -961,6 +961,95 @@ namespace Model */ inline CopyJob& WithResourceName(const char* value) { SetResourceName(value); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline CopyJob& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline CopyJob& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum

+ */ + inline CopyJob& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + private: Aws::String m_accountId; @@ -1025,6 +1114,9 @@ namespace Model Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; + + Aws::String m_messageCategory; + bool m_messageCategoryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJobStatus.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJobStatus.h new file mode 100644 index 00000000000..06bd3390b0a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJobStatus.h @@ -0,0 +1,40 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + enum class CopyJobStatus + { + NOT_SET, + CREATED, + RUNNING, + ABORTING, + ABORTED, + COMPLETING, + COMPLETED, + FAILING, + FAILED, + PARTIAL, + AGGREGATE_ALL, + ANY + }; + +namespace CopyJobStatusMapper +{ +AWS_BACKUP_API CopyJobStatus GetCopyJobStatusForName(const Aws::String& name); + +AWS_BACKUP_API Aws::String GetNameForCopyJobStatus(CopyJobStatus value); +} // namespace CopyJobStatusMapper +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJobSummary.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJobSummary.h new file mode 100644 index 00000000000..4e5eaa0a87f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/CopyJobSummary.h @@ -0,0 +1,451 @@ +/** + * 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 Backup +{ +namespace Model +{ + + /** + *

This is a summary of copy jobs created or running within the most recent 30 + * days.

The returned summary may contain the following: Region, Account, + * State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

See Also:

AWS + * API Reference

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

This is the Amazon Web Services Regions within the job summary.

+ */ + inline const Aws::String& GetRegion() const{ return m_region; } + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline CopyJobSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline CopyJobSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + + /** + *

This is the Amazon Web Services Regions within the job summary.

+ */ + inline CopyJobSummary& WithRegion(const char* value) { SetRegion(value); return *this;} + + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline CopyJobSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline CopyJobSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline CopyJobSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline const CopyJobStatus& GetState() const{ return m_state; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline void SetState(const CopyJobStatus& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline void SetState(CopyJobStatus&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline CopyJobSummary& WithState(const CopyJobStatus& value) { SetState(value); return *this;} + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline CopyJobSummary& WithState(CopyJobStatus&& value) { SetState(std::move(value)); return *this;} + + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

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

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

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

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

+ */ + inline CopyJobSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

+ */ + inline CopyJobSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types

+ */ + inline CopyJobSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); } + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline CopyJobSummary& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline CopyJobSummary& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter is the job count for the specified message category.

+ *

Example strings include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

The the value ANY returns count of + * all message categories.

AGGREGATE_ALL aggregates job counts + * for all message categories and returns the sum.

+ */ + inline CopyJobSummary& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline int GetCount() const{ return m_count; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline bool CountHasBeenSet() const { return m_countHasBeenSet; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline CopyJobSummary& WithCount(int value) { SetCount(value); return *this;} + + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline CopyJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline CopyJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline CopyJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline CopyJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + + private: + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + CopyJobStatus m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_messageCategory; + bool m_messageCategoryHasBeenSet = false; + + int m_count; + bool m_countHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeBackupJobResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeBackupJobResult.h index f5ed0724b19..cd481da1dd3 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeBackupJobResult.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeBackupJobResult.h @@ -1046,6 +1046,70 @@ namespace Model inline DescribeBackupJobResult& WithResourceName(const char* value) { SetResourceName(value); return *this;} + /** + *

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

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

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

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

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategory.assign(value); } + + /** + *

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline DescribeBackupJobResult& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline DescribeBackupJobResult& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This is the job count for the specified message category.

Example + * strings may include AccessDenied, Success, and + * InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline DescribeBackupJobResult& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -1119,6 +1183,8 @@ namespace Model Aws::String m_resourceName; + Aws::String m_messageCategory; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobSummariesRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobSummariesRequest.h new file mode 100644 index 00000000000..fd5b7657fa7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobSummariesRequest.h @@ -0,0 +1,535 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Backup +{ +namespace Model +{ + + /** + */ + class ListBackupJobSummariesRequest : public BackupRequest + { + public: + AWS_BACKUP_API ListBackupJobSummariesRequest(); + + // 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 "ListBackupJobSummaries"; } + + AWS_BACKUP_API Aws::String SerializePayload() const override; + + AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListBackupJobSummariesRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListBackupJobSummariesRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListBackupJobSummariesRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline const BackupJobStatus& GetState() const{ return m_state; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline void SetState(const BackupJobStatus& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline void SetState(BackupJobStatus&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline ListBackupJobSummariesRequest& WithState(const BackupJobStatus& value) { SetState(value); return *this;} + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline ListBackupJobSummariesRequest& WithState(BackupJobStatus&& value) { SetState(std::move(value)); return *this;} + + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

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

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

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

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListBackupJobSummariesRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListBackupJobSummariesRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListBackupJobSummariesRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListBackupJobSummariesRequest& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListBackupJobSummariesRequest& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListBackupJobSummariesRequest& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline const AggregationPeriod& GetAggregationPeriod() const{ return m_aggregationPeriod; } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline bool AggregationPeriodHasBeenSet() const { return m_aggregationPeriodHasBeenSet; } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline void SetAggregationPeriod(const AggregationPeriod& value) { m_aggregationPeriodHasBeenSet = true; m_aggregationPeriod = value; } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline void SetAggregationPeriod(AggregationPeriod&& value) { m_aggregationPeriodHasBeenSet = true; m_aggregationPeriod = std::move(value); } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline ListBackupJobSummariesRequest& WithAggregationPeriod(const AggregationPeriod& value) { SetAggregationPeriod(value); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline ListBackupJobSummariesRequest& WithAggregationPeriod(AggregationPeriod&& value) { SetAggregationPeriod(std::move(value)); return *this;} + + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline ListBackupJobSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListBackupJobSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListBackupJobSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListBackupJobSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + BackupJobStatus m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_messageCategory; + bool m_messageCategoryHasBeenSet = false; + + AggregationPeriod m_aggregationPeriod; + bool m_aggregationPeriodHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobSummariesResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobSummariesResult.h new file mode 100644 index 00000000000..66cc33331df --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobSummariesResult.h @@ -0,0 +1,242 @@ +/** + * 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 Backup +{ +namespace Model +{ + class ListBackupJobSummariesResult + { + public: + AWS_BACKUP_API ListBackupJobSummariesResult(); + AWS_BACKUP_API ListBackupJobSummariesResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUP_API ListBackupJobSummariesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline const Aws::Vector& GetBackupJobSummaries() const{ return m_backupJobSummaries; } + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline void SetBackupJobSummaries(const Aws::Vector& value) { m_backupJobSummaries = value; } + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline void SetBackupJobSummaries(Aws::Vector&& value) { m_backupJobSummaries = std::move(value); } + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListBackupJobSummariesResult& WithBackupJobSummaries(const Aws::Vector& value) { SetBackupJobSummaries(value); return *this;} + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListBackupJobSummariesResult& WithBackupJobSummaries(Aws::Vector&& value) { SetBackupJobSummaries(std::move(value)); return *this;} + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListBackupJobSummariesResult& AddBackupJobSummaries(const BackupJobSummary& value) { m_backupJobSummaries.push_back(value); return *this; } + + /** + *

This request returns a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListBackupJobSummariesResult& AddBackupJobSummaries(BackupJobSummary&& value) { m_backupJobSummaries.push_back(std::move(value)); return *this; } + + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline const Aws::String& GetAggregationPeriod() const{ return m_aggregationPeriod; } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

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

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

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

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline void SetAggregationPeriod(const char* value) { m_aggregationPeriod.assign(value); } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListBackupJobSummariesResult& WithAggregationPeriod(const Aws::String& value) { SetAggregationPeriod(value); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListBackupJobSummariesResult& WithAggregationPeriod(Aws::String&& value) { SetAggregationPeriod(std::move(value)); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListBackupJobSummariesResult& WithAggregationPeriod(const char* value) { SetAggregationPeriod(value); return *this;} + + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

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

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

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

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListBackupJobSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListBackupJobSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListBackupJobSummariesResult& WithNextToken(const char* value) { SetNextToken(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 ListBackupJobSummariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListBackupJobSummariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListBackupJobSummariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_backupJobSummaries; + + Aws::String m_aggregationPeriod; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobsRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobsRequest.h index 1599716c33c..630da2efeca 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobsRequest.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListBackupJobsRequest.h @@ -633,6 +633,79 @@ namespace Model */ inline ListBackupJobsRequest& WithByParentJobId(const char* value) { SetByParentJobId(value); return *this;} + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline const Aws::String& GetByMessageCategory() const{ return m_byMessageCategory; } + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline bool ByMessageCategoryHasBeenSet() const { return m_byMessageCategoryHasBeenSet; } + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline void SetByMessageCategory(const Aws::String& value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory = value; } + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline void SetByMessageCategory(Aws::String&& value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory = std::move(value); } + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline void SetByMessageCategory(const char* value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory.assign(value); } + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline ListBackupJobsRequest& WithByMessageCategory(const Aws::String& value) { SetByMessageCategory(value); return *this;} + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline ListBackupJobsRequest& WithByMessageCategory(Aws::String&& value) { SetByMessageCategory(std::move(value)); return *this;} + + /** + *

This returns a list of backup jobs for the specified message category.

+ *

Example strings may include AccessDenied, Success, + * and InvalidParameters. See Monitoring + * for a list of MessageCategory strings.

+ */ + inline ListBackupJobsRequest& WithByMessageCategory(const char* value) { SetByMessageCategory(value); return *this;} + private: Aws::String m_nextToken; @@ -670,6 +743,9 @@ namespace Model Aws::String m_byParentJobId; bool m_byParentJobIdHasBeenSet = false; + + Aws::String m_byMessageCategory; + bool m_byMessageCategoryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobSummariesRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobSummariesRequest.h new file mode 100644 index 00000000000..54c85067605 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobSummariesRequest.h @@ -0,0 +1,529 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Backup +{ +namespace Model +{ + + /** + */ + class ListCopyJobSummariesRequest : public BackupRequest + { + public: + AWS_BACKUP_API ListCopyJobSummariesRequest(); + + // 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 "ListCopyJobSummaries"; } + + AWS_BACKUP_API Aws::String SerializePayload() const override; + + AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListCopyJobSummariesRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListCopyJobSummariesRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListCopyJobSummariesRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline const CopyJobStatus& GetState() const{ return m_state; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline void SetState(const CopyJobStatus& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline void SetState(CopyJobStatus&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline ListCopyJobSummariesRequest& WithState(const CopyJobStatus& value) { SetState(value); return *this;} + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline ListCopyJobSummariesRequest& WithState(CopyJobStatus&& value) { SetState(std::move(value)); return *this;} + + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

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

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

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

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListCopyJobSummariesRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListCopyJobSummariesRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListCopyJobSummariesRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListCopyJobSummariesRequest& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListCopyJobSummariesRequest& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListCopyJobSummariesRequest& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;} + + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline const AggregationPeriod& GetAggregationPeriod() const{ return m_aggregationPeriod; } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline bool AggregationPeriodHasBeenSet() const { return m_aggregationPeriodHasBeenSet; } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline void SetAggregationPeriod(const AggregationPeriod& value) { m_aggregationPeriodHasBeenSet = true; m_aggregationPeriod = value; } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline void SetAggregationPeriod(AggregationPeriod&& value) { m_aggregationPeriodHasBeenSet = true; m_aggregationPeriod = std::move(value); } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListCopyJobSummariesRequest& WithAggregationPeriod(const AggregationPeriod& value) { SetAggregationPeriod(value); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListCopyJobSummariesRequest& WithAggregationPeriod(AggregationPeriod&& value) { SetAggregationPeriod(std::move(value)); return *this;} + + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline ListCopyJobSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListCopyJobSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListCopyJobSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListCopyJobSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + CopyJobStatus m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_messageCategory; + bool m_messageCategoryHasBeenSet = false; + + AggregationPeriod m_aggregationPeriod; + bool m_aggregationPeriodHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobSummariesResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobSummariesResult.h new file mode 100644 index 00000000000..6b7b509c9c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobSummariesResult.h @@ -0,0 +1,242 @@ +/** + * 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 Backup +{ +namespace Model +{ + class ListCopyJobSummariesResult + { + public: + AWS_BACKUP_API ListCopyJobSummariesResult(); + AWS_BACKUP_API ListCopyJobSummariesResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUP_API ListCopyJobSummariesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline const Aws::Vector& GetCopyJobSummaries() const{ return m_copyJobSummaries; } + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline void SetCopyJobSummaries(const Aws::Vector& value) { m_copyJobSummaries = value; } + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline void SetCopyJobSummaries(Aws::Vector&& value) { m_copyJobSummaries = std::move(value); } + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListCopyJobSummariesResult& WithCopyJobSummaries(const Aws::Vector& value) { SetCopyJobSummaries(value); return *this;} + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListCopyJobSummariesResult& WithCopyJobSummaries(Aws::Vector&& value) { SetCopyJobSummaries(std::move(value)); return *this;} + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListCopyJobSummariesResult& AddCopyJobSummaries(const CopyJobSummary& value) { m_copyJobSummaries.push_back(value); return *this; } + + /** + *

This return shows a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListCopyJobSummariesResult& AddCopyJobSummaries(CopyJobSummary&& value) { m_copyJobSummaries.push_back(std::move(value)); return *this; } + + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline const Aws::String& GetAggregationPeriod() const{ return m_aggregationPeriod; } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

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

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

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

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline void SetAggregationPeriod(const char* value) { m_aggregationPeriod.assign(value); } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListCopyJobSummariesResult& WithAggregationPeriod(const Aws::String& value) { SetAggregationPeriod(value); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListCopyJobSummariesResult& WithAggregationPeriod(Aws::String&& value) { SetAggregationPeriod(std::move(value)); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListCopyJobSummariesResult& WithAggregationPeriod(const char* value) { SetAggregationPeriod(value); return *this;} + + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

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

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

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

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListCopyJobSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListCopyJobSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListCopyJobSummariesResult& WithNextToken(const char* value) { SetNextToken(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 ListCopyJobSummariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListCopyJobSummariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListCopyJobSummariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_copyJobSummaries; + + Aws::String m_aggregationPeriod; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobsRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobsRequest.h index ea60458a9e3..da36110aad4 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobsRequest.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListCopyJobsRequest.h @@ -617,6 +617,95 @@ namespace Model */ inline ListCopyJobsRequest& WithByParentJobId(const char* value) { SetByParentJobId(value); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline const Aws::String& GetByMessageCategory() const{ return m_byMessageCategory; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline bool ByMessageCategoryHasBeenSet() const { return m_byMessageCategoryHasBeenSet; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetByMessageCategory(const Aws::String& value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory = value; } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetByMessageCategory(Aws::String&& value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory = std::move(value); } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline void SetByMessageCategory(const char* value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory.assign(value); } + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListCopyJobsRequest& WithByMessageCategory(const Aws::String& value) { SetByMessageCategory(value); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListCopyJobsRequest& WithByMessageCategory(Aws::String&& value) { SetByMessageCategory(std::move(value)); return *this;} + + /** + *

This parameter returns the job count for the specified message category.

+ *

Example accepted strings include AccessDenied, + * Success, and InvalidParameters. See Monitoring + * for a list of accepted MessageCategory strings.

The the value ANY returns + * count of all message categories.

AGGREGATE_ALL aggregates + * job counts for all message categories and returns the sum.

+ */ + inline ListCopyJobsRequest& WithByMessageCategory(const char* value) { SetByMessageCategory(value); return *this;} + private: Aws::String m_nextToken; @@ -654,6 +743,9 @@ namespace Model Aws::String m_byParentJobId; bool m_byParentJobIdHasBeenSet = false; + + Aws::String m_byMessageCategory; + bool m_byMessageCategoryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListRestoreJobSummariesRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListRestoreJobSummariesRequest.h new file mode 100644 index 00000000000..3835316d6e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListRestoreJobSummariesRequest.h @@ -0,0 +1,443 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Backup +{ +namespace Model +{ + + /** + */ + class ListRestoreJobSummariesRequest : public BackupRequest + { + public: + AWS_BACKUP_API ListRestoreJobSummariesRequest(); + + // 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 "ListRestoreJobSummaries"; } + + AWS_BACKUP_API Aws::String SerializePayload() const override; + + AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListRestoreJobSummariesRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListRestoreJobSummariesRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

Returns the job count for the specified account.

If the request is + * sent from a member account or an account not part of Amazon Web Services + * Organizations, jobs within requestor's account will be returned.

Root, + * admin, and delegated administrator accounts can use the value ANY to return job + * counts from every account in the organization.

+ * AGGREGATE_ALL aggregates job counts from all accounts within the + * authenticated organization, then returns the sum.

+ */ + inline ListRestoreJobSummariesRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline const RestoreJobState& GetState() const{ return m_state; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline void SetState(const RestoreJobState& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline void SetState(RestoreJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline ListRestoreJobSummariesRequest& WithState(const RestoreJobState& value) { SetState(value); return *this;} + + /** + *

This parameter returns the job count for jobs with the specified state.

+ *

The the value ANY returns count of all states.

+ * AGGREGATE_ALL aggregates job counts for all states and returns the + * sum.

+ */ + inline ListRestoreJobSummariesRequest& WithState(RestoreJobState&& value) { SetState(std::move(value)); return *this;} + + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

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

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

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

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListRestoreJobSummariesRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListRestoreJobSummariesRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

Returns the job count for the specified resource type. Use request + * GetSupportedResourceTypes to obtain strings for supported resource + * types.

The the value ANY returns count of all resource types.

+ * AGGREGATE_ALL aggregates job counts for all resource types and + * returns the sum.

The type of Amazon Web Services resource to be backed + * up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon + * Relational Database Service (Amazon RDS) database.

+ */ + inline ListRestoreJobSummariesRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline const AggregationPeriod& GetAggregationPeriod() const{ return m_aggregationPeriod; } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline bool AggregationPeriodHasBeenSet() const { return m_aggregationPeriodHasBeenSet; } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline void SetAggregationPeriod(const AggregationPeriod& value) { m_aggregationPeriodHasBeenSet = true; m_aggregationPeriod = value; } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline void SetAggregationPeriod(AggregationPeriod&& value) { m_aggregationPeriodHasBeenSet = true; m_aggregationPeriod = std::move(value); } + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline ListRestoreJobSummariesRequest& WithAggregationPeriod(const AggregationPeriod& value) { SetAggregationPeriod(value); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

+ *

Acceptable values include

  • ONE_DAY for daily + * job count for the prior 14 days.

  • SEVEN_DAYS for + * the aggregated job count for the prior 7 days.

  • + * FOURTEEN_DAYS for aggregated job count for prior 14 days.

  • + *
+ */ + inline ListRestoreJobSummariesRequest& WithAggregationPeriod(AggregationPeriod&& value) { SetAggregationPeriod(std::move(value)); return *this;} + + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

This parameter sets the maximum number of items to be returned.

The + * value is an integer. Range of accepted values is from 1 to 500.

+ */ + inline ListRestoreJobSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListRestoreJobSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListRestoreJobSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListRestoreJobSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + RestoreJobState m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + AggregationPeriod m_aggregationPeriod; + bool m_aggregationPeriodHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListRestoreJobSummariesResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListRestoreJobSummariesResult.h new file mode 100644 index 00000000000..ce32beab2ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListRestoreJobSummariesResult.h @@ -0,0 +1,242 @@ +/** + * 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 Backup +{ +namespace Model +{ + class ListRestoreJobSummariesResult + { + public: + AWS_BACKUP_API ListRestoreJobSummariesResult(); + AWS_BACKUP_API ListRestoreJobSummariesResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUP_API ListRestoreJobSummariesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline const Aws::Vector& GetRestoreJobSummaries() const{ return m_restoreJobSummaries; } + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline void SetRestoreJobSummaries(const Aws::Vector& value) { m_restoreJobSummaries = value; } + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline void SetRestoreJobSummaries(Aws::Vector&& value) { m_restoreJobSummaries = std::move(value); } + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListRestoreJobSummariesResult& WithRestoreJobSummaries(const Aws::Vector& value) { SetRestoreJobSummaries(value); return *this;} + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListRestoreJobSummariesResult& WithRestoreJobSummaries(Aws::Vector&& value) { SetRestoreJobSummaries(std::move(value)); return *this;} + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListRestoreJobSummariesResult& AddRestoreJobSummaries(const RestoreJobSummary& value) { m_restoreJobSummaries.push_back(value); return *this; } + + /** + *

This return contains a summary that contains Region, Account, State, + * ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

+ */ + inline ListRestoreJobSummariesResult& AddRestoreJobSummaries(RestoreJobSummary&& value) { m_restoreJobSummaries.push_back(std::move(value)); return *this; } + + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline const Aws::String& GetAggregationPeriod() const{ return m_aggregationPeriod; } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

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

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

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

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline void SetAggregationPeriod(const char* value) { m_aggregationPeriod.assign(value); } + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListRestoreJobSummariesResult& WithAggregationPeriod(const Aws::String& value) { SetAggregationPeriod(value); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListRestoreJobSummariesResult& WithAggregationPeriod(Aws::String&& value) { SetAggregationPeriod(std::move(value)); return *this;} + + /** + *

This is the period that sets the boundaries for returned results.

    + *
  • ONE_DAY for daily job count for the prior 14 days.

    + *
  • SEVEN_DAYS for the aggregated job count for the + * prior 7 days.

  • FOURTEEN_DAYS for aggregated job + * count for prior 14 days.

+ */ + inline ListRestoreJobSummariesResult& WithAggregationPeriod(const char* value) { SetAggregationPeriod(value); return *this;} + + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

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

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

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

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListRestoreJobSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListRestoreJobSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The next item following a partial list of returned resources. For example, if + * a request is made to return maxResults number of resources, + * NextToken allows you to return more items in your list starting at + * the location pointed to by the next token.

+ */ + inline ListRestoreJobSummariesResult& WithNextToken(const char* value) { SetNextToken(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 ListRestoreJobSummariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListRestoreJobSummariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListRestoreJobSummariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_restoreJobSummaries; + + Aws::String m_aggregationPeriod; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RestoreJobState.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RestoreJobState.h new file mode 100644 index 00000000000..6bae91233e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RestoreJobState.h @@ -0,0 +1,37 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + enum class RestoreJobState + { + NOT_SET, + CREATED, + PENDING, + RUNNING, + ABORTED, + COMPLETED, + FAILED, + AGGREGATE_ALL, + ANY + }; + +namespace RestoreJobStateMapper +{ +AWS_BACKUP_API RestoreJobState GetRestoreJobStateForName(const Aws::String& name); + +AWS_BACKUP_API Aws::String GetNameForRestoreJobState(RestoreJobState value); +} // namespace RestoreJobStateMapper +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RestoreJobSummary.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RestoreJobSummary.h new file mode 100644 index 00000000000..4bc7b7e7502 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RestoreJobSummary.h @@ -0,0 +1,359 @@ +/** + * 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 Backup +{ +namespace Model +{ + + /** + *

This is a summary of restore jobs created or running within the most recent + * 30 days.

The returned summary may contain the following: Region, Account, + * State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included + * jobs.

See Also:

AWS + * API Reference

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

The Amazon Web Services Regions within the job summary.

+ */ + inline const Aws::String& GetRegion() const{ return m_region; } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline RestoreJobSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline RestoreJobSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + + /** + *

The Amazon Web Services Regions within the job summary.

+ */ + inline RestoreJobSummary& WithRegion(const char* value) { SetRegion(value); return *this;} + + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline RestoreJobSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline RestoreJobSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

The account ID that owns the jobs within the summary.

+ */ + inline RestoreJobSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline const RestoreJobState& GetState() const{ return m_state; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline void SetState(const RestoreJobState& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline void SetState(RestoreJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline RestoreJobSummary& WithState(const RestoreJobState& value) { SetState(value); return *this;} + + /** + *

This value is job count for jobs with the specified state.

+ */ + inline RestoreJobSummary& WithState(RestoreJobState&& value) { SetState(std::move(value)); return *this;} + + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

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

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

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

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline RestoreJobSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline RestoreJobSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

This value is the job count for the specified resource type. The request + * GetSupportedResourceTypes returns strings for supported resource + * types.

+ */ + inline RestoreJobSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline int GetCount() const{ return m_count; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline bool CountHasBeenSet() const { return m_countHasBeenSet; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } + + /** + *

The value as a number of jobs in a job summary.

+ */ + inline RestoreJobSummary& WithCount(int value) { SetCount(value); return *this;} + + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline RestoreJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *

The value of time in number format of a job start time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline RestoreJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline RestoreJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + + /** + *

The value of time in number format of a job end time.

This value is + * the time in Unix format, Coordinated Universal Time (UTC), and accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline RestoreJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + + private: + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + RestoreJobState m_state; + bool m_stateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + int m_count; + bool m_countHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp b/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp index d35c017306a..b6c0ad26382 100644 --- a/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp @@ -61,12 +61,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -77,6 +79,7 @@ #include #include #include +#include #include #include #include @@ -1565,6 +1568,33 @@ GetSupportedResourceTypesOutcome BackupClient::GetSupportedResourceTypes(const G {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListBackupJobSummariesOutcome BackupClient::ListBackupJobSummaries(const ListBackupJobSummariesRequest& request) const +{ + AWS_OPERATION_GUARD(ListBackupJobSummaries); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListBackupJobSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListBackupJobSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListBackupJobSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListBackupJobSummaries", + {{ 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( + [&]()-> ListBackupJobSummariesOutcome { + 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, ListBackupJobSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/audit/backup-job-summaries"); + return ListBackupJobSummariesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListBackupJobsOutcome BackupClient::ListBackupJobs(const ListBackupJobsRequest& request) const { AWS_OPERATION_GUARD(ListBackupJobs); @@ -1741,6 +1771,33 @@ ListBackupVaultsOutcome BackupClient::ListBackupVaults(const ListBackupVaultsReq {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListCopyJobSummariesOutcome BackupClient::ListCopyJobSummaries(const ListCopyJobSummariesRequest& request) const +{ + AWS_OPERATION_GUARD(ListCopyJobSummaries); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListCopyJobSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListCopyJobSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListCopyJobSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListCopyJobSummaries", + {{ 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( + [&]()-> ListCopyJobSummariesOutcome { + 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, ListCopyJobSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/audit/copy-job-summaries"); + return ListCopyJobSummariesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListCopyJobsOutcome BackupClient::ListCopyJobs(const ListCopyJobsRequest& request) const { AWS_OPERATION_GUARD(ListCopyJobs); @@ -2039,6 +2096,33 @@ ListReportPlansOutcome BackupClient::ListReportPlans(const ListReportPlansReques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListRestoreJobSummariesOutcome BackupClient::ListRestoreJobSummaries(const ListRestoreJobSummariesRequest& request) const +{ + AWS_OPERATION_GUARD(ListRestoreJobSummaries); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListRestoreJobSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListRestoreJobSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListRestoreJobSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListRestoreJobSummaries", + {{ 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( + [&]()-> ListRestoreJobSummariesOutcome { + 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, ListRestoreJobSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/audit/restore-job-summaries"); + return ListRestoreJobSummariesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListRestoreJobsOutcome BackupClient::ListRestoreJobs(const ListRestoreJobsRequest& request) const { AWS_OPERATION_GUARD(ListRestoreJobs); diff --git a/generated/src/aws-cpp-sdk-backup/source/BackupEndpointRules.cpp b/generated/src/aws-cpp-sdk-backup/source/BackupEndpointRules.cpp index 4ab24cb3c53..ab364fd74d0 100644 --- a/generated/src/aws-cpp-sdk-backup/source/BackupEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/BackupEndpointRules.cpp @@ -51,106 +51,106 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', 'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', '"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', -'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k', -'u','p','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f', -'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', -'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', -'t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k', -' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a', -'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', -'o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k','u','p','-','f','i','p','s','.','{', -'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', -'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a', -'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d', -'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y', -'p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l', -'S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t', -'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', -'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', -'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k','u','p','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D', +'u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t', +' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ', +'s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', +':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', ':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', -'t','p','s',':','/','/','b','a','c','k','u','p','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', -'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', -',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', -'d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ', -'e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', -'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t', -'a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', -':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k','u','p','.','{', -'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', -'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o', +'t','p','s',':','/','/','b','a','c','k','u','p','-','f','i','p','s','.','{','R','e','g','i','o','n', +'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P', +'S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', +'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F', +'I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a', +'c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', +'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', +'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'b','a','c','k','u','p','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i', +'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', +'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S', +'t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ', +'p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r', +'t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', +'u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k','u','p','.','{','R','e','g', +'i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s', +'S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',', +'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', +'p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', 'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C', 'o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g', 'i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-backup/source/model/AggregationPeriod.cpp b/generated/src/aws-cpp-sdk-backup/source/model/AggregationPeriod.cpp new file mode 100644 index 00000000000..6027f01e20d --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/AggregationPeriod.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Backup + { + namespace Model + { + namespace AggregationPeriodMapper + { + + static const int ONE_DAY_HASH = HashingUtils::HashString("ONE_DAY"); + static const int SEVEN_DAYS_HASH = HashingUtils::HashString("SEVEN_DAYS"); + static const int FOURTEEN_DAYS_HASH = HashingUtils::HashString("FOURTEEN_DAYS"); + + + AggregationPeriod GetAggregationPeriodForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ONE_DAY_HASH) + { + return AggregationPeriod::ONE_DAY; + } + else if (hashCode == SEVEN_DAYS_HASH) + { + return AggregationPeriod::SEVEN_DAYS; + } + else if (hashCode == FOURTEEN_DAYS_HASH) + { + return AggregationPeriod::FOURTEEN_DAYS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AggregationPeriod::NOT_SET; + } + + Aws::String GetNameForAggregationPeriod(AggregationPeriod enumValue) + { + switch(enumValue) + { + case AggregationPeriod::NOT_SET: + return {}; + case AggregationPeriod::ONE_DAY: + return "ONE_DAY"; + case AggregationPeriod::SEVEN_DAYS: + return "SEVEN_DAYS"; + case AggregationPeriod::FOURTEEN_DAYS: + return "FOURTEEN_DAYS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AggregationPeriodMapper + } // namespace Model + } // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/BackupJob.cpp b/generated/src/aws-cpp-sdk-backup/source/model/BackupJob.cpp index 29ec35fe738..c5fdd23ed3f 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/BackupJob.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/BackupJob.cpp @@ -45,7 +45,8 @@ BackupJob::BackupJob() : m_parentJobIdHasBeenSet(false), m_isParent(false), m_isParentHasBeenSet(false), - m_resourceNameHasBeenSet(false) + m_resourceNameHasBeenSet(false), + m_messageCategoryHasBeenSet(false) { } @@ -76,7 +77,8 @@ BackupJob::BackupJob(JsonView jsonValue) : m_parentJobIdHasBeenSet(false), m_isParent(false), m_isParentHasBeenSet(false), - m_resourceNameHasBeenSet(false) + m_resourceNameHasBeenSet(false), + m_messageCategoryHasBeenSet(false) { *this = jsonValue; } @@ -247,6 +249,13 @@ BackupJob& BackupJob::operator =(JsonView jsonValue) m_resourceNameHasBeenSet = true; } + if(jsonValue.ValueExists("MessageCategory")) + { + m_messageCategory = jsonValue.GetString("MessageCategory"); + + m_messageCategoryHasBeenSet = true; + } + return *this; } @@ -392,6 +401,12 @@ JsonValue BackupJob::Jsonize() const } + if(m_messageCategoryHasBeenSet) + { + payload.WithString("MessageCategory", m_messageCategory); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/BackupJobStatus.cpp b/generated/src/aws-cpp-sdk-backup/source/model/BackupJobStatus.cpp new file mode 100644 index 00000000000..46c44dc6bd0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/BackupJobStatus.cpp @@ -0,0 +1,135 @@ +/** + * 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 Backup + { + namespace Model + { + namespace BackupJobStatusMapper + { + + static const int CREATED_HASH = HashingUtils::HashString("CREATED"); + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int ABORTING_HASH = HashingUtils::HashString("ABORTING"); + static const int ABORTED_HASH = HashingUtils::HashString("ABORTED"); + static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int EXPIRED_HASH = HashingUtils::HashString("EXPIRED"); + static const int PARTIAL_HASH = HashingUtils::HashString("PARTIAL"); + static const int AGGREGATE_ALL_HASH = HashingUtils::HashString("AGGREGATE_ALL"); + static const int ANY_HASH = HashingUtils::HashString("ANY"); + + + BackupJobStatus GetBackupJobStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATED_HASH) + { + return BackupJobStatus::CREATED; + } + else if (hashCode == PENDING_HASH) + { + return BackupJobStatus::PENDING; + } + else if (hashCode == RUNNING_HASH) + { + return BackupJobStatus::RUNNING; + } + else if (hashCode == ABORTING_HASH) + { + return BackupJobStatus::ABORTING; + } + else if (hashCode == ABORTED_HASH) + { + return BackupJobStatus::ABORTED; + } + else if (hashCode == COMPLETED_HASH) + { + return BackupJobStatus::COMPLETED; + } + else if (hashCode == FAILED_HASH) + { + return BackupJobStatus::FAILED; + } + else if (hashCode == EXPIRED_HASH) + { + return BackupJobStatus::EXPIRED; + } + else if (hashCode == PARTIAL_HASH) + { + return BackupJobStatus::PARTIAL; + } + else if (hashCode == AGGREGATE_ALL_HASH) + { + return BackupJobStatus::AGGREGATE_ALL; + } + else if (hashCode == ANY_HASH) + { + return BackupJobStatus::ANY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return BackupJobStatus::NOT_SET; + } + + Aws::String GetNameForBackupJobStatus(BackupJobStatus enumValue) + { + switch(enumValue) + { + case BackupJobStatus::NOT_SET: + return {}; + case BackupJobStatus::CREATED: + return "CREATED"; + case BackupJobStatus::PENDING: + return "PENDING"; + case BackupJobStatus::RUNNING: + return "RUNNING"; + case BackupJobStatus::ABORTING: + return "ABORTING"; + case BackupJobStatus::ABORTED: + return "ABORTED"; + case BackupJobStatus::COMPLETED: + return "COMPLETED"; + case BackupJobStatus::FAILED: + return "FAILED"; + case BackupJobStatus::EXPIRED: + return "EXPIRED"; + case BackupJobStatus::PARTIAL: + return "PARTIAL"; + case BackupJobStatus::AGGREGATE_ALL: + return "AGGREGATE_ALL"; + case BackupJobStatus::ANY: + return "ANY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace BackupJobStatusMapper + } // namespace Model + } // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/BackupJobSummary.cpp b/generated/src/aws-cpp-sdk-backup/source/model/BackupJobSummary.cpp new file mode 100644 index 00000000000..2e054ff0368 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/BackupJobSummary.cpp @@ -0,0 +1,165 @@ +/** + * 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 Backup +{ +namespace Model +{ + +BackupJobSummary::BackupJobSummary() : + m_regionHasBeenSet(false), + m_accountIdHasBeenSet(false), + m_state(BackupJobStatus::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_messageCategoryHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) +{ +} + +BackupJobSummary::BackupJobSummary(JsonView jsonValue) : + m_regionHasBeenSet(false), + m_accountIdHasBeenSet(false), + m_state(BackupJobStatus::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_messageCategoryHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) +{ + *this = jsonValue; +} + +BackupJobSummary& BackupJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("AccountId")) + { + m_accountId = jsonValue.GetString("AccountId"); + + m_accountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("State")) + { + m_state = BackupJobStatusMapper::GetBackupJobStatusForName(jsonValue.GetString("State")); + + m_stateHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = jsonValue.GetString("ResourceType"); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("MessageCategory")) + { + m_messageCategory = jsonValue.GetString("MessageCategory"); + + m_messageCategoryHasBeenSet = true; + } + + if(jsonValue.ValueExists("Count")) + { + m_count = jsonValue.GetInteger("Count"); + + m_countHasBeenSet = true; + } + + if(jsonValue.ValueExists("StartTime")) + { + m_startTime = jsonValue.GetDouble("StartTime"); + + m_startTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndTime")) + { + m_endTime = jsonValue.GetDouble("EndTime"); + + m_endTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue BackupJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_regionHasBeenSet) + { + payload.WithString("Region", m_region); + + } + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_stateHasBeenSet) + { + payload.WithString("State", BackupJobStatusMapper::GetNameForBackupJobStatus(m_state)); + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", m_resourceType); + + } + + if(m_messageCategoryHasBeenSet) + { + payload.WithString("MessageCategory", m_messageCategory); + + } + + if(m_countHasBeenSet) + { + payload.WithInteger("Count", m_count); + + } + + if(m_startTimeHasBeenSet) + { + payload.WithDouble("StartTime", m_startTime.SecondsWithMSPrecision()); + } + + if(m_endTimeHasBeenSet) + { + payload.WithDouble("EndTime", m_endTime.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/CopyJob.cpp b/generated/src/aws-cpp-sdk-backup/source/model/CopyJob.cpp index f667c274620..7c1ed06d3c3 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/CopyJob.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/CopyJob.cpp @@ -43,7 +43,8 @@ CopyJob::CopyJob() : m_numberOfChildJobs(0), m_numberOfChildJobsHasBeenSet(false), m_childJobsInStateHasBeenSet(false), - m_resourceNameHasBeenSet(false) + m_resourceNameHasBeenSet(false), + m_messageCategoryHasBeenSet(false) { } @@ -72,7 +73,8 @@ CopyJob::CopyJob(JsonView jsonValue) : m_numberOfChildJobs(0), m_numberOfChildJobsHasBeenSet(false), m_childJobsInStateHasBeenSet(false), - m_resourceNameHasBeenSet(false) + m_resourceNameHasBeenSet(false), + m_messageCategoryHasBeenSet(false) { *this = jsonValue; } @@ -229,6 +231,13 @@ CopyJob& CopyJob::operator =(JsonView jsonValue) m_resourceNameHasBeenSet = true; } + if(jsonValue.ValueExists("MessageCategory")) + { + m_messageCategory = jsonValue.GetString("MessageCategory"); + + m_messageCategoryHasBeenSet = true; + } + return *this; } @@ -364,6 +373,12 @@ JsonValue CopyJob::Jsonize() const } + if(m_messageCategoryHasBeenSet) + { + payload.WithString("MessageCategory", m_messageCategory); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/CopyJobStatus.cpp b/generated/src/aws-cpp-sdk-backup/source/model/CopyJobStatus.cpp new file mode 100644 index 00000000000..f5da4e4e761 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/CopyJobStatus.cpp @@ -0,0 +1,135 @@ +/** + * 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 Backup + { + namespace Model + { + namespace CopyJobStatusMapper + { + + static const int CREATED_HASH = HashingUtils::HashString("CREATED"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int ABORTING_HASH = HashingUtils::HashString("ABORTING"); + static const int ABORTED_HASH = HashingUtils::HashString("ABORTED"); + static const int COMPLETING_HASH = HashingUtils::HashString("COMPLETING"); + static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + static const int FAILING_HASH = HashingUtils::HashString("FAILING"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int PARTIAL_HASH = HashingUtils::HashString("PARTIAL"); + static const int AGGREGATE_ALL_HASH = HashingUtils::HashString("AGGREGATE_ALL"); + static const int ANY_HASH = HashingUtils::HashString("ANY"); + + + CopyJobStatus GetCopyJobStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATED_HASH) + { + return CopyJobStatus::CREATED; + } + else if (hashCode == RUNNING_HASH) + { + return CopyJobStatus::RUNNING; + } + else if (hashCode == ABORTING_HASH) + { + return CopyJobStatus::ABORTING; + } + else if (hashCode == ABORTED_HASH) + { + return CopyJobStatus::ABORTED; + } + else if (hashCode == COMPLETING_HASH) + { + return CopyJobStatus::COMPLETING; + } + else if (hashCode == COMPLETED_HASH) + { + return CopyJobStatus::COMPLETED; + } + else if (hashCode == FAILING_HASH) + { + return CopyJobStatus::FAILING; + } + else if (hashCode == FAILED_HASH) + { + return CopyJobStatus::FAILED; + } + else if (hashCode == PARTIAL_HASH) + { + return CopyJobStatus::PARTIAL; + } + else if (hashCode == AGGREGATE_ALL_HASH) + { + return CopyJobStatus::AGGREGATE_ALL; + } + else if (hashCode == ANY_HASH) + { + return CopyJobStatus::ANY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return CopyJobStatus::NOT_SET; + } + + Aws::String GetNameForCopyJobStatus(CopyJobStatus enumValue) + { + switch(enumValue) + { + case CopyJobStatus::NOT_SET: + return {}; + case CopyJobStatus::CREATED: + return "CREATED"; + case CopyJobStatus::RUNNING: + return "RUNNING"; + case CopyJobStatus::ABORTING: + return "ABORTING"; + case CopyJobStatus::ABORTED: + return "ABORTED"; + case CopyJobStatus::COMPLETING: + return "COMPLETING"; + case CopyJobStatus::COMPLETED: + return "COMPLETED"; + case CopyJobStatus::FAILING: + return "FAILING"; + case CopyJobStatus::FAILED: + return "FAILED"; + case CopyJobStatus::PARTIAL: + return "PARTIAL"; + case CopyJobStatus::AGGREGATE_ALL: + return "AGGREGATE_ALL"; + case CopyJobStatus::ANY: + return "ANY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace CopyJobStatusMapper + } // namespace Model + } // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/CopyJobSummary.cpp b/generated/src/aws-cpp-sdk-backup/source/model/CopyJobSummary.cpp new file mode 100644 index 00000000000..372cf151a20 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/CopyJobSummary.cpp @@ -0,0 +1,165 @@ +/** + * 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 Backup +{ +namespace Model +{ + +CopyJobSummary::CopyJobSummary() : + m_regionHasBeenSet(false), + m_accountIdHasBeenSet(false), + m_state(CopyJobStatus::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_messageCategoryHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) +{ +} + +CopyJobSummary::CopyJobSummary(JsonView jsonValue) : + m_regionHasBeenSet(false), + m_accountIdHasBeenSet(false), + m_state(CopyJobStatus::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_messageCategoryHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) +{ + *this = jsonValue; +} + +CopyJobSummary& CopyJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("AccountId")) + { + m_accountId = jsonValue.GetString("AccountId"); + + m_accountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("State")) + { + m_state = CopyJobStatusMapper::GetCopyJobStatusForName(jsonValue.GetString("State")); + + m_stateHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = jsonValue.GetString("ResourceType"); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("MessageCategory")) + { + m_messageCategory = jsonValue.GetString("MessageCategory"); + + m_messageCategoryHasBeenSet = true; + } + + if(jsonValue.ValueExists("Count")) + { + m_count = jsonValue.GetInteger("Count"); + + m_countHasBeenSet = true; + } + + if(jsonValue.ValueExists("StartTime")) + { + m_startTime = jsonValue.GetDouble("StartTime"); + + m_startTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndTime")) + { + m_endTime = jsonValue.GetDouble("EndTime"); + + m_endTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue CopyJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_regionHasBeenSet) + { + payload.WithString("Region", m_region); + + } + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_stateHasBeenSet) + { + payload.WithString("State", CopyJobStatusMapper::GetNameForCopyJobStatus(m_state)); + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", m_resourceType); + + } + + if(m_messageCategoryHasBeenSet) + { + payload.WithString("MessageCategory", m_messageCategory); + + } + + if(m_countHasBeenSet) + { + payload.WithInteger("Count", m_count); + + } + + if(m_startTimeHasBeenSet) + { + payload.WithDouble("StartTime", m_startTime.SecondsWithMSPrecision()); + } + + if(m_endTimeHasBeenSet) + { + payload.WithDouble("EndTime", m_endTime.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/DescribeBackupJobResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/DescribeBackupJobResult.cpp index aeb85e0e23a..4be0286768b 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/DescribeBackupJobResult.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/DescribeBackupJobResult.cpp @@ -195,6 +195,12 @@ DescribeBackupJobResult& DescribeBackupJobResult::operator =(const Aws::AmazonWe } + if(jsonValue.ValueExists("MessageCategory")) + { + m_messageCategory = jsonValue.GetString("MessageCategory"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobSummariesRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobSummariesRequest.cpp new file mode 100644 index 00000000000..da111671b10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobSummariesRequest.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListBackupJobSummariesRequest::ListBackupJobSummariesRequest() : + m_accountIdHasBeenSet(false), + m_state(BackupJobStatus::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_messageCategoryHasBeenSet(false), + m_aggregationPeriod(AggregationPeriod::NOT_SET), + m_aggregationPeriodHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListBackupJobSummariesRequest::SerializePayload() const +{ + return {}; +} + +void ListBackupJobSummariesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_accountIdHasBeenSet) + { + ss << m_accountId; + uri.AddQueryStringParameter("AccountId", ss.str()); + ss.str(""); + } + + if(m_stateHasBeenSet) + { + ss << BackupJobStatusMapper::GetNameForBackupJobStatus(m_state); + uri.AddQueryStringParameter("State", ss.str()); + ss.str(""); + } + + if(m_resourceTypeHasBeenSet) + { + ss << m_resourceType; + uri.AddQueryStringParameter("ResourceType", ss.str()); + ss.str(""); + } + + if(m_messageCategoryHasBeenSet) + { + ss << m_messageCategory; + uri.AddQueryStringParameter("MessageCategory", ss.str()); + ss.str(""); + } + + if(m_aggregationPeriodHasBeenSet) + { + ss << AggregationPeriodMapper::GetNameForAggregationPeriod(m_aggregationPeriod); + uri.AddQueryStringParameter("AggregationPeriod", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("MaxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("NextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobSummariesResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobSummariesResult.cpp new file mode 100644 index 00000000000..b285130ee96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobSummariesResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListBackupJobSummariesResult::ListBackupJobSummariesResult() +{ +} + +ListBackupJobSummariesResult::ListBackupJobSummariesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListBackupJobSummariesResult& ListBackupJobSummariesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("BackupJobSummaries")) + { + Aws::Utils::Array backupJobSummariesJsonList = jsonValue.GetArray("BackupJobSummaries"); + for(unsigned backupJobSummariesIndex = 0; backupJobSummariesIndex < backupJobSummariesJsonList.GetLength(); ++backupJobSummariesIndex) + { + m_backupJobSummaries.push_back(backupJobSummariesJsonList[backupJobSummariesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("AggregationPeriod")) + { + m_aggregationPeriod = jsonValue.GetString("AggregationPeriod"); + + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + 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-backup/source/model/ListBackupJobsRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobsRequest.cpp index 01ff8aef18f..2791a9c7fdf 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobsRequest.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListBackupJobsRequest.cpp @@ -29,7 +29,8 @@ ListBackupJobsRequest::ListBackupJobsRequest() : m_byAccountIdHasBeenSet(false), m_byCompleteAfterHasBeenSet(false), m_byCompleteBeforeHasBeenSet(false), - m_byParentJobIdHasBeenSet(false) + m_byParentJobIdHasBeenSet(false), + m_byMessageCategoryHasBeenSet(false) { } @@ -125,6 +126,13 @@ void ListBackupJobsRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } + if(m_byMessageCategoryHasBeenSet) + { + ss << m_byMessageCategory; + uri.AddQueryStringParameter("messageCategory", ss.str()); + ss.str(""); + } + } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobSummariesRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobSummariesRequest.cpp new file mode 100644 index 00000000000..ee51f9b12c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobSummariesRequest.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListCopyJobSummariesRequest::ListCopyJobSummariesRequest() : + m_accountIdHasBeenSet(false), + m_state(CopyJobStatus::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_messageCategoryHasBeenSet(false), + m_aggregationPeriod(AggregationPeriod::NOT_SET), + m_aggregationPeriodHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListCopyJobSummariesRequest::SerializePayload() const +{ + return {}; +} + +void ListCopyJobSummariesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_accountIdHasBeenSet) + { + ss << m_accountId; + uri.AddQueryStringParameter("AccountId", ss.str()); + ss.str(""); + } + + if(m_stateHasBeenSet) + { + ss << CopyJobStatusMapper::GetNameForCopyJobStatus(m_state); + uri.AddQueryStringParameter("State", ss.str()); + ss.str(""); + } + + if(m_resourceTypeHasBeenSet) + { + ss << m_resourceType; + uri.AddQueryStringParameter("ResourceType", ss.str()); + ss.str(""); + } + + if(m_messageCategoryHasBeenSet) + { + ss << m_messageCategory; + uri.AddQueryStringParameter("MessageCategory", ss.str()); + ss.str(""); + } + + if(m_aggregationPeriodHasBeenSet) + { + ss << AggregationPeriodMapper::GetNameForAggregationPeriod(m_aggregationPeriod); + uri.AddQueryStringParameter("AggregationPeriod", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("MaxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("NextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobSummariesResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobSummariesResult.cpp new file mode 100644 index 00000000000..f16b0ede97e --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobSummariesResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListCopyJobSummariesResult::ListCopyJobSummariesResult() +{ +} + +ListCopyJobSummariesResult::ListCopyJobSummariesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListCopyJobSummariesResult& ListCopyJobSummariesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("CopyJobSummaries")) + { + Aws::Utils::Array copyJobSummariesJsonList = jsonValue.GetArray("CopyJobSummaries"); + for(unsigned copyJobSummariesIndex = 0; copyJobSummariesIndex < copyJobSummariesJsonList.GetLength(); ++copyJobSummariesIndex) + { + m_copyJobSummaries.push_back(copyJobSummariesJsonList[copyJobSummariesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("AggregationPeriod")) + { + m_aggregationPeriod = jsonValue.GetString("AggregationPeriod"); + + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + 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-backup/source/model/ListCopyJobsRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobsRequest.cpp index 5e16c0a063f..6f4445c63bb 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobsRequest.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListCopyJobsRequest.cpp @@ -29,7 +29,8 @@ ListCopyJobsRequest::ListCopyJobsRequest() : m_byAccountIdHasBeenSet(false), m_byCompleteBeforeHasBeenSet(false), m_byCompleteAfterHasBeenSet(false), - m_byParentJobIdHasBeenSet(false) + m_byParentJobIdHasBeenSet(false), + m_byMessageCategoryHasBeenSet(false) { } @@ -125,6 +126,13 @@ void ListCopyJobsRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } + if(m_byMessageCategoryHasBeenSet) + { + ss << m_byMessageCategory; + uri.AddQueryStringParameter("messageCategory", ss.str()); + ss.str(""); + } + } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListRestoreJobSummariesRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListRestoreJobSummariesRequest.cpp new file mode 100644 index 00000000000..6cea4868b7a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListRestoreJobSummariesRequest.cpp @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListRestoreJobSummariesRequest::ListRestoreJobSummariesRequest() : + m_accountIdHasBeenSet(false), + m_state(RestoreJobState::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_aggregationPeriod(AggregationPeriod::NOT_SET), + m_aggregationPeriodHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListRestoreJobSummariesRequest::SerializePayload() const +{ + return {}; +} + +void ListRestoreJobSummariesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_accountIdHasBeenSet) + { + ss << m_accountId; + uri.AddQueryStringParameter("AccountId", ss.str()); + ss.str(""); + } + + if(m_stateHasBeenSet) + { + ss << RestoreJobStateMapper::GetNameForRestoreJobState(m_state); + uri.AddQueryStringParameter("State", ss.str()); + ss.str(""); + } + + if(m_resourceTypeHasBeenSet) + { + ss << m_resourceType; + uri.AddQueryStringParameter("ResourceType", ss.str()); + ss.str(""); + } + + if(m_aggregationPeriodHasBeenSet) + { + ss << AggregationPeriodMapper::GetNameForAggregationPeriod(m_aggregationPeriod); + uri.AddQueryStringParameter("AggregationPeriod", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("MaxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("NextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListRestoreJobSummariesResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListRestoreJobSummariesResult.cpp new file mode 100644 index 00000000000..26c1976ff7f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListRestoreJobSummariesResult.cpp @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListRestoreJobSummariesResult::ListRestoreJobSummariesResult() +{ +} + +ListRestoreJobSummariesResult::ListRestoreJobSummariesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListRestoreJobSummariesResult& ListRestoreJobSummariesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("RestoreJobSummaries")) + { + Aws::Utils::Array restoreJobSummariesJsonList = jsonValue.GetArray("RestoreJobSummaries"); + for(unsigned restoreJobSummariesIndex = 0; restoreJobSummariesIndex < restoreJobSummariesJsonList.GetLength(); ++restoreJobSummariesIndex) + { + m_restoreJobSummaries.push_back(restoreJobSummariesJsonList[restoreJobSummariesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("AggregationPeriod")) + { + m_aggregationPeriod = jsonValue.GetString("AggregationPeriod"); + + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + 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-backup/source/model/RestoreJobState.cpp b/generated/src/aws-cpp-sdk-backup/source/model/RestoreJobState.cpp new file mode 100644 index 00000000000..6aca24df3c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/RestoreJobState.cpp @@ -0,0 +1,114 @@ +/** + * 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 Backup + { + namespace Model + { + namespace RestoreJobStateMapper + { + + static const int CREATED_HASH = HashingUtils::HashString("CREATED"); + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int ABORTED_HASH = HashingUtils::HashString("ABORTED"); + static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int AGGREGATE_ALL_HASH = HashingUtils::HashString("AGGREGATE_ALL"); + static const int ANY_HASH = HashingUtils::HashString("ANY"); + + + RestoreJobState GetRestoreJobStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATED_HASH) + { + return RestoreJobState::CREATED; + } + else if (hashCode == PENDING_HASH) + { + return RestoreJobState::PENDING; + } + else if (hashCode == RUNNING_HASH) + { + return RestoreJobState::RUNNING; + } + else if (hashCode == ABORTED_HASH) + { + return RestoreJobState::ABORTED; + } + else if (hashCode == COMPLETED_HASH) + { + return RestoreJobState::COMPLETED; + } + else if (hashCode == FAILED_HASH) + { + return RestoreJobState::FAILED; + } + else if (hashCode == AGGREGATE_ALL_HASH) + { + return RestoreJobState::AGGREGATE_ALL; + } + else if (hashCode == ANY_HASH) + { + return RestoreJobState::ANY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return RestoreJobState::NOT_SET; + } + + Aws::String GetNameForRestoreJobState(RestoreJobState enumValue) + { + switch(enumValue) + { + case RestoreJobState::NOT_SET: + return {}; + case RestoreJobState::CREATED: + return "CREATED"; + case RestoreJobState::PENDING: + return "PENDING"; + case RestoreJobState::RUNNING: + return "RUNNING"; + case RestoreJobState::ABORTED: + return "ABORTED"; + case RestoreJobState::COMPLETED: + return "COMPLETED"; + case RestoreJobState::FAILED: + return "FAILED"; + case RestoreJobState::AGGREGATE_ALL: + return "AGGREGATE_ALL"; + case RestoreJobState::ANY: + return "ANY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace RestoreJobStateMapper + } // namespace Model + } // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/RestoreJobSummary.cpp b/generated/src/aws-cpp-sdk-backup/source/model/RestoreJobSummary.cpp new file mode 100644 index 00000000000..08248ad592f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/RestoreJobSummary.cpp @@ -0,0 +1,150 @@ +/** + * 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 Backup +{ +namespace Model +{ + +RestoreJobSummary::RestoreJobSummary() : + m_regionHasBeenSet(false), + m_accountIdHasBeenSet(false), + m_state(RestoreJobState::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) +{ +} + +RestoreJobSummary::RestoreJobSummary(JsonView jsonValue) : + m_regionHasBeenSet(false), + m_accountIdHasBeenSet(false), + m_state(RestoreJobState::NOT_SET), + m_stateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) +{ + *this = jsonValue; +} + +RestoreJobSummary& RestoreJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("AccountId")) + { + m_accountId = jsonValue.GetString("AccountId"); + + m_accountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("State")) + { + m_state = RestoreJobStateMapper::GetRestoreJobStateForName(jsonValue.GetString("State")); + + m_stateHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = jsonValue.GetString("ResourceType"); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Count")) + { + m_count = jsonValue.GetInteger("Count"); + + m_countHasBeenSet = true; + } + + if(jsonValue.ValueExists("StartTime")) + { + m_startTime = jsonValue.GetDouble("StartTime"); + + m_startTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndTime")) + { + m_endTime = jsonValue.GetDouble("EndTime"); + + m_endTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue RestoreJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_regionHasBeenSet) + { + payload.WithString("Region", m_region); + + } + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_stateHasBeenSet) + { + payload.WithString("State", RestoreJobStateMapper::GetNameForRestoreJobState(m_state)); + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", m_resourceType); + + } + + if(m_countHasBeenSet) + { + payload.WithInteger("Count", m_count); + + } + + if(m_startTimeHasBeenSet) + { + payload.WithDouble("StartTime", m_startTime.SecondsWithMSPrecision()); + } + + if(m_endTimeHasBeenSet) + { + payload.WithDouble("EndTime", m_endTime.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateCollaborationRequest.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateCollaborationRequest.h index 5a82a6d4b34..67fa6f48154 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateCollaborationRequest.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateCollaborationRequest.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -429,6 +430,55 @@ namespace Model */ inline CreateCollaborationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

The collaboration creator's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline const PaymentConfiguration& GetCreatorPaymentConfiguration() const{ return m_creatorPaymentConfiguration; } + + /** + *

The collaboration creator's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline bool CreatorPaymentConfigurationHasBeenSet() const { return m_creatorPaymentConfigurationHasBeenSet; } + + /** + *

The collaboration creator's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline void SetCreatorPaymentConfiguration(const PaymentConfiguration& value) { m_creatorPaymentConfigurationHasBeenSet = true; m_creatorPaymentConfiguration = value; } + + /** + *

The collaboration creator's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline void SetCreatorPaymentConfiguration(PaymentConfiguration&& value) { m_creatorPaymentConfigurationHasBeenSet = true; m_creatorPaymentConfiguration = std::move(value); } + + /** + *

The collaboration creator's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline CreateCollaborationRequest& WithCreatorPaymentConfiguration(const PaymentConfiguration& value) { SetCreatorPaymentConfiguration(value); return *this;} + + /** + *

The collaboration creator's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline CreateCollaborationRequest& WithCreatorPaymentConfiguration(PaymentConfiguration&& value) { SetCreatorPaymentConfiguration(std::move(value)); return *this;} + private: Aws::Vector m_members; @@ -454,6 +504,9 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + PaymentConfiguration m_creatorPaymentConfiguration; + bool m_creatorPaymentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateMembershipRequest.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateMembershipRequest.h index 2c487d7fd93..8a0f0bc507b 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateMembershipRequest.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/CreateMembershipRequest.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -78,37 +79,37 @@ namespace Model /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline const MembershipQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline void SetQueryLogStatus(const MembershipQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline void SetQueryLogStatus(MembershipQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline CreateMembershipRequest& WithQueryLogStatus(const MembershipQueryLogStatus& value) { SetQueryLogStatus(value); return *this;} /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline CreateMembershipRequest& WithQueryLogStatus(MembershipQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;} @@ -254,6 +255,55 @@ namespace Model */ inline CreateMembershipRequest& WithDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration&& value) { SetDefaultResultConfiguration(std::move(value)); return *this;} + + /** + *

The payment responsibilities accepted by the collaboration member.

Not + * required if the collaboration member has the member ability to run queries.

+ *

Required if the collaboration member doesn't have the member ability to run + * queries but is configured as a payer by the collaboration creator.

+ */ + inline const MembershipPaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; } + + /** + *

The payment responsibilities accepted by the collaboration member.

Not + * required if the collaboration member has the member ability to run queries.

+ *

Required if the collaboration member doesn't have the member ability to run + * queries but is configured as a payer by the collaboration creator.

+ */ + inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; } + + /** + *

The payment responsibilities accepted by the collaboration member.

Not + * required if the collaboration member has the member ability to run queries.

+ *

Required if the collaboration member doesn't have the member ability to run + * queries but is configured as a payer by the collaboration creator.

+ */ + inline void SetPaymentConfiguration(const MembershipPaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; } + + /** + *

The payment responsibilities accepted by the collaboration member.

Not + * required if the collaboration member has the member ability to run queries.

+ *

Required if the collaboration member doesn't have the member ability to run + * queries but is configured as a payer by the collaboration creator.

+ */ + inline void SetPaymentConfiguration(MembershipPaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); } + + /** + *

The payment responsibilities accepted by the collaboration member.

Not + * required if the collaboration member has the member ability to run queries.

+ *

Required if the collaboration member doesn't have the member ability to run + * queries but is configured as a payer by the collaboration creator.

+ */ + inline CreateMembershipRequest& WithPaymentConfiguration(const MembershipPaymentConfiguration& value) { SetPaymentConfiguration(value); return *this;} + + /** + *

The payment responsibilities accepted by the collaboration member.

Not + * required if the collaboration member has the member ability to run queries.

+ *

Required if the collaboration member doesn't have the member ability to run + * queries but is configured as a payer by the collaboration creator.

+ */ + inline CreateMembershipRequest& WithPaymentConfiguration(MembershipPaymentConfiguration&& value) { SetPaymentConfiguration(std::move(value)); return *this;} + private: Aws::String m_collaborationIdentifier; @@ -267,6 +317,9 @@ namespace Model MembershipProtectedQueryResultConfiguration m_defaultResultConfiguration; bool m_defaultResultConfigurationHasBeenSet = false; + + MembershipPaymentConfiguration m_paymentConfiguration; + bool m_paymentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/DataEncryptionMetadata.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/DataEncryptionMetadata.h index 2121d3b2d6b..0d59b115303 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/DataEncryptionMetadata.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/DataEncryptionMetadata.h @@ -37,105 +37,113 @@ namespace Model /** - *

Indicates whether encrypted tables can contain cleartext data (true) or are - * to cryptographically process every column (false).

+ *

Indicates whether encrypted tables can contain cleartext data + * (TRUE) or are to cryptographically process every column + * (FALSE).

*/ inline bool GetAllowCleartext() const{ return m_allowCleartext; } /** - *

Indicates whether encrypted tables can contain cleartext data (true) or are - * to cryptographically process every column (false).

+ *

Indicates whether encrypted tables can contain cleartext data + * (TRUE) or are to cryptographically process every column + * (FALSE).

*/ inline bool AllowCleartextHasBeenSet() const { return m_allowCleartextHasBeenSet; } /** - *

Indicates whether encrypted tables can contain cleartext data (true) or are - * to cryptographically process every column (false).

+ *

Indicates whether encrypted tables can contain cleartext data + * (TRUE) or are to cryptographically process every column + * (FALSE).

*/ inline void SetAllowCleartext(bool value) { m_allowCleartextHasBeenSet = true; m_allowCleartext = value; } /** - *

Indicates whether encrypted tables can contain cleartext data (true) or are - * to cryptographically process every column (false).

+ *

Indicates whether encrypted tables can contain cleartext data + * (TRUE) or are to cryptographically process every column + * (FALSE).

*/ inline DataEncryptionMetadata& WithAllowCleartext(bool value) { SetAllowCleartext(value); return *this;} /** - *

Indicates whether Fingerprint columns can contain duplicate entries (true) or - * are to contain only non-repeated values (false).

+ *

Indicates whether Fingerprint columns can contain duplicate entries + * (TRUE) or are to contain only non-repeated values + * (FALSE).

*/ inline bool GetAllowDuplicates() const{ return m_allowDuplicates; } /** - *

Indicates whether Fingerprint columns can contain duplicate entries (true) or - * are to contain only non-repeated values (false).

+ *

Indicates whether Fingerprint columns can contain duplicate entries + * (TRUE) or are to contain only non-repeated values + * (FALSE).

*/ inline bool AllowDuplicatesHasBeenSet() const { return m_allowDuplicatesHasBeenSet; } /** - *

Indicates whether Fingerprint columns can contain duplicate entries (true) or - * are to contain only non-repeated values (false).

+ *

Indicates whether Fingerprint columns can contain duplicate entries + * (TRUE) or are to contain only non-repeated values + * (FALSE).

*/ inline void SetAllowDuplicates(bool value) { m_allowDuplicatesHasBeenSet = true; m_allowDuplicates = value; } /** - *

Indicates whether Fingerprint columns can contain duplicate entries (true) or - * are to contain only non-repeated values (false).

+ *

Indicates whether Fingerprint columns can contain duplicate entries + * (TRUE) or are to contain only non-repeated values + * (FALSE).

*/ inline DataEncryptionMetadata& WithAllowDuplicates(bool value) { SetAllowDuplicates(value); return *this;} /** *

Indicates whether Fingerprint columns can be joined on any other Fingerprint - * column with a different name (true) or can only be joined on Fingerprint columns - * of the same name (false).

+ * column with a different name (TRUE) or can only be joined on + * Fingerprint columns of the same name (FALSE).

*/ inline bool GetAllowJoinsOnColumnsWithDifferentNames() const{ return m_allowJoinsOnColumnsWithDifferentNames; } /** *

Indicates whether Fingerprint columns can be joined on any other Fingerprint - * column with a different name (true) or can only be joined on Fingerprint columns - * of the same name (false).

+ * column with a different name (TRUE) or can only be joined on + * Fingerprint columns of the same name (FALSE).

*/ inline bool AllowJoinsOnColumnsWithDifferentNamesHasBeenSet() const { return m_allowJoinsOnColumnsWithDifferentNamesHasBeenSet; } /** *

Indicates whether Fingerprint columns can be joined on any other Fingerprint - * column with a different name (true) or can only be joined on Fingerprint columns - * of the same name (false).

+ * column with a different name (TRUE) or can only be joined on + * Fingerprint columns of the same name (FALSE).

*/ inline void SetAllowJoinsOnColumnsWithDifferentNames(bool value) { m_allowJoinsOnColumnsWithDifferentNamesHasBeenSet = true; m_allowJoinsOnColumnsWithDifferentNames = value; } /** *

Indicates whether Fingerprint columns can be joined on any other Fingerprint - * column with a different name (true) or can only be joined on Fingerprint columns - * of the same name (false).

+ * column with a different name (TRUE) or can only be joined on + * Fingerprint columns of the same name (FALSE).

*/ inline DataEncryptionMetadata& WithAllowJoinsOnColumnsWithDifferentNames(bool value) { SetAllowJoinsOnColumnsWithDifferentNames(value); return *this;} /** *

Indicates whether NULL values are to be copied as NULL to encrypted tables - * (true) or cryptographically processed (false).

+ * (TRUE) or cryptographically processed (FALSE).

*/ inline bool GetPreserveNulls() const{ return m_preserveNulls; } /** *

Indicates whether NULL values are to be copied as NULL to encrypted tables - * (true) or cryptographically processed (false).

+ * (TRUE) or cryptographically processed (FALSE).

*/ inline bool PreserveNullsHasBeenSet() const { return m_preserveNullsHasBeenSet; } /** *

Indicates whether NULL values are to be copied as NULL to encrypted tables - * (true) or cryptographically processed (false).

+ * (TRUE) or cryptographically processed (FALSE).

*/ inline void SetPreserveNulls(bool value) { m_preserveNullsHasBeenSet = true; m_preserveNulls = value; } /** *

Indicates whether NULL values are to be copied as NULL to encrypted tables - * (true) or cryptographically processed (false).

+ * (TRUE) or cryptographically processed (FALSE).

*/ inline DataEncryptionMetadata& WithPreserveNulls(bool value) { SetPreserveNulls(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSpecification.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSpecification.h index 6f334ca1257..52e57e57c84 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSpecification.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSpecification.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -169,6 +170,55 @@ namespace Model */ inline MemberSpecification& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline const PaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline void SetPaymentConfiguration(const PaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline void SetPaymentConfiguration(PaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline MemberSpecification& WithPaymentConfiguration(const PaymentConfiguration& value) { SetPaymentConfiguration(value); return *this;} + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

If the collaboration creator hasn't specified anyone as the + * member paying for query compute costs, then the member who can query is the + * default payer.

+ */ + inline MemberSpecification& WithPaymentConfiguration(PaymentConfiguration&& value) { SetPaymentConfiguration(std::move(value)); return *this;} + private: Aws::String m_accountId; @@ -179,6 +229,9 @@ namespace Model Aws::String m_displayName; bool m_displayNameHasBeenSet = false; + + PaymentConfiguration m_paymentConfiguration; + bool m_paymentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSummary.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSummary.h index e029984f093..75cbf9aaadf 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSummary.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MemberSummary.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -91,38 +92,32 @@ namespace Model /** - *

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and - * `REMOVED`.

+ *

The status of the member.

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

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and - * `REMOVED`.

+ *

The status of the member.

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

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and - * `REMOVED`.

+ *

The status of the member.

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

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and - * `REMOVED`.

+ *

The status of the member.

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

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and - * `REMOVED`.

+ *

The status of the member.

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

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and - * `REMOVED`.

+ *

The status of the member.

*/ inline MemberSummary& WithStatus(MemberStatus&& value) { SetStatus(std::move(value)); return *this;} @@ -352,6 +347,43 @@ namespace Model */ inline MemberSummary& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;} + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

+ */ + inline const PaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

+ */ + inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

+ */ + inline void SetPaymentConfiguration(const PaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

+ */ + inline void SetPaymentConfiguration(PaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

+ */ + inline MemberSummary& WithPaymentConfiguration(const PaymentConfiguration& value) { SetPaymentConfiguration(value); return *this;} + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator.

+ */ + inline MemberSummary& WithPaymentConfiguration(PaymentConfiguration&& value) { SetPaymentConfiguration(std::move(value)); return *this;} + private: Aws::String m_accountId; @@ -377,6 +409,9 @@ namespace Model Aws::String m_membershipArn; bool m_membershipArnHasBeenSet = false; + + PaymentConfiguration m_paymentConfiguration; + bool m_paymentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Membership.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Membership.h index c065b8de607..a8e1cd4cb8f 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Membership.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Membership.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -401,38 +402,32 @@ namespace Model /** - *

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

*/ inline Membership& WithStatus(MembershipStatus&& value) { SetStatus(std::move(value)); return *this;} @@ -480,37 +475,37 @@ namespace Model /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline const MembershipQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline void SetQueryLogStatus(const MembershipQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline void SetQueryLogStatus(MembershipQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline Membership& WithQueryLogStatus(const MembershipQueryLogStatus& value) { SetQueryLogStatus(value); return *this;} /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline Membership& WithQueryLogStatus(MembershipQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;} @@ -551,6 +546,37 @@ namespace Model */ inline Membership& WithDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration&& value) { SetDefaultResultConfiguration(std::move(value)); return *this;} + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline const MembershipPaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline void SetPaymentConfiguration(const MembershipPaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline void SetPaymentConfiguration(MembershipPaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline Membership& WithPaymentConfiguration(const MembershipPaymentConfiguration& value) { SetPaymentConfiguration(value); return *this;} + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline Membership& WithPaymentConfiguration(MembershipPaymentConfiguration&& value) { SetPaymentConfiguration(std::move(value)); return *this;} + private: Aws::String m_id; @@ -591,6 +617,9 @@ namespace Model MembershipProtectedQueryResultConfiguration m_defaultResultConfiguration; bool m_defaultResultConfigurationHasBeenSet = false; + + MembershipPaymentConfiguration m_paymentConfiguration; + bool m_paymentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipPaymentConfiguration.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipPaymentConfiguration.h new file mode 100644 index 00000000000..39194b6f086 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipPaymentConfiguration.h @@ -0,0 +1,85 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + + /** + *

An object representing the payment responsibilities accepted by the + * collaboration member.

See Also:

AWS + * API Reference

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

The payment responsibilities accepted by the collaboration member for query + * compute costs.

+ */ + inline const MembershipQueryComputePaymentConfig& GetQueryCompute() const{ return m_queryCompute; } + + /** + *

The payment responsibilities accepted by the collaboration member for query + * compute costs.

+ */ + inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; } + + /** + *

The payment responsibilities accepted by the collaboration member for query + * compute costs.

+ */ + inline void SetQueryCompute(const MembershipQueryComputePaymentConfig& value) { m_queryComputeHasBeenSet = true; m_queryCompute = value; } + + /** + *

The payment responsibilities accepted by the collaboration member for query + * compute costs.

+ */ + inline void SetQueryCompute(MembershipQueryComputePaymentConfig&& value) { m_queryComputeHasBeenSet = true; m_queryCompute = std::move(value); } + + /** + *

The payment responsibilities accepted by the collaboration member for query + * compute costs.

+ */ + inline MembershipPaymentConfiguration& WithQueryCompute(const MembershipQueryComputePaymentConfig& value) { SetQueryCompute(value); return *this;} + + /** + *

The payment responsibilities accepted by the collaboration member for query + * compute costs.

+ */ + inline MembershipPaymentConfiguration& WithQueryCompute(MembershipQueryComputePaymentConfig&& value) { SetQueryCompute(std::move(value)); return *this;} + + private: + + MembershipQueryComputePaymentConfig m_queryCompute; + bool m_queryComputeHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipQueryComputePaymentConfig.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipQueryComputePaymentConfig.h new file mode 100644 index 00000000000..fe52b35a677 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipQueryComputePaymentConfig.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace CleanRooms +{ +namespace Model +{ + + /** + *

An object representing the payment responsibilities accepted by the + * collaboration member for query compute costs.

See Also:

AWS + * API Reference

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

Indicates whether the collaboration member has accepted to pay for query + * compute costs (TRUE) or has not accepted to pay for query compute + * costs (FALSE).

If the collaboration creator has not + * specified anyone to pay for query compute costs, then the member who can query + * is the default payer.

An error message is returned for the following + * reasons:

  • If you set the value to FALSE but you + * are responsible to pay for query compute costs.

  • If you set + * the value to TRUE but you are not responsible to pay for query + * compute costs.

+ */ + inline bool GetIsResponsible() const{ return m_isResponsible; } + + /** + *

Indicates whether the collaboration member has accepted to pay for query + * compute costs (TRUE) or has not accepted to pay for query compute + * costs (FALSE).

If the collaboration creator has not + * specified anyone to pay for query compute costs, then the member who can query + * is the default payer.

An error message is returned for the following + * reasons:

  • If you set the value to FALSE but you + * are responsible to pay for query compute costs.

  • If you set + * the value to TRUE but you are not responsible to pay for query + * compute costs.

+ */ + inline bool IsResponsibleHasBeenSet() const { return m_isResponsibleHasBeenSet; } + + /** + *

Indicates whether the collaboration member has accepted to pay for query + * compute costs (TRUE) or has not accepted to pay for query compute + * costs (FALSE).

If the collaboration creator has not + * specified anyone to pay for query compute costs, then the member who can query + * is the default payer.

An error message is returned for the following + * reasons:

  • If you set the value to FALSE but you + * are responsible to pay for query compute costs.

  • If you set + * the value to TRUE but you are not responsible to pay for query + * compute costs.

+ */ + inline void SetIsResponsible(bool value) { m_isResponsibleHasBeenSet = true; m_isResponsible = value; } + + /** + *

Indicates whether the collaboration member has accepted to pay for query + * compute costs (TRUE) or has not accepted to pay for query compute + * costs (FALSE).

If the collaboration creator has not + * specified anyone to pay for query compute costs, then the member who can query + * is the default payer.

An error message is returned for the following + * reasons:

  • If you set the value to FALSE but you + * are responsible to pay for query compute costs.

  • If you set + * the value to TRUE but you are not responsible to pay for query + * compute costs.

+ */ + inline MembershipQueryComputePaymentConfig& WithIsResponsible(bool value) { SetIsResponsible(value); return *this;} + + private: + + bool m_isResponsible; + bool m_isResponsibleHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipSummary.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipSummary.h index a38b582c2fe..276b2b784de 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipSummary.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/MembershipSummary.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -399,38 +400,32 @@ namespace Model /** - *

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

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

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and - * `COLLABORATION_DELETED`.

+ *

The status of the membership.

*/ inline MembershipSummary& WithStatus(MembershipStatus&& value) { SetStatus(std::move(value)); return *this;} @@ -475,6 +470,37 @@ namespace Model */ inline MembershipSummary& AddMemberAbilities(MemberAbility&& value) { m_memberAbilitiesHasBeenSet = true; m_memberAbilities.push_back(std::move(value)); return *this; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline const MembershipPaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline void SetPaymentConfiguration(const MembershipPaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline void SetPaymentConfiguration(MembershipPaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); } + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline MembershipSummary& WithPaymentConfiguration(const MembershipPaymentConfiguration& value) { SetPaymentConfiguration(value); return *this;} + + /** + *

The payment responsibilities accepted by the collaboration member.

+ */ + inline MembershipSummary& WithPaymentConfiguration(MembershipPaymentConfiguration&& value) { SetPaymentConfiguration(std::move(value)); return *this;} + private: Aws::String m_id; @@ -509,6 +535,9 @@ namespace Model Aws::Vector m_memberAbilities; bool m_memberAbilitiesHasBeenSet = false; + + MembershipPaymentConfiguration m_paymentConfiguration; + bool m_paymentConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/PaymentConfiguration.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/PaymentConfiguration.h new file mode 100644 index 00000000000..6d63a3729e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/PaymentConfiguration.h @@ -0,0 +1,85 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + + /** + *

An object representing the collaboration member's payment responsibilities + * set by the collaboration creator.

See Also:

AWS + * API Reference

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

The collaboration member's payment responsibilities set by the collaboration + * creator for query compute costs.

+ */ + inline const QueryComputePaymentConfig& GetQueryCompute() const{ return m_queryCompute; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator for query compute costs.

+ */ + inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator for query compute costs.

+ */ + inline void SetQueryCompute(const QueryComputePaymentConfig& value) { m_queryComputeHasBeenSet = true; m_queryCompute = value; } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator for query compute costs.

+ */ + inline void SetQueryCompute(QueryComputePaymentConfig&& value) { m_queryComputeHasBeenSet = true; m_queryCompute = std::move(value); } + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator for query compute costs.

+ */ + inline PaymentConfiguration& WithQueryCompute(const QueryComputePaymentConfig& value) { SetQueryCompute(value); return *this;} + + /** + *

The collaboration member's payment responsibilities set by the collaboration + * creator for query compute costs.

+ */ + inline PaymentConfiguration& WithQueryCompute(QueryComputePaymentConfig&& value) { SetQueryCompute(std::move(value)); return *this;} + + private: + + QueryComputePaymentConfig m_queryCompute; + bool m_queryComputeHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/QueryComputePaymentConfig.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/QueryComputePaymentConfig.h new file mode 100644 index 00000000000..a4827a7b913 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/QueryComputePaymentConfig.h @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace CleanRooms +{ +namespace Model +{ + + /** + *

An object representing the collaboration member's payment responsibilities + * set by the collaboration creator for query compute costs.

See + * Also:

AWS + * API Reference

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

Indicates whether the collaboration creator has configured the collaboration + * member to pay for query compute costs (TRUE) or has not configured + * the collaboration member to pay for query compute costs + * (FALSE).

Exactly one member can be configured to pay for + * query compute costs. An error is returned if the collaboration creator sets a + * TRUE value for more than one member in the collaboration.

+ *

If the collaboration creator hasn't specified anyone as the member paying for + * query compute costs, then the member who can query is the default payer. An + * error is returned if the collaboration creator sets a FALSE value + * for the member who can query.

+ */ + inline bool GetIsResponsible() const{ return m_isResponsible; } + + /** + *

Indicates whether the collaboration creator has configured the collaboration + * member to pay for query compute costs (TRUE) or has not configured + * the collaboration member to pay for query compute costs + * (FALSE).

Exactly one member can be configured to pay for + * query compute costs. An error is returned if the collaboration creator sets a + * TRUE value for more than one member in the collaboration.

+ *

If the collaboration creator hasn't specified anyone as the member paying for + * query compute costs, then the member who can query is the default payer. An + * error is returned if the collaboration creator sets a FALSE value + * for the member who can query.

+ */ + inline bool IsResponsibleHasBeenSet() const { return m_isResponsibleHasBeenSet; } + + /** + *

Indicates whether the collaboration creator has configured the collaboration + * member to pay for query compute costs (TRUE) or has not configured + * the collaboration member to pay for query compute costs + * (FALSE).

Exactly one member can be configured to pay for + * query compute costs. An error is returned if the collaboration creator sets a + * TRUE value for more than one member in the collaboration.

+ *

If the collaboration creator hasn't specified anyone as the member paying for + * query compute costs, then the member who can query is the default payer. An + * error is returned if the collaboration creator sets a FALSE value + * for the member who can query.

+ */ + inline void SetIsResponsible(bool value) { m_isResponsibleHasBeenSet = true; m_isResponsible = value; } + + /** + *

Indicates whether the collaboration creator has configured the collaboration + * member to pay for query compute costs (TRUE) or has not configured + * the collaboration member to pay for query compute costs + * (FALSE).

Exactly one member can be configured to pay for + * query compute costs. An error is returned if the collaboration creator sets a + * TRUE value for more than one member in the collaboration.

+ *

If the collaboration creator hasn't specified anyone as the member paying for + * query compute costs, then the member who can query is the default payer. An + * error is returned if the collaboration creator sets a FALSE value + * for the member who can query.

+ */ + inline QueryComputePaymentConfig& WithIsResponsible(bool value) { SetIsResponsible(value); return *this;} + + private: + + bool m_isResponsible; + bool m_isResponsibleHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/UpdateMembershipRequest.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/UpdateMembershipRequest.h index 927564d0f7d..d8e31d517ef 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/UpdateMembershipRequest.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/UpdateMembershipRequest.h @@ -77,37 +77,37 @@ namespace Model /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline const MembershipQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline void SetQueryLogStatus(const MembershipQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline void SetQueryLogStatus(MembershipQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); } /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline UpdateMembershipRequest& WithQueryLogStatus(const MembershipQueryLogStatus& value) { SetQueryLogStatus(value); return *this;} /** *

An indicator as to whether query logging has been enabled or disabled for the - * collaboration.

+ * membership.

*/ inline UpdateMembershipRequest& WithQueryLogStatus(MembershipQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsEndpointRules.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsEndpointRules.cpp index 90799e4eef6..8ee8a56d8dc 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsEndpointRules.cpp @@ -51,120 +51,120 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', ',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', '{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', -'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', -'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', -' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', -'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', -',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l', +'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a', +'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r', +'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':', +'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a', +'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', +'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a', +'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', +',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','c','l','e','a','n','r','o','o','m','s','-','f','i','p','s','.', +'{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r', +'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}', +'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', +'r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r', +'e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i', +'t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e', +' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', +'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I', +'P','S','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g', +'e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P', +'a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t', +'s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"', +':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', +'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','e','a', +'n','r','o','o','m','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',', +'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u', +'t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t', +' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r', +'r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', +'U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r', 'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', 'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', ':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', 'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', -'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','e','a','n','r','o', -'o','m','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t', -'i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f', -'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', -'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', -'n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t', -'a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', -'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u', -'e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', -'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', -'p','s',':','/','/','c','l','e','a','n','r','o','o','m','s','-','f','i','p','s','.','{','R','e','g', -'i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s', -'S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',', -'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', -'p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b', -'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', -'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p', -'e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S', -'t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t', -'t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i', -'t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a', -'l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':', -'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i', -'n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','e','a','n', -'r','o','o','m','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x', -'}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', -'r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"', -'}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l', -'e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e', -'s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',', -'"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','c','l','e','a','n','r','o','o','m','s','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t', -'i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p', -'e','"',':','"','e','r','r','o','r','"','}',']','}',']','}','\0' +'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k', +'"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l', +'"',':','"','h','t','t','p','s',':','/','/','c','l','e','a','n','r','o','o','m','s','.','{','R','e', +'g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u', +'a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e', +'r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', +'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"', +':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', +'"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t', +' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ', +'s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"', +':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"', +':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', +'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','e','a', +'n','r','o','o','m','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d', +' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R', +'e','g','i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',']','}','\0' }}; const char* CleanRoomsEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateCollaborationRequest.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateCollaborationRequest.cpp index e9f1d89ce0e..1c29f7241cb 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateCollaborationRequest.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateCollaborationRequest.cpp @@ -21,7 +21,8 @@ CreateCollaborationRequest::CreateCollaborationRequest() : m_dataEncryptionMetadataHasBeenSet(false), m_queryLogStatus(CollaborationQueryLogStatus::NOT_SET), m_queryLogStatusHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_creatorPaymentConfigurationHasBeenSet(false) { } @@ -91,6 +92,12 @@ Aws::String CreateCollaborationRequest::SerializePayload() const } + if(m_creatorPaymentConfigurationHasBeenSet) + { + payload.WithObject("creatorPaymentConfiguration", m_creatorPaymentConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateMembershipRequest.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateMembershipRequest.cpp index 8ccc8778d93..5dee87fad90 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateMembershipRequest.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/CreateMembershipRequest.cpp @@ -17,7 +17,8 @@ CreateMembershipRequest::CreateMembershipRequest() : m_queryLogStatus(MembershipQueryLogStatus::NOT_SET), m_queryLogStatusHasBeenSet(false), m_tagsHasBeenSet(false), - m_defaultResultConfigurationHasBeenSet(false) + m_defaultResultConfigurationHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { } @@ -53,6 +54,12 @@ Aws::String CreateMembershipRequest::SerializePayload() const } + if(m_paymentConfigurationHasBeenSet) + { + payload.WithObject("paymentConfiguration", m_paymentConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSpecification.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSpecification.cpp index 09f488eddb9..7716f83d8c7 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSpecification.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSpecification.cpp @@ -21,14 +21,16 @@ namespace Model MemberSpecification::MemberSpecification() : m_accountIdHasBeenSet(false), m_memberAbilitiesHasBeenSet(false), - m_displayNameHasBeenSet(false) + m_displayNameHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { } MemberSpecification::MemberSpecification(JsonView jsonValue) : m_accountIdHasBeenSet(false), m_memberAbilitiesHasBeenSet(false), - m_displayNameHasBeenSet(false) + m_displayNameHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -59,6 +61,13 @@ MemberSpecification& MemberSpecification::operator =(JsonView jsonValue) m_displayNameHasBeenSet = true; } + if(jsonValue.ValueExists("paymentConfiguration")) + { + m_paymentConfiguration = jsonValue.GetObject("paymentConfiguration"); + + m_paymentConfigurationHasBeenSet = true; + } + return *this; } @@ -89,6 +98,12 @@ JsonValue MemberSpecification::Jsonize() const } + if(m_paymentConfigurationHasBeenSet) + { + payload.WithObject("paymentConfiguration", m_paymentConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSummary.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSummary.cpp index 8cd85a0979d..2085b1a8e14 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSummary.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MemberSummary.cpp @@ -27,7 +27,8 @@ MemberSummary::MemberSummary() : m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false), m_membershipIdHasBeenSet(false), - m_membershipArnHasBeenSet(false) + m_membershipArnHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { } @@ -40,7 +41,8 @@ MemberSummary::MemberSummary(JsonView jsonValue) : m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false), m_membershipIdHasBeenSet(false), - m_membershipArnHasBeenSet(false) + m_membershipArnHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -106,6 +108,13 @@ MemberSummary& MemberSummary::operator =(JsonView jsonValue) m_membershipArnHasBeenSet = true; } + if(jsonValue.ValueExists("paymentConfiguration")) + { + m_paymentConfiguration = jsonValue.GetObject("paymentConfiguration"); + + m_paymentConfigurationHasBeenSet = true; + } + return *this; } @@ -163,6 +172,12 @@ JsonValue MemberSummary::Jsonize() const } + if(m_paymentConfigurationHasBeenSet) + { + payload.WithObject("paymentConfiguration", m_paymentConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/Membership.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/Membership.cpp index 3bce37791d1..23f27c0fc29 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/Membership.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/Membership.cpp @@ -33,7 +33,8 @@ Membership::Membership() : m_memberAbilitiesHasBeenSet(false), m_queryLogStatus(MembershipQueryLogStatus::NOT_SET), m_queryLogStatusHasBeenSet(false), - m_defaultResultConfigurationHasBeenSet(false) + m_defaultResultConfigurationHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { } @@ -52,7 +53,8 @@ Membership::Membership(JsonView jsonValue) : m_memberAbilitiesHasBeenSet(false), m_queryLogStatus(MembershipQueryLogStatus::NOT_SET), m_queryLogStatusHasBeenSet(false), - m_defaultResultConfigurationHasBeenSet(false) + m_defaultResultConfigurationHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -153,6 +155,13 @@ Membership& Membership::operator =(JsonView jsonValue) m_defaultResultConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("paymentConfiguration")) + { + m_paymentConfiguration = jsonValue.GetObject("paymentConfiguration"); + + m_paymentConfigurationHasBeenSet = true; + } + return *this; } @@ -239,6 +248,12 @@ JsonValue Membership::Jsonize() const } + if(m_paymentConfigurationHasBeenSet) + { + payload.WithObject("paymentConfiguration", m_paymentConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipPaymentConfiguration.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipPaymentConfiguration.cpp new file mode 100644 index 00000000000..bb6cdf60e97 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipPaymentConfiguration.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + +MembershipPaymentConfiguration::MembershipPaymentConfiguration() : + m_queryComputeHasBeenSet(false) +{ +} + +MembershipPaymentConfiguration::MembershipPaymentConfiguration(JsonView jsonValue) : + m_queryComputeHasBeenSet(false) +{ + *this = jsonValue; +} + +MembershipPaymentConfiguration& MembershipPaymentConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("queryCompute")) + { + m_queryCompute = jsonValue.GetObject("queryCompute"); + + m_queryComputeHasBeenSet = true; + } + + return *this; +} + +JsonValue MembershipPaymentConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_queryComputeHasBeenSet) + { + payload.WithObject("queryCompute", m_queryCompute.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipQueryComputePaymentConfig.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipQueryComputePaymentConfig.cpp new file mode 100644 index 00000000000..6c8d5e74cde --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipQueryComputePaymentConfig.cpp @@ -0,0 +1,61 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + +MembershipQueryComputePaymentConfig::MembershipQueryComputePaymentConfig() : + m_isResponsible(false), + m_isResponsibleHasBeenSet(false) +{ +} + +MembershipQueryComputePaymentConfig::MembershipQueryComputePaymentConfig(JsonView jsonValue) : + m_isResponsible(false), + m_isResponsibleHasBeenSet(false) +{ + *this = jsonValue; +} + +MembershipQueryComputePaymentConfig& MembershipQueryComputePaymentConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("isResponsible")) + { + m_isResponsible = jsonValue.GetBool("isResponsible"); + + m_isResponsibleHasBeenSet = true; + } + + return *this; +} + +JsonValue MembershipQueryComputePaymentConfig::Jsonize() const +{ + JsonValue payload; + + if(m_isResponsibleHasBeenSet) + { + payload.WithBool("isResponsible", m_isResponsible); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipSummary.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipSummary.cpp index 9eec6492c7b..088c7b4ac8c 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipSummary.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/MembershipSummary.cpp @@ -30,7 +30,8 @@ MembershipSummary::MembershipSummary() : m_updateTimeHasBeenSet(false), m_status(MembershipStatus::NOT_SET), m_statusHasBeenSet(false), - m_memberAbilitiesHasBeenSet(false) + m_memberAbilitiesHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { } @@ -46,7 +47,8 @@ MembershipSummary::MembershipSummary(JsonView jsonValue) : m_updateTimeHasBeenSet(false), m_status(MembershipStatus::NOT_SET), m_statusHasBeenSet(false), - m_memberAbilitiesHasBeenSet(false) + m_memberAbilitiesHasBeenSet(false), + m_paymentConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -133,6 +135,13 @@ MembershipSummary& MembershipSummary::operator =(JsonView jsonValue) m_memberAbilitiesHasBeenSet = true; } + if(jsonValue.ValueExists("paymentConfiguration")) + { + m_paymentConfiguration = jsonValue.GetObject("paymentConfiguration"); + + m_paymentConfigurationHasBeenSet = true; + } + return *this; } @@ -208,6 +217,12 @@ JsonValue MembershipSummary::Jsonize() const } + if(m_paymentConfigurationHasBeenSet) + { + payload.WithObject("paymentConfiguration", m_paymentConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/PaymentConfiguration.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/PaymentConfiguration.cpp new file mode 100644 index 00000000000..02dfacc43e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/PaymentConfiguration.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + +PaymentConfiguration::PaymentConfiguration() : + m_queryComputeHasBeenSet(false) +{ +} + +PaymentConfiguration::PaymentConfiguration(JsonView jsonValue) : + m_queryComputeHasBeenSet(false) +{ + *this = jsonValue; +} + +PaymentConfiguration& PaymentConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("queryCompute")) + { + m_queryCompute = jsonValue.GetObject("queryCompute"); + + m_queryComputeHasBeenSet = true; + } + + return *this; +} + +JsonValue PaymentConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_queryComputeHasBeenSet) + { + payload.WithObject("queryCompute", m_queryCompute.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/QueryComputePaymentConfig.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/QueryComputePaymentConfig.cpp new file mode 100644 index 00000000000..2dd1bcacf87 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/QueryComputePaymentConfig.cpp @@ -0,0 +1,61 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + +QueryComputePaymentConfig::QueryComputePaymentConfig() : + m_isResponsible(false), + m_isResponsibleHasBeenSet(false) +{ +} + +QueryComputePaymentConfig::QueryComputePaymentConfig(JsonView jsonValue) : + m_isResponsible(false), + m_isResponsibleHasBeenSet(false) +{ + *this = jsonValue; +} + +QueryComputePaymentConfig& QueryComputePaymentConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("isResponsible")) + { + m_isResponsible = jsonValue.GetBool("isResponsible"); + + m_isResponsibleHasBeenSet = true; + } + + return *this; +} + +JsonValue QueryComputePaymentConfig::Jsonize() const +{ + JsonValue payload; + + if(m_isResponsibleHasBeenSet) + { + payload.WithBool("isResponsible", m_isResponsible); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h new file mode 100644 index 00000000000..89d86b4bf36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SegmentAttributeValue.h @@ -0,0 +1,90 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + *

A value for a segment attribute. This is structured as a map where the key is + * valueString and the value is a string.

See Also:

+ * AWS + * API Reference

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

The value of a segment attribute.

+ */ + inline const Aws::String& GetValueString() const{ return m_valueString; } + + /** + *

The value of a segment attribute.

+ */ + inline bool ValueStringHasBeenSet() const { return m_valueStringHasBeenSet; } + + /** + *

The value of a segment attribute.

+ */ + inline void SetValueString(const Aws::String& value) { m_valueStringHasBeenSet = true; m_valueString = value; } + + /** + *

The value of a segment attribute.

+ */ + inline void SetValueString(Aws::String&& value) { m_valueStringHasBeenSet = true; m_valueString = std::move(value); } + + /** + *

The value of a segment attribute.

+ */ + inline void SetValueString(const char* value) { m_valueStringHasBeenSet = true; m_valueString.assign(value); } + + /** + *

The value of a segment attribute.

+ */ + inline SegmentAttributeValue& WithValueString(const Aws::String& value) { SetValueString(value); return *this;} + + /** + *

The value of a segment attribute.

+ */ + inline SegmentAttributeValue& WithValueString(Aws::String&& value) { SetValueString(std::move(value)); return *this;} + + /** + *

The value of a segment attribute.

+ */ + inline SegmentAttributeValue& WithValueString(const char* value) { SetValueString(value); return *this;} + + private: + + Aws::String m_valueString; + bool m_valueStringHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h index 910c16ca375..e3d1b4d31d0 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StartChatContactRequest.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -752,6 +753,175 @@ namespace Model */ inline StartChatContactRequest& WithRelatedContactId(const char* value) { SetRelatedContactId(value); return *this;} + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline const Aws::Map& GetSegmentAttributes() const{ return m_segmentAttributes; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline void SetSegmentAttributes(const Aws::Map& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes = value; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline void SetSegmentAttributes(Aws::Map&& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes = std::move(value); } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& WithSegmentAttributes(const Aws::Map& value) { SetSegmentAttributes(value); return *this;} + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& WithSegmentAttributes(Aws::Map&& value) { SetSegmentAttributes(std::move(value)); return *this;} + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& AddSegmentAttributes(const Aws::String& key, const SegmentAttributeValue& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes.emplace(key, value); return *this; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& AddSegmentAttributes(Aws::String&& key, const SegmentAttributeValue& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes.emplace(std::move(key), value); return *this; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& AddSegmentAttributes(const Aws::String& key, SegmentAttributeValue&& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes.emplace(key, std::move(value)); return *this; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& AddSegmentAttributes(Aws::String&& key, SegmentAttributeValue&& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& AddSegmentAttributes(const char* key, SegmentAttributeValue&& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes.emplace(key, std::move(value)); return *this; } + + /** + *

A set of system defined key-value pairs stored on individual contact segments + * using an attribute map. The attributes are standard Amazon Connect attributes. + * They can be accessed in flows.

Attribute keys can include only + * alphanumeric, -, and _.

This field can be used to show channel subtype, + * such as connect:Guide.

The types + * application/vnd.amazonaws.connect.message.interactive and + * application/vnd.amazonaws.connect.message.interactive.response must + * be present in the SupportedMessagingContentTypes field of this API in order to + * set SegmentAttributes as { "connect:Subtype": {"valueString" + * : "connect:Guide" }}.

+ */ + inline StartChatContactRequest& AddSegmentAttributes(const char* key, const SegmentAttributeValue& value) { m_segmentAttributesHasBeenSet = true; m_segmentAttributes.emplace(key, value); return *this; } + private: Aws::String m_instanceId; @@ -783,6 +953,9 @@ namespace Model Aws::String m_relatedContactId; bool m_relatedContactIdHasBeenSet = false; + + Aws::Map m_segmentAttributes; + bool m_segmentAttributesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp new file mode 100644 index 00000000000..134dbaf22fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SegmentAttributeValue.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Connect +{ +namespace Model +{ + +SegmentAttributeValue::SegmentAttributeValue() : + m_valueStringHasBeenSet(false) +{ +} + +SegmentAttributeValue::SegmentAttributeValue(JsonView jsonValue) : + m_valueStringHasBeenSet(false) +{ + *this = jsonValue; +} + +SegmentAttributeValue& SegmentAttributeValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ValueString")) + { + m_valueString = jsonValue.GetString("ValueString"); + + m_valueStringHasBeenSet = true; + } + + return *this; +} + +JsonValue SegmentAttributeValue::Jsonize() const +{ + JsonValue payload; + + if(m_valueStringHasBeenSet) + { + payload.WithString("ValueString", m_valueString); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/StartChatContactRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/StartChatContactRequest.cpp index 227a099e532..38d77a131dc 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/StartChatContactRequest.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/StartChatContactRequest.cpp @@ -24,7 +24,8 @@ StartChatContactRequest::StartChatContactRequest() : m_chatDurationInMinutesHasBeenSet(false), m_supportedMessagingContentTypesHasBeenSet(false), m_persistentChatHasBeenSet(false), - m_relatedContactIdHasBeenSet(false) + m_relatedContactIdHasBeenSet(false), + m_segmentAttributesHasBeenSet(false) { } @@ -102,6 +103,17 @@ Aws::String StartChatContactRequest::SerializePayload() const } + if(m_segmentAttributesHasBeenSet) + { + JsonValue segmentAttributesJsonMap; + for(auto& segmentAttributesItem : m_segmentAttributes) + { + segmentAttributesJsonMap.WithObject(segmentAttributesItem.first, segmentAttributesItem.second.Jsonize()); + } + payload.WithObject("SegmentAttributes", std::move(segmentAttributesJsonMap)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h index 7570901bd22..cd1c7f19e4d 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h @@ -404,6 +404,32 @@ namespace Glue return SubmitAsync(&GlueClient::BatchGetPartition, request, handler, context); } + /** + *

Returns the configuration for the specified table optimizers.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::BatchGetTableOptimizerOutcome BatchGetTableOptimizer(const Model::BatchGetTableOptimizerRequest& request) const; + + /** + * A Callable wrapper for BatchGetTableOptimizer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::BatchGetTableOptimizerOutcomeCallable BatchGetTableOptimizerCallable(const BatchGetTableOptimizerRequestT& request) const + { + return SubmitCallable(&GlueClient::BatchGetTableOptimizer, request); + } + + /** + * An Async wrapper for BatchGetTableOptimizer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void BatchGetTableOptimizerAsync(const BatchGetTableOptimizerRequestT& request, const BatchGetTableOptimizerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::BatchGetTableOptimizer, request, handler, context); + } + /** *

Returns a list of resource metadata for a given list of trigger names. After * calling the ListTriggers operation, you can call this operation to @@ -1143,6 +1169,33 @@ namespace Glue return SubmitAsync(&GlueClient::CreateTable, request, handler, context); } + /** + *

Creates a new table optimizer for a specific function. + * compaction is the only currently supported optimizer + * type.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateTableOptimizerOutcome CreateTableOptimizer(const Model::CreateTableOptimizerRequest& request) const; + + /** + * A Callable wrapper for CreateTableOptimizer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateTableOptimizerOutcomeCallable CreateTableOptimizerCallable(const CreateTableOptimizerRequestT& request) const + { + return SubmitCallable(&GlueClient::CreateTableOptimizer, request); + } + + /** + * An Async wrapper for CreateTableOptimizer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateTableOptimizerAsync(const CreateTableOptimizerRequestT& request, const CreateTableOptimizerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::CreateTableOptimizer, request, handler, context); + } + /** *

Creates a new trigger.

See Also:

AWS @@ -1800,6 +1853,33 @@ namespace Glue return SubmitAsync(&GlueClient::DeleteTable, request, handler, context); } + /** + *

Deletes an optimizer and all associated metadata for a table. The + * optimization will no longer be performed on the table.

See Also:

+ *
AWS + * API Reference

+ */ + virtual Model::DeleteTableOptimizerOutcome DeleteTableOptimizer(const Model::DeleteTableOptimizerRequest& request) const; + + /** + * A Callable wrapper for DeleteTableOptimizer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteTableOptimizerOutcomeCallable DeleteTableOptimizerCallable(const DeleteTableOptimizerRequestT& request) const + { + return SubmitCallable(&GlueClient::DeleteTableOptimizer, request); + } + + /** + * An Async wrapper for DeleteTableOptimizer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteTableOptimizerAsync(const DeleteTableOptimizerRequestT& request, const DeleteTableOptimizerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::DeleteTableOptimizer, request, handler, context); + } + /** *

Deletes a specified version of a table.

See Also:

AWS @@ -3225,6 +3305,32 @@ namespace Glue return SubmitAsync(&GlueClient::GetTable, request, handler, context); } + /** + *

Returns the configuration of all optimizers associated with a specified + * table.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetTableOptimizerOutcome GetTableOptimizer(const Model::GetTableOptimizerRequest& request) const; + + /** + * A Callable wrapper for GetTableOptimizer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableOptimizerOutcomeCallable GetTableOptimizerCallable(const GetTableOptimizerRequestT& request) const + { + return SubmitCallable(&GlueClient::GetTableOptimizer, request); + } + + /** + * An Async wrapper for GetTableOptimizer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableOptimizerAsync(const GetTableOptimizerRequestT& request, const GetTableOptimizerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::GetTableOptimizer, request, handler, context); + } + /** *

Retrieves a specified version of a table.

See Also:

AWS @@ -4085,6 +4191,32 @@ namespace Glue return SubmitAsync(&GlueClient::ListStatements, request, handler, context); } + /** + *

Lists the history of previous optimizer runs for a specific + * table.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListTableOptimizerRunsOutcome ListTableOptimizerRuns(const Model::ListTableOptimizerRunsRequest& request) const; + + /** + * A Callable wrapper for ListTableOptimizerRuns that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTableOptimizerRunsOutcomeCallable ListTableOptimizerRunsCallable(const ListTableOptimizerRunsRequestT& request) const + { + return SubmitCallable(&GlueClient::ListTableOptimizerRuns, request); + } + + /** + * An Async wrapper for ListTableOptimizerRuns that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTableOptimizerRunsAsync(const ListTableOptimizerRunsRequestT& request, const ListTableOptimizerRunsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::ListTableOptimizerRuns, request, handler, context); + } + /** *

Retrieves the names of all trigger resources in this Amazon Web Services * account, or the resources with the specified tag. This operation allows you to @@ -4539,7 +4671,8 @@ namespace Glue *

Starts a recommendation run that is used to generate rules when you don't * know what rules to write. Glue Data Quality analyzes the data and comes up with * recommendations for a potential ruleset. You can then triage the ruleset and - * modify the generated ruleset to your liking.

See Also:

Recommendation runs are + * automatically deleted after 90 days.

See Also:

AWS * API Reference

*/ @@ -5487,6 +5620,32 @@ namespace Glue return SubmitAsync(&GlueClient::UpdateTable, request, handler, context); } + /** + *

Updates the configuration for an existing table optimizer.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::UpdateTableOptimizerOutcome UpdateTableOptimizer(const Model::UpdateTableOptimizerRequest& request) const; + + /** + * A Callable wrapper for UpdateTableOptimizer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateTableOptimizerOutcomeCallable UpdateTableOptimizerCallable(const UpdateTableOptimizerRequestT& request) const + { + return SubmitCallable(&GlueClient::UpdateTableOptimizer, request); + } + + /** + * An Async wrapper for UpdateTableOptimizer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateTableOptimizerAsync(const UpdateTableOptimizerRequestT& request, const UpdateTableOptimizerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::UpdateTableOptimizer, request, handler, context); + } + /** *

Updates a trigger definition.

See Also:

AWS diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueServiceClientModel.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueServiceClientModel.h index 74e01fd5447..1dba3fe7a06 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueServiceClientModel.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -57,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -81,6 +83,7 @@ #include #include #include +#include #include #include #include @@ -135,6 +138,7 @@ #include #include #include +#include #include #include #include @@ -167,6 +171,7 @@ #include #include #include +#include #include #include #include @@ -217,6 +222,7 @@ #include #include #include +#include #include #include #include @@ -272,6 +278,7 @@ namespace Aws class BatchGetDevEndpointsRequest; class BatchGetJobsRequest; class BatchGetPartitionRequest; + class BatchGetTableOptimizerRequest; class BatchGetTriggersRequest; class BatchGetWorkflowsRequest; class BatchStopJobRunRequest; @@ -299,6 +306,7 @@ namespace Aws class CreateSecurityConfigurationRequest; class CreateSessionRequest; class CreateTableRequest; + class CreateTableOptimizerRequest; class CreateTriggerRequest; class CreateUserDefinedFunctionRequest; class CreateWorkflowRequest; @@ -323,6 +331,7 @@ namespace Aws class DeleteSecurityConfigurationRequest; class DeleteSessionRequest; class DeleteTableRequest; + class DeleteTableOptimizerRequest; class DeleteTableVersionRequest; class DeleteTriggerRequest; class DeleteUserDefinedFunctionRequest; @@ -377,6 +386,7 @@ namespace Aws class GetSessionRequest; class GetStatementRequest; class GetTableRequest; + class GetTableOptimizerRequest; class GetTableVersionRequest; class GetTableVersionsRequest; class GetTablesRequest; @@ -409,6 +419,7 @@ namespace Aws class ListSchemasRequest; class ListSessionsRequest; class ListStatementsRequest; + class ListTableOptimizerRunsRequest; class ListTriggersRequest; class ListWorkflowsRequest; class PutDataCatalogEncryptionSettingsRequest; @@ -459,6 +470,7 @@ namespace Aws class UpdateSchemaRequest; class UpdateSourceControlFromJobRequest; class UpdateTableRequest; + class UpdateTableOptimizerRequest; class UpdateTriggerRequest; class UpdateUserDefinedFunctionRequest; class UpdateWorkflowRequest; @@ -477,6 +489,7 @@ namespace Aws typedef Aws::Utils::Outcome BatchGetDevEndpointsOutcome; typedef Aws::Utils::Outcome BatchGetJobsOutcome; typedef Aws::Utils::Outcome BatchGetPartitionOutcome; + typedef Aws::Utils::Outcome BatchGetTableOptimizerOutcome; typedef Aws::Utils::Outcome BatchGetTriggersOutcome; typedef Aws::Utils::Outcome BatchGetWorkflowsOutcome; typedef Aws::Utils::Outcome BatchStopJobRunOutcome; @@ -504,6 +517,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateSecurityConfigurationOutcome; typedef Aws::Utils::Outcome CreateSessionOutcome; typedef Aws::Utils::Outcome CreateTableOutcome; + typedef Aws::Utils::Outcome CreateTableOptimizerOutcome; typedef Aws::Utils::Outcome CreateTriggerOutcome; typedef Aws::Utils::Outcome CreateUserDefinedFunctionOutcome; typedef Aws::Utils::Outcome CreateWorkflowOutcome; @@ -528,6 +542,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteSecurityConfigurationOutcome; typedef Aws::Utils::Outcome DeleteSessionOutcome; typedef Aws::Utils::Outcome DeleteTableOutcome; + typedef Aws::Utils::Outcome DeleteTableOptimizerOutcome; typedef Aws::Utils::Outcome DeleteTableVersionOutcome; typedef Aws::Utils::Outcome DeleteTriggerOutcome; typedef Aws::Utils::Outcome DeleteUserDefinedFunctionOutcome; @@ -582,6 +597,7 @@ namespace Aws typedef Aws::Utils::Outcome GetSessionOutcome; typedef Aws::Utils::Outcome GetStatementOutcome; typedef Aws::Utils::Outcome GetTableOutcome; + typedef Aws::Utils::Outcome GetTableOptimizerOutcome; typedef Aws::Utils::Outcome GetTableVersionOutcome; typedef Aws::Utils::Outcome GetTableVersionsOutcome; typedef Aws::Utils::Outcome GetTablesOutcome; @@ -614,6 +630,7 @@ namespace Aws typedef Aws::Utils::Outcome ListSchemasOutcome; typedef Aws::Utils::Outcome ListSessionsOutcome; typedef Aws::Utils::Outcome ListStatementsOutcome; + typedef Aws::Utils::Outcome ListTableOptimizerRunsOutcome; typedef Aws::Utils::Outcome ListTriggersOutcome; typedef Aws::Utils::Outcome ListWorkflowsOutcome; typedef Aws::Utils::Outcome PutDataCatalogEncryptionSettingsOutcome; @@ -664,6 +681,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateSchemaOutcome; typedef Aws::Utils::Outcome UpdateSourceControlFromJobOutcome; typedef Aws::Utils::Outcome UpdateTableOutcome; + typedef Aws::Utils::Outcome UpdateTableOptimizerOutcome; typedef Aws::Utils::Outcome UpdateTriggerOutcome; typedef Aws::Utils::Outcome UpdateUserDefinedFunctionOutcome; typedef Aws::Utils::Outcome UpdateWorkflowOutcome; @@ -682,6 +700,7 @@ namespace Aws typedef std::future BatchGetDevEndpointsOutcomeCallable; typedef std::future BatchGetJobsOutcomeCallable; typedef std::future BatchGetPartitionOutcomeCallable; + typedef std::future BatchGetTableOptimizerOutcomeCallable; typedef std::future BatchGetTriggersOutcomeCallable; typedef std::future BatchGetWorkflowsOutcomeCallable; typedef std::future BatchStopJobRunOutcomeCallable; @@ -709,6 +728,7 @@ namespace Aws typedef std::future CreateSecurityConfigurationOutcomeCallable; typedef std::future CreateSessionOutcomeCallable; typedef std::future CreateTableOutcomeCallable; + typedef std::future CreateTableOptimizerOutcomeCallable; typedef std::future CreateTriggerOutcomeCallable; typedef std::future CreateUserDefinedFunctionOutcomeCallable; typedef std::future CreateWorkflowOutcomeCallable; @@ -733,6 +753,7 @@ namespace Aws typedef std::future DeleteSecurityConfigurationOutcomeCallable; typedef std::future DeleteSessionOutcomeCallable; typedef std::future DeleteTableOutcomeCallable; + typedef std::future DeleteTableOptimizerOutcomeCallable; typedef std::future DeleteTableVersionOutcomeCallable; typedef std::future DeleteTriggerOutcomeCallable; typedef std::future DeleteUserDefinedFunctionOutcomeCallable; @@ -787,6 +808,7 @@ namespace Aws typedef std::future GetSessionOutcomeCallable; typedef std::future GetStatementOutcomeCallable; typedef std::future GetTableOutcomeCallable; + typedef std::future GetTableOptimizerOutcomeCallable; typedef std::future GetTableVersionOutcomeCallable; typedef std::future GetTableVersionsOutcomeCallable; typedef std::future GetTablesOutcomeCallable; @@ -819,6 +841,7 @@ namespace Aws typedef std::future ListSchemasOutcomeCallable; typedef std::future ListSessionsOutcomeCallable; typedef std::future ListStatementsOutcomeCallable; + typedef std::future ListTableOptimizerRunsOutcomeCallable; typedef std::future ListTriggersOutcomeCallable; typedef std::future ListWorkflowsOutcomeCallable; typedef std::future PutDataCatalogEncryptionSettingsOutcomeCallable; @@ -869,6 +892,7 @@ namespace Aws typedef std::future UpdateSchemaOutcomeCallable; typedef std::future UpdateSourceControlFromJobOutcomeCallable; typedef std::future UpdateTableOutcomeCallable; + typedef std::future UpdateTableOptimizerOutcomeCallable; typedef std::future UpdateTriggerOutcomeCallable; typedef std::future UpdateUserDefinedFunctionOutcomeCallable; typedef std::future UpdateWorkflowOutcomeCallable; @@ -890,6 +914,7 @@ namespace Aws typedef std::function&) > BatchGetDevEndpointsResponseReceivedHandler; typedef std::function&) > BatchGetJobsResponseReceivedHandler; typedef std::function&) > BatchGetPartitionResponseReceivedHandler; + typedef std::function&) > BatchGetTableOptimizerResponseReceivedHandler; typedef std::function&) > BatchGetTriggersResponseReceivedHandler; typedef std::function&) > BatchGetWorkflowsResponseReceivedHandler; typedef std::function&) > BatchStopJobRunResponseReceivedHandler; @@ -917,6 +942,7 @@ namespace Aws typedef std::function&) > CreateSecurityConfigurationResponseReceivedHandler; typedef std::function&) > CreateSessionResponseReceivedHandler; typedef std::function&) > CreateTableResponseReceivedHandler; + typedef std::function&) > CreateTableOptimizerResponseReceivedHandler; typedef std::function&) > CreateTriggerResponseReceivedHandler; typedef std::function&) > CreateUserDefinedFunctionResponseReceivedHandler; typedef std::function&) > CreateWorkflowResponseReceivedHandler; @@ -941,6 +967,7 @@ namespace Aws typedef std::function&) > DeleteSecurityConfigurationResponseReceivedHandler; typedef std::function&) > DeleteSessionResponseReceivedHandler; typedef std::function&) > DeleteTableResponseReceivedHandler; + typedef std::function&) > DeleteTableOptimizerResponseReceivedHandler; typedef std::function&) > DeleteTableVersionResponseReceivedHandler; typedef std::function&) > DeleteTriggerResponseReceivedHandler; typedef std::function&) > DeleteUserDefinedFunctionResponseReceivedHandler; @@ -995,6 +1022,7 @@ namespace Aws typedef std::function&) > GetSessionResponseReceivedHandler; typedef std::function&) > GetStatementResponseReceivedHandler; typedef std::function&) > GetTableResponseReceivedHandler; + typedef std::function&) > GetTableOptimizerResponseReceivedHandler; typedef std::function&) > GetTableVersionResponseReceivedHandler; typedef std::function&) > GetTableVersionsResponseReceivedHandler; typedef std::function&) > GetTablesResponseReceivedHandler; @@ -1027,6 +1055,7 @@ namespace Aws typedef std::function&) > ListSchemasResponseReceivedHandler; typedef std::function&) > ListSessionsResponseReceivedHandler; typedef std::function&) > ListStatementsResponseReceivedHandler; + typedef std::function&) > ListTableOptimizerRunsResponseReceivedHandler; typedef std::function&) > ListTriggersResponseReceivedHandler; typedef std::function&) > ListWorkflowsResponseReceivedHandler; typedef std::function&) > PutDataCatalogEncryptionSettingsResponseReceivedHandler; @@ -1077,6 +1106,7 @@ namespace Aws typedef std::function&) > UpdateSchemaResponseReceivedHandler; typedef std::function&) > UpdateSourceControlFromJobResponseReceivedHandler; typedef std::function&) > UpdateTableResponseReceivedHandler; + typedef std::function&) > UpdateTableOptimizerResponseReceivedHandler; typedef std::function&) > UpdateTriggerResponseReceivedHandler; typedef std::function&) > UpdateUserDefinedFunctionResponseReceivedHandler; typedef std::function&) > UpdateWorkflowResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerEntry.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerEntry.h new file mode 100644 index 00000000000..209008070f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerEntry.h @@ -0,0 +1,212 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

Represents a table optimizer to retrieve in the + * BatchGetTableOptimizer operation.

See Also:

AWS + * API Reference

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

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline BatchGetTableOptimizerEntry& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline BatchGetTableOptimizerEntry& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline BatchGetTableOptimizerEntry& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchGetTableOptimizerEntry& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchGetTableOptimizerEntry& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchGetTableOptimizerEntry& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline BatchGetTableOptimizerEntry& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

+ */ + inline BatchGetTableOptimizerEntry& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer.

+ */ + inline BatchGetTableOptimizerEntry& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerError.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerError.h new file mode 100644 index 00000000000..635f005d57c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerError.h @@ -0,0 +1,253 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

Contains details on one of the errors in the error list returned by the + * BatchGetTableOptimizer operation.

See Also:

AWS + * API Reference

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

An ErrorDetail object containing code and message details about + * the error.

+ */ + inline const ErrorDetail& GetError() const{ return m_error; } + + /** + *

An ErrorDetail object containing code and message details about + * the error.

+ */ + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + + /** + *

An ErrorDetail object containing code and message details about + * the error.

+ */ + inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; } + + /** + *

An ErrorDetail object containing code and message details about + * the error.

+ */ + inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + + /** + *

An ErrorDetail object containing code and message details about + * the error.

+ */ + inline BatchGetTableOptimizerError& WithError(const ErrorDetail& value) { SetError(value); return *this;} + + /** + *

An ErrorDetail object containing code and message details about + * the error.

+ */ + inline BatchGetTableOptimizerError& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;} + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline BatchGetTableOptimizerError& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline BatchGetTableOptimizerError& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline BatchGetTableOptimizerError& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchGetTableOptimizerError& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchGetTableOptimizerError& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchGetTableOptimizerError& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline BatchGetTableOptimizerError& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

+ */ + inline BatchGetTableOptimizerError& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer.

+ */ + inline BatchGetTableOptimizerError& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + private: + + ErrorDetail m_error; + bool m_errorHasBeenSet = false; + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerRequest.h new file mode 100644 index 00000000000..8350d9134b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerRequest.h @@ -0,0 +1,94 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class BatchGetTableOptimizerRequest : public GlueRequest + { + public: + AWS_GLUE_API BatchGetTableOptimizerRequest(); + + // 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 "BatchGetTableOptimizer"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline const Aws::Vector& GetEntries() const{ return m_entries; } + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline void SetEntries(const Aws::Vector& value) { m_entriesHasBeenSet = true; m_entries = value; } + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline void SetEntries(Aws::Vector&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); } + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline BatchGetTableOptimizerRequest& WithEntries(const Aws::Vector& value) { SetEntries(value); return *this;} + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline BatchGetTableOptimizerRequest& WithEntries(Aws::Vector&& value) { SetEntries(std::move(value)); return *this;} + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline BatchGetTableOptimizerRequest& AddEntries(const BatchGetTableOptimizerEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } + + /** + *

A list of BatchGetTableOptimizerEntry objects specifying the + * table optimizers to retrieve.

+ */ + inline BatchGetTableOptimizerRequest& AddEntries(BatchGetTableOptimizerEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_entries; + bool m_entriesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerResult.h new file mode 100644 index 00000000000..79092879610 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchGetTableOptimizerResult.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class BatchGetTableOptimizerResult + { + public: + AWS_GLUE_API BatchGetTableOptimizerResult(); + AWS_GLUE_API BatchGetTableOptimizerResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API BatchGetTableOptimizerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline const Aws::Vector& GetTableOptimizers() const{ return m_tableOptimizers; } + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline void SetTableOptimizers(const Aws::Vector& value) { m_tableOptimizers = value; } + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline void SetTableOptimizers(Aws::Vector&& value) { m_tableOptimizers = std::move(value); } + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline BatchGetTableOptimizerResult& WithTableOptimizers(const Aws::Vector& value) { SetTableOptimizers(value); return *this;} + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline BatchGetTableOptimizerResult& WithTableOptimizers(Aws::Vector&& value) { SetTableOptimizers(std::move(value)); return *this;} + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline BatchGetTableOptimizerResult& AddTableOptimizers(const BatchTableOptimizer& value) { m_tableOptimizers.push_back(value); return *this; } + + /** + *

A list of BatchTableOptimizer objects.

+ */ + inline BatchGetTableOptimizerResult& AddTableOptimizers(BatchTableOptimizer&& value) { m_tableOptimizers.push_back(std::move(value)); return *this; } + + + /** + *

A list of errors from the operation.

+ */ + inline const Aws::Vector& GetFailures() const{ return m_failures; } + + /** + *

A list of errors from the operation.

+ */ + inline void SetFailures(const Aws::Vector& value) { m_failures = value; } + + /** + *

A list of errors from the operation.

+ */ + inline void SetFailures(Aws::Vector&& value) { m_failures = std::move(value); } + + /** + *

A list of errors from the operation.

+ */ + inline BatchGetTableOptimizerResult& WithFailures(const Aws::Vector& value) { SetFailures(value); return *this;} + + /** + *

A list of errors from the operation.

+ */ + inline BatchGetTableOptimizerResult& WithFailures(Aws::Vector&& value) { SetFailures(std::move(value)); return *this;} + + /** + *

A list of errors from the operation.

+ */ + inline BatchGetTableOptimizerResult& AddFailures(const BatchGetTableOptimizerError& value) { m_failures.push_back(value); return *this; } + + /** + *

A list of errors from the operation.

+ */ + inline BatchGetTableOptimizerResult& AddFailures(BatchGetTableOptimizerError&& value) { m_failures.push_back(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 BatchGetTableOptimizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline BatchGetTableOptimizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline BatchGetTableOptimizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_tableOptimizers; + + Aws::Vector m_failures; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchTableOptimizer.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchTableOptimizer.h new file mode 100644 index 00000000000..8e135887cd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BatchTableOptimizer.h @@ -0,0 +1,218 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

Contains details for one of the table optimizers returned by the + * BatchGetTableOptimizer operation.

See Also:

AWS + * API Reference

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

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline BatchTableOptimizer& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline BatchTableOptimizer& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline BatchTableOptimizer& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchTableOptimizer& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchTableOptimizer& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline BatchTableOptimizer& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline BatchTableOptimizer& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

A TableOptimizer object that contains details on the + * configuration and last run of a table optimzer.

+ */ + inline const TableOptimizer& GetTableOptimizer() const{ return m_tableOptimizer; } + + /** + *

A TableOptimizer object that contains details on the + * configuration and last run of a table optimzer.

+ */ + inline bool TableOptimizerHasBeenSet() const { return m_tableOptimizerHasBeenSet; } + + /** + *

A TableOptimizer object that contains details on the + * configuration and last run of a table optimzer.

+ */ + inline void SetTableOptimizer(const TableOptimizer& value) { m_tableOptimizerHasBeenSet = true; m_tableOptimizer = value; } + + /** + *

A TableOptimizer object that contains details on the + * configuration and last run of a table optimzer.

+ */ + inline void SetTableOptimizer(TableOptimizer&& value) { m_tableOptimizerHasBeenSet = true; m_tableOptimizer = std::move(value); } + + /** + *

A TableOptimizer object that contains details on the + * configuration and last run of a table optimzer.

+ */ + inline BatchTableOptimizer& WithTableOptimizer(const TableOptimizer& value) { SetTableOptimizer(value); return *this;} + + /** + *

A TableOptimizer object that contains details on the + * configuration and last run of a table optimzer.

+ */ + inline BatchTableOptimizer& WithTableOptimizer(TableOptimizer&& value) { SetTableOptimizer(std::move(value)); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizer m_tableOptimizer; + bool m_tableOptimizerHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateTableOptimizerRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateTableOptimizerRequest.h new file mode 100644 index 00000000000..26ea41a7f89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateTableOptimizerRequest.h @@ -0,0 +1,255 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class CreateTableOptimizerRequest : public GlueRequest + { + public: + AWS_GLUE_API CreateTableOptimizerRequest(); + + // 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 "CreateTableOptimizer"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline CreateTableOptimizerRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline CreateTableOptimizerRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline CreateTableOptimizerRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline CreateTableOptimizerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline CreateTableOptimizerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline CreateTableOptimizerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline CreateTableOptimizerRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline CreateTableOptimizerRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline CreateTableOptimizerRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline const TableOptimizerConfiguration& GetTableOptimizerConfiguration() const{ return m_tableOptimizerConfiguration; } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline bool TableOptimizerConfigurationHasBeenSet() const { return m_tableOptimizerConfigurationHasBeenSet; } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline void SetTableOptimizerConfiguration(const TableOptimizerConfiguration& value) { m_tableOptimizerConfigurationHasBeenSet = true; m_tableOptimizerConfiguration = value; } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline void SetTableOptimizerConfiguration(TableOptimizerConfiguration&& value) { m_tableOptimizerConfigurationHasBeenSet = true; m_tableOptimizerConfiguration = std::move(value); } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline CreateTableOptimizerRequest& WithTableOptimizerConfiguration(const TableOptimizerConfiguration& value) { SetTableOptimizerConfiguration(value); return *this;} + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline CreateTableOptimizerRequest& WithTableOptimizerConfiguration(TableOptimizerConfiguration&& value) { SetTableOptimizerConfiguration(std::move(value)); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + + TableOptimizerConfiguration m_tableOptimizerConfiguration; + bool m_tableOptimizerConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateTableOptimizerResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateTableOptimizerResult.h new file mode 100644 index 00000000000..3a2c1fd4067 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateTableOptimizerResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class CreateTableOptimizerResult + { + public: + AWS_GLUE_API CreateTableOptimizerResult(); + AWS_GLUE_API CreateTableOptimizerResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API CreateTableOptimizerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateTableOptimizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateTableOptimizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateTableOptimizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteTableOptimizerRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteTableOptimizerRequest.h new file mode 100644 index 00000000000..0b642f74aad --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteTableOptimizerRequest.h @@ -0,0 +1,208 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DeleteTableOptimizerRequest : public GlueRequest + { + public: + AWS_GLUE_API DeleteTableOptimizerRequest(); + + // 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 "DeleteTableOptimizer"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline DeleteTableOptimizerRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline DeleteTableOptimizerRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline DeleteTableOptimizerRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline DeleteTableOptimizerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline DeleteTableOptimizerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline DeleteTableOptimizerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline DeleteTableOptimizerRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

+ */ + inline DeleteTableOptimizerRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer.

+ */ + inline DeleteTableOptimizerRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteTableOptimizerResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteTableOptimizerResult.h new file mode 100644 index 00000000000..eb9d6d18aaa --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteTableOptimizerResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class DeleteTableOptimizerResult + { + public: + AWS_GLUE_API DeleteTableOptimizerResult(); + AWS_GLUE_API DeleteTableOptimizerResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DeleteTableOptimizerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteTableOptimizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteTableOptimizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteTableOptimizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetTableOptimizerRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetTableOptimizerRequest.h new file mode 100644 index 00000000000..5c99f8b3ab0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetTableOptimizerRequest.h @@ -0,0 +1,208 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class GetTableOptimizerRequest : public GlueRequest + { + public: + AWS_GLUE_API GetTableOptimizerRequest(); + + // 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 "GetTableOptimizer"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline GetTableOptimizerRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline GetTableOptimizerRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline GetTableOptimizerRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline GetTableOptimizerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline GetTableOptimizerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline GetTableOptimizerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline GetTableOptimizerRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

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

The type of table optimizer.

+ */ + inline GetTableOptimizerRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer.

+ */ + inline GetTableOptimizerRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetTableOptimizerResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetTableOptimizerResult.h new file mode 100644 index 00000000000..06a72078808 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetTableOptimizerResult.h @@ -0,0 +1,206 @@ +/** + * 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 Glue +{ +namespace Model +{ + class GetTableOptimizerResult + { + public: + AWS_GLUE_API GetTableOptimizerResult(); + AWS_GLUE_API GetTableOptimizerResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API GetTableOptimizerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

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

The Catalog ID of the table.

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

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline GetTableOptimizerResult& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline GetTableOptimizerResult& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline GetTableOptimizerResult& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

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

The name of the database in the catalog in which the table resides.

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

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline GetTableOptimizerResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline GetTableOptimizerResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline GetTableOptimizerResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline GetTableOptimizerResult& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The optimizer associated with the specified table.

+ */ + inline const TableOptimizer& GetTableOptimizer() const{ return m_tableOptimizer; } + + /** + *

The optimizer associated with the specified table.

+ */ + inline void SetTableOptimizer(const TableOptimizer& value) { m_tableOptimizer = value; } + + /** + *

The optimizer associated with the specified table.

+ */ + inline void SetTableOptimizer(TableOptimizer&& value) { m_tableOptimizer = std::move(value); } + + /** + *

The optimizer associated with the specified table.

+ */ + inline GetTableOptimizerResult& WithTableOptimizer(const TableOptimizer& value) { SetTableOptimizer(value); return *this;} + + /** + *

The optimizer associated with the specified table.

+ */ + inline GetTableOptimizerResult& WithTableOptimizer(TableOptimizer&& value) { SetTableOptimizer(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 GetTableOptimizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetTableOptimizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetTableOptimizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_catalogId; + + Aws::String m_databaseName; + + Aws::String m_tableName; + + TableOptimizer m_tableOptimizer; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListTableOptimizerRunsRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListTableOptimizerRunsRequest.h new file mode 100644 index 00000000000..655acadbd69 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListTableOptimizerRunsRequest.h @@ -0,0 +1,282 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class ListTableOptimizerRunsRequest : public GlueRequest + { + public: + AWS_GLUE_API ListTableOptimizerRunsRequest(); + + // 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 "ListTableOptimizerRuns"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline ListTableOptimizerRunsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline ListTableOptimizerRunsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline ListTableOptimizerRunsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline ListTableOptimizerRunsRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline ListTableOptimizerRunsRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline ListTableOptimizerRunsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline ListTableOptimizerRunsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline ListTableOptimizerRunsRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline ListTableOptimizerRunsRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + + /** + *

The maximum number of optimizer runs to return on each call.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of optimizer runs to return on each call.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of optimizer runs to return on each call.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of optimizer runs to return on each call.

+ */ + inline ListTableOptimizerRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline ListTableOptimizerRunsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline ListTableOptimizerRunsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

A continuation token, if this is a continuation call.

+ */ + inline ListTableOptimizerRunsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListTableOptimizerRunsResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListTableOptimizerRunsResult.h new file mode 100644 index 00000000000..8a2c67a1739 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListTableOptimizerRunsResult.h @@ -0,0 +1,262 @@ +/** + * 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 Glue +{ +namespace Model +{ + class ListTableOptimizerRunsResult + { + public: + AWS_GLUE_API ListTableOptimizerRunsResult(); + AWS_GLUE_API ListTableOptimizerRunsResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API ListTableOptimizerRunsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

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

The Catalog ID of the table.

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

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline ListTableOptimizerRunsResult& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline ListTableOptimizerRunsResult& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline ListTableOptimizerRunsResult& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

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

The name of the database in the catalog in which the table resides.

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

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline ListTableOptimizerRunsResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline ListTableOptimizerRunsResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline ListTableOptimizerRunsResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline ListTableOptimizerRunsResult& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

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

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

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

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

+ */ + inline ListTableOptimizerRunsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

+ */ + inline ListTableOptimizerRunsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

A continuation token for paginating the returned list of optimizer runs, + * returned if the current segment of the list is not the last.

+ */ + inline ListTableOptimizerRunsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline const Aws::Vector& GetTableOptimizerRuns() const{ return m_tableOptimizerRuns; } + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline void SetTableOptimizerRuns(const Aws::Vector& value) { m_tableOptimizerRuns = value; } + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline void SetTableOptimizerRuns(Aws::Vector&& value) { m_tableOptimizerRuns = std::move(value); } + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline ListTableOptimizerRunsResult& WithTableOptimizerRuns(const Aws::Vector& value) { SetTableOptimizerRuns(value); return *this;} + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline ListTableOptimizerRunsResult& WithTableOptimizerRuns(Aws::Vector&& value) { SetTableOptimizerRuns(std::move(value)); return *this;} + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline ListTableOptimizerRunsResult& AddTableOptimizerRuns(const TableOptimizerRun& value) { m_tableOptimizerRuns.push_back(value); return *this; } + + /** + *

A list of the optimizer runs associated with a table.

+ */ + inline ListTableOptimizerRunsResult& AddTableOptimizerRuns(TableOptimizerRun&& value) { m_tableOptimizerRuns.push_back(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 ListTableOptimizerRunsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTableOptimizerRunsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTableOptimizerRunsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_catalogId; + + Aws::String m_databaseName; + + Aws::String m_tableName; + + Aws::String m_nextToken; + + Aws::Vector m_tableOptimizerRuns; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/RunMetrics.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/RunMetrics.h new file mode 100644 index 00000000000..7c7e741fd14 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/RunMetrics.h @@ -0,0 +1,220 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

Metrics for the optimizer run.

See Also:

AWS API + * Reference

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

The number of bytes removed by the compaction job run.

+ */ + inline const Aws::String& GetNumberOfBytesCompacted() const{ return m_numberOfBytesCompacted; } + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline bool NumberOfBytesCompactedHasBeenSet() const { return m_numberOfBytesCompactedHasBeenSet; } + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline void SetNumberOfBytesCompacted(const Aws::String& value) { m_numberOfBytesCompactedHasBeenSet = true; m_numberOfBytesCompacted = value; } + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline void SetNumberOfBytesCompacted(Aws::String&& value) { m_numberOfBytesCompactedHasBeenSet = true; m_numberOfBytesCompacted = std::move(value); } + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline void SetNumberOfBytesCompacted(const char* value) { m_numberOfBytesCompactedHasBeenSet = true; m_numberOfBytesCompacted.assign(value); } + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline RunMetrics& WithNumberOfBytesCompacted(const Aws::String& value) { SetNumberOfBytesCompacted(value); return *this;} + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline RunMetrics& WithNumberOfBytesCompacted(Aws::String&& value) { SetNumberOfBytesCompacted(std::move(value)); return *this;} + + /** + *

The number of bytes removed by the compaction job run.

+ */ + inline RunMetrics& WithNumberOfBytesCompacted(const char* value) { SetNumberOfBytesCompacted(value); return *this;} + + + /** + *

The number of files removed by the compaction job run.

+ */ + inline const Aws::String& GetNumberOfFilesCompacted() const{ return m_numberOfFilesCompacted; } + + /** + *

The number of files removed by the compaction job run.

+ */ + inline bool NumberOfFilesCompactedHasBeenSet() const { return m_numberOfFilesCompactedHasBeenSet; } + + /** + *

The number of files removed by the compaction job run.

+ */ + inline void SetNumberOfFilesCompacted(const Aws::String& value) { m_numberOfFilesCompactedHasBeenSet = true; m_numberOfFilesCompacted = value; } + + /** + *

The number of files removed by the compaction job run.

+ */ + inline void SetNumberOfFilesCompacted(Aws::String&& value) { m_numberOfFilesCompactedHasBeenSet = true; m_numberOfFilesCompacted = std::move(value); } + + /** + *

The number of files removed by the compaction job run.

+ */ + inline void SetNumberOfFilesCompacted(const char* value) { m_numberOfFilesCompactedHasBeenSet = true; m_numberOfFilesCompacted.assign(value); } + + /** + *

The number of files removed by the compaction job run.

+ */ + inline RunMetrics& WithNumberOfFilesCompacted(const Aws::String& value) { SetNumberOfFilesCompacted(value); return *this;} + + /** + *

The number of files removed by the compaction job run.

+ */ + inline RunMetrics& WithNumberOfFilesCompacted(Aws::String&& value) { SetNumberOfFilesCompacted(std::move(value)); return *this;} + + /** + *

The number of files removed by the compaction job run.

+ */ + inline RunMetrics& WithNumberOfFilesCompacted(const char* value) { SetNumberOfFilesCompacted(value); return *this;} + + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline const Aws::String& GetNumberOfDpus() const{ return m_numberOfDpus; } + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline bool NumberOfDpusHasBeenSet() const { return m_numberOfDpusHasBeenSet; } + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline void SetNumberOfDpus(const Aws::String& value) { m_numberOfDpusHasBeenSet = true; m_numberOfDpus = value; } + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline void SetNumberOfDpus(Aws::String&& value) { m_numberOfDpusHasBeenSet = true; m_numberOfDpus = std::move(value); } + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline void SetNumberOfDpus(const char* value) { m_numberOfDpusHasBeenSet = true; m_numberOfDpus.assign(value); } + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline RunMetrics& WithNumberOfDpus(const Aws::String& value) { SetNumberOfDpus(value); return *this;} + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline RunMetrics& WithNumberOfDpus(Aws::String&& value) { SetNumberOfDpus(std::move(value)); return *this;} + + /** + *

The number of DPU hours consumed by the job.

+ */ + inline RunMetrics& WithNumberOfDpus(const char* value) { SetNumberOfDpus(value); return *this;} + + + /** + *

The duration of the job in hours.

+ */ + inline const Aws::String& GetJobDurationInHour() const{ return m_jobDurationInHour; } + + /** + *

The duration of the job in hours.

+ */ + inline bool JobDurationInHourHasBeenSet() const { return m_jobDurationInHourHasBeenSet; } + + /** + *

The duration of the job in hours.

+ */ + inline void SetJobDurationInHour(const Aws::String& value) { m_jobDurationInHourHasBeenSet = true; m_jobDurationInHour = value; } + + /** + *

The duration of the job in hours.

+ */ + inline void SetJobDurationInHour(Aws::String&& value) { m_jobDurationInHourHasBeenSet = true; m_jobDurationInHour = std::move(value); } + + /** + *

The duration of the job in hours.

+ */ + inline void SetJobDurationInHour(const char* value) { m_jobDurationInHourHasBeenSet = true; m_jobDurationInHour.assign(value); } + + /** + *

The duration of the job in hours.

+ */ + inline RunMetrics& WithJobDurationInHour(const Aws::String& value) { SetJobDurationInHour(value); return *this;} + + /** + *

The duration of the job in hours.

+ */ + inline RunMetrics& WithJobDurationInHour(Aws::String&& value) { SetJobDurationInHour(std::move(value)); return *this;} + + /** + *

The duration of the job in hours.

+ */ + inline RunMetrics& WithJobDurationInHour(const char* value) { SetJobDurationInHour(value); return *this;} + + private: + + Aws::String m_numberOfBytesCompacted; + bool m_numberOfBytesCompactedHasBeenSet = false; + + Aws::String m_numberOfFilesCompacted; + bool m_numberOfFilesCompactedHasBeenSet = false; + + Aws::String m_numberOfDpus; + bool m_numberOfDpusHasBeenSet = false; + + Aws::String m_jobDurationInHour; + bool m_jobDurationInHourHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizer.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizer.h new file mode 100644 index 00000000000..146b9ce25cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizer.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

Contains details about an optimizer associated with a table.

See + * Also:

AWS + * API Reference

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

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline TableOptimizer& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline TableOptimizer& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + + /** + *

A TableOptimizerConfiguration object that was specified when + * creating or updating a table optimizer.

+ */ + inline const TableOptimizerConfiguration& GetConfiguration() const{ return m_configuration; } + + /** + *

A TableOptimizerConfiguration object that was specified when + * creating or updating a table optimizer.

+ */ + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + + /** + *

A TableOptimizerConfiguration object that was specified when + * creating or updating a table optimizer.

+ */ + inline void SetConfiguration(const TableOptimizerConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + + /** + *

A TableOptimizerConfiguration object that was specified when + * creating or updating a table optimizer.

+ */ + inline void SetConfiguration(TableOptimizerConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + + /** + *

A TableOptimizerConfiguration object that was specified when + * creating or updating a table optimizer.

+ */ + inline TableOptimizer& WithConfiguration(const TableOptimizerConfiguration& value) { SetConfiguration(value); return *this;} + + /** + *

A TableOptimizerConfiguration object that was specified when + * creating or updating a table optimizer.

+ */ + inline TableOptimizer& WithConfiguration(TableOptimizerConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + + + /** + *

A TableOptimizerRun object representing the last run of the + * table optimizer.

+ */ + inline const TableOptimizerRun& GetLastRun() const{ return m_lastRun; } + + /** + *

A TableOptimizerRun object representing the last run of the + * table optimizer.

+ */ + inline bool LastRunHasBeenSet() const { return m_lastRunHasBeenSet; } + + /** + *

A TableOptimizerRun object representing the last run of the + * table optimizer.

+ */ + inline void SetLastRun(const TableOptimizerRun& value) { m_lastRunHasBeenSet = true; m_lastRun = value; } + + /** + *

A TableOptimizerRun object representing the last run of the + * table optimizer.

+ */ + inline void SetLastRun(TableOptimizerRun&& value) { m_lastRunHasBeenSet = true; m_lastRun = std::move(value); } + + /** + *

A TableOptimizerRun object representing the last run of the + * table optimizer.

+ */ + inline TableOptimizer& WithLastRun(const TableOptimizerRun& value) { SetLastRun(value); return *this;} + + /** + *

A TableOptimizerRun object representing the last run of the + * table optimizer.

+ */ + inline TableOptimizer& WithLastRun(TableOptimizerRun&& value) { SetLastRun(std::move(value)); return *this;} + + private: + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + + TableOptimizerConfiguration m_configuration; + bool m_configurationHasBeenSet = false; + + TableOptimizerRun m_lastRun; + bool m_lastRunHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerConfiguration.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerConfiguration.h new file mode 100644 index 00000000000..cd8b74ebe49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerConfiguration.h @@ -0,0 +1,122 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

Contains details on the configuration of a table optimizer. You pass this + * configuration when creating or updating a table optimizer.

See + * Also:

AWS + * API Reference

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

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline TableOptimizerConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline TableOptimizerConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

A role passed by the caller which gives the service permission to update the + * resources associated with the optimizer on the caller's behalf.

+ */ + inline TableOptimizerConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

Whether table optimization is enabled.

+ */ + inline bool GetEnabled() const{ return m_enabled; } + + /** + *

Whether table optimization is enabled.

+ */ + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + + /** + *

Whether table optimization is enabled.

+ */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + + /** + *

Whether table optimization is enabled.

+ */ + inline TableOptimizerConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;} + + private: + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + bool m_enabled; + bool m_enabledHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerEventType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerEventType.h new file mode 100644 index 00000000000..036e961d8de --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerEventType.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class TableOptimizerEventType + { + NOT_SET, + starting, + completed, + failed, + in_progress + }; + +namespace TableOptimizerEventTypeMapper +{ +AWS_GLUE_API TableOptimizerEventType GetTableOptimizerEventTypeForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForTableOptimizerEventType(TableOptimizerEventType value); +} // namespace TableOptimizerEventTypeMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerRun.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerRun.h new file mode 100644 index 00000000000..0f9aa5d31fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerRun.h @@ -0,0 +1,239 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

Contains details for a table optimizer run.

See Also:

AWS + * API Reference

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

An event type representing the status of the table optimizer run.

+ */ + inline const TableOptimizerEventType& GetEventType() const{ return m_eventType; } + + /** + *

An event type representing the status of the table optimizer run.

+ */ + inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } + + /** + *

An event type representing the status of the table optimizer run.

+ */ + inline void SetEventType(const TableOptimizerEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } + + /** + *

An event type representing the status of the table optimizer run.

+ */ + inline void SetEventType(TableOptimizerEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } + + /** + *

An event type representing the status of the table optimizer run.

+ */ + inline TableOptimizerRun& WithEventType(const TableOptimizerEventType& value) { SetEventType(value); return *this;} + + /** + *

An event type representing the status of the table optimizer run.

+ */ + inline TableOptimizerRun& WithEventType(TableOptimizerEventType&& value) { SetEventType(std::move(value)); return *this;} + + + /** + *

Represents the epoch timestamp at which the compaction job was started within + * Lake Formation.

+ */ + inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; } + + /** + *

Represents the epoch timestamp at which the compaction job was started within + * Lake Formation.

+ */ + inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; } + + /** + *

Represents the epoch timestamp at which the compaction job was started within + * Lake Formation.

+ */ + inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; } + + /** + *

Represents the epoch timestamp at which the compaction job was started within + * Lake Formation.

+ */ + inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); } + + /** + *

Represents the epoch timestamp at which the compaction job was started within + * Lake Formation.

+ */ + inline TableOptimizerRun& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;} + + /** + *

Represents the epoch timestamp at which the compaction job was started within + * Lake Formation.

+ */ + inline TableOptimizerRun& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;} + + + /** + *

Represents the epoch timestamp at which the compaction job ended.

+ */ + inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; } + + /** + *

Represents the epoch timestamp at which the compaction job ended.

+ */ + inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; } + + /** + *

Represents the epoch timestamp at which the compaction job ended.

+ */ + inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; } + + /** + *

Represents the epoch timestamp at which the compaction job ended.

+ */ + inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); } + + /** + *

Represents the epoch timestamp at which the compaction job ended.

+ */ + inline TableOptimizerRun& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;} + + /** + *

Represents the epoch timestamp at which the compaction job ended.

+ */ + inline TableOptimizerRun& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;} + + + /** + *

A RunMetrics object containing metrics for the optimizer + * run.

+ */ + inline const RunMetrics& GetMetrics() const{ return m_metrics; } + + /** + *

A RunMetrics object containing metrics for the optimizer + * run.

+ */ + inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } + + /** + *

A RunMetrics object containing metrics for the optimizer + * run.

+ */ + inline void SetMetrics(const RunMetrics& value) { m_metricsHasBeenSet = true; m_metrics = value; } + + /** + *

A RunMetrics object containing metrics for the optimizer + * run.

+ */ + inline void SetMetrics(RunMetrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } + + /** + *

A RunMetrics object containing metrics for the optimizer + * run.

+ */ + inline TableOptimizerRun& WithMetrics(const RunMetrics& value) { SetMetrics(value); return *this;} + + /** + *

A RunMetrics object containing metrics for the optimizer + * run.

+ */ + inline TableOptimizerRun& WithMetrics(RunMetrics&& value) { SetMetrics(std::move(value)); return *this;} + + + /** + *

An error that occured during the optimizer run.

+ */ + inline const Aws::String& GetError() const{ return m_error; } + + /** + *

An error that occured during the optimizer run.

+ */ + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + + /** + *

An error that occured during the optimizer run.

+ */ + inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; } + + /** + *

An error that occured during the optimizer run.

+ */ + inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + + /** + *

An error that occured during the optimizer run.

+ */ + inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); } + + /** + *

An error that occured during the optimizer run.

+ */ + inline TableOptimizerRun& WithError(const Aws::String& value) { SetError(value); return *this;} + + /** + *

An error that occured during the optimizer run.

+ */ + inline TableOptimizerRun& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} + + /** + *

An error that occured during the optimizer run.

+ */ + inline TableOptimizerRun& WithError(const char* value) { SetError(value); return *this;} + + private: + + TableOptimizerEventType m_eventType; + bool m_eventTypeHasBeenSet = false; + + Aws::Utils::DateTime m_startTimestamp; + bool m_startTimestampHasBeenSet = false; + + Aws::Utils::DateTime m_endTimestamp; + bool m_endTimestampHasBeenSet = false; + + RunMetrics m_metrics; + bool m_metricsHasBeenSet = false; + + Aws::String m_error; + bool m_errorHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerType.h new file mode 100644 index 00000000000..712c6efdfb6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableOptimizerType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class TableOptimizerType + { + NOT_SET, + compaction + }; + +namespace TableOptimizerTypeMapper +{ +AWS_GLUE_API TableOptimizerType GetTableOptimizerTypeForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForTableOptimizerType(TableOptimizerType value); +} // namespace TableOptimizerTypeMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableOptimizerRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableOptimizerRequest.h new file mode 100644 index 00000000000..f651cca34e7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableOptimizerRequest.h @@ -0,0 +1,255 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class UpdateTableOptimizerRequest : public GlueRequest + { + public: + AWS_GLUE_API UpdateTableOptimizerRequest(); + + // 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 "UpdateTableOptimizer"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The Catalog ID of the table.

+ */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + + /** + *

The Catalog ID of the table.

+ */ + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + + /** + *

The Catalog ID of the table.

+ */ + inline UpdateTableOptimizerRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline UpdateTableOptimizerRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + + /** + *

The Catalog ID of the table.

+ */ + inline UpdateTableOptimizerRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline UpdateTableOptimizerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline UpdateTableOptimizerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + + /** + *

The name of the database in the catalog in which the table resides.

+ */ + inline UpdateTableOptimizerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + + + /** + *

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

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

The name of the table.

+ */ + inline UpdateTableOptimizerRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline const TableOptimizerType& GetType() const{ return m_type; } + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

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

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline UpdateTableOptimizerRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;} + + /** + *

The type of table optimizer. Currently, the only valid value is + * compaction.

+ */ + inline UpdateTableOptimizerRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;} + + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline const TableOptimizerConfiguration& GetTableOptimizerConfiguration() const{ return m_tableOptimizerConfiguration; } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline bool TableOptimizerConfigurationHasBeenSet() const { return m_tableOptimizerConfigurationHasBeenSet; } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline void SetTableOptimizerConfiguration(const TableOptimizerConfiguration& value) { m_tableOptimizerConfigurationHasBeenSet = true; m_tableOptimizerConfiguration = value; } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline void SetTableOptimizerConfiguration(TableOptimizerConfiguration&& value) { m_tableOptimizerConfigurationHasBeenSet = true; m_tableOptimizerConfiguration = std::move(value); } + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline UpdateTableOptimizerRequest& WithTableOptimizerConfiguration(const TableOptimizerConfiguration& value) { SetTableOptimizerConfiguration(value); return *this;} + + /** + *

A TableOptimizerConfiguration object representing the + * configuration of a table optimizer.

+ */ + inline UpdateTableOptimizerRequest& WithTableOptimizerConfiguration(TableOptimizerConfiguration&& value) { SetTableOptimizerConfiguration(std::move(value)); return *this;} + + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + TableOptimizerType m_type; + bool m_typeHasBeenSet = false; + + TableOptimizerConfiguration m_tableOptimizerConfiguration; + bool m_tableOptimizerConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableOptimizerResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableOptimizerResult.h new file mode 100644 index 00000000000..efe0b3297b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableOptimizerResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class UpdateTableOptimizerResult + { + public: + AWS_GLUE_API UpdateTableOptimizerResult(); + AWS_GLUE_API UpdateTableOptimizerResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API UpdateTableOptimizerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateTableOptimizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateTableOptimizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateTableOptimizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp index 7a8dc024977..bda494c8d56 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -41,22 +42,22 @@ #include #include #include +#include #include #include -#include #include #include #include #include #include #include +#include #include #include #include #include #include #include -#include #include #include #include @@ -113,7 +114,6 @@ #include #include #include -#include #include #include #include @@ -514,6 +514,32 @@ GetJobsOutcome GlueClient::GetJobs(const GetJobsRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteTableOptimizerOutcome GlueClient::DeleteTableOptimizer(const DeleteTableOptimizerRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteTableOptimizer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTableOptimizer", + {{ 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( + [&]()-> DeleteTableOptimizerOutcome { + 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, DeleteTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteTableOptimizerOutcome(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()}}); +} + DeleteClassifierOutcome GlueClient::DeleteClassifier(const DeleteClassifierRequest& request) const { AWS_OPERATION_GUARD(DeleteClassifier); @@ -774,6 +800,32 @@ BatchGetJobsOutcome GlueClient::BatchGetJobs(const BatchGetJobsRequest& request) {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +BatchGetTableOptimizerOutcome GlueClient::BatchGetTableOptimizer(const BatchGetTableOptimizerRequest& request) const +{ + AWS_OPERATION_GUARD(BatchGetTableOptimizer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchGetTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchGetTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, BatchGetTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchGetTableOptimizer", + {{ 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( + [&]()-> BatchGetTableOptimizerOutcome { + 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, BatchGetTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return BatchGetTableOptimizerOutcome(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()}}); +} + DeleteCustomEntityTypeOutcome GlueClient::DeleteCustomEntityType(const DeleteCustomEntityTypeRequest& request) const { AWS_OPERATION_GUARD(DeleteCustomEntityType); @@ -826,32 +878,6 @@ GetDatabaseOutcome GlueClient::GetDatabase(const GetDatabaseRequest& request) co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -GetMLTaskRunsOutcome GlueClient::GetMLTaskRuns(const GetMLTaskRunsRequest& request) const -{ - AWS_OPERATION_GUARD(GetMLTaskRuns); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMLTaskRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMLTaskRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetMLTaskRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMLTaskRuns", - {{ 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( - [&]()-> GetMLTaskRunsOutcome { - 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, GetMLTaskRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetMLTaskRunsOutcome(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()}}); -} - GetCrawlerOutcome GlueClient::GetCrawler(const GetCrawlerRequest& request) const { AWS_OPERATION_GUARD(GetCrawler); @@ -1008,6 +1034,32 @@ BatchDeletePartitionOutcome GlueClient::BatchDeletePartition(const BatchDeletePa {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateTableOptimizerOutcome GlueClient::CreateTableOptimizer(const CreateTableOptimizerRequest& request) const +{ + AWS_OPERATION_GUARD(CreateTableOptimizer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTableOptimizer", + {{ 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( + [&]()-> CreateTableOptimizerOutcome { + 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, CreateTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateTableOptimizerOutcome(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()}}); +} + CreateTableOutcome GlueClient::CreateTable(const CreateTableRequest& request) const { AWS_OPERATION_GUARD(CreateTable); @@ -1164,32 +1216,6 @@ CreateDevEndpointOutcome GlueClient::CreateDevEndpoint(const CreateDevEndpointRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -GetMLTransformsOutcome GlueClient::GetMLTransforms(const GetMLTransformsRequest& request) const -{ - AWS_OPERATION_GUARD(GetMLTransforms); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMLTransforms, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMLTransforms, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetMLTransforms, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMLTransforms", - {{ 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( - [&]()-> GetMLTransformsOutcome { - 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, GetMLTransforms, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetMLTransformsOutcome(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()}}); -} - BatchGetTriggersOutcome GlueClient::BatchGetTriggers(const BatchGetTriggersRequest& request) const { AWS_OPERATION_GUARD(BatchGetTriggers); @@ -2646,32 +2672,6 @@ DeleteConnectionOutcome GlueClient::DeleteConnection(const DeleteConnectionReque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -GetMLTransformOutcome GlueClient::GetMLTransform(const GetMLTransformRequest& request) const -{ - AWS_OPERATION_GUARD(GetMLTransform); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMLTransform, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMLTransform, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetMLTransform, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMLTransform", - {{ 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( - [&]()-> GetMLTransformOutcome { - 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, GetMLTransform, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetMLTransformOutcome(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()}}); -} - DeleteRegistryOutcome GlueClient::DeleteRegistry(const DeleteRegistryRequest& request) const { AWS_OPERATION_GUARD(DeleteRegistry); diff --git a/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp index d4449b49be4..53dbe10720d 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp @@ -33,11 +33,11 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include @@ -49,18 +49,18 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include +#include #include #include #include -#include #include #include #include @@ -82,6 +82,7 @@ #include #include #include +#include #include #include #include @@ -104,7 +105,6 @@ #include #include #include -#include #include #include #include @@ -117,7 +117,7 @@ #include #include #include -#include +#include #include #include #include @@ -448,32 +448,6 @@ GetSecurityConfigurationOutcome GlueClient::GetSecurityConfiguration(const GetSe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateSchemaOutcome GlueClient::UpdateSchema(const UpdateSchemaRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateSchema); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateSchema, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateSchema, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateSchema, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateSchema", - {{ 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( - [&]()-> UpdateSchemaOutcome { - 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, UpdateSchema, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return UpdateSchemaOutcome(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()}}); -} - UpdatePartitionOutcome GlueClient::UpdatePartition(const UpdatePartitionRequest& request) const { AWS_OPERATION_GUARD(UpdatePartition); @@ -578,6 +552,32 @@ GetTableVersionOutcome GlueClient::GetTableVersion(const GetTableVersionRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListTableOptimizerRunsOutcome GlueClient::ListTableOptimizerRuns(const ListTableOptimizerRunsRequest& request) const +{ + AWS_OPERATION_GUARD(ListTableOptimizerRuns); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTableOptimizerRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTableOptimizerRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTableOptimizerRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTableOptimizerRuns", + {{ 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( + [&]()-> ListTableOptimizerRunsOutcome { + 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, ListTableOptimizerRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListTableOptimizerRunsOutcome(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()}}); +} + GetTableOutcome GlueClient::GetTable(const GetTableRequest& request) const { AWS_OPERATION_GUARD(GetTable); @@ -864,6 +864,32 @@ ListJobsOutcome GlueClient::ListJobs(const ListJobsRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetMLTaskRunsOutcome GlueClient::GetMLTaskRuns(const GetMLTaskRunsRequest& request) const +{ + AWS_OPERATION_GUARD(GetMLTaskRuns); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMLTaskRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMLTaskRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetMLTaskRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMLTaskRuns", + {{ 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( + [&]()-> GetMLTaskRunsOutcome { + 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, GetMLTaskRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetMLTaskRunsOutcome(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()}}); +} + ListCustomEntityTypesOutcome GlueClient::ListCustomEntityTypes(const ListCustomEntityTypesRequest& request) const { AWS_OPERATION_GUARD(ListCustomEntityTypes); @@ -968,32 +994,6 @@ GetSchemaVersionsDiffOutcome GlueClient::GetSchemaVersionsDiff(const GetSchemaVe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateRegistryOutcome GlueClient::UpdateRegistry(const UpdateRegistryRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateRegistry); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateRegistry, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateRegistry, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateRegistry, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateRegistry", - {{ 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( - [&]()-> UpdateRegistryOutcome { - 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, UpdateRegistry, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return UpdateRegistryOutcome(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()}}); -} - UpdateColumnStatisticsForTableOutcome GlueClient::UpdateColumnStatisticsForTable(const UpdateColumnStatisticsForTableRequest& request) const { AWS_OPERATION_GUARD(UpdateColumnStatisticsForTable); @@ -1072,6 +1072,32 @@ GetWorkflowOutcome GlueClient::GetWorkflow(const GetWorkflowRequest& request) co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetMLTransformsOutcome GlueClient::GetMLTransforms(const GetMLTransformsRequest& request) const +{ + AWS_OPERATION_GUARD(GetMLTransforms); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMLTransforms, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMLTransforms, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetMLTransforms, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMLTransforms", + {{ 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( + [&]()-> GetMLTransformsOutcome { + 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, GetMLTransforms, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetMLTransformsOutcome(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()}}); +} + StartExportLabelsTaskRunOutcome GlueClient::StartExportLabelsTaskRun(const StartExportLabelsTaskRunRequest& request) const { AWS_OPERATION_GUARD(StartExportLabelsTaskRun); @@ -1150,32 +1176,6 @@ ListDataQualityRulesetsOutcome GlueClient::ListDataQualityRulesets(const ListDat {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateSourceControlFromJobOutcome GlueClient::UpdateSourceControlFromJob(const UpdateSourceControlFromJobRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateSourceControlFromJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateSourceControlFromJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateSourceControlFromJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateSourceControlFromJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateSourceControlFromJob", - {{ 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( - [&]()-> UpdateSourceControlFromJobOutcome { - 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, UpdateSourceControlFromJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return UpdateSourceControlFromJobOutcome(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()}}); -} - GetSchemaVersionOutcome GlueClient::GetSchemaVersion(const GetSchemaVersionRequest& request) const { AWS_OPERATION_GUARD(GetSchemaVersion); @@ -1722,6 +1722,32 @@ StartCrawlerOutcome GlueClient::StartCrawler(const StartCrawlerRequest& request) {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetTableOptimizerOutcome GlueClient::GetTableOptimizer(const GetTableOptimizerRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableOptimizer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableOptimizer", + {{ 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( + [&]()-> GetTableOptimizerOutcome { + 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, GetTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetTableOptimizerOutcome(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()}}); +} + UpdateColumnStatisticsForPartitionOutcome GlueClient::UpdateColumnStatisticsForPartition(const UpdateColumnStatisticsForPartitionRequest& request) const { AWS_OPERATION_GUARD(UpdateColumnStatisticsForPartition); @@ -2294,32 +2320,6 @@ ListMLTransformsOutcome GlueClient::ListMLTransforms(const ListMLTransformsReque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateTriggerOutcome GlueClient::UpdateTrigger(const UpdateTriggerRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateTrigger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTrigger", - {{ 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( - [&]()-> UpdateTriggerOutcome { - 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, UpdateTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return UpdateTriggerOutcome(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()}}); -} - GetTriggersOutcome GlueClient::GetTriggers(const GetTriggersRequest& request) const { AWS_OPERATION_GUARD(GetTriggers); @@ -2632,26 +2632,26 @@ ListDevEndpointsOutcome GlueClient::ListDevEndpoints(const ListDevEndpointsReque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateTableOutcome GlueClient::UpdateTable(const UpdateTableRequest& request) const +GetMLTransformOutcome GlueClient::GetMLTransform(const GetMLTransformRequest& request) const { - AWS_OPERATION_GUARD(UpdateTable); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_GUARD(GetMLTransform); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMLTransform, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMLTransform, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTable, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTable", + AWS_OPERATION_CHECK_PTR(meter, GetMLTransform, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMLTransform", {{ 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( - [&]()-> UpdateTableOutcome { + return TracingUtils::MakeCallWithTiming( + [&]()-> GetMLTransformOutcome { 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, UpdateTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return UpdateTableOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetMLTransform, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetMLTransformOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); }, TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, diff --git a/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp index c98ceeb3945..ec04c22c81f 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp @@ -21,8 +21,14 @@ #include #include #include +#include #include +#include +#include +#include #include +#include +#include #include @@ -38,6 +44,32 @@ using namespace smithy::components::tracing; using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; +UpdateTableOutcome GlueClient::UpdateTable(const UpdateTableRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTable); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTable", + {{ 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( + [&]()-> UpdateTableOutcome { + 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, UpdateTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateTableOutcome(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()}}); +} + UpdateUserDefinedFunctionOutcome GlueClient::UpdateUserDefinedFunction(const UpdateUserDefinedFunctionRequest& request) const { AWS_OPERATION_GUARD(UpdateUserDefinedFunction); @@ -64,6 +96,84 @@ UpdateUserDefinedFunctionOutcome GlueClient::UpdateUserDefinedFunction(const Upd {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateSchemaOutcome GlueClient::UpdateSchema(const UpdateSchemaRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateSchema); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateSchema, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateSchema, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateSchema, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateSchema", + {{ 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( + [&]()-> UpdateSchemaOutcome { + 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, UpdateSchema, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateSchemaOutcome(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()}}); +} + +UpdateRegistryOutcome GlueClient::UpdateRegistry(const UpdateRegistryRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateRegistry); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateRegistry, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateRegistry, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateRegistry, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateRegistry", + {{ 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( + [&]()-> UpdateRegistryOutcome { + 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, UpdateRegistry, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateRegistryOutcome(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()}}); +} + +UpdateTriggerOutcome GlueClient::UpdateTrigger(const UpdateTriggerRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTrigger); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTrigger", + {{ 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( + [&]()-> UpdateTriggerOutcome { + 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, UpdateTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateTriggerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateWorkflowOutcome GlueClient::UpdateWorkflow(const UpdateWorkflowRequest& request) const { AWS_OPERATION_GUARD(UpdateWorkflow); @@ -90,3 +200,55 @@ UpdateWorkflowOutcome GlueClient::UpdateWorkflow(const UpdateWorkflowRequest& re {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateSourceControlFromJobOutcome GlueClient::UpdateSourceControlFromJob(const UpdateSourceControlFromJobRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateSourceControlFromJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateSourceControlFromJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateSourceControlFromJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateSourceControlFromJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateSourceControlFromJob", + {{ 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( + [&]()-> UpdateSourceControlFromJobOutcome { + 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, UpdateSourceControlFromJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateSourceControlFromJobOutcome(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()}}); +} + +UpdateTableOptimizerOutcome GlueClient::UpdateTableOptimizer(const UpdateTableOptimizerRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTableOptimizer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTableOptimizer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTableOptimizer", + {{ 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( + [&]()-> UpdateTableOptimizerOutcome { + 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, UpdateTableOptimizer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateTableOptimizerOutcome(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-glue/source/model/BatchGetTableOptimizerEntry.cpp b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerEntry.cpp new file mode 100644 index 00000000000..8d6d592e22f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerEntry.cpp @@ -0,0 +1,105 @@ +/** + * 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 Glue +{ +namespace Model +{ + +BatchGetTableOptimizerEntry::BatchGetTableOptimizerEntry() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +BatchGetTableOptimizerEntry::BatchGetTableOptimizerEntry(JsonView jsonValue) : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +BatchGetTableOptimizerEntry& BatchGetTableOptimizerEntry::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("catalogId")) + { + m_catalogId = jsonValue.GetString("catalogId"); + + m_catalogIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("databaseName")) + { + m_databaseName = jsonValue.GetString("databaseName"); + + m_databaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("tableName")) + { + m_tableName = jsonValue.GetString("tableName"); + + m_tableNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = TableOptimizerTypeMapper::GetTableOptimizerTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue BatchGetTableOptimizerEntry::Jsonize() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("catalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("databaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("tableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerError.cpp b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerError.cpp new file mode 100644 index 00000000000..3c5def6d26c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerError.cpp @@ -0,0 +1,120 @@ +/** + * 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 Glue +{ +namespace Model +{ + +BatchGetTableOptimizerError::BatchGetTableOptimizerError() : + m_errorHasBeenSet(false), + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +BatchGetTableOptimizerError::BatchGetTableOptimizerError(JsonView jsonValue) : + m_errorHasBeenSet(false), + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +BatchGetTableOptimizerError& BatchGetTableOptimizerError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("error")) + { + m_error = jsonValue.GetObject("error"); + + m_errorHasBeenSet = true; + } + + if(jsonValue.ValueExists("catalogId")) + { + m_catalogId = jsonValue.GetString("catalogId"); + + m_catalogIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("databaseName")) + { + m_databaseName = jsonValue.GetString("databaseName"); + + m_databaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("tableName")) + { + m_tableName = jsonValue.GetString("tableName"); + + m_tableNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = TableOptimizerTypeMapper::GetTableOptimizerTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue BatchGetTableOptimizerError::Jsonize() const +{ + JsonValue payload; + + if(m_errorHasBeenSet) + { + payload.WithObject("error", m_error.Jsonize()); + + } + + if(m_catalogIdHasBeenSet) + { + payload.WithString("catalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("databaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("tableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerRequest.cpp new file mode 100644 index 00000000000..b19ed7f913a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerRequest.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +BatchGetTableOptimizerRequest::BatchGetTableOptimizerRequest() : + m_entriesHasBeenSet(false) +{ +} + +Aws::String BatchGetTableOptimizerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_entriesHasBeenSet) + { + Aws::Utils::Array entriesJsonList(m_entries.size()); + for(unsigned entriesIndex = 0; entriesIndex < entriesJsonList.GetLength(); ++entriesIndex) + { + entriesJsonList[entriesIndex].AsObject(m_entries[entriesIndex].Jsonize()); + } + payload.WithArray("Entries", std::move(entriesJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection BatchGetTableOptimizerRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.BatchGetTableOptimizer")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerResult.cpp new file mode 100644 index 00000000000..d11121f8b10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/BatchGetTableOptimizerResult.cpp @@ -0,0 +1,60 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +BatchGetTableOptimizerResult::BatchGetTableOptimizerResult() +{ +} + +BatchGetTableOptimizerResult::BatchGetTableOptimizerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +BatchGetTableOptimizerResult& BatchGetTableOptimizerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("TableOptimizers")) + { + Aws::Utils::Array tableOptimizersJsonList = jsonValue.GetArray("TableOptimizers"); + for(unsigned tableOptimizersIndex = 0; tableOptimizersIndex < tableOptimizersJsonList.GetLength(); ++tableOptimizersIndex) + { + m_tableOptimizers.push_back(tableOptimizersJsonList[tableOptimizersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("Failures")) + { + Aws::Utils::Array failuresJsonList = jsonValue.GetArray("Failures"); + for(unsigned failuresIndex = 0; failuresIndex < failuresJsonList.GetLength(); ++failuresIndex) + { + m_failures.push_back(failuresJsonList[failuresIndex].AsObject()); + } + } + + + 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-glue/source/model/BatchTableOptimizer.cpp b/generated/src/aws-cpp-sdk-glue/source/model/BatchTableOptimizer.cpp new file mode 100644 index 00000000000..97d1c7f85cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/BatchTableOptimizer.cpp @@ -0,0 +1,104 @@ +/** + * 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 Glue +{ +namespace Model +{ + +BatchTableOptimizer::BatchTableOptimizer() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_tableOptimizerHasBeenSet(false) +{ +} + +BatchTableOptimizer::BatchTableOptimizer(JsonView jsonValue) : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_tableOptimizerHasBeenSet(false) +{ + *this = jsonValue; +} + +BatchTableOptimizer& BatchTableOptimizer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("catalogId")) + { + m_catalogId = jsonValue.GetString("catalogId"); + + m_catalogIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("databaseName")) + { + m_databaseName = jsonValue.GetString("databaseName"); + + m_databaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("tableName")) + { + m_tableName = jsonValue.GetString("tableName"); + + m_tableNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("tableOptimizer")) + { + m_tableOptimizer = jsonValue.GetObject("tableOptimizer"); + + m_tableOptimizerHasBeenSet = true; + } + + return *this; +} + +JsonValue BatchTableOptimizer::Jsonize() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("catalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("databaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("tableName", m_tableName); + + } + + if(m_tableOptimizerHasBeenSet) + { + payload.WithObject("tableOptimizer", m_tableOptimizer.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateTableOptimizerRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateTableOptimizerRequest.cpp new file mode 100644 index 00000000000..5de0c294b1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateTableOptimizerRequest.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateTableOptimizerRequest::CreateTableOptimizerRequest() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false), + m_tableOptimizerConfigurationHasBeenSet(false) +{ +} + +Aws::String CreateTableOptimizerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("DatabaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + if(m_tableOptimizerConfigurationHasBeenSet) + { + payload.WithObject("TableOptimizerConfiguration", m_tableOptimizerConfiguration.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateTableOptimizerRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.CreateTableOptimizer")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateTableOptimizerResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateTableOptimizerResult.cpp new file mode 100644 index 00000000000..7e63d9334a5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateTableOptimizerResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateTableOptimizerResult::CreateTableOptimizerResult() +{ +} + +CreateTableOptimizerResult::CreateTableOptimizerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateTableOptimizerResult& CreateTableOptimizerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteTableOptimizerRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteTableOptimizerRequest.cpp new file mode 100644 index 00000000000..cf0ee934525 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteTableOptimizerRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteTableOptimizerRequest::DeleteTableOptimizerRequest() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +Aws::String DeleteTableOptimizerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("DatabaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteTableOptimizerRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DeleteTableOptimizer")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteTableOptimizerResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteTableOptimizerResult.cpp new file mode 100644 index 00000000000..03fe8c3b645 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteTableOptimizerResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteTableOptimizerResult::DeleteTableOptimizerResult() +{ +} + +DeleteTableOptimizerResult::DeleteTableOptimizerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteTableOptimizerResult& DeleteTableOptimizerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetTableOptimizerRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetTableOptimizerRequest.cpp new file mode 100644 index 00000000000..fbd2dcb3768 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetTableOptimizerRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableOptimizerRequest::GetTableOptimizerRequest() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +Aws::String GetTableOptimizerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("DatabaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetTableOptimizerRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.GetTableOptimizer")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetTableOptimizerResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetTableOptimizerResult.cpp new file mode 100644 index 00000000000..46451f0886f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetTableOptimizerResult.cpp @@ -0,0 +1,66 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableOptimizerResult::GetTableOptimizerResult() +{ +} + +GetTableOptimizerResult::GetTableOptimizerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableOptimizerResult& GetTableOptimizerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("CatalogId")) + { + m_catalogId = jsonValue.GetString("CatalogId"); + + } + + if(jsonValue.ValueExists("DatabaseName")) + { + m_databaseName = jsonValue.GetString("DatabaseName"); + + } + + if(jsonValue.ValueExists("TableName")) + { + m_tableName = jsonValue.GetString("TableName"); + + } + + if(jsonValue.ValueExists("TableOptimizer")) + { + m_tableOptimizer = jsonValue.GetObject("TableOptimizer"); + + } + + + 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-glue/source/model/ListTableOptimizerRunsRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ListTableOptimizerRunsRequest.cpp new file mode 100644 index 00000000000..793b810004e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ListTableOptimizerRunsRequest.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListTableOptimizerRunsRequest::ListTableOptimizerRunsRequest() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListTableOptimizerRunsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("DatabaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListTableOptimizerRunsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.ListTableOptimizerRuns")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ListTableOptimizerRunsResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ListTableOptimizerRunsResult.cpp new file mode 100644 index 00000000000..426cf2871bf --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ListTableOptimizerRunsResult.cpp @@ -0,0 +1,75 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTableOptimizerRunsResult::ListTableOptimizerRunsResult() +{ +} + +ListTableOptimizerRunsResult::ListTableOptimizerRunsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTableOptimizerRunsResult& ListTableOptimizerRunsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("CatalogId")) + { + m_catalogId = jsonValue.GetString("CatalogId"); + + } + + if(jsonValue.ValueExists("DatabaseName")) + { + m_databaseName = jsonValue.GetString("DatabaseName"); + + } + + if(jsonValue.ValueExists("TableName")) + { + m_tableName = jsonValue.GetString("TableName"); + + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("TableOptimizerRuns")) + { + Aws::Utils::Array tableOptimizerRunsJsonList = jsonValue.GetArray("TableOptimizerRuns"); + for(unsigned tableOptimizerRunsIndex = 0; tableOptimizerRunsIndex < tableOptimizerRunsJsonList.GetLength(); ++tableOptimizerRunsIndex) + { + m_tableOptimizerRuns.push_back(tableOptimizerRunsJsonList[tableOptimizerRunsIndex].AsObject()); + } + } + + + 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-glue/source/model/RunMetrics.cpp b/generated/src/aws-cpp-sdk-glue/source/model/RunMetrics.cpp new file mode 100644 index 00000000000..00d92f07f18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/RunMetrics.cpp @@ -0,0 +1,104 @@ +/** + * 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 Glue +{ +namespace Model +{ + +RunMetrics::RunMetrics() : + m_numberOfBytesCompactedHasBeenSet(false), + m_numberOfFilesCompactedHasBeenSet(false), + m_numberOfDpusHasBeenSet(false), + m_jobDurationInHourHasBeenSet(false) +{ +} + +RunMetrics::RunMetrics(JsonView jsonValue) : + m_numberOfBytesCompactedHasBeenSet(false), + m_numberOfFilesCompactedHasBeenSet(false), + m_numberOfDpusHasBeenSet(false), + m_jobDurationInHourHasBeenSet(false) +{ + *this = jsonValue; +} + +RunMetrics& RunMetrics::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("NumberOfBytesCompacted")) + { + m_numberOfBytesCompacted = jsonValue.GetString("NumberOfBytesCompacted"); + + m_numberOfBytesCompactedHasBeenSet = true; + } + + if(jsonValue.ValueExists("NumberOfFilesCompacted")) + { + m_numberOfFilesCompacted = jsonValue.GetString("NumberOfFilesCompacted"); + + m_numberOfFilesCompactedHasBeenSet = true; + } + + if(jsonValue.ValueExists("NumberOfDpus")) + { + m_numberOfDpus = jsonValue.GetString("NumberOfDpus"); + + m_numberOfDpusHasBeenSet = true; + } + + if(jsonValue.ValueExists("JobDurationInHour")) + { + m_jobDurationInHour = jsonValue.GetString("JobDurationInHour"); + + m_jobDurationInHourHasBeenSet = true; + } + + return *this; +} + +JsonValue RunMetrics::Jsonize() const +{ + JsonValue payload; + + if(m_numberOfBytesCompactedHasBeenSet) + { + payload.WithString("NumberOfBytesCompacted", m_numberOfBytesCompacted); + + } + + if(m_numberOfFilesCompactedHasBeenSet) + { + payload.WithString("NumberOfFilesCompacted", m_numberOfFilesCompacted); + + } + + if(m_numberOfDpusHasBeenSet) + { + payload.WithString("NumberOfDpus", m_numberOfDpus); + + } + + if(m_jobDurationInHourHasBeenSet) + { + payload.WithString("JobDurationInHour", m_jobDurationInHour); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizer.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizer.cpp new file mode 100644 index 00000000000..b589247fb38 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizer.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +TableOptimizer::TableOptimizer() : + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false), + m_configurationHasBeenSet(false), + m_lastRunHasBeenSet(false) +{ +} + +TableOptimizer::TableOptimizer(JsonView jsonValue) : + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false), + m_configurationHasBeenSet(false), + m_lastRunHasBeenSet(false) +{ + *this = jsonValue; +} + +TableOptimizer& TableOptimizer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("type")) + { + m_type = TableOptimizerTypeMapper::GetTableOptimizerTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + if(jsonValue.ValueExists("configuration")) + { + m_configuration = jsonValue.GetObject("configuration"); + + m_configurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastRun")) + { + m_lastRun = jsonValue.GetObject("lastRun"); + + m_lastRunHasBeenSet = true; + } + + return *this; +} + +JsonValue TableOptimizer::Jsonize() const +{ + JsonValue payload; + + if(m_typeHasBeenSet) + { + payload.WithString("type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + if(m_configurationHasBeenSet) + { + payload.WithObject("configuration", m_configuration.Jsonize()); + + } + + if(m_lastRunHasBeenSet) + { + payload.WithObject("lastRun", m_lastRun.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerConfiguration.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerConfiguration.cpp new file mode 100644 index 00000000000..dcf7900cab4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerConfiguration.cpp @@ -0,0 +1,76 @@ +/** + * 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 Glue +{ +namespace Model +{ + +TableOptimizerConfiguration::TableOptimizerConfiguration() : + m_roleArnHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false) +{ +} + +TableOptimizerConfiguration::TableOptimizerConfiguration(JsonView jsonValue) : + m_roleArnHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false) +{ + *this = jsonValue; +} + +TableOptimizerConfiguration& TableOptimizerConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + m_roleArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("enabled")) + { + m_enabled = jsonValue.GetBool("enabled"); + + m_enabledHasBeenSet = true; + } + + return *this; +} + +JsonValue TableOptimizerConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_enabledHasBeenSet) + { + payload.WithBool("enabled", m_enabled); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerEventType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerEventType.cpp new file mode 100644 index 00000000000..156d381aa77 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerEventType.cpp @@ -0,0 +1,86 @@ +/** + * 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 Glue + { + namespace Model + { + namespace TableOptimizerEventTypeMapper + { + + static const int starting_HASH = HashingUtils::HashString("starting"); + static const int completed_HASH = HashingUtils::HashString("completed"); + static const int failed_HASH = HashingUtils::HashString("failed"); + static const int in_progress_HASH = HashingUtils::HashString("in_progress"); + + + TableOptimizerEventType GetTableOptimizerEventTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == starting_HASH) + { + return TableOptimizerEventType::starting; + } + else if (hashCode == completed_HASH) + { + return TableOptimizerEventType::completed; + } + else if (hashCode == failed_HASH) + { + return TableOptimizerEventType::failed; + } + else if (hashCode == in_progress_HASH) + { + return TableOptimizerEventType::in_progress; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TableOptimizerEventType::NOT_SET; + } + + Aws::String GetNameForTableOptimizerEventType(TableOptimizerEventType enumValue) + { + switch(enumValue) + { + case TableOptimizerEventType::NOT_SET: + return {}; + case TableOptimizerEventType::starting: + return "starting"; + case TableOptimizerEventType::completed: + return "completed"; + case TableOptimizerEventType::failed: + return "failed"; + case TableOptimizerEventType::in_progress: + return "in_progress"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TableOptimizerEventTypeMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerRun.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerRun.cpp new file mode 100644 index 00000000000..dda9f5d972c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerRun.cpp @@ -0,0 +1,118 @@ +/** + * 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 Glue +{ +namespace Model +{ + +TableOptimizerRun::TableOptimizerRun() : + m_eventType(TableOptimizerEventType::NOT_SET), + m_eventTypeHasBeenSet(false), + m_startTimestampHasBeenSet(false), + m_endTimestampHasBeenSet(false), + m_metricsHasBeenSet(false), + m_errorHasBeenSet(false) +{ +} + +TableOptimizerRun::TableOptimizerRun(JsonView jsonValue) : + m_eventType(TableOptimizerEventType::NOT_SET), + m_eventTypeHasBeenSet(false), + m_startTimestampHasBeenSet(false), + m_endTimestampHasBeenSet(false), + m_metricsHasBeenSet(false), + m_errorHasBeenSet(false) +{ + *this = jsonValue; +} + +TableOptimizerRun& TableOptimizerRun::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("eventType")) + { + m_eventType = TableOptimizerEventTypeMapper::GetTableOptimizerEventTypeForName(jsonValue.GetString("eventType")); + + m_eventTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("startTimestamp")) + { + m_startTimestamp = jsonValue.GetDouble("startTimestamp"); + + m_startTimestampHasBeenSet = true; + } + + if(jsonValue.ValueExists("endTimestamp")) + { + m_endTimestamp = jsonValue.GetDouble("endTimestamp"); + + m_endTimestampHasBeenSet = true; + } + + if(jsonValue.ValueExists("metrics")) + { + m_metrics = jsonValue.GetObject("metrics"); + + m_metricsHasBeenSet = true; + } + + if(jsonValue.ValueExists("error")) + { + m_error = jsonValue.GetString("error"); + + m_errorHasBeenSet = true; + } + + return *this; +} + +JsonValue TableOptimizerRun::Jsonize() const +{ + JsonValue payload; + + if(m_eventTypeHasBeenSet) + { + payload.WithString("eventType", TableOptimizerEventTypeMapper::GetNameForTableOptimizerEventType(m_eventType)); + } + + if(m_startTimestampHasBeenSet) + { + payload.WithDouble("startTimestamp", m_startTimestamp.SecondsWithMSPrecision()); + } + + if(m_endTimestampHasBeenSet) + { + payload.WithDouble("endTimestamp", m_endTimestamp.SecondsWithMSPrecision()); + } + + if(m_metricsHasBeenSet) + { + payload.WithObject("metrics", m_metrics.Jsonize()); + + } + + if(m_errorHasBeenSet) + { + payload.WithString("error", m_error); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerType.cpp new file mode 100644 index 00000000000..b71603c0373 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TableOptimizerType.cpp @@ -0,0 +1,65 @@ +/** + * 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 Glue + { + namespace Model + { + namespace TableOptimizerTypeMapper + { + + static const int compaction_HASH = HashingUtils::HashString("compaction"); + + + TableOptimizerType GetTableOptimizerTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == compaction_HASH) + { + return TableOptimizerType::compaction; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TableOptimizerType::NOT_SET; + } + + Aws::String GetNameForTableOptimizerType(TableOptimizerType enumValue) + { + switch(enumValue) + { + case TableOptimizerType::NOT_SET: + return {}; + case TableOptimizerType::compaction: + return "compaction"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TableOptimizerTypeMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableOptimizerRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableOptimizerRequest.cpp new file mode 100644 index 00000000000..30acd796460 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableOptimizerRequest.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateTableOptimizerRequest::UpdateTableOptimizerRequest() : + m_catalogIdHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_type(TableOptimizerType::NOT_SET), + m_typeHasBeenSet(false), + m_tableOptimizerConfigurationHasBeenSet(false) +{ +} + +Aws::String UpdateTableOptimizerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("DatabaseName", m_databaseName); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", TableOptimizerTypeMapper::GetNameForTableOptimizerType(m_type)); + } + + if(m_tableOptimizerConfigurationHasBeenSet) + { + payload.WithObject("TableOptimizerConfiguration", m_tableOptimizerConfiguration.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateTableOptimizerRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.UpdateTableOptimizer")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableOptimizerResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableOptimizerResult.cpp new file mode 100644 index 00000000000..62c1b0b7a0d --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableOptimizerResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateTableOptimizerResult::UpdateTableOptimizerResult() +{ +} + +UpdateTableOptimizerResult::UpdateTableOptimizerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateTableOptimizerResult& UpdateTableOptimizerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h index 8690f0df1f1..0df79813667 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h @@ -1310,8 +1310,10 @@ namespace IoT /** *

Create a thing group.

This is a control plane operation. See Authorization - * for information about authorizing control plane actions.

Requires - * permission to access the

If the + * ThingGroup that you create has the exact same attributes as an + * existing ThingGroup, you will get a 200 success response.

+ *

Requires permission to access the CreateThingGroup * action.

See Also:

AWS diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Behavior.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Behavior.h index 8b116394d37..ee03d5442b2 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Behavior.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Behavior.h @@ -239,6 +239,31 @@ namespace Model */ inline Behavior& WithSuppressAlerts(bool value) { SetSuppressAlerts(value); return *this;} + + /** + *

Value indicates exporting metrics related to the behavior when it is + * true.

+ */ + inline bool GetExportMetric() const{ return m_exportMetric; } + + /** + *

Value indicates exporting metrics related to the behavior when it is + * true.

+ */ + inline bool ExportMetricHasBeenSet() const { return m_exportMetricHasBeenSet; } + + /** + *

Value indicates exporting metrics related to the behavior when it is + * true.

+ */ + inline void SetExportMetric(bool value) { m_exportMetricHasBeenSet = true; m_exportMetric = value; } + + /** + *

Value indicates exporting metrics related to the behavior when it is + * true.

+ */ + inline Behavior& WithExportMetric(bool value) { SetExportMetric(value); return *this;} + private: Aws::String m_name; @@ -255,6 +280,9 @@ namespace Model bool m_suppressAlerts; bool m_suppressAlertsHasBeenSet = false; + + bool m_exportMetric; + bool m_exportMetricHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateSecurityProfileRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateSecurityProfileRequest.h index ec8e9401243..4d19c177918 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateSecurityProfileRequest.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateSecurityProfileRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -346,6 +347,37 @@ namespace Model */ inline CreateSecurityProfileRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline const MetricsExportConfig& GetMetricsExportConfig() const{ return m_metricsExportConfig; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline bool MetricsExportConfigHasBeenSet() const { return m_metricsExportConfigHasBeenSet; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(const MetricsExportConfig& value) { m_metricsExportConfigHasBeenSet = true; m_metricsExportConfig = value; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(MetricsExportConfig&& value) { m_metricsExportConfigHasBeenSet = true; m_metricsExportConfig = std::move(value); } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline CreateSecurityProfileRequest& WithMetricsExportConfig(const MetricsExportConfig& value) { SetMetricsExportConfig(value); return *this;} + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline CreateSecurityProfileRequest& WithMetricsExportConfig(MetricsExportConfig&& value) { SetMetricsExportConfig(std::move(value)); return *this;} + private: Aws::String m_securityProfileName; @@ -365,6 +397,9 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; + + MetricsExportConfig m_metricsExportConfig; + bool m_metricsExportConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeSecurityProfileResult.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeSecurityProfileResult.h index 07de646af44..1f088668a14 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeSecurityProfileResult.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeSecurityProfileResult.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -364,6 +365,32 @@ namespace Model inline DescribeSecurityProfileResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline const MetricsExportConfig& GetMetricsExportConfig() const{ return m_metricsExportConfig; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(const MetricsExportConfig& value) { m_metricsExportConfig = value; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(MetricsExportConfig&& value) { m_metricsExportConfig = std::move(value); } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline DescribeSecurityProfileResult& WithMetricsExportConfig(const MetricsExportConfig& value) { SetMetricsExportConfig(value); return *this;} + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline DescribeSecurityProfileResult& WithMetricsExportConfig(MetricsExportConfig&& value) { SetMetricsExportConfig(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -405,6 +432,8 @@ namespace Model Aws::Utils::DateTime m_lastModifiedDate; + MetricsExportConfig m_metricsExportConfig; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricToRetain.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricToRetain.h index 0f8e60f5dce..dea00ad8930 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricToRetain.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricToRetain.h @@ -110,6 +110,31 @@ namespace Model */ inline MetricToRetain& WithMetricDimension(MetricDimension&& value) { SetMetricDimension(std::move(value)); return *this;} + + /** + *

Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if + * Device Defender Detect should export the corresponding metrics.

+ */ + inline bool GetExportMetric() const{ return m_exportMetric; } + + /** + *

Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if + * Device Defender Detect should export the corresponding metrics.

+ */ + inline bool ExportMetricHasBeenSet() const { return m_exportMetricHasBeenSet; } + + /** + *

Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if + * Device Defender Detect should export the corresponding metrics.

+ */ + inline void SetExportMetric(bool value) { m_exportMetricHasBeenSet = true; m_exportMetric = value; } + + /** + *

Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if + * Device Defender Detect should export the corresponding metrics.

+ */ + inline MetricToRetain& WithExportMetric(bool value) { SetExportMetric(value); return *this;} + private: Aws::String m_metric; @@ -117,6 +142,9 @@ namespace Model MetricDimension m_metricDimension; bool m_metricDimensionHasBeenSet = false; + + bool m_exportMetric; + bool m_exportMetricHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricsExportConfig.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricsExportConfig.h new file mode 100644 index 00000000000..e050d33202b --- /dev/null +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/MetricsExportConfig.h @@ -0,0 +1,148 @@ +/** + * 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 IoT +{ +namespace Model +{ + + /** + *

Set configurations for metrics export.

See Also:

AWS + * API Reference

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

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline const Aws::String& GetMqttTopic() const{ return m_mqttTopic; } + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline bool MqttTopicHasBeenSet() const { return m_mqttTopicHasBeenSet; } + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline void SetMqttTopic(const Aws::String& value) { m_mqttTopicHasBeenSet = true; m_mqttTopic = value; } + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline void SetMqttTopic(Aws::String&& value) { m_mqttTopicHasBeenSet = true; m_mqttTopic = std::move(value); } + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline void SetMqttTopic(const char* value) { m_mqttTopicHasBeenSet = true; m_mqttTopic.assign(value); } + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline MetricsExportConfig& WithMqttTopic(const Aws::String& value) { SetMqttTopic(value); return *this;} + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline MetricsExportConfig& WithMqttTopic(Aws::String&& value) { SetMqttTopic(std::move(value)); return *this;} + + /** + *

The MQTT topic that Device Defender Detect should publish messages to for + * metrics export.

+ */ + inline MetricsExportConfig& WithMqttTopic(const char* value) { SetMqttTopic(value); return *this;} + + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline MetricsExportConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline MetricsExportConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

This role ARN has permission to publish MQTT messages, after which Device + * Defender Detect can assume the role and publish messages on your behalf.

+ */ + inline MetricsExportConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + private: + + Aws::String m_mqttTopic; + bool m_mqttTopicHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace IoT +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/SearchIndexRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/SearchIndexRequest.h index 827a860d536..7ed78865ab5 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/SearchIndexRequest.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/SearchIndexRequest.h @@ -188,22 +188,26 @@ namespace Model /** - *

The maximum number of results to return at one time.

+ *

The maximum number of results to return at one time. The response might + * contain fewer results but will never contain more.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** - *

The maximum number of results to return at one time.

+ *

The maximum number of results to return at one time. The response might + * contain fewer results but will never contain more.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

The maximum number of results to return at one time.

+ *

The maximum number of results to return at one time. The response might + * contain fewer results but will never contain more.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

The maximum number of results to return at one time.

+ *

The maximum number of results to return at one time. The response might + * contain fewer results but will never contain more.

*/ inline SearchIndexRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingGroupIndexingConfiguration.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingGroupIndexingConfiguration.h index 9825cd3d207..8ca88e7d19a 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingGroupIndexingConfiguration.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingGroupIndexingConfiguration.h @@ -75,6 +75,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline const Aws::Vector& GetManagedFields() const{ return m_managedFields; } @@ -83,6 +85,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline bool ManagedFieldsHasBeenSet() const { return m_managedFieldsHasBeenSet; } @@ -91,6 +95,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline void SetManagedFields(const Aws::Vector& value) { m_managedFieldsHasBeenSet = true; m_managedFields = value; } @@ -99,6 +105,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline void SetManagedFields(Aws::Vector&& value) { m_managedFieldsHasBeenSet = true; m_managedFields = std::move(value); } @@ -107,6 +115,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingGroupIndexingConfiguration& WithManagedFields(const Aws::Vector& value) { SetManagedFields(value); return *this;} @@ -115,6 +125,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingGroupIndexingConfiguration& WithManagedFields(Aws::Vector&& value) { SetManagedFields(std::move(value)); return *this;} @@ -123,6 +135,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingGroupIndexingConfiguration& AddManagedFields(const Field& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(value); return *this; } @@ -131,6 +145,8 @@ namespace Model * Fleet Indexing service. This is an optional field. For more information, see Managed * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingGroupIndexingConfiguration& AddManagedFields(Field&& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingIndexingConfiguration.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingIndexingConfiguration.h index cc0ec4e5f65..71c13d7b4d7 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingIndexingConfiguration.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingIndexingConfiguration.h @@ -279,49 +279,81 @@ namespace Model /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline const Aws::Vector& GetManagedFields() const{ return m_managedFields; } /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline bool ManagedFieldsHasBeenSet() const { return m_managedFieldsHasBeenSet; } /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline void SetManagedFields(const Aws::Vector& value) { m_managedFieldsHasBeenSet = true; m_managedFields = value; } /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline void SetManagedFields(Aws::Vector&& value) { m_managedFieldsHasBeenSet = true; m_managedFields = std::move(value); } /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingIndexingConfiguration& WithManagedFields(const Aws::Vector& value) { SetManagedFields(value); return *this;} /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingIndexingConfiguration& WithManagedFields(Aws::Vector&& value) { SetManagedFields(std::move(value)); return *this;} /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingIndexingConfiguration& AddManagedFields(const Field& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(value); return *this; } /** *

Contains fields that are indexed and whose types are already known by the - * Fleet Indexing service.

+ * Fleet Indexing service. This is an optional field. For more information, see Managed + * fields in the Amazon Web Services IoT Core Developer Guide.

+ *

You can't modify managed fields by updating fleet indexing + * configuration.

*/ inline ThingIndexingConfiguration& AddManagedFields(Field&& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileRequest.h index 53cf0a7ad6e..ac3bf05d3b5 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileRequest.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -410,6 +411,58 @@ namespace Model */ inline UpdateSecurityProfileRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;} + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline const MetricsExportConfig& GetMetricsExportConfig() const{ return m_metricsExportConfig; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline bool MetricsExportConfigHasBeenSet() const { return m_metricsExportConfigHasBeenSet; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(const MetricsExportConfig& value) { m_metricsExportConfigHasBeenSet = true; m_metricsExportConfig = value; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(MetricsExportConfig&& value) { m_metricsExportConfigHasBeenSet = true; m_metricsExportConfig = std::move(value); } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline UpdateSecurityProfileRequest& WithMetricsExportConfig(const MetricsExportConfig& value) { SetMetricsExportConfig(value); return *this;} + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline UpdateSecurityProfileRequest& WithMetricsExportConfig(MetricsExportConfig&& value) { SetMetricsExportConfig(std::move(value)); return *this;} + + + /** + *

Set the value as true to delete metrics export related configurations.

+ */ + inline bool GetDeleteMetricsExportConfig() const{ return m_deleteMetricsExportConfig; } + + /** + *

Set the value as true to delete metrics export related configurations.

+ */ + inline bool DeleteMetricsExportConfigHasBeenSet() const { return m_deleteMetricsExportConfigHasBeenSet; } + + /** + *

Set the value as true to delete metrics export related configurations.

+ */ + inline void SetDeleteMetricsExportConfig(bool value) { m_deleteMetricsExportConfigHasBeenSet = true; m_deleteMetricsExportConfig = value; } + + /** + *

Set the value as true to delete metrics export related configurations.

+ */ + inline UpdateSecurityProfileRequest& WithDeleteMetricsExportConfig(bool value) { SetDeleteMetricsExportConfig(value); return *this;} + private: Aws::String m_securityProfileName; @@ -438,6 +491,12 @@ namespace Model long long m_expectedVersion; bool m_expectedVersionHasBeenSet = false; + + MetricsExportConfig m_metricsExportConfig; + bool m_metricsExportConfigHasBeenSet = false; + + bool m_deleteMetricsExportConfig; + bool m_deleteMetricsExportConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileResult.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileResult.h index 5f1dc95a173..bbb15802cba 100644 --- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileResult.h +++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateSecurityProfileResult.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -361,6 +362,32 @@ namespace Model inline UpdateSecurityProfileResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline const MetricsExportConfig& GetMetricsExportConfig() const{ return m_metricsExportConfig; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(const MetricsExportConfig& value) { m_metricsExportConfig = value; } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline void SetMetricsExportConfig(MetricsExportConfig&& value) { m_metricsExportConfig = std::move(value); } + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline UpdateSecurityProfileResult& WithMetricsExportConfig(const MetricsExportConfig& value) { SetMetricsExportConfig(value); return *this;} + + /** + *

Specifies the MQTT topic and role ARN required for metric export.

+ */ + inline UpdateSecurityProfileResult& WithMetricsExportConfig(MetricsExportConfig&& value) { SetMetricsExportConfig(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -402,6 +429,8 @@ namespace Model Aws::Utils::DateTime m_lastModifiedDate; + MetricsExportConfig m_metricsExportConfig; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-iot/source/IoTEndpointRules.cpp b/generated/src/aws-cpp-sdk-iot/source/IoTEndpointRules.cpp index 80e21836ab8..ea3537b190f 100644 --- a/generated/src/aws-cpp-sdk-iot/source/IoTEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/IoTEndpointRules.cpp @@ -51,132 +51,132 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t','-', -'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}', -'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', -'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', -'r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r', -'e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i', -'t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e', -' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"', -'t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c', -'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', -'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', -'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', -'p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"', -'t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', -'"','h','t','t','p','s',':','/','/','i','o','t','-','f','i','p','s','.','{','R','e','g','i','o','n', -'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', -'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', -'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', -'n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', -'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', -'t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', '"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', 'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', -'}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', 'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', 'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', '"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', 'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c', -'k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'i','o','t','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', -'"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', -'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', -'t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p', -'e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','"','a','w','s','"',',','{','"','f','n','"',':','"','g','e','t','A', -'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t','-','f','i','p','s','.','{', +'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', +'p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}', +',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l', +'S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h', +'i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p', +'p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', +'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l', +'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', +'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', +'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', ',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s', -':','/','/','i','o','t','.','{','R','e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s', -'.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', -'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', -'n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', -':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','"', -'a','w','s','-','c','n','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', -'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p', -'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t', -'.','{','R','e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','.','c', -'n','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', +':','/','/','i','o','t','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',', +'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"', +'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t', +'r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e', +'t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s', +'D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', +'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t','.','{','R', +'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', +'u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a', +'c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','"','a','w','s','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'i','o','t','.','{','R','e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o', +'m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', 'r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"', '}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s', 't','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','"','a','w','s', -'-','u','s','-','g','o','v','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d', -'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o', -'t','.','{','R','e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', +'-','c','n','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p','o','i','n', 't','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t','.','{','R', -'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', -'n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', -'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n', +'e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','.','c','n','"',',', +'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i', +'n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','"','a','w','s','-','u','s', +'-','g','o','v','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p','o','i', +'n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t','.','{', +'R','e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p', +'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', +'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', +'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','i','o','t','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S', +'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', 's','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', 'n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i', 'o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-iot/source/model/Behavior.cpp b/generated/src/aws-cpp-sdk-iot/source/model/Behavior.cpp index 96626bf85c3..fe7f175c4ac 100644 --- a/generated/src/aws-cpp-sdk-iot/source/model/Behavior.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/model/Behavior.cpp @@ -24,7 +24,9 @@ Behavior::Behavior() : m_metricDimensionHasBeenSet(false), m_criteriaHasBeenSet(false), m_suppressAlerts(false), - m_suppressAlertsHasBeenSet(false) + m_suppressAlertsHasBeenSet(false), + m_exportMetric(false), + m_exportMetricHasBeenSet(false) { } @@ -34,7 +36,9 @@ Behavior::Behavior(JsonView jsonValue) : m_metricDimensionHasBeenSet(false), m_criteriaHasBeenSet(false), m_suppressAlerts(false), - m_suppressAlertsHasBeenSet(false) + m_suppressAlertsHasBeenSet(false), + m_exportMetric(false), + m_exportMetricHasBeenSet(false) { *this = jsonValue; } @@ -76,6 +80,13 @@ Behavior& Behavior::operator =(JsonView jsonValue) m_suppressAlertsHasBeenSet = true; } + if(jsonValue.ValueExists("exportMetric")) + { + m_exportMetric = jsonValue.GetBool("exportMetric"); + + m_exportMetricHasBeenSet = true; + } + return *this; } @@ -113,6 +124,12 @@ JsonValue Behavior::Jsonize() const } + if(m_exportMetricHasBeenSet) + { + payload.WithBool("exportMetric", m_exportMetric); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-iot/source/model/CreateSecurityProfileRequest.cpp b/generated/src/aws-cpp-sdk-iot/source/model/CreateSecurityProfileRequest.cpp index 502365239b1..756878bf923 100644 --- a/generated/src/aws-cpp-sdk-iot/source/model/CreateSecurityProfileRequest.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/model/CreateSecurityProfileRequest.cpp @@ -18,7 +18,8 @@ CreateSecurityProfileRequest::CreateSecurityProfileRequest() : m_behaviorsHasBeenSet(false), m_alertTargetsHasBeenSet(false), m_additionalMetricsToRetainV2HasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_metricsExportConfigHasBeenSet(false) { } @@ -76,6 +77,12 @@ Aws::String CreateSecurityProfileRequest::SerializePayload() const } + if(m_metricsExportConfigHasBeenSet) + { + payload.WithObject("metricsExportConfig", m_metricsExportConfig.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-iot/source/model/DescribeSecurityProfileResult.cpp b/generated/src/aws-cpp-sdk-iot/source/model/DescribeSecurityProfileResult.cpp index ee4e28d54e7..22066c261a3 100644 --- a/generated/src/aws-cpp-sdk-iot/source/model/DescribeSecurityProfileResult.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/model/DescribeSecurityProfileResult.cpp @@ -94,6 +94,12 @@ DescribeSecurityProfileResult& DescribeSecurityProfileResult::operator =(const A } + if(jsonValue.ValueExists("metricsExportConfig")) + { + m_metricsExportConfig = jsonValue.GetObject("metricsExportConfig"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-iot/source/model/MetricToRetain.cpp b/generated/src/aws-cpp-sdk-iot/source/model/MetricToRetain.cpp index af772c77a8e..58045fc6a2a 100644 --- a/generated/src/aws-cpp-sdk-iot/source/model/MetricToRetain.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/model/MetricToRetain.cpp @@ -20,13 +20,17 @@ namespace Model MetricToRetain::MetricToRetain() : m_metricHasBeenSet(false), - m_metricDimensionHasBeenSet(false) + m_metricDimensionHasBeenSet(false), + m_exportMetric(false), + m_exportMetricHasBeenSet(false) { } MetricToRetain::MetricToRetain(JsonView jsonValue) : m_metricHasBeenSet(false), - m_metricDimensionHasBeenSet(false) + m_metricDimensionHasBeenSet(false), + m_exportMetric(false), + m_exportMetricHasBeenSet(false) { *this = jsonValue; } @@ -47,6 +51,13 @@ MetricToRetain& MetricToRetain::operator =(JsonView jsonValue) m_metricDimensionHasBeenSet = true; } + if(jsonValue.ValueExists("exportMetric")) + { + m_exportMetric = jsonValue.GetBool("exportMetric"); + + m_exportMetricHasBeenSet = true; + } + return *this; } @@ -66,6 +77,12 @@ JsonValue MetricToRetain::Jsonize() const } + if(m_exportMetricHasBeenSet) + { + payload.WithBool("exportMetric", m_exportMetric); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-iot/source/model/MetricsExportConfig.cpp b/generated/src/aws-cpp-sdk-iot/source/model/MetricsExportConfig.cpp new file mode 100644 index 00000000000..8a6ecf63618 --- /dev/null +++ b/generated/src/aws-cpp-sdk-iot/source/model/MetricsExportConfig.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace IoT +{ +namespace Model +{ + +MetricsExportConfig::MetricsExportConfig() : + m_mqttTopicHasBeenSet(false), + m_roleArnHasBeenSet(false) +{ +} + +MetricsExportConfig::MetricsExportConfig(JsonView jsonValue) : + m_mqttTopicHasBeenSet(false), + m_roleArnHasBeenSet(false) +{ + *this = jsonValue; +} + +MetricsExportConfig& MetricsExportConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("mqttTopic")) + { + m_mqttTopic = jsonValue.GetString("mqttTopic"); + + m_mqttTopicHasBeenSet = true; + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + m_roleArnHasBeenSet = true; + } + + return *this; +} + +JsonValue MetricsExportConfig::Jsonize() const +{ + JsonValue payload; + + if(m_mqttTopicHasBeenSet) + { + payload.WithString("mqttTopic", m_mqttTopic); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + return payload; +} + +} // namespace Model +} // namespace IoT +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileRequest.cpp b/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileRequest.cpp index a6436928d6e..aea123ccfa6 100644 --- a/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileRequest.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileRequest.cpp @@ -28,7 +28,10 @@ UpdateSecurityProfileRequest::UpdateSecurityProfileRequest() : m_deleteAdditionalMetricsToRetain(false), m_deleteAdditionalMetricsToRetainHasBeenSet(false), m_expectedVersion(0), - m_expectedVersionHasBeenSet(false) + m_expectedVersionHasBeenSet(false), + m_metricsExportConfigHasBeenSet(false), + m_deleteMetricsExportConfig(false), + m_deleteMetricsExportConfigHasBeenSet(false) { } @@ -93,6 +96,18 @@ Aws::String UpdateSecurityProfileRequest::SerializePayload() const } + if(m_metricsExportConfigHasBeenSet) + { + payload.WithObject("metricsExportConfig", m_metricsExportConfig.Jsonize()); + + } + + if(m_deleteMetricsExportConfigHasBeenSet) + { + payload.WithBool("deleteMetricsExportConfig", m_deleteMetricsExportConfig); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileResult.cpp b/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileResult.cpp index cf91d2ae399..3bfc8903a37 100644 --- a/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileResult.cpp +++ b/generated/src/aws-cpp-sdk-iot/source/model/UpdateSecurityProfileResult.cpp @@ -94,6 +94,12 @@ UpdateSecurityProfileResult& UpdateSecurityProfileResult::operator =(const Aws:: } + if(jsonValue.ValueExists("metricsExportConfig")) + { + m_metricsExportConfig = jsonValue.GetObject("metricsExportConfig"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); 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 2f6ee96b89e..af0e38949cd 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 @@ -49,7 +49,8 @@ namespace Model ruby3_2, python3_11, nodejs20_x, - provided_al2023 + provided_al2023, + python3_12 }; namespace RuntimeMapper 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 9c373c084ff..9328e6b7985 100644 --- a/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp +++ b/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp @@ -54,6 +54,7 @@ namespace Aws static const int python3_11_HASH = HashingUtils::HashString("python3.11"); static const int nodejs20_x_HASH = HashingUtils::HashString("nodejs20.x"); static const int provided_al2023_HASH = HashingUtils::HashString("provided.al2023"); + static const int python3_12_HASH = HashingUtils::HashString("python3.12"); Runtime GetRuntimeForName(const Aws::String& name) @@ -195,6 +196,10 @@ namespace Aws { return Runtime::provided_al2023; } + else if (hashCode == python3_12_HASH) + { + return Runtime::python3_12; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -279,6 +284,8 @@ namespace Aws return "nodejs20.x"; case Runtime::provided_al2023: return "provided.al2023"; + case Runtime::python3_12: + return "python3.12"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-mediatailor/source/MediaTailorEndpointRules.cpp b/generated/src/aws-cpp-sdk-mediatailor/source/MediaTailorEndpointRules.cpp index d183ca98583..5ad9a01f99f 100644 --- a/generated/src/aws-cpp-sdk-mediatailor/source/MediaTailorEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-mediatailor/source/MediaTailorEndpointRules.cpp @@ -51,107 +51,107 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.', -'m','e','d','i','a','t','a','i','l','o','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}', -'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a', -'c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s', -'"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"', -':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ', -'D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u', -'t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t', -' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y', -'p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S', -'"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', '"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.', -'m','e','d','i','a','t','a','i','l','o','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}', -'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f', -'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', -'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', -'t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u', -'t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t', -' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r', -'r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', 'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k', -'"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l', -'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n', -'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a', -'p','i','.','m','e','d','i','a','t','a','i','l','o','r','.','{','R','e','g','i','o','n','}','.','{', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k', -'D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i', -'s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t', -'i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l', -'S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', -'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.','m','e', -'d','i','a','t','a','i','l','o','r','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', -'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.','m','e','d','i','a','t', +'a','i','l','o','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S', +'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F', +'I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a', +'b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', +'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b', +'o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',', +'t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', +'l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S', +'"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.','m','e','d','i','a','t', +'a','i','l','o','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n', +'a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', +'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t', +'y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r', +'u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', +'"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t', +'A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D', +'u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', +'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.','m','e','d', +'i','a','t','a','i','l','o','r','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a', +'l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i', +'s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p', +'o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r', +'r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', +'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','i','.','m','e','d','i','a', +'t','a','i','l','o','r','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', ',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"', ':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ', 'M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':','"','e', diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/PipesClient.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/PipesClient.h index 13999856679..5a7820f03b3 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/PipesClient.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/PipesClient.h @@ -331,15 +331,18 @@ namespace Pipes } /** - *

Update an existing pipe. When you call UpdatePipe, only the - * fields that are included in the request are changed, the rest are unchanged. The - * exception to this is if you modify any Amazon Web Services-service specific - * fields in the SourceParameters, EnrichmentParameters, - * or TargetParameters objects. The fields in these objects are - * updated atomically as one and override existing values. This is by design and - * means that if you don't specify an optional field in one of these Parameters - * objects, that field will be set to its system-default value after the - * update.

For more information about pipes, see Update an existing pipe. When you call UpdatePipe, EventBridge + * only the updates fields you have specified in the request; the rest remain + * unchanged. The exception to this is if you modify any Amazon Web + * Services-service specific fields in the SourceParameters, + * EnrichmentParameters, or TargetParameters objects. For + * example, DynamoDBStreamParameters or + * EventBridgeEventBusParameters. EventBridge updates the fields in + * these objects atomically as one and overrides existing values. This is by + * design, and means that if you don't specify an optional field in one of these + * Parameters objects, EventBridge sets that field to its + * system-default value during the update.

For more information about pipes, + * see * Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

See * Also:

+#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Pipes +{ +namespace Model +{ + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the + * pipe.

See Also:

AWS + * API Reference

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

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline CloudwatchLogsLogDestination& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;} + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline CloudwatchLogsLogDestination& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;} + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline CloudwatchLogsLogDestination& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;} + + private: + + Aws::String m_logGroupArn; + bool m_logGroupArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CloudwatchLogsLogDestinationParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CloudwatchLogsLogDestinationParameters.h new file mode 100644 index 00000000000..207014e6aa0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CloudwatchLogsLogDestinationParameters.h @@ -0,0 +1,97 @@ +/** + * 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 Pipes +{ +namespace Model +{ + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the + * pipe.

See Also:

AWS + * API Reference

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

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); } + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline CloudwatchLogsLogDestinationParameters& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;} + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline CloudwatchLogsLogDestinationParameters& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;} + + /** + *

The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to + * which EventBridge sends the log records.

+ */ + inline CloudwatchLogsLogDestinationParameters& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;} + + private: + + Aws::String m_logGroupArn; + bool m_logGroupArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CreatePipeRequest.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CreatePipeRequest.h index 4d6ffef143b..71e692e43dd 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CreatePipeRequest.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/CreatePipeRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -181,6 +182,37 @@ namespace Model inline CreatePipeRequest& WithEnrichmentParameters(PipeEnrichmentParameters&& value) { SetEnrichmentParameters(std::move(value)); return *this;} + /** + *

The logging configuration settings for the pipe.

+ */ + inline const PipeLogConfigurationParameters& GetLogConfiguration() const{ return m_logConfiguration; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline void SetLogConfiguration(const PipeLogConfigurationParameters& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline void SetLogConfiguration(PipeLogConfigurationParameters&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline CreatePipeRequest& WithLogConfiguration(const PipeLogConfigurationParameters& value) { SetLogConfiguration(value); return *this;} + + /** + *

The logging configuration settings for the pipe.

+ */ + inline CreatePipeRequest& WithLogConfiguration(PipeLogConfigurationParameters&& value) { SetLogConfiguration(std::move(value)); return *this;} + + /** *

The name of the pipe.

*/ @@ -443,32 +475,56 @@ namespace Model /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline bool TargetParametersHasBeenSet() const { return m_targetParametersHasBeenSet; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParametersHasBeenSet = true; m_targetParameters = value; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParametersHasBeenSet = true; m_targetParameters = std::move(value); } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline CreatePipeRequest& WithTargetParameters(const PipeTargetParameters& value) { SetTargetParameters(value); return *this;} /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline CreatePipeRequest& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;} @@ -486,6 +542,9 @@ namespace Model PipeEnrichmentParameters m_enrichmentParameters; bool m_enrichmentParametersHasBeenSet = false; + PipeLogConfigurationParameters m_logConfiguration; + bool m_logConfigurationHasBeenSet = false; + Aws::String m_name; bool m_nameHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DeadLetterConfig.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DeadLetterConfig.h index 86e6ce96a22..cad9ce1bba7 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DeadLetterConfig.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DeadLetterConfig.h @@ -39,50 +39,58 @@ namespace Model /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline DeadLetterConfig& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline DeadLetterConfig& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** - *

The ARN of the Amazon SQS queue specified as the target for the dead-letter - * queue.

+ *

The ARN of the specified target for the dead-letter queue.

For Amazon + * Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS + * topic or Amazon SQS queue ARN.

*/ inline DeadLetterConfig& WithArn(const char* value) { SetArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DescribePipeResult.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DescribePipeResult.h index b020462e75a..586bcfcdadc 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DescribePipeResult.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/DescribePipeResult.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -287,6 +288,32 @@ namespace Model inline DescribePipeResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} + /** + *

The logging configuration settings for the pipe.

+ */ + inline const PipeLogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline void SetLogConfiguration(const PipeLogConfiguration& value) { m_logConfiguration = value; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline void SetLogConfiguration(PipeLogConfiguration&& value) { m_logConfiguration = std::move(value); } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline DescribePipeResult& WithLogConfiguration(const PipeLogConfiguration& value) { SetLogConfiguration(value); return *this;} + + /** + *

The logging configuration settings for the pipe.

+ */ + inline DescribePipeResult& WithLogConfiguration(PipeLogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;} + + /** *

The name of the pipe.

*/ @@ -555,27 +582,47 @@ namespace Model /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParameters = value; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParameters = std::move(value); } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline DescribePipeResult& WithTargetParameters(const PipeTargetParameters& value) { SetTargetParameters(value); return *this;} /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline DescribePipeResult& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;} @@ -619,6 +666,8 @@ namespace Model Aws::Utils::DateTime m_lastModifiedTime; + PipeLogConfiguration m_logConfiguration; + Aws::String m_name; Aws::String m_roleArn; diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FilterCriteria.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FilterCriteria.h index 2801b5c11c6..8bfbafdde22 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FilterCriteria.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FilterCriteria.h @@ -25,8 +25,9 @@ namespace Model { /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User * Guide.

See Also:

+#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Pipes +{ +namespace Model +{ + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

See Also:

AWS + * API Reference

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

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline const Aws::String& GetDeliveryStreamArn() const{ return m_deliveryStreamArn; } + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline bool DeliveryStreamArnHasBeenSet() const { return m_deliveryStreamArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline void SetDeliveryStreamArn(const Aws::String& value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline void SetDeliveryStreamArn(Aws::String&& value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline void SetDeliveryStreamArn(const char* value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline FirehoseLogDestination& WithDeliveryStreamArn(const Aws::String& value) { SetDeliveryStreamArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline FirehoseLogDestination& WithDeliveryStreamArn(Aws::String&& value) { SetDeliveryStreamArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream + * to which EventBridge delivers the pipe log records.

+ */ + inline FirehoseLogDestination& WithDeliveryStreamArn(const char* value) { SetDeliveryStreamArn(value); return *this;} + + private: + + Aws::String m_deliveryStreamArn; + bool m_deliveryStreamArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FirehoseLogDestinationParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FirehoseLogDestinationParameters.h new file mode 100644 index 00000000000..557c2f569e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/FirehoseLogDestinationParameters.h @@ -0,0 +1,97 @@ +/** + * 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 Pipes +{ +namespace Model +{ + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

See Also:

AWS + * API Reference

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

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline const Aws::String& GetDeliveryStreamArn() const{ return m_deliveryStreamArn; } + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline bool DeliveryStreamArnHasBeenSet() const { return m_deliveryStreamArnHasBeenSet; } + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline void SetDeliveryStreamArn(const Aws::String& value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn = value; } + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline void SetDeliveryStreamArn(Aws::String&& value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn = std::move(value); } + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline void SetDeliveryStreamArn(const char* value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn.assign(value); } + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline FirehoseLogDestinationParameters& WithDeliveryStreamArn(const Aws::String& value) { SetDeliveryStreamArn(value); return *this;} + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline FirehoseLogDestinationParameters& WithDeliveryStreamArn(Aws::String&& value) { SetDeliveryStreamArn(std::move(value)); return *this;} + + /** + *

Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose + * delivery stream to which EventBridge delivers the pipe log records.

+ */ + inline FirehoseLogDestinationParameters& WithDeliveryStreamArn(const char* value) { SetDeliveryStreamArn(value); return *this;} + + private: + + Aws::String m_deliveryStreamArn; + bool m_deliveryStreamArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/IncludeExecutionDataOption.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/IncludeExecutionDataOption.h new file mode 100644 index 00000000000..5f03d1f4815 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/IncludeExecutionDataOption.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + enum class IncludeExecutionDataOption + { + NOT_SET, + ALL + }; + +namespace IncludeExecutionDataOptionMapper +{ +AWS_PIPES_API IncludeExecutionDataOption GetIncludeExecutionDataOptionForName(const Aws::String& name); + +AWS_PIPES_API Aws::String GetNameForIncludeExecutionDataOption(IncludeExecutionDataOption value); +} // namespace IncludeExecutionDataOptionMapper +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/LogLevel.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/LogLevel.h new file mode 100644 index 00000000000..064cee616ec --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/LogLevel.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + enum class LogLevel + { + NOT_SET, + OFF, + ERROR_, + INFO, + TRACE + }; + +namespace LogLevelMapper +{ +AWS_PIPES_API LogLevel GetLogLevelForName(const Aws::String& name); + +AWS_PIPES_API Aws::String GetNameForLogLevel(LogLevel value); +} // namespace LogLevelMapper +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeEnrichmentParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeEnrichmentParameters.h index a48ced7f601..bf1c3f664fd 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeEnrichmentParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeEnrichmentParameters.h @@ -110,7 +110,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline const Aws::String& GetInputTemplate() const{ return m_inputTemplate; } @@ -118,7 +119,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; } @@ -126,7 +128,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline void SetInputTemplate(const Aws::String& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = value; } @@ -134,7 +137,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline void SetInputTemplate(Aws::String&& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = std::move(value); } @@ -142,7 +146,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline void SetInputTemplate(const char* value) { m_inputTemplateHasBeenSet = true; m_inputTemplate.assign(value); } @@ -150,7 +155,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline PipeEnrichmentParameters& WithInputTemplate(const Aws::String& value) { SetInputTemplate(value); return *this;} @@ -158,7 +164,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline PipeEnrichmentParameters& WithInputTemplate(Aws::String&& value) { SetInputTemplate(std::move(value)); return *this;} @@ -166,7 +173,8 @@ namespace Model *

Valid JSON text passed to the enrichment. In this case, nothing from the * event itself is passed to the enrichment. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline PipeEnrichmentParameters& WithInputTemplate(const char* value) { SetInputTemplate(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeLogConfiguration.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeLogConfiguration.h new file mode 100644 index 00000000000..eb85710a6d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeLogConfiguration.h @@ -0,0 +1,282 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Pipes +{ +namespace Model +{ + + /** + *

The logging configuration settings for the pipe.

See Also:

+ * AWS + * API Reference

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

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline const CloudwatchLogsLogDestination& GetCloudwatchLogsLogDestination() const{ return m_cloudwatchLogsLogDestination; } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline bool CloudwatchLogsLogDestinationHasBeenSet() const { return m_cloudwatchLogsLogDestinationHasBeenSet; } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline void SetCloudwatchLogsLogDestination(const CloudwatchLogsLogDestination& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = value; } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline void SetCloudwatchLogsLogDestination(CloudwatchLogsLogDestination&& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = std::move(value); } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline PipeLogConfiguration& WithCloudwatchLogsLogDestination(const CloudwatchLogsLogDestination& value) { SetCloudwatchLogsLogDestination(value); return *this;} + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline PipeLogConfiguration& WithCloudwatchLogsLogDestination(CloudwatchLogsLogDestination&& value) { SetCloudwatchLogsLogDestination(std::move(value)); return *this;} + + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline const FirehoseLogDestination& GetFirehoseLogDestination() const{ return m_firehoseLogDestination; } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline bool FirehoseLogDestinationHasBeenSet() const { return m_firehoseLogDestinationHasBeenSet; } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline void SetFirehoseLogDestination(const FirehoseLogDestination& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = value; } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline void SetFirehoseLogDestination(FirehoseLogDestination&& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = std::move(value); } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline PipeLogConfiguration& WithFirehoseLogDestination(const FirehoseLogDestination& value) { SetFirehoseLogDestination(value); return *this;} + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline PipeLogConfiguration& WithFirehoseLogDestination(FirehoseLogDestination&& value) { SetFirehoseLogDestination(std::move(value)); return *this;} + + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline const Aws::Vector& GetIncludeExecutionData() const{ return m_includeExecutionData; } + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; } + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline void SetIncludeExecutionData(const Aws::Vector& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; } + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline void SetIncludeExecutionData(Aws::Vector&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = std::move(value); } + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline PipeLogConfiguration& WithIncludeExecutionData(const Aws::Vector& value) { SetIncludeExecutionData(value); return *this;} + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline PipeLogConfiguration& WithIncludeExecutionData(Aws::Vector&& value) { SetIncludeExecutionData(std::move(value)); return *this;} + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline PipeLogConfiguration& AddIncludeExecutionData(const IncludeExecutionDataOption& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(value); return *this; } + + /** + *

Whether the execution data (specifically, the payload, + * awsRequest, and awsResponse fields) is included in the + * log messages for this pipe.

This applies to all log destinations for the + * pipe.

For more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ */ + inline PipeLogConfiguration& AddIncludeExecutionData(IncludeExecutionDataOption&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(std::move(value)); return *this; } + + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

+ */ + inline const LogLevel& GetLevel() const{ return m_level; } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

+ */ + inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

+ */ + inline void SetLevel(const LogLevel& value) { m_levelHasBeenSet = true; m_level = value; } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

+ */ + inline void SetLevel(LogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

+ */ + inline PipeLogConfiguration& WithLevel(const LogLevel& value) { SetLevel(value); return *this;} + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

+ */ + inline PipeLogConfiguration& WithLevel(LogLevel&& value) { SetLevel(std::move(value)); return *this;} + + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline const S3LogDestination& GetS3LogDestination() const{ return m_s3LogDestination; } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline bool S3LogDestinationHasBeenSet() const { return m_s3LogDestinationHasBeenSet; } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline void SetS3LogDestination(const S3LogDestination& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = value; } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline void SetS3LogDestination(S3LogDestination&& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = std::move(value); } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline PipeLogConfiguration& WithS3LogDestination(const S3LogDestination& value) { SetS3LogDestination(value); return *this;} + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline PipeLogConfiguration& WithS3LogDestination(S3LogDestination&& value) { SetS3LogDestination(std::move(value)); return *this;} + + private: + + CloudwatchLogsLogDestination m_cloudwatchLogsLogDestination; + bool m_cloudwatchLogsLogDestinationHasBeenSet = false; + + FirehoseLogDestination m_firehoseLogDestination; + bool m_firehoseLogDestinationHasBeenSet = false; + + Aws::Vector m_includeExecutionData; + bool m_includeExecutionDataHasBeenSet = false; + + LogLevel m_level; + bool m_levelHasBeenSet = false; + + S3LogDestination m_s3LogDestination; + bool m_s3LogDestinationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeLogConfigurationParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeLogConfigurationParameters.h new file mode 100644 index 00000000000..526139382b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeLogConfigurationParameters.h @@ -0,0 +1,318 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Pipes +{ +namespace Model +{ + + /** + *

Specifies the logging configuration settings for the pipe.

When you + * call UpdatePipe, EventBridge updates the fields in the + * PipeLogConfigurationParameters object atomically as one and + * overrides existing values. This is by design. If you don't specify an optional + * field in any of the Amazon Web Services service parameters objects + * (CloudwatchLogsLogDestinationParameters, + * FirehoseLogDestinationParameters, or + * S3LogDestinationParameters), EventBridge sets that field to its + * system-default value during the update.

For example, suppose when you + * created the pipe you specified a Kinesis Data Firehose stream log destination. + * You then update the pipe to add an Amazon S3 log destination. In addition to + * specifying the S3LogDestinationParameters for the new log + * destination, you must also specify the fields in the + * FirehoseLogDestinationParameters object in order to retain the + * Kinesis Data Firehose stream log destination.

For more information on + * generating pipe log records, see Log EventBridge Pipes + * in the Amazon EventBridge User Guide.

See Also:

AWS + * API Reference

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

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline const CloudwatchLogsLogDestinationParameters& GetCloudwatchLogsLogDestination() const{ return m_cloudwatchLogsLogDestination; } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline bool CloudwatchLogsLogDestinationHasBeenSet() const { return m_cloudwatchLogsLogDestinationHasBeenSet; } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline void SetCloudwatchLogsLogDestination(const CloudwatchLogsLogDestinationParameters& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = value; } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline void SetCloudwatchLogsLogDestination(CloudwatchLogsLogDestinationParameters&& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = std::move(value); } + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline PipeLogConfigurationParameters& WithCloudwatchLogsLogDestination(const CloudwatchLogsLogDestinationParameters& value) { SetCloudwatchLogsLogDestination(value); return *this;} + + /** + *

The Amazon CloudWatch Logs logging configuration settings for the pipe.

+ */ + inline PipeLogConfigurationParameters& WithCloudwatchLogsLogDestination(CloudwatchLogsLogDestinationParameters&& value) { SetCloudwatchLogsLogDestination(std::move(value)); return *this;} + + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline const FirehoseLogDestinationParameters& GetFirehoseLogDestination() const{ return m_firehoseLogDestination; } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline bool FirehoseLogDestinationHasBeenSet() const { return m_firehoseLogDestinationHasBeenSet; } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline void SetFirehoseLogDestination(const FirehoseLogDestinationParameters& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = value; } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline void SetFirehoseLogDestination(FirehoseLogDestinationParameters&& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = std::move(value); } + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline PipeLogConfigurationParameters& WithFirehoseLogDestination(const FirehoseLogDestinationParameters& value) { SetFirehoseLogDestination(value); return *this;} + + /** + *

The Amazon Kinesis Data Firehose logging configuration settings for the + * pipe.

+ */ + inline PipeLogConfigurationParameters& WithFirehoseLogDestination(FirehoseLogDestinationParameters&& value) { SetFirehoseLogDestination(std::move(value)); return *this;} + + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline const Aws::Vector& GetIncludeExecutionData() const{ return m_includeExecutionData; } + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; } + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline void SetIncludeExecutionData(const Aws::Vector& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; } + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline void SetIncludeExecutionData(Aws::Vector&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = std::move(value); } + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline PipeLogConfigurationParameters& WithIncludeExecutionData(const Aws::Vector& value) { SetIncludeExecutionData(value); return *this;} + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline PipeLogConfigurationParameters& WithIncludeExecutionData(Aws::Vector&& value) { SetIncludeExecutionData(std::move(value)); return *this;} + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline PipeLogConfigurationParameters& AddIncludeExecutionData(const IncludeExecutionDataOption& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(value); return *this; } + + /** + *

Specify ON to include the execution data (specifically, the + * payload and awsRequest fields) in the log messages for + * this pipe.

This applies to all log destinations for the pipe.

For + * more information, see Including + * execution data in logs in the Amazon EventBridge User Guide.

+ *

The default is OFF.

+ */ + inline PipeLogConfigurationParameters& AddIncludeExecutionData(IncludeExecutionDataOption&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(std::move(value)); return *this; } + + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

For more information, see Specifying + * EventBridge Pipes log level in the Amazon EventBridge User Guide.

+ */ + inline const LogLevel& GetLevel() const{ return m_level; } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

For more information, see Specifying + * EventBridge Pipes log level in the Amazon EventBridge User Guide.

+ */ + inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

For more information, see Specifying + * EventBridge Pipes log level in the Amazon EventBridge User Guide.

+ */ + inline void SetLevel(const LogLevel& value) { m_levelHasBeenSet = true; m_level = value; } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

For more information, see Specifying + * EventBridge Pipes log level in the Amazon EventBridge User Guide.

+ */ + inline void SetLevel(LogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); } + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

For more information, see Specifying + * EventBridge Pipes log level in the Amazon EventBridge User Guide.

+ */ + inline PipeLogConfigurationParameters& WithLevel(const LogLevel& value) { SetLevel(value); return *this;} + + /** + *

The level of logging detail to include. This applies to all log destinations + * for the pipe.

For more information, see Specifying + * EventBridge Pipes log level in the Amazon EventBridge User Guide.

+ */ + inline PipeLogConfigurationParameters& WithLevel(LogLevel&& value) { SetLevel(std::move(value)); return *this;} + + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline const S3LogDestinationParameters& GetS3LogDestination() const{ return m_s3LogDestination; } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline bool S3LogDestinationHasBeenSet() const { return m_s3LogDestinationHasBeenSet; } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline void SetS3LogDestination(const S3LogDestinationParameters& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = value; } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline void SetS3LogDestination(S3LogDestinationParameters&& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = std::move(value); } + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline PipeLogConfigurationParameters& WithS3LogDestination(const S3LogDestinationParameters& value) { SetS3LogDestination(value); return *this;} + + /** + *

The Amazon S3 logging configuration settings for the pipe.

+ */ + inline PipeLogConfigurationParameters& WithS3LogDestination(S3LogDestinationParameters&& value) { SetS3LogDestination(std::move(value)); return *this;} + + private: + + CloudwatchLogsLogDestinationParameters m_cloudwatchLogsLogDestination; + bool m_cloudwatchLogsLogDestinationHasBeenSet = false; + + FirehoseLogDestinationParameters m_firehoseLogDestination; + bool m_firehoseLogDestinationHasBeenSet = false; + + Aws::Vector m_includeExecutionData; + bool m_includeExecutionDataHasBeenSet = false; + + LogLevel m_level; + bool m_levelHasBeenSet = false; + + S3LogDestinationParameters m_s3LogDestination; + bool m_s3LogDestinationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeSourceParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeSourceParameters.h index 9725e8f117e..7ac957f30b0 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeSourceParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeSourceParameters.h @@ -108,48 +108,54 @@ namespace Model /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline PipeSourceParameters& WithFilterCriteria(const FilterCriteria& value) { SetFilterCriteria(value); return *this;} /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeState.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeState.h index d4d4e77abd0..bd39bfa68b7 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeState.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeState.h @@ -26,7 +26,11 @@ namespace Model CREATE_FAILED, UPDATE_FAILED, START_FAILED, - STOP_FAILED + STOP_FAILED, + DELETE_FAILED, + CREATE_ROLLBACK_FAILED, + DELETE_ROLLBACK_FAILED, + UPDATE_ROLLBACK_FAILED }; namespace PipeStateMapper diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetEventBridgeEventBusParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetEventBridgeEventBusParameters.h index f87214c1246..b0515018cce 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetEventBridgeEventBusParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetEventBridgeEventBusParameters.h @@ -91,64 +91,56 @@ namespace Model /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline const Aws::String& GetEndpointId() const{ return m_endpointId; } /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; } /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline void SetEndpointId(const Aws::String& value) { m_endpointIdHasBeenSet = true; m_endpointId = value; } /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline void SetEndpointId(Aws::String&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::move(value); } /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline void SetEndpointId(const char* value) { m_endpointIdHasBeenSet = true; m_endpointId.assign(value); } /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline PipeTargetEventBridgeEventBusParameters& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;} /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline PipeTargetEventBridgeEventBusParameters& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;} /** *

The URL subdomain of the endpoint. For example, if the URL for Endpoint is * https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is - * abcde.veo.

When using Java, you must include - * auth-crt on the class path.

+ * abcde.veo.

*/ inline PipeTargetEventBridgeEventBusParameters& WithEndpointId(const char* value) { SetEndpointId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetKinesisStreamParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetKinesisStreamParameters.h index 2e53c35ad50..d5b02f52fab 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetKinesisStreamParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetKinesisStreamParameters.h @@ -24,7 +24,7 @@ namespace Model { /** - *

The parameters for using a Kinesis stream as a source.

See + *

The parameters for using a Kinesis stream as a target.

See * Also:

AWS * API Reference

diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetLambdaFunctionParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetLambdaFunctionParameters.h index 2389b254046..f18217400d4 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetLambdaFunctionParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetLambdaFunctionParameters.h @@ -39,80 +39,98 @@ namespace Model /** - *

Choose from the following options.

  • - * RequestResponse (default) - Invoke the function synchronously. Keep - * the connection open until the function returns a response or times out. The API - * response includes the function response and additional data.

  • - * Event - Invoke the function asynchronously. Send events that fail - * multiple times to the function's dead-letter queue (if it's configured). The API - * response only includes a status code.

  • DryRun - - * Validate parameter values and verify that the user or role has permission to - * invoke the function.

+ *

Specify whether to invoke the function synchronously or asynchronously.

+ *
  • REQUEST_RESPONSE (default) - Invoke synchronously. + * This corresponds to the RequestResponse option in the + * InvocationType parameter for the Lambda Invoke + * API.

  • FIRE_AND_FORGET - Invoke asynchronously. + * This corresponds to the Event option in the + * InvocationType parameter for the Lambda Invoke + * API.

For more information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline const PipeTargetInvocationType& GetInvocationType() const{ return m_invocationType; } /** - *

Choose from the following options.

  • - * RequestResponse (default) - Invoke the function synchronously. Keep - * the connection open until the function returns a response or times out. The API - * response includes the function response and additional data.

  • - * Event - Invoke the function asynchronously. Send events that fail - * multiple times to the function's dead-letter queue (if it's configured). The API - * response only includes a status code.

  • DryRun - - * Validate parameter values and verify that the user or role has permission to - * invoke the function.

+ *

Specify whether to invoke the function synchronously or asynchronously.

+ *
  • REQUEST_RESPONSE (default) - Invoke synchronously. + * This corresponds to the RequestResponse option in the + * InvocationType parameter for the Lambda Invoke + * API.

  • FIRE_AND_FORGET - Invoke asynchronously. + * This corresponds to the Event option in the + * InvocationType parameter for the Lambda Invoke + * API.

For more information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; } /** - *

Choose from the following options.

  • - * RequestResponse (default) - Invoke the function synchronously. Keep - * the connection open until the function returns a response or times out. The API - * response includes the function response and additional data.

  • - * Event - Invoke the function asynchronously. Send events that fail - * multiple times to the function's dead-letter queue (if it's configured). The API - * response only includes a status code.

  • DryRun - - * Validate parameter values and verify that the user or role has permission to - * invoke the function.

+ *

Specify whether to invoke the function synchronously or asynchronously.

+ *
  • REQUEST_RESPONSE (default) - Invoke synchronously. + * This corresponds to the RequestResponse option in the + * InvocationType parameter for the Lambda Invoke + * API.

  • FIRE_AND_FORGET - Invoke asynchronously. + * This corresponds to the Event option in the + * InvocationType parameter for the Lambda Invoke + * API.

For more information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline void SetInvocationType(const PipeTargetInvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; } /** - *

Choose from the following options.

  • - * RequestResponse (default) - Invoke the function synchronously. Keep - * the connection open until the function returns a response or times out. The API - * response includes the function response and additional data.

  • - * Event - Invoke the function asynchronously. Send events that fail - * multiple times to the function's dead-letter queue (if it's configured). The API - * response only includes a status code.

  • DryRun - - * Validate parameter values and verify that the user or role has permission to - * invoke the function.

+ *

Specify whether to invoke the function synchronously or asynchronously.

+ *
  • REQUEST_RESPONSE (default) - Invoke synchronously. + * This corresponds to the RequestResponse option in the + * InvocationType parameter for the Lambda Invoke + * API.

  • FIRE_AND_FORGET - Invoke asynchronously. + * This corresponds to the Event option in the + * InvocationType parameter for the Lambda Invoke + * API.

For more information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline void SetInvocationType(PipeTargetInvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); } /** - *

Choose from the following options.

  • - * RequestResponse (default) - Invoke the function synchronously. Keep - * the connection open until the function returns a response or times out. The API - * response includes the function response and additional data.

  • - * Event - Invoke the function asynchronously. Send events that fail - * multiple times to the function's dead-letter queue (if it's configured). The API - * response only includes a status code.

  • DryRun - - * Validate parameter values and verify that the user or role has permission to - * invoke the function.

+ *

Specify whether to invoke the function synchronously or asynchronously.

+ *
  • REQUEST_RESPONSE (default) - Invoke synchronously. + * This corresponds to the RequestResponse option in the + * InvocationType parameter for the Lambda Invoke + * API.

  • FIRE_AND_FORGET - Invoke asynchronously. + * This corresponds to the Event option in the + * InvocationType parameter for the Lambda Invoke + * API.

For more information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline PipeTargetLambdaFunctionParameters& WithInvocationType(const PipeTargetInvocationType& value) { SetInvocationType(value); return *this;} /** - *

Choose from the following options.

  • - * RequestResponse (default) - Invoke the function synchronously. Keep - * the connection open until the function returns a response or times out. The API - * response includes the function response and additional data.

  • - * Event - Invoke the function asynchronously. Send events that fail - * multiple times to the function's dead-letter queue (if it's configured). The API - * response only includes a status code.

  • DryRun - - * Validate parameter values and verify that the user or role has permission to - * invoke the function.

+ *

Specify whether to invoke the function synchronously or asynchronously.

+ *
  • REQUEST_RESPONSE (default) - Invoke synchronously. + * This corresponds to the RequestResponse option in the + * InvocationType parameter for the Lambda Invoke + * API.

  • FIRE_AND_FORGET - Invoke asynchronously. + * This corresponds to the Event option in the + * InvocationType parameter for the Lambda Invoke + * API.

For more information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline PipeTargetLambdaFunctionParameters& WithInvocationType(PipeTargetInvocationType&& value) { SetInvocationType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetParameters.h index 694f34ec512..d7229d05ff9 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetParameters.h @@ -35,7 +35,11 @@ namespace Model { /** - *

The parameters required to set up a target for your pipe.

See + *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

See * Also:

AWS * API Reference

@@ -214,7 +218,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline const Aws::String& GetInputTemplate() const{ return m_inputTemplate; } @@ -222,7 +227,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; } @@ -230,7 +236,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline void SetInputTemplate(const Aws::String& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = value; } @@ -238,7 +245,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline void SetInputTemplate(Aws::String&& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = std::move(value); } @@ -246,7 +254,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline void SetInputTemplate(const char* value) { m_inputTemplateHasBeenSet = true; m_inputTemplate.assign(value); } @@ -254,7 +263,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline PipeTargetParameters& WithInputTemplate(const Aws::String& value) { SetInputTemplate(value); return *this;} @@ -262,7 +272,8 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline PipeTargetParameters& WithInputTemplate(Aws::String&& value) { SetInputTemplate(std::move(value)); return *this;} @@ -270,38 +281,39 @@ namespace Model *

Valid JSON text passed to the target. In this case, nothing from the event * itself is passed to the target. For more information, see The JavaScript Object Notation - * (JSON) Data Interchange Format.

+ * (JSON) Data Interchange Format.

To remove an input template, specify + * an empty string.

*/ inline PipeTargetParameters& WithInputTemplate(const char* value) { SetInputTemplate(value); return *this;} /** - *

The parameters for using a Kinesis stream as a source.

+ *

The parameters for using a Kinesis stream as a target.

*/ inline const PipeTargetKinesisStreamParameters& GetKinesisStreamParameters() const{ return m_kinesisStreamParameters; } /** - *

The parameters for using a Kinesis stream as a source.

+ *

The parameters for using a Kinesis stream as a target.

*/ inline bool KinesisStreamParametersHasBeenSet() const { return m_kinesisStreamParametersHasBeenSet; } /** - *

The parameters for using a Kinesis stream as a source.

+ *

The parameters for using a Kinesis stream as a target.

*/ inline void SetKinesisStreamParameters(const PipeTargetKinesisStreamParameters& value) { m_kinesisStreamParametersHasBeenSet = true; m_kinesisStreamParameters = value; } /** - *

The parameters for using a Kinesis stream as a source.

+ *

The parameters for using a Kinesis stream as a target.

*/ inline void SetKinesisStreamParameters(PipeTargetKinesisStreamParameters&& value) { m_kinesisStreamParametersHasBeenSet = true; m_kinesisStreamParameters = std::move(value); } /** - *

The parameters for using a Kinesis stream as a source.

+ *

The parameters for using a Kinesis stream as a target.

*/ inline PipeTargetParameters& WithKinesisStreamParameters(const PipeTargetKinesisStreamParameters& value) { SetKinesisStreamParameters(value); return *this;} /** - *

The parameters for using a Kinesis stream as a source.

+ *

The parameters for using a Kinesis stream as a target.

*/ inline PipeTargetParameters& WithKinesisStreamParameters(PipeTargetKinesisStreamParameters&& value) { SetKinesisStreamParameters(std::move(value)); return *this;} @@ -339,37 +351,37 @@ namespace Model /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

+ * cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

*/ inline const PipeTargetRedshiftDataParameters& GetRedshiftDataParameters() const{ return m_redshiftDataParameters; } /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

+ * cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

*/ inline bool RedshiftDataParametersHasBeenSet() const { return m_redshiftDataParametersHasBeenSet; } /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

+ * cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

*/ inline void SetRedshiftDataParameters(const PipeTargetRedshiftDataParameters& value) { m_redshiftDataParametersHasBeenSet = true; m_redshiftDataParameters = value; } /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

+ * cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

*/ inline void SetRedshiftDataParameters(PipeTargetRedshiftDataParameters&& value) { m_redshiftDataParametersHasBeenSet = true; m_redshiftDataParameters = std::move(value); } /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

+ * cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

*/ inline PipeTargetParameters& WithRedshiftDataParameters(const PipeTargetRedshiftDataParameters& value) { SetRedshiftDataParameters(value); return *this;} /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

+ * cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

*/ inline PipeTargetParameters& WithRedshiftDataParameters(PipeTargetRedshiftDataParameters&& value) { SetRedshiftDataParameters(std::move(value)); return *this;} @@ -406,32 +418,32 @@ namespace Model /** - *

The parameters for using a Amazon SQS stream as a source.

+ *

The parameters for using a Amazon SQS stream as a target.

*/ inline const PipeTargetSqsQueueParameters& GetSqsQueueParameters() const{ return m_sqsQueueParameters; } /** - *

The parameters for using a Amazon SQS stream as a source.

+ *

The parameters for using a Amazon SQS stream as a target.

*/ inline bool SqsQueueParametersHasBeenSet() const { return m_sqsQueueParametersHasBeenSet; } /** - *

The parameters for using a Amazon SQS stream as a source.

+ *

The parameters for using a Amazon SQS stream as a target.

*/ inline void SetSqsQueueParameters(const PipeTargetSqsQueueParameters& value) { m_sqsQueueParametersHasBeenSet = true; m_sqsQueueParameters = value; } /** - *

The parameters for using a Amazon SQS stream as a source.

+ *

The parameters for using a Amazon SQS stream as a target.

*/ inline void SetSqsQueueParameters(PipeTargetSqsQueueParameters&& value) { m_sqsQueueParametersHasBeenSet = true; m_sqsQueueParameters = std::move(value); } /** - *

The parameters for using a Amazon SQS stream as a source.

+ *

The parameters for using a Amazon SQS stream as a target.

*/ inline PipeTargetParameters& WithSqsQueueParameters(const PipeTargetSqsQueueParameters& value) { SetSqsQueueParameters(value); return *this;} /** - *

The parameters for using a Amazon SQS stream as a source.

+ *

The parameters for using a Amazon SQS stream as a target.

*/ inline PipeTargetParameters& WithSqsQueueParameters(PipeTargetSqsQueueParameters&& value) { SetSqsQueueParameters(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetRedshiftDataParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetRedshiftDataParameters.h index ec994b15473..8015a19f6ce 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetRedshiftDataParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetRedshiftDataParameters.h @@ -26,8 +26,8 @@ namespace Model /** *

These are custom parameters to be used when the target is a Amazon Redshift - * cluster to invoke the Amazon Redshift Data API ExecuteStatement.

See - * Also:

See Also:

AWS * API Reference

*/ @@ -140,49 +140,49 @@ namespace Model /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline const Aws::String& GetSecretManagerArn() const{ return m_secretManagerArn; } /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline bool SecretManagerArnHasBeenSet() const { return m_secretManagerArnHasBeenSet; } /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline void SetSecretManagerArn(const Aws::String& value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn = value; } /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline void SetSecretManagerArn(Aws::String&& value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn = std::move(value); } /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline void SetSecretManagerArn(const char* value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn.assign(value); } /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline PipeTargetRedshiftDataParameters& WithSecretManagerArn(const Aws::String& value) { SetSecretManagerArn(value); return *this;} /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline PipeTargetRedshiftDataParameters& WithSecretManagerArn(Aws::String&& value) { SetSecretManagerArn(std::move(value)); return *this;} /** *

The name or ARN of the secret that enables access to the database. Required - * when authenticating using SageMaker.

+ * when authenticating using Secrets Manager.

*/ inline PipeTargetRedshiftDataParameters& WithSecretManagerArn(const char* value) { SetSecretManagerArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetSqsQueueParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetSqsQueueParameters.h index c4c52e0c0c3..1d073ead17d 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetSqsQueueParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetSqsQueueParameters.h @@ -24,7 +24,7 @@ namespace Model { /** - *

The parameters for using a Amazon SQS stream as a source.

See + *

The parameters for using a Amazon SQS stream as a target.

See * Also:

AWS * API Reference

diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetStateMachineParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetStateMachineParameters.h index 63e7344adc0..931b0c19615 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetStateMachineParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/PipeTargetStateMachineParameters.h @@ -39,32 +39,104 @@ namespace Model /** - *

Specify whether to wait for the state machine to finish or not.

+ *

Specify whether to invoke the Step Functions state machine synchronously or + * asynchronously.

  • REQUEST_RESPONSE (default) - + * Invoke synchronously. For more information, see StartSyncExecution + * in the Step Functions API Reference.

    + * REQUEST_RESPONSE is not supported for STANDARD state + * machine workflows.

  • FIRE_AND_FORGET - + * Invoke asynchronously. For more information, see StartExecution + * in the Step Functions API Reference.

For more + * information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline const PipeTargetInvocationType& GetInvocationType() const{ return m_invocationType; } /** - *

Specify whether to wait for the state machine to finish or not.

+ *

Specify whether to invoke the Step Functions state machine synchronously or + * asynchronously.

  • REQUEST_RESPONSE (default) - + * Invoke synchronously. For more information, see StartSyncExecution + * in the Step Functions API Reference.

    + * REQUEST_RESPONSE is not supported for STANDARD state + * machine workflows.

  • FIRE_AND_FORGET - + * Invoke asynchronously. For more information, see StartExecution + * in the Step Functions API Reference.

For more + * information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; } /** - *

Specify whether to wait for the state machine to finish or not.

+ *

Specify whether to invoke the Step Functions state machine synchronously or + * asynchronously.

  • REQUEST_RESPONSE (default) - + * Invoke synchronously. For more information, see StartSyncExecution + * in the Step Functions API Reference.

    + * REQUEST_RESPONSE is not supported for STANDARD state + * machine workflows.

  • FIRE_AND_FORGET - + * Invoke asynchronously. For more information, see StartExecution + * in the Step Functions API Reference.

For more + * information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline void SetInvocationType(const PipeTargetInvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; } /** - *

Specify whether to wait for the state machine to finish or not.

+ *

Specify whether to invoke the Step Functions state machine synchronously or + * asynchronously.

  • REQUEST_RESPONSE (default) - + * Invoke synchronously. For more information, see StartSyncExecution + * in the Step Functions API Reference.

    + * REQUEST_RESPONSE is not supported for STANDARD state + * machine workflows.

  • FIRE_AND_FORGET - + * Invoke asynchronously. For more information, see StartExecution + * in the Step Functions API Reference.

For more + * information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline void SetInvocationType(PipeTargetInvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); } /** - *

Specify whether to wait for the state machine to finish or not.

+ *

Specify whether to invoke the Step Functions state machine synchronously or + * asynchronously.

  • REQUEST_RESPONSE (default) - + * Invoke synchronously. For more information, see StartSyncExecution + * in the Step Functions API Reference.

    + * REQUEST_RESPONSE is not supported for STANDARD state + * machine workflows.

  • FIRE_AND_FORGET - + * Invoke asynchronously. For more information, see StartExecution + * in the Step Functions API Reference.

For more + * information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline PipeTargetStateMachineParameters& WithInvocationType(const PipeTargetInvocationType& value) { SetInvocationType(value); return *this;} /** - *

Specify whether to wait for the state machine to finish or not.

+ *

Specify whether to invoke the Step Functions state machine synchronously or + * asynchronously.

  • REQUEST_RESPONSE (default) - + * Invoke synchronously. For more information, see StartSyncExecution + * in the Step Functions API Reference.

    + * REQUEST_RESPONSE is not supported for STANDARD state + * machine workflows.

  • FIRE_AND_FORGET - + * Invoke asynchronously. For more information, see StartExecution + * in the Step Functions API Reference.

For more + * information, see Invocation + * types in the Amazon EventBridge User Guide.

*/ inline PipeTargetStateMachineParameters& WithInvocationType(PipeTargetInvocationType&& value) { SetInvocationType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3LogDestination.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3LogDestination.h new file mode 100644 index 00000000000..9515db80e9e --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3LogDestination.h @@ -0,0 +1,278 @@ +/** + * 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 Pipes +{ +namespace Model +{ + + /** + *

The Amazon S3 logging configuration settings for the pipe.

See + * Also:

AWS + * API Reference

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

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline const Aws::String& GetBucketName() const{ return m_bucketName; } + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline S3LogDestination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline S3LogDestination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} + + /** + *

The name of the Amazon S3 bucket to which EventBridge delivers the log + * records for the pipe.

+ */ + inline S3LogDestination& WithBucketName(const char* value) { SetBucketName(value); return *this;} + + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; } + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; } + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; } + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); } + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); } + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline S3LogDestination& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;} + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline S3LogDestination& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;} + + /** + *

The Amazon Web Services account that owns the Amazon S3 bucket to which + * EventBridge delivers the log records for the pipe.

+ */ + inline S3LogDestination& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;} + + + /** + *

The format EventBridge uses for the log records.

+ */ + inline const S3OutputFormat& GetOutputFormat() const{ return m_outputFormat; } + + /** + *

The format EventBridge uses for the log records.

+ */ + inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } + + /** + *

The format EventBridge uses for the log records.

+ */ + inline void SetOutputFormat(const S3OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; } + + /** + *

The format EventBridge uses for the log records.

+ */ + inline void SetOutputFormat(S3OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); } + + /** + *

The format EventBridge uses for the log records.

+ */ + inline S3LogDestination& WithOutputFormat(const S3OutputFormat& value) { SetOutputFormat(value); return *this;} + + /** + *

The format EventBridge uses for the log records.

+ */ + inline S3LogDestination& WithOutputFormat(S3OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;} + + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline const Aws::String& GetPrefix() const{ return m_prefix; } + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline S3LogDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline S3LogDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + + /** + *

The prefix text with which to begin Amazon S3 log object names.

For + * more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline S3LogDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;} + + private: + + Aws::String m_bucketName; + bool m_bucketNameHasBeenSet = false; + + Aws::String m_bucketOwner; + bool m_bucketOwnerHasBeenSet = false; + + S3OutputFormat m_outputFormat; + bool m_outputFormatHasBeenSet = false; + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3LogDestinationParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3LogDestinationParameters.h new file mode 100644 index 00000000000..0fb8f913bcd --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3LogDestinationParameters.h @@ -0,0 +1,302 @@ +/** + * 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 Pipes +{ +namespace Model +{ + + /** + *

The Amazon S3 logging configuration settings for the pipe.

See + * Also:

AWS + * API Reference

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

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline const Aws::String& GetBucketName() const{ return m_bucketName; } + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline S3LogDestinationParameters& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline S3LogDestinationParameters& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} + + /** + *

Specifies the name of the Amazon S3 bucket to which EventBridge delivers the + * log records for the pipe.

+ */ + inline S3LogDestinationParameters& WithBucketName(const char* value) { SetBucketName(value); return *this;} + + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; } + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; } + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; } + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); } + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); } + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline S3LogDestinationParameters& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;} + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline S3LogDestinationParameters& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;} + + /** + *

Specifies the Amazon Web Services account that owns the Amazon S3 bucket to + * which EventBridge delivers the log records for the pipe.

+ */ + inline S3LogDestinationParameters& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;} + + + /** + *

How EventBridge should format the log records.

+ */ + inline const S3OutputFormat& GetOutputFormat() const{ return m_outputFormat; } + + /** + *

How EventBridge should format the log records.

+ */ + inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } + + /** + *

How EventBridge should format the log records.

+ */ + inline void SetOutputFormat(const S3OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; } + + /** + *

How EventBridge should format the log records.

+ */ + inline void SetOutputFormat(S3OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); } + + /** + *

How EventBridge should format the log records.

+ */ + inline S3LogDestinationParameters& WithOutputFormat(const S3OutputFormat& value) { SetOutputFormat(value); return *this;} + + /** + *

How EventBridge should format the log records.

+ */ + inline S3LogDestinationParameters& WithOutputFormat(S3OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;} + + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline const Aws::String& GetPrefix() const{ return m_prefix; } + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline S3LogDestinationParameters& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline S3LogDestinationParameters& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + + /** + *

Specifies any prefix text with which to begin Amazon S3 log object names.

+ *

You can use prefixes to organize the data that you store in Amazon S3 + * buckets. A prefix is a string of characters at the beginning of the object key + * name. A prefix can be any length, subject to the maximum length of the object + * key name (1,024 bytes). For more information, see Organizing + * objects using prefixes in the Amazon Simple Storage Service User + * Guide.

+ */ + inline S3LogDestinationParameters& WithPrefix(const char* value) { SetPrefix(value); return *this;} + + private: + + Aws::String m_bucketName; + bool m_bucketNameHasBeenSet = false; + + Aws::String m_bucketOwner; + bool m_bucketOwnerHasBeenSet = false; + + S3OutputFormat m_outputFormat; + bool m_outputFormatHasBeenSet = false; + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + }; + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3OutputFormat.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3OutputFormat.h new file mode 100644 index 00000000000..4037b435689 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/S3OutputFormat.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + enum class S3OutputFormat + { + NOT_SET, + json, + plain, + w3c + }; + +namespace S3OutputFormatMapper +{ +AWS_PIPES_API S3OutputFormat GetS3OutputFormatForName(const Aws::String& name); + +AWS_PIPES_API Aws::String GetNameForS3OutputFormat(S3OutputFormat value); +} // namespace S3OutputFormatMapper +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeRequest.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeRequest.h index f75f0f388f9..a19872fcf4b 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeRequest.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -180,6 +181,37 @@ namespace Model inline UpdatePipeRequest& WithEnrichmentParameters(PipeEnrichmentParameters&& value) { SetEnrichmentParameters(std::move(value)); return *this;} + /** + *

The logging configuration settings for the pipe.

+ */ + inline const PipeLogConfigurationParameters& GetLogConfiguration() const{ return m_logConfiguration; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline void SetLogConfiguration(const PipeLogConfigurationParameters& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline void SetLogConfiguration(PipeLogConfigurationParameters&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); } + + /** + *

The logging configuration settings for the pipe.

+ */ + inline UpdatePipeRequest& WithLogConfiguration(const PipeLogConfigurationParameters& value) { SetLogConfiguration(value); return *this;} + + /** + *

The logging configuration settings for the pipe.

+ */ + inline UpdatePipeRequest& WithLogConfiguration(PipeLogConfigurationParameters&& value) { SetLogConfiguration(std::move(value)); return *this;} + + /** *

The name of the pipe.

*/ @@ -335,32 +367,56 @@ namespace Model /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline bool TargetParametersHasBeenSet() const { return m_targetParametersHasBeenSet; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParametersHasBeenSet = true; m_targetParameters = value; } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParametersHasBeenSet = true; m_targetParameters = std::move(value); } /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline UpdatePipeRequest& WithTargetParameters(const PipeTargetParameters& value) { SetTargetParameters(value); return *this;} /** - *

The parameters required to set up a target for your pipe.

+ *

The parameters required to set up a target for your pipe.

For more + * information about pipe target parameters, including how to use dynamic path + * parameters, see Target + * parameters in the Amazon EventBridge User Guide.

*/ inline UpdatePipeRequest& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;} @@ -378,6 +434,9 @@ namespace Model PipeEnrichmentParameters m_enrichmentParameters; bool m_enrichmentParametersHasBeenSet = false; + PipeLogConfigurationParameters m_logConfiguration; + bool m_logConfigurationHasBeenSet = false; + Aws::String m_name; bool m_nameHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeSourceParameters.h b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeSourceParameters.h index 6e61792c116..47a55f116d4 100644 --- a/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeSourceParameters.h +++ b/generated/src/aws-cpp-sdk-pipes/include/aws/pipes/model/UpdatePipeSourceParameters.h @@ -108,48 +108,54 @@ namespace Model /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); } /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ inline UpdatePipeSourceParameters& WithFilterCriteria(const FilterCriteria& value) { SetFilterCriteria(value); return *this;} /** - *

The collection of event patterns used to filter events. For more information, - * see The collection of event patterns used to filter events.

To remove a + * filter, specify a FilterCriteria object with an empty array of + * Filter objects.

For more information, see Events * and Event Patterns in the Amazon EventBridge User Guide.

*/ diff --git a/generated/src/aws-cpp-sdk-pipes/source/PipesEndpointRules.cpp b/generated/src/aws-cpp-sdk-pipes/source/PipesEndpointRules.cpp index 48c5b7b75b8..9ed55627c08 100644 --- a/generated/src/aws-cpp-sdk-pipes/source/PipesEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-pipes/source/PipesEndpointRules.cpp @@ -51,119 +51,119 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', ',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', '{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', -'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', -'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', -' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', -'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l', +'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a', +'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r', +'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':', +'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a', +'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', +'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a', +'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', +',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','p','i','p','e','s','-','f','i','p','s','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l', +'S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', +'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', +'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F', +'I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a', +'b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', +'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b', +'o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',', +'t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', +'l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S', +'"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', +'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','p','i','p','e','s','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e', 's','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', -',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', -'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','p','i','p','e','s','-','f', -'i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', -'o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a', -'r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t', -'i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n', -'e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',', -'"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"', -'f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s', -'u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'p','i','p','e','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"', -'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', -'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', -'"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h', -'i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p', -'p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u', -'e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', -'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']', -'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':', -'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"', -':','"','h','t','t','p','s',':','/','/','p','i','p','e','s','.','{','R','e','g','i','o','n','}','.', -'{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c', -'k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"', -':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':', -'"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c', -'k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', -'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D', -'u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','p','i','p','e','s','.','{','R','e','g','i','o','n', -'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', -'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', -'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', -'n','t','"','}',']','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i', -'g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"', -',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',']','}','\0' +'"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P', +'S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', +'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F', +'I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a', +'c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', +'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', +'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/', +'/','p','i','p','e','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i', +'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', +'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a', +'c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', +'t','p','s',':','/','/','p','i','p','e','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',', +'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n', +'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s', +'i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']','}','\0' }}; const char* PipesEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/CloudwatchLogsLogDestination.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/CloudwatchLogsLogDestination.cpp new file mode 100644 index 00000000000..44953f508b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/CloudwatchLogsLogDestination.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + +CloudwatchLogsLogDestination::CloudwatchLogsLogDestination() : + m_logGroupArnHasBeenSet(false) +{ +} + +CloudwatchLogsLogDestination::CloudwatchLogsLogDestination(JsonView jsonValue) : + m_logGroupArnHasBeenSet(false) +{ + *this = jsonValue; +} + +CloudwatchLogsLogDestination& CloudwatchLogsLogDestination::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("LogGroupArn")) + { + m_logGroupArn = jsonValue.GetString("LogGroupArn"); + + m_logGroupArnHasBeenSet = true; + } + + return *this; +} + +JsonValue CloudwatchLogsLogDestination::Jsonize() const +{ + JsonValue payload; + + if(m_logGroupArnHasBeenSet) + { + payload.WithString("LogGroupArn", m_logGroupArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/CloudwatchLogsLogDestinationParameters.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/CloudwatchLogsLogDestinationParameters.cpp new file mode 100644 index 00000000000..378f4b8a072 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/CloudwatchLogsLogDestinationParameters.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + +CloudwatchLogsLogDestinationParameters::CloudwatchLogsLogDestinationParameters() : + m_logGroupArnHasBeenSet(false) +{ +} + +CloudwatchLogsLogDestinationParameters::CloudwatchLogsLogDestinationParameters(JsonView jsonValue) : + m_logGroupArnHasBeenSet(false) +{ + *this = jsonValue; +} + +CloudwatchLogsLogDestinationParameters& CloudwatchLogsLogDestinationParameters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("LogGroupArn")) + { + m_logGroupArn = jsonValue.GetString("LogGroupArn"); + + m_logGroupArnHasBeenSet = true; + } + + return *this; +} + +JsonValue CloudwatchLogsLogDestinationParameters::Jsonize() const +{ + JsonValue payload; + + if(m_logGroupArnHasBeenSet) + { + payload.WithString("LogGroupArn", m_logGroupArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/CreatePipeRequest.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/CreatePipeRequest.cpp index ef1f2d89fcc..c30e70799b7 100644 --- a/generated/src/aws-cpp-sdk-pipes/source/model/CreatePipeRequest.cpp +++ b/generated/src/aws-cpp-sdk-pipes/source/model/CreatePipeRequest.cpp @@ -18,6 +18,7 @@ CreatePipeRequest::CreatePipeRequest() : m_desiredStateHasBeenSet(false), m_enrichmentHasBeenSet(false), m_enrichmentParametersHasBeenSet(false), + m_logConfigurationHasBeenSet(false), m_nameHasBeenSet(false), m_roleArnHasBeenSet(false), m_sourceHasBeenSet(false), @@ -55,6 +56,12 @@ Aws::String CreatePipeRequest::SerializePayload() const } + if(m_logConfigurationHasBeenSet) + { + payload.WithObject("LogConfiguration", m_logConfiguration.Jsonize()); + + } + if(m_roleArnHasBeenSet) { payload.WithString("RoleArn", m_roleArn); diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/DescribePipeResult.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/DescribePipeResult.cpp index d6ee5da2e8b..e5f6726b41b 100644 --- a/generated/src/aws-cpp-sdk-pipes/source/model/DescribePipeResult.cpp +++ b/generated/src/aws-cpp-sdk-pipes/source/model/DescribePipeResult.cpp @@ -81,6 +81,12 @@ DescribePipeResult& DescribePipeResult::operator =(const Aws::AmazonWebServiceRe } + if(jsonValue.ValueExists("LogConfiguration")) + { + m_logConfiguration = jsonValue.GetObject("LogConfiguration"); + + } + if(jsonValue.ValueExists("Name")) { m_name = jsonValue.GetString("Name"); diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/FirehoseLogDestination.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/FirehoseLogDestination.cpp new file mode 100644 index 00000000000..4575387adf9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/FirehoseLogDestination.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + +FirehoseLogDestination::FirehoseLogDestination() : + m_deliveryStreamArnHasBeenSet(false) +{ +} + +FirehoseLogDestination::FirehoseLogDestination(JsonView jsonValue) : + m_deliveryStreamArnHasBeenSet(false) +{ + *this = jsonValue; +} + +FirehoseLogDestination& FirehoseLogDestination::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DeliveryStreamArn")) + { + m_deliveryStreamArn = jsonValue.GetString("DeliveryStreamArn"); + + m_deliveryStreamArnHasBeenSet = true; + } + + return *this; +} + +JsonValue FirehoseLogDestination::Jsonize() const +{ + JsonValue payload; + + if(m_deliveryStreamArnHasBeenSet) + { + payload.WithString("DeliveryStreamArn", m_deliveryStreamArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/FirehoseLogDestinationParameters.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/FirehoseLogDestinationParameters.cpp new file mode 100644 index 00000000000..1f28d823849 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/FirehoseLogDestinationParameters.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Pipes +{ +namespace Model +{ + +FirehoseLogDestinationParameters::FirehoseLogDestinationParameters() : + m_deliveryStreamArnHasBeenSet(false) +{ +} + +FirehoseLogDestinationParameters::FirehoseLogDestinationParameters(JsonView jsonValue) : + m_deliveryStreamArnHasBeenSet(false) +{ + *this = jsonValue; +} + +FirehoseLogDestinationParameters& FirehoseLogDestinationParameters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DeliveryStreamArn")) + { + m_deliveryStreamArn = jsonValue.GetString("DeliveryStreamArn"); + + m_deliveryStreamArnHasBeenSet = true; + } + + return *this; +} + +JsonValue FirehoseLogDestinationParameters::Jsonize() const +{ + JsonValue payload; + + if(m_deliveryStreamArnHasBeenSet) + { + payload.WithString("DeliveryStreamArn", m_deliveryStreamArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/IncludeExecutionDataOption.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/IncludeExecutionDataOption.cpp new file mode 100644 index 00000000000..d2c70d92e7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/IncludeExecutionDataOption.cpp @@ -0,0 +1,65 @@ +/** + * 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 Pipes + { + namespace Model + { + namespace IncludeExecutionDataOptionMapper + { + + static const int ALL_HASH = HashingUtils::HashString("ALL"); + + + IncludeExecutionDataOption GetIncludeExecutionDataOptionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ALL_HASH) + { + return IncludeExecutionDataOption::ALL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IncludeExecutionDataOption::NOT_SET; + } + + Aws::String GetNameForIncludeExecutionDataOption(IncludeExecutionDataOption enumValue) + { + switch(enumValue) + { + case IncludeExecutionDataOption::NOT_SET: + return {}; + case IncludeExecutionDataOption::ALL: + return "ALL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IncludeExecutionDataOptionMapper + } // namespace Model + } // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/LogLevel.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/LogLevel.cpp new file mode 100644 index 00000000000..a1832e10c44 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/LogLevel.cpp @@ -0,0 +1,86 @@ +/** + * 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 Pipes + { + namespace Model + { + namespace LogLevelMapper + { + + static const int OFF_HASH = HashingUtils::HashString("OFF"); + static const int ERROR__HASH = HashingUtils::HashString("ERROR"); + static const int INFO_HASH = HashingUtils::HashString("INFO"); + static const int TRACE_HASH = HashingUtils::HashString("TRACE"); + + + LogLevel GetLogLevelForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == OFF_HASH) + { + return LogLevel::OFF; + } + else if (hashCode == ERROR__HASH) + { + return LogLevel::ERROR_; + } + else if (hashCode == INFO_HASH) + { + return LogLevel::INFO; + } + else if (hashCode == TRACE_HASH) + { + return LogLevel::TRACE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return LogLevel::NOT_SET; + } + + Aws::String GetNameForLogLevel(LogLevel enumValue) + { + switch(enumValue) + { + case LogLevel::NOT_SET: + return {}; + case LogLevel::OFF: + return "OFF"; + case LogLevel::ERROR_: + return "ERROR"; + case LogLevel::INFO: + return "INFO"; + case LogLevel::TRACE: + return "TRACE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace LogLevelMapper + } // namespace Model + } // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/PipeLogConfiguration.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/PipeLogConfiguration.cpp new file mode 100644 index 00000000000..70cffef82e6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/PipeLogConfiguration.cpp @@ -0,0 +1,128 @@ +/** + * 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 Pipes +{ +namespace Model +{ + +PipeLogConfiguration::PipeLogConfiguration() : + m_cloudwatchLogsLogDestinationHasBeenSet(false), + m_firehoseLogDestinationHasBeenSet(false), + m_includeExecutionDataHasBeenSet(false), + m_level(LogLevel::NOT_SET), + m_levelHasBeenSet(false), + m_s3LogDestinationHasBeenSet(false) +{ +} + +PipeLogConfiguration::PipeLogConfiguration(JsonView jsonValue) : + m_cloudwatchLogsLogDestinationHasBeenSet(false), + m_firehoseLogDestinationHasBeenSet(false), + m_includeExecutionDataHasBeenSet(false), + m_level(LogLevel::NOT_SET), + m_levelHasBeenSet(false), + m_s3LogDestinationHasBeenSet(false) +{ + *this = jsonValue; +} + +PipeLogConfiguration& PipeLogConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CloudwatchLogsLogDestination")) + { + m_cloudwatchLogsLogDestination = jsonValue.GetObject("CloudwatchLogsLogDestination"); + + m_cloudwatchLogsLogDestinationHasBeenSet = true; + } + + if(jsonValue.ValueExists("FirehoseLogDestination")) + { + m_firehoseLogDestination = jsonValue.GetObject("FirehoseLogDestination"); + + m_firehoseLogDestinationHasBeenSet = true; + } + + if(jsonValue.ValueExists("IncludeExecutionData")) + { + Aws::Utils::Array includeExecutionDataJsonList = jsonValue.GetArray("IncludeExecutionData"); + for(unsigned includeExecutionDataIndex = 0; includeExecutionDataIndex < includeExecutionDataJsonList.GetLength(); ++includeExecutionDataIndex) + { + m_includeExecutionData.push_back(IncludeExecutionDataOptionMapper::GetIncludeExecutionDataOptionForName(includeExecutionDataJsonList[includeExecutionDataIndex].AsString())); + } + m_includeExecutionDataHasBeenSet = true; + } + + if(jsonValue.ValueExists("Level")) + { + m_level = LogLevelMapper::GetLogLevelForName(jsonValue.GetString("Level")); + + m_levelHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3LogDestination")) + { + m_s3LogDestination = jsonValue.GetObject("S3LogDestination"); + + m_s3LogDestinationHasBeenSet = true; + } + + return *this; +} + +JsonValue PipeLogConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_cloudwatchLogsLogDestinationHasBeenSet) + { + payload.WithObject("CloudwatchLogsLogDestination", m_cloudwatchLogsLogDestination.Jsonize()); + + } + + if(m_firehoseLogDestinationHasBeenSet) + { + payload.WithObject("FirehoseLogDestination", m_firehoseLogDestination.Jsonize()); + + } + + if(m_includeExecutionDataHasBeenSet) + { + Aws::Utils::Array includeExecutionDataJsonList(m_includeExecutionData.size()); + for(unsigned includeExecutionDataIndex = 0; includeExecutionDataIndex < includeExecutionDataJsonList.GetLength(); ++includeExecutionDataIndex) + { + includeExecutionDataJsonList[includeExecutionDataIndex].AsString(IncludeExecutionDataOptionMapper::GetNameForIncludeExecutionDataOption(m_includeExecutionData[includeExecutionDataIndex])); + } + payload.WithArray("IncludeExecutionData", std::move(includeExecutionDataJsonList)); + + } + + if(m_levelHasBeenSet) + { + payload.WithString("Level", LogLevelMapper::GetNameForLogLevel(m_level)); + } + + if(m_s3LogDestinationHasBeenSet) + { + payload.WithObject("S3LogDestination", m_s3LogDestination.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/PipeLogConfigurationParameters.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/PipeLogConfigurationParameters.cpp new file mode 100644 index 00000000000..e5a3b3b5106 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/PipeLogConfigurationParameters.cpp @@ -0,0 +1,128 @@ +/** + * 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 Pipes +{ +namespace Model +{ + +PipeLogConfigurationParameters::PipeLogConfigurationParameters() : + m_cloudwatchLogsLogDestinationHasBeenSet(false), + m_firehoseLogDestinationHasBeenSet(false), + m_includeExecutionDataHasBeenSet(false), + m_level(LogLevel::NOT_SET), + m_levelHasBeenSet(false), + m_s3LogDestinationHasBeenSet(false) +{ +} + +PipeLogConfigurationParameters::PipeLogConfigurationParameters(JsonView jsonValue) : + m_cloudwatchLogsLogDestinationHasBeenSet(false), + m_firehoseLogDestinationHasBeenSet(false), + m_includeExecutionDataHasBeenSet(false), + m_level(LogLevel::NOT_SET), + m_levelHasBeenSet(false), + m_s3LogDestinationHasBeenSet(false) +{ + *this = jsonValue; +} + +PipeLogConfigurationParameters& PipeLogConfigurationParameters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CloudwatchLogsLogDestination")) + { + m_cloudwatchLogsLogDestination = jsonValue.GetObject("CloudwatchLogsLogDestination"); + + m_cloudwatchLogsLogDestinationHasBeenSet = true; + } + + if(jsonValue.ValueExists("FirehoseLogDestination")) + { + m_firehoseLogDestination = jsonValue.GetObject("FirehoseLogDestination"); + + m_firehoseLogDestinationHasBeenSet = true; + } + + if(jsonValue.ValueExists("IncludeExecutionData")) + { + Aws::Utils::Array includeExecutionDataJsonList = jsonValue.GetArray("IncludeExecutionData"); + for(unsigned includeExecutionDataIndex = 0; includeExecutionDataIndex < includeExecutionDataJsonList.GetLength(); ++includeExecutionDataIndex) + { + m_includeExecutionData.push_back(IncludeExecutionDataOptionMapper::GetIncludeExecutionDataOptionForName(includeExecutionDataJsonList[includeExecutionDataIndex].AsString())); + } + m_includeExecutionDataHasBeenSet = true; + } + + if(jsonValue.ValueExists("Level")) + { + m_level = LogLevelMapper::GetLogLevelForName(jsonValue.GetString("Level")); + + m_levelHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3LogDestination")) + { + m_s3LogDestination = jsonValue.GetObject("S3LogDestination"); + + m_s3LogDestinationHasBeenSet = true; + } + + return *this; +} + +JsonValue PipeLogConfigurationParameters::Jsonize() const +{ + JsonValue payload; + + if(m_cloudwatchLogsLogDestinationHasBeenSet) + { + payload.WithObject("CloudwatchLogsLogDestination", m_cloudwatchLogsLogDestination.Jsonize()); + + } + + if(m_firehoseLogDestinationHasBeenSet) + { + payload.WithObject("FirehoseLogDestination", m_firehoseLogDestination.Jsonize()); + + } + + if(m_includeExecutionDataHasBeenSet) + { + Aws::Utils::Array includeExecutionDataJsonList(m_includeExecutionData.size()); + for(unsigned includeExecutionDataIndex = 0; includeExecutionDataIndex < includeExecutionDataJsonList.GetLength(); ++includeExecutionDataIndex) + { + includeExecutionDataJsonList[includeExecutionDataIndex].AsString(IncludeExecutionDataOptionMapper::GetNameForIncludeExecutionDataOption(m_includeExecutionData[includeExecutionDataIndex])); + } + payload.WithArray("IncludeExecutionData", std::move(includeExecutionDataJsonList)); + + } + + if(m_levelHasBeenSet) + { + payload.WithString("Level", LogLevelMapper::GetNameForLogLevel(m_level)); + } + + if(m_s3LogDestinationHasBeenSet) + { + payload.WithObject("S3LogDestination", m_s3LogDestination.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/PipeState.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/PipeState.cpp index 11164977369..309e1202830 100644 --- a/generated/src/aws-cpp-sdk-pipes/source/model/PipeState.cpp +++ b/generated/src/aws-cpp-sdk-pipes/source/model/PipeState.cpp @@ -31,6 +31,10 @@ namespace Aws static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); static const int START_FAILED_HASH = HashingUtils::HashString("START_FAILED"); static const int STOP_FAILED_HASH = HashingUtils::HashString("STOP_FAILED"); + static const int DELETE_FAILED_HASH = HashingUtils::HashString("DELETE_FAILED"); + static const int CREATE_ROLLBACK_FAILED_HASH = HashingUtils::HashString("CREATE_ROLLBACK_FAILED"); + static const int DELETE_ROLLBACK_FAILED_HASH = HashingUtils::HashString("DELETE_ROLLBACK_FAILED"); + static const int UPDATE_ROLLBACK_FAILED_HASH = HashingUtils::HashString("UPDATE_ROLLBACK_FAILED"); PipeState GetPipeStateForName(const Aws::String& name) @@ -80,6 +84,22 @@ namespace Aws { return PipeState::STOP_FAILED; } + else if (hashCode == DELETE_FAILED_HASH) + { + return PipeState::DELETE_FAILED; + } + else if (hashCode == CREATE_ROLLBACK_FAILED_HASH) + { + return PipeState::CREATE_ROLLBACK_FAILED; + } + else if (hashCode == DELETE_ROLLBACK_FAILED_HASH) + { + return PipeState::DELETE_ROLLBACK_FAILED; + } + else if (hashCode == UPDATE_ROLLBACK_FAILED_HASH) + { + return PipeState::UPDATE_ROLLBACK_FAILED; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -118,6 +138,14 @@ namespace Aws return "START_FAILED"; case PipeState::STOP_FAILED: return "STOP_FAILED"; + case PipeState::DELETE_FAILED: + return "DELETE_FAILED"; + case PipeState::CREATE_ROLLBACK_FAILED: + return "CREATE_ROLLBACK_FAILED"; + case PipeState::DELETE_ROLLBACK_FAILED: + return "DELETE_ROLLBACK_FAILED"; + case PipeState::UPDATE_ROLLBACK_FAILED: + return "UPDATE_ROLLBACK_FAILED"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/S3LogDestination.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/S3LogDestination.cpp new file mode 100644 index 00000000000..254d2b47e6a --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/S3LogDestination.cpp @@ -0,0 +1,105 @@ +/** + * 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 Pipes +{ +namespace Model +{ + +S3LogDestination::S3LogDestination() : + m_bucketNameHasBeenSet(false), + m_bucketOwnerHasBeenSet(false), + m_outputFormat(S3OutputFormat::NOT_SET), + m_outputFormatHasBeenSet(false), + m_prefixHasBeenSet(false) +{ +} + +S3LogDestination::S3LogDestination(JsonView jsonValue) : + m_bucketNameHasBeenSet(false), + m_bucketOwnerHasBeenSet(false), + m_outputFormat(S3OutputFormat::NOT_SET), + m_outputFormatHasBeenSet(false), + m_prefixHasBeenSet(false) +{ + *this = jsonValue; +} + +S3LogDestination& S3LogDestination::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("BucketName")) + { + m_bucketName = jsonValue.GetString("BucketName"); + + m_bucketNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("BucketOwner")) + { + m_bucketOwner = jsonValue.GetString("BucketOwner"); + + m_bucketOwnerHasBeenSet = true; + } + + if(jsonValue.ValueExists("OutputFormat")) + { + m_outputFormat = S3OutputFormatMapper::GetS3OutputFormatForName(jsonValue.GetString("OutputFormat")); + + m_outputFormatHasBeenSet = true; + } + + if(jsonValue.ValueExists("Prefix")) + { + m_prefix = jsonValue.GetString("Prefix"); + + m_prefixHasBeenSet = true; + } + + return *this; +} + +JsonValue S3LogDestination::Jsonize() const +{ + JsonValue payload; + + if(m_bucketNameHasBeenSet) + { + payload.WithString("BucketName", m_bucketName); + + } + + if(m_bucketOwnerHasBeenSet) + { + payload.WithString("BucketOwner", m_bucketOwner); + + } + + if(m_outputFormatHasBeenSet) + { + payload.WithString("OutputFormat", S3OutputFormatMapper::GetNameForS3OutputFormat(m_outputFormat)); + } + + if(m_prefixHasBeenSet) + { + payload.WithString("Prefix", m_prefix); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/S3LogDestinationParameters.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/S3LogDestinationParameters.cpp new file mode 100644 index 00000000000..177d63748e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/S3LogDestinationParameters.cpp @@ -0,0 +1,105 @@ +/** + * 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 Pipes +{ +namespace Model +{ + +S3LogDestinationParameters::S3LogDestinationParameters() : + m_bucketNameHasBeenSet(false), + m_bucketOwnerHasBeenSet(false), + m_outputFormat(S3OutputFormat::NOT_SET), + m_outputFormatHasBeenSet(false), + m_prefixHasBeenSet(false) +{ +} + +S3LogDestinationParameters::S3LogDestinationParameters(JsonView jsonValue) : + m_bucketNameHasBeenSet(false), + m_bucketOwnerHasBeenSet(false), + m_outputFormat(S3OutputFormat::NOT_SET), + m_outputFormatHasBeenSet(false), + m_prefixHasBeenSet(false) +{ + *this = jsonValue; +} + +S3LogDestinationParameters& S3LogDestinationParameters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("BucketName")) + { + m_bucketName = jsonValue.GetString("BucketName"); + + m_bucketNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("BucketOwner")) + { + m_bucketOwner = jsonValue.GetString("BucketOwner"); + + m_bucketOwnerHasBeenSet = true; + } + + if(jsonValue.ValueExists("OutputFormat")) + { + m_outputFormat = S3OutputFormatMapper::GetS3OutputFormatForName(jsonValue.GetString("OutputFormat")); + + m_outputFormatHasBeenSet = true; + } + + if(jsonValue.ValueExists("Prefix")) + { + m_prefix = jsonValue.GetString("Prefix"); + + m_prefixHasBeenSet = true; + } + + return *this; +} + +JsonValue S3LogDestinationParameters::Jsonize() const +{ + JsonValue payload; + + if(m_bucketNameHasBeenSet) + { + payload.WithString("BucketName", m_bucketName); + + } + + if(m_bucketOwnerHasBeenSet) + { + payload.WithString("BucketOwner", m_bucketOwner); + + } + + if(m_outputFormatHasBeenSet) + { + payload.WithString("OutputFormat", S3OutputFormatMapper::GetNameForS3OutputFormat(m_outputFormat)); + } + + if(m_prefixHasBeenSet) + { + payload.WithString("Prefix", m_prefix); + + } + + return payload; +} + +} // namespace Model +} // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/S3OutputFormat.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/S3OutputFormat.cpp new file mode 100644 index 00000000000..b3f5732cb1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-pipes/source/model/S3OutputFormat.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Pipes + { + namespace Model + { + namespace S3OutputFormatMapper + { + + static const int json_HASH = HashingUtils::HashString("json"); + static const int plain_HASH = HashingUtils::HashString("plain"); + static const int w3c_HASH = HashingUtils::HashString("w3c"); + + + S3OutputFormat GetS3OutputFormatForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == json_HASH) + { + return S3OutputFormat::json; + } + else if (hashCode == plain_HASH) + { + return S3OutputFormat::plain; + } + else if (hashCode == w3c_HASH) + { + return S3OutputFormat::w3c; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return S3OutputFormat::NOT_SET; + } + + Aws::String GetNameForS3OutputFormat(S3OutputFormat enumValue) + { + switch(enumValue) + { + case S3OutputFormat::NOT_SET: + return {}; + case S3OutputFormat::json: + return "json"; + case S3OutputFormat::plain: + return "plain"; + case S3OutputFormat::w3c: + return "w3c"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace S3OutputFormatMapper + } // namespace Model + } // namespace Pipes +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-pipes/source/model/UpdatePipeRequest.cpp b/generated/src/aws-cpp-sdk-pipes/source/model/UpdatePipeRequest.cpp index 0f4c06b849c..2016112b78f 100644 --- a/generated/src/aws-cpp-sdk-pipes/source/model/UpdatePipeRequest.cpp +++ b/generated/src/aws-cpp-sdk-pipes/source/model/UpdatePipeRequest.cpp @@ -18,6 +18,7 @@ UpdatePipeRequest::UpdatePipeRequest() : m_desiredStateHasBeenSet(false), m_enrichmentHasBeenSet(false), m_enrichmentParametersHasBeenSet(false), + m_logConfigurationHasBeenSet(false), m_nameHasBeenSet(false), m_roleArnHasBeenSet(false), m_sourceParametersHasBeenSet(false), @@ -53,6 +54,12 @@ Aws::String UpdatePipeRequest::SerializePayload() const } + if(m_logConfigurationHasBeenSet) + { + payload.WithObject("LogConfiguration", m_logConfiguration.Jsonize()); + + } + if(m_roleArnHasBeenSet) { payload.WithString("RoleArn", m_roleArn); diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/ResourceExplorer2Client.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/ResourceExplorer2Client.h index b99fa84d431..74e764b8419 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/ResourceExplorer2Client.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/ResourceExplorer2Client.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -360,6 +361,34 @@ namespace ResourceExplorer2 return SubmitAsync(&ResourceExplorer2Client::DisassociateDefaultView, request, handler, context); } + /** + *

Retrieves the status of your account's Amazon Web Services service access, + * and validates the service linked role required to access the multi-account + * search feature. Only the management account or a delegated administrator with + * service access enabled can invoke this API call.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetAccountLevelServiceConfigurationOutcome GetAccountLevelServiceConfiguration(const Model::GetAccountLevelServiceConfigurationRequest& request = {}) const; + + /** + * A Callable wrapper for GetAccountLevelServiceConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetAccountLevelServiceConfigurationOutcomeCallable GetAccountLevelServiceConfigurationCallable(const GetAccountLevelServiceConfigurationRequestT& request = {}) const + { + return SubmitCallable(&ResourceExplorer2Client::GetAccountLevelServiceConfiguration, request); + } + + /** + * An Async wrapper for GetAccountLevelServiceConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetAccountLevelServiceConfigurationAsync(const GetAccountLevelServiceConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const GetAccountLevelServiceConfigurationRequestT& request = {}) const + { + return SubmitAsync(&ResourceExplorer2Client::GetAccountLevelServiceConfiguration, request, handler, context); + } + /** *

Retrieves the Amazon Resource Name (ARN) of the view that is the default for * the Amazon Web Services Region in which you call this operation. You can then @@ -467,6 +496,34 @@ namespace ResourceExplorer2 return SubmitAsync(&ResourceExplorer2Client::ListIndexes, request, handler, context); } + /** + *

Retrieves a list of a member's indexes in all Amazon Web Services Regions + * that are currently collecting resource information for Amazon Web Services + * Resource Explorer. Only the management account or a delegated administrator with + * service access enabled can invoke this API call.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListIndexesForMembersOutcome ListIndexesForMembers(const Model::ListIndexesForMembersRequest& request) const; + + /** + * A Callable wrapper for ListIndexesForMembers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListIndexesForMembersOutcomeCallable ListIndexesForMembersCallable(const ListIndexesForMembersRequestT& request) const + { + return SubmitCallable(&ResourceExplorer2Client::ListIndexesForMembers, request); + } + + /** + * An Async wrapper for ListIndexesForMembers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListIndexesForMembersAsync(const ListIndexesForMembersRequestT& request, const ListIndexesForMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ResourceExplorer2Client::ListIndexesForMembers, request, handler, context); + } + /** *

Retrieves a list of all resource types currently supported by Amazon Web * Services Resource Explorer.

See Also:

#include #include +#include #include #include #include #include +#include #include #include #include @@ -84,10 +86,12 @@ namespace Aws class DeleteIndexRequest; class DeleteViewRequest; class DisassociateDefaultViewRequest; + class GetAccountLevelServiceConfigurationRequest; class GetDefaultViewRequest; class GetIndexRequest; class GetViewRequest; class ListIndexesRequest; + class ListIndexesForMembersRequest; class ListSupportedResourceTypesRequest; class ListTagsForResourceRequest; class ListViewsRequest; @@ -106,10 +110,12 @@ namespace Aws typedef Aws::Utils::Outcome DeleteIndexOutcome; typedef Aws::Utils::Outcome DeleteViewOutcome; typedef Aws::Utils::Outcome DisassociateDefaultViewOutcome; + typedef Aws::Utils::Outcome GetAccountLevelServiceConfigurationOutcome; typedef Aws::Utils::Outcome GetDefaultViewOutcome; typedef Aws::Utils::Outcome GetIndexOutcome; typedef Aws::Utils::Outcome GetViewOutcome; typedef Aws::Utils::Outcome ListIndexesOutcome; + typedef Aws::Utils::Outcome ListIndexesForMembersOutcome; typedef Aws::Utils::Outcome ListSupportedResourceTypesOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome ListViewsOutcome; @@ -128,10 +134,12 @@ namespace Aws typedef std::future DeleteIndexOutcomeCallable; typedef std::future DeleteViewOutcomeCallable; typedef std::future DisassociateDefaultViewOutcomeCallable; + typedef std::future GetAccountLevelServiceConfigurationOutcomeCallable; typedef std::future GetDefaultViewOutcomeCallable; typedef std::future GetIndexOutcomeCallable; typedef std::future GetViewOutcomeCallable; typedef std::future ListIndexesOutcomeCallable; + typedef std::future ListIndexesForMembersOutcomeCallable; typedef std::future ListSupportedResourceTypesOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future ListViewsOutcomeCallable; @@ -153,10 +161,12 @@ namespace Aws typedef std::function&) > DeleteIndexResponseReceivedHandler; typedef std::function&) > DeleteViewResponseReceivedHandler; typedef std::function&) > DisassociateDefaultViewResponseReceivedHandler; + typedef std::function&) > GetAccountLevelServiceConfigurationResponseReceivedHandler; typedef std::function&) > GetDefaultViewResponseReceivedHandler; typedef std::function&) > GetIndexResponseReceivedHandler; typedef std::function&) > GetViewResponseReceivedHandler; typedef std::function&) > ListIndexesResponseReceivedHandler; + typedef std::function&) > ListIndexesForMembersResponseReceivedHandler; typedef std::function&) > ListSupportedResourceTypesResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > ListViewsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/AWSServiceAccessStatus.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/AWSServiceAccessStatus.h new file mode 100644 index 00000000000..eb3f39fa41a --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/AWSServiceAccessStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace ResourceExplorer2 +{ +namespace Model +{ + enum class AWSServiceAccessStatus + { + NOT_SET, + ENABLED, + DISABLED + }; + +namespace AWSServiceAccessStatusMapper +{ +AWS_RESOURCEEXPLORER2_API AWSServiceAccessStatus GetAWSServiceAccessStatusForName(const Aws::String& name); + +AWS_RESOURCEEXPLORER2_API Aws::String GetNameForAWSServiceAccessStatus(AWSServiceAccessStatus value); +} // namespace AWSServiceAccessStatusMapper +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateIndexRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateIndexRequest.h index 3c6a8cd6a00..5eb3c042b2b 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateIndexRequest.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateIndexRequest.h @@ -39,7 +39,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } @@ -48,7 +48,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } @@ -57,7 +57,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } @@ -66,7 +66,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } @@ -75,7 +75,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } @@ -84,7 +84,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline CreateIndexRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} @@ -93,7 +93,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline CreateIndexRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} @@ -102,7 +102,7 @@ namespace Model * prevent the accidental creation of duplicate versions. We recommend that you * generate a UUID-type - * value to ensure the uniqueness of your views.

+ * value to ensure the uniqueness of your index.

*/ inline CreateIndexRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateViewRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateViewRequest.h index 970c7508b9a..1b98e6e15db 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateViewRequest.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/CreateViewRequest.h @@ -294,6 +294,55 @@ namespace Model inline CreateViewRequest& AddIncludedProperties(IncludedProperty&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(std::move(value)); return *this; } + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline const Aws::String& GetScope() const{ return m_scope; } + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; } + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; } + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); } + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); } + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline CreateViewRequest& WithScope(const Aws::String& value) { SetScope(value); return *this;} + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline CreateViewRequest& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;} + + /** + *

The root ARN of the account, an organizational unit (OU), or an organization + * ARN. If left empty, the default is account.

+ */ + inline CreateViewRequest& WithScope(const char* value) { SetScope(value); return *this;} + + /** *

Tag key and value pairs that are attached to the view.

*/ @@ -435,6 +484,9 @@ namespace Model Aws::Vector m_includedProperties; bool m_includedPropertiesHasBeenSet = false; + Aws::String m_scope; + bool m_scopeHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/GetAccountLevelServiceConfigurationRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/GetAccountLevelServiceConfigurationRequest.h new file mode 100644 index 00000000000..870652fa21e --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/GetAccountLevelServiceConfigurationRequest.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace ResourceExplorer2 +{ +namespace Model +{ + + /** + */ + class GetAccountLevelServiceConfigurationRequest : public ResourceExplorer2Request + { + public: + AWS_RESOURCEEXPLORER2_API GetAccountLevelServiceConfigurationRequest(); + + // 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 "GetAccountLevelServiceConfiguration"; } + + AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override; + + }; + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/GetAccountLevelServiceConfigurationResult.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/GetAccountLevelServiceConfigurationResult.h new file mode 100644 index 00000000000..f6f518f0a10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/GetAccountLevelServiceConfigurationResult.h @@ -0,0 +1,97 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + class GetAccountLevelServiceConfigurationResult + { + public: + AWS_RESOURCEEXPLORER2_API GetAccountLevelServiceConfigurationResult(); + AWS_RESOURCEEXPLORER2_API GetAccountLevelServiceConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_RESOURCEEXPLORER2_API GetAccountLevelServiceConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

Details about the organization, and whether configuration is + * ENABLED or DISABLED.

+ */ + inline const OrgConfiguration& GetOrgConfiguration() const{ return m_orgConfiguration; } + + /** + *

Details about the organization, and whether configuration is + * ENABLED or DISABLED.

+ */ + inline void SetOrgConfiguration(const OrgConfiguration& value) { m_orgConfiguration = value; } + + /** + *

Details about the organization, and whether configuration is + * ENABLED or DISABLED.

+ */ + inline void SetOrgConfiguration(OrgConfiguration&& value) { m_orgConfiguration = std::move(value); } + + /** + *

Details about the organization, and whether configuration is + * ENABLED or DISABLED.

+ */ + inline GetAccountLevelServiceConfigurationResult& WithOrgConfiguration(const OrgConfiguration& value) { SetOrgConfiguration(value); return *this;} + + /** + *

Details about the organization, and whether configuration is + * ENABLED or DISABLED.

+ */ + inline GetAccountLevelServiceConfigurationResult& WithOrgConfiguration(OrgConfiguration&& value) { SetOrgConfiguration(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 GetAccountLevelServiceConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetAccountLevelServiceConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetAccountLevelServiceConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + OrgConfiguration m_orgConfiguration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/Index.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/Index.h index 6b1ca5429b7..a34cf8e3be9 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/Index.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/Index.h @@ -148,67 +148,67 @@ namespace Model /** *

The type of index. It can be one of the following values:

  • - * LOCAL – The index contains information about resources from only the same - * Amazon Web Services Region.

  • AGGREGATOR – Resource - * Explorer replicates copies of the indexed information about resources in all - * other Amazon Web Services Regions to the aggregator index. This lets search - * results in the Region with the aggregator index to include resources from all - * Regions in the account where Resource Explorer is turned on.

+ * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

  • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

  • */ inline const IndexType& GetType() const{ return m_type; } /** *

    The type of index. It can be one of the following values:

    • - * LOCAL – The index contains information about resources from only the same - * Amazon Web Services Region.

    • AGGREGATOR – Resource - * Explorer replicates copies of the indexed information about resources in all - * other Amazon Web Services Regions to the aggregator index. This lets search - * results in the Region with the aggregator index to include resources from all - * Regions in the account where Resource Explorer is turned on.

    + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

  • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

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

    The type of index. It can be one of the following values:

    • - * LOCAL – The index contains information about resources from only the same - * Amazon Web Services Region.

    • AGGREGATOR – Resource - * Explorer replicates copies of the indexed information about resources in all - * other Amazon Web Services Regions to the aggregator index. This lets search - * results in the Region with the aggregator index to include resources from all - * Regions in the account where Resource Explorer is turned on.

    + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

  • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

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

    The type of index. It can be one of the following values:

    • - * LOCAL – The index contains information about resources from only the same - * Amazon Web Services Region.

    • AGGREGATOR – Resource - * Explorer replicates copies of the indexed information about resources in all - * other Amazon Web Services Regions to the aggregator index. This lets search - * results in the Region with the aggregator index to include resources from all - * Regions in the account where Resource Explorer is turned on.

    + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

  • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

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

    The type of index. It can be one of the following values:

    • - * LOCAL – The index contains information about resources from only the same - * Amazon Web Services Region.

    • AGGREGATOR – Resource - * Explorer replicates copies of the indexed information about resources in all - * other Amazon Web Services Regions to the aggregator index. This lets search - * results in the Region with the aggregator index to include resources from all - * Regions in the account where Resource Explorer is turned on.

    + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

  • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

  • */ inline Index& WithType(const IndexType& value) { SetType(value); return *this;} /** *

    The type of index. It can be one of the following values:

    • - * LOCAL – The index contains information about resources from only the same - * Amazon Web Services Region.

    • AGGREGATOR – Resource - * Explorer replicates copies of the indexed information about resources in all - * other Amazon Web Services Regions to the aggregator index. This lets search - * results in the Region with the aggregator index to include resources from all - * Regions in the account where Resource Explorer is turned on.

    + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

  • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

  • */ inline Index& WithType(IndexType&& value) { SetType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesForMembersRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesForMembersRequest.h new file mode 100644 index 00000000000..993b957e693 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesForMembersRequest.h @@ -0,0 +1,242 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + + /** + */ + class ListIndexesForMembersRequest : public ResourceExplorer2Request + { + public: + AWS_RESOURCEEXPLORER2_API ListIndexesForMembersRequest(); + + // 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 "ListIndexesForMembers"; } + + AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override; + + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline const Aws::Vector& GetAccountIdList() const{ return m_accountIdList; } + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline bool AccountIdListHasBeenSet() const { return m_accountIdListHasBeenSet; } + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline void SetAccountIdList(const Aws::Vector& value) { m_accountIdListHasBeenSet = true; m_accountIdList = value; } + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline void SetAccountIdList(Aws::Vector&& value) { m_accountIdListHasBeenSet = true; m_accountIdList = std::move(value); } + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline ListIndexesForMembersRequest& WithAccountIdList(const Aws::Vector& value) { SetAccountIdList(value); return *this;} + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline ListIndexesForMembersRequest& WithAccountIdList(Aws::Vector&& value) { SetAccountIdList(std::move(value)); return *this;} + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline ListIndexesForMembersRequest& AddAccountIdList(const Aws::String& value) { m_accountIdListHasBeenSet = true; m_accountIdList.push_back(value); return *this; } + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline ListIndexesForMembersRequest& AddAccountIdList(Aws::String&& value) { m_accountIdListHasBeenSet = true; m_accountIdList.push_back(std::move(value)); return *this; } + + /** + *

    The account IDs will limit the output to only indexes from these + * accounts.

    + */ + inline ListIndexesForMembersRequest& AddAccountIdList(const char* value) { m_accountIdListHasBeenSet = true; m_accountIdList.push_back(value); return *this; } + + + /** + *

    The maximum number of results that you want included on each page of the + * response. If you do not include this parameter, it defaults to a value + * appropriate to the operation. If additional items exist beyond those included in + * the current response, the NextToken response element is present and + * has a value (is not null). Include that value as the NextToken + * request parameter in the next call to the operation to get the next part of the + * results.

    An API operation can return fewer results than the + * maximum even when there are more results available. You should check + * NextToken after every operation to ensure that you receive all of + * the results.

    + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

    The maximum number of results that you want included on each page of the + * response. If you do not include this parameter, it defaults to a value + * appropriate to the operation. If additional items exist beyond those included in + * the current response, the NextToken response element is present and + * has a value (is not null). Include that value as the NextToken + * request parameter in the next call to the operation to get the next part of the + * results.

    An API operation can return fewer results than the + * maximum even when there are more results available. You should check + * NextToken after every operation to ensure that you receive all of + * the results.

    + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

    The maximum number of results that you want included on each page of the + * response. If you do not include this parameter, it defaults to a value + * appropriate to the operation. If additional items exist beyond those included in + * the current response, the NextToken response element is present and + * has a value (is not null). Include that value as the NextToken + * request parameter in the next call to the operation to get the next part of the + * results.

    An API operation can return fewer results than the + * maximum even when there are more results available. You should check + * NextToken after every operation to ensure that you receive all of + * the results.

    + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

    The maximum number of results that you want included on each page of the + * response. If you do not include this parameter, it defaults to a value + * appropriate to the operation. If additional items exist beyond those included in + * the current response, the NextToken response element is present and + * has a value (is not null). Include that value as the NextToken + * request parameter in the next call to the operation to get the next part of the + * results.

    An API operation can return fewer results than the + * maximum even when there are more results available. You should check + * NextToken after every operation to ensure that you receive all of + * the results.

    + */ + inline ListIndexesForMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline ListIndexesForMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline ListIndexesForMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

    The parameter for receiving additional results if you receive a + * NextToken response in a previous request. A NextToken + * response indicates that more output is available. Set this parameter to the + * value of the previous call's NextToken response to indicate where + * the output should continue from. The pagination tokens expire after 24 + * hours.

    + */ + inline ListIndexesForMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::Vector m_accountIdList; + bool m_accountIdListHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesForMembersResult.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesForMembersResult.h new file mode 100644 index 00000000000..338db774450 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesForMembersResult.h @@ -0,0 +1,169 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + class ListIndexesForMembersResult + { + public: + AWS_RESOURCEEXPLORER2_API ListIndexesForMembersResult(); + AWS_RESOURCEEXPLORER2_API ListIndexesForMembersResult(const Aws::AmazonWebServiceResult& result); + AWS_RESOURCEEXPLORER2_API ListIndexesForMembersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline const Aws::Vector& GetIndexes() const{ return m_indexes; } + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline void SetIndexes(const Aws::Vector& value) { m_indexes = value; } + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline void SetIndexes(Aws::Vector&& value) { m_indexes = std::move(value); } + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline ListIndexesForMembersResult& WithIndexes(const Aws::Vector& value) { SetIndexes(value); return *this;} + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline ListIndexesForMembersResult& WithIndexes(Aws::Vector&& value) { SetIndexes(std::move(value)); return *this;} + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline ListIndexesForMembersResult& AddIndexes(const MemberIndex& value) { m_indexes.push_back(value); return *this; } + + /** + *

    A structure that contains the details and status of each index.

    + */ + inline ListIndexesForMembersResult& AddIndexes(MemberIndex&& value) { m_indexes.push_back(std::move(value)); return *this; } + + + /** + *

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

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

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

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

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

    + */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

    + */ + inline ListIndexesForMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

    + */ + inline ListIndexesForMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

    If present, indicates that more output is available than is included in the + * current response. Use this value in the NextToken request parameter + * in a subsequent call to the operation to get the next part of the output. You + * should repeat this until the NextToken response element comes back + * as null. The pagination tokens expire after 24 hours.

    + */ + inline ListIndexesForMembersResult& WithNextToken(const char* value) { SetNextToken(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 ListIndexesForMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListIndexesForMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListIndexesForMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_indexes; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesRequest.h index 086be0e4c8c..cbc915122bf 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesRequest.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesRequest.h @@ -96,7 +96,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -105,7 +106,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -114,7 +116,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } @@ -123,7 +126,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } @@ -132,7 +136,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } @@ -141,7 +146,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListIndexesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -150,7 +156,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListIndexesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -159,7 +166,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListIndexesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesResult.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesResult.h index 2871ee46dd9..182928496ae 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesResult.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListIndexesResult.h @@ -75,7 +75,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -84,7 +84,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } @@ -93,7 +93,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } @@ -102,7 +102,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } @@ -111,7 +111,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListIndexesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -120,7 +120,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListIndexesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -129,7 +129,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListIndexesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesRequest.h index 8e1ef71df2c..28f7206099d 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesRequest.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesRequest.h @@ -94,7 +94,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -103,7 +104,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -112,7 +114,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } @@ -121,7 +124,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } @@ -130,7 +134,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } @@ -139,7 +144,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListSupportedResourceTypesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -148,7 +154,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListSupportedResourceTypesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -157,7 +164,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListSupportedResourceTypesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesResult.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesResult.h index 1baa2d5f616..c6dfd1bf11e 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesResult.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListSupportedResourceTypesResult.h @@ -39,7 +39,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -48,7 +48,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } @@ -57,7 +57,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } @@ -66,7 +66,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } @@ -75,7 +75,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListSupportedResourceTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -84,7 +84,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListSupportedResourceTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -93,7 +93,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListSupportedResourceTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsRequest.h index 3dfb4a4a2e2..024372e4176 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsRequest.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsRequest.h @@ -94,7 +94,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -103,7 +104,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -112,7 +114,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } @@ -121,7 +124,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } @@ -130,7 +134,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } @@ -139,7 +144,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListViewsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -148,7 +154,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListViewsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -157,7 +164,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline ListViewsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsResult.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsResult.h index 3aac5c37023..8f0d64226f2 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsResult.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/ListViewsResult.h @@ -38,7 +38,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -47,7 +47,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } @@ -56,7 +56,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } @@ -65,7 +65,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } @@ -74,7 +74,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListViewsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -83,7 +83,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListViewsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -92,7 +92,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline ListViewsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/MemberIndex.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/MemberIndex.h new file mode 100644 index 00000000000..16620fcf640 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/MemberIndex.h @@ -0,0 +1,265 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + + /** + *

    An index is the data store used by Amazon Web Services Resource Explorer to + * hold information about your Amazon Web Services resources that the service + * discovers.

    See Also:

    AWS + * API Reference

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

    The account ID for the index.

    + */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

    The account ID for the index.

    + */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

    The account ID for the index.

    + */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

    The account ID for the index.

    + */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

    The account ID for the index.

    + */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

    The account ID for the index.

    + */ + inline MemberIndex& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

    The account ID for the index.

    + */ + inline MemberIndex& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

    The account ID for the index.

    + */ + inline MemberIndex& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline const Aws::String& GetArn() const{ return m_arn; } + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline MemberIndex& WithArn(const Aws::String& value) { SetArn(value); return *this;} + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline MemberIndex& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + + /** + *

    The Amazon + * resource name (ARN) of the index.

    + */ + inline MemberIndex& WithArn(const char* value) { SetArn(value); return *this;} + + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline const Aws::String& GetRegion() const{ return m_region; } + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline MemberIndex& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline MemberIndex& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services Region in which the index exists.

    + */ + inline MemberIndex& WithRegion(const char* value) { SetRegion(value); return *this;} + + + /** + *

    The type of index. It can be one of the following values:

    • + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

    • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

    + */ + inline const IndexType& GetType() const{ return m_type; } + + /** + *

    The type of index. It can be one of the following values:

    • + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

    • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

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

    The type of index. It can be one of the following values:

    • + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

    • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

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

    The type of index. It can be one of the following values:

    • + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

    • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

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

    The type of index. It can be one of the following values:

    • + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

    • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

    + */ + inline MemberIndex& WithType(const IndexType& value) { SetType(value); return *this;} + + /** + *

    The type of index. It can be one of the following values:

    • + * LOCAL – The index contains information about resources from only + * the same Amazon Web Services Region.

    • AGGREGATOR + * – Resource Explorer replicates copies of the indexed information about resources + * in all other Amazon Web Services Regions to the aggregator index. This lets + * search results in the Region with the aggregator index to include resources from + * all Regions in the account where Resource Explorer is turned on.

    + */ + inline MemberIndex& WithType(IndexType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + IndexType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/OrgConfiguration.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/OrgConfiguration.h new file mode 100644 index 00000000000..b2dc8aae1a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/OrgConfiguration.h @@ -0,0 +1,139 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + + /** + *

    This is a structure that contains the status of Amazon Web Services service + * access, and whether you have a valid service-linked role to enable multi-account + * search for your organization.

    See Also:

    AWS + * API Reference

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

    This value displays whether your Amazon Web Services service access is + * ENABLED or DISABLED.

    + */ + inline const AWSServiceAccessStatus& GetAWSServiceAccessStatus() const{ return m_aWSServiceAccessStatus; } + + /** + *

    This value displays whether your Amazon Web Services service access is + * ENABLED or DISABLED.

    + */ + inline bool AWSServiceAccessStatusHasBeenSet() const { return m_aWSServiceAccessStatusHasBeenSet; } + + /** + *

    This value displays whether your Amazon Web Services service access is + * ENABLED or DISABLED.

    + */ + inline void SetAWSServiceAccessStatus(const AWSServiceAccessStatus& value) { m_aWSServiceAccessStatusHasBeenSet = true; m_aWSServiceAccessStatus = value; } + + /** + *

    This value displays whether your Amazon Web Services service access is + * ENABLED or DISABLED.

    + */ + inline void SetAWSServiceAccessStatus(AWSServiceAccessStatus&& value) { m_aWSServiceAccessStatusHasBeenSet = true; m_aWSServiceAccessStatus = std::move(value); } + + /** + *

    This value displays whether your Amazon Web Services service access is + * ENABLED or DISABLED.

    + */ + inline OrgConfiguration& WithAWSServiceAccessStatus(const AWSServiceAccessStatus& value) { SetAWSServiceAccessStatus(value); return *this;} + + /** + *

    This value displays whether your Amazon Web Services service access is + * ENABLED or DISABLED.

    + */ + inline OrgConfiguration& WithAWSServiceAccessStatus(AWSServiceAccessStatus&& value) { SetAWSServiceAccessStatus(std::move(value)); return *this;} + + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline const Aws::String& GetServiceLinkedRole() const{ return m_serviceLinkedRole; } + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline bool ServiceLinkedRoleHasBeenSet() const { return m_serviceLinkedRoleHasBeenSet; } + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline void SetServiceLinkedRole(const Aws::String& value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole = value; } + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline void SetServiceLinkedRole(Aws::String&& value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole = std::move(value); } + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline void SetServiceLinkedRole(const char* value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole.assign(value); } + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline OrgConfiguration& WithServiceLinkedRole(const Aws::String& value) { SetServiceLinkedRole(value); return *this;} + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline OrgConfiguration& WithServiceLinkedRole(Aws::String&& value) { SetServiceLinkedRole(std::move(value)); return *this;} + + /** + *

    This value shows whether or not you have a valid a service-linked role + * required to start the multi-account search feature.

    + */ + inline OrgConfiguration& WithServiceLinkedRole(const char* value) { SetServiceLinkedRole(value); return *this;} + + private: + + AWSServiceAccessStatus m_aWSServiceAccessStatus; + bool m_aWSServiceAccessStatusHasBeenSet = false; + + Aws::String m_serviceLinkedRole; + bool m_serviceLinkedRoleHasBeenSet = false; + }; + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchRequest.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchRequest.h index e92ba17b968..aeece7b0ecd 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchRequest.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchRequest.h @@ -94,7 +94,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -103,7 +104,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } @@ -112,7 +114,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } @@ -121,7 +124,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } @@ -130,7 +134,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } @@ -139,7 +144,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline SearchRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -148,7 +154,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline SearchRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -157,7 +164,8 @@ namespace Model * NextToken response in a previous request. A NextToken * response indicates that more output is available. Set this parameter to the * value of the previous call's NextToken response to indicate where - * the output should continue from.

    + * the output should continue from. The pagination tokens expire after 24 + * hours.

    */ inline SearchRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchResult.h b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchResult.h index f48fb9f817e..62e7a861817 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchResult.h +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/include/aws/resource-explorer-2/model/SearchResult.h @@ -66,7 +66,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } @@ -75,7 +75,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } @@ -84,7 +84,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } @@ -93,7 +93,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } @@ -102,7 +102,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline SearchResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} @@ -111,7 +111,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline SearchResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} @@ -120,7 +120,7 @@ namespace Model * current response. Use this value in the NextToken request parameter * in a subsequent call to the operation to get the next part of the output. You * should repeat this until the NextToken response element comes back - * as null.

    + * as null. The pagination tokens expire after 24 hours.

    */ inline SearchResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2Client.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2Client.cpp index 12d98d298c5..d0de4d15bb4 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2Client.cpp +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2Client.cpp @@ -28,10 +28,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -362,6 +364,33 @@ DisassociateDefaultViewOutcome ResourceExplorer2Client::DisassociateDefaultView( {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetAccountLevelServiceConfigurationOutcome ResourceExplorer2Client::GetAccountLevelServiceConfiguration(const GetAccountLevelServiceConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(GetAccountLevelServiceConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetAccountLevelServiceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetAccountLevelServiceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetAccountLevelServiceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetAccountLevelServiceConfiguration", + {{ 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( + [&]()-> GetAccountLevelServiceConfigurationOutcome { + 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, GetAccountLevelServiceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/GetAccountLevelServiceConfiguration"); + return GetAccountLevelServiceConfigurationOutcome(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()}}); +} + GetDefaultViewOutcome ResourceExplorer2Client::GetDefaultView(const GetDefaultViewRequest& request) const { AWS_OPERATION_GUARD(GetDefaultView); @@ -470,6 +499,33 @@ ListIndexesOutcome ResourceExplorer2Client::ListIndexes(const ListIndexesRequest {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListIndexesForMembersOutcome ResourceExplorer2Client::ListIndexesForMembers(const ListIndexesForMembersRequest& request) const +{ + AWS_OPERATION_GUARD(ListIndexesForMembers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListIndexesForMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListIndexesForMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListIndexesForMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListIndexesForMembers", + {{ 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( + [&]()-> ListIndexesForMembersOutcome { + 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, ListIndexesForMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/ListIndexesForMembers"); + return ListIndexesForMembersOutcome(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()}}); +} + ListSupportedResourceTypesOutcome ResourceExplorer2Client::ListSupportedResourceTypes(const ListSupportedResourceTypesRequest& request) const { AWS_OPERATION_GUARD(ListSupportedResourceTypes); diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2EndpointRules.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2EndpointRules.cpp index 2b2b5f7d473..76e351686ce 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2EndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/ResourceExplorer2EndpointRules.cpp @@ -41,85 +41,85 @@ static constexpr RulesBlobT RulesBlob = {{ 'e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s','"',':','[','{','"', 'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t', '"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n', -'t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l', -'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', -':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', -'{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']', -',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u', -'r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e', -'n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d', -'"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r', -'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}', -'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"', -'}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g','n','"',':', -'"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', -'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', -'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', -'t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', 'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', 's','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P', -'S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o', -'n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']', -'}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', -'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','e','s', -'o','u','r','c','e','-','e','x','p','l','o','r','e','r','-','2','-','f','i','p','s','.','{','R','e', -'g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u', -'a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e', -'r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', -'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n', -'d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S', -' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t', -'i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I', -'P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c', -'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', -'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','e','s','o','u','r','c','e','-', -'e','x','p','l','o','r','e','r','-','2','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S', -'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', -'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', -'o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', -'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u', -'e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', -'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','e','s','o','u','r','c','e','-','e', -'x','p','l','o','r','e','r','-','2','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x', -'}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', -'r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', -'o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ', -'t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s', -'u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'r','e','s','o','u','r','c','e','-','e','x','p','l','o','r','e','r','-','2','.','{','R','e','g','i', -'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S', -'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a', +'l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a', +'n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o', +'t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d', +'p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', 'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', -'o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"', +',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}', +']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', +'"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t', +'A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D', +'u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', +'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e', +'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':', +'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', +'"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"', +'s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', +'/','/','r','e','s','o','u','r','c','e','-','e','x','p','l','o','r','e','r','-','2','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n', +'a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', +'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t', +'y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r', +'e','s','o','u','r','c','e','-','e','x','p','l','o','r','e','r','-','2','.','{','R','e','g','i','o', +'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S', +'t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', +'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', +'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r', +'u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','r','e','s','o','u','r','c','e','-','e','x','p','l','o','r','e', +'r','-','2','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r', +'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}', +'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b', +'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', +'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', +'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','e','s', +'o','u','r','c','e','-','e','x','p','l','o','r','e','r','-','2','.','{','R','e','g','i','o','n','}', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f', +'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', +'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', '[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i', 'g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"', ',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/AWSServiceAccessStatus.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/AWSServiceAccessStatus.cpp new file mode 100644 index 00000000000..bb2d9623a69 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/AWSServiceAccessStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace ResourceExplorer2 + { + namespace Model + { + namespace AWSServiceAccessStatusMapper + { + + static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + AWSServiceAccessStatus GetAWSServiceAccessStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENABLED_HASH) + { + return AWSServiceAccessStatus::ENABLED; + } + else if (hashCode == DISABLED_HASH) + { + return AWSServiceAccessStatus::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AWSServiceAccessStatus::NOT_SET; + } + + Aws::String GetNameForAWSServiceAccessStatus(AWSServiceAccessStatus enumValue) + { + switch(enumValue) + { + case AWSServiceAccessStatus::NOT_SET: + return {}; + case AWSServiceAccessStatus::ENABLED: + return "ENABLED"; + case AWSServiceAccessStatus::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AWSServiceAccessStatusMapper + } // namespace Model + } // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/CreateViewRequest.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/CreateViewRequest.cpp index 59508e05bfa..b1382690e9c 100644 --- a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/CreateViewRequest.cpp +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/CreateViewRequest.cpp @@ -17,6 +17,7 @@ CreateViewRequest::CreateViewRequest() : m_clientTokenHasBeenSet(true), m_filtersHasBeenSet(false), m_includedPropertiesHasBeenSet(false), + m_scopeHasBeenSet(false), m_tagsHasBeenSet(false), m_viewNameHasBeenSet(false) { @@ -49,6 +50,12 @@ Aws::String CreateViewRequest::SerializePayload() const } + if(m_scopeHasBeenSet) + { + payload.WithString("Scope", m_scope); + + } + if(m_tagsHasBeenSet) { JsonValue tagsJsonMap; diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/GetAccountLevelServiceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/GetAccountLevelServiceConfigurationRequest.cpp new file mode 100644 index 00000000000..4c2f67069ff --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/GetAccountLevelServiceConfigurationRequest.cpp @@ -0,0 +1,26 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ResourceExplorer2::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetAccountLevelServiceConfigurationRequest::GetAccountLevelServiceConfigurationRequest() +{ +} + +Aws::String GetAccountLevelServiceConfigurationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/GetAccountLevelServiceConfigurationResult.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/GetAccountLevelServiceConfigurationResult.cpp new file mode 100644 index 00000000000..80544099d8c --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/GetAccountLevelServiceConfigurationResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::ResourceExplorer2::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetAccountLevelServiceConfigurationResult::GetAccountLevelServiceConfigurationResult() +{ +} + +GetAccountLevelServiceConfigurationResult::GetAccountLevelServiceConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetAccountLevelServiceConfigurationResult& GetAccountLevelServiceConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("OrgConfiguration")) + { + m_orgConfiguration = jsonValue.GetObject("OrgConfiguration"); + + } + + + 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-resource-explorer-2/source/model/ListIndexesForMembersRequest.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/ListIndexesForMembersRequest.cpp new file mode 100644 index 00000000000..2a020a5daad --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/ListIndexesForMembersRequest.cpp @@ -0,0 +1,55 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ResourceExplorer2::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListIndexesForMembersRequest::ListIndexesForMembersRequest() : + m_accountIdListHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListIndexesForMembersRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_accountIdListHasBeenSet) + { + Aws::Utils::Array accountIdListJsonList(m_accountIdList.size()); + for(unsigned accountIdListIndex = 0; accountIdListIndex < accountIdListJsonList.GetLength(); ++accountIdListIndex) + { + accountIdListJsonList[accountIdListIndex].AsString(m_accountIdList[accountIdListIndex]); + } + payload.WithArray("AccountIdList", std::move(accountIdListJsonList)); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/ListIndexesForMembersResult.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/ListIndexesForMembersResult.cpp new file mode 100644 index 00000000000..a451544c084 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/ListIndexesForMembersResult.cpp @@ -0,0 +1,57 @@ +/** + * 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::ResourceExplorer2::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListIndexesForMembersResult::ListIndexesForMembersResult() +{ +} + +ListIndexesForMembersResult::ListIndexesForMembersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListIndexesForMembersResult& ListIndexesForMembersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Indexes")) + { + Aws::Utils::Array indexesJsonList = jsonValue.GetArray("Indexes"); + for(unsigned indexesIndex = 0; indexesIndex < indexesJsonList.GetLength(); ++indexesIndex) + { + m_indexes.push_back(indexesJsonList[indexesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + 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-resource-explorer-2/source/model/MemberIndex.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/MemberIndex.cpp new file mode 100644 index 00000000000..739a0075296 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/MemberIndex.cpp @@ -0,0 +1,105 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + +MemberIndex::MemberIndex() : + m_accountIdHasBeenSet(false), + m_arnHasBeenSet(false), + m_regionHasBeenSet(false), + m_type(IndexType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +MemberIndex::MemberIndex(JsonView jsonValue) : + m_accountIdHasBeenSet(false), + m_arnHasBeenSet(false), + m_regionHasBeenSet(false), + m_type(IndexType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +MemberIndex& MemberIndex::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AccountId")) + { + m_accountId = jsonValue.GetString("AccountId"); + + m_accountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Type")) + { + m_type = IndexTypeMapper::GetIndexTypeForName(jsonValue.GetString("Type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue MemberIndex::Jsonize() const +{ + JsonValue payload; + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + if(m_regionHasBeenSet) + { + payload.WithString("Region", m_region); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("Type", IndexTypeMapper::GetNameForIndexType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/OrgConfiguration.cpp b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/OrgConfiguration.cpp new file mode 100644 index 00000000000..62205731de5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-resource-explorer-2/source/model/OrgConfiguration.cpp @@ -0,0 +1,75 @@ +/** + * 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 ResourceExplorer2 +{ +namespace Model +{ + +OrgConfiguration::OrgConfiguration() : + m_aWSServiceAccessStatus(AWSServiceAccessStatus::NOT_SET), + m_aWSServiceAccessStatusHasBeenSet(false), + m_serviceLinkedRoleHasBeenSet(false) +{ +} + +OrgConfiguration::OrgConfiguration(JsonView jsonValue) : + m_aWSServiceAccessStatus(AWSServiceAccessStatus::NOT_SET), + m_aWSServiceAccessStatusHasBeenSet(false), + m_serviceLinkedRoleHasBeenSet(false) +{ + *this = jsonValue; +} + +OrgConfiguration& OrgConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AWSServiceAccessStatus")) + { + m_aWSServiceAccessStatus = AWSServiceAccessStatusMapper::GetAWSServiceAccessStatusForName(jsonValue.GetString("AWSServiceAccessStatus")); + + m_aWSServiceAccessStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("ServiceLinkedRole")) + { + m_serviceLinkedRole = jsonValue.GetString("ServiceLinkedRole"); + + m_serviceLinkedRoleHasBeenSet = true; + } + + return *this; +} + +JsonValue OrgConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_aWSServiceAccessStatusHasBeenSet) + { + payload.WithString("AWSServiceAccessStatus", AWSServiceAccessStatusMapper::GetNameForAWSServiceAccessStatus(m_aWSServiceAccessStatus)); + } + + if(m_serviceLinkedRoleHasBeenSet) + { + payload.WithString("ServiceLinkedRole", m_serviceLinkedRole); + + } + + return payload; +} + +} // namespace Model +} // namespace ResourceExplorer2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h index 4144c96e50e..b19fe05922d 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLJobObjective.h @@ -82,7 +82,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline const AutoMLMetricEnum& GetMetricName() const{ return m_metricName; } @@ -131,7 +131,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } @@ -180,7 +180,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline void SetMetricName(const AutoMLMetricEnum& value) { m_metricNameHasBeenSet = true; m_metricName = value; } @@ -229,7 +229,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline void SetMetricName(AutoMLMetricEnum&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } @@ -278,7 +278,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline AutoMLJobObjective& WithMetricName(const AutoMLMetricEnum& value) { SetMetricName(value); return *this;} @@ -327,7 +327,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline AutoMLJobObjective& WithMetricName(AutoMLMetricEnum&& value) { SetMetricName(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateAutoMLJobV2Request.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateAutoMLJobV2Request.h index 7c758b8a3b9..39db43abdfe 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateAutoMLJobV2Request.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateAutoMLJobV2Request.h @@ -443,7 +443,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline const AutoMLJobObjective& GetAutoMLJobObjective() const{ return m_autoMLJobObjective; } @@ -465,7 +465,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline bool AutoMLJobObjectiveHasBeenSet() const { return m_autoMLJobObjectiveHasBeenSet; } @@ -487,7 +487,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline void SetAutoMLJobObjective(const AutoMLJobObjective& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = value; } @@ -509,7 +509,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline void SetAutoMLJobObjective(AutoMLJobObjective&& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = std::move(value); } @@ -531,7 +531,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline CreateAutoMLJobV2Request& WithAutoMLJobObjective(const AutoMLJobObjective& value) { SetAutoMLJobObjective(value); return *this;} @@ -553,7 +553,7 @@ namespace Model * cross-entropy loss. After fine-tuning a language model, you can evaluate the * quality of its generated text using different metrics. For a list of the * available metrics, see Metrics + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-metrics.html">Metrics * for fine-tuning LLMs in Autopilot.

    */ inline CreateAutoMLJobV2Request& WithAutoMLJobObjective(AutoMLJobObjective&& value) { SetAutoMLJobObjective(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h index 3afaf88ff80..1c06c69e951 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h @@ -66,7 +66,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -77,7 +77,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -88,7 +88,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -99,7 +99,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -110,7 +110,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -121,7 +121,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -132,7 +132,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    @@ -143,7 +143,7 @@ namespace Model *

    The name of the base model to fine-tune. Autopilot supports fine-tuning a * variety of large language models. For information on the list of supported * models, see Text + * href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-llms-finetuning-models.html#autopilot-llms-finetuning-supported-llms">Text * generation models supporting fine-tuning in Autopilot. If no * BaseModelName is provided, the default model used is * Falcon-7B-Instruct.

    diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/SignerClient.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/SignerClient.h index b313afcd994..56bc63070b2 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/SignerClient.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/SignerClient.h @@ -16,8 +16,8 @@ namespace Aws namespace signer { /** - *

    AWS Signer is a fully managed code signing service to help you ensure the - * trust and integrity of your code.

    AWS Signer supports the following + *

    AWS Signer is a fully managed code-signing service to help you ensure the + * trust and integrity of your code.

    Signer supports the following * applications:

    With code signing for AWS Lambda, you can sign AWS Lambda deployment * packages. Integrated support is provided for AWS IoT * Device Management, and is integrated with AWS Certificate Manager - * (ACM). In order to sign code, you import a third-party code signing + * (ACM). In order to sign code, you import a third-party code-signing * certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS - * IoT Device Management.

    With code signing for containers …(TBD)

    - *

    For more information about AWS Signer, see the

    With Signer and the Notation CLI from the Notary
 Project, you can sign + * container images stored in a container registry such as Amazon Elastic Container + * Registry (ECR). The signatures are stored in the registry alongside the images, + * where they are available for verifying image authenticity and integrity.

    + *

    For more information about Signer, see the AWS * Signer Developer Guide.

    */ @@ -286,13 +290,13 @@ namespace signer /** *

    Lists all your signing jobs. You can use the maxResults * parameter to limit the number of signing jobs that are returned in the response. - * If additional jobs remain to be listed, code signing returns a + * If additional jobs remain to be listed, AWS Signer returns a * nextToken value. Use this value in subsequent calls to * ListSigningJobs to fetch the remaining values. You can continue * calling ListSigningJobs with your maxResults parameter - * and with new values that code signing returns in the nextToken - * parameter until all of your signing jobs have been returned.

    See - * Also:

    nextToken parameter + * until all of your signing jobs have been returned.

    See Also:

    + *
    AWS * API Reference

    */ @@ -317,14 +321,13 @@ namespace signer } /** - *

    Lists all signing platforms available in code signing that match the request - * parameters. If additional jobs remain to be listed, code signing returns a + *

    Lists all signing platforms available in AWS Signer that match the request + * parameters. If additional jobs remain to be listed, Signer returns a * nextToken value. Use this value in subsequent calls to * ListSigningJobs to fetch the remaining values. You can continue * calling ListSigningJobs with your maxResults parameter - * and with new values that code signing returns in the nextToken - * parameter until all of your signing jobs have been returned.

    See - * Also:

    nextToken parameter + * until all of your signing jobs have been returned.

    See Also:

    AWS * API Reference

    */ @@ -352,13 +355,12 @@ namespace signer *

    Lists all available signing profiles in your AWS account. Returns only * profiles with an ACTIVE status unless the * includeCanceled request field is set to true. If - * additional jobs remain to be listed, code signing returns a - * nextToken value. Use this value in subsequent calls to - * ListSigningJobs to fetch the remaining values. You can continue - * calling ListSigningJobs with your maxResults parameter - * and with new values that code signing returns in the nextToken - * parameter until all of your signing jobs have been returned.

    See - * Also:

    nextToken + * value. Use this value in subsequent calls to ListSigningJobs to + * fetch the remaining values. You can continue calling + * ListSigningJobs with your maxResults parameter and + * with new values that Signer returns in the nextToken parameter + * until all of your signing jobs have been returned.

    See Also:

    AWS * API Reference

    */ @@ -409,7 +411,7 @@ namespace signer } /** - *

    Creates a signing profile. A signing profile is a code signing template that + *

    Creates a signing profile. A signing profile is a code-signing template that * can be used to carry out a pre-defined signing job.

    See Also:

    * AWS @@ -548,14 +550,13 @@ namespace signer * href="http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html">Creating * a Bucket in the Amazon S3 Getting Started Guide.

  • *

    Your S3 source bucket must be version enabled.

  • You must - * create an S3 destination bucket. Code signing uses your S3 destination bucket to + * create an S3 destination bucket. AWS Signer uses your S3 destination bucket to * write your signed code.

  • You specify the name of the source and * destination buckets when calling the StartSigningJob operation.

    *
  • You must also specify a request token that identifies your request - * to code signing.

  • You can call the DescribeSigningJob - * and the ListSigningJobs actions after you call - * StartSigningJob.

    For a Java example that shows how to use - * this action, see

    You can call the DescribeSigningJob and the + * ListSigningJobs actions after you call StartSigningJob.

    + *

    For a Java example that shows how to use this action, see StartSigningJob.

    See * Also:

    AWS diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/DescribeSigningJobResult.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/DescribeSigningJobResult.h index 7a1c8167ec3..7d8464cbdd8 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/DescribeSigningJobResult.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/DescribeSigningJobResult.h @@ -598,32 +598,27 @@ namespace Model /** - *

    Name of the S3 bucket where the signed code image is saved by code - * signing.

    + *

    Name of the S3 bucket where the signed code image is saved by AWS Signer.

    */ inline const SignedObject& GetSignedObject() const{ return m_signedObject; } /** - *

    Name of the S3 bucket where the signed code image is saved by code - * signing.

    + *

    Name of the S3 bucket where the signed code image is saved by AWS Signer.

    */ inline void SetSignedObject(const SignedObject& value) { m_signedObject = value; } /** - *

    Name of the S3 bucket where the signed code image is saved by code - * signing.

    + *

    Name of the S3 bucket where the signed code image is saved by AWS Signer.

    */ inline void SetSignedObject(SignedObject&& value) { m_signedObject = std::move(value); } /** - *

    Name of the S3 bucket where the signed code image is saved by code - * signing.

    + *

    Name of the S3 bucket where the signed code image is saved by AWS Signer.

    */ inline DescribeSigningJobResult& WithSignedObject(const SignedObject& value) { SetSignedObject(value); return *this;} /** - *

    Name of the S3 bucket where the signed code image is saved by code - * signing.

    + *

    Name of the S3 bucket where the signed code image is saved by AWS Signer.

    */ inline DescribeSigningJobResult& WithSignedObject(SignedObject&& value) { SetSignedObject(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/EncryptionAlgorithmOptions.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/EncryptionAlgorithmOptions.h index 1cf2380fbb9..3a648de0d45 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/EncryptionAlgorithmOptions.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/EncryptionAlgorithmOptions.h @@ -25,7 +25,7 @@ namespace Model { /** - *

    The encryption algorithm options that are available to a code signing + *

    The encryption algorithm options that are available to a code-signing * job.

    See Also:

    AWS * API Reference

    @@ -40,81 +40,81 @@ namespace Model /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline const Aws::Vector& GetAllowedValues() const{ return m_allowedValues; } /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline void SetAllowedValues(const Aws::Vector& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline void SetAllowedValues(Aws::Vector&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline EncryptionAlgorithmOptions& WithAllowedValues(const Aws::Vector& value) { SetAllowedValues(value); return *this;} /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline EncryptionAlgorithmOptions& WithAllowedValues(Aws::Vector&& value) { SetAllowedValues(std::move(value)); return *this;} /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline EncryptionAlgorithmOptions& AddAllowedValues(const EncryptionAlgorithm& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } /** - *

    The set of accepted encryption algorithms that are allowed in a code signing + *

    The set of accepted encryption algorithms that are allowed in a code-signing * job.

    */ inline EncryptionAlgorithmOptions& AddAllowedValues(EncryptionAlgorithm&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; } /** - *

    The default encryption algorithm that is used by a code signing job.

    + *

    The default encryption algorithm that is used by a code-signing job.

    */ inline const EncryptionAlgorithm& GetDefaultValue() const{ return m_defaultValue; } /** - *

    The default encryption algorithm that is used by a code signing job.

    + *

    The default encryption algorithm that is used by a code-signing job.

    */ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** - *

    The default encryption algorithm that is used by a code signing job.

    + *

    The default encryption algorithm that is used by a code-signing job.

    */ inline void SetDefaultValue(const EncryptionAlgorithm& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** - *

    The default encryption algorithm that is used by a code signing job.

    + *

    The default encryption algorithm that is used by a code-signing job.

    */ inline void SetDefaultValue(EncryptionAlgorithm&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** - *

    The default encryption algorithm that is used by a code signing job.

    + *

    The default encryption algorithm that is used by a code-signing job.

    */ inline EncryptionAlgorithmOptions& WithDefaultValue(const EncryptionAlgorithm& value) { SetDefaultValue(value); return *this;} /** - *

    The default encryption algorithm that is used by a code signing job.

    + *

    The default encryption algorithm that is used by a code-signing job.

    */ inline EncryptionAlgorithmOptions& WithDefaultValue(EncryptionAlgorithm&& value) { SetDefaultValue(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusRequest.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusRequest.h index ca660e0ba73..dcd0062ff01 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusRequest.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusRequest.h @@ -198,7 +198,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline const Aws::Vector& GetCertificateHashes() const{ return m_certificateHashes; } @@ -206,7 +214,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline bool CertificateHashesHasBeenSet() const { return m_certificateHashesHasBeenSet; } @@ -214,7 +230,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline void SetCertificateHashes(const Aws::Vector& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes = value; } @@ -222,7 +246,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline void SetCertificateHashes(Aws::Vector&& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes = std::move(value); } @@ -230,7 +262,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline GetRevocationStatusRequest& WithCertificateHashes(const Aws::Vector& value) { SetCertificateHashes(value); return *this;} @@ -238,7 +278,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline GetRevocationStatusRequest& WithCertificateHashes(Aws::Vector&& value) { SetCertificateHashes(std::move(value)); return *this;} @@ -246,7 +294,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline GetRevocationStatusRequest& AddCertificateHashes(const Aws::String& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.push_back(value); return *this; } @@ -254,7 +310,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline GetRevocationStatusRequest& AddCertificateHashes(Aws::String&& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.push_back(std::move(value)); return *this; } @@ -262,7 +326,15 @@ namespace Model *

    A list of composite signed hashes that identify certificates.

    A * certificate identifier consists of a subject certificate TBS hash (signed by the * parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). - * Root certificates are defined as their own CA.

    + * Root certificates are defined as their own CA.

    The following example + * shows how to calculate a hash for this parameter using OpenSSL commands:

    + *

    openssl asn1parse -in childCert.pem -strparse 4 -out + * childCert.tbs

    openssl sha384 < childCert.tbs -binary + * > childCertTbsHash

    openssl asn1parse -in parentCert.pem + * -strparse 4 -out parentCert.tbs

    openssl sha384 < + * parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > + * certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex + *

    cat certificateHash.hex | tr -d '\n'

    */ inline GetRevocationStatusRequest& AddCertificateHashes(const char* value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusResult.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusResult.h index 69cdf6d46ba..6cc7e8ba392 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusResult.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/GetRevocationStatusResult.h @@ -34,50 +34,50 @@ namespace Model /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline const Aws::Vector& GetRevokedEntities() const{ return m_revokedEntities; } /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline void SetRevokedEntities(const Aws::Vector& value) { m_revokedEntities = value; } /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline void SetRevokedEntities(Aws::Vector&& value) { m_revokedEntities = std::move(value); } /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline GetRevocationStatusResult& WithRevokedEntities(const Aws::Vector& value) { SetRevokedEntities(value); return *this;} /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline GetRevocationStatusResult& WithRevokedEntities(Aws::Vector&& value) { SetRevokedEntities(std::move(value)); return *this;} /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline GetRevocationStatusResult& AddRevokedEntities(const Aws::String& value) { m_revokedEntities.push_back(value); return *this; } /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline GetRevocationStatusResult& AddRevokedEntities(Aws::String&& value) { m_revokedEntities.push_back(std::move(value)); return *this; } /** - *

    A list of revoked entities (including one or more of the signing profile ARN, - * signing job ID, and certificate hash) supplied as input to the API.

    + *

    A list of revoked entities (including zero or more of the signing profile + * ARN, signing job ARN, and certificate hashes) supplied as input to the API.

    */ inline GetRevocationStatusResult& AddRevokedEntities(const char* value) { m_revokedEntities.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/HashAlgorithmOptions.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/HashAlgorithmOptions.h index e913e9aa7a3..eb58e8b9c01 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/HashAlgorithmOptions.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/HashAlgorithmOptions.h @@ -25,7 +25,7 @@ namespace Model { /** - *

    The hash algorithms that are available to a code signing job.

    See + *

    The hash algorithms that are available to a code-signing job.

    See * Also:

    AWS * API Reference

    @@ -40,73 +40,73 @@ namespace Model /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline const Aws::Vector& GetAllowedValues() const{ return m_allowedValues; } /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline void SetAllowedValues(const Aws::Vector& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline void SetAllowedValues(Aws::Vector&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline HashAlgorithmOptions& WithAllowedValues(const Aws::Vector& value) { SetAllowedValues(value); return *this;} /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline HashAlgorithmOptions& WithAllowedValues(Aws::Vector&& value) { SetAllowedValues(std::move(value)); return *this;} /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline HashAlgorithmOptions& AddAllowedValues(const HashAlgorithm& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } /** - *

    The set of accepted hash algorithms allowed in a code signing job.

    + *

    The set of accepted hash algorithms allowed in a code-signing job.

    */ inline HashAlgorithmOptions& AddAllowedValues(HashAlgorithm&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; } /** - *

    The default hash algorithm that is used in a code signing job.

    + *

    The default hash algorithm that is used in a code-signing job.

    */ inline const HashAlgorithm& GetDefaultValue() const{ return m_defaultValue; } /** - *

    The default hash algorithm that is used in a code signing job.

    + *

    The default hash algorithm that is used in a code-signing job.

    */ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** - *

    The default hash algorithm that is used in a code signing job.

    + *

    The default hash algorithm that is used in a code-signing job.

    */ inline void SetDefaultValue(const HashAlgorithm& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** - *

    The default hash algorithm that is used in a code signing job.

    + *

    The default hash algorithm that is used in a code-signing job.

    */ inline void SetDefaultValue(HashAlgorithm&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** - *

    The default hash algorithm that is used in a code signing job.

    + *

    The default hash algorithm that is used in a code-signing job.

    */ inline HashAlgorithmOptions& WithDefaultValue(const HashAlgorithm& value) { SetDefaultValue(value); return *this;} /** - *

    The default hash algorithm that is used in a code signing job.

    + *

    The default hash algorithm that is used in a code-signing job.

    */ inline HashAlgorithmOptions& WithDefaultValue(HashAlgorithm&& value) { SetDefaultValue(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Destination.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Destination.h index eed3cb2425a..258acd1477d 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Destination.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Destination.h @@ -24,8 +24,8 @@ namespace Model { /** - *

    The name and prefix of the S3 bucket where code signing saves your signed - * objects.

    See Also:

    The name and prefix of the Amazon S3 bucket where AWS Signer saves your + * signed objects.

    See Also:

    AWS * API Reference

    */ @@ -80,50 +80,50 @@ namespace Model /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline S3Destination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline S3Destination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** - *

    An Amazon S3 prefix that you can use to limit responses to those that begin - * with the specified prefix.

    + *

    An S3 prefix that you can use to limit responses to those that begin with the + * specified prefix.

    */ inline S3Destination& WithPrefix(const char* value) { SetPrefix(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3SignedObject.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3SignedObject.h index 563e71f44e8..ab2e1263bd7 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3SignedObject.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3SignedObject.h @@ -24,7 +24,7 @@ namespace Model { /** - *

    The S3 bucket name and key where code signing saved your signed code + *

    The Amazon S3 bucket name and key where Signer saved your signed code * image.

    See Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Source.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Source.h index 6aa3cd80a8f..207efbb3007 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Source.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/S3Source.h @@ -24,7 +24,7 @@ namespace Model { /** - *

    Information about the S3 bucket where you saved your unsigned + *

    Information about the Amazon S3 bucket where you saved your unsigned * code.

    See Also:

    AWS API * Reference

    diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadRequest.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadRequest.h index e7e201e98b9..1f1ccc8d213 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadRequest.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadRequest.h @@ -147,42 +147,50 @@ namespace Model /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline const Aws::String& GetPayloadFormat() const{ return m_payloadFormat; } /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline bool PayloadFormatHasBeenSet() const { return m_payloadFormatHasBeenSet; } /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline void SetPayloadFormat(const Aws::String& value) { m_payloadFormatHasBeenSet = true; m_payloadFormat = value; } /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline void SetPayloadFormat(Aws::String&& value) { m_payloadFormatHasBeenSet = true; m_payloadFormat = std::move(value); } /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline void SetPayloadFormat(const char* value) { m_payloadFormatHasBeenSet = true; m_payloadFormat.assign(value); } /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline SignPayloadRequest& WithPayloadFormat(const Aws::String& value) { SetPayloadFormat(value); return *this;} /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline SignPayloadRequest& WithPayloadFormat(Aws::String&& value) { SetPayloadFormat(std::move(value)); return *this;} /** - *

    Payload content type

    + *

    Payload content type. The single valid type is + * application/vnd.cncf.notary.payload.v1+json.

    */ inline SignPayloadRequest& WithPayloadFormat(const char* value) { SetPayloadFormat(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadResult.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadResult.h index 7b6fecb359a..aba6052bd9c 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadResult.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SignPayloadResult.h @@ -107,86 +107,62 @@ namespace Model /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline const Aws::Map& GetMetadata() const{ return m_metadata; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline void SetMetadata(const Aws::Map& value) { m_metadata = value; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline void SetMetadata(Aws::Map&& value) { m_metadata = std::move(value); } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& WithMetadata(const Aws::Map& value) { SetMetadata(value); return *this;} /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& WithMetadata(Aws::Map&& value) { SetMetadata(std::move(value)); return *this;} /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadata.emplace(key, value); return *this; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadata.emplace(std::move(key), value); return *this; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(const char* key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(Aws::String&& key, const char* value) { m_metadata.emplace(std::move(key), value); return *this; } /** - *

    Information including the signing profile ARN and the signing job ID. Clients - * use metadata to signature records, for example, as annotations added to the - * signature manifest inside an OCI registry.

    + *

    Information including the signing profile ARN and the signing job ID.

    */ inline SignPayloadResult& AddMetadata(const char* key, const char* value) { m_metadata.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfiguration.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfiguration.h index 365d076f946..957e5698915 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfiguration.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfiguration.h @@ -25,7 +25,7 @@ namespace Model { /** - *

    The configuration of a code signing operation.

    See Also:

    The configuration of a signing operation.

    See Also:

    AWS * API Reference

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

    The encryption algorithm options that are available for a code signing + *

    The encryption algorithm options that are available for a code-signing * job.

    */ inline const EncryptionAlgorithmOptions& GetEncryptionAlgorithmOptions() const{ return m_encryptionAlgorithmOptions; } /** - *

    The encryption algorithm options that are available for a code signing + *

    The encryption algorithm options that are available for a code-signing * job.

    */ inline bool EncryptionAlgorithmOptionsHasBeenSet() const { return m_encryptionAlgorithmOptionsHasBeenSet; } /** - *

    The encryption algorithm options that are available for a code signing + *

    The encryption algorithm options that are available for a code-signing * job.

    */ inline void SetEncryptionAlgorithmOptions(const EncryptionAlgorithmOptions& value) { m_encryptionAlgorithmOptionsHasBeenSet = true; m_encryptionAlgorithmOptions = value; } /** - *

    The encryption algorithm options that are available for a code signing + *

    The encryption algorithm options that are available for a code-signing * job.

    */ inline void SetEncryptionAlgorithmOptions(EncryptionAlgorithmOptions&& value) { m_encryptionAlgorithmOptionsHasBeenSet = true; m_encryptionAlgorithmOptions = std::move(value); } /** - *

    The encryption algorithm options that are available for a code signing + *

    The encryption algorithm options that are available for a code-signing * job.

    */ inline SigningConfiguration& WithEncryptionAlgorithmOptions(const EncryptionAlgorithmOptions& value) { SetEncryptionAlgorithmOptions(value); return *this;} /** - *

    The encryption algorithm options that are available for a code signing + *

    The encryption algorithm options that are available for a code-signing * job.

    */ inline SigningConfiguration& WithEncryptionAlgorithmOptions(EncryptionAlgorithmOptions&& value) { SetEncryptionAlgorithmOptions(std::move(value)); return *this;} /** - *

    The hash algorithm options that are available for a code signing job.

    + *

    The hash algorithm options that are available for a code-signing job.

    */ inline const HashAlgorithmOptions& GetHashAlgorithmOptions() const{ return m_hashAlgorithmOptions; } /** - *

    The hash algorithm options that are available for a code signing job.

    + *

    The hash algorithm options that are available for a code-signing job.

    */ inline bool HashAlgorithmOptionsHasBeenSet() const { return m_hashAlgorithmOptionsHasBeenSet; } /** - *

    The hash algorithm options that are available for a code signing job.

    + *

    The hash algorithm options that are available for a code-signing job.

    */ inline void SetHashAlgorithmOptions(const HashAlgorithmOptions& value) { m_hashAlgorithmOptionsHasBeenSet = true; m_hashAlgorithmOptions = value; } /** - *

    The hash algorithm options that are available for a code signing job.

    + *

    The hash algorithm options that are available for a code-signing job.

    */ inline void SetHashAlgorithmOptions(HashAlgorithmOptions&& value) { m_hashAlgorithmOptionsHasBeenSet = true; m_hashAlgorithmOptions = std::move(value); } /** - *

    The hash algorithm options that are available for a code signing job.

    + *

    The hash algorithm options that are available for a code-signing job.

    */ inline SigningConfiguration& WithHashAlgorithmOptions(const HashAlgorithmOptions& value) { SetHashAlgorithmOptions(value); return *this;} /** - *

    The hash algorithm options that are available for a code signing job.

    + *

    The hash algorithm options that are available for a code-signing job.

    */ inline SigningConfiguration& WithHashAlgorithmOptions(HashAlgorithmOptions&& value) { SetHashAlgorithmOptions(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfigurationOverrides.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfigurationOverrides.h index 71bf11c7c2a..0854021321d 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfigurationOverrides.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningConfigurationOverrides.h @@ -41,74 +41,74 @@ namespace Model /** *

    A specified override of the default encryption algorithm that is used in a - * code signing job.

    + * code-signing job.

    */ inline const EncryptionAlgorithm& GetEncryptionAlgorithm() const{ return m_encryptionAlgorithm; } /** *

    A specified override of the default encryption algorithm that is used in a - * code signing job.

    + * code-signing job.

    */ inline bool EncryptionAlgorithmHasBeenSet() const { return m_encryptionAlgorithmHasBeenSet; } /** *

    A specified override of the default encryption algorithm that is used in a - * code signing job.

    + * code-signing job.

    */ inline void SetEncryptionAlgorithm(const EncryptionAlgorithm& value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = value; } /** *

    A specified override of the default encryption algorithm that is used in a - * code signing job.

    + * code-signing job.

    */ inline void SetEncryptionAlgorithm(EncryptionAlgorithm&& value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = std::move(value); } /** *

    A specified override of the default encryption algorithm that is used in a - * code signing job.

    + * code-signing job.

    */ inline SigningConfigurationOverrides& WithEncryptionAlgorithm(const EncryptionAlgorithm& value) { SetEncryptionAlgorithm(value); return *this;} /** *

    A specified override of the default encryption algorithm that is used in a - * code signing job.

    + * code-signing job.

    */ inline SigningConfigurationOverrides& WithEncryptionAlgorithm(EncryptionAlgorithm&& value) { SetEncryptionAlgorithm(std::move(value)); return *this;} /** - *

    A specified override of the default hash algorithm that is used in a code - * signing job.

    + *

    A specified override of the default hash algorithm that is used in a + * code-signing job.

    */ inline const HashAlgorithm& GetHashAlgorithm() const{ return m_hashAlgorithm; } /** - *

    A specified override of the default hash algorithm that is used in a code - * signing job.

    + *

    A specified override of the default hash algorithm that is used in a + * code-signing job.

    */ inline bool HashAlgorithmHasBeenSet() const { return m_hashAlgorithmHasBeenSet; } /** - *

    A specified override of the default hash algorithm that is used in a code - * signing job.

    + *

    A specified override of the default hash algorithm that is used in a + * code-signing job.

    */ inline void SetHashAlgorithm(const HashAlgorithm& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = value; } /** - *

    A specified override of the default hash algorithm that is used in a code - * signing job.

    + *

    A specified override of the default hash algorithm that is used in a + * code-signing job.

    */ inline void SetHashAlgorithm(HashAlgorithm&& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = std::move(value); } /** - *

    A specified override of the default hash algorithm that is used in a code - * signing job.

    + *

    A specified override of the default hash algorithm that is used in a + * code-signing job.

    */ inline SigningConfigurationOverrides& WithHashAlgorithm(const HashAlgorithm& value) { SetHashAlgorithm(value); return *this;} /** - *

    A specified override of the default hash algorithm that is used in a code - * signing job.

    + *

    A specified override of the default hash algorithm that is used in a + * code-signing job.

    */ inline SigningConfigurationOverrides& WithHashAlgorithm(HashAlgorithm&& value) { SetHashAlgorithm(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningImageFormat.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningImageFormat.h index 57ab5775aea..73761c57a7c 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningImageFormat.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningImageFormat.h @@ -25,7 +25,7 @@ namespace Model { /** - *

    The image format of a code signing platform or profile.

    See + *

    The image format of a AWS Signer platform or profile.

    See * Also:

    AWS * API Reference

    @@ -40,73 +40,73 @@ namespace Model /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline const Aws::Vector& GetSupportedFormats() const{ return m_supportedFormats; } /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline bool SupportedFormatsHasBeenSet() const { return m_supportedFormatsHasBeenSet; } /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline void SetSupportedFormats(const Aws::Vector& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats = value; } /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline void SetSupportedFormats(Aws::Vector&& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats = std::move(value); } /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline SigningImageFormat& WithSupportedFormats(const Aws::Vector& value) { SetSupportedFormats(value); return *this;} /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline SigningImageFormat& WithSupportedFormats(Aws::Vector&& value) { SetSupportedFormats(std::move(value)); return *this;} /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline SigningImageFormat& AddSupportedFormats(const ImageFormat& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats.push_back(value); return *this; } /** - *

    The supported formats of a code signing image.

    + *

    The supported formats of a signing image.

    */ inline SigningImageFormat& AddSupportedFormats(ImageFormat&& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats.push_back(std::move(value)); return *this; } /** - *

    The default format of a code signing image.

    + *

    The default format of a signing image.

    */ inline const ImageFormat& GetDefaultFormat() const{ return m_defaultFormat; } /** - *

    The default format of a code signing image.

    + *

    The default format of a signing image.

    */ inline bool DefaultFormatHasBeenSet() const { return m_defaultFormatHasBeenSet; } /** - *

    The default format of a code signing image.

    + *

    The default format of a signing image.

    */ inline void SetDefaultFormat(const ImageFormat& value) { m_defaultFormatHasBeenSet = true; m_defaultFormat = value; } /** - *

    The default format of a code signing image.

    + *

    The default format of a signing image.

    */ inline void SetDefaultFormat(ImageFormat&& value) { m_defaultFormatHasBeenSet = true; m_defaultFormat = std::move(value); } /** - *

    The default format of a code signing image.

    + *

    The default format of a signing image.

    */ inline SigningImageFormat& WithDefaultFormat(const ImageFormat& value) { SetDefaultFormat(value); return *this;} /** - *

    The default format of a code signing image.

    + *

    The default format of a signing image.

    */ inline SigningImageFormat& WithDefaultFormat(ImageFormat&& value) { SetDefaultFormat(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatform.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatform.h index fc37c4f7a1d..4ba939068f8 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatform.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatform.h @@ -28,7 +28,7 @@ namespace Model /** *

    Contains information about the signing configurations and parameters that are - * used to perform a code signing job.

    See Also:

    See Also:

    AWS * API Reference

    */ @@ -42,233 +42,233 @@ namespace Model /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline const Aws::String& GetPlatformId() const{ return m_platformId; } /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; } /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; } /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); } /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); } /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline SigningPlatform& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;} /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline SigningPlatform& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;} /** - *

    The ID of a code signing platform.

    + *

    The ID of a signing platform.

    */ inline SigningPlatform& WithPlatformId(const char* value) { SetPlatformId(value); return *this;} /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline SigningPlatform& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline SigningPlatform& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** - *

    The display name of a code signing platform.

    + *

    The display name of a signing platform.

    */ inline SigningPlatform& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline const Aws::String& GetPartner() const{ return m_partner; } /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline bool PartnerHasBeenSet() const { return m_partnerHasBeenSet; } /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline void SetPartner(const Aws::String& value) { m_partnerHasBeenSet = true; m_partner = value; } /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline void SetPartner(Aws::String&& value) { m_partnerHasBeenSet = true; m_partner = std::move(value); } /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline void SetPartner(const char* value) { m_partnerHasBeenSet = true; m_partner.assign(value); } /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline SigningPlatform& WithPartner(const Aws::String& value) { SetPartner(value); return *this;} /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline SigningPlatform& WithPartner(Aws::String&& value) { SetPartner(std::move(value)); return *this;} /** - *

    Any partner entities linked to a code signing platform.

    + *

    Any partner entities linked to a signing platform.

    */ inline SigningPlatform& WithPartner(const char* value) { SetPartner(value); return *this;} /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline const Aws::String& GetTarget() const{ return m_target; } /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; } /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); } /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline SigningPlatform& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline SigningPlatform& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** - *

    The types of targets that can be signed by a code signing platform.

    + *

    The types of targets that can be signed by a signing platform.

    */ inline SigningPlatform& WithTarget(const char* value) { SetTarget(value); return *this;} /** - *

    The category of a code signing platform.

    + *

    The category of a signing platform.

    */ inline const Category& GetCategory() const{ return m_category; } /** - *

    The category of a code signing platform.

    + *

    The category of a signing platform.

    */ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** - *

    The category of a code signing platform.

    + *

    The category of a signing platform.

    */ inline void SetCategory(const Category& value) { m_categoryHasBeenSet = true; m_category = value; } /** - *

    The category of a code signing platform.

    + *

    The category of a signing platform.

    */ inline void SetCategory(Category&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** - *

    The category of a code signing platform.

    + *

    The category of a signing platform.

    */ inline SigningPlatform& WithCategory(const Category& value) { SetCategory(value); return *this;} /** - *

    The category of a code signing platform.

    + *

    The category of a signing platform.

    */ inline SigningPlatform& WithCategory(Category&& value) { SetCategory(std::move(value)); return *this;} /** - *

    The configuration of a code signing platform. This includes the designated - * hash algorithm and encryption algorithm of a signing platform.

    + *

    The configuration of a signing platform. This includes the designated hash + * algorithm and encryption algorithm of a signing platform.

    */ inline const SigningConfiguration& GetSigningConfiguration() const{ return m_signingConfiguration; } /** - *

    The configuration of a code signing platform. This includes the designated - * hash algorithm and encryption algorithm of a signing platform.

    + *

    The configuration of a signing platform. This includes the designated hash + * algorithm and encryption algorithm of a signing platform.

    */ inline bool SigningConfigurationHasBeenSet() const { return m_signingConfigurationHasBeenSet; } /** - *

    The configuration of a code signing platform. This includes the designated - * hash algorithm and encryption algorithm of a signing platform.

    + *

    The configuration of a signing platform. This includes the designated hash + * algorithm and encryption algorithm of a signing platform.

    */ inline void SetSigningConfiguration(const SigningConfiguration& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = value; } /** - *

    The configuration of a code signing platform. This includes the designated - * hash algorithm and encryption algorithm of a signing platform.

    + *

    The configuration of a signing platform. This includes the designated hash + * algorithm and encryption algorithm of a signing platform.

    */ inline void SetSigningConfiguration(SigningConfiguration&& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = std::move(value); } /** - *

    The configuration of a code signing platform. This includes the designated - * hash algorithm and encryption algorithm of a signing platform.

    + *

    The configuration of a signing platform. This includes the designated hash + * algorithm and encryption algorithm of a signing platform.

    */ inline SigningPlatform& WithSigningConfiguration(const SigningConfiguration& value) { SetSigningConfiguration(value); return *this;} /** - *

    The configuration of a code signing platform. This includes the designated - * hash algorithm and encryption algorithm of a signing platform.

    + *

    The configuration of a signing platform. This includes the designated hash + * algorithm and encryption algorithm of a signing platform.

    */ inline SigningPlatform& WithSigningConfiguration(SigningConfiguration&& value) { SetSigningConfiguration(std::move(value)); return *this;} @@ -293,25 +293,25 @@ namespace Model /** - *

    The maximum size (in MB) of code that can be signed by a code signing + *

    The maximum size (in MB) of code that can be signed by a signing * platform.

    */ inline int GetMaxSizeInMB() const{ return m_maxSizeInMB; } /** - *

    The maximum size (in MB) of code that can be signed by a code signing + *

    The maximum size (in MB) of code that can be signed by a signing * platform.

    */ inline bool MaxSizeInMBHasBeenSet() const { return m_maxSizeInMBHasBeenSet; } /** - *

    The maximum size (in MB) of code that can be signed by a code signing + *

    The maximum size (in MB) of code that can be signed by a signing * platform.

    */ inline void SetMaxSizeInMB(int value) { m_maxSizeInMBHasBeenSet = true; m_maxSizeInMB = value; } /** - *

    The maximum size (in MB) of code that can be signed by a code signing + *

    The maximum size (in MB) of code that can be signed by a signing * platform.

    */ inline SigningPlatform& WithMaxSizeInMB(int value) { SetMaxSizeInMB(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatformOverrides.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatformOverrides.h index 40bb497d2b5..451d2299cc3 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatformOverrides.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningPlatformOverrides.h @@ -25,7 +25,7 @@ namespace Model { /** - *

    Any overrides that are applied to the signing configuration of a code signing + *

    Any overrides that are applied to the signing configuration of a signing * platform.

    See Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningProfile.h b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningProfile.h index 685555d30d8..5df60134dd9 100644 --- a/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningProfile.h +++ b/generated/src/aws-cpp-sdk-signer/include/aws/signer/model/SigningProfile.h @@ -28,9 +28,9 @@ namespace Model { /** - *

    Contains information about the ACM certificates and code signing - * configuration parameters that can be used by a given code signing - * user.

    See Also:

    Contains information about the ACM certificates and signing configuration + * parameters that can be used by a given code signing user.

    See + * Also:

    AWS * API Reference

    */ @@ -311,98 +311,98 @@ namespace Model /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline const Aws::Map& GetSigningParameters() const{ return m_signingParameters; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline bool SigningParametersHasBeenSet() const { return m_signingParametersHasBeenSet; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline void SetSigningParameters(const Aws::Map& value) { m_signingParametersHasBeenSet = true; m_signingParameters = value; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline void SetSigningParameters(Aws::Map&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::move(value); } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& WithSigningParameters(const Aws::Map& value) { SetSigningParameters(value); return *this;} /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& WithSigningParameters(Aws::Map&& value) { SetSigningParameters(std::move(value)); return *this;} /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), std::move(value)); return *this; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; } /** - *

    The parameters that are available for use by a code signing user.

    + *

    The parameters that are available for use by a Signer user.

    */ inline SigningProfile& AddSigningParameters(const char* key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; } /** - *

    The status of a code signing profile.

    + *

    The status of a signing profile.

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

    The status of a code signing profile.

    + *

    The status of a signing profile.

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

    The status of a code signing profile.

    + *

    The status of a signing profile.

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

    The status of a code signing profile.

    + *

    The status of a signing profile.

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

    The status of a code signing profile.

    + *

    The status of a signing profile.

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

    The status of a code signing profile.

    + *

    The status of a signing profile.

    */ inline SigningProfile& WithStatus(SigningProfileStatus&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-signer/source/SignerEndpointRules.cpp b/generated/src/aws-cpp-sdk-signer/source/SignerEndpointRules.cpp index 0f41dd6917e..9b1b978b998 100644 --- a/generated/src/aws-cpp-sdk-signer/source/SignerEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-signer/source/SignerEndpointRules.cpp @@ -51,106 +51,106 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', 'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', '"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', -'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','i','g','n', -'e','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f', -'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', -'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', -'t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k', -' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a', -'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', -'o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','s','i','g','n','e','r','-','f','i','p','s','.','{', -'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', -'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a', -'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d', -'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y', -'p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l', -'S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t', -'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', -'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', -'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','i','g','n','e','r','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D', +'u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t', +' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ', +'s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', +':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', ':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', -'t','p','s',':','/','/','s','i','g','n','e','r','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', -'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', -',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', -'d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ', -'e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', -'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t', -'a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', -':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','i','g','n','e','r','.','{', -'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', -'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o', +'t','p','s',':','/','/','s','i','g','n','e','r','-','f','i','p','s','.','{','R','e','g','i','o','n', +'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P', +'S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', +'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F', +'I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a', +'c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', +'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', +'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'s','i','g','n','e','r','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i', +'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', +'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S', +'t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ', +'p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r', +'t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', +'u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','i','g','n','e','r','.','{','R','e','g', +'i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s', +'S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',', +'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', +'p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', 'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C', 'o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g', 'i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/SFNClient.h b/generated/src/aws-cpp-sdk-states/include/aws/states/SFNClient.h index f4d4ed5813d..13c5453a900 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/SFNClient.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/SFNClient.h @@ -33,7 +33,11 @@ namespace SFN * Web Services SDKs, or an HTTP API. For more information about Step Functions, * see the Step - * Functions Developer Guide .

    + * Functions Developer Guide .

    If you use the Step + * Functions API actions using Amazon Web Services SDK integrations, make sure the + * API actions are in camel case and parameter names are in Pascal case. For + * example, you could use Step Functions API action startSyncExecution + * and specify its parameter as StateMachineArn.

    */ class AWS_SFN_API SFNClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { @@ -255,12 +259,14 @@ namespace SFN } /** - *

    Deletes a state machine. This is an asynchronous operation: It sets the state - * machine's status to DELETING and begins the deletion process.

    - *

    A qualified state machine ARN can either refer to a Distributed Map - * state defined within a state machine, a version ARN, or an alias ARN.

    - *

    The following are some examples of qualified and unqualified state machine - * ARNs:

    • The following qualified state machine ARN refers to a + *

      Deletes a state machine. This is an asynchronous operation. It sets the state + * machine's status to DELETING and begins the deletion process. A + * state machine is deleted only when all its executions are completed. On the next + * state transition, the state machine's executions are terminated.

      A + * qualified state machine ARN can either refer to a Distributed Map state + * defined within a state machine, a version ARN, or an alias ARN.

      The + * following are some examples of qualified and unqualified state machine ARNs:

      + *
      • The following qualified state machine ARN refers to a * Distributed Map state with a label mapStateLabel in a state * machine named myStateMachine.

        * arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel @@ -400,13 +406,16 @@ namespace SFN /** *

        Provides information about a state machine execution, such as the state * machine associated with the execution, the execution input and output, and - * relevant execution metadata. Use this API action to return the Map Run Amazon - * Resource Name (ARN) if the execution was dispatched by a Map Run.

        If you - * specify a version or alias ARN when you call the StartExecution API - * action, DescribeExecution returns that ARN.

        This - * operation is eventually consistent. The results are best effort and may not - * reflect very recent updates and changes.

        Executions of an - * EXPRESS state machinearen't supported by + * relevant execution metadata. If you've redriven + * an execution, you can use this API action to return information about the + * redrives of that execution. In addition, you can use this API action to return + * the Map Run Amazon Resource Name (ARN) if the execution was dispatched by a Map + * Run.

        If you specify a version or alias ARN when you call the + * StartExecution API action, DescribeExecution returns that + * ARN.

        This operation is eventually consistent. The results are best + * effort and may not reflect very recent updates and changes.

        + *

        Executions of an EXPRESS state machine aren't supported by * DescribeExecution unless a Map Run dispatched them.

        See * Also:

        AWS @@ -434,7 +443,10 @@ namespace SFN /** *

        Provides information about a Map Run's configuration, progress, and results. - * For more information, see redriven + * a Map Run, this API action also returns information about the redrives of that + * Map Run. For more information, see Examining * Map Run in the Step Functions Developer Guide.

        See * Also:

        Lists all executions of a state machine or a Map Run. You can list all * executions related to a state machine by specifying a state machine Amazon - * Resource Name (ARN), or those related to a Map Run by specifying a Map Run - * ARN.

        You can also provide a state machine redriven + * executions.

        You can also provide a state machine alias * ARN or version @@ -924,9 +938,76 @@ namespace SFN } /** - *

        Used by activity workers and task states using the Restarts unsuccessful executions of Standard workflows that didn't complete + * successfully in the last 14 days. These include failed, aborted, or timed out + * executions. When you redrive + * an execution, it continues the failed execution from the unsuccessful step and + * uses the same input. Step Functions preserves the results and execution history + * of the successful steps, and doesn't rerun these steps when you redrive an + * execution. Redriven executions use the same state machine definition and + * execution ARN as the original execution attempt.

        For workflows that + * include an Inline + * Map or Parallel + * state, RedriveExecution API action reschedules and redrives only + * the iterations and branches that failed or aborted.

        To redrive a workflow + * that includes a Distributed Map state with failed child workflow executions, you + * must redrive the parent + * workflow. The parent workflow redrives all the unsuccessful states, + * including Distributed Map.

        This API action is not supported by + * EXPRESS state machines.

        However, you can restart the + * unsuccessful executions of Express child workflows in a Distributed Map by + * redriving its Map Run. When you redrive a Map Run, the Express child workflows + * are rerun using the StartExecution API action. For more information, see + * Redriving + * Map Runs.

        You can redrive executions if your original + * execution meets the following conditions:

        • The execution status + * isn't SUCCEEDED.

        • Your workflow execution has not + * exceeded the redrivable period of 14 days. Redrivable period refers to the time + * during which you can redrive a given execution. This period starts from the day + * a state machine completes its execution.

        • The workflow + * execution has not exceeded the maximum open time of one year. For more + * information about state machine quotas, see Quotas + * related to state machine executions.

        • The execution event + * history count is less than 24,999. Redriven executions append their event + * history to the existing event history. Make sure your workflow execution + * contains less than 24,999 events to accommodate the + * ExecutionRedriven history event and at least one other history + * event.

        See Also:

        AWS + * API Reference

        + */ + virtual Model::RedriveExecutionOutcome RedriveExecution(const Model::RedriveExecutionRequest& request) const; + + /** + * A Callable wrapper for RedriveExecution that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::RedriveExecutionOutcomeCallable RedriveExecutionCallable(const RedriveExecutionRequestT& request) const + { + return SubmitCallable(&SFNClient::RedriveExecution, request); + } + + /** + * An Async wrapper for RedriveExecution that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void RedriveExecutionAsync(const RedriveExecutionRequestT& request, const RedriveExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&SFNClient::RedriveExecution, request, handler, context); + } + + /** + *

        Used by activity workers, Task states using the callback - * pattern to report that the task identified by the taskToken + * pattern, and optionally Task states using the job + * run pattern to report that the task identified by the taskToken * failed.

        See Also:

        AWS * API Reference

        @@ -952,16 +1033,18 @@ namespace SFN } /** - *

        Used by activity workers and task states using the Used by activity workers and Task states using the callback - * pattern to report to Step Functions that the task represented by the specified - * taskToken is still making progress. This action resets the - * Heartbeat clock. The Heartbeat threshold is specified - * in the state machine's Amazon States Language definition + * pattern, and optionally Task states using the job + * run pattern to report to Step Functions that the task represented by the + * specified taskToken is still making progress. This action resets + * the Heartbeat clock. The Heartbeat threshold is + * specified in the state machine's Amazon States Language definition * (HeartbeatSeconds). This action does not in itself create an event * in the execution history. However, if the task times out, the execution history * contains an ActivityTimedOut entry for activities, or a - * TaskTimedOut entry for for tasks using the TaskTimedOut entry for tasks using the job * run or callback @@ -994,9 +1077,11 @@ namespace SFN } /** - *

        Used by activity workers and task states using the Used by activity workers, Task states using the callback - * pattern to report that the task identified by the taskToken + * pattern, and optionally Task states using the job + * run pattern to report that the task identified by the taskToken * completed successfully.

        See Also:

        AWS * API Reference

        diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/SFNErrors.h b/generated/src/aws-cpp-sdk-states/include/aws/states/SFNErrors.h index 2f2dda6d9fa..4daf3fcdade 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/SFNErrors.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/SFNErrors.h @@ -54,6 +54,7 @@ enum class SFNErrors EXECUTION_ALREADY_EXISTS, EXECUTION_DOES_NOT_EXIST, EXECUTION_LIMIT_EXCEEDED, + EXECUTION_NOT_REDRIVABLE, INVALID_ARN, INVALID_DEFINITION, INVALID_EXECUTION_INPUT, diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/SFNServiceClientModel.h b/generated/src/aws-cpp-sdk-states/include/aws/states/SFNServiceClientModel.h index b0f8551c6e7..4e884c514b1 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/SFNServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/SFNServiceClientModel.h @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -115,6 +116,7 @@ namespace Aws class ListStateMachinesRequest; class ListTagsForResourceRequest; class PublishStateMachineVersionRequest; + class RedriveExecutionRequest; class SendTaskFailureRequest; class SendTaskHeartbeatRequest; class SendTaskSuccessRequest; @@ -152,6 +154,7 @@ namespace Aws typedef Aws::Utils::Outcome ListStateMachinesOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome PublishStateMachineVersionOutcome; + typedef Aws::Utils::Outcome RedriveExecutionOutcome; typedef Aws::Utils::Outcome SendTaskFailureOutcome; typedef Aws::Utils::Outcome SendTaskHeartbeatOutcome; typedef Aws::Utils::Outcome SendTaskSuccessOutcome; @@ -189,6 +192,7 @@ namespace Aws typedef std::future ListStateMachinesOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future PublishStateMachineVersionOutcomeCallable; + typedef std::future RedriveExecutionOutcomeCallable; typedef std::future SendTaskFailureOutcomeCallable; typedef std::future SendTaskHeartbeatOutcomeCallable; typedef std::future SendTaskSuccessOutcomeCallable; @@ -229,6 +233,7 @@ namespace Aws typedef std::function&) > ListStateMachinesResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > PublishStateMachineVersionResponseReceivedHandler; + typedef std::function&) > RedriveExecutionResponseReceivedHandler; typedef std::function&) > SendTaskFailureResponseReceivedHandler; typedef std::function&) > SendTaskHeartbeatResponseReceivedHandler; typedef std::function&) > SendTaskSuccessResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeExecutionResult.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeExecutionResult.h index d548b381b4e..6599fa8b700 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeExecutionResult.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeExecutionResult.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -695,6 +696,306 @@ namespace Model inline DescribeExecutionResult& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;} + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline int GetRedriveCount() const{ return m_redriveCount; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline void SetRedriveCount(int value) { m_redriveCount = value; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline DescribeExecutionResult& WithRedriveCount(int value) { SetRedriveCount(value); return *this;} + + + /** + *

        The date the execution was last redriven. If you have not yet redriven an + * execution, the redriveDate is null.

        The + * redriveDate is unavailable if you redrive a Map Run that starts + * child workflow executions of type EXPRESS.

        + */ + inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; } + + /** + *

        The date the execution was last redriven. If you have not yet redriven an + * execution, the redriveDate is null.

        The + * redriveDate is unavailable if you redrive a Map Run that starts + * child workflow executions of type EXPRESS.

        + */ + inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDate = value; } + + /** + *

        The date the execution was last redriven. If you have not yet redriven an + * execution, the redriveDate is null.

        The + * redriveDate is unavailable if you redrive a Map Run that starts + * child workflow executions of type EXPRESS.

        + */ + inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDate = std::move(value); } + + /** + *

        The date the execution was last redriven. If you have not yet redriven an + * execution, the redriveDate is null.

        The + * redriveDate is unavailable if you redrive a Map Run that starts + * child workflow executions of type EXPRESS.

        + */ + inline DescribeExecutionResult& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;} + + /** + *

        The date the execution was last redriven. If you have not yet redriven an + * execution, the redriveDate is null.

        The + * redriveDate is unavailable if you redrive a Map Run that starts + * child workflow executions of type EXPRESS.

        + */ + inline DescribeExecutionResult& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(std::move(value)); return *this;} + + + /** + *

        Indicates whether or not an execution can be redriven at a given point in + * time.

        • For executions of type STANDARD, + * redriveStatus is NOT_REDRIVABLE if calling the + * RedriveExecution API action would return the + * ExecutionNotRedrivable error.

        • For a Distributed + * Map that includes child workflows of type STANDARD, + * redriveStatus indicates whether or not the Map Run can redrive + * child workflow executions.

        • For a Distributed Map that includes + * child workflows of type EXPRESS, redriveStatus + * indicates whether or not the Map Run can redrive child workflow executions.

          + *

          You can redrive failed or timed out EXPRESS workflows only + * if they're a part of a Map Run. When you redrive + * the Map Run, these workflows are restarted using the StartExecution API + * action.

        + */ + inline const ExecutionRedriveStatus& GetRedriveStatus() const{ return m_redriveStatus; } + + /** + *

        Indicates whether or not an execution can be redriven at a given point in + * time.

        • For executions of type STANDARD, + * redriveStatus is NOT_REDRIVABLE if calling the + * RedriveExecution API action would return the + * ExecutionNotRedrivable error.

        • For a Distributed + * Map that includes child workflows of type STANDARD, + * redriveStatus indicates whether or not the Map Run can redrive + * child workflow executions.

        • For a Distributed Map that includes + * child workflows of type EXPRESS, redriveStatus + * indicates whether or not the Map Run can redrive child workflow executions.

          + *

          You can redrive failed or timed out EXPRESS workflows only + * if they're a part of a Map Run. When you redrive + * the Map Run, these workflows are restarted using the StartExecution API + * action.

        + */ + inline void SetRedriveStatus(const ExecutionRedriveStatus& value) { m_redriveStatus = value; } + + /** + *

        Indicates whether or not an execution can be redriven at a given point in + * time.

        • For executions of type STANDARD, + * redriveStatus is NOT_REDRIVABLE if calling the + * RedriveExecution API action would return the + * ExecutionNotRedrivable error.

        • For a Distributed + * Map that includes child workflows of type STANDARD, + * redriveStatus indicates whether or not the Map Run can redrive + * child workflow executions.

        • For a Distributed Map that includes + * child workflows of type EXPRESS, redriveStatus + * indicates whether or not the Map Run can redrive child workflow executions.

          + *

          You can redrive failed or timed out EXPRESS workflows only + * if they're a part of a Map Run. When you redrive + * the Map Run, these workflows are restarted using the StartExecution API + * action.

        + */ + inline void SetRedriveStatus(ExecutionRedriveStatus&& value) { m_redriveStatus = std::move(value); } + + /** + *

        Indicates whether or not an execution can be redriven at a given point in + * time.

        • For executions of type STANDARD, + * redriveStatus is NOT_REDRIVABLE if calling the + * RedriveExecution API action would return the + * ExecutionNotRedrivable error.

        • For a Distributed + * Map that includes child workflows of type STANDARD, + * redriveStatus indicates whether or not the Map Run can redrive + * child workflow executions.

        • For a Distributed Map that includes + * child workflows of type EXPRESS, redriveStatus + * indicates whether or not the Map Run can redrive child workflow executions.

          + *

          You can redrive failed or timed out EXPRESS workflows only + * if they're a part of a Map Run. When you redrive + * the Map Run, these workflows are restarted using the StartExecution API + * action.

        + */ + inline DescribeExecutionResult& WithRedriveStatus(const ExecutionRedriveStatus& value) { SetRedriveStatus(value); return *this;} + + /** + *

        Indicates whether or not an execution can be redriven at a given point in + * time.

        • For executions of type STANDARD, + * redriveStatus is NOT_REDRIVABLE if calling the + * RedriveExecution API action would return the + * ExecutionNotRedrivable error.

        • For a Distributed + * Map that includes child workflows of type STANDARD, + * redriveStatus indicates whether or not the Map Run can redrive + * child workflow executions.

        • For a Distributed Map that includes + * child workflows of type EXPRESS, redriveStatus + * indicates whether or not the Map Run can redrive child workflow executions.

          + *

          You can redrive failed or timed out EXPRESS workflows only + * if they're a part of a Map Run. When you redrive + * the Map Run, these workflows are restarted using the StartExecution API + * action.

        + */ + inline DescribeExecutionResult& WithRedriveStatus(ExecutionRedriveStatus&& value) { SetRedriveStatus(std::move(value)); return *this;} + + + /** + *

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

        + */ + inline const Aws::String& GetRedriveStatusReason() const{ return m_redriveStatusReason; } + + /** + *

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

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

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

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

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

        + */ + inline void SetRedriveStatusReason(const char* value) { m_redriveStatusReason.assign(value); } + + /** + *

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

        + */ + inline DescribeExecutionResult& WithRedriveStatusReason(const Aws::String& value) { SetRedriveStatusReason(value); return *this;} + + /** + *

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

        + */ + inline DescribeExecutionResult& WithRedriveStatusReason(Aws::String&& value) { SetRedriveStatusReason(std::move(value)); return *this;} + + /** + *

        When redriveStatus is NOT_REDRIVABLE, + * redriveStatusReason specifies the reason why an execution cannot be + * redriven.

        • For executions of type STANDARD, or for + * a Distributed Map that includes child workflows of type STANDARD, + * redriveStatusReason can include one of the following reasons:

          + *
          • State machine is in DELETING status.

          • + *

            Execution is RUNNING and cannot be redriven.

          • + * Execution is SUCCEEDED and cannot be redriven.

          • + * Execution was started before the launch of RedriveExecution.

            + *
          • Execution history event limit exceeded.

          • + *
          • Execution has exceeded the max execution time.

          • + *
          • Execution redrivable period exceeded.

          + *
        • For a Distributed Map that includes child workflows of type + * EXPRESS, redriveStatusReason is only returned if the + * child workflows are not redrivable. This happens when the child workflow + * executions have completed successfully.

        + */ + inline DescribeExecutionResult& WithRedriveStatusReason(const char* value) { SetRedriveStatusReason(value); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -750,6 +1051,14 @@ namespace Model Aws::String m_stateMachineAliasArn; + int m_redriveCount; + + Aws::Utils::DateTime m_redriveDate; + + ExecutionRedriveStatus m_redriveStatus; + + Aws::String m_redriveStatusReason; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeMapRunResult.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeMapRunResult.h index 5df4c884fc0..07f0affc3c3 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeMapRunResult.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/DescribeMapRunResult.h @@ -322,6 +322,59 @@ namespace Model inline DescribeMapRunResult& WithExecutionCounts(MapRunExecutionCounts&& value) { SetExecutionCounts(std::move(value)); return *this;} + /** + *

        The number of times you've redriven a Map Run. If you have not yet redriven a + * Map Run, the redriveCount is 0. This count is not updated for + * redrives that failed to start or are pending to be redriven.

        + */ + inline int GetRedriveCount() const{ return m_redriveCount; } + + /** + *

        The number of times you've redriven a Map Run. If you have not yet redriven a + * Map Run, the redriveCount is 0. This count is not updated for + * redrives that failed to start or are pending to be redriven.

        + */ + inline void SetRedriveCount(int value) { m_redriveCount = value; } + + /** + *

        The number of times you've redriven a Map Run. If you have not yet redriven a + * Map Run, the redriveCount is 0. This count is not updated for + * redrives that failed to start or are pending to be redriven.

        + */ + inline DescribeMapRunResult& WithRedriveCount(int value) { SetRedriveCount(value); return *this;} + + + /** + *

        The date a Map Run was last redriven. If you have not yet redriven a Map Run, + * the redriveDate is null.

        + */ + inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; } + + /** + *

        The date a Map Run was last redriven. If you have not yet redriven a Map Run, + * the redriveDate is null.

        + */ + inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDate = value; } + + /** + *

        The date a Map Run was last redriven. If you have not yet redriven a Map Run, + * the redriveDate is null.

        + */ + inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDate = std::move(value); } + + /** + *

        The date a Map Run was last redriven. If you have not yet redriven a Map Run, + * the redriveDate is null.

        + */ + inline DescribeMapRunResult& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;} + + /** + *

        The date a Map Run was last redriven. If you have not yet redriven a Map Run, + * the redriveDate is null.

        + */ + inline DescribeMapRunResult& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -365,6 +418,10 @@ namespace Model MapRunExecutionCounts m_executionCounts; + int m_redriveCount; + + Aws::Utils::DateTime m_redriveDate; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionListItem.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionListItem.h index 3faec08db16..5baecd06f16 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionListItem.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionListItem.h @@ -550,6 +550,66 @@ namespace Model */ inline ExecutionListItem& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;} + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline int GetRedriveCount() const{ return m_redriveCount; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline bool RedriveCountHasBeenSet() const { return m_redriveCountHasBeenSet; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline ExecutionListItem& WithRedriveCount(int value) { SetRedriveCount(value); return *this;} + + + /** + *

        The date the execution was last redriven.

        + */ + inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; } + + /** + *

        The date the execution was last redriven.

        + */ + inline bool RedriveDateHasBeenSet() const { return m_redriveDateHasBeenSet; } + + /** + *

        The date the execution was last redriven.

        + */ + inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDateHasBeenSet = true; m_redriveDate = value; } + + /** + *

        The date the execution was last redriven.

        + */ + inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDateHasBeenSet = true; m_redriveDate = std::move(value); } + + /** + *

        The date the execution was last redriven.

        + */ + inline ExecutionListItem& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;} + + /** + *

        The date the execution was last redriven.

        + */ + inline ExecutionListItem& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(std::move(value)); return *this;} + private: Aws::String m_executionArn; @@ -581,6 +641,12 @@ namespace Model Aws::String m_stateMachineAliasArn; bool m_stateMachineAliasArnHasBeenSet = false; + + int m_redriveCount; + bool m_redriveCountHasBeenSet = false; + + Aws::Utils::DateTime m_redriveDate; + bool m_redriveDateHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedriveFilter.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedriveFilter.h new file mode 100644 index 00000000000..1ddaf0eff27 --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedriveFilter.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace SFN +{ +namespace Model +{ + enum class ExecutionRedriveFilter + { + NOT_SET, + REDRIVEN, + NOT_REDRIVEN + }; + +namespace ExecutionRedriveFilterMapper +{ +AWS_SFN_API ExecutionRedriveFilter GetExecutionRedriveFilterForName(const Aws::String& name); + +AWS_SFN_API Aws::String GetNameForExecutionRedriveFilter(ExecutionRedriveFilter value); +} // namespace ExecutionRedriveFilterMapper +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedriveStatus.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedriveStatus.h new file mode 100644 index 00000000000..8ada0969e2d --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedriveStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace SFN +{ +namespace Model +{ + enum class ExecutionRedriveStatus + { + NOT_SET, + REDRIVABLE, + NOT_REDRIVABLE, + REDRIVABLE_BY_MAP_RUN + }; + +namespace ExecutionRedriveStatusMapper +{ +AWS_SFN_API ExecutionRedriveStatus GetExecutionRedriveStatusForName(const Aws::String& name); + +AWS_SFN_API Aws::String GetNameForExecutionRedriveStatus(ExecutionRedriveStatus value); +} // namespace ExecutionRedriveStatusMapper +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedrivenEventDetails.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedrivenEventDetails.h new file mode 100644 index 00000000000..8b5439fdc36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionRedrivenEventDetails.h @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace SFN +{ +namespace Model +{ + + /** + *

        Contains details about a redriven execution.

        See Also:

        AWS + * API Reference

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

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline int GetRedriveCount() const{ return m_redriveCount; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline bool RedriveCountHasBeenSet() const { return m_redriveCountHasBeenSet; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; } + + /** + *

        The number of times you've redriven an execution. If you have not yet + * redriven an execution, the redriveCount is 0. This count is not + * updated for redrives that failed to start or are pending to be redriven.

        + */ + inline ExecutionRedrivenEventDetails& WithRedriveCount(int value) { SetRedriveCount(value); return *this;} + + private: + + int m_redriveCount; + bool m_redriveCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionStatus.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionStatus.h index 60389b17706..536bbd9a65f 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionStatus.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ExecutionStatus.h @@ -20,7 +20,8 @@ namespace Model SUCCEEDED, FAILED, TIMED_OUT, - ABORTED + ABORTED, + PENDING_REDRIVE }; namespace ExecutionStatusMapper diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEvent.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEvent.h index 0d21b5bc349..7d2a1963c43 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEvent.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEvent.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -38,6 +39,7 @@ #include #include #include +#include #include namespace Aws @@ -649,6 +651,37 @@ namespace Model inline HistoryEvent& WithExecutionTimedOutEventDetails(ExecutionTimedOutEventDetails&& value) { SetExecutionTimedOutEventDetails(std::move(value)); return *this;} + /** + *

        Contains details about the redrive attempt of an execution.

        + */ + inline const ExecutionRedrivenEventDetails& GetExecutionRedrivenEventDetails() const{ return m_executionRedrivenEventDetails; } + + /** + *

        Contains details about the redrive attempt of an execution.

        + */ + inline bool ExecutionRedrivenEventDetailsHasBeenSet() const { return m_executionRedrivenEventDetailsHasBeenSet; } + + /** + *

        Contains details about the redrive attempt of an execution.

        + */ + inline void SetExecutionRedrivenEventDetails(const ExecutionRedrivenEventDetails& value) { m_executionRedrivenEventDetailsHasBeenSet = true; m_executionRedrivenEventDetails = value; } + + /** + *

        Contains details about the redrive attempt of an execution.

        + */ + inline void SetExecutionRedrivenEventDetails(ExecutionRedrivenEventDetails&& value) { m_executionRedrivenEventDetailsHasBeenSet = true; m_executionRedrivenEventDetails = std::move(value); } + + /** + *

        Contains details about the redrive attempt of an execution.

        + */ + inline HistoryEvent& WithExecutionRedrivenEventDetails(const ExecutionRedrivenEventDetails& value) { SetExecutionRedrivenEventDetails(value); return *this;} + + /** + *

        Contains details about the redrive attempt of an execution.

        + */ + inline HistoryEvent& WithExecutionRedrivenEventDetails(ExecutionRedrivenEventDetails&& value) { SetExecutionRedrivenEventDetails(std::move(value)); return *this;} + + /** *

        Contains details about Map state that was started.

        */ @@ -1065,6 +1098,37 @@ namespace Model */ inline HistoryEvent& WithMapRunFailedEventDetails(MapRunFailedEventDetails&& value) { SetMapRunFailedEventDetails(std::move(value)); return *this;} + + /** + *

        Contains details about the redrive attempt of a Map Run.

        + */ + inline const MapRunRedrivenEventDetails& GetMapRunRedrivenEventDetails() const{ return m_mapRunRedrivenEventDetails; } + + /** + *

        Contains details about the redrive attempt of a Map Run.

        + */ + inline bool MapRunRedrivenEventDetailsHasBeenSet() const { return m_mapRunRedrivenEventDetailsHasBeenSet; } + + /** + *

        Contains details about the redrive attempt of a Map Run.

        + */ + inline void SetMapRunRedrivenEventDetails(const MapRunRedrivenEventDetails& value) { m_mapRunRedrivenEventDetailsHasBeenSet = true; m_mapRunRedrivenEventDetails = value; } + + /** + *

        Contains details about the redrive attempt of a Map Run.

        + */ + inline void SetMapRunRedrivenEventDetails(MapRunRedrivenEventDetails&& value) { m_mapRunRedrivenEventDetailsHasBeenSet = true; m_mapRunRedrivenEventDetails = std::move(value); } + + /** + *

        Contains details about the redrive attempt of a Map Run.

        + */ + inline HistoryEvent& WithMapRunRedrivenEventDetails(const MapRunRedrivenEventDetails& value) { SetMapRunRedrivenEventDetails(value); return *this;} + + /** + *

        Contains details about the redrive attempt of a Map Run.

        + */ + inline HistoryEvent& WithMapRunRedrivenEventDetails(MapRunRedrivenEventDetails&& value) { SetMapRunRedrivenEventDetails(std::move(value)); return *this;} + private: Aws::Utils::DateTime m_timestamp; @@ -1136,6 +1200,9 @@ namespace Model ExecutionTimedOutEventDetails m_executionTimedOutEventDetails; bool m_executionTimedOutEventDetailsHasBeenSet = false; + ExecutionRedrivenEventDetails m_executionRedrivenEventDetails; + bool m_executionRedrivenEventDetailsHasBeenSet = false; + MapStateStartedEventDetails m_mapStateStartedEventDetails; bool m_mapStateStartedEventDetailsHasBeenSet = false; @@ -1180,6 +1247,9 @@ namespace Model MapRunFailedEventDetails m_mapRunFailedEventDetails; bool m_mapRunFailedEventDetailsHasBeenSet = false; + + MapRunRedrivenEventDetails m_mapRunRedrivenEventDetails; + bool m_mapRunRedrivenEventDetailsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEventType.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEventType.h index ef3f3de4faa..396d258e832 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEventType.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/HistoryEventType.h @@ -74,7 +74,9 @@ namespace Model MapRunAborted, MapRunFailed, MapRunStarted, - MapRunSucceeded + MapRunSucceeded, + ExecutionRedriven, + MapRunRedriven }; namespace HistoryEventTypeMapper diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ListExecutionsRequest.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ListExecutionsRequest.h index ac59bbd4887..87fdade4d80 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/ListExecutionsRequest.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/ListExecutionsRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -391,6 +392,73 @@ namespace Model */ inline ListExecutionsRequest& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;} + + /** + *

        Sets a filter to list executions based on whether or not they have been + * redriven.

        For a Distributed Map, redriveFilter sets a filter + * to list child workflow executions based on whether or not they have been + * redriven.

        If you do not provide a redriveFilter, Step + * Functions returns a list of both redriven and non-redriven executions.

        If + * you provide a state machine ARN in redriveFilter, the API returns a + * validation exception.

        + */ + inline const ExecutionRedriveFilter& GetRedriveFilter() const{ return m_redriveFilter; } + + /** + *

        Sets a filter to list executions based on whether or not they have been + * redriven.

        For a Distributed Map, redriveFilter sets a filter + * to list child workflow executions based on whether or not they have been + * redriven.

        If you do not provide a redriveFilter, Step + * Functions returns a list of both redriven and non-redriven executions.

        If + * you provide a state machine ARN in redriveFilter, the API returns a + * validation exception.

        + */ + inline bool RedriveFilterHasBeenSet() const { return m_redriveFilterHasBeenSet; } + + /** + *

        Sets a filter to list executions based on whether or not they have been + * redriven.

        For a Distributed Map, redriveFilter sets a filter + * to list child workflow executions based on whether or not they have been + * redriven.

        If you do not provide a redriveFilter, Step + * Functions returns a list of both redriven and non-redriven executions.

        If + * you provide a state machine ARN in redriveFilter, the API returns a + * validation exception.

        + */ + inline void SetRedriveFilter(const ExecutionRedriveFilter& value) { m_redriveFilterHasBeenSet = true; m_redriveFilter = value; } + + /** + *

        Sets a filter to list executions based on whether or not they have been + * redriven.

        For a Distributed Map, redriveFilter sets a filter + * to list child workflow executions based on whether or not they have been + * redriven.

        If you do not provide a redriveFilter, Step + * Functions returns a list of both redriven and non-redriven executions.

        If + * you provide a state machine ARN in redriveFilter, the API returns a + * validation exception.

        + */ + inline void SetRedriveFilter(ExecutionRedriveFilter&& value) { m_redriveFilterHasBeenSet = true; m_redriveFilter = std::move(value); } + + /** + *

        Sets a filter to list executions based on whether or not they have been + * redriven.

        For a Distributed Map, redriveFilter sets a filter + * to list child workflow executions based on whether or not they have been + * redriven.

        If you do not provide a redriveFilter, Step + * Functions returns a list of both redriven and non-redriven executions.

        If + * you provide a state machine ARN in redriveFilter, the API returns a + * validation exception.

        + */ + inline ListExecutionsRequest& WithRedriveFilter(const ExecutionRedriveFilter& value) { SetRedriveFilter(value); return *this;} + + /** + *

        Sets a filter to list executions based on whether or not they have been + * redriven.

        For a Distributed Map, redriveFilter sets a filter + * to list child workflow executions based on whether or not they have been + * redriven.

        If you do not provide a redriveFilter, Step + * Functions returns a list of both redriven and non-redriven executions.

        If + * you provide a state machine ARN in redriveFilter, the API returns a + * validation exception.

        + */ + inline ListExecutionsRequest& WithRedriveFilter(ExecutionRedriveFilter&& value) { SetRedriveFilter(std::move(value)); return *this;} + private: Aws::String m_stateMachineArn; @@ -407,6 +475,9 @@ namespace Model Aws::String m_mapRunArn; bool m_mapRunArnHasBeenSet = false; + + ExecutionRedriveFilter m_redriveFilter; + bool m_redriveFilterHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunExecutionCounts.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunExecutionCounts.h index d352d46ccf2..d594bcafe6c 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunExecutionCounts.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunExecutionCounts.h @@ -247,6 +247,80 @@ namespace Model */ inline MapRunExecutionCounts& WithResultsWritten(long long value) { SetResultsWritten(value); return *this;} + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT child workflow executions that cannot be redriven because + * their execution status is terminal. For example, if your execution event history + * contains 25,000 entries, or the toleratedFailureCount or + * toleratedFailurePercentage for the Distributed Map has + * exceeded.

        + */ + inline long long GetFailuresNotRedrivable() const{ return m_failuresNotRedrivable; } + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT child workflow executions that cannot be redriven because + * their execution status is terminal. For example, if your execution event history + * contains 25,000 entries, or the toleratedFailureCount or + * toleratedFailurePercentage for the Distributed Map has + * exceeded.

        + */ + inline bool FailuresNotRedrivableHasBeenSet() const { return m_failuresNotRedrivableHasBeenSet; } + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT child workflow executions that cannot be redriven because + * their execution status is terminal. For example, if your execution event history + * contains 25,000 entries, or the toleratedFailureCount or + * toleratedFailurePercentage for the Distributed Map has + * exceeded.

        + */ + inline void SetFailuresNotRedrivable(long long value) { m_failuresNotRedrivableHasBeenSet = true; m_failuresNotRedrivable = value; } + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT child workflow executions that cannot be redriven because + * their execution status is terminal. For example, if your execution event history + * contains 25,000 entries, or the toleratedFailureCount or + * toleratedFailurePercentage for the Distributed Map has + * exceeded.

        + */ + inline MapRunExecutionCounts& WithFailuresNotRedrivable(long long value) { SetFailuresNotRedrivable(value); return *this;} + + + /** + *

        The number of unsuccessful child workflow executions currently waiting to be + * redriven. The status of these child workflow executions could be + * FAILED, ABORTED, or TIMED_OUT in the + * original execution attempt or a previous redrive attempt.

        + */ + inline long long GetPendingRedrive() const{ return m_pendingRedrive; } + + /** + *

        The number of unsuccessful child workflow executions currently waiting to be + * redriven. The status of these child workflow executions could be + * FAILED, ABORTED, or TIMED_OUT in the + * original execution attempt or a previous redrive attempt.

        + */ + inline bool PendingRedriveHasBeenSet() const { return m_pendingRedriveHasBeenSet; } + + /** + *

        The number of unsuccessful child workflow executions currently waiting to be + * redriven. The status of these child workflow executions could be + * FAILED, ABORTED, or TIMED_OUT in the + * original execution attempt or a previous redrive attempt.

        + */ + inline void SetPendingRedrive(long long value) { m_pendingRedriveHasBeenSet = true; m_pendingRedrive = value; } + + /** + *

        The number of unsuccessful child workflow executions currently waiting to be + * redriven. The status of these child workflow executions could be + * FAILED, ABORTED, or TIMED_OUT in the + * original execution attempt or a previous redrive attempt.

        + */ + inline MapRunExecutionCounts& WithPendingRedrive(long long value) { SetPendingRedrive(value); return *this;} + private: long long m_pending; @@ -272,6 +346,12 @@ namespace Model long long m_resultsWritten; bool m_resultsWrittenHasBeenSet = false; + + long long m_failuresNotRedrivable; + bool m_failuresNotRedrivableHasBeenSet = false; + + long long m_pendingRedrive; + bool m_pendingRedriveHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunItemCounts.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunItemCounts.h index 95485170dbc..f68f01e44b2 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunItemCounts.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunItemCounts.h @@ -243,6 +243,72 @@ namespace Model */ inline MapRunItemCounts& WithResultsWritten(long long value) { SetResultsWritten(value); return *this;} + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT items in child workflow executions that cannot be + * redriven because the execution status of those child workflows is terminal. For + * example, if your execution event history contains 25,000 entries, or the + * toleratedFailureCount or toleratedFailurePercentage + * for the Distributed Map has exceeded.

        + */ + inline long long GetFailuresNotRedrivable() const{ return m_failuresNotRedrivable; } + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT items in child workflow executions that cannot be + * redriven because the execution status of those child workflows is terminal. For + * example, if your execution event history contains 25,000 entries, or the + * toleratedFailureCount or toleratedFailurePercentage + * for the Distributed Map has exceeded.

        + */ + inline bool FailuresNotRedrivableHasBeenSet() const { return m_failuresNotRedrivableHasBeenSet; } + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT items in child workflow executions that cannot be + * redriven because the execution status of those child workflows is terminal. For + * example, if your execution event history contains 25,000 entries, or the + * toleratedFailureCount or toleratedFailurePercentage + * for the Distributed Map has exceeded.

        + */ + inline void SetFailuresNotRedrivable(long long value) { m_failuresNotRedrivableHasBeenSet = true; m_failuresNotRedrivable = value; } + + /** + *

        The number of FAILED, ABORTED, or + * TIMED_OUT items in child workflow executions that cannot be + * redriven because the execution status of those child workflows is terminal. For + * example, if your execution event history contains 25,000 entries, or the + * toleratedFailureCount or toleratedFailurePercentage + * for the Distributed Map has exceeded.

        + */ + inline MapRunItemCounts& WithFailuresNotRedrivable(long long value) { SetFailuresNotRedrivable(value); return *this;} + + + /** + *

        The number of unsuccessful items in child workflow executions currently + * waiting to be redriven.

        + */ + inline long long GetPendingRedrive() const{ return m_pendingRedrive; } + + /** + *

        The number of unsuccessful items in child workflow executions currently + * waiting to be redriven.

        + */ + inline bool PendingRedriveHasBeenSet() const { return m_pendingRedriveHasBeenSet; } + + /** + *

        The number of unsuccessful items in child workflow executions currently + * waiting to be redriven.

        + */ + inline void SetPendingRedrive(long long value) { m_pendingRedriveHasBeenSet = true; m_pendingRedrive = value; } + + /** + *

        The number of unsuccessful items in child workflow executions currently + * waiting to be redriven.

        + */ + inline MapRunItemCounts& WithPendingRedrive(long long value) { SetPendingRedrive(value); return *this;} + private: long long m_pending; @@ -268,6 +334,12 @@ namespace Model long long m_resultsWritten; bool m_resultsWrittenHasBeenSet = false; + + long long m_failuresNotRedrivable; + bool m_failuresNotRedrivableHasBeenSet = false; + + long long m_pendingRedrive; + bool m_pendingRedriveHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunRedrivenEventDetails.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunRedrivenEventDetails.h new file mode 100644 index 00000000000..cfb109262f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/MapRunRedrivenEventDetails.h @@ -0,0 +1,121 @@ +/** + * 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 SFN +{ +namespace Model +{ + + /** + *

        Contains details about a Map Run that was redriven.

        See Also:

        + * AWS + * API Reference

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

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; } + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; } + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline void SetMapRunArn(const Aws::String& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = value; } + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline void SetMapRunArn(Aws::String&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::move(value); } + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline void SetMapRunArn(const char* value) { m_mapRunArnHasBeenSet = true; m_mapRunArn.assign(value); } + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline MapRunRedrivenEventDetails& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;} + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline MapRunRedrivenEventDetails& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;} + + /** + *

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        + */ + inline MapRunRedrivenEventDetails& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;} + + + /** + *

        The number of times the Map Run has been redriven at this point in the + * execution's history including this event. The redrive count for a redriven Map + * Run is always greater than 0.

        + */ + inline int GetRedriveCount() const{ return m_redriveCount; } + + /** + *

        The number of times the Map Run has been redriven at this point in the + * execution's history including this event. The redrive count for a redriven Map + * Run is always greater than 0.

        + */ + inline bool RedriveCountHasBeenSet() const { return m_redriveCountHasBeenSet; } + + /** + *

        The number of times the Map Run has been redriven at this point in the + * execution's history including this event. The redrive count for a redriven Map + * Run is always greater than 0.

        + */ + inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; } + + /** + *

        The number of times the Map Run has been redriven at this point in the + * execution's history including this event. The redrive count for a redriven Map + * Run is always greater than 0.

        + */ + inline MapRunRedrivenEventDetails& WithRedriveCount(int value) { SetRedriveCount(value); return *this;} + + private: + + Aws::String m_mapRunArn; + bool m_mapRunArnHasBeenSet = false; + + int m_redriveCount; + bool m_redriveCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/RedriveExecutionRequest.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/RedriveExecutionRequest.h new file mode 100644 index 00000000000..d4f256889fe --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/RedriveExecutionRequest.h @@ -0,0 +1,162 @@ +/** + * 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 SFN +{ +namespace Model +{ + + /** + */ + class RedriveExecutionRequest : public SFNRequest + { + public: + AWS_SFN_API RedriveExecutionRequest(); + + // 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 "RedriveExecution"; } + + AWS_SFN_API Aws::String SerializePayload() const override; + + AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline const Aws::String& GetExecutionArn() const{ return m_executionArn; } + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; } + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; } + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); } + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); } + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline RedriveExecutionRequest& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;} + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline RedriveExecutionRequest& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;} + + /** + *

        The Amazon Resource Name (ARN) of the execution to be redriven.

        + */ + inline RedriveExecutionRequest& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;} + + + /** + *

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

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

        A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. If you don’t specify a client token, the Amazon Web + * Services SDK automatically generates a client token and uses it for the request + * to ensure idempotency. The API uses one of the last 10 client tokens + * provided.

        + */ + inline RedriveExecutionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + private: + + Aws::String m_executionArn; + bool m_executionArnHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/RedriveExecutionResult.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/RedriveExecutionResult.h new file mode 100644 index 00000000000..24823e750fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/RedriveExecutionResult.h @@ -0,0 +1,92 @@ +/** + * 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 SFN +{ +namespace Model +{ + class RedriveExecutionResult + { + public: + AWS_SFN_API RedriveExecutionResult(); + AWS_SFN_API RedriveExecutionResult(const Aws::AmazonWebServiceResult& result); + AWS_SFN_API RedriveExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

        The date the execution was last redriven.

        + */ + inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; } + + /** + *

        The date the execution was last redriven.

        + */ + inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDate = value; } + + /** + *

        The date the execution was last redriven.

        + */ + inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDate = std::move(value); } + + /** + *

        The date the execution was last redriven.

        + */ + inline RedriveExecutionResult& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;} + + /** + *

        The date the execution was last redriven.

        + */ + inline RedriveExecutionResult& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(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 RedriveExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline RedriveExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline RedriveExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_redriveDate; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/RoutingConfigurationListItem.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/RoutingConfigurationListItem.h index 9f43c2cec3b..17ad2b3ed33 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/RoutingConfigurationListItem.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/RoutingConfigurationListItem.h @@ -106,30 +106,26 @@ namespace Model /** - *

        The percentage of traffic you want to route to the second state machine - * version. The sum of the weights in the routing configuration must be equal to - * 100.

        + *

        The percentage of traffic you want to route to a state machine version. The + * sum of the weights in the routing configuration must be equal to 100.

        */ inline int GetWeight() const{ return m_weight; } /** - *

        The percentage of traffic you want to route to the second state machine - * version. The sum of the weights in the routing configuration must be equal to - * 100.

        + *

        The percentage of traffic you want to route to a state machine version. The + * sum of the weights in the routing configuration must be equal to 100.

        */ inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; } /** - *

        The percentage of traffic you want to route to the second state machine - * version. The sum of the weights in the routing configuration must be equal to - * 100.

        + *

        The percentage of traffic you want to route to a state machine version. The + * sum of the weights in the routing configuration must be equal to 100.

        */ inline void SetWeight(int value) { m_weightHasBeenSet = true; m_weight = value; } /** - *

        The percentage of traffic you want to route to the second state machine - * version. The sum of the weights in the routing configuration must be equal to - * 100.

        + *

        The percentage of traffic you want to route to a state machine version. The + * sum of the weights in the routing configuration must be equal to 100.

        */ inline RoutingConfigurationListItem& WithWeight(int value) { SetWeight(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-states/include/aws/states/model/StartExecutionRequest.h b/generated/src/aws-cpp-sdk-states/include/aws/states/model/StartExecutionRequest.h index f65cf3d2603..15b22107381 100644 --- a/generated/src/aws-cpp-sdk-states/include/aws/states/model/StartExecutionRequest.h +++ b/generated/src/aws-cpp-sdk-states/include/aws/states/model/StartExecutionRequest.h @@ -249,13 +249,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline const Aws::String& GetName() const{ return m_name; } @@ -265,13 +267,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -281,13 +285,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } @@ -297,13 +303,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } @@ -313,13 +321,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } @@ -329,13 +339,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline StartExecutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;} @@ -345,13 +357,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline StartExecutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} @@ -361,13 +375,15 @@ namespace Model * see * Limits Related to State Machine Executions in the Step Functions - * Developer Guide.

        A name must not contain:

        • - *

          white space

        • brackets < > { } [ ]

          - *
        • wildcard characters ? *

        • special - * characters " # % \ ^ | ~ ` $ & , ; : /

        • - *

          control characters (U+0000-001F, U+007F-009F)

          - *

        To enable logging with CloudWatch Logs, the name should only - * contain 0-9, A-Z, a-z, - and _.

        + * Developer Guide.

        If you don't provide a name for the execution, Step + * Functions automatically generates a universally unique identifier (UUID) as the + * execution name.

        A name must not contain:

        • white + * space

        • brackets < > { } [ ]

        • + *

          wildcard characters ? *

        • special characters + * " # % \ ^ | ~ ` $ & , ; : /

        • control + * characters (U+0000-001F, U+007F-009F)

        + *

        To enable logging with CloudWatch Logs, the name should only contain 0-9, + * A-Z, a-z, - and _.

        */ inline StartExecutionRequest& WithName(const char* value) { SetName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-states/source/SFNClient.cpp b/generated/src/aws-cpp-sdk-states/source/SFNClient.cpp index ac75d6420ac..5ed7e21171b 100644 --- a/generated/src/aws-cpp-sdk-states/source/SFNClient.cpp +++ b/generated/src/aws-cpp-sdk-states/source/SFNClient.cpp @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include @@ -786,6 +787,32 @@ PublishStateMachineVersionOutcome SFNClient::PublishStateMachineVersion(const Pu {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +RedriveExecutionOutcome SFNClient::RedriveExecution(const RedriveExecutionRequest& request) const +{ + AWS_OPERATION_GUARD(RedriveExecution); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RedriveExecution, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RedriveExecution, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RedriveExecution, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".RedriveExecution", + {{ 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( + [&]()-> RedriveExecutionOutcome { + 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, RedriveExecution, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return RedriveExecutionOutcome(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()}}); +} + SendTaskFailureOutcome SFNClient::SendTaskFailure(const SendTaskFailureRequest& request) const { AWS_OPERATION_GUARD(SendTaskFailure); diff --git a/generated/src/aws-cpp-sdk-states/source/SFNEndpointRules.cpp b/generated/src/aws-cpp-sdk-states/source/SFNEndpointRules.cpp index 7e52546a02a..1e272232642 100644 --- a/generated/src/aws-cpp-sdk-states/source/SFNEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-states/source/SFNEndpointRules.cpp @@ -51,114 +51,114 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','t','a','t', -'e','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f', -'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', -'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', -'t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k', -' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a', -'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', -'o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', -'n','"','}',',','"','u','s','-','g','o','v','-','w','e','s','t','-','1','"',']','}',']',',','"','e', -'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'s','t','a','t','e','s','.','u','s','-','g','o','v','-','w','e','s','t','-','1','.','a','m','a','z', -'o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', '}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p', -'s',':','/','/','s','t','a','t','e','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.', -'{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i', -'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', -'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', -'"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r', -'r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','t','a','t','e','s','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D', +'u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t', ' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ', -'s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r', -'o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',', -'t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', -'u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"', -']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e', -'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', +':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',',','"','u', +'s','-','g','o','v','-','w','e','s','t','-','1','"',']','}',']',',','"','e','n','d','p','o','i','n', +'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','t','a','t','e','s', +'.','u','s','-','g','o','v','-','w','e','s','t','-','1','.','a','m','a','z','o','n','a','w','s','.', +'c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', +'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', +'t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', 'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','t', -'a','t','e','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}', -'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', -'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', -'r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ', -'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', -'o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y', -'p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', -'"','h','t','t','p','s',':','/','/','s','t','a','t','e','s','.','{','R','e','g','i','o','n','}','.', -'{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i', -'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', -'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', -'"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'a','t','e','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', +'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', +'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a', +'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d', +'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y', +'p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':', +'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', +'"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u', +'e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', +'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', +'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','s','t','a','t','e','s','.','{', +'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', +'p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}', +',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ', +'e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', +'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t', +'a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', +'t','p','s',':','/','/','s','t','a','t','e','s','.','{','R','e','g','i','o','n','}','.','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"', +',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', +'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', +',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', 'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', 't','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y', 'p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-states/source/SFNErrors.cpp b/generated/src/aws-cpp-sdk-states/source/SFNErrors.cpp index 16ffe6e40a4..cb85be7f515 100644 --- a/generated/src/aws-cpp-sdk-states/source/SFNErrors.cpp +++ b/generated/src/aws-cpp-sdk-states/source/SFNErrors.cpp @@ -44,6 +44,7 @@ static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); static const int INVALID_TOKEN_HASH = HashingUtils::HashString("InvalidToken"); static const int ACTIVITY_WORKER_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("ActivityWorkerLimitExceeded"); static const int INVALID_LOGGING_CONFIGURATION_HASH = HashingUtils::HashString("InvalidLoggingConfiguration"); +static const int EXECUTION_NOT_REDRIVABLE_HASH = HashingUtils::HashString("ExecutionNotRedrivable"); static const int TASK_TIMED_OUT_HASH = HashingUtils::HashString("TaskTimedOut"); static const int INVALID_EXECUTION_INPUT_HASH = HashingUtils::HashString("InvalidExecutionInput"); static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException"); @@ -87,6 +88,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(SFNErrors::INVALID_LOGGING_CONFIGURATION), false); } + else if (hashCode == EXECUTION_NOT_REDRIVABLE_HASH) + { + return AWSError(static_cast(SFNErrors::EXECUTION_NOT_REDRIVABLE), false); + } else if (hashCode == TASK_TIMED_OUT_HASH) { return AWSError(static_cast(SFNErrors::TASK_TIMED_OUT), false); diff --git a/generated/src/aws-cpp-sdk-states/source/model/DescribeExecutionResult.cpp b/generated/src/aws-cpp-sdk-states/source/model/DescribeExecutionResult.cpp index 6779f6f7e03..8af74133e34 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/DescribeExecutionResult.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/DescribeExecutionResult.cpp @@ -18,12 +18,16 @@ using namespace Aws::Utils; using namespace Aws; DescribeExecutionResult::DescribeExecutionResult() : - m_status(ExecutionStatus::NOT_SET) + m_status(ExecutionStatus::NOT_SET), + m_redriveCount(0), + m_redriveStatus(ExecutionRedriveStatus::NOT_SET) { } DescribeExecutionResult::DescribeExecutionResult(const Aws::AmazonWebServiceResult& result) : - m_status(ExecutionStatus::NOT_SET) + m_status(ExecutionStatus::NOT_SET), + m_redriveCount(0), + m_redriveStatus(ExecutionRedriveStatus::NOT_SET) { *this = result; } @@ -127,6 +131,30 @@ DescribeExecutionResult& DescribeExecutionResult::operator =(const Aws::AmazonWe } + if(jsonValue.ValueExists("redriveCount")) + { + m_redriveCount = jsonValue.GetInteger("redriveCount"); + + } + + if(jsonValue.ValueExists("redriveDate")) + { + m_redriveDate = jsonValue.GetDouble("redriveDate"); + + } + + if(jsonValue.ValueExists("redriveStatus")) + { + m_redriveStatus = ExecutionRedriveStatusMapper::GetExecutionRedriveStatusForName(jsonValue.GetString("redriveStatus")); + + } + + if(jsonValue.ValueExists("redriveStatusReason")) + { + m_redriveStatusReason = jsonValue.GetString("redriveStatusReason"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-states/source/model/DescribeMapRunResult.cpp b/generated/src/aws-cpp-sdk-states/source/model/DescribeMapRunResult.cpp index 20ba5081510..11bcfdfce2f 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/DescribeMapRunResult.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/DescribeMapRunResult.cpp @@ -21,7 +21,8 @@ DescribeMapRunResult::DescribeMapRunResult() : m_status(MapRunStatus::NOT_SET), m_maxConcurrency(0), m_toleratedFailurePercentage(0.0), - m_toleratedFailureCount(0) + m_toleratedFailureCount(0), + m_redriveCount(0) { } @@ -29,7 +30,8 @@ DescribeMapRunResult::DescribeMapRunResult(const Aws::AmazonWebServiceResult +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace SFN + { + namespace Model + { + namespace ExecutionRedriveFilterMapper + { + + static const int REDRIVEN_HASH = HashingUtils::HashString("REDRIVEN"); + static const int NOT_REDRIVEN_HASH = HashingUtils::HashString("NOT_REDRIVEN"); + + + ExecutionRedriveFilter GetExecutionRedriveFilterForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == REDRIVEN_HASH) + { + return ExecutionRedriveFilter::REDRIVEN; + } + else if (hashCode == NOT_REDRIVEN_HASH) + { + return ExecutionRedriveFilter::NOT_REDRIVEN; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ExecutionRedriveFilter::NOT_SET; + } + + Aws::String GetNameForExecutionRedriveFilter(ExecutionRedriveFilter enumValue) + { + switch(enumValue) + { + case ExecutionRedriveFilter::NOT_SET: + return {}; + case ExecutionRedriveFilter::REDRIVEN: + return "REDRIVEN"; + case ExecutionRedriveFilter::NOT_REDRIVEN: + return "NOT_REDRIVEN"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ExecutionRedriveFilterMapper + } // namespace Model + } // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/source/model/ExecutionRedriveStatus.cpp b/generated/src/aws-cpp-sdk-states/source/model/ExecutionRedriveStatus.cpp new file mode 100644 index 00000000000..c78d72d7b6e --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/source/model/ExecutionRedriveStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace SFN + { + namespace Model + { + namespace ExecutionRedriveStatusMapper + { + + static const int REDRIVABLE_HASH = HashingUtils::HashString("REDRIVABLE"); + static const int NOT_REDRIVABLE_HASH = HashingUtils::HashString("NOT_REDRIVABLE"); + static const int REDRIVABLE_BY_MAP_RUN_HASH = HashingUtils::HashString("REDRIVABLE_BY_MAP_RUN"); + + + ExecutionRedriveStatus GetExecutionRedriveStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == REDRIVABLE_HASH) + { + return ExecutionRedriveStatus::REDRIVABLE; + } + else if (hashCode == NOT_REDRIVABLE_HASH) + { + return ExecutionRedriveStatus::NOT_REDRIVABLE; + } + else if (hashCode == REDRIVABLE_BY_MAP_RUN_HASH) + { + return ExecutionRedriveStatus::REDRIVABLE_BY_MAP_RUN; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ExecutionRedriveStatus::NOT_SET; + } + + Aws::String GetNameForExecutionRedriveStatus(ExecutionRedriveStatus enumValue) + { + switch(enumValue) + { + case ExecutionRedriveStatus::NOT_SET: + return {}; + case ExecutionRedriveStatus::REDRIVABLE: + return "REDRIVABLE"; + case ExecutionRedriveStatus::NOT_REDRIVABLE: + return "NOT_REDRIVABLE"; + case ExecutionRedriveStatus::REDRIVABLE_BY_MAP_RUN: + return "REDRIVABLE_BY_MAP_RUN"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ExecutionRedriveStatusMapper + } // namespace Model + } // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/source/model/ExecutionRedrivenEventDetails.cpp b/generated/src/aws-cpp-sdk-states/source/model/ExecutionRedrivenEventDetails.cpp new file mode 100644 index 00000000000..cd874d38993 --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/source/model/ExecutionRedrivenEventDetails.cpp @@ -0,0 +1,61 @@ +/** + * 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 SFN +{ +namespace Model +{ + +ExecutionRedrivenEventDetails::ExecutionRedrivenEventDetails() : + m_redriveCount(0), + m_redriveCountHasBeenSet(false) +{ +} + +ExecutionRedrivenEventDetails::ExecutionRedrivenEventDetails(JsonView jsonValue) : + m_redriveCount(0), + m_redriveCountHasBeenSet(false) +{ + *this = jsonValue; +} + +ExecutionRedrivenEventDetails& ExecutionRedrivenEventDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("redriveCount")) + { + m_redriveCount = jsonValue.GetInteger("redriveCount"); + + m_redriveCountHasBeenSet = true; + } + + return *this; +} + +JsonValue ExecutionRedrivenEventDetails::Jsonize() const +{ + JsonValue payload; + + if(m_redriveCountHasBeenSet) + { + payload.WithInteger("redriveCount", m_redriveCount); + + } + + return payload; +} + +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/source/model/ExecutionStatus.cpp b/generated/src/aws-cpp-sdk-states/source/model/ExecutionStatus.cpp index 4358f394b54..c851f3c7dae 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/ExecutionStatus.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/ExecutionStatus.cpp @@ -25,6 +25,7 @@ namespace Aws static const int FAILED_HASH = HashingUtils::HashString("FAILED"); static const int TIMED_OUT_HASH = HashingUtils::HashString("TIMED_OUT"); static const int ABORTED_HASH = HashingUtils::HashString("ABORTED"); + static const int PENDING_REDRIVE_HASH = HashingUtils::HashString("PENDING_REDRIVE"); ExecutionStatus GetExecutionStatusForName(const Aws::String& name) @@ -50,6 +51,10 @@ namespace Aws { return ExecutionStatus::ABORTED; } + else if (hashCode == PENDING_REDRIVE_HASH) + { + return ExecutionStatus::PENDING_REDRIVE; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -76,6 +81,8 @@ namespace Aws return "TIMED_OUT"; case ExecutionStatus::ABORTED: return "ABORTED"; + case ExecutionStatus::PENDING_REDRIVE: + return "PENDING_REDRIVE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-states/source/model/HistoryEvent.cpp b/generated/src/aws-cpp-sdk-states/source/model/HistoryEvent.cpp index c3c5fce75d7..4f4be13d171 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/HistoryEvent.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/HistoryEvent.cpp @@ -45,6 +45,7 @@ HistoryEvent::HistoryEvent() : m_executionSucceededEventDetailsHasBeenSet(false), m_executionAbortedEventDetailsHasBeenSet(false), m_executionTimedOutEventDetailsHasBeenSet(false), + m_executionRedrivenEventDetailsHasBeenSet(false), m_mapStateStartedEventDetailsHasBeenSet(false), m_mapIterationStartedEventDetailsHasBeenSet(false), m_mapIterationSucceededEventDetailsHasBeenSet(false), @@ -59,7 +60,8 @@ HistoryEvent::HistoryEvent() : m_stateEnteredEventDetailsHasBeenSet(false), m_stateExitedEventDetailsHasBeenSet(false), m_mapRunStartedEventDetailsHasBeenSet(false), - m_mapRunFailedEventDetailsHasBeenSet(false) + m_mapRunFailedEventDetailsHasBeenSet(false), + m_mapRunRedrivenEventDetailsHasBeenSet(false) { } @@ -90,6 +92,7 @@ HistoryEvent::HistoryEvent(JsonView jsonValue) : m_executionSucceededEventDetailsHasBeenSet(false), m_executionAbortedEventDetailsHasBeenSet(false), m_executionTimedOutEventDetailsHasBeenSet(false), + m_executionRedrivenEventDetailsHasBeenSet(false), m_mapStateStartedEventDetailsHasBeenSet(false), m_mapIterationStartedEventDetailsHasBeenSet(false), m_mapIterationSucceededEventDetailsHasBeenSet(false), @@ -104,7 +107,8 @@ HistoryEvent::HistoryEvent(JsonView jsonValue) : m_stateEnteredEventDetailsHasBeenSet(false), m_stateExitedEventDetailsHasBeenSet(false), m_mapRunStartedEventDetailsHasBeenSet(false), - m_mapRunFailedEventDetailsHasBeenSet(false) + m_mapRunFailedEventDetailsHasBeenSet(false), + m_mapRunRedrivenEventDetailsHasBeenSet(false) { *this = jsonValue; } @@ -272,6 +276,13 @@ HistoryEvent& HistoryEvent::operator =(JsonView jsonValue) m_executionTimedOutEventDetailsHasBeenSet = true; } + if(jsonValue.ValueExists("executionRedrivenEventDetails")) + { + m_executionRedrivenEventDetails = jsonValue.GetObject("executionRedrivenEventDetails"); + + m_executionRedrivenEventDetailsHasBeenSet = true; + } + if(jsonValue.ValueExists("mapStateStartedEventDetails")) { m_mapStateStartedEventDetails = jsonValue.GetObject("mapStateStartedEventDetails"); @@ -377,6 +388,13 @@ HistoryEvent& HistoryEvent::operator =(JsonView jsonValue) m_mapRunFailedEventDetailsHasBeenSet = true; } + if(jsonValue.ValueExists("mapRunRedrivenEventDetails")) + { + m_mapRunRedrivenEventDetails = jsonValue.GetObject("mapRunRedrivenEventDetails"); + + m_mapRunRedrivenEventDetailsHasBeenSet = true; + } + return *this; } @@ -520,6 +538,12 @@ JsonValue HistoryEvent::Jsonize() const } + if(m_executionRedrivenEventDetailsHasBeenSet) + { + payload.WithObject("executionRedrivenEventDetails", m_executionRedrivenEventDetails.Jsonize()); + + } + if(m_mapStateStartedEventDetailsHasBeenSet) { payload.WithObject("mapStateStartedEventDetails", m_mapStateStartedEventDetails.Jsonize()); @@ -610,6 +634,12 @@ JsonValue HistoryEvent::Jsonize() const } + if(m_mapRunRedrivenEventDetailsHasBeenSet) + { + payload.WithObject("mapRunRedrivenEventDetails", m_mapRunRedrivenEventDetails.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-states/source/model/HistoryEventType.cpp b/generated/src/aws-cpp-sdk-states/source/model/HistoryEventType.cpp index 0021ed9c054..264e2940bcf 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/HistoryEventType.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/HistoryEventType.cpp @@ -79,6 +79,8 @@ namespace Aws static const int MapRunFailed_HASH = HashingUtils::HashString("MapRunFailed"); static const int MapRunStarted_HASH = HashingUtils::HashString("MapRunStarted"); static const int MapRunSucceeded_HASH = HashingUtils::HashString("MapRunSucceeded"); + static const int ExecutionRedriven_HASH = HashingUtils::HashString("ExecutionRedriven"); + static const int MapRunRedriven_HASH = HashingUtils::HashString("MapRunRedriven"); HistoryEventType GetHistoryEventTypeForName(const Aws::String& name) @@ -320,6 +322,14 @@ namespace Aws { return HistoryEventType::MapRunSucceeded; } + else if (hashCode == ExecutionRedriven_HASH) + { + return HistoryEventType::ExecutionRedriven; + } + else if (hashCode == MapRunRedriven_HASH) + { + return HistoryEventType::MapRunRedriven; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -454,6 +464,10 @@ namespace Aws return "MapRunStarted"; case HistoryEventType::MapRunSucceeded: return "MapRunSucceeded"; + case HistoryEventType::ExecutionRedriven: + return "ExecutionRedriven"; + case HistoryEventType::MapRunRedriven: + return "MapRunRedriven"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-states/source/model/ListExecutionsRequest.cpp b/generated/src/aws-cpp-sdk-states/source/model/ListExecutionsRequest.cpp index d82c6dae3b7..b632553f0d4 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/ListExecutionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/ListExecutionsRequest.cpp @@ -19,7 +19,9 @@ ListExecutionsRequest::ListExecutionsRequest() : m_maxResults(0), m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_mapRunArnHasBeenSet(false) + m_mapRunArnHasBeenSet(false), + m_redriveFilter(ExecutionRedriveFilter::NOT_SET), + m_redriveFilterHasBeenSet(false) { } @@ -56,6 +58,11 @@ Aws::String ListExecutionsRequest::SerializePayload() const } + if(m_redriveFilterHasBeenSet) + { + payload.WithString("redriveFilter", ExecutionRedriveFilterMapper::GetNameForExecutionRedriveFilter(m_redriveFilter)); + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-states/source/model/MapRunExecutionCounts.cpp b/generated/src/aws-cpp-sdk-states/source/model/MapRunExecutionCounts.cpp index 9abc824d116..edd36c3c2b7 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/MapRunExecutionCounts.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/MapRunExecutionCounts.cpp @@ -34,7 +34,11 @@ MapRunExecutionCounts::MapRunExecutionCounts() : m_total(0), m_totalHasBeenSet(false), m_resultsWritten(0), - m_resultsWrittenHasBeenSet(false) + m_resultsWrittenHasBeenSet(false), + m_failuresNotRedrivable(0), + m_failuresNotRedrivableHasBeenSet(false), + m_pendingRedrive(0), + m_pendingRedriveHasBeenSet(false) { } @@ -54,7 +58,11 @@ MapRunExecutionCounts::MapRunExecutionCounts(JsonView jsonValue) : m_total(0), m_totalHasBeenSet(false), m_resultsWritten(0), - m_resultsWrittenHasBeenSet(false) + m_resultsWrittenHasBeenSet(false), + m_failuresNotRedrivable(0), + m_failuresNotRedrivableHasBeenSet(false), + m_pendingRedrive(0), + m_pendingRedriveHasBeenSet(false) { *this = jsonValue; } @@ -117,6 +125,20 @@ MapRunExecutionCounts& MapRunExecutionCounts::operator =(JsonView jsonValue) m_resultsWrittenHasBeenSet = true; } + if(jsonValue.ValueExists("failuresNotRedrivable")) + { + m_failuresNotRedrivable = jsonValue.GetInt64("failuresNotRedrivable"); + + m_failuresNotRedrivableHasBeenSet = true; + } + + if(jsonValue.ValueExists("pendingRedrive")) + { + m_pendingRedrive = jsonValue.GetInt64("pendingRedrive"); + + m_pendingRedriveHasBeenSet = true; + } + return *this; } @@ -172,6 +194,18 @@ JsonValue MapRunExecutionCounts::Jsonize() const } + if(m_failuresNotRedrivableHasBeenSet) + { + payload.WithInt64("failuresNotRedrivable", m_failuresNotRedrivable); + + } + + if(m_pendingRedriveHasBeenSet) + { + payload.WithInt64("pendingRedrive", m_pendingRedrive); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-states/source/model/MapRunItemCounts.cpp b/generated/src/aws-cpp-sdk-states/source/model/MapRunItemCounts.cpp index fd25153e604..75c442706fd 100644 --- a/generated/src/aws-cpp-sdk-states/source/model/MapRunItemCounts.cpp +++ b/generated/src/aws-cpp-sdk-states/source/model/MapRunItemCounts.cpp @@ -34,7 +34,11 @@ MapRunItemCounts::MapRunItemCounts() : m_total(0), m_totalHasBeenSet(false), m_resultsWritten(0), - m_resultsWrittenHasBeenSet(false) + m_resultsWrittenHasBeenSet(false), + m_failuresNotRedrivable(0), + m_failuresNotRedrivableHasBeenSet(false), + m_pendingRedrive(0), + m_pendingRedriveHasBeenSet(false) { } @@ -54,7 +58,11 @@ MapRunItemCounts::MapRunItemCounts(JsonView jsonValue) : m_total(0), m_totalHasBeenSet(false), m_resultsWritten(0), - m_resultsWrittenHasBeenSet(false) + m_resultsWrittenHasBeenSet(false), + m_failuresNotRedrivable(0), + m_failuresNotRedrivableHasBeenSet(false), + m_pendingRedrive(0), + m_pendingRedriveHasBeenSet(false) { *this = jsonValue; } @@ -117,6 +125,20 @@ MapRunItemCounts& MapRunItemCounts::operator =(JsonView jsonValue) m_resultsWrittenHasBeenSet = true; } + if(jsonValue.ValueExists("failuresNotRedrivable")) + { + m_failuresNotRedrivable = jsonValue.GetInt64("failuresNotRedrivable"); + + m_failuresNotRedrivableHasBeenSet = true; + } + + if(jsonValue.ValueExists("pendingRedrive")) + { + m_pendingRedrive = jsonValue.GetInt64("pendingRedrive"); + + m_pendingRedriveHasBeenSet = true; + } + return *this; } @@ -172,6 +194,18 @@ JsonValue MapRunItemCounts::Jsonize() const } + if(m_failuresNotRedrivableHasBeenSet) + { + payload.WithInt64("failuresNotRedrivable", m_failuresNotRedrivable); + + } + + if(m_pendingRedriveHasBeenSet) + { + payload.WithInt64("pendingRedrive", m_pendingRedrive); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-states/source/model/MapRunRedrivenEventDetails.cpp b/generated/src/aws-cpp-sdk-states/source/model/MapRunRedrivenEventDetails.cpp new file mode 100644 index 00000000000..8e3bb6dccf5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/source/model/MapRunRedrivenEventDetails.cpp @@ -0,0 +1,76 @@ +/** + * 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 SFN +{ +namespace Model +{ + +MapRunRedrivenEventDetails::MapRunRedrivenEventDetails() : + m_mapRunArnHasBeenSet(false), + m_redriveCount(0), + m_redriveCountHasBeenSet(false) +{ +} + +MapRunRedrivenEventDetails::MapRunRedrivenEventDetails(JsonView jsonValue) : + m_mapRunArnHasBeenSet(false), + m_redriveCount(0), + m_redriveCountHasBeenSet(false) +{ + *this = jsonValue; +} + +MapRunRedrivenEventDetails& MapRunRedrivenEventDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("mapRunArn")) + { + m_mapRunArn = jsonValue.GetString("mapRunArn"); + + m_mapRunArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("redriveCount")) + { + m_redriveCount = jsonValue.GetInteger("redriveCount"); + + m_redriveCountHasBeenSet = true; + } + + return *this; +} + +JsonValue MapRunRedrivenEventDetails::Jsonize() const +{ + JsonValue payload; + + if(m_mapRunArnHasBeenSet) + { + payload.WithString("mapRunArn", m_mapRunArn); + + } + + if(m_redriveCountHasBeenSet) + { + payload.WithInteger("redriveCount", m_redriveCount); + + } + + return payload; +} + +} // namespace Model +} // namespace SFN +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-states/source/model/RedriveExecutionRequest.cpp b/generated/src/aws-cpp-sdk-states/source/model/RedriveExecutionRequest.cpp new file mode 100644 index 00000000000..f14af4128bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/source/model/RedriveExecutionRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::SFN::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +RedriveExecutionRequest::RedriveExecutionRequest() : + m_executionArnHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) +{ +} + +Aws::String RedriveExecutionRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_executionArnHasBeenSet) + { + payload.WithString("executionArn", m_executionArn); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection RedriveExecutionRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSStepFunctions.RedriveExecution")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-states/source/model/RedriveExecutionResult.cpp b/generated/src/aws-cpp-sdk-states/source/model/RedriveExecutionResult.cpp new file mode 100644 index 00000000000..1b4d8146772 --- /dev/null +++ b/generated/src/aws-cpp-sdk-states/source/model/RedriveExecutionResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::SFN::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +RedriveExecutionResult::RedriveExecutionResult() +{ +} + +RedriveExecutionResult::RedriveExecutionResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +RedriveExecutionResult& RedriveExecutionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("redriveDate")) + { + m_redriveDate = jsonValue.GetDouble("redriveDate"); + + } + + + 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/tests/backup-gen-tests/BackupEndpointProviderTests.cpp b/generated/tests/backup-gen-tests/BackupEndpointProviderTests.cpp index 1d0f5956fde..9fd10767b2d 100644 --- a/generated/tests/backup-gen-tests/BackupEndpointProviderTests.cpp +++ b/generated/tests/backup-gen-tests/BackupEndpointProviderTests.cpp @@ -423,6 +423,12 @@ static const Aws::Vector TEST_CASES = { {}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Missing Region"} // expect + }, + /*TEST CASE 48*/ + {"Partition doesn't support DualStack", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect } }; 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 8b00e8256ef..13f83ace706 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.201" +#define AWS_SDK_VERSION_STRING "1.11.202" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 201 +#define AWS_SDK_VERSION_PATCH 202 diff --git a/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json b/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json index 379cbe80b72..9f7726892ca 100644 --- a/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json +++ b/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json @@ -679,6 +679,20 @@ ], "documentation":"

        Returns the Amazon Web Services resource types supported by Backup.

        " }, + "ListBackupJobSummaries":{ + "name":"ListBackupJobSummaries", + "http":{ + "method":"GET", + "requestUri":"/audit/backup-job-summaries" + }, + "input":{"shape":"ListBackupJobSummariesInput"}, + "output":{"shape":"ListBackupJobSummariesOutput"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"ServiceUnavailableException"} + ], + "documentation":"

        This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.

        This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, "ListBackupJobs":{ "name":"ListBackupJobs", "http":{ @@ -778,6 +792,20 @@ "documentation":"

        Returns a list of recovery point storage containers along with information about them.

        ", "idempotent":true }, + "ListCopyJobSummaries":{ + "name":"ListCopyJobSummaries", + "http":{ + "method":"GET", + "requestUri":"/audit/copy-job-summaries" + }, + "input":{"shape":"ListCopyJobSummariesInput"}, + "output":{"shape":"ListCopyJobSummariesOutput"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"ServiceUnavailableException"} + ], + "documentation":"

        This request obtains a list of copy jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.

        This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, "ListCopyJobs":{ "name":"ListCopyJobs", "http":{ @@ -930,6 +958,20 @@ ], "documentation":"

        Returns a list of your report plans. For detailed information about a single report plan, use DescribeReportPlan.

        " }, + "ListRestoreJobSummaries":{ + "name":"ListRestoreJobSummaries", + "http":{ + "method":"GET", + "requestUri":"/audit/restore-job-summaries" + }, + "input":{"shape":"ListRestoreJobSummariesInput"}, + "output":{"shape":"ListRestoreJobSummariesOutput"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"ServiceUnavailableException"} + ], + "documentation":"

        This request obtains a summary of restore jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, AggregationPeriod, MaxResults, or NextToken to filter results.

        This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, "ListRestoreJobs":{ "name":"ListRestoreJobs", "http":{ @@ -1262,6 +1304,14 @@ "type":"list", "member":{"shape":"AdvancedBackupSetting"} }, + "AggregationPeriod":{ + "type":"string", + "enum":[ + "ONE_DAY", + "SEVEN_DAYS", + "FOURTEEN_DAYS" + ] + }, "AlreadyExistsException":{ "type":"structure", "members":{ @@ -1381,6 +1431,10 @@ "ResourceName":{ "shape":"string", "documentation":"

        This is the non-unique name of the resource that belongs to the specified backup.

        " + }, + "MessageCategory":{ + "shape":"string", + "documentation":"

        This parameter is the job count for the specified message category.

        Example strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

        " } }, "documentation":"

        Contains detailed information about a backup job.

        " @@ -1404,6 +1458,64 @@ "PARTIAL" ] }, + "BackupJobStatus":{ + "type":"string", + "enum":[ + "CREATED", + "PENDING", + "RUNNING", + "ABORTING", + "ABORTED", + "COMPLETED", + "FAILED", + "EXPIRED", + "PARTIAL", + "AGGREGATE_ALL", + "ANY" + ] + }, + "BackupJobSummary":{ + "type":"structure", + "members":{ + "Region":{ + "shape":"Region", + "documentation":"

        The Amazon Web Services Regions within the job summary.

        " + }, + "AccountId":{ + "shape":"AccountId", + "documentation":"

        The account ID that owns the jobs within the summary.

        " + }, + "State":{ + "shape":"BackupJobStatus", + "documentation":"

        This value is job count for jobs with the specified state.

        " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

        This value is the job count for the specified resource type. The request GetSupportedResourceTypes returns strings for supported resource types.

        " + }, + "MessageCategory":{ + "shape":"MessageCategory", + "documentation":"

        This parameter is the job count for the specified message category.

        Example strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

        " + }, + "Count":{ + "shape":"integer", + "documentation":"

        The value as a number of jobs in a job summary.

        " + }, + "StartTime":{ + "shape":"timestamp", + "documentation":"

        The value of time in number format of a job start time.

        This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        " + }, + "EndTime":{ + "shape":"timestamp", + "documentation":"

        The value of time in number format of a job end time.

        This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        " + } + }, + "documentation":"

        This is a summary of jobs created or running within the most recent 30 days.

        The returned summary may contain the following: Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, + "BackupJobSummaryList":{ + "type":"list", + "member":{"shape":"BackupJobSummary"} + }, "BackupJobsList":{ "type":"list", "member":{"shape":"BackupJob"} @@ -2077,6 +2189,10 @@ "ResourceName":{ "shape":"string", "documentation":"

        This is the non-unique name of the resource that belongs to the specified backup.

        " + }, + "MessageCategory":{ + "shape":"string", + "documentation":"

        This parameter is the job count for the specified message category.

        Example strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum

        " } }, "documentation":"

        Contains detailed information about a copy job.

        " @@ -2096,6 +2212,64 @@ "PARTIAL" ] }, + "CopyJobStatus":{ + "type":"string", + "enum":[ + "CREATED", + "RUNNING", + "ABORTING", + "ABORTED", + "COMPLETING", + "COMPLETED", + "FAILING", + "FAILED", + "PARTIAL", + "AGGREGATE_ALL", + "ANY" + ] + }, + "CopyJobSummary":{ + "type":"structure", + "members":{ + "Region":{ + "shape":"Region", + "documentation":"

        This is the Amazon Web Services Regions within the job summary.

        " + }, + "AccountId":{ + "shape":"AccountId", + "documentation":"

        The account ID that owns the jobs within the summary.

        " + }, + "State":{ + "shape":"CopyJobStatus", + "documentation":"

        This value is job count for jobs with the specified state.

        " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

        This value is the job count for the specified resource type. The request GetSupportedResourceTypes returns strings for supported resource types

        " + }, + "MessageCategory":{ + "shape":"MessageCategory", + "documentation":"

        This parameter is the job count for the specified message category.

        Example strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

        " + }, + "Count":{ + "shape":"integer", + "documentation":"

        The value as a number of jobs in a job summary.

        " + }, + "StartTime":{ + "shape":"timestamp", + "documentation":"

        The value of time in number format of a job start time.

        This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        " + }, + "EndTime":{ + "shape":"timestamp", + "documentation":"

        The value of time in number format of a job end time.

        This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        " + } + }, + "documentation":"

        This is a summary of copy jobs created or running within the most recent 30 days.

        The returned summary may contain the following: Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, + "CopyJobSummaryList":{ + "type":"list", + "member":{"shape":"CopyJobSummary"} + }, "CopyJobsList":{ "type":"list", "member":{"shape":"CopyJob"} @@ -2732,6 +2906,10 @@ "ResourceName":{ "shape":"string", "documentation":"

        This is the non-unique name of the resource that belongs to the specified backup.

        " + }, + "MessageCategory":{ + "shape":"string", + "documentation":"

        This is the job count for the specified message category.

        Example strings may include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of MessageCategory strings.

        " } } }, @@ -3768,6 +3946,70 @@ "documentation":"

        A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.

        ", "exception":true }, + "ListBackupJobSummariesInput":{ + "type":"structure", + "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

        Returns the job count for the specified account.

        If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.

        Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.

        AGGREGATE_ALL aggregates job counts from all accounts within the authenticated organization, then returns the sum.

        ", + "location":"querystring", + "locationName":"AccountId" + }, + "State":{ + "shape":"BackupJobStatus", + "documentation":"

        This parameter returns the job count for jobs with the specified state.

        The the value ANY returns count of all states.

        AGGREGATE_ALL aggregates job counts for all states and returns the sum.

        ", + "location":"querystring", + "locationName":"State" + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

        Returns the job count for the specified resource type. Use request GetSupportedResourceTypes to obtain strings for supported resource types.

        The the value ANY returns count of all resource types.

        AGGREGATE_ALL aggregates job counts for all resource types and returns the sum.

        The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

        ", + "location":"querystring", + "locationName":"ResourceType" + }, + "MessageCategory":{ + "shape":"MessageCategory", + "documentation":"

        This parameter returns the job count for the specified message category.

        Example accepted strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of accepted MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

        ", + "location":"querystring", + "locationName":"MessageCategory" + }, + "AggregationPeriod":{ + "shape":"AggregationPeriod", + "documentation":"

        This is the period that sets the boundaries for returned results.

        Acceptable values include

        • ONE_DAY for daily job count for the prior 14 days.

        • SEVEN_DAYS for the aggregated job count for the prior 7 days.

        • FOURTEEN_DAYS for aggregated job count for prior 14 days.

        ", + "location":"querystring", + "locationName":"AggregationPeriod" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

        This parameter sets the maximum number of items to be returned.

        The value is an integer. Range of accepted values is from 1 to 500.

        ", + "location":"querystring", + "locationName":"MaxResults" + }, + "NextToken":{ + "shape":"string", + "documentation":"

        The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

        ", + "location":"querystring", + "locationName":"NextToken" + } + } + }, + "ListBackupJobSummariesOutput":{ + "type":"structure", + "members":{ + "BackupJobSummaries":{ + "shape":"BackupJobSummaryList", + "documentation":"

        This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, + "AggregationPeriod":{ + "shape":"string", + "documentation":"

        This is the period that sets the boundaries for returned results.

        • ONE_DAY for daily job count for the prior 14 days.

        • SEVEN_DAYS for the aggregated job count for the prior 7 days.

        • FOURTEEN_DAYS for aggregated job count for prior 14 days.

        " + }, + "NextToken":{ + "shape":"string", + "documentation":"

        The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

        " + } + } + }, "ListBackupJobsInput":{ "type":"structure", "members":{ @@ -3842,6 +4084,12 @@ "documentation":"

        This is a filter to list child (nested) jobs based on parent job ID.

        ", "location":"querystring", "locationName":"parentJobId" + }, + "ByMessageCategory":{ + "shape":"string", + "documentation":"

        This returns a list of backup jobs for the specified message category.

        Example strings may include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of MessageCategory strings.

        ", + "location":"querystring", + "locationName":"messageCategory" } } }, @@ -4040,6 +4288,70 @@ } } }, + "ListCopyJobSummariesInput":{ + "type":"structure", + "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

        Returns the job count for the specified account.

        If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.

        Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.

        AGGREGATE_ALL aggregates job counts from all accounts within the authenticated organization, then returns the sum.

        ", + "location":"querystring", + "locationName":"AccountId" + }, + "State":{ + "shape":"CopyJobStatus", + "documentation":"

        This parameter returns the job count for jobs with the specified state.

        The the value ANY returns count of all states.

        AGGREGATE_ALL aggregates job counts for all states and returns the sum.

        ", + "location":"querystring", + "locationName":"State" + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

        Returns the job count for the specified resource type. Use request GetSupportedResourceTypes to obtain strings for supported resource types.

        The the value ANY returns count of all resource types.

        AGGREGATE_ALL aggregates job counts for all resource types and returns the sum.

        The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

        ", + "location":"querystring", + "locationName":"ResourceType" + }, + "MessageCategory":{ + "shape":"MessageCategory", + "documentation":"

        This parameter returns the job count for the specified message category.

        Example accepted strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of accepted MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

        ", + "location":"querystring", + "locationName":"MessageCategory" + }, + "AggregationPeriod":{ + "shape":"AggregationPeriod", + "documentation":"

        This is the period that sets the boundaries for returned results.

        • ONE_DAY for daily job count for the prior 14 days.

        • SEVEN_DAYS for the aggregated job count for the prior 7 days.

        • FOURTEEN_DAYS for aggregated job count for prior 14 days.

        ", + "location":"querystring", + "locationName":"AggregationPeriod" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

        This parameter sets the maximum number of items to be returned.

        The value is an integer. Range of accepted values is from 1 to 500.

        ", + "location":"querystring", + "locationName":"MaxResults" + }, + "NextToken":{ + "shape":"string", + "documentation":"

        The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

        ", + "location":"querystring", + "locationName":"NextToken" + } + } + }, + "ListCopyJobSummariesOutput":{ + "type":"structure", + "members":{ + "CopyJobSummaries":{ + "shape":"CopyJobSummaryList", + "documentation":"

        This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, + "AggregationPeriod":{ + "shape":"string", + "documentation":"

        This is the period that sets the boundaries for returned results.

        • ONE_DAY for daily job count for the prior 14 days.

        • SEVEN_DAYS for the aggregated job count for the prior 7 days.

        • FOURTEEN_DAYS for aggregated job count for prior 14 days.

        " + }, + "NextToken":{ + "shape":"string", + "documentation":"

        The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

        " + } + } + }, "ListCopyJobsInput":{ "type":"structure", "members":{ @@ -4114,6 +4426,12 @@ "documentation":"

        This is a filter to list child (nested) jobs based on parent job ID.

        ", "location":"querystring", "locationName":"parentJobId" + }, + "ByMessageCategory":{ + "shape":"string", + "documentation":"

        This parameter returns the job count for the specified message category.

        Example accepted strings include AccessDenied, Success, and InvalidParameters. See Monitoring for a list of accepted MessageCategory strings.

        The the value ANY returns count of all message categories.

        AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

        ", + "location":"querystring", + "locationName":"messageCategory" } } }, @@ -4504,6 +4822,64 @@ } } }, + "ListRestoreJobSummariesInput":{ + "type":"structure", + "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

        Returns the job count for the specified account.

        If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.

        Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.

        AGGREGATE_ALL aggregates job counts from all accounts within the authenticated organization, then returns the sum.

        ", + "location":"querystring", + "locationName":"AccountId" + }, + "State":{ + "shape":"RestoreJobState", + "documentation":"

        This parameter returns the job count for jobs with the specified state.

        The the value ANY returns count of all states.

        AGGREGATE_ALL aggregates job counts for all states and returns the sum.

        ", + "location":"querystring", + "locationName":"State" + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

        Returns the job count for the specified resource type. Use request GetSupportedResourceTypes to obtain strings for supported resource types.

        The the value ANY returns count of all resource types.

        AGGREGATE_ALL aggregates job counts for all resource types and returns the sum.

        The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

        ", + "location":"querystring", + "locationName":"ResourceType" + }, + "AggregationPeriod":{ + "shape":"AggregationPeriod", + "documentation":"

        This is the period that sets the boundaries for returned results.

        Acceptable values include

        • ONE_DAY for daily job count for the prior 14 days.

        • SEVEN_DAYS for the aggregated job count for the prior 7 days.

        • FOURTEEN_DAYS for aggregated job count for prior 14 days.

        ", + "location":"querystring", + "locationName":"AggregationPeriod" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

        This parameter sets the maximum number of items to be returned.

        The value is an integer. Range of accepted values is from 1 to 500.

        ", + "location":"querystring", + "locationName":"MaxResults" + }, + "NextToken":{ + "shape":"string", + "documentation":"

        The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

        ", + "location":"querystring", + "locationName":"NextToken" + } + } + }, + "ListRestoreJobSummariesOutput":{ + "type":"structure", + "members":{ + "RestoreJobSummaries":{ + "shape":"RestoreJobSummaryList", + "documentation":"

        This return contains a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, + "AggregationPeriod":{ + "shape":"string", + "documentation":"

        This is the period that sets the boundaries for returned results.

        • ONE_DAY for daily job count for the prior 14 days.

        • SEVEN_DAYS for the aggregated job count for the prior 7 days.

        • FOURTEEN_DAYS for aggregated job count for prior 14 days.

        " + }, + "NextToken":{ + "shape":"string", + "documentation":"

        The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

        " + } + } + }, "ListRestoreJobsInput":{ "type":"structure", "members":{ @@ -4618,6 +4994,7 @@ "max":1000, "min":1 }, + "MessageCategory":{"type":"string"}, "Metadata":{ "type":"map", "key":{"shape":"MetadataKey"}, @@ -4955,6 +5332,7 @@ "type":"list", "member":{"shape":"RecoveryPointMember"} }, + "Region":{"type":"string"}, "ReportDeliveryChannel":{ "type":"structure", "required":["S3BucketName"], @@ -5168,6 +5546,19 @@ "member":{"shape":"ResourceType"} }, "RestoreJobId":{"type":"string"}, + "RestoreJobState":{ + "type":"string", + "enum":[ + "CREATED", + "PENDING", + "RUNNING", + "ABORTED", + "COMPLETED", + "FAILED", + "AGGREGATE_ALL", + "ANY" + ] + }, "RestoreJobStatus":{ "type":"string", "enum":[ @@ -5178,6 +5569,44 @@ "FAILED" ] }, + "RestoreJobSummary":{ + "type":"structure", + "members":{ + "Region":{ + "shape":"Region", + "documentation":"

        The Amazon Web Services Regions within the job summary.

        " + }, + "AccountId":{ + "shape":"AccountId", + "documentation":"

        The account ID that owns the jobs within the summary.

        " + }, + "State":{ + "shape":"RestoreJobState", + "documentation":"

        This value is job count for jobs with the specified state.

        " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

        This value is the job count for the specified resource type. The request GetSupportedResourceTypes returns strings for supported resource types.

        " + }, + "Count":{ + "shape":"integer", + "documentation":"

        The value as a number of jobs in a job summary.

        " + }, + "StartTime":{ + "shape":"timestamp", + "documentation":"

        The value of time in number format of a job start time.

        This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        " + }, + "EndTime":{ + "shape":"timestamp", + "documentation":"

        The value of time in number format of a job end time.

        This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        " + } + }, + "documentation":"

        This is a summary of restore jobs created or running within the most recent 30 days.

        The returned summary may contain the following: Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.

        " + }, + "RestoreJobSummaryList":{ + "type":"list", + "member":{"shape":"RestoreJobSummary"} + }, "RestoreJobsList":{ "type":"list", "member":{"shape":"RestoreJobsListMember"} diff --git a/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json b/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json index 9c97b12fc3c..e0a0b88b7eb 100644 --- a/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json +++ b/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json @@ -1287,7 +1287,7 @@ "type":"string", "max":36, "min":36, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "AnalysisTemplateSummary":{ "type":"structure", @@ -1352,7 +1352,7 @@ }, "AnalysisTemplateText":{ "type":"string", - "max":15000, + "max":90000, "min":0 }, "BatchGetCollaborationAnalysisTemplateError":{ @@ -1713,7 +1713,7 @@ "type":"string", "max":36, "min":36, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "CollaborationName":{ "type":"string", @@ -2034,7 +2034,7 @@ "type":"string", "max":36, "min":36, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "ConfiguredTableAssociationSummary":{ "type":"structure", @@ -2092,7 +2092,7 @@ "type":"string", "max":36, "min":36, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "ConfiguredTableSummary":{ "type":"structure", @@ -2269,6 +2269,10 @@ "tags":{ "shape":"TagMap", "documentation":"

        An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

        " + }, + "creatorPaymentConfiguration":{ + "shape":"PaymentConfiguration", + "documentation":"

        The collaboration creator's payment responsibilities set by the collaboration creator.

        If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.

        " } } }, @@ -2421,7 +2425,7 @@ }, "queryLogStatus":{ "shape":"MembershipQueryLogStatus", - "documentation":"

        An indicator as to whether query logging has been enabled or disabled for the collaboration.

        " + "documentation":"

        An indicator as to whether query logging has been enabled or disabled for the membership.

        " }, "tags":{ "shape":"TagMap", @@ -2430,6 +2434,10 @@ "defaultResultConfiguration":{ "shape":"MembershipProtectedQueryResultConfiguration", "documentation":"

        The default protected query result configuration as specified by the member who can receive results.

        " + }, + "paymentConfiguration":{ + "shape":"MembershipPaymentConfiguration", + "documentation":"

        The payment responsibilities accepted by the collaboration member.

        Not required if the collaboration member has the member ability to run queries.

        Required if the collaboration member doesn't have the member ability to run queries but is configured as a payer by the collaboration creator.

        " } } }, @@ -2454,19 +2462,19 @@ "members":{ "allowCleartext":{ "shape":"Boolean", - "documentation":"

        Indicates whether encrypted tables can contain cleartext data (true) or are to cryptographically process every column (false).

        " + "documentation":"

        Indicates whether encrypted tables can contain cleartext data (TRUE) or are to cryptographically process every column (FALSE).

        " }, "allowDuplicates":{ "shape":"Boolean", - "documentation":"

        Indicates whether Fingerprint columns can contain duplicate entries (true) or are to contain only non-repeated values (false).

        " + "documentation":"

        Indicates whether Fingerprint columns can contain duplicate entries (TRUE) or are to contain only non-repeated values (FALSE).

        " }, "allowJoinsOnColumnsWithDifferentNames":{ "shape":"Boolean", - "documentation":"

        Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name (true) or can only be joined on Fingerprint columns of the same name (false).

        " + "documentation":"

        Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name (TRUE) or can only be joined on Fingerprint columns of the same name (FALSE).

        " }, "preserveNulls":{ "shape":"Boolean", - "documentation":"

        Indicates whether NULL values are to be copied as NULL to encrypted tables (true) or cryptographically processed (false).

        " + "documentation":"

        Indicates whether NULL values are to be copied as NULL to encrypted tables (TRUE) or cryptographically processed (FALSE).

        " } }, "documentation":"

        The settings for client-side encryption for cryptographic computing.

        " @@ -3411,6 +3419,10 @@ "displayName":{ "shape":"DisplayName", "documentation":"

        The member's display name.

        " + }, + "paymentConfiguration":{ + "shape":"PaymentConfiguration", + "documentation":"

        The collaboration member's payment responsibilities set by the collaboration creator.

        If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.

        " } }, "documentation":"

        Basic metadata used to construct a new member.

        " @@ -3432,7 +3444,8 @@ "displayName", "abilities", "createTime", - "updateTime" + "updateTime", + "paymentConfiguration" ], "members":{ "accountId":{ @@ -3441,7 +3454,7 @@ }, "status":{ "shape":"MemberStatus", - "documentation":"

        The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and `REMOVED`.

        " + "documentation":"

        The status of the member.

        " }, "displayName":{ "shape":"DisplayName", @@ -3466,6 +3479,10 @@ "membershipArn":{ "shape":"MembershipArn", "documentation":"

        The unique ARN for the member's associated membership, if present.

        " + }, + "paymentConfiguration":{ + "shape":"PaymentConfiguration", + "documentation":"

        The collaboration member's payment responsibilities set by the collaboration creator.

        " } }, "documentation":"

        The member object listed by the request.

        " @@ -3488,7 +3505,8 @@ "updateTime", "status", "memberAbilities", - "queryLogStatus" + "queryLogStatus", + "paymentConfiguration" ], "members":{ "id":{ @@ -3529,7 +3547,7 @@ }, "status":{ "shape":"MembershipStatus", - "documentation":"

        The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.

        " + "documentation":"

        The status of the membership.

        " }, "memberAbilities":{ "shape":"MemberAbilities", @@ -3537,11 +3555,15 @@ }, "queryLogStatus":{ "shape":"MembershipQueryLogStatus", - "documentation":"

        An indicator as to whether query logging has been enabled or disabled for the collaboration.

        " + "documentation":"

        An indicator as to whether query logging has been enabled or disabled for the membership.

        " }, "defaultResultConfiguration":{ "shape":"MembershipProtectedQueryResultConfiguration", "documentation":"

        The default protected query result configuration as specified by the member who can receive results.

        " + }, + "paymentConfiguration":{ + "shape":"MembershipPaymentConfiguration", + "documentation":"

        The payment responsibilities accepted by the collaboration member.

        " } }, "documentation":"

        The membership object.

        " @@ -3556,7 +3578,18 @@ "type":"string", "max":36, "min":36, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" + }, + "MembershipPaymentConfiguration":{ + "type":"structure", + "required":["queryCompute"], + "members":{ + "queryCompute":{ + "shape":"MembershipQueryComputePaymentConfig", + "documentation":"

        The payment responsibilities accepted by the collaboration member for query compute costs.

        " + } + }, + "documentation":"

        An object representing the payment responsibilities accepted by the collaboration member.

        " }, "MembershipProtectedQueryOutputConfiguration":{ "type":"structure", @@ -3581,6 +3614,17 @@ }, "documentation":"

        Contains configurations for protected query results.

        " }, + "MembershipQueryComputePaymentConfig":{ + "type":"structure", + "required":["isResponsible"], + "members":{ + "isResponsible":{ + "shape":"Boolean", + "documentation":"

        Indicates whether the collaboration member has accepted to pay for query compute costs (TRUE) or has not accepted to pay for query compute costs (FALSE).

        If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.

        An error message is returned for the following reasons:

        • If you set the value to FALSE but you are responsible to pay for query compute costs.

        • If you set the value to TRUE but you are not responsible to pay for query compute costs.

        " + } + }, + "documentation":"

        An object representing the payment responsibilities accepted by the collaboration member for query compute costs.

        " + }, "MembershipQueryLogStatus":{ "type":"string", "enum":[ @@ -3609,7 +3653,8 @@ "createTime", "updateTime", "status", - "memberAbilities" + "memberAbilities", + "paymentConfiguration" ], "members":{ "id":{ @@ -3650,11 +3695,15 @@ }, "status":{ "shape":"MembershipStatus", - "documentation":"

        The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.

        " + "documentation":"

        The status of the membership.

        " }, "memberAbilities":{ "shape":"MemberAbilities", "documentation":"

        The abilities granted to the collaboration member.

        " + }, + "paymentConfiguration":{ + "shape":"MembershipPaymentConfiguration", + "documentation":"

        The payment responsibilities accepted by the collaboration member.

        " } }, "documentation":"

        The membership object listed by the request.

        " @@ -3704,6 +3753,17 @@ "max":250, "min":0 }, + "PaymentConfiguration":{ + "type":"structure", + "required":["queryCompute"], + "members":{ + "queryCompute":{ + "shape":"QueryComputePaymentConfig", + "documentation":"

        The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.

        " + } + }, + "documentation":"

        An object representing the collaboration member's payment responsibilities set by the collaboration creator.

        " + }, "ProtectedQuery":{ "type":"structure", "required":[ @@ -3778,8 +3838,8 @@ "ProtectedQueryIdentifier":{ "type":"string", "max":36, - "min":1, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "min":36, + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "ProtectedQueryMemberOutputList":{ "type":"list", @@ -3893,7 +3953,7 @@ }, "ProtectedQuerySQLParametersQueryStringString":{ "type":"string", - "max":15000, + "max":90000, "min":0 }, "ProtectedQuerySingleMemberOutput":{ @@ -3970,6 +4030,17 @@ "type":"string", "enum":["SQL"] }, + "QueryComputePaymentConfig":{ + "type":"structure", + "required":["isResponsible"], + "members":{ + "isResponsible":{ + "shape":"Boolean", + "documentation":"

        Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs (TRUE) or has not configured the collaboration member to pay for query compute costs (FALSE).

        Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a TRUE value for more than one member in the collaboration.

        If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a FALSE value for the member who can query.

        " + } + }, + "documentation":"

        An object representing the collaboration member's payment responsibilities set by the collaboration creator for query compute costs.

        " + }, "QueryTables":{ "type":"list", "member":{"shape":"TableAlias"} @@ -4031,7 +4102,7 @@ "type":"string", "max":512, "min":32, - "pattern":"arn:aws:iam::[\\w]+:role/[\\w+=,./@-]+" + "pattern":"arn:aws:iam::[\\w]+:role/[\\w+=./@-]+" }, "ScalarFunctions":{ "type":"string", @@ -4348,7 +4419,7 @@ "type":"string", "max":36, "min":36, - "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "UntagResourceInput":{ "type":"structure", @@ -4558,7 +4629,7 @@ }, "queryLogStatus":{ "shape":"MembershipQueryLogStatus", - "documentation":"

        An indicator as to whether query logging has been enabled or disabled for the collaboration.

        " + "documentation":"

        An indicator as to whether query logging has been enabled or disabled for the membership.

        " }, "defaultResultConfiguration":{ "shape":"MembershipProtectedQueryResultConfiguration", diff --git a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json index f744971d35e..6ca4b9adc94 100644 --- a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json +++ b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json @@ -15220,6 +15220,31 @@ "type":"string", "sensitive":true }, + "SegmentAttributeName":{ + "type":"string", + "max":128, + "min":1 + }, + "SegmentAttributeValue":{ + "type":"structure", + "members":{ + "ValueString":{ + "shape":"SegmentAttributeValueString", + "documentation":"

        The value of a segment attribute.

        " + } + }, + "documentation":"

        A value for a segment attribute. This is structured as a map where the key is valueString and the value is a string.

        " + }, + "SegmentAttributeValueString":{ + "type":"string", + "max":1024, + "min":1 + }, + "SegmentAttributes":{ + "type":"map", + "key":{"shape":"SegmentAttributeName"}, + "value":{"shape":"SegmentAttributeValue"} + }, "SendNotificationActionDefinition":{ "type":"structure", "required":[ @@ -15402,6 +15427,10 @@ "RelatedContactId":{ "shape":"ContactId", "documentation":"

        The unique identifier for an Amazon Connect contact. This identifier is related to the chat starting.

        You cannot provide data for both RelatedContactId and PersistentChat.

        " + }, + "SegmentAttributes":{ + "shape":"SegmentAttributes", + "documentation":"

        A set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.

        Attribute keys can include only alphanumeric, -, and _.

        This field can be used to show channel subtype, such as connect:Guide.

        The types application/vnd.amazonaws.connect.message.interactive and application/vnd.amazonaws.connect.message.interactive.response must be present in the SupportedMessagingContentTypes field of this API in order to set SegmentAttributes as { \"connect:Subtype\": {\"valueString\" : \"connect:Guide\" }}.

        " } } }, diff --git a/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json b/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json index 772e8111e61..399238e4910 100644 --- a/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json +++ b/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json @@ -205,6 +205,19 @@ ], "documentation":"

        Retrieves partitions in a batch request.

        " }, + "BatchGetTableOptimizer":{ + "name":"BatchGetTableOptimizer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"BatchGetTableOptimizerRequest"}, + "output":{"shape":"BatchGetTableOptimizerResponse"}, + "errors":[ + {"shape":"InternalServiceException"} + ], + "documentation":"

        Returns the configuration for the specified table optimizers.

        " + }, "BatchGetTriggers":{ "name":"BatchGetTriggers", "http":{ @@ -676,6 +689,23 @@ ], "documentation":"

        Creates a new table definition in the Data Catalog.

        " }, + "CreateTableOptimizer":{ + "name":"CreateTableOptimizer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateTableOptimizerRequest"}, + "output":{"shape":"CreateTableOptimizerResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"InvalidInputException"}, + {"shape":"AccessDeniedException"}, + {"shape":"AlreadyExistsException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

        Creates a new table optimizer for a specific function. compaction is the only currently supported optimizer type.

        " + }, "CreateTrigger":{ "name":"CreateTrigger", "http":{ @@ -1074,6 +1104,22 @@ ], "documentation":"

        Removes a table definition from the Data Catalog.

        After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.

        To ensure the immediate deletion of all related resources, before calling DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table.

        " }, + "DeleteTableOptimizer":{ + "name":"DeleteTableOptimizer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteTableOptimizerRequest"}, + "output":{"shape":"DeleteTableOptimizerResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"InvalidInputException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

        Deletes an optimizer and all associated metadata for a table. The optimization will no longer be performed on the table.

        " + }, "DeleteTableVersion":{ "name":"DeleteTableVersion", "http":{ @@ -1941,6 +1987,22 @@ ], "documentation":"

        Retrieves the Table definition in a Data Catalog for a specified table.

        " }, + "GetTableOptimizer":{ + "name":"GetTableOptimizer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetTableOptimizerRequest"}, + "output":{"shape":"GetTableOptimizerResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"InvalidInputException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

        Returns the configuration of all optimizers associated with a specified table.

        " + }, "GetTableVersion":{ "name":"GetTableVersion", "http":{ @@ -2462,6 +2524,22 @@ ], "documentation":"

        Lists statements for the session.

        " }, + "ListTableOptimizerRuns":{ + "name":"ListTableOptimizerRuns", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListTableOptimizerRunsRequest"}, + "output":{"shape":"ListTableOptimizerRunsResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InvalidInputException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

        Lists the history of previous optimizer runs for a specific table.

        " + }, "ListTriggers":{ "name":"ListTriggers", "http":{ @@ -2742,7 +2820,7 @@ {"shape":"InternalServiceException"}, {"shape":"ConflictException"} ], - "documentation":"

        Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.

        ", + "documentation":"

        Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.

        Recommendation runs are automatically deleted after 90 days.

        ", "idempotent":true }, "StartDataQualityRulesetEvaluationRun":{ @@ -3317,6 +3395,22 @@ ], "documentation":"

        Updates a metadata table in the Data Catalog.

        " }, + "UpdateTableOptimizer":{ + "name":"UpdateTableOptimizer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateTableOptimizerRequest"}, + "output":{"shape":"UpdateTableOptimizerResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"InvalidInputException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

        Updates the configuration for an existing table optimizer.

        " + }, "UpdateTrigger":{ "name":"UpdateTrigger", "http":{ @@ -3700,6 +3794,11 @@ }, "documentation":"

        Specifies a transform that maps data property keys in the data source to data property keys in the data target. You can rename keys, modify the data types for keys, and choose which keys to drop from the dataset.

        " }, + "ArnString":{ + "type":"string", + "max":2048, + "min":20 + }, "AthenaConnectorSource":{ "type":"structure", "required":[ @@ -4217,6 +4316,85 @@ "max":1000, "min":0 }, + "BatchGetTableOptimizerEntries":{ + "type":"list", + "member":{"shape":"BatchGetTableOptimizerEntry"} + }, + "BatchGetTableOptimizerEntry":{ + "type":"structure", + "members":{ + "catalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "databaseName":{ + "shape":"databaseNameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "tableName":{ + "shape":"tableNameString", + "documentation":"

        The name of the table.

        " + }, + "type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer.

        " + } + }, + "documentation":"

        Represents a table optimizer to retrieve in the BatchGetTableOptimizer operation.

        " + }, + "BatchGetTableOptimizerError":{ + "type":"structure", + "members":{ + "error":{ + "shape":"ErrorDetail", + "documentation":"

        An ErrorDetail object containing code and message details about the error.

        " + }, + "catalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "databaseName":{ + "shape":"databaseNameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "tableName":{ + "shape":"tableNameString", + "documentation":"

        The name of the table.

        " + }, + "type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer.

        " + } + }, + "documentation":"

        Contains details on one of the errors in the error list returned by the BatchGetTableOptimizer operation.

        " + }, + "BatchGetTableOptimizerErrors":{ + "type":"list", + "member":{"shape":"BatchGetTableOptimizerError"} + }, + "BatchGetTableOptimizerRequest":{ + "type":"structure", + "required":["Entries"], + "members":{ + "Entries":{ + "shape":"BatchGetTableOptimizerEntries", + "documentation":"

        A list of BatchGetTableOptimizerEntry objects specifying the table optimizers to retrieve.

        " + } + } + }, + "BatchGetTableOptimizerResponse":{ + "type":"structure", + "members":{ + "TableOptimizers":{ + "shape":"BatchTableOptimizers", + "documentation":"

        A list of BatchTableOptimizer objects.

        " + }, + "Failures":{ + "shape":"BatchGetTableOptimizerErrors", + "documentation":"

        A list of errors from the operation.

        " + } + } + }, "BatchGetTriggersRequest":{ "type":"structure", "required":["TriggerNames"], @@ -4348,6 +4526,32 @@ "type":"list", "member":{"shape":"BatchStopJobRunSuccessfulSubmission"} }, + "BatchTableOptimizer":{ + "type":"structure", + "members":{ + "catalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "databaseName":{ + "shape":"databaseNameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "tableName":{ + "shape":"tableNameString", + "documentation":"

        The name of the table.

        " + }, + "tableOptimizer":{ + "shape":"TableOptimizer", + "documentation":"

        A TableOptimizer object that contains details on the configuration and last run of a table optimzer.

        " + } + }, + "documentation":"

        Contains details for one of the table optimizers returned by the BatchGetTableOptimizer operation.

        " + }, + "BatchTableOptimizers":{ + "type":"list", + "member":{"shape":"BatchTableOptimizer"} + }, "BatchUpdatePartitionFailureEntry":{ "type":"structure", "members":{ @@ -7451,6 +7655,43 @@ } } }, + "CreateTableOptimizerRequest":{ + "type":"structure", + "required":[ + "CatalogId", + "DatabaseName", + "TableName", + "Type", + "TableOptimizerConfiguration" + ], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "Type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer. Currently, the only valid value is compaction.

        " + }, + "TableOptimizerConfiguration":{ + "shape":"TableOptimizerConfiguration", + "documentation":"

        A TableOptimizerConfiguration object representing the configuration of a table optimizer.

        " + } + } + }, + "CreateTableOptimizerResponse":{ + "type":"structure", + "members":{ + } + }, "CreateTableRequest":{ "type":"structure", "required":[ @@ -8928,6 +9169,38 @@ } } }, + "DeleteTableOptimizerRequest":{ + "type":"structure", + "required":[ + "CatalogId", + "DatabaseName", + "TableName", + "Type" + ], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "Type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer.

        " + } + } + }, + "DeleteTableOptimizerResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteTableRequest":{ "type":"structure", "required":[ @@ -11917,6 +12190,54 @@ } } }, + "GetTableOptimizerRequest":{ + "type":"structure", + "required":[ + "CatalogId", + "DatabaseName", + "TableName", + "Type" + ], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "Type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer.

        " + } + } + }, + "GetTableOptimizerResponse":{ + "type":"structure", + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "TableOptimizer":{ + "shape":"TableOptimizer", + "documentation":"

        The optimizer associated with the specified table.

        " + } + } + }, "GetTableRequest":{ "type":"structure", "required":[ @@ -14521,6 +14842,67 @@ } } }, + "ListTableOptimizerRunsRequest":{ + "type":"structure", + "required":[ + "CatalogId", + "DatabaseName", + "TableName", + "Type" + ], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "Type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer. Currently, the only valid value is compaction.

        " + }, + "MaxResults":{ + "shape":"MaxListTableOptimizerRunsTokenResults", + "documentation":"

        The maximum number of optimizer runs to return on each call.

        " + }, + "NextToken":{ + "shape":"ListTableOptimizerRunsToken", + "documentation":"

        A continuation token, if this is a continuation call.

        " + } + } + }, + "ListTableOptimizerRunsResponse":{ + "type":"structure", + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "NextToken":{ + "shape":"ListTableOptimizerRunsToken", + "documentation":"

        A continuation token for paginating the returned list of optimizer runs, returned if the current segment of the list is not the last.

        " + }, + "TableOptimizerRuns":{ + "shape":"TableOptimizerRuns", + "documentation":"

        A list of the optimizer runs associated with a table.

        " + } + } + }, + "ListTableOptimizerRunsToken":{"type":"string"}, "ListTriggersRequest":{ "type":"structure", "members":{ @@ -14872,6 +15254,7 @@ "min":0 }, "MaxConcurrentRuns":{"type":"integer"}, + "MaxListTableOptimizerRunsTokenResults":{"type":"integer"}, "MaxResultsNumber":{ "type":"integer", "box":true, @@ -16605,6 +16988,28 @@ "min":1 }, "RunId":{"type":"string"}, + "RunMetrics":{ + "type":"structure", + "members":{ + "NumberOfBytesCompacted":{ + "shape":"MessageString", + "documentation":"

        The number of bytes removed by the compaction job run.

        " + }, + "NumberOfFilesCompacted":{ + "shape":"MessageString", + "documentation":"

        The number of files removed by the compaction job run.

        " + }, + "NumberOfDpus":{ + "shape":"MessageString", + "documentation":"

        The number of DPU hours consumed by the job.

        " + }, + "JobDurationInHour":{ + "shape":"MessageString", + "documentation":"

        The duration of the job in hours.

        " + } + }, + "documentation":"

        Metrics for the optimizer run.

        " + }, "RunStatementRequest":{ "type":"structure", "required":[ @@ -19238,6 +19643,82 @@ "member":{"shape":"Table"} }, "TableName":{"type":"string"}, + "TableOptimizer":{ + "type":"structure", + "members":{ + "type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer. Currently, the only valid value is compaction.

        " + }, + "configuration":{ + "shape":"TableOptimizerConfiguration", + "documentation":"

        A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.

        " + }, + "lastRun":{ + "shape":"TableOptimizerRun", + "documentation":"

        A TableOptimizerRun object representing the last run of the table optimizer.

        " + } + }, + "documentation":"

        Contains details about an optimizer associated with a table.

        " + }, + "TableOptimizerConfiguration":{ + "type":"structure", + "members":{ + "roleArn":{ + "shape":"ArnString", + "documentation":"

        A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.

        " + }, + "enabled":{ + "shape":"NullableBoolean", + "documentation":"

        Whether table optimization is enabled.

        " + } + }, + "documentation":"

        Contains details on the configuration of a table optimizer. You pass this configuration when creating or updating a table optimizer.

        " + }, + "TableOptimizerEventType":{ + "type":"string", + "enum":[ + "starting", + "completed", + "failed", + "in_progress" + ] + }, + "TableOptimizerRun":{ + "type":"structure", + "members":{ + "eventType":{ + "shape":"TableOptimizerEventType", + "documentation":"

        An event type representing the status of the table optimizer run.

        " + }, + "startTimestamp":{ + "shape":"TableOptimizerRunTimestamp", + "documentation":"

        Represents the epoch timestamp at which the compaction job was started within Lake Formation.

        " + }, + "endTimestamp":{ + "shape":"TableOptimizerRunTimestamp", + "documentation":"

        Represents the epoch timestamp at which the compaction job ended.

        " + }, + "metrics":{ + "shape":"RunMetrics", + "documentation":"

        A RunMetrics object containing metrics for the optimizer run.

        " + }, + "error":{ + "shape":"MessageString", + "documentation":"

        An error that occured during the optimizer run.

        " + } + }, + "documentation":"

        Contains details for a table optimizer run.

        " + }, + "TableOptimizerRunTimestamp":{"type":"timestamp"}, + "TableOptimizerRuns":{ + "type":"list", + "member":{"shape":"TableOptimizerRun"} + }, + "TableOptimizerType":{ + "type":"string", + "enum":["compaction"] + }, "TablePrefix":{ "type":"string", "max":128, @@ -20627,6 +21108,43 @@ } } }, + "UpdateTableOptimizerRequest":{ + "type":"structure", + "required":[ + "CatalogId", + "DatabaseName", + "TableName", + "Type", + "TableOptimizerConfiguration" + ], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

        The Catalog ID of the table.

        " + }, + "DatabaseName":{ + "shape":"NameString", + "documentation":"

        The name of the database in the catalog in which the table resides.

        " + }, + "TableName":{ + "shape":"NameString", + "documentation":"

        The name of the table.

        " + }, + "Type":{ + "shape":"TableOptimizerType", + "documentation":"

        The type of table optimizer. Currently, the only valid value is compaction.

        " + }, + "TableOptimizerConfiguration":{ + "shape":"TableOptimizerConfiguration", + "documentation":"

        A TableOptimizerConfiguration object representing the configuration of a table optimizer.

        " + } + } + }, + "UpdateTableOptimizerResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateTableRequest":{ "type":"structure", "required":[ @@ -21134,6 +21652,14 @@ } }, "documentation":"

        A classifier for XML content.

        " + }, + "databaseNameString":{ + "type":"string", + "min":1 + }, + "tableNameString":{ + "type":"string", + "min":1 } }, "documentation":"Glue

        Defines the public endpoint for the Glue service.

        " diff --git a/tools/code-generation/api-descriptions/iot-2015-05-28.normal.json b/tools/code-generation/api-descriptions/iot-2015-05-28.normal.json index 8290b60ddf5..ab422d5eaaf 100644 --- a/tools/code-generation/api-descriptions/iot-2015-05-28.normal.json +++ b/tools/code-generation/api-descriptions/iot-2015-05-28.normal.json @@ -778,7 +778,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"} ], - "documentation":"

        Create a thing group.

        This is a control plane operation. See Authorization for information about authorizing control plane actions.

        Requires permission to access the CreateThingGroup action.

        " + "documentation":"

        Create a thing group.

        This is a control plane operation. See Authorization for information about authorizing control plane actions.

        If the ThingGroup that you create has the exact same attributes as an existing ThingGroup, you will get a 200 success response.

        Requires permission to access the CreateThingGroup action.

        " }, "CreateThingType":{ "name":"CreateThingType", @@ -5655,6 +5655,10 @@ "suppressAlerts":{ "shape":"SuppressAlerts", "documentation":"

        Suppresses alerts.

        " + }, + "exportMetric":{ + "shape":"ExportMetric", + "documentation":"

        Value indicates exporting metrics related to the behavior when it is true.

        " } }, "documentation":"

        A Device Defender security profile behavior.

        " @@ -7765,6 +7769,10 @@ "tags":{ "shape":"TagList", "documentation":"

        Metadata that can be used to manage the security profile.

        " + }, + "metricsExportConfig":{ + "shape":"MetricsExportConfig", + "documentation":"

        Specifies the MQTT topic and role ARN required for metric export.

        " } } }, @@ -8371,6 +8379,7 @@ } } }, + "DeleteMetricsExportConfig":{"type":"boolean"}, "DeleteMitigationActionRequest":{ "type":"structure", "required":["actionName"], @@ -9820,6 +9829,10 @@ "lastModifiedDate":{ "shape":"Timestamp", "documentation":"

        The time the security profile was last modified.

        " + }, + "metricsExportConfig":{ + "shape":"MetricsExportConfig", + "documentation":"

        Specifies the MQTT topic and role ARN required for metric export.

        " } } }, @@ -10778,6 +10791,7 @@ }, "documentation":"

        Allows you to create an exponential rate of rollout for a job.

        " }, + "ExportMetric":{"type":"boolean"}, "FailedChecksCount":{"type":"integer"}, "FailedFindingsCount":{"type":"long"}, "FailedThings":{"type":"integer"}, @@ -15321,6 +15335,10 @@ "metricDimension":{ "shape":"MetricDimension", "documentation":"

        The dimension of a metric. This can't be used with custom metrics.

        " + }, + "exportMetric":{ + "shape":"ExportMetric", + "documentation":"

        Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device Defender Detect should export the corresponding metrics.

        " } }, "documentation":"

        The metric you want to retain. Dimensions are optional.

        " @@ -15355,6 +15373,24 @@ }, "documentation":"

        The value to be compared with the metric.

        " }, + "MetricsExportConfig":{ + "type":"structure", + "required":[ + "mqttTopic", + "roleArn" + ], + "members":{ + "mqttTopic":{ + "shape":"MqttTopic", + "documentation":"

        The MQTT topic that Device Defender Detect should publish messages to for metrics export.

        " + }, + "roleArn":{ + "shape":"RoleArn", + "documentation":"

        This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.

        " + } + }, + "documentation":"

        Set configurations for metrics export.

        " + }, "Minimum":{"type":"double"}, "MinimumNumberOfExecutedThings":{ "type":"integer", @@ -15540,6 +15576,11 @@ "max":65535, "min":1 }, + "MqttTopic":{ + "type":"string", + "max":512, + "min":1 + }, "MqttUsername":{ "type":"string", "max":65535, @@ -17175,7 +17216,7 @@ }, "maxResults":{ "shape":"QueryMaxResults", - "documentation":"

        The maximum number of results to return at one time.

        " + "documentation":"

        The maximum number of results to return at one time. The response might contain fewer results but will never contain more.

        " }, "queryVersion":{ "shape":"QueryVersion", @@ -18435,7 +18476,7 @@ }, "managedFields":{ "shape":"Fields", - "documentation":"

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        " + "documentation":"

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

        " }, "customFields":{ "shape":"Fields", @@ -18530,7 +18571,7 @@ }, "managedFields":{ "shape":"Fields", - "documentation":"

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service.

        " + "documentation":"

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

        " }, "customFields":{ "shape":"Fields", @@ -19926,6 +19967,14 @@ "documentation":"

        The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.

        ", "location":"querystring", "locationName":"expectedVersion" + }, + "metricsExportConfig":{ + "shape":"MetricsExportConfig", + "documentation":"

        Specifies the MQTT topic and role ARN required for metric export.

        " + }, + "deleteMetricsExportConfig":{ + "shape":"DeleteMetricsExportConfig", + "documentation":"

        Set the value as true to delete metrics export related configurations.

        " } } }, @@ -19973,6 +20022,10 @@ "lastModifiedDate":{ "shape":"Timestamp", "documentation":"

        The time the security profile was last modified.

        " + }, + "metricsExportConfig":{ + "shape":"MetricsExportConfig", + "documentation":"

        Specifies the MQTT topic and role ARN required for metric export.

        " } } }, 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 455c2d2e614..698c44975a9 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 @@ -5233,7 +5233,8 @@ "ruby3.2", "python3.11", "nodejs20.x", - "provided.al2023" + "provided.al2023", + "python3.12" ] }, "RuntimeVersionArn":{ diff --git a/tools/code-generation/api-descriptions/mediatailor-2018-04-23.normal.json b/tools/code-generation/api-descriptions/mediatailor-2018-04-23.normal.json index fd0b025e85c..9df187fb779 100644 --- a/tools/code-generation/api-descriptions/mediatailor-2018-04-23.normal.json +++ b/tools/code-generation/api-descriptions/mediatailor-2018-04-23.normal.json @@ -2549,6 +2549,7 @@ }, "MaxResults":{ "type":"integer", + "box":true, "max":100, "min":1 }, @@ -3779,14 +3780,22 @@ }, "documentation":"

        VOD source configuration parameters.

        " }, - "__boolean":{"type":"boolean"}, - "__integer":{"type":"integer"}, + "__boolean":{ + "type":"boolean", + "box":true + }, + "__integer":{ + "type":"integer", + "box":true + }, "__integerMin1":{ "type":"integer", + "box":true, "min":1 }, "__integerMin1Max100":{ "type":"integer", + "box":true, "max":100, "min":1 }, @@ -3842,7 +3851,10 @@ "type":"list", "member":{"shape":"__string"} }, - "__long":{"type":"long"}, + "__long":{ + "type":"long", + "box":true + }, "__mapOf__string":{ "type":"map", "key":{"shape":"__string"}, diff --git a/tools/code-generation/api-descriptions/pipes-2015-10-07.normal.json b/tools/code-generation/api-descriptions/pipes-2015-10-07.normal.json index 860d486078c..c79e391ed77 100644 --- a/tools/code-generation/api-descriptions/pipes-2015-10-07.normal.json +++ b/tools/code-generation/api-descriptions/pipes-2015-10-07.normal.json @@ -186,7 +186,7 @@ {"shape":"NotFoundException"}, {"shape":"ConflictException"} ], - "documentation":"

        Update an existing pipe. When you call UpdatePipe, only the fields that are included in the request are changed, the rest are unchanged. The exception to this is if you modify any Amazon Web Services-service specific fields in the SourceParameters, EnrichmentParameters, or TargetParameters objects. The fields in these objects are updated atomically as one and override existing values. This is by design and means that if you don't specify an optional field in one of these Parameters objects, that field will be set to its system-default value after the update.

        For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

        ", + "documentation":"

        Update an existing pipe. When you call UpdatePipe, EventBridge only the updates fields you have specified in the request; the rest remain unchanged. The exception to this is if you modify any Amazon Web Services-service specific fields in the SourceParameters, EnrichmentParameters, or TargetParameters objects. For example, DynamoDBStreamParameters or EventBridgeEventBusParameters. EventBridge updates the fields in these objects atomically as one and overrides existing values. This is by design, and means that if you don't specify an optional field in one of these Parameters objects, EventBridge sets that field to its system-default value during the update.

        For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

        ", "idempotent":true } }, @@ -409,6 +409,33 @@ "max":1000, "min":0 }, + "CloudwatchLogGroupArn":{ + "type":"string", + "max":1600, + "min":1, + "pattern":"^(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:.+)$" + }, + "CloudwatchLogsLogDestination":{ + "type":"structure", + "members":{ + "LogGroupArn":{ + "shape":"CloudwatchLogGroupArn", + "documentation":"

        The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.

        " + } + }, + "documentation":"

        The Amazon CloudWatch Logs logging configuration settings for the pipe.

        " + }, + "CloudwatchLogsLogDestinationParameters":{ + "type":"structure", + "required":["LogGroupArn"], + "members":{ + "LogGroupArn":{ + "shape":"CloudwatchLogGroupArn", + "documentation":"

        The Amazon Web Services Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.

        " + } + }, + "documentation":"

        The Amazon CloudWatch Logs logging configuration settings for the pipe.

        " + }, "ConflictException":{ "type":"structure", "required":[ @@ -459,6 +486,10 @@ "shape":"PipeEnrichmentParameters", "documentation":"

        The parameters required to set up enrichment on your pipe.

        " }, + "LogConfiguration":{ + "shape":"PipeLogConfigurationParameters", + "documentation":"

        The logging configuration settings for the pipe.

        " + }, "Name":{ "shape":"PipeName", "documentation":"

        The name of the pipe.

        ", @@ -487,7 +518,7 @@ }, "TargetParameters":{ "shape":"PipeTargetParameters", - "documentation":"

        The parameters required to set up a target for your pipe.

        " + "documentation":"

        The parameters required to set up a target for your pipe.

        For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.

        " } } }, @@ -539,7 +570,7 @@ "members":{ "Arn":{ "shape":"Arn", - "documentation":"

        The ARN of the Amazon SQS queue specified as the target for the dead-letter queue.

        " + "documentation":"

        The ARN of the specified target for the dead-letter queue.

        For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN.

        " } }, "documentation":"

        A DeadLetterConfig object that contains information about a dead-letter queue configuration.

        " @@ -632,6 +663,10 @@ "shape":"Timestamp", "documentation":"

        When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

        " }, + "LogConfiguration":{ + "shape":"PipeLogConfiguration", + "documentation":"

        The logging configuration settings for the pipe.

        " + }, "Name":{ "shape":"PipeName", "documentation":"

        The name of the pipe.

        " @@ -662,7 +697,7 @@ }, "TargetParameters":{ "shape":"PipeTargetParameters", - "documentation":"

        The parameters required to set up a target for your pipe.

        " + "documentation":"

        The parameters required to set up a target for your pipe.

        For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.

        " } } }, @@ -914,7 +949,7 @@ "documentation":"

        The event patterns.

        " } }, - "documentation":"

        The collection of event patterns used to filter events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

        " + "documentation":"

        The collection of event patterns used to filter events.

        To remove a filter, specify a FilterCriteria object with an empty array of Filter objects.

        For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

        " }, "FilterList":{ "type":"list", @@ -922,6 +957,33 @@ "max":5, "min":0 }, + "FirehoseArn":{ + "type":"string", + "max":1600, + "min":1, + "pattern":"^(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/.+)$" + }, + "FirehoseLogDestination":{ + "type":"structure", + "members":{ + "DeliveryStreamArn":{ + "shape":"FirehoseArn", + "documentation":"

        The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream to which EventBridge delivers the pipe log records.

        " + } + }, + "documentation":"

        The Amazon Kinesis Data Firehose logging configuration settings for the pipe.

        " + }, + "FirehoseLogDestinationParameters":{ + "type":"structure", + "required":["DeliveryStreamArn"], + "members":{ + "DeliveryStreamArn":{ + "shape":"FirehoseArn", + "documentation":"

        Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream to which EventBridge delivers the pipe log records.

        " + } + }, + "documentation":"

        The Amazon Kinesis Data Firehose logging configuration settings for the pipe.

        " + }, "HeaderKey":{ "type":"string", "max":512, @@ -940,6 +1002,14 @@ "pattern":"^[ \\t]*[\\x20-\\x7E]+([ \\t]+[\\x20-\\x7E]+)*[ \\t]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$", "sensitive":true }, + "IncludeExecutionData":{ + "type":"list", + "member":{"shape":"IncludeExecutionDataOption"} + }, + "IncludeExecutionDataOption":{ + "type":"string", + "enum":["ALL"] + }, "InputTemplate":{ "type":"string", "max":8192, @@ -1112,6 +1182,15 @@ } } }, + "LogLevel":{ + "type":"string", + "enum":[ + "OFF", + "ERROR", + "INFO", + "TRACE" + ] + }, "LogStreamName":{ "type":"string", "max":256, @@ -1232,9 +1311,7 @@ }, "PathParameterList":{ "type":"list", - "member":{"shape":"PathParameter"}, - "max":1, - "min":0 + "member":{"shape":"PathParameter"} }, "Pipe":{ "type":"structure", @@ -1322,7 +1399,7 @@ }, "InputTemplate":{ "shape":"InputTemplate", - "documentation":"

        Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

        " + "documentation":"

        Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

        To remove an input template, specify an empty string.

        " } }, "documentation":"

        The parameters required to set up enrichment on your pipe.

        " @@ -1331,6 +1408,59 @@ "type":"list", "member":{"shape":"Pipe"} }, + "PipeLogConfiguration":{ + "type":"structure", + "members":{ + "CloudwatchLogsLogDestination":{ + "shape":"CloudwatchLogsLogDestination", + "documentation":"

        The Amazon CloudWatch Logs logging configuration settings for the pipe.

        " + }, + "FirehoseLogDestination":{ + "shape":"FirehoseLogDestination", + "documentation":"

        The Amazon Kinesis Data Firehose logging configuration settings for the pipe.

        " + }, + "IncludeExecutionData":{ + "shape":"IncludeExecutionData", + "documentation":"

        Whether the execution data (specifically, the payload, awsRequest, and awsResponse fields) is included in the log messages for this pipe.

        This applies to all log destinations for the pipe.

        For more information, see Including execution data in logs in the Amazon EventBridge User Guide.

        " + }, + "Level":{ + "shape":"LogLevel", + "documentation":"

        The level of logging detail to include. This applies to all log destinations for the pipe.

        " + }, + "S3LogDestination":{ + "shape":"S3LogDestination", + "documentation":"

        The Amazon S3 logging configuration settings for the pipe.

        " + } + }, + "documentation":"

        The logging configuration settings for the pipe.

        " + }, + "PipeLogConfigurationParameters":{ + "type":"structure", + "required":["Level"], + "members":{ + "CloudwatchLogsLogDestination":{ + "shape":"CloudwatchLogsLogDestinationParameters", + "documentation":"

        The Amazon CloudWatch Logs logging configuration settings for the pipe.

        " + }, + "FirehoseLogDestination":{ + "shape":"FirehoseLogDestinationParameters", + "documentation":"

        The Amazon Kinesis Data Firehose logging configuration settings for the pipe.

        " + }, + "IncludeExecutionData":{ + "shape":"IncludeExecutionData", + "documentation":"

        Specify ON to include the execution data (specifically, the payload and awsRequest fields) in the log messages for this pipe.

        This applies to all log destinations for the pipe.

        For more information, see Including execution data in logs in the Amazon EventBridge User Guide.

        The default is OFF.

        " + }, + "Level":{ + "shape":"LogLevel", + "documentation":"

        The level of logging detail to include. This applies to all log destinations for the pipe.

        For more information, see Specifying EventBridge Pipes log level in the Amazon EventBridge User Guide.

        " + }, + "S3LogDestination":{ + "shape":"S3LogDestinationParameters", + "documentation":"

        The Amazon S3 logging configuration settings for the pipe.

        " + } + }, + "documentation":"

        Specifies the logging configuration settings for the pipe.

        When you call UpdatePipe, EventBridge updates the fields in the PipeLogConfigurationParameters object atomically as one and overrides existing values. This is by design. If you don't specify an optional field in any of the Amazon Web Services service parameters objects (CloudwatchLogsLogDestinationParameters, FirehoseLogDestinationParameters, or S3LogDestinationParameters), EventBridge sets that field to its system-default value during the update.

        For example, suppose when you created the pipe you specified a Kinesis Data Firehose stream log destination. You then update the pipe to add an Amazon S3 log destination. In addition to specifying the S3LogDestinationParameters for the new log destination, you must also specify the fields in the FirehoseLogDestinationParameters object in order to retain the Kinesis Data Firehose stream log destination.

        For more information on generating pipe log records, see Log EventBridge Pipes in the Amazon EventBridge User Guide.

        " + }, "PipeName":{ "type":"string", "max":64, @@ -1489,7 +1619,7 @@ }, "FilterCriteria":{ "shape":"FilterCriteria", - "documentation":"

        The collection of event patterns used to filter events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

        " + "documentation":"

        The collection of event patterns used to filter events.

        To remove a filter, specify a FilterCriteria object with an empty array of Filter objects.

        For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

        " }, "KinesisStreamParameters":{ "shape":"PipeSourceKinesisStreamParameters", @@ -1614,7 +1744,11 @@ "CREATE_FAILED", "UPDATE_FAILED", "START_FAILED", - "STOP_FAILED" + "STOP_FAILED", + "DELETE_FAILED", + "CREATE_ROLLBACK_FAILED", + "DELETE_ROLLBACK_FAILED", + "UPDATE_ROLLBACK_FAILED" ] }, "PipeStateReason":{ @@ -1751,7 +1885,7 @@ }, "EndpointId":{ "shape":"EventBridgeEndpointId", - "documentation":"

        The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo.

        When using Java, you must include auth-crt on the class path.

        " + "documentation":"

        The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo.

        " }, "Resources":{ "shape":"EventBridgeEventResourceList", @@ -1802,14 +1936,14 @@ "documentation":"

        Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.

        " } }, - "documentation":"

        The parameters for using a Kinesis stream as a source.

        " + "documentation":"

        The parameters for using a Kinesis stream as a target.

        " }, "PipeTargetLambdaFunctionParameters":{ "type":"structure", "members":{ "InvocationType":{ "shape":"PipeTargetInvocationType", - "documentation":"

        Choose from the following options.

        • RequestResponse (default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data.

        • Event - Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code.

        • DryRun - Validate parameter values and verify that the user or role has permission to invoke the function.

        " + "documentation":"

        Specify whether to invoke the function synchronously or asynchronously.

        • REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the RequestResponse option in the InvocationType parameter for the Lambda Invoke API.

        • FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the InvocationType parameter for the Lambda Invoke API.

        For more information, see Invocation types in the Amazon EventBridge User Guide.

        " } }, "documentation":"

        The parameters for using a Lambda function as a target.

        " @@ -1839,11 +1973,11 @@ }, "InputTemplate":{ "shape":"InputTemplate", - "documentation":"

        Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

        " + "documentation":"

        Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

        To remove an input template, specify an empty string.

        " }, "KinesisStreamParameters":{ "shape":"PipeTargetKinesisStreamParameters", - "documentation":"

        The parameters for using a Kinesis stream as a source.

        " + "documentation":"

        The parameters for using a Kinesis stream as a target.

        " }, "LambdaFunctionParameters":{ "shape":"PipeTargetLambdaFunctionParameters", @@ -1851,7 +1985,7 @@ }, "RedshiftDataParameters":{ "shape":"PipeTargetRedshiftDataParameters", - "documentation":"

        These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API ExecuteStatement.

        " + "documentation":"

        These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

        " }, "SageMakerPipelineParameters":{ "shape":"PipeTargetSageMakerPipelineParameters", @@ -1859,14 +1993,14 @@ }, "SqsQueueParameters":{ "shape":"PipeTargetSqsQueueParameters", - "documentation":"

        The parameters for using a Amazon SQS stream as a source.

        " + "documentation":"

        The parameters for using a Amazon SQS stream as a target.

        " }, "StepFunctionStateMachineParameters":{ "shape":"PipeTargetStateMachineParameters", "documentation":"

        The parameters for using a Step Functions state machine as a target.

        " } }, - "documentation":"

        The parameters required to set up a target for your pipe.

        " + "documentation":"

        The parameters required to set up a target for your pipe.

        For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.

        " }, "PipeTargetRedshiftDataParameters":{ "type":"structure", @@ -1885,7 +2019,7 @@ }, "SecretManagerArn":{ "shape":"SecretManagerArnOrJsonPath", - "documentation":"

        The name or ARN of the secret that enables access to the database. Required when authenticating using SageMaker.

        " + "documentation":"

        The name or ARN of the secret that enables access to the database. Required when authenticating using Secrets Manager.

        " }, "Sqls":{ "shape":"Sqls", @@ -1900,7 +2034,7 @@ "documentation":"

        Indicates whether to send an event back to EventBridge after the SQL statement runs.

        " } }, - "documentation":"

        These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API ExecuteStatement.

        " + "documentation":"

        These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

        " }, "PipeTargetSageMakerPipelineParameters":{ "type":"structure", @@ -1924,14 +2058,14 @@ "documentation":"

        The FIFO message group ID to use as the target.

        " } }, - "documentation":"

        The parameters for using a Amazon SQS stream as a source.

        " + "documentation":"

        The parameters for using a Amazon SQS stream as a target.

        " }, "PipeTargetStateMachineParameters":{ "type":"structure", "members":{ "InvocationType":{ "shape":"PipeTargetInvocationType", - "documentation":"

        Specify whether to wait for the state machine to finish or not.

        " + "documentation":"

        Specify whether to invoke the Step Functions state machine synchronously or asynchronously.

        • REQUEST_RESPONSE (default) - Invoke synchronously. For more information, see StartSyncExecution in the Step Functions API Reference.

          REQUEST_RESPONSE is not supported for STANDARD state machine workflows.

        • FIRE_AND_FORGET - Invoke asynchronously. For more information, see StartExecution in the Step Functions API Reference.

        For more information, see Invocation types in the Amazon EventBridge User Guide.

        " } }, "documentation":"

        The parameters for using a Step Functions state machine as a target.

        " @@ -2057,6 +2191,76 @@ "min":1, "pattern":"^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z0-9+=,.@\\-_/]+$" }, + "S3LogDestination":{ + "type":"structure", + "members":{ + "BucketName":{ + "shape":"String", + "documentation":"

        The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.

        " + }, + "BucketOwner":{ + "shape":"String", + "documentation":"

        The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.

        " + }, + "OutputFormat":{ + "shape":"S3OutputFormat", + "documentation":"

        The format EventBridge uses for the log records.

        " + }, + "Prefix":{ + "shape":"String", + "documentation":"

        The prefix text with which to begin Amazon S3 log object names.

        For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.

        " + } + }, + "documentation":"

        The Amazon S3 logging configuration settings for the pipe.

        " + }, + "S3LogDestinationParameters":{ + "type":"structure", + "required":[ + "BucketName", + "BucketOwner" + ], + "members":{ + "BucketName":{ + "shape":"S3LogDestinationParametersBucketNameString", + "documentation":"

        Specifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.

        " + }, + "BucketOwner":{ + "shape":"S3LogDestinationParametersBucketOwnerString", + "documentation":"

        Specifies the Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.

        " + }, + "OutputFormat":{ + "shape":"S3OutputFormat", + "documentation":"

        How EventBridge should format the log records.

        " + }, + "Prefix":{ + "shape":"S3LogDestinationParametersPrefixString", + "documentation":"

        Specifies any prefix text with which to begin Amazon S3 log object names.

        You can use prefixes to organize the data that you store in Amazon S3 buckets. A prefix is a string of characters at the beginning of the object key name. A prefix can be any length, subject to the maximum length of the object key name (1,024 bytes). For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.

        " + } + }, + "documentation":"

        The Amazon S3 logging configuration settings for the pipe.

        " + }, + "S3LogDestinationParametersBucketNameString":{ + "type":"string", + "max":63, + "min":3 + }, + "S3LogDestinationParametersBucketOwnerString":{ + "type":"string", + "pattern":"^\\d{12}$" + }, + "S3LogDestinationParametersPrefixString":{ + "type":"string", + "max":256, + "min":0 + }, + "S3OutputFormat":{ + "type":"string", + "enum":[ + "json", + "plain", + "w3c" + ] + }, "SageMakerPipelineParameter":{ "type":"structure", "required":[ @@ -2225,6 +2429,7 @@ "type":"list", "member":{"shape":"Sql"}, "documentation":"

        // A list of SQLs.

        ", + "max":40, "min":1 }, "StartPipeRequest":{ @@ -2502,6 +2707,10 @@ "shape":"PipeEnrichmentParameters", "documentation":"

        The parameters required to set up enrichment on your pipe.

        " }, + "LogConfiguration":{ + "shape":"PipeLogConfigurationParameters", + "documentation":"

        The logging configuration settings for the pipe.

        " + }, "Name":{ "shape":"PipeName", "documentation":"

        The name of the pipe.

        ", @@ -2522,7 +2731,7 @@ }, "TargetParameters":{ "shape":"PipeTargetParameters", - "documentation":"

        The parameters required to set up a target for your pipe.

        " + "documentation":"

        The parameters required to set up a target for your pipe.

        For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.

        " } } }, @@ -2673,7 +2882,7 @@ }, "FilterCriteria":{ "shape":"FilterCriteria", - "documentation":"

        The collection of event patterns used to filter events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

        " + "documentation":"

        The collection of event patterns used to filter events.

        To remove a filter, specify a FilterCriteria object with an empty array of Filter objects.

        For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

        " }, "KinesisStreamParameters":{ "shape":"UpdatePipeSourceKinesisStreamParameters", diff --git a/tools/code-generation/api-descriptions/resource-explorer-2-2022-07-28.normal.json b/tools/code-generation/api-descriptions/resource-explorer-2-2022-07-28.normal.json index 859b1a60174..9559bd53d86 100644 --- a/tools/code-generation/api-descriptions/resource-explorer-2-2022-07-28.normal.json +++ b/tools/code-generation/api-descriptions/resource-explorer-2-2022-07-28.normal.json @@ -135,6 +135,7 @@ "responseCode":200 }, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, @@ -143,6 +144,22 @@ "documentation":"

        After you call this operation, the affected Amazon Web Services Region no longer has a default view. All Search operations in that Region must explicitly specify a view or the operation fails. You can configure a new default by calling the AssociateDefaultView operation.

        If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every Search operation performed in that Region.

        ", "idempotent":true }, + "GetAccountLevelServiceConfiguration":{ + "name":"GetAccountLevelServiceConfiguration", + "http":{ + "method":"POST", + "requestUri":"/GetAccountLevelServiceConfiguration", + "responseCode":200 + }, + "output":{"shape":"GetAccountLevelServiceConfigurationOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

        Retrieves the status of your account's Amazon Web Services service access, and validates the service linked role required to access the multi-account search feature. Only the management account or a delegated administrator with service access enabled can invoke this API call.

        " + }, "GetDefaultView":{ "name":"GetDefaultView", "http":{ @@ -213,6 +230,23 @@ ], "documentation":"

        Retrieves a list of all of the indexes in Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer.

        " }, + "ListIndexesForMembers":{ + "name":"ListIndexesForMembers", + "http":{ + "method":"POST", + "requestUri":"/ListIndexesForMembers", + "responseCode":200 + }, + "input":{"shape":"ListIndexesForMembersInput"}, + "output":{"shape":"ListIndexesForMembersOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

        Retrieves a list of a member's indexes in all Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer. Only the management account or a delegated administrator with service access enabled can invoke this API call.

        " + }, "ListSupportedResourceTypes":{ "name":"ListSupportedResourceTypes", "http":{ @@ -365,6 +399,13 @@ } }, "shapes":{ + "AWSServiceAccessStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "AccessDeniedException":{ "type":"structure", "members":{ @@ -377,6 +418,11 @@ }, "exception":true }, + "AccountId":{ + "type":"string", + "max":2048, + "min":1 + }, "AssociateDefaultViewInput":{ "type":"structure", "required":["ViewArn"], @@ -461,7 +507,7 @@ "members":{ "Message":{"shape":"String"} }, - "documentation":"

        The request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.

        ", + "documentation":"

        If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.

        If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.

        If you attempted to update an index type to AGGREGATOR, then the request failed because you already have an AGGREGATOR index in a different Amazon Web Services Region.

        ", "error":{ "httpStatusCode":409, "senderFault":true @@ -473,7 +519,7 @@ "members":{ "ClientToken":{ "shape":"String", - "documentation":"

        This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.

        ", + "documentation":"

        This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.

        ", "idempotencyToken":true }, "Tags":{ @@ -516,6 +562,10 @@ "shape":"IncludedPropertyList", "documentation":"

        Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

        The default is an empty list, with no optional fields included in the results.

        " }, + "Scope":{ + "shape":"CreateViewInputScopeString", + "documentation":"

        The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.

        " + }, "Tags":{ "shape":"TagMap", "documentation":"

        Tag key and value pairs that are attached to the view.

        " @@ -531,6 +581,11 @@ "max":2048, "min":1 }, + "CreateViewInputScopeString":{ + "type":"string", + "max":2048, + "min":1 + }, "CreateViewOutput":{ "type":"structure", "members":{ @@ -597,6 +652,15 @@ }, "document":true }, + "GetAccountLevelServiceConfigurationOutput":{ + "type":"structure", + "members":{ + "OrgConfiguration":{ + "shape":"OrgConfiguration", + "documentation":"

        Details about the organization, and whether configuration is ENABLED or DISABLED.

        " + } + } + }, "GetDefaultViewOutput":{ "type":"structure", "members":{ @@ -704,7 +768,7 @@ }, "Type":{ "shape":"IndexType", - "documentation":"

        The type of index. It can be one of the following values:

        • LOCAL – The index contains information about resources from only the same Amazon Web Services Region.

        • AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

        " + "documentation":"

        The type of index. It can be one of the following values:

        • LOCAL – The index contains information about resources from only the same Amazon Web Services Region.

        • AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

        " } }, "documentation":"

        An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers. Creating an index in an Amazon Web Services Region turns on Resource Explorer and lets it discover your resources.

        By default, an index is local, meaning that it contains information about resources in only the same Region as the index. However, you can promote the index of one Region in the account by calling UpdateIndexType to convert it into an aggregator index. The aggregator index receives a replicated copy of the index information from all other Regions where Resource Explorer is turned on. This allows search operations in that Region to return results from all Regions in the account.

        " @@ -740,6 +804,54 @@ "exception":true, "fault":true }, + "ListIndexesForMembersInput":{ + "type":"structure", + "required":["AccountIdList"], + "members":{ + "AccountIdList":{ + "shape":"ListIndexesForMembersInputAccountIdListList", + "documentation":"

        The account IDs will limit the output to only indexes from these accounts.

        " + }, + "MaxResults":{ + "shape":"ListIndexesForMembersInputMaxResultsInteger", + "documentation":"

        The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

        An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

        " + }, + "NextToken":{ + "shape":"ListIndexesForMembersInputNextTokenString", + "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

        " + } + } + }, + "ListIndexesForMembersInputAccountIdListList":{ + "type":"list", + "member":{"shape":"AccountId"}, + "max":10, + "min":1 + }, + "ListIndexesForMembersInputMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":10, + "min":1 + }, + "ListIndexesForMembersInputNextTokenString":{ + "type":"string", + "max":2048, + "min":1 + }, + "ListIndexesForMembersOutput":{ + "type":"structure", + "members":{ + "Indexes":{ + "shape":"MemberIndexList", + "documentation":"

        A structure that contains the details and status of each index.

        " + }, + "NextToken":{ + "shape":"String", + "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

        " + } + } + }, "ListIndexesInput":{ "type":"structure", "members":{ @@ -749,7 +861,7 @@ }, "NextToken":{ "shape":"ListIndexesInputNextTokenString", - "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

        " + "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

        " }, "Regions":{ "shape":"ListIndexesInputRegionsList", @@ -787,7 +899,7 @@ }, "NextToken":{ "shape":"String", - "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

        " + "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

        " } } }, @@ -800,7 +912,7 @@ }, "NextToken":{ "shape":"String", - "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

        " + "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

        " } } }, @@ -815,7 +927,7 @@ "members":{ "NextToken":{ "shape":"String", - "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

        " + "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

        " }, "ResourceTypes":{ "shape":"ResourceTypeList", @@ -853,14 +965,14 @@ }, "NextToken":{ "shape":"String", - "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

        " + "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

        " } } }, "ListViewsInputMaxResultsInteger":{ "type":"integer", "box":true, - "max":20, + "max":50, "min":1 }, "ListViewsOutput":{ @@ -868,7 +980,7 @@ "members":{ "NextToken":{ "shape":"String", - "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

        " + "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

        " }, "Views":{ "shape":"ViewArnList", @@ -880,6 +992,47 @@ "type":"long", "box":true }, + "MemberIndex":{ + "type":"structure", + "members":{ + "AccountId":{ + "shape":"String", + "documentation":"

        The account ID for the index.

        " + }, + "Arn":{ + "shape":"String", + "documentation":"

        The Amazon resource name (ARN) of the index.

        " + }, + "Region":{ + "shape":"String", + "documentation":"

        The Amazon Web Services Region in which the index exists.

        " + }, + "Type":{ + "shape":"IndexType", + "documentation":"

        The type of index. It can be one of the following values:

        • LOCAL – The index contains information about resources from only the same Amazon Web Services Region.

        • AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

        " + } + }, + "documentation":"

        An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers.

        " + }, + "MemberIndexList":{ + "type":"list", + "member":{"shape":"MemberIndex"} + }, + "OrgConfiguration":{ + "type":"structure", + "required":["AWSServiceAccessStatus"], + "members":{ + "AWSServiceAccessStatus":{ + "shape":"AWSServiceAccessStatus", + "documentation":"

        This value displays whether your Amazon Web Services service access is ENABLED or DISABLED.

        " + }, + "ServiceLinkedRole":{ + "shape":"String", + "documentation":"

        This value shows whether or not you have a valid a service-linked role required to start the multi-account search feature.

        " + } + }, + "documentation":"

        This is a structure that contains the status of Amazon Web Services service access, and whether you have a valid service-linked role to enable multi-account search for your organization.

        " + }, "QueryString":{ "type":"string", "max":1011, @@ -1007,7 +1160,7 @@ }, "NextToken":{ "shape":"SearchInputNextTokenString", - "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

        " + "documentation":"

        The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

        " }, "QueryString":{ "shape":"QueryString", @@ -1044,7 +1197,7 @@ }, "NextToken":{ "shape":"SearchOutputNextTokenString", - "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

        " + "documentation":"

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

        " }, "Resources":{ "shape":"ResourceList", @@ -1094,7 +1247,8 @@ "String":{"type":"string"}, "StringList":{ "type":"list", - "member":{"shape":"String"} + "member":{"shape":"String"}, + "sensitive":true }, "SupportedResourceType":{ "type":"structure", @@ -1117,7 +1271,8 @@ "TagMap":{ "type":"map", "key":{"shape":"String"}, - "value":{"shape":"String"} + "value":{"shape":"String"}, + "sensitive":true }, "TagResourceInput":{ "type":"structure", @@ -1145,7 +1300,7 @@ "members":{ "Message":{"shape":"String"} }, - "documentation":"

        The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.

        ", + "documentation":"

        The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.

        ", "error":{ "httpStatusCode":429, "senderFault":true diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index 57f037ca8d7..5511aabf44c 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -5115,7 +5115,7 @@ "members":{ "MetricName":{ "shape":"AutoMLMetricEnum", - "documentation":"

        The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

        The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

        • For tabular problem types:

          • List of available metrics:

            • Regression: InferenceLatency, MAE, MSE, R2, RMSE

            • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, InferenceLatency, LogLoss, Precision, Recall

            • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, InferenceLatency, LogLoss, PrecisionMacro, RecallMacro

            For a description of each metric, see Autopilot metrics for classification and regression.

          • Default objective metrics:

            • Regression: MSE.

            • Binary classification: F1.

            • Multiclass classification: Accuracy.

        • For image or text classification problem types:

        • For time-series forecasting problem types:

        • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

        " + "documentation":"

        The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

        The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

        • For tabular problem types:

          • List of available metrics:

            • Regression: InferenceLatency, MAE, MSE, R2, RMSE

            • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, InferenceLatency, LogLoss, Precision, Recall

            • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, InferenceLatency, LogLoss, PrecisionMacro, RecallMacro

            For a description of each metric, see Autopilot metrics for classification and regression.

          • Default objective metrics:

            • Regression: MSE.

            • Binary classification: F1.

            • Multiclass classification: Accuracy.

        • For image or text classification problem types:

        • For time-series forecasting problem types:

        • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

        " } }, "documentation":"

        Specifies a metric to minimize or maximize as the objective of an AutoML job.

        " @@ -7432,7 +7432,7 @@ }, "AutoMLJobObjective":{ "shape":"AutoMLJobObjective", - "documentation":"

        Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

        • For tabular problem types: You must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.

        • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

        " + "documentation":"

        Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

        • For tabular problem types: You must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.

        • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

        " }, "ModelDeployConfig":{ "shape":"ModelDeployConfig", @@ -19278,11 +19278,7 @@ }, "InferenceSpecification":{ "type":"structure", - "required":[ - "Containers", - "SupportedContentTypes", - "SupportedResponseMIMETypes" - ], + "required":["Containers"], "members":{ "Containers":{ "shape":"ModelPackageContainerDefinitionList", @@ -32031,7 +32027,7 @@ "CompletionCriteria":{"shape":"AutoMLJobCompletionCriteria"}, "BaseModelName":{ "shape":"BaseModelName", - "documentation":"

        The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see Text generation models supporting fine-tuning in Autopilot. If no BaseModelName is provided, the default model used is Falcon-7B-Instruct.

        " + "documentation":"

        The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see Text generation models supporting fine-tuning in Autopilot. If no BaseModelName is provided, the default model used is Falcon-7B-Instruct.

        " } }, "documentation":"

        The collection of settings used by an AutoML job V2 for the text generation problem type.

        The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.

        " diff --git a/tools/code-generation/api-descriptions/signer-2017-08-25.normal.json b/tools/code-generation/api-descriptions/signer-2017-08-25.normal.json index 7e7a700da3f..62b7a633d6a 100644 --- a/tools/code-generation/api-descriptions/signer-2017-08-25.normal.json +++ b/tools/code-generation/api-descriptions/signer-2017-08-25.normal.json @@ -143,7 +143,7 @@ {"shape":"TooManyRequestsException"}, {"shape":"InternalServiceErrorException"} ], - "documentation":"

        Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, code signing returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that code signing returns in the nextToken parameter until all of your signing jobs have been returned.

        " + "documentation":"

        Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

        " }, "ListSigningPlatforms":{ "name":"ListSigningPlatforms", @@ -159,7 +159,7 @@ {"shape":"TooManyRequestsException"}, {"shape":"InternalServiceErrorException"} ], - "documentation":"

        Lists all signing platforms available in code signing that match the request parameters. If additional jobs remain to be listed, code signing returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that code signing returns in the nextToken parameter until all of your signing jobs have been returned.

        " + "documentation":"

        Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

        " }, "ListSigningProfiles":{ "name":"ListSigningProfiles", @@ -174,7 +174,7 @@ {"shape":"TooManyRequestsException"}, {"shape":"InternalServiceErrorException"} ], - "documentation":"

        Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, code signing returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that code signing returns in the nextToken parameter until all of your signing jobs have been returned.

        " + "documentation":"

        Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

        " }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -207,7 +207,7 @@ {"shape":"TooManyRequestsException"}, {"shape":"InternalServiceErrorException"} ], - "documentation":"

        Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job.

        " + "documentation":"

        Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.

        " }, "RemoveProfilePermission":{ "name":"RemoveProfilePermission", @@ -292,7 +292,7 @@ {"shape":"TooManyRequestsException"}, {"shape":"InternalServiceErrorException"} ], - "documentation":"

        Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation for two years after they are performed. Note the following requirements:

        • You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.

        • Your S3 source bucket must be version enabled.

        • You must create an S3 destination bucket. Code signing uses your S3 destination bucket to write your signed code.

        • You specify the name of the source and destination buckets when calling the StartSigningJob operation.

        • You must also specify a request token that identifies your request to code signing.

        You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob.

        For a Java example that shows how to use this action, see StartSigningJob.

        " + "documentation":"

        Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation for two years after they are performed. Note the following requirements:

        • You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.

        • Your S3 source bucket must be version enabled.

        • You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.

        • You specify the name of the source and destination buckets when calling the StartSigningJob operation.

        • You must also specify a request token that identifies your request to Signer.

        You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob.

        For a Java example that shows how to use this action, see StartSigningJob.

        " }, "TagResource":{ "name":"TagResource", @@ -520,7 +520,7 @@ }, "signedObject":{ "shape":"SignedObject", - "documentation":"

        Name of the S3 bucket where the signed code image is saved by code signing.

        " + "documentation":"

        Name of the S3 bucket where the signed code image is saved by AWS Signer.

        " }, "jobOwner":{ "shape":"AccountId", @@ -559,14 +559,14 @@ "members":{ "allowedValues":{ "shape":"EncryptionAlgorithms", - "documentation":"

        The set of accepted encryption algorithms that are allowed in a code signing job.

        " + "documentation":"

        The set of accepted encryption algorithms that are allowed in a code-signing job.

        " }, "defaultValue":{ "shape":"EncryptionAlgorithm", - "documentation":"

        The default encryption algorithm that is used by a code signing job.

        " + "documentation":"

        The default encryption algorithm that is used by a code-signing job.

        " } }, - "documentation":"

        The encryption algorithm options that are available to a code signing job.

        " + "documentation":"

        The encryption algorithm options that are available to a code-signing job.

        " }, "EncryptionAlgorithms":{ "type":"list", @@ -610,7 +610,7 @@ }, "certificateHashes":{ "shape":"CertificateHashes", - "documentation":"

        A list of composite signed hashes that identify certificates.

        A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.

        ", + "documentation":"

        A list of composite signed hashes that identify certificates.

        A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.

        The following example shows how to calculate a hash for this parameter using OpenSSL commands:

        openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs

        openssl sha384 < childCert.tbs -binary > childCertTbsHash

        openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs

        openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex

        cat certificateHash.hex | tr -d '\\n'

        ", "location":"querystring", "locationName":"certificateHashes" } @@ -621,7 +621,7 @@ "members":{ "revokedEntities":{ "shape":"RevokedEntities", - "documentation":"

        A list of revoked entities (including one or more of the signing profile ARN, signing job ID, and certificate hash) supplied as input to the API.

        " + "documentation":"

        A list of revoked entities (including zero or more of the signing profile ARN, signing job ARN, and certificate hashes) supplied as input to the API.

        " } } }, @@ -767,14 +767,14 @@ "members":{ "allowedValues":{ "shape":"HashAlgorithms", - "documentation":"

        The set of accepted hash algorithms allowed in a code signing job.

        " + "documentation":"

        The set of accepted hash algorithms allowed in a code-signing job.

        " }, "defaultValue":{ "shape":"HashAlgorithm", - "documentation":"

        The default hash algorithm that is used in a code signing job.

        " + "documentation":"

        The default hash algorithm that is used in a code-signing job.

        " } }, - "documentation":"

        The hash algorithms that are available to a code signing job.

        " + "documentation":"

        The hash algorithms that are available to a code-signing job.

        " }, "HashAlgorithms":{ "type":"list", @@ -1276,10 +1276,10 @@ }, "prefix":{ "shape":"Prefix", - "documentation":"

        An Amazon S3 prefix that you can use to limit responses to those that begin with the specified prefix.

        " + "documentation":"

        An S3 prefix that you can use to limit responses to those that begin with the specified prefix.

        " } }, - "documentation":"

        The name and prefix of the S3 bucket where code signing saves your signed objects.

        " + "documentation":"

        The name and prefix of the Amazon S3 bucket where AWS Signer saves your signed objects.

        " }, "S3SignedObject":{ "type":"structure", @@ -1293,7 +1293,7 @@ "documentation":"

        Key name that uniquely identifies a signed code image in your bucket.

        " } }, - "documentation":"

        The S3 bucket name and key where code signing saved your signed code image.

        " + "documentation":"

        The Amazon S3 bucket name and key where Signer saved your signed code image.

        " }, "S3Source":{ "type":"structure", @@ -1316,7 +1316,7 @@ "documentation":"

        Version of your source image in your version enabled S3 bucket.

        " } }, - "documentation":"

        Information about the S3 bucket where you saved your unsigned code.

        " + "documentation":"

        Information about the Amazon S3 bucket where you saved your unsigned code.

        " }, "ServiceLimitExceededException":{ "type":"structure", @@ -1350,7 +1350,7 @@ }, "payloadFormat":{ "shape":"String", - "documentation":"

        Payload content type

        " + "documentation":"

        Payload content type. The single valid type is application/vnd.cncf.notary.payload.v1+json.

        " } } }, @@ -1367,7 +1367,7 @@ }, "metadata":{ "shape":"Metadata", - "documentation":"

        Information including the signing profile ARN and the signing job ID. Clients use metadata to signature records, for example, as annotations added to the signature manifest inside an OCI registry.

        " + "documentation":"

        Information including the signing profile ARN and the signing job ID.

        " }, "signature":{ "shape":"Blob", @@ -1408,25 +1408,25 @@ "members":{ "encryptionAlgorithmOptions":{ "shape":"EncryptionAlgorithmOptions", - "documentation":"

        The encryption algorithm options that are available for a code signing job.

        " + "documentation":"

        The encryption algorithm options that are available for a code-signing job.

        " }, "hashAlgorithmOptions":{ "shape":"HashAlgorithmOptions", - "documentation":"

        The hash algorithm options that are available for a code signing job.

        " + "documentation":"

        The hash algorithm options that are available for a code-signing job.

        " } }, - "documentation":"

        The configuration of a code signing operation.

        " + "documentation":"

        The configuration of a signing operation.

        " }, "SigningConfigurationOverrides":{ "type":"structure", "members":{ "encryptionAlgorithm":{ "shape":"EncryptionAlgorithm", - "documentation":"

        A specified override of the default encryption algorithm that is used in a code signing job.

        " + "documentation":"

        A specified override of the default encryption algorithm that is used in a code-signing job.

        " }, "hashAlgorithm":{ "shape":"HashAlgorithm", - "documentation":"

        A specified override of the default hash algorithm that is used in a code signing job.

        " + "documentation":"

        A specified override of the default hash algorithm that is used in a code-signing job.

        " } }, "documentation":"

        A signing configuration that overrides the default encryption or hash algorithm of a signing job.

        " @@ -1440,14 +1440,14 @@ "members":{ "supportedFormats":{ "shape":"ImageFormats", - "documentation":"

        The supported formats of a code signing image.

        " + "documentation":"

        The supported formats of a signing image.

        " }, "defaultFormat":{ "shape":"ImageFormat", - "documentation":"

        The default format of a code signing image.

        " + "documentation":"

        The default format of a signing image.

        " } }, - "documentation":"

        The image format of a code signing platform or profile.

        " + "documentation":"

        The image format of a AWS Signer platform or profile.

        " }, "SigningJob":{ "type":"structure", @@ -1556,39 +1556,39 @@ "members":{ "platformId":{ "shape":"String", - "documentation":"

        The ID of a code signing platform.

        " + "documentation":"

        The ID of a signing platform.

        " }, "displayName":{ "shape":"String", - "documentation":"

        The display name of a code signing platform.

        " + "documentation":"

        The display name of a signing platform.

        " }, "partner":{ "shape":"String", - "documentation":"

        Any partner entities linked to a code signing platform.

        " + "documentation":"

        Any partner entities linked to a signing platform.

        " }, "target":{ "shape":"String", - "documentation":"

        The types of targets that can be signed by a code signing platform.

        " + "documentation":"

        The types of targets that can be signed by a signing platform.

        " }, "category":{ "shape":"Category", - "documentation":"

        The category of a code signing platform.

        " + "documentation":"

        The category of a signing platform.

        " }, "signingConfiguration":{ "shape":"SigningConfiguration", - "documentation":"

        The configuration of a code signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.

        " + "documentation":"

        The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.

        " }, "signingImageFormat":{"shape":"SigningImageFormat"}, "maxSizeInMB":{ "shape":"MaxSizeInMB", - "documentation":"

        The maximum size (in MB) of code that can be signed by a code signing platform.

        " + "documentation":"

        The maximum size (in MB) of code that can be signed by a signing platform.

        " }, "revocationSupported":{ "shape":"bool", "documentation":"

        Indicates whether revocation is supported for the platform.

        " } }, - "documentation":"

        Contains information about the signing configurations and parameters that are used to perform a code signing job.

        " + "documentation":"

        Contains information about the signing configurations and parameters that are used to perform a code-signing job.

        " }, "SigningPlatformOverrides":{ "type":"structure", @@ -1602,7 +1602,7 @@ "documentation":"

        A signed image is a JSON object. When overriding the default signing platform configuration, a customer can select either of two signing formats, JSONEmbedded or JSONDetached. (A third format value, JSON, is reserved for future use.) With JSONEmbedded, the signing image has the payload embedded in it. With JSONDetached, the payload is not be embedded in the signing image.

        " } }, - "documentation":"

        Any overrides that are applied to the signing configuration of a code signing platform.

        " + "documentation":"

        Any overrides that are applied to the signing configuration of a signing platform.

        " }, "SigningPlatforms":{ "type":"list", @@ -1641,11 +1641,11 @@ }, "signingParameters":{ "shape":"SigningParameters", - "documentation":"

        The parameters that are available for use by a code signing user.

        " + "documentation":"

        The parameters that are available for use by a Signer user.

        " }, "status":{ "shape":"SigningProfileStatus", - "documentation":"

        The status of a code signing profile.

        " + "documentation":"

        The status of a signing profile.

        " }, "arn":{ "shape":"string", @@ -1656,7 +1656,7 @@ "documentation":"

        A list of tags associated with the signing profile.

        " } }, - "documentation":"

        Contains information about the ACM certificates and code signing configuration parameters that can be used by a given code signing user.

        " + "documentation":"

        Contains information about the ACM certificates and signing configuration parameters that can be used by a given code signing user.

        " }, "SigningProfileRevocationRecord":{ "type":"structure", @@ -1875,5 +1875,5 @@ "bool":{"type":"boolean"}, "string":{"type":"string"} }, - "documentation":"

        AWS Signer is a fully managed code signing service to help you ensure the trust and integrity of your code.

        AWS Signer supports the following applications:

        With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.

        With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS and AWS IoT Device Management, and is integrated with AWS Certificate Manager (ACM). In order to sign code, you import a third-party code signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management.

        With code signing for containers …(TBD)

        For more information about AWS Signer, see the AWS Signer Developer Guide.

        " + "documentation":"

        AWS Signer is a fully managed code-signing service to help you ensure the trust and integrity of your code.

        Signer supports the following applications:

        With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.

        With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS and AWS IoT Device Management, and is integrated with AWS Certificate Manager (ACM). In order to sign code, you import a third-party code-signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management.

        With Signer and the Notation CLI from the Notary
 Project, you can sign container images stored in a container registry such as Amazon Elastic Container Registry (ECR). The signatures are stored in the registry alongside the images, where they are available for verifying image authenticity and integrity.

        For more information about Signer, see the AWS Signer Developer Guide.

        " } diff --git a/tools/code-generation/api-descriptions/states-2016-11-23.normal.json b/tools/code-generation/api-descriptions/states-2016-11-23.normal.json index 8c5cfb419ff..e499522f6c8 100644 --- a/tools/code-generation/api-descriptions/states-2016-11-23.normal.json +++ b/tools/code-generation/api-descriptions/states-2016-11-23.normal.json @@ -98,7 +98,7 @@ {"shape":"InvalidArn"}, {"shape":"ValidationException"} ], - "documentation":"

        Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process.

        A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

        The following are some examples of qualified and unqualified state machine ARNs:

        • The following qualified state machine ARN refers to a Distributed Map state with a label mapStateLabel in a state machine named myStateMachine.

          arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel

          If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with ValidationException.

        • The following unqualified state machine ARN refers to a state machine named myStateMachine.

          arn:partition:states:region:account-id:stateMachine:myStateMachine

        This API action also deletes all versions and aliases associated with a state machine.

        For EXPRESS state machines, the deletion happens eventually (usually in less than a minute). Running executions may emit logs after DeleteStateMachine API is called.

        " + "documentation":"

        Deletes a state machine. This is an asynchronous operation. It sets the state machine's status to DELETING and begins the deletion process. A state machine is deleted only when all its executions are completed. On the next state transition, the state machine's executions are terminated.

        A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

        The following are some examples of qualified and unqualified state machine ARNs:

        • The following qualified state machine ARN refers to a Distributed Map state with a label mapStateLabel in a state machine named myStateMachine.

          arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel

          If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with ValidationException.

        • The following unqualified state machine ARN refers to a state machine named myStateMachine.

          arn:partition:states:region:account-id:stateMachine:myStateMachine

        This API action also deletes all versions and aliases associated with a state machine.

        For EXPRESS state machines, the deletion happens eventually (usually in less than a minute). Running executions may emit logs after DeleteStateMachine API is called.

        " }, "DeleteStateMachineAlias":{ "name":"DeleteStateMachineAlias", @@ -157,7 +157,7 @@ {"shape":"ExecutionDoesNotExist"}, {"shape":"InvalidArn"} ], - "documentation":"

        Provides information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. Use this API action to return the Map Run Amazon Resource Name (ARN) if the execution was dispatched by a Map Run.

        If you specify a version or alias ARN when you call the StartExecution API action, DescribeExecution returns that ARN.

        This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

        Executions of an EXPRESS state machinearen't supported by DescribeExecution unless a Map Run dispatched them.

        " + "documentation":"

        Provides information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. If you've redriven an execution, you can use this API action to return information about the redrives of that execution. In addition, you can use this API action to return the Map Run Amazon Resource Name (ARN) if the execution was dispatched by a Map Run.

        If you specify a version or alias ARN when you call the StartExecution API action, DescribeExecution returns that ARN.

        This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

        Executions of an EXPRESS state machine aren't supported by DescribeExecution unless a Map Run dispatched them.

        " }, "DescribeMapRun":{ "name":"DescribeMapRun", @@ -171,7 +171,7 @@ {"shape":"ResourceNotFound"}, {"shape":"InvalidArn"} ], - "documentation":"

        Provides information about a Map Run's configuration, progress, and results. For more information, see Examining Map Run in the Step Functions Developer Guide.

        " + "documentation":"

        Provides information about a Map Run's configuration, progress, and results. If you've redriven a Map Run, this API action also returns information about the redrives of that Map Run. For more information, see Examining Map Run in the Step Functions Developer Guide.

        " }, "DescribeStateMachine":{ "name":"DescribeStateMachine", @@ -275,7 +275,7 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFound"} ], - "documentation":"

        Lists all executions of a state machine or a Map Run. You can list all executions related to a state machine by specifying a state machine Amazon Resource Name (ARN), or those related to a Map Run by specifying a Map Run ARN.

        You can also provide a state machine alias ARN or version ARN to list the executions associated with a specific alias or version.

        Results are sorted by time, with the most recent execution first.

        If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

        This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

        This API action is not supported by EXPRESS state machines.

        " + "documentation":"

        Lists all executions of a state machine or a Map Run. You can list all executions related to a state machine by specifying a state machine Amazon Resource Name (ARN), or those related to a Map Run by specifying a Map Run ARN. Using this API action, you can also list all redriven executions.

        You can also provide a state machine alias ARN or version ARN to list the executions associated with a specific alias or version.

        Results are sorted by time, with the most recent execution first.

        If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

        This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

        This API action is not supported by EXPRESS state machines.

        " }, "ListMapRuns":{ "name":"ListMapRuns", @@ -370,6 +370,23 @@ "documentation":"

        Creates a version from the current revision of a state machine. Use versions to create immutable snapshots of your state machine. You can start executions from versions either directly or with an alias. To create an alias, use CreateStateMachineAlias.

        You can publish up to 1000 versions for each state machine. You must manually delete unused versions using the DeleteStateMachineVersion API action.

        PublishStateMachineVersion is an idempotent API. It doesn't create a duplicate state machine version if it already exists for the current revision. Step Functions bases PublishStateMachineVersion's idempotency check on the stateMachineArn, name, and revisionId parameters. Requests with the same parameters return a successful idempotent response. If you don't specify a revisionId, Step Functions checks for a previously published version of the state machine's current revision.

        Related operations:

        ", "idempotent":true }, + "RedriveExecution":{ + "name":"RedriveExecution", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RedriveExecutionInput"}, + "output":{"shape":"RedriveExecutionOutput"}, + "errors":[ + {"shape":"ExecutionDoesNotExist"}, + {"shape":"ExecutionNotRedrivable"}, + {"shape":"ExecutionLimitExceeded"}, + {"shape":"InvalidArn"} + ], + "documentation":"

        Restarts unsuccessful executions of Standard workflows that didn't complete successfully in the last 14 days. These include failed, aborted, or timed out executions. When you redrive an execution, it continues the failed execution from the unsuccessful step and uses the same input. Step Functions preserves the results and execution history of the successful steps, and doesn't rerun these steps when you redrive an execution. Redriven executions use the same state machine definition and execution ARN as the original execution attempt.

        For workflows that include an Inline Map or Parallel state, RedriveExecution API action reschedules and redrives only the iterations and branches that failed or aborted.

        To redrive a workflow that includes a Distributed Map state with failed child workflow executions, you must redrive the parent workflow. The parent workflow redrives all the unsuccessful states, including Distributed Map.

        This API action is not supported by EXPRESS state machines.

        However, you can restart the unsuccessful executions of Express child workflows in a Distributed Map by redriving its Map Run. When you redrive a Map Run, the Express child workflows are rerun using the StartExecution API action. For more information, see Redriving Map Runs.

        You can redrive executions if your original execution meets the following conditions:

        • The execution status isn't SUCCEEDED.

        • Your workflow execution has not exceeded the redrivable period of 14 days. Redrivable period refers to the time during which you can redrive a given execution. This period starts from the day a state machine completes its execution.

        • The workflow execution has not exceeded the maximum open time of one year. For more information about state machine quotas, see Quotas related to state machine executions.

        • The execution event history count is less than 24,999. Redriven executions append their event history to the existing event history. Make sure your workflow execution contains less than 24,999 events to accommodate the ExecutionRedriven history event and at least one other history event.

        ", + "idempotent":true + }, "SendTaskFailure":{ "name":"SendTaskFailure", "http":{ @@ -383,7 +400,7 @@ {"shape":"InvalidToken"}, {"shape":"TaskTimedOut"} ], - "documentation":"

        Used by activity workers and task states using the callback pattern to report that the task identified by the taskToken failed.

        " + "documentation":"

        Used by activity workers, Task states using the callback pattern, and optionally Task states using the job run pattern to report that the task identified by the taskToken failed.

        " }, "SendTaskHeartbeat":{ "name":"SendTaskHeartbeat", @@ -398,7 +415,7 @@ {"shape":"InvalidToken"}, {"shape":"TaskTimedOut"} ], - "documentation":"

        Used by activity workers and task states using the callback pattern to report to Step Functions that the task represented by the specified taskToken is still making progress. This action resets the Heartbeat clock. The Heartbeat threshold is specified in the state machine's Amazon States Language definition (HeartbeatSeconds). This action does not in itself create an event in the execution history. However, if the task times out, the execution history contains an ActivityTimedOut entry for activities, or a TaskTimedOut entry for for tasks using the job run or callback pattern.

        The Timeout of a task, defined in the state machine's Amazon States Language definition, is its maximum allowed duration, regardless of the number of SendTaskHeartbeat requests received. Use HeartbeatSeconds to configure the timeout interval for heartbeats.

        " + "documentation":"

        Used by activity workers and Task states using the callback pattern, and optionally Task states using the job run pattern to report to Step Functions that the task represented by the specified taskToken is still making progress. This action resets the Heartbeat clock. The Heartbeat threshold is specified in the state machine's Amazon States Language definition (HeartbeatSeconds). This action does not in itself create an event in the execution history. However, if the task times out, the execution history contains an ActivityTimedOut entry for activities, or a TaskTimedOut entry for tasks using the job run or callback pattern.

        The Timeout of a task, defined in the state machine's Amazon States Language definition, is its maximum allowed duration, regardless of the number of SendTaskHeartbeat requests received. Use HeartbeatSeconds to configure the timeout interval for heartbeats.

        " }, "SendTaskSuccess":{ "name":"SendTaskSuccess", @@ -414,7 +431,7 @@ {"shape":"InvalidToken"}, {"shape":"TaskTimedOut"} ], - "documentation":"

        Used by activity workers and task states using the callback pattern to report that the task identified by the taskToken completed successfully.

        " + "documentation":"

        Used by activity workers, Task states using the callback pattern, and optionally Task states using the job run pattern to report that the task identified by the taskToken completed successfully.

        " }, "StartExecution":{ "name":"StartExecution", @@ -740,6 +757,12 @@ "min":1, "pattern":"^(?=.*[a-zA-Z_\\-\\.])[a-zA-Z0-9_\\-\\.]+$" }, + "ClientToken":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[!-~]+" + }, "CloudWatchEventsExecutionDataDetails":{ "type":"structure", "members":{ @@ -1084,6 +1107,22 @@ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

        The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a combination of state machine ARN and the alias name separated by a colon (:). For example, stateMachineARN:PROD.

        If you start an execution from a StartExecution request with a state machine version ARN, this field will be null.

        " + }, + "redriveCount":{ + "shape":"RedriveCount", + "documentation":"

        The number of times you've redriven an execution. If you have not yet redriven an execution, the redriveCount is 0. This count is not updated for redrives that failed to start or are pending to be redriven.

        " + }, + "redriveDate":{ + "shape":"Timestamp", + "documentation":"

        The date the execution was last redriven. If you have not yet redriven an execution, the redriveDate is null.

        The redriveDate is unavailable if you redrive a Map Run that starts child workflow executions of type EXPRESS.

        " + }, + "redriveStatus":{ + "shape":"ExecutionRedriveStatus", + "documentation":"

        Indicates whether or not an execution can be redriven at a given point in time.

        • For executions of type STANDARD, redriveStatus is NOT_REDRIVABLE if calling the RedriveExecution API action would return the ExecutionNotRedrivable error.

        • For a Distributed Map that includes child workflows of type STANDARD, redriveStatus indicates whether or not the Map Run can redrive child workflow executions.

        • For a Distributed Map that includes child workflows of type EXPRESS, redriveStatus indicates whether or not the Map Run can redrive child workflow executions.

          You can redrive failed or timed out EXPRESS workflows only if they're a part of a Map Run. When you redrive the Map Run, these workflows are restarted using the StartExecution API action.

        " + }, + "redriveStatusReason":{ + "shape":"SensitiveData", + "documentation":"

        When redriveStatus is NOT_REDRIVABLE, redriveStatusReason specifies the reason why an execution cannot be redriven.

        • For executions of type STANDARD, or for a Distributed Map that includes child workflows of type STANDARD, redriveStatusReason can include one of the following reasons:

          • State machine is in DELETING status.

          • Execution is RUNNING and cannot be redriven.

          • Execution is SUCCEEDED and cannot be redriven.

          • Execution was started before the launch of RedriveExecution.

          • Execution history event limit exceeded.

          • Execution has exceeded the max execution time.

          • Execution redrivable period exceeded.

        • For a Distributed Map that includes child workflows of type EXPRESS, redriveStatusReason is only returned if the child workflows are not redrivable. This happens when the child workflow executions have completed successfully.

        " } } }, @@ -1150,6 +1189,14 @@ "executionCounts":{ "shape":"MapRunExecutionCounts", "documentation":"

        A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such as failed and succeeded.

        " + }, + "redriveCount":{ + "shape":"RedriveCount", + "documentation":"

        The number of times you've redriven a Map Run. If you have not yet redriven a Map Run, the redriveCount is 0. This count is not updated for redrives that failed to start or are pending to be redriven.

        " + }, + "redriveDate":{ + "shape":"Timestamp", + "documentation":"

        The date a Map Run was last redriven. If you have not yet redriven a Map Run, the redriveDate is null.

        " } } }, @@ -1428,10 +1475,52 @@ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

        The Amazon Resource Name (ARN) of the state machine alias used to start an execution.

        If the state machine execution was started with an unqualified ARN or a version ARN, it returns null.

        " + }, + "redriveCount":{ + "shape":"RedriveCount", + "documentation":"

        The number of times you've redriven an execution. If you have not yet redriven an execution, the redriveCount is 0. This count is not updated for redrives that failed to start or are pending to be redriven.

        ", + "box":true + }, + "redriveDate":{ + "shape":"Timestamp", + "documentation":"

        The date the execution was last redriven.

        " } }, "documentation":"

        Contains details about an execution.

        " }, + "ExecutionNotRedrivable":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

        The execution Amazon Resource Name (ARN) that you specified for executionArn cannot be redriven.

        ", + "exception":true + }, + "ExecutionRedriveFilter":{ + "type":"string", + "enum":[ + "REDRIVEN", + "NOT_REDRIVEN" + ] + }, + "ExecutionRedriveStatus":{ + "type":"string", + "enum":[ + "REDRIVABLE", + "NOT_REDRIVABLE", + "REDRIVABLE_BY_MAP_RUN" + ] + }, + "ExecutionRedrivenEventDetails":{ + "type":"structure", + "members":{ + "redriveCount":{ + "shape":"RedriveCount", + "documentation":"

        The number of times you've redriven an execution. If you have not yet redriven an execution, the redriveCount is 0. This count is not updated for redrives that failed to start or are pending to be redriven.

        " + } + }, + "documentation":"

        Contains details about a redriven execution.

        " + }, "ExecutionStartedEventDetails":{ "type":"structure", "members":{ @@ -1465,7 +1554,8 @@ "SUCCEEDED", "FAILED", "TIMED_OUT", - "ABORTED" + "ABORTED", + "PENDING_REDRIVE" ] }, "ExecutionSucceededEventDetails":{ @@ -1633,6 +1723,10 @@ "executionSucceededEventDetails":{"shape":"ExecutionSucceededEventDetails"}, "executionAbortedEventDetails":{"shape":"ExecutionAbortedEventDetails"}, "executionTimedOutEventDetails":{"shape":"ExecutionTimedOutEventDetails"}, + "executionRedrivenEventDetails":{ + "shape":"ExecutionRedrivenEventDetails", + "documentation":"

        Contains details about the redrive attempt of an execution.

        " + }, "mapStateStartedEventDetails":{ "shape":"MapStateStartedEventDetails", "documentation":"

        Contains details about Map state that was started.

        " @@ -1674,6 +1768,10 @@ "mapRunFailedEventDetails":{ "shape":"MapRunFailedEventDetails", "documentation":"

        Contains error and cause details about a Map Run that failed.

        " + }, + "mapRunRedrivenEventDetails":{ + "shape":"MapRunRedrivenEventDetails", + "documentation":"

        Contains details about the redrive attempt of a Map Run.

        " } }, "documentation":"

        Contains details about the events of an execution.

        " @@ -1754,7 +1852,9 @@ "MapRunAborted", "MapRunFailed", "MapRunStarted", - "MapRunSucceeded" + "MapRunSucceeded", + "ExecutionRedriven", + "MapRunRedriven" ] }, "Identity":{ @@ -1977,6 +2077,10 @@ "mapRunArn":{ "shape":"LongArn", "documentation":"

        The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the mapRunArn field is specified, a list of all of the child workflow executions started by a Map Run is returned. For more information, see Examining Map Run in the Step Functions Developer Guide.

        You can specify either a mapRunArn or a stateMachineArn, but not both.

        " + }, + "redriveFilter":{ + "shape":"ExecutionRedriveFilter", + "documentation":"

        Sets a filter to list executions based on whether or not they have been redriven.

        For a Distributed Map, redriveFilter sets a filter to list child workflow executions based on whether or not they have been redriven.

        If you do not provide a redriveFilter, Step Functions returns a list of both redriven and non-redriven executions.

        If you provide a state machine ARN in redriveFilter, the API returns a validation exception.

        " } } }, @@ -2184,6 +2288,7 @@ "max":2000, "min":1 }, + "LongObject":{"type":"long"}, "MapIterationEventDetails":{ "type":"structure", "members":{ @@ -2242,6 +2347,14 @@ "resultsWritten":{ "shape":"UnsignedLong", "documentation":"

        Returns the count of child workflow executions whose results were written by ResultWriter. For more information, see ResultWriter in the Step Functions Developer Guide.

        " + }, + "failuresNotRedrivable":{ + "shape":"LongObject", + "documentation":"

        The number of FAILED, ABORTED, or TIMED_OUT child workflow executions that cannot be redriven because their execution status is terminal. For example, if your execution event history contains 25,000 entries, or the toleratedFailureCount or toleratedFailurePercentage for the Distributed Map has exceeded.

        " + }, + "pendingRedrive":{ + "shape":"LongObject", + "documentation":"

        The number of unsuccessful child workflow executions currently waiting to be redriven. The status of these child workflow executions could be FAILED, ABORTED, or TIMED_OUT in the original execution attempt or a previous redrive attempt.

        " } }, "documentation":"

        Contains details about all of the child workflow executions started by a Map Run.

        " @@ -2304,6 +2417,14 @@ "resultsWritten":{ "shape":"UnsignedLong", "documentation":"

        Returns the count of items whose results were written by ResultWriter. For more information, see ResultWriter in the Step Functions Developer Guide.

        " + }, + "failuresNotRedrivable":{ + "shape":"LongObject", + "documentation":"

        The number of FAILED, ABORTED, or TIMED_OUT items in child workflow executions that cannot be redriven because the execution status of those child workflows is terminal. For example, if your execution event history contains 25,000 entries, or the toleratedFailureCount or toleratedFailurePercentage for the Distributed Map has exceeded.

        " + }, + "pendingRedrive":{ + "shape":"LongObject", + "documentation":"

        The number of unsuccessful items in child workflow executions currently waiting to be redriven.

        " } }, "documentation":"

        Contains details about items that were processed in all of the child workflow executions that were started by a Map Run.

        " @@ -2345,6 +2466,20 @@ }, "documentation":"

        Contains details about a specific Map Run.

        " }, + "MapRunRedrivenEventDetails":{ + "type":"structure", + "members":{ + "mapRunArn":{ + "shape":"LongArn", + "documentation":"

        The Amazon Resource Name (ARN) of a Map Run that was redriven.

        " + }, + "redriveCount":{ + "shape":"RedriveCount", + "documentation":"

        The number of times the Map Run has been redriven at this point in the execution's history including this event. The redrive count for a redriven Map Run is always greater than 0.

        " + } + }, + "documentation":"

        Contains details about a Map Run that was redriven.

        " + }, "MapRunStartedEventDetails":{ "type":"structure", "members":{ @@ -2437,6 +2572,35 @@ } } }, + "RedriveCount":{ + "type":"integer", + "box":true + }, + "RedriveExecutionInput":{ + "type":"structure", + "required":["executionArn"], + "members":{ + "executionArn":{ + "shape":"Arn", + "documentation":"

        The Amazon Resource Name (ARN) of the execution to be redriven.

        " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The API uses one of the last 10 client tokens provided.

        ", + "idempotencyToken":true + } + } + }, + "RedriveExecutionOutput":{ + "type":"structure", + "required":["redriveDate"], + "members":{ + "redriveDate":{ + "shape":"Timestamp", + "documentation":"

        The date the execution was last redriven.

        " + } + } + }, "ResourceNotFound":{ "type":"structure", "members":{ @@ -2467,7 +2631,7 @@ }, "weight":{ "shape":"VersionWeight", - "documentation":"

        The percentage of traffic you want to route to the second state machine version. The sum of the weights in the routing configuration must be equal to 100.

        " + "documentation":"

        The percentage of traffic you want to route to a state machine version. The sum of the weights in the routing configuration must be equal to 100.

        " } }, "documentation":"

        Contains details about the routing configuration of a state machine alias. In a routing configuration, you define an array of objects that specify up to two state machine versions. You also specify the percentage of traffic to be routed to each version.

        " @@ -2572,7 +2736,7 @@ }, "name":{ "shape":"Name", - "documentation":"

        Optional name of the execution. This name must be unique for your Amazon Web Services account, Region, and state machine for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.

        A name must not contain:

        • white space

        • brackets < > { } [ ]

        • wildcard characters ? *

        • special characters \" # % \\ ^ | ~ ` $ & , ; : /

        • control characters (U+0000-001F, U+007F-009F)

        To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

        " + "documentation":"

        Optional name of the execution. This name must be unique for your Amazon Web Services account, Region, and state machine for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.

        If you don't provide a name for the execution, Step Functions automatically generates a universally unique identifier (UUID) as the execution name.

        A name must not contain:

        • white space

        • brackets < > { } [ ]

        • wildcard characters ? *

        • special characters \" # % \\ ^ | ~ ` $ & , ; : /

        • control characters (U+0000-001F, U+007F-009F)

        To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

        " }, "input":{ "shape":"SensitiveData", @@ -2957,6 +3121,7 @@ "members":{ "message":{"shape":"ErrorMessage"} }, + "documentation":"

        The activity does not exist.

        ", "exception":true }, "TaskFailedEventDetails":{ @@ -3154,6 +3319,7 @@ "members":{ "message":{"shape":"ErrorMessage"} }, + "documentation":"

        The task token has either expired or the task associated with the token has already been closed.

        ", "exception":true }, "TaskTimedOutEventDetails":{ @@ -3397,5 +3563,5 @@ "includedDetails":{"type":"boolean"}, "truncated":{"type":"boolean"} }, - "documentation":"Step Functions

        Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.

        You can use Step Functions to build applications from individual components, each of which performs a discrete function, or task, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues.

        Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API. For more information about Step Functions, see the Step Functions Developer Guide .

        " + "documentation":"Step Functions

        Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.

        You can use Step Functions to build applications from individual components, each of which performs a discrete function, or task, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues.

        Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API. For more information about Step Functions, see the Step Functions Developer Guide .

        If you use the Step Functions API actions using Amazon Web Services SDK integrations, make sure the API actions are in camel case and parameter names are in Pascal case. For example, you could use Step Functions API action startSyncExecution and specify its parameter as StateMachineArn.

        " } diff --git a/tools/code-generation/endpoints/backup-2018-11-15.endpoint-rule-set.json b/tools/code-generation/endpoints/backup-2018-11-15.endpoint-rule-set.json index dc2e1fc92d9..532b0e96566 100644 --- a/tools/code-generation/endpoints/backup-2018-11-15.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/backup-2018-11-15.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/backup-2018-11-15.endpoint-tests.json b/tools/code-generation/endpoints/backup-2018-11-15.endpoint-tests.json index 4985c744eb0..a040669ac04 100644 --- a/tools/code-generation/endpoints/backup-2018-11-15.endpoint-tests.json +++ b/tools/code-generation/endpoints/backup-2018-11-15.endpoint-tests.json @@ -607,6 +607,17 @@ "expect": { "error": "Invalid Configuration: Missing Region" } + }, + { + "documentation": "Partition doesn't support DualStack", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } } ], "version": "1.0" diff --git a/tools/code-generation/endpoints/cleanrooms-2022-02-17.endpoint-rule-set.json b/tools/code-generation/endpoints/cleanrooms-2022-02-17.endpoint-rule-set.json index 5ff0ca71b0f..3a514d8a54d 100644 --- a/tools/code-generation/endpoints/cleanrooms-2022-02-17.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/cleanrooms-2022-02-17.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/tools/code-generation/endpoints/iot-2015-05-28.endpoint-rule-set.json b/tools/code-generation/endpoints/iot-2015-05-28.endpoint-rule-set.json index 64486d98236..abd0635a617 100644 --- a/tools/code-generation/endpoints/iot-2015-05-28.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/iot-2015-05-28.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -376,9 +374,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/mediatailor-2018-04-23.endpoint-rule-set.json b/tools/code-generation/endpoints/mediatailor-2018-04-23.endpoint-rule-set.json index f6487bddd7f..2ec070203ec 100644 --- a/tools/code-generation/endpoints/mediatailor-2018-04-23.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/mediatailor-2018-04-23.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/pipes-2015-10-07.endpoint-rule-set.json b/tools/code-generation/endpoints/pipes-2015-10-07.endpoint-rule-set.json index 29e73f0ed24..cc9736a05c8 100644 --- a/tools/code-generation/endpoints/pipes-2015-10-07.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/pipes-2015-10-07.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/tools/code-generation/endpoints/resource-explorer-2-2022-07-28.endpoint-rule-set.json b/tools/code-generation/endpoints/resource-explorer-2-2022-07-28.endpoint-rule-set.json index 9c7184f3673..003af7baa24 100644 --- a/tools/code-generation/endpoints/resource-explorer-2-2022-07-28.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/resource-explorer-2-2022-07-28.endpoint-rule-set.json @@ -33,7 +33,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -61,7 +60,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -74,7 +74,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -88,7 +87,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -108,7 +106,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -122,14 +119,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -138,11 +133,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -153,14 +148,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -171,7 +168,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -185,14 +183,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -201,11 +197,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -216,14 +212,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -234,9 +232,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/signer-2017-08-25.endpoint-rule-set.json b/tools/code-generation/endpoints/signer-2017-08-25.endpoint-rule-set.json index 40fbb0a3437..8d1648942b6 100644 --- a/tools/code-generation/endpoints/signer-2017-08-25.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/signer-2017-08-25.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/states-2016-11-23.endpoint-rule-set.json b/tools/code-generation/endpoints/states-2016-11-23.endpoint-rule-set.json index a45a6672685..ff130912f62 100644 --- a/tools/code-generation/endpoints/states-2016-11-23.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/states-2016-11-23.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -250,14 +246,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -271,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -291,7 +288,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -302,14 +298,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -320,9 +318,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [],