From ed6fa2839659e8a1e99b2be5fc25bc1a62644226 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Fri, 31 May 2024 18:23:58 +0000 Subject: [PATCH] This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations. AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise Update to attributes of TestFailover and minor revisions. This release includes minor model updates and documentation updates. --- VERSION | 2 +- .../codebuild/model/CreateWebhookRequest.h | 16 +- .../aws/codebuild/model/WebhookFilter.h | 36 +- .../CodeGuruSecurityClient.h | 27 +- .../model/AccountFindingsMetric.h | 87 ++-- .../model/BatchGetFindingsResult.h | 14 +- .../model/CreateScanRequest.h | 28 +- .../model/CreateUploadUrlResult.h | 49 +- .../model/EncryptionConfig.h | 35 +- .../aws/codeguru-security/model/Finding.h | 46 +- .../model/FindingMetricsValuePerSeverity.h | 61 +-- .../model/GetAccountConfigurationResult.h | 35 +- .../model/GetFindingsRequest.h | 16 +- .../model/GetMetricsSummaryRequest.h | 24 +- .../codeguru-security/model/GetScanResult.h | 48 +- .../model/ListFindingsMetricsRequest.h | 52 +- .../model/ListScansRequest.h | 16 +- .../model/ListTagsForResourceRequest.h | 24 +- .../codeguru-security/model/MetricsSummary.h | 64 +-- .../aws/codeguru-security/model/Resource.h | 44 +- .../aws/codeguru-security/model/ResourceId.h | 37 +- .../model/ScanNameWithFindingNum.h | 11 +- .../codeguru-security/model/SuggestedFix.h | 24 +- .../model/TagResourceRequest.h | 24 +- .../model/UntagResourceRequest.h | 24 +- .../model/UpdateAccountConfigurationRequest.h | 36 +- .../model/UpdateAccountConfigurationResult.h | 25 +- .../codeguru-security/model/Vulnerability.h | 24 - .../source/CodeGuruSecurityEndpointRules.cpp | 216 ++++----- .../source/model/GetScanResult.cpp | 6 + .../source/model/Vulnerability.cpp | 17 - .../aws/elasticache/ElastiCacheClient.h | 4 +- .../model/DescribeUserGroupsResult.h | 14 +- .../model/ModifyCacheClusterRequest.h | 30 +- .../model/ModifyReplicationGroupRequest.h | 30 +- .../elasticache/model/TestFailoverRequest.h | 16 +- .../aws/launch-wizard/LaunchWizardClient.h | 119 ++++- .../LaunchWizardServiceClientModel.h | 20 + .../model/CreateDeploymentRequest.h | 286 ++++++++--- .../model/DeploymentConditionalField.h | 185 +++++++ .../aws/launch-wizard/model/DeploymentData.h | 282 +++++++++-- .../model/DeploymentSpecificationsField.h | 272 +++++++++++ .../GetWorkloadDeploymentPatternRequest.h | 127 +++++ .../GetWorkloadDeploymentPatternResult.h | 92 ++++ .../model/ListDeploymentsRequest.h | 64 ++- .../model/ListTagsForResourceRequest.h | 83 ++++ .../model/ListTagsForResourceResult.h | 127 +++++ .../launch-wizard/model/TagResourceRequest.h | 153 ++++++ .../launch-wizard/model/TagResourceResult.h | 63 +++ .../model/UntagResourceRequest.h | 139 ++++++ .../launch-wizard/model/UntagResourceResult.h | 63 +++ .../model/WorkloadDeploymentPatternData.h | 454 ++++++++++++++++++ .../source/LaunchWizardClient.cpp | 135 ++++++ .../source/model/CreateDeploymentRequest.cpp | 12 + .../model/DeploymentConditionalField.cpp | 89 ++++ .../source/model/DeploymentData.cpp | 38 ++ .../model/DeploymentSpecificationsField.cpp | 135 ++++++ .../GetWorkloadDeploymentPatternRequest.cpp | 42 ++ .../GetWorkloadDeploymentPatternResult.cpp | 48 ++ .../model/ListTagsForResourceRequest.cpp | 27 ++ .../model/ListTagsForResourceResult.cpp | 51 ++ .../source/model/TagResourceRequest.cpp | 41 ++ .../source/model/TagResourceResult.cpp | 42 ++ .../source/model/UntagResourceRequest.cpp | 45 ++ .../source/model/UntagResourceResult.cpp | 42 ++ .../model/WorkloadDeploymentPatternData.cpp | 173 +++++++ .../LaunchWizardEndpointProviderTests.cpp | 8 +- .../include/aws/core/VersionConfig.h | 4 +- .../codebuild-2016-10-06.normal.json | 4 +- .../codeguru-security-2018-05-10.normal.json | 124 ++--- .../elasticache-2015-02-02.normal.json | 11 +- .../launch-wizard-2018-05-10.normal.json | 322 ++++++++++++- ...security-2018-05-10.endpoint-rule-set.json | 64 +-- ...unch-wizard-2018-05-10.endpoint-tests.json | 11 - 74 files changed, 4388 insertions(+), 871 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentConditionalField.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentSpecificationsField.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternRequest.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternResult.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/WorkloadDeploymentPatternData.h create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentConditionalField.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentSpecificationsField.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternResult.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-launch-wizard/source/model/WorkloadDeploymentPatternData.cpp diff --git a/VERSION b/VERSION index 2bede620d6e..f87ea1829dd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.339 \ No newline at end of file +1.11.340 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateWebhookRequest.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateWebhookRequest.h index fccf98e605f..80aef07cda9 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateWebhookRequest.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateWebhookRequest.h @@ -267,8 +267,8 @@ namespace Model *

If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and * instead returns payloadUrl and secret values for the * webhook. The payloadUrl and secret values in the - * output can be used to manually create a webhook within GitHub.

- *

manualCreation is only available for GitHub webhooks.

+ * output can be used to manually create a webhook within GitHub.

+ * manualCreation is only available for GitHub webhooks.

*/ inline bool GetManualCreation() const{ return m_manualCreation; } @@ -276,8 +276,8 @@ namespace Model *

If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and * instead returns payloadUrl and secret values for the * webhook. The payloadUrl and secret values in the - * output can be used to manually create a webhook within GitHub.

- *

manualCreation is only available for GitHub webhooks.

+ * output can be used to manually create a webhook within GitHub.

+ * manualCreation is only available for GitHub webhooks.

*/ inline bool ManualCreationHasBeenSet() const { return m_manualCreationHasBeenSet; } @@ -285,8 +285,8 @@ namespace Model *

If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and * instead returns payloadUrl and secret values for the * webhook. The payloadUrl and secret values in the - * output can be used to manually create a webhook within GitHub.

- *

manualCreation is only available for GitHub webhooks.

+ * output can be used to manually create a webhook within GitHub.

+ * manualCreation is only available for GitHub webhooks.

*/ inline void SetManualCreation(bool value) { m_manualCreationHasBeenSet = true; m_manualCreation = value; } @@ -294,8 +294,8 @@ namespace Model *

If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and * instead returns payloadUrl and secret values for the * webhook. The payloadUrl and secret values in the - * output can be used to manually create a webhook within GitHub.

- *

manualCreation is only available for GitHub webhooks.

+ * output can be used to manually create a webhook within GitHub.

+ * manualCreation is only available for GitHub webhooks.

*/ inline CreateWebhookRequest& WithManualCreation(bool value) { SetManualCreation(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h index 1f6a74fc5a7..0a1889718a1 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookFilter.h @@ -53,9 +53,9 @@ namespace Model * WORKFLOW_JOB_QUEUED. The EVENT patterns are specified * as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, * PULL_REQUEST_UPDATED filters all push, pull request created, and pull - * request updated events.

The PULL_REQUEST_REOPENED - * works with GitHub and GitHub Enterprise only. The RELEASED, - * PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub + * request updated events.

Types PULL_REQUEST_REOPENED + * and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise + * only. Types RELEASED and PRERELEASED work with GitHub * only.

  • ACTOR_ACCOUNT_ID

    @@ -106,9 +106,9 @@ namespace Model * WORKFLOW_JOB_QUEUED. The EVENT patterns are specified * as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, * PULL_REQUEST_UPDATED filters all push, pull request created, and pull - * request updated events.

    The PULL_REQUEST_REOPENED - * works with GitHub and GitHub Enterprise only. The RELEASED, - * PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub + * request updated events.

    Types PULL_REQUEST_REOPENED + * and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise + * only. Types RELEASED and PRERELEASED work with GitHub * only.

  • ACTOR_ACCOUNT_ID

    @@ -159,9 +159,9 @@ namespace Model * WORKFLOW_JOB_QUEUED. The EVENT patterns are specified * as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, * PULL_REQUEST_UPDATED filters all push, pull request created, and pull - * request updated events.

    The PULL_REQUEST_REOPENED - * works with GitHub and GitHub Enterprise only. The RELEASED, - * PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub + * request updated events.

    Types PULL_REQUEST_REOPENED + * and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise + * only. Types RELEASED and PRERELEASED work with GitHub * only.

  • ACTOR_ACCOUNT_ID

    @@ -212,9 +212,9 @@ namespace Model * WORKFLOW_JOB_QUEUED. The EVENT patterns are specified * as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, * PULL_REQUEST_UPDATED filters all push, pull request created, and pull - * request updated events.

    The PULL_REQUEST_REOPENED - * works with GitHub and GitHub Enterprise only. The RELEASED, - * PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub + * request updated events.

    Types PULL_REQUEST_REOPENED + * and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise + * only. Types RELEASED and PRERELEASED work with GitHub * only.

  • ACTOR_ACCOUNT_ID

    @@ -265,9 +265,9 @@ namespace Model * WORKFLOW_JOB_QUEUED. The EVENT patterns are specified * as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, * PULL_REQUEST_UPDATED filters all push, pull request created, and pull - * request updated events.

    The PULL_REQUEST_REOPENED - * works with GitHub and GitHub Enterprise only. The RELEASED, - * PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub + * request updated events.

    Types PULL_REQUEST_REOPENED + * and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise + * only. Types RELEASED and PRERELEASED work with GitHub * only.

  • ACTOR_ACCOUNT_ID

    @@ -318,9 +318,9 @@ namespace Model * WORKFLOW_JOB_QUEUED. The EVENT patterns are specified * as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, * PULL_REQUEST_UPDATED filters all push, pull request created, and pull - * request updated events.

    The PULL_REQUEST_REOPENED - * works with GitHub and GitHub Enterprise only. The RELEASED, - * PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub + * request updated events.

    Types PULL_REQUEST_REOPENED + * and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise + * only. Types RELEASED and PRERELEASED work with GitHub * only.

  • ACTOR_ACCOUNT_ID

    diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/CodeGuruSecurityClient.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/CodeGuruSecurityClient.h index 02e18e16538..773e8a1c416 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/CodeGuruSecurityClient.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/CodeGuruSecurityClient.h @@ -86,7 +86,8 @@ namespace CodeGuruSecurity virtual ~CodeGuruSecurityClient(); /** - *

    Returns a list of all requested findings.

    See Also:

    Returns a list of requested findings from standard scans.

    See + * Also:

    AWS * API Reference

    */ @@ -111,8 +112,8 @@ namespace CodeGuruSecurity } /** - *

    Use to create a scan using code uploaded to an S3 bucket.

    See - * Also:

    Use to create a scan using code uploaded to an Amazon S3 + * bucket.

    See Also:

    AWS * API Reference

    */ @@ -137,9 +138,10 @@ namespace CodeGuruSecurity } /** - *

    Generates a pre-signed URL and request headers used to upload a code - * resource.

    You can upload your code resource to the URL and add the - * request headers using any HTTP client.

    See Also:

    Generates a pre-signed URL, request headers used to upload a code resource, + * and code artifact identifier for the uploaded resource.

    You can upload + * your code resource to the URL with the request headers using any HTTP + * client.

    See Also:

    AWS * API Reference

    */ @@ -164,7 +166,8 @@ namespace CodeGuruSecurity } /** - *

    Use to get account level configuration.

    See Also:

    Use to get the encryption configuration for an account.

    See + * Also:

    AWS * API Reference

    */ @@ -215,7 +218,7 @@ namespace CodeGuruSecurity } /** - *

    Returns top level metrics about an account from a specified date, including + *

    Returns a summary of metrics for an account from a specified date, including * number of open findings, the categories with most findings, the scans with most * open findings, and scans with most open critical findings.

    See * Also:

    Returns a list of all the standard scans in an account. Does not return - * express scans.

    See Also:

    Returns a list of all scans in an account. Does not return + * EXPRESS scans.

    See Also:

    AWS * API Reference

    */ @@ -399,8 +402,8 @@ namespace CodeGuruSecurity } /** - *

    Use to update account-level configuration with an encryption - * key.

    See Also:

    Use to update the encryption configuration for an account.

    See + * Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/AccountFindingsMetric.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/AccountFindingsMetric.h index 79a40138f54..d1789770657 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/AccountFindingsMetric.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/AccountFindingsMetric.h @@ -25,7 +25,8 @@ namespace Model { /** - *

    A summary of findings metrics in an account.

    See Also:

    A summary of findings metrics for an account on a specified + * date.

    See Also:

    AWS * API Reference

    */ @@ -39,174 +40,162 @@ namespace Model /** - *

    The number of closed findings of each severity in an account on the specified - * date.

    + *

    The number of closed findings of each severity on the specified date.

    */ inline const FindingMetricsValuePerSeverity& GetClosedFindings() const{ return m_closedFindings; } /** - *

    The number of closed findings of each severity in an account on the specified - * date.

    + *

    The number of closed findings of each severity on the specified date.

    */ inline bool ClosedFindingsHasBeenSet() const { return m_closedFindingsHasBeenSet; } /** - *

    The number of closed findings of each severity in an account on the specified - * date.

    + *

    The number of closed findings of each severity on the specified date.

    */ inline void SetClosedFindings(const FindingMetricsValuePerSeverity& value) { m_closedFindingsHasBeenSet = true; m_closedFindings = value; } /** - *

    The number of closed findings of each severity in an account on the specified - * date.

    + *

    The number of closed findings of each severity on the specified date.

    */ inline void SetClosedFindings(FindingMetricsValuePerSeverity&& value) { m_closedFindingsHasBeenSet = true; m_closedFindings = std::move(value); } /** - *

    The number of closed findings of each severity in an account on the specified - * date.

    + *

    The number of closed findings of each severity on the specified date.

    */ inline AccountFindingsMetric& WithClosedFindings(const FindingMetricsValuePerSeverity& value) { SetClosedFindings(value); return *this;} /** - *

    The number of closed findings of each severity in an account on the specified - * date.

    + *

    The number of closed findings of each severity on the specified date.

    */ inline AccountFindingsMetric& WithClosedFindings(FindingMetricsValuePerSeverity&& value) { SetClosedFindings(std::move(value)); return *this;} /** - *

    The date from which the finding metrics were retrieved.

    + *

    The date from which the findings metrics were retrieved.

    */ inline const Aws::Utils::DateTime& GetDate() const{ return m_date; } /** - *

    The date from which the finding metrics were retrieved.

    + *

    The date from which the findings metrics were retrieved.

    */ inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } /** - *

    The date from which the finding metrics were retrieved.

    + *

    The date from which the findings metrics were retrieved.

    */ inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; } /** - *

    The date from which the finding metrics were retrieved.

    + *

    The date from which the findings metrics were retrieved.

    */ inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); } /** - *

    The date from which the finding metrics were retrieved.

    + *

    The date from which the findings metrics were retrieved.

    */ inline AccountFindingsMetric& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;} /** - *

    The date from which the finding metrics were retrieved.

    + *

    The date from which the findings metrics were retrieved.

    */ inline AccountFindingsMetric& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;} /** - *

    The average time it takes to close findings of each severity in days.

    + *

    The average time in days it takes to close findings of each severity as of a + * specified date.

    */ inline const FindingMetricsValuePerSeverity& GetMeanTimeToClose() const{ return m_meanTimeToClose; } /** - *

    The average time it takes to close findings of each severity in days.

    + *

    The average time in days it takes to close findings of each severity as of a + * specified date.

    */ inline bool MeanTimeToCloseHasBeenSet() const { return m_meanTimeToCloseHasBeenSet; } /** - *

    The average time it takes to close findings of each severity in days.

    + *

    The average time in days it takes to close findings of each severity as of a + * specified date.

    */ inline void SetMeanTimeToClose(const FindingMetricsValuePerSeverity& value) { m_meanTimeToCloseHasBeenSet = true; m_meanTimeToClose = value; } /** - *

    The average time it takes to close findings of each severity in days.

    + *

    The average time in days it takes to close findings of each severity as of a + * specified date.

    */ inline void SetMeanTimeToClose(FindingMetricsValuePerSeverity&& value) { m_meanTimeToCloseHasBeenSet = true; m_meanTimeToClose = std::move(value); } /** - *

    The average time it takes to close findings of each severity in days.

    + *

    The average time in days it takes to close findings of each severity as of a + * specified date.

    */ inline AccountFindingsMetric& WithMeanTimeToClose(const FindingMetricsValuePerSeverity& value) { SetMeanTimeToClose(value); return *this;} /** - *

    The average time it takes to close findings of each severity in days.

    + *

    The average time in days it takes to close findings of each severity as of a + * specified date.

    */ inline AccountFindingsMetric& WithMeanTimeToClose(FindingMetricsValuePerSeverity&& value) { SetMeanTimeToClose(std::move(value)); return *this;} /** - *

    The number of new findings of each severity in account on the specified - * date.

    + *

    The number of new findings of each severity on the specified date.

    */ inline const FindingMetricsValuePerSeverity& GetNewFindings() const{ return m_newFindings; } /** - *

    The number of new findings of each severity in account on the specified - * date.

    + *

    The number of new findings of each severity on the specified date.

    */ inline bool NewFindingsHasBeenSet() const { return m_newFindingsHasBeenSet; } /** - *

    The number of new findings of each severity in account on the specified - * date.

    + *

    The number of new findings of each severity on the specified date.

    */ inline void SetNewFindings(const FindingMetricsValuePerSeverity& value) { m_newFindingsHasBeenSet = true; m_newFindings = value; } /** - *

    The number of new findings of each severity in account on the specified - * date.

    + *

    The number of new findings of each severity on the specified date.

    */ inline void SetNewFindings(FindingMetricsValuePerSeverity&& value) { m_newFindingsHasBeenSet = true; m_newFindings = std::move(value); } /** - *

    The number of new findings of each severity in account on the specified - * date.

    + *

    The number of new findings of each severity on the specified date.

    */ inline AccountFindingsMetric& WithNewFindings(const FindingMetricsValuePerSeverity& value) { SetNewFindings(value); return *this;} /** - *

    The number of new findings of each severity in account on the specified - * date.

    + *

    The number of new findings of each severity on the specified date.

    */ inline AccountFindingsMetric& WithNewFindings(FindingMetricsValuePerSeverity&& value) { SetNewFindings(std::move(value)); return *this;} /** - *

    The number of open findings of each severity in an account as of the - * specified date.

    + *

    The number of open findings of each severity as of the specified date.

    */ inline const FindingMetricsValuePerSeverity& GetOpenFindings() const{ return m_openFindings; } /** - *

    The number of open findings of each severity in an account as of the - * specified date.

    + *

    The number of open findings of each severity as of the specified date.

    */ inline bool OpenFindingsHasBeenSet() const { return m_openFindingsHasBeenSet; } /** - *

    The number of open findings of each severity in an account as of the - * specified date.

    + *

    The number of open findings of each severity as of the specified date.

    */ inline void SetOpenFindings(const FindingMetricsValuePerSeverity& value) { m_openFindingsHasBeenSet = true; m_openFindings = value; } /** - *

    The number of open findings of each severity in an account as of the - * specified date.

    + *

    The number of open findings of each severity as of the specified date.

    */ inline void SetOpenFindings(FindingMetricsValuePerSeverity&& value) { m_openFindingsHasBeenSet = true; m_openFindings = std::move(value); } /** - *

    The number of open findings of each severity in an account as of the - * specified date.

    + *

    The number of open findings of each severity as of the specified date.

    */ inline AccountFindingsMetric& WithOpenFindings(const FindingMetricsValuePerSeverity& value) { SetOpenFindings(value); return *this;} /** - *

    The number of open findings of each severity in an account as of the - * specified date.

    + *

    The number of open findings of each severity as of the specified date.

    */ inline AccountFindingsMetric& WithOpenFindings(FindingMetricsValuePerSeverity&& value) { SetOpenFindings(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/BatchGetFindingsResult.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/BatchGetFindingsResult.h index 43546eb6cba..e01262735be 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/BatchGetFindingsResult.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/BatchGetFindingsResult.h @@ -93,37 +93,37 @@ namespace Model /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline const Aws::Vector& GetFindings() const{ return m_findings; } /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline void SetFindings(const Aws::Vector& value) { m_findings = value; } /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline void SetFindings(Aws::Vector&& value) { m_findings = std::move(value); } /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline BatchGetFindingsResult& WithFindings(const Aws::Vector& value) { SetFindings(value); return *this;} /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline BatchGetFindingsResult& WithFindings(Aws::Vector&& value) { SetFindings(std::move(value)); return *this;} /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline BatchGetFindingsResult& AddFindings(const Finding& value) { m_findings.push_back(value); return *this; } /** - *

    A list of all requested findings.

    + *

    A list of all findings which were successfully fetched.

    */ inline BatchGetFindingsResult& AddFindings(Finding&& value) { m_findings.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateScanRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateScanRequest.h index 34d2dfd26d1..4f7e2fb9e01 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateScanRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateScanRequest.h @@ -150,32 +150,32 @@ namespace Model /** - *

    The identifier for an input resource used to create a scan.

    + *

    The identifier for the resource object to be scanned.

    */ inline const ResourceId& GetResourceId() const{ return m_resourceId; } /** - *

    The identifier for an input resource used to create a scan.

    + *

    The identifier for the resource object to be scanned.

    */ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** - *

    The identifier for an input resource used to create a scan.

    + *

    The identifier for the resource object to be scanned.

    */ inline void SetResourceId(const ResourceId& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** - *

    The identifier for an input resource used to create a scan.

    + *

    The identifier for the resource object to be scanned.

    */ inline void SetResourceId(ResourceId&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** - *

    The identifier for an input resource used to create a scan.

    + *

    The identifier for the resource object to be scanned.

    */ inline CreateScanRequest& WithResourceId(const ResourceId& value) { SetResourceId(value); return *this;} /** - *

    The identifier for an input resource used to create a scan.

    + *

    The identifier for the resource object to be scanned.

    */ inline CreateScanRequest& WithResourceId(ResourceId&& value) { SetResourceId(std::move(value)); return *this;} @@ -183,56 +183,56 @@ namespace Model /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline const Aws::String& GetScanName() const{ return m_scanName; } /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; } /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; } /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); } /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); } /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline CreateScanRequest& WithScanName(const Aws::String& value) { SetScanName(value); return *this;} /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline CreateScanRequest& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;} /** *

    The unique name that CodeGuru Security uses to track revisions across * multiple scans of the same resource. Only allowed for a STANDARD - * scan type. If not specified, it will be auto generated.

    + * scan type.

    */ inline CreateScanRequest& WithScanName(const char* value) { SetScanName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateUploadUrlResult.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateUploadUrlResult.h index dbcdf6ea971..c0fa6feca70 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateUploadUrlResult.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/CreateUploadUrlResult.h @@ -34,37 +34,44 @@ namespace Model /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline const Aws::String& GetCodeArtifactId() const{ return m_codeArtifactId; } /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline void SetCodeArtifactId(const Aws::String& value) { m_codeArtifactId = value; } /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline void SetCodeArtifactId(Aws::String&& value) { m_codeArtifactId = std::move(value); } /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline void SetCodeArtifactId(const char* value) { m_codeArtifactId.assign(value); } /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline CreateUploadUrlResult& WithCodeArtifactId(const Aws::String& value) { SetCodeArtifactId(value); return *this;} /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline CreateUploadUrlResult& WithCodeArtifactId(Aws::String&& value) { SetCodeArtifactId(std::move(value)); return *this;} /** - *

    The identifier for the uploaded code resource.

    + *

    The identifier for the uploaded code resource. Pass this to + * CreateScan to use the uploaded resources.

    */ inline CreateUploadUrlResult& WithCodeArtifactId(const char* value) { SetCodeArtifactId(value); return *this;} @@ -143,44 +150,44 @@ namespace Model /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline const Aws::String& GetS3Url() const{ return m_s3Url; } /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline void SetS3Url(const Aws::String& value) { m_s3Url = value; } /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline void SetS3Url(Aws::String&& value) { m_s3Url = std::move(value); } /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline void SetS3Url(const char* value) { m_s3Url.assign(value); } /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline CreateUploadUrlResult& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;} /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline CreateUploadUrlResult& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;} /** - *

    A pre-signed S3 URL. You can upload the code file you want to scan and add - * the required requestHeaders using any HTTP client.

    + *

    A pre-signed S3 URL. You can upload the code file you want to scan with the + * required requestHeaders using any HTTP client.

    */ inline CreateUploadUrlResult& WithS3Url(const char* value) { SetS3Url(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/EncryptionConfig.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/EncryptionConfig.h index 8989517fe0a..39cdd7d68da 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/EncryptionConfig.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/EncryptionConfig.h @@ -24,7 +24,8 @@ namespace Model { /** - *

    Information about account-level configuration.

    See Also:

    Information about the encryption configuration for an account. Required to + * call UpdateAccountConfiguration.

    See Also:

    AWS * API Reference

    */ @@ -38,50 +39,50 @@ namespace Model /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline EncryptionConfig& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline EncryptionConfig& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** - *

    The KMS key ARN to use for encryption. This must be provided as a header when - * uploading your code resource.

    + *

    The KMS key ARN that is used for encryption. If an AWS-managed key is used + * for encryption, returns empty.

    */ inline EncryptionConfig& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Finding.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Finding.h index 5aed5bb002a..9dc147863a9 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Finding.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Finding.h @@ -289,49 +289,49 @@ namespace Model /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline const Aws::String& GetGeneratorId() const{ return m_generatorId; } /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline bool GeneratorIdHasBeenSet() const { return m_generatorIdHasBeenSet; } /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline void SetGeneratorId(const Aws::String& value) { m_generatorIdHasBeenSet = true; m_generatorId = value; } /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline void SetGeneratorId(Aws::String&& value) { m_generatorIdHasBeenSet = true; m_generatorId = std::move(value); } /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline void SetGeneratorId(const char* value) { m_generatorIdHasBeenSet = true; m_generatorId.assign(value); } /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline Finding& WithGeneratorId(const Aws::String& value) { SetGeneratorId(value); return *this;} /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline Finding& WithGeneratorId(Aws::String&& value) { SetGeneratorId(std::move(value)); return *this;} /** *

    The identifier for the component that generated a finding such as - * AWSCodeGuruSecurity or AWSInspector.

    + * AmazonCodeGuruSecurity.

    */ inline Finding& WithGeneratorId(const char* value) { SetGeneratorId(value); return *this;} @@ -481,32 +481,50 @@ namespace Model /** - *

    The severity of the finding.

    + *

    The severity of the finding. Severity can be critical, high, medium, low, or + * informational. For information on severity levels, see Finding + * severity in the Amazon CodeGuru Security User Guide.

    */ inline const Severity& GetSeverity() const{ return m_severity; } /** - *

    The severity of the finding.

    + *

    The severity of the finding. Severity can be critical, high, medium, low, or + * informational. For information on severity levels, see Finding + * severity in the Amazon CodeGuru Security User Guide.

    */ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** - *

    The severity of the finding.

    + *

    The severity of the finding. Severity can be critical, high, medium, low, or + * informational. For information on severity levels, see Finding + * severity in the Amazon CodeGuru Security User Guide.

    */ inline void SetSeverity(const Severity& value) { m_severityHasBeenSet = true; m_severity = value; } /** - *

    The severity of the finding.

    + *

    The severity of the finding. Severity can be critical, high, medium, low, or + * informational. For information on severity levels, see Finding + * severity in the Amazon CodeGuru Security User Guide.

    */ inline void SetSeverity(Severity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** - *

    The severity of the finding.

    + *

    The severity of the finding. Severity can be critical, high, medium, low, or + * informational. For information on severity levels, see Finding + * severity in the Amazon CodeGuru Security User Guide.

    */ inline Finding& WithSeverity(const Severity& value) { SetSeverity(value); return *this;} /** - *

    The severity of the finding.

    + *

    The severity of the finding. Severity can be critical, high, medium, low, or + * informational. For information on severity levels, see Finding + * severity in the Amazon CodeGuru Security User Guide.

    */ inline Finding& WithSeverity(Severity&& value) { SetSeverity(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/FindingMetricsValuePerSeverity.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/FindingMetricsValuePerSeverity.h index 82df82ad0c0..1d0cb61e5ec 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/FindingMetricsValuePerSeverity.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/FindingMetricsValuePerSeverity.h @@ -22,8 +22,9 @@ namespace Model { /** - *

    The severity of the issue in the code that generated a finding.

    See - * Also:

    A numeric value corresponding to the severity of a finding, such as the + * number of open findings or the average time it takes to close findings of a + * given severity.

    See Also:

    AWS * API Reference

    */ @@ -37,122 +38,106 @@ namespace Model /** - *

    The severity of the finding is critical and should be addressed - * immediately.

    + *

    A numeric value corresponding to a critical finding.

    */ inline double GetCritical() const{ return m_critical; } /** - *

    The severity of the finding is critical and should be addressed - * immediately.

    + *

    A numeric value corresponding to a critical finding.

    */ inline bool CriticalHasBeenSet() const { return m_criticalHasBeenSet; } /** - *

    The severity of the finding is critical and should be addressed - * immediately.

    + *

    A numeric value corresponding to a critical finding.

    */ inline void SetCritical(double value) { m_criticalHasBeenSet = true; m_critical = value; } /** - *

    The severity of the finding is critical and should be addressed - * immediately.

    + *

    A numeric value corresponding to a critical finding.

    */ inline FindingMetricsValuePerSeverity& WithCritical(double value) { SetCritical(value); return *this;} /** - *

    The severity of the finding is high and should be addressed as a near-term - * priority.

    + *

    A numeric value corresponding to a high severity finding.

    */ inline double GetHigh() const{ return m_high; } /** - *

    The severity of the finding is high and should be addressed as a near-term - * priority.

    + *

    A numeric value corresponding to a high severity finding.

    */ inline bool HighHasBeenSet() const { return m_highHasBeenSet; } /** - *

    The severity of the finding is high and should be addressed as a near-term - * priority.

    + *

    A numeric value corresponding to a high severity finding.

    */ inline void SetHigh(double value) { m_highHasBeenSet = true; m_high = value; } /** - *

    The severity of the finding is high and should be addressed as a near-term - * priority.

    + *

    A numeric value corresponding to a high severity finding.

    */ inline FindingMetricsValuePerSeverity& WithHigh(double value) { SetHigh(value); return *this;} /** - *

    The finding is related to quality or readability improvements and not - * considered actionable.

    + *

    A numeric value corresponding to an informational finding.

    */ inline double GetInfo() const{ return m_info; } /** - *

    The finding is related to quality or readability improvements and not - * considered actionable.

    + *

    A numeric value corresponding to an informational finding.

    */ inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; } /** - *

    The finding is related to quality or readability improvements and not - * considered actionable.

    + *

    A numeric value corresponding to an informational finding.

    */ inline void SetInfo(double value) { m_infoHasBeenSet = true; m_info = value; } /** - *

    The finding is related to quality or readability improvements and not - * considered actionable.

    + *

    A numeric value corresponding to an informational finding.

    */ inline FindingMetricsValuePerSeverity& WithInfo(double value) { SetInfo(value); return *this;} /** - *

    The severity of the finding is low and does require action on its own.

    + *

    A numeric value corresponding to a low severity finding.

    */ inline double GetLow() const{ return m_low; } /** - *

    The severity of the finding is low and does require action on its own.

    + *

    A numeric value corresponding to a low severity finding.

    */ inline bool LowHasBeenSet() const { return m_lowHasBeenSet; } /** - *

    The severity of the finding is low and does require action on its own.

    + *

    A numeric value corresponding to a low severity finding.

    */ inline void SetLow(double value) { m_lowHasBeenSet = true; m_low = value; } /** - *

    The severity of the finding is low and does require action on its own.

    + *

    A numeric value corresponding to a low severity finding.

    */ inline FindingMetricsValuePerSeverity& WithLow(double value) { SetLow(value); return *this;} /** - *

    The severity of the finding is medium and should be addressed as a mid-term - * priority.

    + *

    A numeric value corresponding to a medium severity finding.

    */ inline double GetMedium() const{ return m_medium; } /** - *

    The severity of the finding is medium and should be addressed as a mid-term - * priority.

    + *

    A numeric value corresponding to a medium severity finding.

    */ inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; } /** - *

    The severity of the finding is medium and should be addressed as a mid-term - * priority.

    + *

    A numeric value corresponding to a medium severity finding.

    */ inline void SetMedium(double value) { m_mediumHasBeenSet = true; m_medium = value; } /** - *

    The severity of the finding is medium and should be addressed as a mid-term - * priority.

    + *

    A numeric value corresponding to a medium severity finding.

    */ inline FindingMetricsValuePerSeverity& WithMedium(double value) { SetMedium(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetAccountConfigurationResult.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetAccountConfigurationResult.h index bcf212c8a34..b357c225fde 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetAccountConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetAccountConfigurationResult.h @@ -34,42 +34,47 @@ namespace Model /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption. By default, CodeGuru Security uses an AWS-managed key for + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. By default, CodeGuru Security uses an AWS-managed key for * encryption. To specify your own key, call - * UpdateAccountConfiguration.

    + * UpdateAccountConfiguration. If you do not specify a + * customer-managed key, returns empty.

    */ inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; } /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption. By default, CodeGuru Security uses an AWS-managed key for + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. By default, CodeGuru Security uses an AWS-managed key for * encryption. To specify your own key, call - * UpdateAccountConfiguration.

    + * UpdateAccountConfiguration. If you do not specify a + * customer-managed key, returns empty.

    */ inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfig = value; } /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption. By default, CodeGuru Security uses an AWS-managed key for + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. By default, CodeGuru Security uses an AWS-managed key for * encryption. To specify your own key, call - * UpdateAccountConfiguration.

    + * UpdateAccountConfiguration. If you do not specify a + * customer-managed key, returns empty.

    */ inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfig = std::move(value); } /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption. By default, CodeGuru Security uses an AWS-managed key for + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. By default, CodeGuru Security uses an AWS-managed key for * encryption. To specify your own key, call - * UpdateAccountConfiguration.

    + * UpdateAccountConfiguration. If you do not specify a + * customer-managed key, returns empty.

    */ inline GetAccountConfigurationResult& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;} /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption. By default, CodeGuru Security uses an AWS-managed key for + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. By default, CodeGuru Security uses an AWS-managed key for * encryption. To specify your own key, call - * UpdateAccountConfiguration.

    + * UpdateAccountConfiguration. If you do not specify a + * customer-managed key, returns empty.

    */ inline GetAccountConfigurationResult& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetFindingsRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetFindingsRequest.h index 28e73f00c7d..a09209c3ccf 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetFindingsRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetFindingsRequest.h @@ -43,8 +43,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline int GetMaxResults() const{ return m_maxResults; } @@ -52,8 +52,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -61,8 +61,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } @@ -70,8 +70,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline GetFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetMetricsSummaryRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetMetricsSummaryRequest.h index b5bb5bd7156..d5e5bd2e3ce 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetMetricsSummaryRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetMetricsSummaryRequest.h @@ -40,49 +40,37 @@ namespace Model /** *

    The date you want to retrieve summary metrics from, rounded to the nearest - * day. The date must be within the past two years since metrics data is only - * stored for two years. If a date outside of this range is passed, the response - * will be empty.

    + * day. The date must be within the past two years.

    */ inline const Aws::Utils::DateTime& GetDate() const{ return m_date; } /** *

    The date you want to retrieve summary metrics from, rounded to the nearest - * day. The date must be within the past two years since metrics data is only - * stored for two years. If a date outside of this range is passed, the response - * will be empty.

    + * day. The date must be within the past two years.

    */ inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } /** *

    The date you want to retrieve summary metrics from, rounded to the nearest - * day. The date must be within the past two years since metrics data is only - * stored for two years. If a date outside of this range is passed, the response - * will be empty.

    + * day. The date must be within the past two years.

    */ inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; } /** *

    The date you want to retrieve summary metrics from, rounded to the nearest - * day. The date must be within the past two years since metrics data is only - * stored for two years. If a date outside of this range is passed, the response - * will be empty.

    + * day. The date must be within the past two years.

    */ inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); } /** *

    The date you want to retrieve summary metrics from, rounded to the nearest - * day. The date must be within the past two years since metrics data is only - * stored for two years. If a date outside of this range is passed, the response - * will be empty.

    + * day. The date must be within the past two years.

    */ inline GetMetricsSummaryRequest& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;} /** *

    The date you want to retrieve summary metrics from, rounded to the nearest - * day. The date must be within the past two years since metrics data is only - * stored for two years. If a date outside of this range is passed, the response - * will be empty.

    + * day. The date must be within the past two years.

    */ inline GetMetricsSummaryRequest& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetScanResult.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetScanResult.h index 3fc53c1e4f1..976cb2baf83 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetScanResult.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/GetScanResult.h @@ -102,6 +102,42 @@ namespace Model inline GetScanResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + /** + *

    Details about the error that causes a scan to fail to be retrieved.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + + /** + *

    Details about the error that causes a scan to fail to be retrieved.

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

    Details about the error that causes a scan to fail to be retrieved.

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

    Details about the error that causes a scan to fail to be retrieved.

    + */ + inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } + + /** + *

    Details about the error that causes a scan to fail to be retrieved.

    + */ + inline GetScanResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + + /** + *

    Details about the error that causes a scan to fail to be retrieved.

    + */ + inline GetScanResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + + /** + *

    Details about the error that causes a scan to fail to be retrieved.

    + */ + inline GetScanResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + + /** *

    The number of times a scan has been re-run on a revised resource.

    */ @@ -227,31 +263,31 @@ namespace Model /** - *

    The current state of the scan. Pass either InProgress, + *

    The current state of the scan. Returns either InProgress, * Successful, or Failed.

    */ inline const ScanState& GetScanState() const{ return m_scanState; } /** - *

    The current state of the scan. Pass either InProgress, + *

    The current state of the scan. Returns either InProgress, * Successful, or Failed.

    */ inline void SetScanState(const ScanState& value) { m_scanState = value; } /** - *

    The current state of the scan. Pass either InProgress, + *

    The current state of the scan. Returns either InProgress, * Successful, or Failed.

    */ inline void SetScanState(ScanState&& value) { m_scanState = std::move(value); } /** - *

    The current state of the scan. Pass either InProgress, + *

    The current state of the scan. Returns either InProgress, * Successful, or Failed.

    */ inline GetScanResult& WithScanState(const ScanState& value) { SetScanState(value); return *this;} /** - *

    The current state of the scan. Pass either InProgress, + *

    The current state of the scan. Returns either InProgress, * Successful, or Failed.

    */ inline GetScanResult& WithScanState(ScanState&& value) { SetScanState(std::move(value)); return *this;} @@ -315,6 +351,8 @@ namespace Model Aws::Utils::DateTime m_createdAt; + Aws::String m_errorMessage; + long long m_numberOfRevisions; Aws::String m_runId; diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListFindingsMetricsRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListFindingsMetricsRequest.h index bf118971ef4..4576fc855f2 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListFindingsMetricsRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListFindingsMetricsRequest.h @@ -40,32 +40,38 @@ namespace Model /** - *

    The end date of the interval which you want to retrieve metrics from.

    + *

    The end date of the interval which you want to retrieve metrics from. Round + * to the nearest day.

    */ inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; } /** - *

    The end date of the interval which you want to retrieve metrics from.

    + *

    The end date of the interval which you want to retrieve metrics from. Round + * to the nearest day.

    */ inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; } /** - *

    The end date of the interval which you want to retrieve metrics from.

    + *

    The end date of the interval which you want to retrieve metrics from. Round + * to the nearest day.

    */ inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; } /** - *

    The end date of the interval which you want to retrieve metrics from.

    + *

    The end date of the interval which you want to retrieve metrics from. Round + * to the nearest day.

    */ inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); } /** - *

    The end date of the interval which you want to retrieve metrics from.

    + *

    The end date of the interval which you want to retrieve metrics from. Round + * to the nearest day.

    */ inline ListFindingsMetricsRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;} /** - *

    The end date of the interval which you want to retrieve metrics from.

    + *

    The end date of the interval which you want to retrieve metrics from. Round + * to the nearest day.

    */ inline ListFindingsMetricsRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;} @@ -74,8 +80,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline int GetMaxResults() const{ return m_maxResults; } @@ -83,8 +89,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -92,8 +98,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } @@ -101,8 +107,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 1000 results.

    */ inline ListFindingsMetricsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} @@ -173,32 +179,38 @@ namespace Model /** - *

    The start date of the interval which you want to retrieve metrics from.

    + *

    The start date of the interval which you want to retrieve metrics from. + * Rounds to the nearest day.

    */ inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; } /** - *

    The start date of the interval which you want to retrieve metrics from.

    + *

    The start date of the interval which you want to retrieve metrics from. + * Rounds to the nearest day.

    */ inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; } /** - *

    The start date of the interval which you want to retrieve metrics from.

    + *

    The start date of the interval which you want to retrieve metrics from. + * Rounds to the nearest day.

    */ inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; } /** - *

    The start date of the interval which you want to retrieve metrics from.

    + *

    The start date of the interval which you want to retrieve metrics from. + * Rounds to the nearest day.

    */ inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); } /** - *

    The start date of the interval which you want to retrieve metrics from.

    + *

    The start date of the interval which you want to retrieve metrics from. + * Rounds to the nearest day.

    */ inline ListFindingsMetricsRequest& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;} /** - *

    The start date of the interval which you want to retrieve metrics from.

    + *

    The start date of the interval which you want to retrieve metrics from. + * Rounds to the nearest day.

    */ inline ListFindingsMetricsRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListScansRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListScansRequest.h index 30951919ccf..6e3c2db37ce 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListScansRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListScansRequest.h @@ -42,8 +42,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 100 results.

    */ inline int GetMaxResults() const{ return m_maxResults; } @@ -51,8 +51,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 100 results.

    */ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } @@ -60,8 +60,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 100 results.

    */ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } @@ -69,8 +69,8 @@ namespace Model *

    The maximum number of results to return in the response. Use this parameter * when paginating results. If additional results exist beyond the number you * specify, the nextToken element is returned in the response. Use - * nextToken in a subsequent request to retrieve additional - * results.

    + * nextToken in a subsequent request to retrieve additional results. + * If not specified, returns 100 results.

    */ inline ListScansRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListTagsForResourceRequest.h index eb36c9005f2..ed196e751c2 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListTagsForResourceRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ListTagsForResourceRequest.h @@ -34,49 +34,57 @@ namespace Model /** *

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

    */ inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/MetricsSummary.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/MetricsSummary.h index 71e0132e5cd..42d895a3a4c 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/MetricsSummary.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/MetricsSummary.h @@ -28,8 +28,8 @@ namespace Model { /** - *

    Information about summary metrics in an account.

    See Also:

    - * A summary of metrics for an account as of a specified date.

    See + * Also:

    AWS * API Reference

    */ @@ -44,49 +44,49 @@ namespace Model /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline const Aws::Vector& GetCategoriesWithMostFindings() const{ return m_categoriesWithMostFindings; } /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline bool CategoriesWithMostFindingsHasBeenSet() const { return m_categoriesWithMostFindingsHasBeenSet; } /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline void SetCategoriesWithMostFindings(const Aws::Vector& value) { m_categoriesWithMostFindingsHasBeenSet = true; m_categoriesWithMostFindings = value; } /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline void SetCategoriesWithMostFindings(Aws::Vector&& value) { m_categoriesWithMostFindingsHasBeenSet = true; m_categoriesWithMostFindings = std::move(value); } /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline MetricsSummary& WithCategoriesWithMostFindings(const Aws::Vector& value) { SetCategoriesWithMostFindings(value); return *this;} /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline MetricsSummary& WithCategoriesWithMostFindings(Aws::Vector&& value) { SetCategoriesWithMostFindings(std::move(value)); return *this;} /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline MetricsSummary& AddCategoriesWithMostFindings(const CategoryWithFindingNum& value) { m_categoriesWithMostFindingsHasBeenSet = true; m_categoriesWithMostFindings.push_back(value); return *this; } /** *

    A list of CategoryWithFindingNum objects for the top 5 finding - * categories with the most open findings in an account.

    + * categories with the most findings.

    */ inline MetricsSummary& AddCategoriesWithMostFindings(CategoryWithFindingNum&& value) { m_categoriesWithMostFindingsHasBeenSet = true; m_categoriesWithMostFindings.push_back(std::move(value)); return *this; } @@ -123,130 +123,130 @@ namespace Model /** - *

    The number of open findings of each severity in an account.

    + *

    The number of open findings of each severity.

    */ inline const FindingMetricsValuePerSeverity& GetOpenFindings() const{ return m_openFindings; } /** - *

    The number of open findings of each severity in an account.

    + *

    The number of open findings of each severity.

    */ inline bool OpenFindingsHasBeenSet() const { return m_openFindingsHasBeenSet; } /** - *

    The number of open findings of each severity in an account.

    + *

    The number of open findings of each severity.

    */ inline void SetOpenFindings(const FindingMetricsValuePerSeverity& value) { m_openFindingsHasBeenSet = true; m_openFindings = value; } /** - *

    The number of open findings of each severity in an account.

    + *

    The number of open findings of each severity.

    */ inline void SetOpenFindings(FindingMetricsValuePerSeverity&& value) { m_openFindingsHasBeenSet = true; m_openFindings = std::move(value); } /** - *

    The number of open findings of each severity in an account.

    + *

    The number of open findings of each severity.

    */ inline MetricsSummary& WithOpenFindings(const FindingMetricsValuePerSeverity& value) { SetOpenFindings(value); return *this;} /** - *

    The number of open findings of each severity in an account.

    + *

    The number of open findings of each severity.

    */ inline MetricsSummary& WithOpenFindings(FindingMetricsValuePerSeverity&& value) { SetOpenFindings(std::move(value)); return *this;} /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline const Aws::Vector& GetScansWithMostOpenCriticalFindings() const{ return m_scansWithMostOpenCriticalFindings; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline bool ScansWithMostOpenCriticalFindingsHasBeenSet() const { return m_scansWithMostOpenCriticalFindingsHasBeenSet; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline void SetScansWithMostOpenCriticalFindings(const Aws::Vector& value) { m_scansWithMostOpenCriticalFindingsHasBeenSet = true; m_scansWithMostOpenCriticalFindings = value; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline void SetScansWithMostOpenCriticalFindings(Aws::Vector&& value) { m_scansWithMostOpenCriticalFindingsHasBeenSet = true; m_scansWithMostOpenCriticalFindings = std::move(value); } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline MetricsSummary& WithScansWithMostOpenCriticalFindings(const Aws::Vector& value) { SetScansWithMostOpenCriticalFindings(value); return *this;} /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline MetricsSummary& WithScansWithMostOpenCriticalFindings(Aws::Vector&& value) { SetScansWithMostOpenCriticalFindings(std::move(value)); return *this;} /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline MetricsSummary& AddScansWithMostOpenCriticalFindings(const ScanNameWithFindingNum& value) { m_scansWithMostOpenCriticalFindingsHasBeenSet = true; m_scansWithMostOpenCriticalFindings.push_back(value); return *this; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open findings in an account.

    + * with the most number of open critical findings.

    */ inline MetricsSummary& AddScansWithMostOpenCriticalFindings(ScanNameWithFindingNum&& value) { m_scansWithMostOpenCriticalFindingsHasBeenSet = true; m_scansWithMostOpenCriticalFindings.push_back(std::move(value)); return *this; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline const Aws::Vector& GetScansWithMostOpenFindings() const{ return m_scansWithMostOpenFindings; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline bool ScansWithMostOpenFindingsHasBeenSet() const { return m_scansWithMostOpenFindingsHasBeenSet; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline void SetScansWithMostOpenFindings(const Aws::Vector& value) { m_scansWithMostOpenFindingsHasBeenSet = true; m_scansWithMostOpenFindings = value; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline void SetScansWithMostOpenFindings(Aws::Vector&& value) { m_scansWithMostOpenFindingsHasBeenSet = true; m_scansWithMostOpenFindings = std::move(value); } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline MetricsSummary& WithScansWithMostOpenFindings(const Aws::Vector& value) { SetScansWithMostOpenFindings(value); return *this;} /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline MetricsSummary& WithScansWithMostOpenFindings(Aws::Vector&& value) { SetScansWithMostOpenFindings(std::move(value)); return *this;} /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline MetricsSummary& AddScansWithMostOpenFindings(const ScanNameWithFindingNum& value) { m_scansWithMostOpenFindingsHasBeenSet = true; m_scansWithMostOpenFindings.push_back(value); return *this; } /** *

    A list of ScanNameWithFindingNum objects for the top 3 scans - * with the most number of open critical findings in an account.

    + * with the most number of open findings.

    */ inline MetricsSummary& AddScansWithMostOpenFindings(ScanNameWithFindingNum&& value) { m_scansWithMostOpenFindingsHasBeenSet = true; m_scansWithMostOpenFindings.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Resource.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Resource.h index 7014ed9dd06..e84d57cd25b 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Resource.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Resource.h @@ -24,8 +24,8 @@ namespace Model { /** - *

    Information about a resource, such as an Amazon S3 bucket or AWS Lambda - * function, that contains a finding.

    See Also:

    Information about a resource that contains a finding.

    See + * Also:

    AWS * API Reference

    */ @@ -39,91 +39,83 @@ namespace Model /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline const Aws::String& GetId() const{ return m_id; } /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline Resource& WithId(const Aws::String& value) { SetId(value); return *this;} /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline Resource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** - *

    The identifier for the resource.

    + *

    The scanName of the scan that was run on the resource.

    */ inline Resource& WithId(const char* value) { SetId(value); return *this;} /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline const Aws::String& GetSubResourceId() const{ return m_subResourceId; } /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline bool SubResourceIdHasBeenSet() const { return m_subResourceIdHasBeenSet; } /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline void SetSubResourceId(const Aws::String& value) { m_subResourceIdHasBeenSet = true; m_subResourceId = value; } /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline void SetSubResourceId(Aws::String&& value) { m_subResourceIdHasBeenSet = true; m_subResourceId = std::move(value); } /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline void SetSubResourceId(const char* value) { m_subResourceIdHasBeenSet = true; m_subResourceId.assign(value); } /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline Resource& WithSubResourceId(const Aws::String& value) { SetSubResourceId(value); return *this;} /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline Resource& WithSubResourceId(Aws::String&& value) { SetSubResourceId(std::move(value)); return *this;} /** - *

    The identifier for a section of the resource, such as an AWS Lambda - * layer.

    + *

    The identifier for a section of the resource.

    */ inline Resource& WithSubResourceId(const char* value) { SetSubResourceId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ResourceId.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ResourceId.h index 90088e5a8a7..801f4355367 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ResourceId.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ResourceId.h @@ -24,8 +24,9 @@ namespace Model { /** - *

    The identifier for a resource object that contains resources where a finding - * was detected.

    See Also:

    The identifier for a resource object that contains resources to scan. + * Specifying a codeArtifactId is required to create a scan.

    See + * Also:

    AWS * API Reference

    */ @@ -39,50 +40,50 @@ namespace Model /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline const Aws::String& GetCodeArtifactId() const{ return m_codeArtifactId; } /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline bool CodeArtifactIdHasBeenSet() const { return m_codeArtifactIdHasBeenSet; } /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline void SetCodeArtifactId(const Aws::String& value) { m_codeArtifactIdHasBeenSet = true; m_codeArtifactId = value; } /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline void SetCodeArtifactId(Aws::String&& value) { m_codeArtifactIdHasBeenSet = true; m_codeArtifactId = std::move(value); } /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline void SetCodeArtifactId(const char* value) { m_codeArtifactIdHasBeenSet = true; m_codeArtifactId.assign(value); } /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline ResourceId& WithCodeArtifactId(const Aws::String& value) { SetCodeArtifactId(value); return *this;} /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline ResourceId& WithCodeArtifactId(Aws::String&& value) { SetCodeArtifactId(std::move(value)); return *this;} /** - *

    The identifier for the code file uploaded to the resource where a finding was - * detected.

    + *

    The identifier for the code file uploaded to the resource object. Returned by + * CreateUploadUrl when you upload resources to be scanned.

    */ inline ResourceId& WithCodeArtifactId(const char* value) { SetCodeArtifactId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ScanNameWithFindingNum.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ScanNameWithFindingNum.h index a020aa84dff..090d03249f2 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ScanNameWithFindingNum.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/ScanNameWithFindingNum.h @@ -24,7 +24,8 @@ namespace Model { /** - *

    Information about a scan with open findings.

    See Also:

    Information about the number of findings generated by a scan.

    See + * Also:

    AWS * API Reference

    */ @@ -38,22 +39,22 @@ namespace Model /** - *

    The number of open findings generated by a scan.

    + *

    The number of findings generated by a scan.

    */ inline int GetFindingNumber() const{ return m_findingNumber; } /** - *

    The number of open findings generated by a scan.

    + *

    The number of findings generated by a scan.

    */ inline bool FindingNumberHasBeenSet() const { return m_findingNumberHasBeenSet; } /** - *

    The number of open findings generated by a scan.

    + *

    The number of findings generated by a scan.

    */ inline void SetFindingNumber(int value) { m_findingNumberHasBeenSet = true; m_findingNumber = value; } /** - *

    The number of open findings generated by a scan.

    + *

    The number of findings generated by a scan.

    */ inline ScanNameWithFindingNum& WithFindingNumber(int value) { SetFindingNumber(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/SuggestedFix.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/SuggestedFix.h index 3e7a8b45a06..a81300bc46c 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/SuggestedFix.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/SuggestedFix.h @@ -39,42 +39,50 @@ namespace Model /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline const Aws::String& GetCode() const{ return m_code; } /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline SuggestedFix& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline SuggestedFix& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** - *

    The suggested code to add to your file.

    + *

    The suggested code fix. If applicable, includes code patch to replace your + * source code.

    */ inline SuggestedFix& WithCode(const char* value) { SetCode(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/TagResourceRequest.h index 2cf78d8a698..24514a03b04 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/TagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/TagResourceRequest.h @@ -35,49 +35,57 @@ namespace Model /** *

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

    */ inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UntagResourceRequest.h index 5d07fdff459..6be75c7cb73 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UntagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UntagResourceRequest.h @@ -41,49 +41,57 @@ namespace Model /** *

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

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

    The ARN of the ScanName object. You can retrieve this ARN by - * calling ListScans or GetScan.

    + * calling CreateScan, ListScans, or + * GetScan.

    */ inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationRequest.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationRequest.h index d7855ebf537..efe8099b550 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationRequest.h @@ -33,38 +33,50 @@ namespace Model /** - *

    The KMS key ARN you want to use for encryption. Defaults to service-side - * encryption if missing.

    + *

    The customer-managed KMS key ARN you want to use for encryption. If not + * specified, CodeGuru Security will use an AWS-managed key for encryption. If you + * previously specified a customer-managed KMS key and want CodeGuru Security to + * use an AWS-managed key for encryption instead, pass nothing.

    */ inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; } /** - *

    The KMS key ARN you want to use for encryption. Defaults to service-side - * encryption if missing.

    + *

    The customer-managed KMS key ARN you want to use for encryption. If not + * specified, CodeGuru Security will use an AWS-managed key for encryption. If you + * previously specified a customer-managed KMS key and want CodeGuru Security to + * use an AWS-managed key for encryption instead, pass nothing.

    */ inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; } /** - *

    The KMS key ARN you want to use for encryption. Defaults to service-side - * encryption if missing.

    + *

    The customer-managed KMS key ARN you want to use for encryption. If not + * specified, CodeGuru Security will use an AWS-managed key for encryption. If you + * previously specified a customer-managed KMS key and want CodeGuru Security to + * use an AWS-managed key for encryption instead, pass nothing.

    */ inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; } /** - *

    The KMS key ARN you want to use for encryption. Defaults to service-side - * encryption if missing.

    + *

    The customer-managed KMS key ARN you want to use for encryption. If not + * specified, CodeGuru Security will use an AWS-managed key for encryption. If you + * previously specified a customer-managed KMS key and want CodeGuru Security to + * use an AWS-managed key for encryption instead, pass nothing.

    */ inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); } /** - *

    The KMS key ARN you want to use for encryption. Defaults to service-side - * encryption if missing.

    + *

    The customer-managed KMS key ARN you want to use for encryption. If not + * specified, CodeGuru Security will use an AWS-managed key for encryption. If you + * previously specified a customer-managed KMS key and want CodeGuru Security to + * use an AWS-managed key for encryption instead, pass nothing.

    */ inline UpdateAccountConfigurationRequest& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;} /** - *

    The KMS key ARN you want to use for encryption. Defaults to service-side - * encryption if missing.

    + *

    The customer-managed KMS key ARN you want to use for encryption. If not + * specified, CodeGuru Security will use an AWS-managed key for encryption. If you + * previously specified a customer-managed KMS key and want CodeGuru Security to + * use an AWS-managed key for encryption instead, pass nothing.

    */ inline UpdateAccountConfigurationRequest& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationResult.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationResult.h index 22e8bdfe7bd..17a4eae2708 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/UpdateAccountConfigurationResult.h @@ -34,32 +34,37 @@ namespace Model /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption.

    + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. If you did not specify a customer-managed KMS key in the + * request, returns empty.

    */ inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; } /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption.

    + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. If you did not specify a customer-managed KMS key in the + * request, returns empty.

    */ inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfig = value; } /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption.

    + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. If you did not specify a customer-managed KMS key in the + * request, returns empty.

    */ inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfig = std::move(value); } /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption.

    + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. If you did not specify a customer-managed KMS key in the + * request, returns empty.

    */ inline UpdateAccountConfigurationResult& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;} /** - *

    An EncryptionConfig object that contains the KMS key ARN to use - * for encryption.

    + *

    An EncryptionConfig object that contains the KMS key ARN that is + * used for encryption. If you did not specify a customer-managed KMS key in the + * request, returns empty.

    */ inline UpdateAccountConfigurationResult& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Vulnerability.h b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Vulnerability.h index a06a1b62747..b924438dd44 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Vulnerability.h +++ b/generated/src/aws-cpp-sdk-codeguru-security/include/aws/codeguru-security/model/Vulnerability.h @@ -118,27 +118,6 @@ namespace Model inline Vulnerability& WithId(const char* value) { SetId(value); return *this;} - /** - *

    The number of times the vulnerability appears in your code.

    - */ - inline int GetItemCount() const{ return m_itemCount; } - - /** - *

    The number of times the vulnerability appears in your code.

    - */ - inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; } - - /** - *

    The number of times the vulnerability appears in your code.

    - */ - inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; } - - /** - *

    The number of times the vulnerability appears in your code.

    - */ - inline Vulnerability& WithItemCount(int value) { SetItemCount(value); return *this;} - - /** *

    One or more URL addresses that contain details about a vulnerability.

    */ @@ -247,9 +226,6 @@ namespace Model Aws::String m_id; bool m_idHasBeenSet = false; - int m_itemCount; - bool m_itemCountHasBeenSet = false; - Aws::Vector m_referenceUrls; bool m_referenceUrlsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-codeguru-security/source/CodeGuruSecurityEndpointRules.cpp b/generated/src/aws-cpp-sdk-codeguru-security/source/CodeGuruSecurityEndpointRules.cpp index 71732e53fb5..2c971743f9f 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/source/CodeGuruSecurityEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-codeguru-security/source/CodeGuruSecurityEndpointRules.cpp @@ -51,121 +51,121 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', ',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', '{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', -'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', -'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', -' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', -'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', -',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', -'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e','g','u','r', -'u','-','s','e','c','u','r','i','t','y','-','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','"', +'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','"',':','"','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','o','d','e','g','u','r','u','-','s','e','c','u', -'r','i','t','y','-','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', +'{','"','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','o','d','e','g','u','r','u','-','s','e','c','u','r','i','t', -'y','.','{','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','o', -'d','e','g','u','r','u','-','s','e','c','u','r','i','t','y','.','{','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', +'y','-','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','"',':','"','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' +'"','}',']',',','"','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','o','d','e','g','u','r','u','-','s','e','c','u','r','i','t','y','-','f','i','p','s', +'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s', +'"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"', +':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S', +' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t', +'i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I', +'P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c', +'k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n', +'"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p', +'p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l', +'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'c','o','d','e','g','u','r','u','-','s','e','c','u','r','i','t','y','.','{','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','o','d','e','g','u','r','u', +'-','s','e','c','u','r','i','t','y','.','{','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* CodeGuruSecurityEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-codeguru-security/source/model/GetScanResult.cpp b/generated/src/aws-cpp-sdk-codeguru-security/source/model/GetScanResult.cpp index b8a30c21796..eef01a0b0b6 100644 --- a/generated/src/aws-cpp-sdk-codeguru-security/source/model/GetScanResult.cpp +++ b/generated/src/aws-cpp-sdk-codeguru-security/source/model/GetScanResult.cpp @@ -47,6 +47,12 @@ GetScanResult& GetScanResult::operator =(const Aws::AmazonWebServiceResult referenceUrlsJsonList = jsonValue.GetArray("referenceUrls"); @@ -101,12 +90,6 @@ JsonValue Vulnerability::Jsonize() const } - if(m_itemCountHasBeenSet) - { - payload.WithInteger("itemCount", m_itemCount); - - } - if(m_referenceUrlsHasBeenSet) { Aws::Utils::Array referenceUrlsJsonList(m_referenceUrls.size()); diff --git a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/ElastiCacheClient.h b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/ElastiCacheClient.h index 1489ec9e085..76bcd059805 100644 --- a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/ElastiCacheClient.h +++ b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/ElastiCacheClient.h @@ -2234,7 +2234,7 @@ namespace ElastiCache } /** - *

    Represents the input of a TestFailover operation which test + *

    Represents the input of a TestFailover operation which tests * automatic failover on a specified node group (called shard in the console) in a * replication group (called cluster in the console).

    This API is designed * for testing the behavior of your application in case of ElastiCache failover. It @@ -2242,7 +2242,7 @@ namespace ElastiCache * a problem you may have with the cluster. Moreover, in certain conditions such as * large-scale operational events, Amazon may block this API.

    Note the following

    • A customer can use - * this operation to test automatic failover on up to 5 shards (called node groups + * this operation to test automatic failover on up to 15 shards (called node groups * in the ElastiCache API and Amazon CLI) in any rolling 24-hour period.

    • *
    • If calling this operation on shards in different clusters (called * replication groups in the API and CLI), the calls can be made concurrently.

      diff --git a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/DescribeUserGroupsResult.h b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/DescribeUserGroupsResult.h index 5ceb47d0772..ede2553f463 100644 --- a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/DescribeUserGroupsResult.h +++ b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/DescribeUserGroupsResult.h @@ -75,7 +75,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline const Aws::String& GetMarker() const{ return m_marker; } @@ -83,7 +83,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline void SetMarker(const Aws::String& value) { m_marker = value; } @@ -91,7 +91,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } @@ -99,7 +99,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline void SetMarker(const char* value) { m_marker.assign(value); } @@ -107,7 +107,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline DescribeUserGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} @@ -115,7 +115,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline DescribeUserGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} @@ -123,7 +123,7 @@ namespace Model *

      An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by - * MaxRecords. >

      + * MaxRecords.>

      */ inline DescribeUserGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyCacheClusterRequest.h b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyCacheClusterRequest.h index 37b97ce3023..89306b08691 100644 --- a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyCacheClusterRequest.h +++ b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyCacheClusterRequest.h @@ -1598,8 +1598,9 @@ namespace Model /** *

      Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

      - *
      • Rotate

      • Set

      For more - * information, see

    • ROTATE - default, if no update strategy is provided

    • + *

      SET - allowed only after ROTATE

    • DELETE - allowed only when + * transitioning to RBAC

    For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1608,8 +1609,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *
    • Rotate

    • Set

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1618,8 +1620,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1628,8 +1631,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1638,8 +1642,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1648,8 +1653,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ diff --git a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyReplicationGroupRequest.h b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyReplicationGroupRequest.h index 653e11d3355..880b7d2c2e0 100644 --- a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyReplicationGroupRequest.h +++ b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/ModifyReplicationGroupRequest.h @@ -1161,8 +1161,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1171,8 +1172,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1181,8 +1183,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1191,8 +1194,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1201,8 +1205,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ @@ -1211,8 +1216,9 @@ namespace Model /** *

    Specifies the strategy to use to update the AUTH token. This parameter must * be specified with the auth-token parameter. Possible values:

    - *

    For more - * information, see

  • ROTATE - default, if no update strategy is provided

  • + *

    SET - allowed only after ROTATE

  • DELETE - allowed only when + * transitioning to RBAC

  • For more information, see Authenticating * Users with Redis AUTH

    */ diff --git a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/TestFailoverRequest.h b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/TestFailoverRequest.h index 66094706af6..e3085b09497 100644 --- a/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/TestFailoverRequest.h +++ b/generated/src/aws-cpp-sdk-elasticache/include/aws/elasticache/model/TestFailoverRequest.h @@ -88,56 +88,56 @@ namespace Model /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline const Aws::String& GetNodeGroupId() const{ return m_nodeGroupId; } /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline bool NodeGroupIdHasBeenSet() const { return m_nodeGroupIdHasBeenSet; } /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline void SetNodeGroupId(const Aws::String& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = value; } /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline void SetNodeGroupId(Aws::String&& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = std::move(value); } /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline void SetNodeGroupId(const char* value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId.assign(value); } /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline TestFailoverRequest& WithNodeGroupId(const Aws::String& value) { SetNodeGroupId(value); return *this;} /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline TestFailoverRequest& WithNodeGroupId(Aws::String&& value) { SetNodeGroupId(std::move(value)); return *this;} /** *

    The name of the node group (called shard in the console) in this replication * group on which automatic failover is to be tested. You may test automatic - * failover on up to 5 node groups in any rolling 24-hour period.

    + * failover on up to 15 node groups in any rolling 24-hour period.

    */ inline TestFailoverRequest& WithNodeGroupId(const char* value) { SetNodeGroupId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardClient.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardClient.h index 32a2302bc7a..bc1bdacf0a7 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardClient.h +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardClient.h @@ -181,6 +181,37 @@ namespace LaunchWizard return SubmitAsync(&LaunchWizardClient::GetWorkload, request, handler, context); } + /** + *

    Returns details for a given workload and deployment pattern, including the + * available specifications. You can use the ListWorkloads + * operation to discover the available workload names and the ListWorkloadDeploymentPatterns + * operation to discover the available deployment pattern names of a given + * workload.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetWorkloadDeploymentPatternOutcome GetWorkloadDeploymentPattern(const Model::GetWorkloadDeploymentPatternRequest& request) const; + + /** + * A Callable wrapper for GetWorkloadDeploymentPattern that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetWorkloadDeploymentPatternOutcomeCallable GetWorkloadDeploymentPatternCallable(const GetWorkloadDeploymentPatternRequestT& request) const + { + return SubmitCallable(&LaunchWizardClient::GetWorkloadDeploymentPattern, request); + } + + /** + * An Async wrapper for GetWorkloadDeploymentPattern that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetWorkloadDeploymentPatternAsync(const GetWorkloadDeploymentPatternRequestT& request, const GetWorkloadDeploymentPatternResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LaunchWizardClient::GetWorkloadDeploymentPattern, request, handler, context); + } + /** *

    Lists the events of a deployment.

    See Also:

    AWS @@ -232,7 +263,37 @@ namespace LaunchWizard } /** - *

    Lists the workload deployment patterns.

    See Also:

    Lists the tags associated with a specified resource.

    See Also:

    + *
    AWS + * API Reference

    + */ + virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; + + /** + * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const + { + return SubmitCallable(&LaunchWizardClient::ListTagsForResource, request); + } + + /** + * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LaunchWizardClient::ListTagsForResource, request, handler, context); + } + + /** + *

    Lists the workload deployment patterns for a given workload name. You can use + * the ListWorkloads + * operation to discover the available workload names.

    See Also:

    + * AWS * API Reference

    */ @@ -257,7 +318,10 @@ namespace LaunchWizard } /** - *

    Lists the workloads.

    See Also:

    Lists the available workload names. You can use the ListWorkloadDeploymentPatterns + * operation to discover the available deployment patterns for a given + * workload.

    See Also:

    AWS * API Reference

    */ @@ -281,6 +345,57 @@ namespace LaunchWizard return SubmitAsync(&LaunchWizardClient::ListWorkloads, request, handler, context); } + /** + *

    Adds the specified tags to the given resource.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; + + /** + * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const + { + return SubmitCallable(&LaunchWizardClient::TagResource, request); + } + + /** + * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LaunchWizardClient::TagResource, request, handler, context); + } + + /** + *

    Removes the specified tags from the given resource.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; + + /** + * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const + { + return SubmitCallable(&LaunchWizardClient::UntagResource, request); + } + + /** + * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LaunchWizardClient::UntagResource, request, handler, context); + } + void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardServiceClientModel.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardServiceClientModel.h index 609c9e44113..f6fbc3d65dc 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/LaunchWizardServiceClientModel.h @@ -22,10 +22,14 @@ #include #include #include +#include #include #include +#include #include #include +#include +#include /* End of service model headers required in LaunchWizardClient header */ namespace Aws @@ -70,10 +74,14 @@ namespace Aws class DeleteDeploymentRequest; class GetDeploymentRequest; class GetWorkloadRequest; + class GetWorkloadDeploymentPatternRequest; class ListDeploymentEventsRequest; class ListDeploymentsRequest; + class ListTagsForResourceRequest; class ListWorkloadDeploymentPatternsRequest; class ListWorkloadsRequest; + class TagResourceRequest; + class UntagResourceRequest; /* End of service model forward declarations required in LaunchWizardClient header */ /* Service model Outcome class definitions */ @@ -81,10 +89,14 @@ namespace Aws typedef Aws::Utils::Outcome DeleteDeploymentOutcome; typedef Aws::Utils::Outcome GetDeploymentOutcome; typedef Aws::Utils::Outcome GetWorkloadOutcome; + typedef Aws::Utils::Outcome GetWorkloadDeploymentPatternOutcome; typedef Aws::Utils::Outcome ListDeploymentEventsOutcome; typedef Aws::Utils::Outcome ListDeploymentsOutcome; + typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome ListWorkloadDeploymentPatternsOutcome; typedef Aws::Utils::Outcome ListWorkloadsOutcome; + typedef Aws::Utils::Outcome TagResourceOutcome; + typedef Aws::Utils::Outcome UntagResourceOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ @@ -92,10 +104,14 @@ namespace Aws typedef std::future DeleteDeploymentOutcomeCallable; typedef std::future GetDeploymentOutcomeCallable; typedef std::future GetWorkloadOutcomeCallable; + typedef std::future GetWorkloadDeploymentPatternOutcomeCallable; typedef std::future ListDeploymentEventsOutcomeCallable; typedef std::future ListDeploymentsOutcomeCallable; + typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future ListWorkloadDeploymentPatternsOutcomeCallable; typedef std::future ListWorkloadsOutcomeCallable; + typedef std::future TagResourceOutcomeCallable; + typedef std::future UntagResourceOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -106,10 +122,14 @@ namespace Aws typedef std::function&) > DeleteDeploymentResponseReceivedHandler; typedef std::function&) > GetDeploymentResponseReceivedHandler; typedef std::function&) > GetWorkloadResponseReceivedHandler; + typedef std::function&) > GetWorkloadDeploymentPatternResponseReceivedHandler; typedef std::function&) > ListDeploymentEventsResponseReceivedHandler; typedef std::function&) > ListDeploymentsResponseReceivedHandler; + typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > ListWorkloadDeploymentPatternsResponseReceivedHandler; typedef std::function&) > ListWorkloadsResponseReceivedHandler; + typedef std::function&) > TagResourceResponseReceivedHandler; + typedef std::function&) > UntagResourceResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace LaunchWizard } // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/CreateDeploymentRequest.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/CreateDeploymentRequest.h index 69f08698a95..40903bbd2b0 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/CreateDeploymentRequest.h +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/CreateDeploymentRequest.h @@ -181,171 +181,302 @@ namespace Model /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline const Aws::Map& GetSpecifications() const{ return m_specifications; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline void SetSpecifications(const Aws::Map& value) { m_specificationsHasBeenSet = true; m_specifications = value; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline void SetSpecifications(Aws::Map&& value) { m_specificationsHasBeenSet = true; m_specifications = std::move(value); } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& WithSpecifications(const Aws::Map& value) { SetSpecifications(value); return *this;} /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& WithSpecifications(Aws::Map&& value) { SetSpecifications(std::move(value)); return *this;} /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(const Aws::String& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(Aws::String&& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(const Aws::String& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(Aws::String&& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), std::move(value)); return *this; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(const char* key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(Aws::String&& key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; } /** - *

    The settings specified for the deployment. For more information on the - * specifications required for creating a deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline CreateDeploymentRequest& AddSpecifications(const char* key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; } + /** + *

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The tags to add to the deployment.

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

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline const Aws::String& GetWorkloadName() const{ return m_workloadName; } /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; } /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; } /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); } /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); } /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline CreateDeploymentRequest& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;} /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline CreateDeploymentRequest& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;} /** *

    The name of the workload. You can use the - * ListWorkloadDeploymentPatterns operation to discover supported - * values for this parameter.

    + * href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html"> + * ListWorkloads operation to discover supported values for this + * parameter.

    */ inline CreateDeploymentRequest& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;} @@ -363,6 +494,9 @@ namespace Model Aws::Map m_specifications; bool m_specificationsHasBeenSet = false; + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + Aws::String m_workloadName; bool m_workloadNameHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentConditionalField.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentConditionalField.h new file mode 100644 index 00000000000..c53f88beb7d --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentConditionalField.h @@ -0,0 +1,185 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LaunchWizard +{ +namespace Model +{ + + /** + *

    A field that details a condition of the specifications for a + * deployment.

    See Also:

    AWS + * API Reference

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

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline const Aws::String& GetComparator() const{ return m_comparator; } + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; } + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline void SetComparator(const Aws::String& value) { m_comparatorHasBeenSet = true; m_comparator = value; } + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline void SetComparator(Aws::String&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); } + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline void SetComparator(const char* value) { m_comparatorHasBeenSet = true; m_comparator.assign(value); } + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline DeploymentConditionalField& WithComparator(const Aws::String& value) { SetComparator(value); return *this;} + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline DeploymentConditionalField& WithComparator(Aws::String&& value) { SetComparator(std::move(value)); return *this;} + + /** + *

    The comparator of the condition.

    Valid values: Equal | + * NotEqual

    + */ + inline DeploymentConditionalField& WithComparator(const char* value) { SetComparator(value); return *this;} + + + /** + *

    The name of the deployment condition.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

    The name of the deployment condition.

    + */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

    The name of the deployment condition.

    + */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

    The name of the deployment condition.

    + */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

    The name of the deployment condition.

    + */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

    The name of the deployment condition.

    + */ + inline DeploymentConditionalField& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

    The name of the deployment condition.

    + */ + inline DeploymentConditionalField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

    The name of the deployment condition.

    + */ + inline DeploymentConditionalField& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

    The value of the condition.

    + */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *

    The value of the condition.

    + */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *

    The value of the condition.

    + */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *

    The value of the condition.

    + */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *

    The value of the condition.

    + */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *

    The value of the condition.

    + */ + inline DeploymentConditionalField& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *

    The value of the condition.

    + */ + inline DeploymentConditionalField& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *

    The value of the condition.

    + */ + inline DeploymentConditionalField& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_comparator; + bool m_comparatorHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentData.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentData.h index 43c12bbe041..5c5ad94c447 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentData.h +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentData.h @@ -102,6 +102,47 @@ namespace Model inline DeploymentData& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;} + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline const Aws::String& GetDeploymentArn() const{ return m_deploymentArn; } + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline void SetDeploymentArn(const Aws::String& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline void SetDeploymentArn(Aws::String&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline void SetDeploymentArn(const char* value) { m_deploymentArnHasBeenSet = true; m_deploymentArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline DeploymentData& WithDeploymentArn(const Aws::String& value) { SetDeploymentArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline DeploymentData& WithDeploymentArn(Aws::String&& value) { SetDeploymentArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the deployment.

    + */ + inline DeploymentData& WithDeploymentArn(const char* value) { SetDeploymentArn(value); return *this;} + + /** *

    The ID of the deployment.

    */ @@ -267,106 +308,171 @@ namespace Model /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline const Aws::Map& GetSpecifications() const{ return m_specifications; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline void SetSpecifications(const Aws::Map& value) { m_specificationsHasBeenSet = true; m_specifications = value; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline void SetSpecifications(Aws::Map&& value) { m_specificationsHasBeenSet = true; m_specifications = std::move(value); } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& WithSpecifications(const Aws::Map& value) { SetSpecifications(value); return *this;} /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& WithSpecifications(Aws::Map&& value) { SetSpecifications(std::move(value)); return *this;} /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(const Aws::String& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(Aws::String&& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(const Aws::String& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(Aws::String&& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), std::move(value)); return *this; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(const char* key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(Aws::String&& key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; } /** - *

    The specifications of the deployment. For more information on specifications - * for each deployment, see Workload - * specifications.

    + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    */ inline DeploymentData& AddSpecifications(const char* key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; } @@ -402,6 +508,72 @@ namespace Model inline DeploymentData& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;} + /** + *

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    Information about the tags attached to a deployment.

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

    The name of the workload.

    */ @@ -450,6 +622,9 @@ namespace Model Aws::Utils::DateTime m_deletedAt; bool m_deletedAtHasBeenSet = false; + Aws::String m_deploymentArn; + bool m_deploymentArnHasBeenSet = false; + Aws::String m_id; bool m_idHasBeenSet = false; @@ -468,6 +643,9 @@ namespace Model DeploymentStatus m_status; bool m_statusHasBeenSet = false; + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + Aws::String m_workloadName; bool m_workloadNameHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentSpecificationsField.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentSpecificationsField.h new file mode 100644 index 00000000000..c46d925c195 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/DeploymentSpecificationsField.h @@ -0,0 +1,272 @@ +/** + * 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 LaunchWizard +{ +namespace Model +{ + + /** + *

    A field that details a specification of a deployment pattern.

    See + * Also:

    AWS + * API Reference

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

    The allowed values of the deployment specification.

    + */ + inline const Aws::Vector& GetAllowedValues() const{ return m_allowedValues; } + + /** + *

    The allowed values of the deployment specification.

    + */ + inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } + + /** + *

    The allowed values of the deployment specification.

    + */ + inline void SetAllowedValues(const Aws::Vector& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } + + /** + *

    The allowed values of the deployment specification.

    + */ + inline void SetAllowedValues(Aws::Vector&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } + + /** + *

    The allowed values of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithAllowedValues(const Aws::Vector& value) { SetAllowedValues(value); return *this;} + + /** + *

    The allowed values of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithAllowedValues(Aws::Vector&& value) { SetAllowedValues(std::move(value)); return *this;} + + /** + *

    The allowed values of the deployment specification.

    + */ + inline DeploymentSpecificationsField& AddAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } + + /** + *

    The allowed values of the deployment specification.

    + */ + inline DeploymentSpecificationsField& AddAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; } + + /** + *

    The allowed values of the deployment specification.

    + */ + inline DeploymentSpecificationsField& AddAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } + + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline const Aws::Vector& GetConditionals() const{ return m_conditionals; } + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline bool ConditionalsHasBeenSet() const { return m_conditionalsHasBeenSet; } + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline void SetConditionals(const Aws::Vector& value) { m_conditionalsHasBeenSet = true; m_conditionals = value; } + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline void SetConditionals(Aws::Vector&& value) { m_conditionalsHasBeenSet = true; m_conditionals = std::move(value); } + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithConditionals(const Aws::Vector& value) { SetConditionals(value); return *this;} + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithConditionals(Aws::Vector&& value) { SetConditionals(std::move(value)); return *this;} + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline DeploymentSpecificationsField& AddConditionals(const DeploymentConditionalField& value) { m_conditionalsHasBeenSet = true; m_conditionals.push_back(value); return *this; } + + /** + *

    The conditionals used for the deployment specification.

    + */ + inline DeploymentSpecificationsField& AddConditionals(DeploymentConditionalField&& value) { m_conditionalsHasBeenSet = true; m_conditionals.push_back(std::move(value)); return *this; } + + + /** + *

    The description of the deployment specification.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

    The description of the deployment specification.

    + */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

    The description of the deployment specification.

    + */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

    The description of the deployment specification.

    + */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

    The description of the deployment specification.

    + */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

    The description of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

    The description of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

    The description of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

    The name of the deployment specification.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

    The name of the deployment specification.

    + */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

    The name of the deployment specification.

    + */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

    The name of the deployment specification.

    + */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

    The name of the deployment specification.

    + */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

    The name of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

    The name of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

    The name of the deployment specification.

    + */ + inline DeploymentSpecificationsField& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline const Aws::String& GetRequired() const{ return m_required; } + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline void SetRequired(const Aws::String& value) { m_requiredHasBeenSet = true; m_required = value; } + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline void SetRequired(Aws::String&& value) { m_requiredHasBeenSet = true; m_required = std::move(value); } + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline void SetRequired(const char* value) { m_requiredHasBeenSet = true; m_required.assign(value); } + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline DeploymentSpecificationsField& WithRequired(const Aws::String& value) { SetRequired(value); return *this;} + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline DeploymentSpecificationsField& WithRequired(Aws::String&& value) { SetRequired(std::move(value)); return *this;} + + /** + *

    Indicates if the deployment specification is required.

    + */ + inline DeploymentSpecificationsField& WithRequired(const char* value) { SetRequired(value); return *this;} + + private: + + Aws::Vector m_allowedValues; + bool m_allowedValuesHasBeenSet = false; + + Aws::Vector m_conditionals; + bool m_conditionalsHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_required; + bool m_requiredHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternRequest.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternRequest.h new file mode 100644 index 00000000000..2cfefc3a5ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternRequest.h @@ -0,0 +1,127 @@ +/** + * 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 LaunchWizard +{ +namespace Model +{ + + /** + */ + class GetWorkloadDeploymentPatternRequest : public LaunchWizardRequest + { + public: + AWS_LAUNCHWIZARD_API GetWorkloadDeploymentPatternRequest(); + + // 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 "GetWorkloadDeploymentPattern"; } + + AWS_LAUNCHWIZARD_API Aws::String SerializePayload() const override; + + + /** + *

    The name of the deployment pattern.

    + */ + inline const Aws::String& GetDeploymentPatternName() const{ return m_deploymentPatternName; } + + /** + *

    The name of the deployment pattern.

    + */ + inline bool DeploymentPatternNameHasBeenSet() const { return m_deploymentPatternNameHasBeenSet; } + + /** + *

    The name of the deployment pattern.

    + */ + inline void SetDeploymentPatternName(const Aws::String& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = value; } + + /** + *

    The name of the deployment pattern.

    + */ + inline void SetDeploymentPatternName(Aws::String&& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = std::move(value); } + + /** + *

    The name of the deployment pattern.

    + */ + inline void SetDeploymentPatternName(const char* value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName.assign(value); } + + /** + *

    The name of the deployment pattern.

    + */ + inline GetWorkloadDeploymentPatternRequest& WithDeploymentPatternName(const Aws::String& value) { SetDeploymentPatternName(value); return *this;} + + /** + *

    The name of the deployment pattern.

    + */ + inline GetWorkloadDeploymentPatternRequest& WithDeploymentPatternName(Aws::String&& value) { SetDeploymentPatternName(std::move(value)); return *this;} + + /** + *

    The name of the deployment pattern.

    + */ + inline GetWorkloadDeploymentPatternRequest& WithDeploymentPatternName(const char* value) { SetDeploymentPatternName(value); return *this;} + + + /** + *

    The name of the workload.

    + */ + inline const Aws::String& GetWorkloadName() const{ return m_workloadName; } + + /** + *

    The name of the workload.

    + */ + inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; } + + /** + *

    The name of the workload.

    + */ + inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; } + + /** + *

    The name of the workload.

    + */ + inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); } + + /** + *

    The name of the workload.

    + */ + inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); } + + /** + *

    The name of the workload.

    + */ + inline GetWorkloadDeploymentPatternRequest& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;} + + /** + *

    The name of the workload.

    + */ + inline GetWorkloadDeploymentPatternRequest& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;} + + /** + *

    The name of the workload.

    + */ + inline GetWorkloadDeploymentPatternRequest& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;} + + private: + + Aws::String m_deploymentPatternName; + bool m_deploymentPatternNameHasBeenSet = false; + + Aws::String m_workloadName; + bool m_workloadNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternResult.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternResult.h new file mode 100644 index 00000000000..80bf88872a6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/GetWorkloadDeploymentPatternResult.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 LaunchWizard +{ +namespace Model +{ + class GetWorkloadDeploymentPatternResult + { + public: + AWS_LAUNCHWIZARD_API GetWorkloadDeploymentPatternResult(); + AWS_LAUNCHWIZARD_API GetWorkloadDeploymentPatternResult(const Aws::AmazonWebServiceResult& result); + AWS_LAUNCHWIZARD_API GetWorkloadDeploymentPatternResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    Details about the workload deployment pattern.

    + */ + inline const WorkloadDeploymentPatternData& GetWorkloadDeploymentPattern() const{ return m_workloadDeploymentPattern; } + + /** + *

    Details about the workload deployment pattern.

    + */ + inline void SetWorkloadDeploymentPattern(const WorkloadDeploymentPatternData& value) { m_workloadDeploymentPattern = value; } + + /** + *

    Details about the workload deployment pattern.

    + */ + inline void SetWorkloadDeploymentPattern(WorkloadDeploymentPatternData&& value) { m_workloadDeploymentPattern = std::move(value); } + + /** + *

    Details about the workload deployment pattern.

    + */ + inline GetWorkloadDeploymentPatternResult& WithWorkloadDeploymentPattern(const WorkloadDeploymentPatternData& value) { SetWorkloadDeploymentPattern(value); return *this;} + + /** + *

    Details about the workload deployment pattern.

    + */ + inline GetWorkloadDeploymentPatternResult& WithWorkloadDeploymentPattern(WorkloadDeploymentPatternData&& value) { SetWorkloadDeploymentPattern(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 GetWorkloadDeploymentPatternResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetWorkloadDeploymentPatternResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetWorkloadDeploymentPatternResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + WorkloadDeploymentPatternData m_workloadDeploymentPattern; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListDeploymentsRequest.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListDeploymentsRequest.h index ce83e6c033c..db748573aaa 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListDeploymentsRequest.h +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListDeploymentsRequest.h @@ -36,57 +36,89 @@ namespace Model /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline ListDeploymentsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline ListDeploymentsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline ListDeploymentsRequest& AddFilters(const DeploymentFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

    Filters to scope the results. The following filters are supported:

      - *
    • WORKLOAD_NAME

    • - * DEPLOYMENT_STATUS

    + *
  • WORKLOAD_NAME - The name used in deployments.

  • + *
  • DEPLOYMENT_STATUS - COMPLETED | + * CREATING | DELETE_IN_PROGRESS | + * DELETE_INITIATING | DELETE_FAILED | + * DELETED | FAILED | IN_PROGRESS | + * VALIDATING

  • */ inline ListDeploymentsRequest& AddFilters(DeploymentFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceRequest.h new file mode 100644 index 00000000000..a09f0a5a3c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace LaunchWizard +{ +namespace Model +{ + + /** + */ + class ListTagsForResourceRequest : public LaunchWizardRequest + { + public: + AWS_LAUNCHWIZARD_API ListTagsForResourceRequest(); + + // 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 "ListTagsForResource"; } + + AWS_LAUNCHWIZARD_API Aws::String SerializePayload() const override; + + + /** + *

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceResult.h new file mode 100644 index 00000000000..c4ff0797690 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/ListTagsForResourceResult.h @@ -0,0 +1,127 @@ +/** + * 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 LaunchWizard +{ +namespace Model +{ + class ListTagsForResourceResult + { + public: + AWS_LAUNCHWIZARD_API ListTagsForResourceResult(); + AWS_LAUNCHWIZARD_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_LAUNCHWIZARD_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

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

    Information about the tags.

    + */ + inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Map m_tags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceRequest.h new file mode 100644 index 00000000000..d2b7c69be0d --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceRequest.h @@ -0,0 +1,153 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace LaunchWizard +{ +namespace Model +{ + + /** + */ + class TagResourceRequest : public LaunchWizardRequest + { + public: + AWS_LAUNCHWIZARD_API TagResourceRequest(); + + // 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 "TagResource"; } + + AWS_LAUNCHWIZARD_API Aws::String SerializePayload() const override; + + + /** + *

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

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

    One or more tags to attach to the resource.

    + */ + inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceResult.h new file mode 100644 index 00000000000..c877deb708c --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/TagResourceResult.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 LaunchWizard +{ +namespace Model +{ + class TagResourceResult + { + public: + AWS_LAUNCHWIZARD_API TagResourceResult(); + AWS_LAUNCHWIZARD_API TagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_LAUNCHWIZARD_API TagResourceResult& 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 TagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline TagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline TagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceRequest.h new file mode 100644 index 00000000000..25c385ac85d --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceRequest.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 +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace LaunchWizard +{ +namespace Model +{ + + /** + */ + class UntagResourceRequest : public LaunchWizardRequest + { + public: + AWS_LAUNCHWIZARD_API UntagResourceRequest(); + + // 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 "UntagResource"; } + + AWS_LAUNCHWIZARD_API Aws::String SerializePayload() const override; + + AWS_LAUNCHWIZARD_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    The Amazon Resource Name (ARN) of the resource.

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

    Keys identifying the tags to remove.

    + */ + inline const Aws::Vector& GetTagKeys() const{ return m_tagKeys; } + + /** + *

    Keys identifying the tags to remove.

    + */ + inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } + + /** + *

    Keys identifying the tags to remove.

    + */ + inline void SetTagKeys(const Aws::Vector& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; } + + /** + *

    Keys identifying the tags to remove.

    + */ + inline void SetTagKeys(Aws::Vector&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); } + + /** + *

    Keys identifying the tags to remove.

    + */ + inline UntagResourceRequest& WithTagKeys(const Aws::Vector& value) { SetTagKeys(value); return *this;} + + /** + *

    Keys identifying the tags to remove.

    + */ + inline UntagResourceRequest& WithTagKeys(Aws::Vector&& value) { SetTagKeys(std::move(value)); return *this;} + + /** + *

    Keys identifying the tags to remove.

    + */ + inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + + /** + *

    Keys identifying the tags to remove.

    + */ + inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } + + /** + *

    Keys identifying the tags to remove.

    + */ + inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::Vector m_tagKeys; + bool m_tagKeysHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceResult.h new file mode 100644 index 00000000000..be30da5f07c --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/UntagResourceResult.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 LaunchWizard +{ +namespace Model +{ + class UntagResourceResult + { + public: + AWS_LAUNCHWIZARD_API UntagResourceResult(); + AWS_LAUNCHWIZARD_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_LAUNCHWIZARD_API UntagResourceResult& 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 UntagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UntagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UntagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/WorkloadDeploymentPatternData.h b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/WorkloadDeploymentPatternData.h new file mode 100644 index 00000000000..74f3aa5b69c --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/include/aws/launch-wizard/model/WorkloadDeploymentPatternData.h @@ -0,0 +1,454 @@ +/** + * 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 LaunchWizard +{ +namespace Model +{ + + /** + *

    The data that details a workload deployment pattern.

    See Also:

    + * AWS + * API Reference

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

    The name of the deployment pattern.

    + */ + inline const Aws::String& GetDeploymentPatternName() const{ return m_deploymentPatternName; } + + /** + *

    The name of the deployment pattern.

    + */ + inline bool DeploymentPatternNameHasBeenSet() const { return m_deploymentPatternNameHasBeenSet; } + + /** + *

    The name of the deployment pattern.

    + */ + inline void SetDeploymentPatternName(const Aws::String& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = value; } + + /** + *

    The name of the deployment pattern.

    + */ + inline void SetDeploymentPatternName(Aws::String&& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = std::move(value); } + + /** + *

    The name of the deployment pattern.

    + */ + inline void SetDeploymentPatternName(const char* value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName.assign(value); } + + /** + *

    The name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDeploymentPatternName(const Aws::String& value) { SetDeploymentPatternName(value); return *this;} + + /** + *

    The name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDeploymentPatternName(Aws::String&& value) { SetDeploymentPatternName(std::move(value)); return *this;} + + /** + *

    The name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDeploymentPatternName(const char* value) { SetDeploymentPatternName(value); return *this;} + + + /** + *

    The description of the deployment pattern.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

    The description of the deployment pattern.

    + */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

    The description of the deployment pattern.

    + */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

    The description of the deployment pattern.

    + */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

    The description of the deployment pattern.

    + */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

    The description of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

    The description of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

    The description of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

    The display name of the deployment pattern.

    + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

    The display name of the deployment pattern.

    + */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

    The display name of the deployment pattern.

    + */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

    The display name of the deployment pattern.

    + */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

    The display name of the deployment pattern.

    + */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

    The display name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

    The display name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

    The display name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline const Aws::Vector& GetSpecifications() const{ return m_specifications; } + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; } + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline void SetSpecifications(const Aws::Vector& value) { m_specificationsHasBeenSet = true; m_specifications = value; } + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline void SetSpecifications(Aws::Vector&& value) { m_specificationsHasBeenSet = true; m_specifications = std::move(value); } + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline WorkloadDeploymentPatternData& WithSpecifications(const Aws::Vector& value) { SetSpecifications(value); return *this;} + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline WorkloadDeploymentPatternData& WithSpecifications(Aws::Vector&& value) { SetSpecifications(std::move(value)); return *this;} + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline WorkloadDeploymentPatternData& AddSpecifications(const DeploymentSpecificationsField& value) { m_specificationsHasBeenSet = true; m_specifications.push_back(value); return *this; } + + /** + *

    The settings specified for the deployment. These settings define how to + * deploy and configure your resources created by the deployment. For more + * information about the specifications required for creating a deployment for a + * SAP workload, see SAP + * deployment specifications. To retrieve the specifications required to create + * a deployment for other workloads, use the + * GetWorkloadDeploymentPattern operation.

    + */ + inline WorkloadDeploymentPatternData& AddSpecifications(DeploymentSpecificationsField&& value) { m_specificationsHasBeenSet = true; m_specifications.push_back(std::move(value)); return *this; } + + + /** + *

    The status of the deployment pattern.

    + */ + inline const WorkloadDeploymentPatternStatus& GetStatus() const{ return m_status; } + + /** + *

    The status of the deployment pattern.

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

    The status of the deployment pattern.

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

    The status of the deployment pattern.

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

    The status of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithStatus(const WorkloadDeploymentPatternStatus& value) { SetStatus(value); return *this;} + + /** + *

    The status of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithStatus(WorkloadDeploymentPatternStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

    The status message of the deployment pattern.

    + */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + + /** + *

    The status message of the deployment pattern.

    + */ + inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } + + /** + *

    The status message of the deployment pattern.

    + */ + inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } + + /** + *

    The status message of the deployment pattern.

    + */ + inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } + + /** + *

    The status message of the deployment pattern.

    + */ + inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } + + /** + *

    The status message of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + + /** + *

    The status message of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + + /** + *

    The status message of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + + + /** + *

    The workload name of the deployment pattern.

    + */ + inline const Aws::String& GetWorkloadName() const{ return m_workloadName; } + + /** + *

    The workload name of the deployment pattern.

    + */ + inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; } + + /** + *

    The workload name of the deployment pattern.

    + */ + inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; } + + /** + *

    The workload name of the deployment pattern.

    + */ + inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); } + + /** + *

    The workload name of the deployment pattern.

    + */ + inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); } + + /** + *

    The workload name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;} + + /** + *

    The workload name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;} + + /** + *

    The workload name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;} + + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline const Aws::String& GetWorkloadVersionName() const{ return m_workloadVersionName; } + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline bool WorkloadVersionNameHasBeenSet() const { return m_workloadVersionNameHasBeenSet; } + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline void SetWorkloadVersionName(const Aws::String& value) { m_workloadVersionNameHasBeenSet = true; m_workloadVersionName = value; } + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline void SetWorkloadVersionName(Aws::String&& value) { m_workloadVersionNameHasBeenSet = true; m_workloadVersionName = std::move(value); } + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline void SetWorkloadVersionName(const char* value) { m_workloadVersionNameHasBeenSet = true; m_workloadVersionName.assign(value); } + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithWorkloadVersionName(const Aws::String& value) { SetWorkloadVersionName(value); return *this;} + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithWorkloadVersionName(Aws::String&& value) { SetWorkloadVersionName(std::move(value)); return *this;} + + /** + *

    The workload version name of the deployment pattern.

    + */ + inline WorkloadDeploymentPatternData& WithWorkloadVersionName(const char* value) { SetWorkloadVersionName(value); return *this;} + + private: + + Aws::String m_deploymentPatternName; + bool m_deploymentPatternNameHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::Vector m_specifications; + bool m_specificationsHasBeenSet = false; + + WorkloadDeploymentPatternStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_statusMessage; + bool m_statusMessageHasBeenSet = false; + + Aws::String m_workloadName; + bool m_workloadNameHasBeenSet = false; + + Aws::String m_workloadVersionName; + bool m_workloadVersionNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/LaunchWizardClient.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/LaunchWizardClient.cpp index 2ed1c0754c2..12cfb0411a2 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/source/LaunchWizardClient.cpp +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/LaunchWizardClient.cpp @@ -25,10 +25,14 @@ #include #include #include +#include #include #include +#include #include #include +#include +#include #include @@ -278,6 +282,33 @@ GetWorkloadOutcome LaunchWizardClient::GetWorkload(const GetWorkloadRequest& req {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetWorkloadDeploymentPatternOutcome LaunchWizardClient::GetWorkloadDeploymentPattern(const GetWorkloadDeploymentPatternRequest& request) const +{ + AWS_OPERATION_GUARD(GetWorkloadDeploymentPattern); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetWorkloadDeploymentPattern, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetWorkloadDeploymentPattern, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetWorkloadDeploymentPattern, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetWorkloadDeploymentPattern", + {{ 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( + [&]()-> GetWorkloadDeploymentPatternOutcome { + 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, GetWorkloadDeploymentPattern, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/getWorkloadDeploymentPattern"); + return GetWorkloadDeploymentPatternOutcome(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()}}); +} + ListDeploymentEventsOutcome LaunchWizardClient::ListDeploymentEvents(const ListDeploymentEventsRequest& request) const { AWS_OPERATION_GUARD(ListDeploymentEvents); @@ -332,6 +363,39 @@ ListDeploymentsOutcome LaunchWizardClient::ListDeployments(const ListDeployments {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListTagsForResourceOutcome LaunchWizardClient::ListTagsForResource(const ListTagsForResourceRequest& request) const +{ + AWS_OPERATION_GUARD(ListTagsForResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTagsForResource", "Required field: ResourceArn, is not set"); + return ListTagsForResourceOutcome(Aws::Client::AWSError(LaunchWizardErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTagsForResource", + {{ 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( + [&]()-> ListTagsForResourceOutcome { + 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, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return ListTagsForResourceOutcome(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()}}); +} + ListWorkloadDeploymentPatternsOutcome LaunchWizardClient::ListWorkloadDeploymentPatterns(const ListWorkloadDeploymentPatternsRequest& request) const { AWS_OPERATION_GUARD(ListWorkloadDeploymentPatterns); @@ -386,3 +450,74 @@ ListWorkloadsOutcome LaunchWizardClient::ListWorkloads(const ListWorkloadsReques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +TagResourceOutcome LaunchWizardClient::TagResource(const TagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(TagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("TagResource", "Required field: ResourceArn, is not set"); + return TagResourceOutcome(Aws::Client::AWSError(LaunchWizardErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".TagResource", + {{ 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( + [&]()-> TagResourceOutcome { + 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, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return TagResourceOutcome(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()}}); +} + +UntagResourceOutcome LaunchWizardClient::UntagResource(const UntagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(UntagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UntagResource", "Required field: ResourceArn, is not set"); + return UntagResourceOutcome(Aws::Client::AWSError(LaunchWizardErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + if (!request.TagKeysHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UntagResource", "Required field: TagKeys, is not set"); + return UntagResourceOutcome(Aws::Client::AWSError(LaunchWizardErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TagKeys]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UntagResource", + {{ 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( + [&]()-> UntagResourceOutcome { + 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, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return UntagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/CreateDeploymentRequest.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/CreateDeploymentRequest.cpp index 3573f9531e2..a71cf74fa3d 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/source/model/CreateDeploymentRequest.cpp +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/CreateDeploymentRequest.cpp @@ -18,6 +18,7 @@ CreateDeploymentRequest::CreateDeploymentRequest() : m_dryRunHasBeenSet(false), m_nameHasBeenSet(false), m_specificationsHasBeenSet(false), + m_tagsHasBeenSet(false), m_workloadNameHasBeenSet(false) { } @@ -55,6 +56,17 @@ Aws::String CreateDeploymentRequest::SerializePayload() const } + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + if(m_workloadNameHasBeenSet) { payload.WithString("workloadName", m_workloadName); diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentConditionalField.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentConditionalField.cpp new file mode 100644 index 00000000000..7421368d8c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentConditionalField.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LaunchWizard +{ +namespace Model +{ + +DeploymentConditionalField::DeploymentConditionalField() : + m_comparatorHasBeenSet(false), + m_nameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +DeploymentConditionalField::DeploymentConditionalField(JsonView jsonValue) : + m_comparatorHasBeenSet(false), + m_nameHasBeenSet(false), + m_valueHasBeenSet(false) +{ + *this = jsonValue; +} + +DeploymentConditionalField& DeploymentConditionalField::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("comparator")) + { + m_comparator = jsonValue.GetString("comparator"); + + m_comparatorHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue DeploymentConditionalField::Jsonize() const +{ + JsonValue payload; + + if(m_comparatorHasBeenSet) + { + payload.WithString("comparator", m_comparator); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentData.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentData.cpp index e9823a9fd6b..a6cde036401 100644 --- a/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentData.cpp +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentData.cpp @@ -21,6 +21,7 @@ namespace Model DeploymentData::DeploymentData() : m_createdAtHasBeenSet(false), m_deletedAtHasBeenSet(false), + m_deploymentArnHasBeenSet(false), m_idHasBeenSet(false), m_nameHasBeenSet(false), m_patternNameHasBeenSet(false), @@ -28,6 +29,7 @@ DeploymentData::DeploymentData() : m_specificationsHasBeenSet(false), m_status(DeploymentStatus::NOT_SET), m_statusHasBeenSet(false), + m_tagsHasBeenSet(false), m_workloadNameHasBeenSet(false) { } @@ -35,6 +37,7 @@ DeploymentData::DeploymentData() : DeploymentData::DeploymentData(JsonView jsonValue) : m_createdAtHasBeenSet(false), m_deletedAtHasBeenSet(false), + m_deploymentArnHasBeenSet(false), m_idHasBeenSet(false), m_nameHasBeenSet(false), m_patternNameHasBeenSet(false), @@ -42,6 +45,7 @@ DeploymentData::DeploymentData(JsonView jsonValue) : m_specificationsHasBeenSet(false), m_status(DeploymentStatus::NOT_SET), m_statusHasBeenSet(false), + m_tagsHasBeenSet(false), m_workloadNameHasBeenSet(false) { *this = jsonValue; @@ -63,6 +67,13 @@ DeploymentData& DeploymentData::operator =(JsonView jsonValue) m_deletedAtHasBeenSet = true; } + if(jsonValue.ValueExists("deploymentArn")) + { + m_deploymentArn = jsonValue.GetString("deploymentArn"); + + m_deploymentArnHasBeenSet = true; + } + if(jsonValue.ValueExists("id")) { m_id = jsonValue.GetString("id"); @@ -108,6 +119,16 @@ DeploymentData& DeploymentData::operator =(JsonView jsonValue) m_statusHasBeenSet = true; } + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + m_tagsHasBeenSet = true; + } + if(jsonValue.ValueExists("workloadName")) { m_workloadName = jsonValue.GetString("workloadName"); @@ -132,6 +153,12 @@ JsonValue DeploymentData::Jsonize() const payload.WithDouble("deletedAt", m_deletedAt.SecondsWithMSPrecision()); } + if(m_deploymentArnHasBeenSet) + { + payload.WithString("deploymentArn", m_deploymentArn); + + } + if(m_idHasBeenSet) { payload.WithString("id", m_id); @@ -172,6 +199,17 @@ JsonValue DeploymentData::Jsonize() const payload.WithString("status", DeploymentStatusMapper::GetNameForDeploymentStatus(m_status)); } + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + if(m_workloadNameHasBeenSet) { payload.WithString("workloadName", m_workloadName); diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentSpecificationsField.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentSpecificationsField.cpp new file mode 100644 index 00000000000..a72d44d878a --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/DeploymentSpecificationsField.cpp @@ -0,0 +1,135 @@ +/** + * 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 LaunchWizard +{ +namespace Model +{ + +DeploymentSpecificationsField::DeploymentSpecificationsField() : + m_allowedValuesHasBeenSet(false), + m_conditionalsHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_nameHasBeenSet(false), + m_requiredHasBeenSet(false) +{ +} + +DeploymentSpecificationsField::DeploymentSpecificationsField(JsonView jsonValue) : + m_allowedValuesHasBeenSet(false), + m_conditionalsHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_nameHasBeenSet(false), + m_requiredHasBeenSet(false) +{ + *this = jsonValue; +} + +DeploymentSpecificationsField& DeploymentSpecificationsField::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("allowedValues")) + { + Aws::Utils::Array allowedValuesJsonList = jsonValue.GetArray("allowedValues"); + for(unsigned allowedValuesIndex = 0; allowedValuesIndex < allowedValuesJsonList.GetLength(); ++allowedValuesIndex) + { + m_allowedValues.push_back(allowedValuesJsonList[allowedValuesIndex].AsString()); + } + m_allowedValuesHasBeenSet = true; + } + + if(jsonValue.ValueExists("conditionals")) + { + Aws::Utils::Array conditionalsJsonList = jsonValue.GetArray("conditionals"); + for(unsigned conditionalsIndex = 0; conditionalsIndex < conditionalsJsonList.GetLength(); ++conditionalsIndex) + { + m_conditionals.push_back(conditionalsJsonList[conditionalsIndex].AsObject()); + } + m_conditionalsHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("required")) + { + m_required = jsonValue.GetString("required"); + + m_requiredHasBeenSet = true; + } + + return *this; +} + +JsonValue DeploymentSpecificationsField::Jsonize() const +{ + JsonValue payload; + + if(m_allowedValuesHasBeenSet) + { + Aws::Utils::Array allowedValuesJsonList(m_allowedValues.size()); + for(unsigned allowedValuesIndex = 0; allowedValuesIndex < allowedValuesJsonList.GetLength(); ++allowedValuesIndex) + { + allowedValuesJsonList[allowedValuesIndex].AsString(m_allowedValues[allowedValuesIndex]); + } + payload.WithArray("allowedValues", std::move(allowedValuesJsonList)); + + } + + if(m_conditionalsHasBeenSet) + { + Aws::Utils::Array conditionalsJsonList(m_conditionals.size()); + for(unsigned conditionalsIndex = 0; conditionalsIndex < conditionalsJsonList.GetLength(); ++conditionalsIndex) + { + conditionalsJsonList[conditionalsIndex].AsObject(m_conditionals[conditionalsIndex].Jsonize()); + } + payload.WithArray("conditionals", std::move(conditionalsJsonList)); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_requiredHasBeenSet) + { + payload.WithString("required", m_required); + + } + + return payload; +} + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternRequest.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternRequest.cpp new file mode 100644 index 00000000000..840c3135bfe --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetWorkloadDeploymentPatternRequest::GetWorkloadDeploymentPatternRequest() : + m_deploymentPatternNameHasBeenSet(false), + m_workloadNameHasBeenSet(false) +{ +} + +Aws::String GetWorkloadDeploymentPatternRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_deploymentPatternNameHasBeenSet) + { + payload.WithString("deploymentPatternName", m_deploymentPatternName); + + } + + if(m_workloadNameHasBeenSet) + { + payload.WithString("workloadName", m_workloadName); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternResult.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternResult.cpp new file mode 100644 index 00000000000..0cf698b9b6f --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/GetWorkloadDeploymentPatternResult.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::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetWorkloadDeploymentPatternResult::GetWorkloadDeploymentPatternResult() +{ +} + +GetWorkloadDeploymentPatternResult::GetWorkloadDeploymentPatternResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetWorkloadDeploymentPatternResult& GetWorkloadDeploymentPatternResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("workloadDeploymentPattern")) + { + m_workloadDeploymentPattern = jsonValue.GetObject("workloadDeploymentPattern"); + + } + + + 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-launch-wizard/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceRequest.cpp new file mode 100644 index 00000000000..c10f5075c7f --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListTagsForResourceRequest::ListTagsForResourceRequest() : + m_resourceArnHasBeenSet(false) +{ +} + +Aws::String ListTagsForResourceRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceResult.cpp new file mode 100644 index 00000000000..606285766dc --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/ListTagsForResourceResult.cpp @@ -0,0 +1,51 @@ +/** + * 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::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTagsForResourceResult::ListTagsForResourceResult() +{ +} + +ListTagsForResourceResult::ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTagsForResourceResult& ListTagsForResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceRequest.cpp new file mode 100644 index 00000000000..3ab9aea6d34 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceRequest.cpp @@ -0,0 +1,41 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +TagResourceRequest::TagResourceRequest() : + m_resourceArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String TagResourceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceResult.cpp new file mode 100644 index 00000000000..57dc63fb7a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/TagResourceResult.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::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +TagResourceResult::TagResourceResult() +{ +} + +TagResourceResult::TagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +TagResourceResult& TagResourceResult::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-launch-wizard/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceRequest.cpp new file mode 100644 index 00000000000..700798e2446 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceRequest.cpp @@ -0,0 +1,45 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +UntagResourceRequest::UntagResourceRequest() : + m_resourceArnHasBeenSet(false), + m_tagKeysHasBeenSet(false) +{ +} + +Aws::String UntagResourceRequest::SerializePayload() const +{ + return {}; +} + +void UntagResourceRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_tagKeysHasBeenSet) + { + for(const auto& item : m_tagKeys) + { + ss << item; + uri.AddQueryStringParameter("tagKeys", ss.str()); + ss.str(""); + } + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceResult.cpp new file mode 100644 index 00000000000..92c559fba9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/UntagResourceResult.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::LaunchWizard::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UntagResourceResult::UntagResourceResult() +{ +} + +UntagResourceResult::UntagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UntagResourceResult& UntagResourceResult::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-launch-wizard/source/model/WorkloadDeploymentPatternData.cpp b/generated/src/aws-cpp-sdk-launch-wizard/source/model/WorkloadDeploymentPatternData.cpp new file mode 100644 index 00000000000..9b6e75a6487 --- /dev/null +++ b/generated/src/aws-cpp-sdk-launch-wizard/source/model/WorkloadDeploymentPatternData.cpp @@ -0,0 +1,173 @@ +/** + * 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 LaunchWizard +{ +namespace Model +{ + +WorkloadDeploymentPatternData::WorkloadDeploymentPatternData() : + m_deploymentPatternNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_specificationsHasBeenSet(false), + m_status(WorkloadDeploymentPatternStatus::NOT_SET), + m_statusHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_workloadNameHasBeenSet(false), + m_workloadVersionNameHasBeenSet(false) +{ +} + +WorkloadDeploymentPatternData::WorkloadDeploymentPatternData(JsonView jsonValue) : + m_deploymentPatternNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_specificationsHasBeenSet(false), + m_status(WorkloadDeploymentPatternStatus::NOT_SET), + m_statusHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_workloadNameHasBeenSet(false), + m_workloadVersionNameHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkloadDeploymentPatternData& WorkloadDeploymentPatternData::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("deploymentPatternName")) + { + m_deploymentPatternName = jsonValue.GetString("deploymentPatternName"); + + m_deploymentPatternNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("specifications")) + { + Aws::Utils::Array specificationsJsonList = jsonValue.GetArray("specifications"); + for(unsigned specificationsIndex = 0; specificationsIndex < specificationsJsonList.GetLength(); ++specificationsIndex) + { + m_specifications.push_back(specificationsJsonList[specificationsIndex].AsObject()); + } + m_specificationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = WorkloadDeploymentPatternStatusMapper::GetWorkloadDeploymentPatternStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("statusMessage")) + { + m_statusMessage = jsonValue.GetString("statusMessage"); + + m_statusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("workloadName")) + { + m_workloadName = jsonValue.GetString("workloadName"); + + m_workloadNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("workloadVersionName")) + { + m_workloadVersionName = jsonValue.GetString("workloadVersionName"); + + m_workloadVersionNameHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkloadDeploymentPatternData::Jsonize() const +{ + JsonValue payload; + + if(m_deploymentPatternNameHasBeenSet) + { + payload.WithString("deploymentPatternName", m_deploymentPatternName); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_specificationsHasBeenSet) + { + Aws::Utils::Array specificationsJsonList(m_specifications.size()); + for(unsigned specificationsIndex = 0; specificationsIndex < specificationsJsonList.GetLength(); ++specificationsIndex) + { + specificationsJsonList[specificationsIndex].AsObject(m_specifications[specificationsIndex].Jsonize()); + } + payload.WithArray("specifications", std::move(specificationsJsonList)); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", WorkloadDeploymentPatternStatusMapper::GetNameForWorkloadDeploymentPatternStatus(m_status)); + } + + if(m_statusMessageHasBeenSet) + { + payload.WithString("statusMessage", m_statusMessage); + + } + + if(m_workloadNameHasBeenSet) + { + payload.WithString("workloadName", m_workloadName); + + } + + if(m_workloadVersionNameHasBeenSet) + { + payload.WithString("workloadVersionName", m_workloadVersionName); + + } + + return payload; +} + +} // namespace Model +} // namespace LaunchWizard +} // namespace Aws diff --git a/generated/tests/launch-wizard-gen-tests/LaunchWizardEndpointProviderTests.cpp b/generated/tests/launch-wizard-gen-tests/LaunchWizardEndpointProviderTests.cpp index 26a2b7fc3ba..4e48e8bec31 100644 --- a/generated/tests/launch-wizard-gen-tests/LaunchWizardEndpointProviderTests.cpp +++ b/generated/tests/launch-wizard-gen-tests/LaunchWizardEndpointProviderTests.cpp @@ -74,7 +74,7 @@ class LaunchWizardEndpointProviderTests : public ::testing::TestWithParam> LaunchWizardEndpointProviderTests::TEST_CASES; -const size_t LaunchWizardEndpointProviderTests::TEST_CASES_SZ = 26; +const size_t LaunchWizardEndpointProviderTests::TEST_CASES_SZ = 25; Aws::Vector LaunchWizardEndpointProviderTests::getTestCase() { @@ -282,12 +282,6 @@ Aws::Vector LaunchWizardEndpointPr {}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Missing Region"} // expect - }, - /*TEST CASE 25*/ - {"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 } }; return test_cases; 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 538ac9fc173..f1d2554ee15 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.339" +#define AWS_SDK_VERSION_STRING "1.11.340" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 339 +#define AWS_SDK_VERSION_PATCH 340 diff --git a/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json b/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json index da29b0504cc..1cdab863f49 100644 --- a/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json +++ b/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json @@ -1786,7 +1786,7 @@ }, "manualCreation":{ "shape":"WrapperBoolean", - "documentation":"

    If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns payloadUrl and secret values for the webhook. The payloadUrl and secret values in the output can be used to manually create a webhook within GitHub.

    manualCreation is only available for GitHub webhooks.

    " + "documentation":"

    If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns payloadUrl and secret values for the webhook. The payloadUrl and secret values in the output can be used to manually create a webhook within GitHub.

    manualCreation is only available for GitHub webhooks.

    " } } }, @@ -4788,7 +4788,7 @@ "members":{ "type":{ "shape":"WebhookFilterType", - "documentation":"

    The type of webhook filter. There are nine webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, COMMIT_MESSAGE, TAG_NAME, RELEASE_NAME, and WORKFLOW_NAME.

    • EVENT

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

        The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only. The RELEASED, PRERELEASED, and WORKFLOW_JOB_QUEUED work with GitHub only.

    • ACTOR_ACCOUNT_ID

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

    • HEAD_REF

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

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

    • BASE_REF

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

        Works with pull request events only.

    • FILE_PATH

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

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

    • COMMIT_MESSAGE

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

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

    • TAG_NAME

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

        Works with RELEASED and PRERELEASED events only.

    • RELEASE_NAME

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

        Works with RELEASED and PRERELEASED events only.

    • WORKFLOW_NAME

      • A webhook triggers a build when the workflow name matches the regular expression pattern.

        Works with WORKFLOW_JOB_QUEUED events only.

    " + "documentation":"

    The type of webhook filter. There are nine webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, COMMIT_MESSAGE, TAG_NAME, RELEASE_NAME, and WORKFLOW_NAME.

    • EVENT

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

        Types PULL_REQUEST_REOPENED and WORKFLOW_JOB_QUEUED work with GitHub and GitHub Enterprise only. Types RELEASED and PRERELEASED work with GitHub only.

    • ACTOR_ACCOUNT_ID

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

    • HEAD_REF

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

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

    • BASE_REF

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

        Works with pull request events only.

    • FILE_PATH

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

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

    • COMMIT_MESSAGE

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

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

    • TAG_NAME

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

        Works with RELEASED and PRERELEASED events only.

    • RELEASE_NAME

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

        Works with RELEASED and PRERELEASED events only.

    • WORKFLOW_NAME

      • A webhook triggers a build when the workflow name matches the regular expression pattern.

        Works with WORKFLOW_JOB_QUEUED events only.

    " }, "pattern":{ "shape":"String", diff --git a/tools/code-generation/api-descriptions/codeguru-security-2018-05-10.normal.json b/tools/code-generation/api-descriptions/codeguru-security-2018-05-10.normal.json index 23de518763e..389208a83f7 100644 --- a/tools/code-generation/api-descriptions/codeguru-security-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/codeguru-security-2018-05-10.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"codeguru-security", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon CodeGuru Security", "serviceId":"CodeGuru Security", "signatureVersion":"v4", @@ -27,7 +28,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Returns a list of all requested findings.

    " + "documentation":"

    Returns a list of requested findings from standard scans.

    " }, "CreateScan":{ "name":"CreateScan", @@ -46,7 +47,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Use to create a scan using code uploaded to an S3 bucket.

    " + "documentation":"

    Use to create a scan using code uploaded to an Amazon S3 bucket.

    " }, "CreateUploadUrl":{ "name":"CreateUploadUrl", @@ -63,7 +64,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Generates a pre-signed URL and request headers used to upload a code resource.

    You can upload your code resource to the URL and add the request headers using any HTTP client.

    " + "documentation":"

    Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource.

    You can upload your code resource to the URL with the request headers using any HTTP client.

    " }, "GetAccountConfiguration":{ "name":"GetAccountConfiguration", @@ -80,7 +81,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Use to get account level configuration.

    " + "documentation":"

    Use to get the encryption configuration for an account.

    " }, "GetFindings":{ "name":"GetFindings", @@ -116,7 +117,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Returns top level metrics about an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings.

    " + "documentation":"

    Returns a summary of metrics for an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings.

    " }, "GetScan":{ "name":"GetScan", @@ -131,6 +132,7 @@ {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], "documentation":"

    Returns details about a scan, including whether or not a scan has completed.

    " @@ -167,7 +169,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Returns a list of all the standard scans in an account. Does not return express scans.

    " + "documentation":"

    Returns a list of all scans in an account. Does not return EXPRESS scans.

    " }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -243,7 +245,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Use to update account-level configuration with an encryption key.

    " + "documentation":"

    Use to update the encryption configuration for an account.

    " } }, "shapes":{ @@ -283,26 +285,26 @@ "members":{ "closedFindings":{ "shape":"FindingMetricsValuePerSeverity", - "documentation":"

    The number of closed findings of each severity in an account on the specified date.

    " + "documentation":"

    The number of closed findings of each severity on the specified date.

    " }, "date":{ "shape":"Timestamp", - "documentation":"

    The date from which the finding metrics were retrieved.

    " + "documentation":"

    The date from which the findings metrics were retrieved.

    " }, "meanTimeToClose":{ "shape":"FindingMetricsValuePerSeverity", - "documentation":"

    The average time it takes to close findings of each severity in days.

    " + "documentation":"

    The average time in days it takes to close findings of each severity as of a specified date.

    " }, "newFindings":{ "shape":"FindingMetricsValuePerSeverity", - "documentation":"

    The number of new findings of each severity in account on the specified date.

    " + "documentation":"

    The number of new findings of each severity on the specified date.

    " }, "openFindings":{ "shape":"FindingMetricsValuePerSeverity", - "documentation":"

    The number of open findings of each severity in an account as of the specified date.

    " + "documentation":"

    The number of open findings of each severity as of the specified date.

    " } }, - "documentation":"

    A summary of findings metrics in an account.

    " + "documentation":"

    A summary of findings metrics for an account on a specified date.

    " }, "AnalysisType":{ "type":"string", @@ -366,7 +368,7 @@ }, "findings":{ "shape":"Findings", - "documentation":"

    A list of all requested findings.

    " + "documentation":"

    A list of all findings which were successfully fetched.

    " } } }, @@ -465,11 +467,11 @@ }, "resourceId":{ "shape":"ResourceId", - "documentation":"

    The identifier for an input resource used to create a scan.

    " + "documentation":"

    The identifier for the resource object to be scanned.

    " }, "scanName":{ "shape":"ScanName", - "documentation":"

    The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type. If not specified, it will be auto generated.

    " + "documentation":"

    The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type.

    " }, "scanType":{ "shape":"ScanType", @@ -532,7 +534,7 @@ "members":{ "codeArtifactId":{ "shape":"Uuid", - "documentation":"

    The identifier for the uploaded code resource.

    " + "documentation":"

    The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded resources.

    " }, "requestHeaders":{ "shape":"RequestHeaderMap", @@ -540,7 +542,7 @@ }, "s3Url":{ "shape":"S3Url", - "documentation":"

    A pre-signed S3 URL. You can upload the code file you want to scan and add the required requestHeaders using any HTTP client.

    " + "documentation":"

    A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders using any HTTP client.

    " } } }, @@ -557,10 +559,10 @@ "members":{ "kmsKeyArn":{ "shape":"KmsKeyArn", - "documentation":"

    The KMS key ARN to use for encryption. This must be provided as a header when uploading your code resource.

    " + "documentation":"

    The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.

    " } }, - "documentation":"

    Information about account-level configuration.

    " + "documentation":"

    Information about the encryption configuration for an account. Required to call UpdateAccountConfiguration.

    " }, "ErrorCode":{ "type":"string", @@ -572,6 +574,10 @@ "INVALID_SCAN_NAME" ] }, + "ErrorMessage":{ + "type":"string", + "min":1 + }, "FilePath":{ "type":"structure", "members":{ @@ -623,7 +629,7 @@ }, "generatorId":{ "shape":"String", - "documentation":"

    The identifier for the component that generated a finding such as AWSCodeGuruSecurity or AWSInspector.

    " + "documentation":"

    The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.

    " }, "id":{ "shape":"String", @@ -643,7 +649,7 @@ }, "severity":{ "shape":"Severity", - "documentation":"

    The severity of the finding.

    " + "documentation":"

    The severity of the finding. Severity can be critical, high, medium, low, or informational. For information on severity levels, see Finding severity in the Amazon CodeGuru Security User Guide.

    " }, "status":{ "shape":"Status", @@ -697,26 +703,26 @@ "members":{ "critical":{ "shape":"Double", - "documentation":"

    The severity of the finding is critical and should be addressed immediately.

    " + "documentation":"

    A numeric value corresponding to a critical finding.

    " }, "high":{ "shape":"Double", - "documentation":"

    The severity of the finding is high and should be addressed as a near-term priority.

    " + "documentation":"

    A numeric value corresponding to a high severity finding.

    " }, "info":{ "shape":"Double", - "documentation":"

    The finding is related to quality or readability improvements and not considered actionable.

    " + "documentation":"

    A numeric value corresponding to an informational finding.

    " }, "low":{ "shape":"Double", - "documentation":"

    The severity of the finding is low and does require action on its own.

    " + "documentation":"

    A numeric value corresponding to a low severity finding.

    " }, "medium":{ "shape":"Double", - "documentation":"

    The severity of the finding is medium and should be addressed as a mid-term priority.

    " + "documentation":"

    A numeric value corresponding to a medium severity finding.

    " } }, - "documentation":"

    The severity of the issue in the code that generated a finding.

    " + "documentation":"

    A numeric value corresponding to the severity of a finding, such as the number of open findings or the average time it takes to close findings of a given severity.

    " }, "Findings":{ "type":"list", @@ -737,7 +743,7 @@ "members":{ "encryptionConfig":{ "shape":"EncryptionConfig", - "documentation":"

    An EncryptionConfig object that contains the KMS key ARN to use for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration.

    " + "documentation":"

    An EncryptionConfig object that contains the KMS key ARN that is used for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. If you do not specify a customer-managed key, returns empty.

    " } } }, @@ -747,7 +753,7 @@ "members":{ "maxResults":{ "shape":"GetFindingsRequestMaxResultsInteger", - "documentation":"

    The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results.

    ", + "documentation":"

    The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 1000 results.

    ", "location":"querystring", "locationName":"maxResults" }, @@ -774,7 +780,7 @@ "GetFindingsRequestMaxResultsInteger":{ "type":"integer", "box":true, - "max":100, + "max":1000, "min":1 }, "GetFindingsResponse":{ @@ -796,7 +802,7 @@ "members":{ "date":{ "shape":"Timestamp", - "documentation":"

    The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years since metrics data is only stored for two years. If a date outside of this range is passed, the response will be empty.

    ", + "documentation":"

    The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years.

    ", "location":"querystring", "locationName":"date" } @@ -847,6 +853,10 @@ "shape":"Timestamp", "documentation":"

    The time the scan was created.

    " }, + "errorMessage":{ + "shape":"ErrorMessage", + "documentation":"

    Details about the error that causes a scan to fail to be retrieved.

    " + }, "numberOfRevisions":{ "shape":"Long", "documentation":"

    The number of times a scan has been re-run on a revised resource.

    " @@ -865,7 +875,7 @@ }, "scanState":{ "shape":"ScanState", - "documentation":"

    The current state of the scan. Pass either InProgress, Successful, or Failed.

    " + "documentation":"

    The current state of the scan. Returns either InProgress, Successful, or Failed.

    " }, "updatedAt":{ "shape":"Timestamp", @@ -918,13 +928,13 @@ "members":{ "endDate":{ "shape":"Timestamp", - "documentation":"

    The end date of the interval which you want to retrieve metrics from.

    ", + "documentation":"

    The end date of the interval which you want to retrieve metrics from. Round to the nearest day.

    ", "location":"querystring", "locationName":"endDate" }, "maxResults":{ "shape":"ListFindingsMetricsRequestMaxResultsInteger", - "documentation":"

    The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results.

    ", + "documentation":"

    The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 1000 results.

    ", "location":"querystring", "locationName":"maxResults" }, @@ -936,7 +946,7 @@ }, "startDate":{ "shape":"Timestamp", - "documentation":"

    The start date of the interval which you want to retrieve metrics from.

    ", + "documentation":"

    The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.

    ", "location":"querystring", "locationName":"startDate" } @@ -966,7 +976,7 @@ "members":{ "maxResults":{ "shape":"ListScansRequestMaxResultsInteger", - "documentation":"

    The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results.

    ", + "documentation":"

    The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 100 results.

    ", "location":"querystring", "locationName":"maxResults" }, @@ -1003,7 +1013,7 @@ "members":{ "resourceArn":{ "shape":"ScanNameArn", - "documentation":"

    The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.

    ", + "documentation":"

    The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.

    ", "location":"uri", "locationName":"resourceArn" } @@ -1027,7 +1037,7 @@ "members":{ "categoriesWithMostFindings":{ "shape":"CategoriesWithMostFindings", - "documentation":"

    A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open findings in an account.

    " + "documentation":"

    A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.

    " }, "date":{ "shape":"Timestamp", @@ -1035,18 +1045,18 @@ }, "openFindings":{ "shape":"FindingMetricsValuePerSeverity", - "documentation":"

    The number of open findings of each severity in an account.

    " + "documentation":"

    The number of open findings of each severity.

    " }, "scansWithMostOpenCriticalFindings":{ "shape":"ScansWithMostOpenCriticalFindings", - "documentation":"

    A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings in an account.

    " + "documentation":"

    A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.

    " }, "scansWithMostOpenFindings":{ "shape":"ScansWithMostOpenFindings", - "documentation":"

    A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings in an account.

    " + "documentation":"

    A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.

    " } }, - "documentation":"

    Information about summary metrics in an account.

    " + "documentation":"

    A summary of metrics for an account as of a specified date.

    " }, "NextToken":{ "type":"string", @@ -1101,24 +1111,24 @@ "members":{ "id":{ "shape":"String", - "documentation":"

    The identifier for the resource.

    " + "documentation":"

    The scanName of the scan that was run on the resource.

    " }, "subResourceId":{ "shape":"String", - "documentation":"

    The identifier for a section of the resource, such as an AWS Lambda layer.

    " + "documentation":"

    The identifier for a section of the resource.

    " } }, - "documentation":"

    Information about a resource, such as an Amazon S3 bucket or AWS Lambda function, that contains a finding.

    " + "documentation":"

    Information about a resource that contains a finding.

    " }, "ResourceId":{ "type":"structure", "members":{ "codeArtifactId":{ "shape":"Uuid", - "documentation":"

    The identifier for the code file uploaded to the resource where a finding was detected.

    " + "documentation":"

    The identifier for the code file uploaded to the resource object. Returned by CreateUploadUrl when you upload resources to be scanned.

    " } }, - "documentation":"

    The identifier for a resource object that contains resources where a finding was detected.

    ", + "documentation":"

    The identifier for a resource object that contains resources to scan. Specifying a codeArtifactId is required to create a scan.

    ", "union":true }, "ResourceNotFoundException":{ @@ -1176,14 +1186,14 @@ "members":{ "findingNumber":{ "shape":"Integer", - "documentation":"

    The number of open findings generated by a scan.

    " + "documentation":"

    The number of findings generated by a scan.

    " }, "scanName":{ "shape":"String", "documentation":"

    The name of the scan.

    " } }, - "documentation":"

    Information about a scan with open findings.

    " + "documentation":"

    Information about the number of findings generated by a scan.

    " }, "ScanState":{ "type":"string", @@ -1276,7 +1286,7 @@ "members":{ "code":{ "shape":"String", - "documentation":"

    The suggested code to add to your file.

    " + "documentation":"

    The suggested code fix. If applicable, includes code patch to replace your source code.

    " }, "description":{ "shape":"String", @@ -1316,7 +1326,7 @@ "members":{ "resourceArn":{ "shape":"ScanNameArn", - "documentation":"

    The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.

    ", + "documentation":"

    The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.

    ", "location":"uri", "locationName":"resourceArn" }, @@ -1378,7 +1388,7 @@ "members":{ "resourceArn":{ "shape":"ScanNameArn", - "documentation":"

    The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.

    ", + "documentation":"

    The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.

    ", "location":"uri", "locationName":"resourceArn" }, @@ -1401,7 +1411,7 @@ "members":{ "encryptionConfig":{ "shape":"EncryptionConfig", - "documentation":"

    The KMS key ARN you want to use for encryption. Defaults to service-side encryption if missing.

    " + "documentation":"

    The customer-managed KMS key ARN you want to use for encryption. If not specified, CodeGuru Security will use an AWS-managed key for encryption. If you previously specified a customer-managed KMS key and want CodeGuru Security to use an AWS-managed key for encryption instead, pass nothing.

    " } } }, @@ -1411,7 +1421,7 @@ "members":{ "encryptionConfig":{ "shape":"EncryptionConfig", - "documentation":"

    An EncryptionConfig object that contains the KMS key ARN to use for encryption.

    " + "documentation":"

    An EncryptionConfig object that contains the KMS key ARN that is used for encryption. If you did not specify a customer-managed KMS key in the request, returns empty.

    " } } }, @@ -1496,7 +1506,9 @@ }, "itemCount":{ "shape":"Integer", - "documentation":"

    The number of times the vulnerability appears in your code.

    " + "documentation":"

    The number of times the vulnerability appears in your code.

    ", + "deprecated":true, + "deprecatedMessage":"This shape is not used." }, "referenceUrls":{ "shape":"ReferenceUrls", diff --git a/tools/code-generation/api-descriptions/elasticache-2015-02-02.normal.json b/tools/code-generation/api-descriptions/elasticache-2015-02-02.normal.json index 2b9c916def3..e9e97b14708 100644 --- a/tools/code-generation/api-descriptions/elasticache-2015-02-02.normal.json +++ b/tools/code-generation/api-descriptions/elasticache-2015-02-02.normal.json @@ -4,6 +4,7 @@ "apiVersion":"2015-02-02", "endpointPrefix":"elasticache", "protocol":"query", + "protocols":["query"], "serviceFullName":"Amazon ElastiCache", "serviceId":"ElastiCache", "signatureVersion":"v4", @@ -1532,7 +1533,7 @@ {"shape":"InvalidParameterValueException"}, {"shape":"InvalidParameterCombinationException"} ], - "documentation":"

    Represents the input of a TestFailover operation which test automatic failover on a specified node group (called shard in the console) in a replication group (called cluster in the console).

    This API is designed for testing the behavior of your application in case of ElastiCache failover. It is not designed to be an operational tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large-scale operational events, Amazon may block this API.

    Note the following

    • A customer can use this operation to test automatic failover on up to 5 shards (called node groups in the ElastiCache API and Amazon CLI) in any rolling 24-hour period.

    • If calling this operation on shards in different clusters (called replication groups in the API and CLI), the calls can be made concurrently.

    • If calling this operation multiple times on different shards in the same Redis (cluster mode enabled) replication group, the first node replacement must complete before a subsequent call can be made.

    • To determine whether the node replacement is complete you can check Events using the Amazon ElastiCache console, the Amazon CLI, or the ElastiCache API. Look for the following automatic failover related events, listed here in order of occurrance:

      1. Replication group message: Test Failover API called for node group <node-group-id>

      2. Cache cluster message: Failover from primary node <primary-node-id> to replica node <node-id> completed

      3. Replication group message: Failover from primary node <primary-node-id> to replica node <node-id> completed

      4. Cache cluster message: Recovering cache nodes <node-id>

      5. Cache cluster message: Finished recovery for cache nodes <node-id>

      For more information see:

    Also see, Testing Multi-AZ in the ElastiCache User Guide.

    " + "documentation":"

    Represents the input of a TestFailover operation which tests automatic failover on a specified node group (called shard in the console) in a replication group (called cluster in the console).

    This API is designed for testing the behavior of your application in case of ElastiCache failover. It is not designed to be an operational tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large-scale operational events, Amazon may block this API.

    Note the following

    • A customer can use this operation to test automatic failover on up to 15 shards (called node groups in the ElastiCache API and Amazon CLI) in any rolling 24-hour period.

    • If calling this operation on shards in different clusters (called replication groups in the API and CLI), the calls can be made concurrently.

    • If calling this operation multiple times on different shards in the same Redis (cluster mode enabled) replication group, the first node replacement must complete before a subsequent call can be made.

    • To determine whether the node replacement is complete you can check Events using the Amazon ElastiCache console, the Amazon CLI, or the ElastiCache API. Look for the following automatic failover related events, listed here in order of occurrance:

      1. Replication group message: Test Failover API called for node group <node-group-id>

      2. Cache cluster message: Failover from primary node <primary-node-id> to replica node <node-id> completed

      3. Replication group message: Failover from primary node <primary-node-id> to replica node <node-id> completed

      4. Cache cluster message: Recovering cache nodes <node-id>

      5. Cache cluster message: Finished recovery for cache nodes <node-id>

      For more information see:

    Also see, Testing Multi-AZ in the ElastiCache User Guide.

    " }, "TestMigration":{ "name":"TestMigration", @@ -4190,7 +4191,7 @@ }, "Marker":{ "shape":"String", - "documentation":"

    An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >

    " + "documentation":"

    An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.>

    " } } }, @@ -5189,7 +5190,7 @@ }, "AuthTokenUpdateStrategy":{ "shape":"AuthTokenUpdateStrategyType", - "documentation":"

    Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

    • Rotate

    • Set

    For more information, see Authenticating Users with Redis AUTH

    " + "documentation":"

    Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

    • ROTATE - default, if no update strategy is provided

    • SET - allowed only after ROTATE

    • DELETE - allowed only when transitioning to RBAC

    For more information, see Authenticating Users with Redis AUTH

    " }, "LogDeliveryConfigurations":{ "shape":"LogDeliveryConfigurationRequestList", @@ -5381,7 +5382,7 @@ }, "AuthTokenUpdateStrategy":{ "shape":"AuthTokenUpdateStrategyType", - "documentation":"

    Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

    • Rotate

    • Set

    For more information, see Authenticating Users with Redis AUTH

    " + "documentation":"

    Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

    • ROTATE - default, if no update strategy is provided

    • SET - allowed only after ROTATE

    • DELETE - allowed only when transitioning to RBAC

    For more information, see Authenticating Users with Redis AUTH

    " }, "UserGroupIdsToAdd":{ "shape":"UserGroupIdList", @@ -7541,7 +7542,7 @@ }, "NodeGroupId":{ "shape":"AllowedNodeGroupId", - "documentation":"

    The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 5 node groups in any rolling 24-hour period.

    " + "documentation":"

    The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 15 node groups in any rolling 24-hour period.

    " } } }, diff --git a/tools/code-generation/api-descriptions/launch-wizard-2018-05-10.normal.json b/tools/code-generation/api-descriptions/launch-wizard-2018-05-10.normal.json index 956316c3877..c4365bb5e2b 100644 --- a/tools/code-generation/api-descriptions/launch-wizard-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/launch-wizard-2018-05-10.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"launchwizard", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Launch Wizard", "serviceId":"Launch Wizard", "signatureVersion":"v4", @@ -39,6 +40,7 @@ "input":{"shape":"DeleteDeploymentInput"}, "output":{"shape":"DeleteDeploymentOutput"}, "errors":[ + {"shape":"ResourceLimitException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} @@ -78,6 +80,22 @@ ], "documentation":"

    Returns information about a workload.

    " }, + "GetWorkloadDeploymentPattern":{ + "name":"GetWorkloadDeploymentPattern", + "http":{ + "method":"POST", + "requestUri":"/getWorkloadDeploymentPattern", + "responseCode":200 + }, + "input":{"shape":"GetWorkloadDeploymentPatternInput"}, + "output":{"shape":"GetWorkloadDeploymentPatternOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

    Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload.

    " + }, "ListDeploymentEvents":{ "name":"ListDeploymentEvents", "http":{ @@ -109,6 +127,22 @@ ], "documentation":"

    Lists the deployments that have been created.

    " }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceInput"}, + "output":{"shape":"ListTagsForResourceOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

    Lists the tags associated with a specified resource.

    " + }, "ListWorkloadDeploymentPatterns":{ "name":"ListWorkloadDeploymentPatterns", "http":{ @@ -123,7 +157,7 @@ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

    Lists the workload deployment patterns.

    " + "documentation":"

    Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names.

    " }, "ListWorkloads":{ "name":"ListWorkloads", @@ -138,10 +172,47 @@ {"shape":"InternalServerException"}, {"shape":"ValidationException"} ], - "documentation":"

    Lists the workloads.

    " + "documentation":"

    Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload.

    " + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"TagResourceInput"}, + "output":{"shape":"TagResourceOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

    Adds the specified tags to the given resource.

    " + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"UntagResourceInput"}, + "output":{"shape":"UntagResourceOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

    Removes the specified tags from the given resource.

    ", + "idempotent":true } }, "shapes":{ + "AllowedValues":{ + "type":"list", + "member":{"shape":"ValueString"} + }, "Boolean":{ "type":"boolean", "box":true @@ -169,11 +240,15 @@ }, "specifications":{ "shape":"DeploymentSpecifications", - "documentation":"

    The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications.

    " + "documentation":"

    The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation.

    " + }, + "tags":{ + "shape":"Tags", + "documentation":"

    The tags to add to the deployment.

    " }, "workloadName":{ "shape":"WorkloadName", - "documentation":"

    The name of the workload. You can use the ListWorkloadDeploymentPatterns operation to discover supported values for this parameter.

    " + "documentation":"

    The name of the workload. You can use the ListWorkloads operation to discover supported values for this parameter.

    " } } }, @@ -209,6 +284,24 @@ } } }, + "DeploymentConditionalField":{ + "type":"structure", + "members":{ + "comparator":{ + "shape":"String", + "documentation":"

    The comparator of the condition.

    Valid values: Equal | NotEqual

    " + }, + "name":{ + "shape":"String", + "documentation":"

    The name of the deployment condition.

    " + }, + "value":{ + "shape":"String", + "documentation":"

    The value of the condition.

    " + } + }, + "documentation":"

    A field that details a condition of the specifications for a deployment.

    " + }, "DeploymentData":{ "type":"structure", "members":{ @@ -220,6 +313,10 @@ "shape":"Timestamp", "documentation":"

    The time the deployment was deleted.

    " }, + "deploymentArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the deployment.

    " + }, "id":{ "shape":"DeploymentId", "documentation":"

    The ID of the deployment.

    " @@ -238,12 +335,16 @@ }, "specifications":{ "shape":"DeploymentSpecifications", - "documentation":"

    The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.

    " + "documentation":"

    The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation.

    " }, "status":{ "shape":"DeploymentStatus", "documentation":"

    The status of the deployment.

    " }, + "tags":{ + "shape":"Tags", + "documentation":"

    Information about the tags attached to a deployment.

    " + }, "workloadName":{ "shape":"WorkloadName", "documentation":"

    The name of the workload.

    " @@ -358,15 +459,15 @@ }, "DeploymentName":{ "type":"string", - "max":25, + "max":50, "min":1, - "pattern":"^[A-Za-z0-9_\\s\\.-]+$" + "pattern":"^[A-Za-z0-9_\\.-]+$" }, "DeploymentPatternName":{ "type":"string", "max":256, "min":1, - "pattern":"^[a-zA-Z0-9-]+$" + "pattern":"^[A-Za-z0-9][a-zA-Z0-9-]*$" }, "DeploymentSpecifications":{ "type":"map", @@ -376,6 +477,38 @@ "min":1, "sensitive":true }, + "DeploymentSpecificationsData":{ + "type":"list", + "member":{"shape":"DeploymentSpecificationsField"}, + "max":100, + "min":1 + }, + "DeploymentSpecificationsField":{ + "type":"structure", + "members":{ + "allowedValues":{ + "shape":"AllowedValues", + "documentation":"

    The allowed values of the deployment specification.

    " + }, + "conditionals":{ + "shape":"SpecificationsConditionalData", + "documentation":"

    The conditionals used for the deployment specification.

    " + }, + "description":{ + "shape":"String", + "documentation":"

    The description of the deployment specification.

    " + }, + "name":{ + "shape":"String", + "documentation":"

    The name of the deployment specification.

    " + }, + "required":{ + "shape":"String", + "documentation":"

    Indicates if the deployment specification is required.

    " + } + }, + "documentation":"

    A field that details a specification of a deployment pattern.

    " + }, "DeploymentStatus":{ "type":"string", "enum":[ @@ -422,6 +555,32 @@ } } }, + "GetWorkloadDeploymentPatternInput":{ + "type":"structure", + "required":[ + "deploymentPatternName", + "workloadName" + ], + "members":{ + "deploymentPatternName":{ + "shape":"DeploymentPatternName", + "documentation":"

    The name of the deployment pattern.

    " + }, + "workloadName":{ + "shape":"WorkloadName", + "documentation":"

    The name of the workload.

    " + } + } + }, + "GetWorkloadDeploymentPatternOutput":{ + "type":"structure", + "members":{ + "workloadDeploymentPattern":{ + "shape":"WorkloadDeploymentPatternData", + "documentation":"

    Details about the workload deployment pattern.

    " + } + } + }, "GetWorkloadInput":{ "type":"structure", "required":["workloadName"], @@ -493,7 +652,7 @@ "members":{ "filters":{ "shape":"DeploymentFilterList", - "documentation":"

    Filters to scope the results. The following filters are supported:

    • WORKLOAD_NAME

    • DEPLOYMENT_STATUS

    " + "documentation":"

    Filters to scope the results. The following filters are supported:

    • WORKLOAD_NAME - The name used in deployments.

    • DEPLOYMENT_STATUS - COMPLETED | CREATING | DELETE_IN_PROGRESS | DELETE_INITIATING | DELETE_FAILED | DELETED | FAILED | IN_PROGRESS | VALIDATING

    " }, "maxResults":{ "shape":"MaxDeploymentResults", @@ -518,6 +677,27 @@ } } }, + "ListTagsForResourceInput":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the resource.

    ", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "ListTagsForResourceOutput":{ + "type":"structure", + "members":{ + "tags":{ + "shape":"Tags", + "documentation":"

    Information about the tags.

    " + } + } + }, "ListWorkloadDeploymentPatternsInput":{ "type":"structure", "required":["workloadName"], @@ -628,8 +808,88 @@ }, "exception":true }, + "SpecificationsConditionalData":{ + "type":"list", + "member":{"shape":"DeploymentConditionalField"}, + "max":5, + "min":1 + }, "String":{"type":"string"}, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":200, + "min":1 + }, + "TagResourceInput":{ + "type":"structure", + "required":[ + "resourceArn", + "tags" + ], + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the resource.

    ", + "location":"uri", + "locationName":"resourceArn" + }, + "tags":{ + "shape":"Tags", + "documentation":"

    One or more tags to attach to the resource.

    " + } + } + }, + "TagResourceOutput":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0 + }, + "Tags":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":200, + "min":1 + }, "Timestamp":{"type":"timestamp"}, + "UntagResourceInput":{ + "type":"structure", + "required":[ + "resourceArn", + "tagKeys" + ], + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) of the resource.

    ", + "location":"uri", + "locationName":"resourceArn" + }, + "tagKeys":{ + "shape":"TagKeyList", + "documentation":"

    Keys identifying the tags to remove.

    ", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceOutput":{ + "type":"structure", + "members":{ + } + }, "ValidationException":{ "type":"structure", "members":{ @@ -699,6 +959,44 @@ "type":"list", "member":{"shape":"WorkloadDataSummary"} }, + "WorkloadDeploymentPatternData":{ + "type":"structure", + "members":{ + "deploymentPatternName":{ + "shape":"DeploymentPatternName", + "documentation":"

    The name of the deployment pattern.

    " + }, + "description":{ + "shape":"String", + "documentation":"

    The description of the deployment pattern.

    " + }, + "displayName":{ + "shape":"String", + "documentation":"

    The display name of the deployment pattern.

    " + }, + "specifications":{ + "shape":"DeploymentSpecificationsData", + "documentation":"

    The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation.

    " + }, + "status":{ + "shape":"WorkloadDeploymentPatternStatus", + "documentation":"

    The status of the deployment pattern.

    " + }, + "statusMessage":{ + "shape":"String", + "documentation":"

    The status message of the deployment pattern.

    " + }, + "workloadName":{ + "shape":"WorkloadName", + "documentation":"

    The workload name of the deployment pattern.

    " + }, + "workloadVersionName":{ + "shape":"WorkloadVersionName", + "documentation":"

    The workload version name of the deployment pattern.

    " + } + }, + "documentation":"

    The data that details a workload deployment pattern.

    " + }, "WorkloadDeploymentPatternDataSummary":{ "type":"structure", "members":{ @@ -748,9 +1046,9 @@ }, "WorkloadName":{ "type":"string", - "max":256, + "max":100, "min":1, - "pattern":"^[a-zA-Z0-9-]+$" + "pattern":"^[A-Za-z][a-zA-Z0-9-_]*$" }, "WorkloadStatus":{ "type":"string", @@ -765,7 +1063,7 @@ "type":"string", "max":30, "min":5, - "pattern":"^[a-zA-Z0-9-]+$" + "pattern":"^[A-Za-z0-9][a-zA-Z0-9-]*$" } }, "documentation":"

    Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for third party applications, such as Microsoft SQL Server Always On and HANA based SAP systems, without the need to manually identify and provision individual Amazon Web Services resources.

    " diff --git a/tools/code-generation/endpoints/codeguru-security-2018-05-10.endpoint-rule-set.json b/tools/code-generation/endpoints/codeguru-security-2018-05-10.endpoint-rule-set.json index 9c6f96dac9a..bea431e421d 100644 --- a/tools/code-generation/endpoints/codeguru-security-2018-05-10.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/codeguru-security-2018-05-10.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/launch-wizard-2018-05-10.endpoint-tests.json b/tools/code-generation/endpoints/launch-wizard-2018-05-10.endpoint-tests.json index 850ed0a8fda..33502c9dc8e 100644 --- a/tools/code-generation/endpoints/launch-wizard-2018-05-10.endpoint-tests.json +++ b/tools/code-generation/endpoints/launch-wizard-2018-05-10.endpoint-tests.json @@ -308,17 +308,6 @@ "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"