From fdce53507c1d57d938d8bc0c1ea62fd6fd06433b Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Fri, 29 Dec 2023 19:11:50 +0000 Subject: [PATCH] This release introduces a new parameter to bypasses an API key's expiry conditions and delete the key. Add LinkEntityArn support for different partitions; Add UnsupportedUserEditionException in UpdateDashboardLinks API; Add support for New Reader Experience Topics AWS App Runner adds Python 3.11 and Node.js 18 runtimes. --- VERSION | 2 +- .../apprunner/model/NetworkConfiguration.h | 24 +++---- .../include/aws/apprunner/model/Runtime.h | 4 +- .../source/model/Runtime.cpp | 14 ++++ .../aws/location/model/ApiKeyRestrictions.h | 18 ++--- .../aws/location/model/CreateTrackerRequest.h | 26 +++---- .../aws/location/model/DeleteKeyRequest.h | 50 +++++++++++++ .../source/model/DeleteKeyRequest.cpp | 16 +++++ .../aws/quicksight/model/TopicDetails.h | 35 +++++++++ .../model/TopicUserExperienceVersion.h | 31 ++++++++ .../source/model/TopicDetails.cpp | 16 +++++ .../model/TopicUserExperienceVersion.cpp | 72 +++++++++++++++++++ .../include/aws/core/VersionConfig.h | 4 +- .../apprunner-2020-05-15.normal.json | 6 +- .../location-2020-11-19.normal.json | 8 ++- .../quicksight-2018-04-01.normal.json | 14 +++- 16 files changed, 298 insertions(+), 42 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicUserExperienceVersion.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/TopicUserExperienceVersion.cpp diff --git a/VERSION b/VERSION index 35399865996..1e7c81ab1f8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.234 \ No newline at end of file +1.11.235 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/NetworkConfiguration.h b/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/NetworkConfiguration.h index 98beac5c955..2c1111482c1 100644 --- a/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/NetworkConfiguration.h +++ b/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/NetworkConfiguration.h @@ -105,10 +105,10 @@ namespace Model /** *

App Runner provides you with the option to choose between Internet - * Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your + * Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your * incoming public network configuration. This is an optional parameter. If you do * not specify an IpAddressType, it defaults to select IPv4.

- *

Currently, App Runner supports dual-stack for only Public endpoint. + *

Currently, App Runner supports dual stack for only Public endpoint. * Only IPv4 is supported for Private endpoint. If you update a service that's * using dual-stack Public endpoint to a Private endpoint, your App Runner service * will default to support only IPv4 for Private endpoint and fail to receive @@ -118,10 +118,10 @@ namespace Model /** *

App Runner provides you with the option to choose between Internet - * Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your + * Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your * incoming public network configuration. This is an optional parameter. If you do * not specify an IpAddressType, it defaults to select IPv4.

- *

Currently, App Runner supports dual-stack for only Public endpoint. + *

Currently, App Runner supports dual stack for only Public endpoint. * Only IPv4 is supported for Private endpoint. If you update a service that's * using dual-stack Public endpoint to a Private endpoint, your App Runner service * will default to support only IPv4 for Private endpoint and fail to receive @@ -131,10 +131,10 @@ namespace Model /** *

App Runner provides you with the option to choose between Internet - * Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your + * Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your * incoming public network configuration. This is an optional parameter. If you do * not specify an IpAddressType, it defaults to select IPv4.

- *

Currently, App Runner supports dual-stack for only Public endpoint. + *

Currently, App Runner supports dual stack for only Public endpoint. * Only IPv4 is supported for Private endpoint. If you update a service that's * using dual-stack Public endpoint to a Private endpoint, your App Runner service * will default to support only IPv4 for Private endpoint and fail to receive @@ -144,10 +144,10 @@ namespace Model /** *

App Runner provides you with the option to choose between Internet - * Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your + * Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your * incoming public network configuration. This is an optional parameter. If you do * not specify an IpAddressType, it defaults to select IPv4.

- *

Currently, App Runner supports dual-stack for only Public endpoint. + *

Currently, App Runner supports dual stack for only Public endpoint. * Only IPv4 is supported for Private endpoint. If you update a service that's * using dual-stack Public endpoint to a Private endpoint, your App Runner service * will default to support only IPv4 for Private endpoint and fail to receive @@ -157,10 +157,10 @@ namespace Model /** *

App Runner provides you with the option to choose between Internet - * Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your + * Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your * incoming public network configuration. This is an optional parameter. If you do * not specify an IpAddressType, it defaults to select IPv4.

- *

Currently, App Runner supports dual-stack for only Public endpoint. + *

Currently, App Runner supports dual stack for only Public endpoint. * Only IPv4 is supported for Private endpoint. If you update a service that's * using dual-stack Public endpoint to a Private endpoint, your App Runner service * will default to support only IPv4 for Private endpoint and fail to receive @@ -170,10 +170,10 @@ namespace Model /** *

App Runner provides you with the option to choose between Internet - * Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your + * Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your * incoming public network configuration. This is an optional parameter. If you do * not specify an IpAddressType, it defaults to select IPv4.

- *

Currently, App Runner supports dual-stack for only Public endpoint. + *

Currently, App Runner supports dual stack for only Public endpoint. * Only IPv4 is supported for Private endpoint. If you update a service that's * using dual-stack Public endpoint to a Private endpoint, your App Runner service * will default to support only IPv4 for Private endpoint and fail to receive diff --git a/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/Runtime.h b/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/Runtime.h index 1d69edd295d..d609f7a8706 100644 --- a/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/Runtime.h +++ b/generated/src/aws-cpp-sdk-apprunner/include/aws/apprunner/model/Runtime.h @@ -25,7 +25,9 @@ namespace Model GO_1, DOTNET_6, PHP_81, - RUBY_31 + RUBY_31, + PYTHON_311, + NODEJS_18 }; namespace RuntimeMapper diff --git a/generated/src/aws-cpp-sdk-apprunner/source/model/Runtime.cpp b/generated/src/aws-cpp-sdk-apprunner/source/model/Runtime.cpp index 648f856c44b..fdc87e7c3a8 100644 --- a/generated/src/aws-cpp-sdk-apprunner/source/model/Runtime.cpp +++ b/generated/src/aws-cpp-sdk-apprunner/source/model/Runtime.cpp @@ -30,6 +30,8 @@ namespace Aws static const int DOTNET_6_HASH = HashingUtils::HashString("DOTNET_6"); static const int PHP_81_HASH = HashingUtils::HashString("PHP_81"); static const int RUBY_31_HASH = HashingUtils::HashString("RUBY_31"); + static const int PYTHON_311_HASH = HashingUtils::HashString("PYTHON_311"); + static const int NODEJS_18_HASH = HashingUtils::HashString("NODEJS_18"); Runtime GetRuntimeForName(const Aws::String& name) @@ -75,6 +77,14 @@ namespace Aws { return Runtime::RUBY_31; } + else if (hashCode == PYTHON_311_HASH) + { + return Runtime::PYTHON_311; + } + else if (hashCode == NODEJS_18_HASH) + { + return Runtime::NODEJS_18; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -111,6 +121,10 @@ namespace Aws return "PHP_81"; case Runtime::RUBY_31: return "RUBY_31"; + case Runtime::PYTHON_311: + return "PYTHON_311"; + case Runtime::NODEJS_18: + return "NODEJS_18"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h index ae31fa51145..41a1c79f200 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h @@ -401,7 +401,7 @@ namespace Model * key that is being created.

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Other than wildcards, you must * include the full ARN, including the arn, partition, * service, region, account-id and - * resource-id, delimited by colons (:).

  • No spaces + * resource-id delimited by colons (:).

  • No spaces * allowed, even with wildcards. For example, * arn:aws:geo:region:account-id:map/ExampleMap*.

  • *

    For more information about ARN format, see

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline const Aws::Map& GetTags() const{ return m_tags; } @@ -404,7 +404,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } @@ -417,7 +417,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } @@ -430,7 +430,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } @@ -443,7 +443,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} @@ -456,7 +456,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} @@ -469,7 +469,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } @@ -482,7 +482,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } @@ -495,7 +495,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } @@ -508,7 +508,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } @@ -521,7 +521,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } @@ -534,7 +534,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } @@ -547,7 +547,7 @@ namespace Model * unique with a maximum of one value.

  • Maximum key length: 128 * Unicode characters in UTF-8

  • Maximum value length: 256 Unicode * characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, - * 0���9), and the following characters: + - = . _ : / @.

  • Cannot + * 0��9), and the following characters: + - = . _ : / @.

  • Cannot * use "aws:" as a prefix for a key.

  • */ inline CreateTrackerRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h index 4aea9f3a227..76538862c8f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h @@ -11,6 +11,10 @@ namespace Aws { +namespace Http +{ + class URI; +} //namespace Http namespace LocationService { namespace Model @@ -31,6 +35,49 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

    Valid values: true, or + * false.

    Required: No

    This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

    + */ + inline bool GetForceDelete() const{ return m_forceDelete; } + + /** + *

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

    Valid values: true, or + * false.

    Required: No

    This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

    + */ + inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; } + + /** + *

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

    Valid values: true, or + * false.

    Required: No

    This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

    + */ + inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; } + + /** + *

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

    Valid values: true, or + * false.

    Required: No

    This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

    + */ + inline DeleteKeyRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;} + /** *

    The name of the API key to delete.

    @@ -74,6 +121,9 @@ namespace Model private: + bool m_forceDelete; + bool m_forceDeleteHasBeenSet = false; + Aws::String m_keyName; bool m_keyNameHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp index 5e837254591..1bf70c68f77 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp @@ -5,14 +5,19 @@ #include #include +#include +#include #include using namespace Aws::LocationService::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; +using namespace Aws::Http; DeleteKeyRequest::DeleteKeyRequest() : + m_forceDelete(false), + m_forceDeleteHasBeenSet(false), m_keyNameHasBeenSet(false) { } @@ -22,6 +27,17 @@ Aws::String DeleteKeyRequest::SerializePayload() const return {}; } +void DeleteKeyRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_forceDeleteHasBeenSet) + { + ss << m_forceDelete; + uri.AddQueryStringParameter("forceDelete", ss.str()); + ss.str(""); + } + +} diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicDetails.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicDetails.h index 54a70f79c1d..98375da2080 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicDetails.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicDetails.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -122,6 +123,37 @@ namespace Model inline TopicDetails& WithDescription(const char* value) { SetDescription(value); return *this;} + /** + *

    The user experience version of a topic.

    + */ + inline const TopicUserExperienceVersion& GetUserExperienceVersion() const{ return m_userExperienceVersion; } + + /** + *

    The user experience version of a topic.

    + */ + inline bool UserExperienceVersionHasBeenSet() const { return m_userExperienceVersionHasBeenSet; } + + /** + *

    The user experience version of a topic.

    + */ + inline void SetUserExperienceVersion(const TopicUserExperienceVersion& value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = value; } + + /** + *

    The user experience version of a topic.

    + */ + inline void SetUserExperienceVersion(TopicUserExperienceVersion&& value) { m_userExperienceVersionHasBeenSet = true; m_userExperienceVersion = std::move(value); } + + /** + *

    The user experience version of a topic.

    + */ + inline TopicDetails& WithUserExperienceVersion(const TopicUserExperienceVersion& value) { SetUserExperienceVersion(value); return *this;} + + /** + *

    The user experience version of a topic.

    + */ + inline TopicDetails& WithUserExperienceVersion(TopicUserExperienceVersion&& value) { SetUserExperienceVersion(std::move(value)); return *this;} + + /** *

    The data sets that the topic is associated with.

    */ @@ -170,6 +202,9 @@ namespace Model Aws::String m_description; bool m_descriptionHasBeenSet = false; + TopicUserExperienceVersion m_userExperienceVersion; + bool m_userExperienceVersionHasBeenSet = false; + Aws::Vector m_dataSets; bool m_dataSetsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicUserExperienceVersion.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicUserExperienceVersion.h new file mode 100644 index 00000000000..f6ccaee0971 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicUserExperienceVersion.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class TopicUserExperienceVersion + { + NOT_SET, + LEGACY, + NEW_READER_EXPERIENCE + }; + +namespace TopicUserExperienceVersionMapper +{ +AWS_QUICKSIGHT_API TopicUserExperienceVersion GetTopicUserExperienceVersionForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForTopicUserExperienceVersion(TopicUserExperienceVersion value); +} // namespace TopicUserExperienceVersionMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicDetails.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicDetails.cpp index d8832c8c678..b639c0b039a 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicDetails.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicDetails.cpp @@ -21,6 +21,8 @@ namespace Model TopicDetails::TopicDetails() : m_nameHasBeenSet(false), m_descriptionHasBeenSet(false), + m_userExperienceVersion(TopicUserExperienceVersion::NOT_SET), + m_userExperienceVersionHasBeenSet(false), m_dataSetsHasBeenSet(false) { } @@ -28,6 +30,8 @@ TopicDetails::TopicDetails() : TopicDetails::TopicDetails(JsonView jsonValue) : m_nameHasBeenSet(false), m_descriptionHasBeenSet(false), + m_userExperienceVersion(TopicUserExperienceVersion::NOT_SET), + m_userExperienceVersionHasBeenSet(false), m_dataSetsHasBeenSet(false) { *this = jsonValue; @@ -49,6 +53,13 @@ TopicDetails& TopicDetails::operator =(JsonView jsonValue) m_descriptionHasBeenSet = true; } + if(jsonValue.ValueExists("UserExperienceVersion")) + { + m_userExperienceVersion = TopicUserExperienceVersionMapper::GetTopicUserExperienceVersionForName(jsonValue.GetString("UserExperienceVersion")); + + m_userExperienceVersionHasBeenSet = true; + } + if(jsonValue.ValueExists("DataSets")) { Aws::Utils::Array dataSetsJsonList = jsonValue.GetArray("DataSets"); @@ -78,6 +89,11 @@ JsonValue TopicDetails::Jsonize() const } + if(m_userExperienceVersionHasBeenSet) + { + payload.WithString("UserExperienceVersion", TopicUserExperienceVersionMapper::GetNameForTopicUserExperienceVersion(m_userExperienceVersion)); + } + if(m_dataSetsHasBeenSet) { Aws::Utils::Array dataSetsJsonList(m_dataSets.size()); diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicUserExperienceVersion.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicUserExperienceVersion.cpp new file mode 100644 index 00000000000..bd0df9ab0f6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicUserExperienceVersion.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace TopicUserExperienceVersionMapper + { + + static const int LEGACY_HASH = HashingUtils::HashString("LEGACY"); + static const int NEW_READER_EXPERIENCE_HASH = HashingUtils::HashString("NEW_READER_EXPERIENCE"); + + + TopicUserExperienceVersion GetTopicUserExperienceVersionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == LEGACY_HASH) + { + return TopicUserExperienceVersion::LEGACY; + } + else if (hashCode == NEW_READER_EXPERIENCE_HASH) + { + return TopicUserExperienceVersion::NEW_READER_EXPERIENCE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TopicUserExperienceVersion::NOT_SET; + } + + Aws::String GetNameForTopicUserExperienceVersion(TopicUserExperienceVersion enumValue) + { + switch(enumValue) + { + case TopicUserExperienceVersion::NOT_SET: + return {}; + case TopicUserExperienceVersion::LEGACY: + return "LEGACY"; + case TopicUserExperienceVersion::NEW_READER_EXPERIENCE: + return "NEW_READER_EXPERIENCE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TopicUserExperienceVersionMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws 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 66d956becd4..5c0d679462e 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.234" +#define AWS_SDK_VERSION_STRING "1.11.235" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 234 +#define AWS_SDK_VERSION_PATCH 235 diff --git a/tools/code-generation/api-descriptions/apprunner-2020-05-15.normal.json b/tools/code-generation/api-descriptions/apprunner-2020-05-15.normal.json index c69e757d951..6e2744c500c 100644 --- a/tools/code-generation/api-descriptions/apprunner-2020-05-15.normal.json +++ b/tools/code-generation/api-descriptions/apprunner-2020-05-15.normal.json @@ -2122,7 +2122,7 @@ }, "IpAddressType":{ "shape":"IpAddressType", - "documentation":"

    App Runner provides you with the option to choose between Internet Protocol version 4 (IPv4) and dual-stack (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify an IpAddressType, it defaults to select IPv4.

    Currently, App Runner supports dual-stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.

    " + "documentation":"

    App Runner provides you with the option to choose between Internet Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify an IpAddressType, it defaults to select IPv4.

    Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.

    " } }, "documentation":"

    Describes configuration settings related to network traffic of an App Runner service. Consists of embedded objects for each configurable network feature.

    " @@ -2349,7 +2349,9 @@ "GO_1", "DOTNET_6", "PHP_81", - "RUBY_31" + "RUBY_31", + "PYTHON_311", + "NODEJS_18" ] }, "RuntimeEnvironmentSecrets":{ diff --git a/tools/code-generation/api-descriptions/location-2020-11-19.normal.json b/tools/code-generation/api-descriptions/location-2020-11-19.normal.json index 4e2f70081aa..281a74aa5dd 100644 --- a/tools/code-generation/api-descriptions/location-2020-11-19.normal.json +++ b/tools/code-generation/api-descriptions/location-2020-11-19.normal.json @@ -1192,7 +1192,7 @@ }, "AllowResources":{ "shape":"ApiKeyRestrictionsAllowResourcesList", - "documentation":"

    A list of allowed resource ARNs that a API key bearer can perform actions on.

    • The ARN must be the correct ARN for a map, place, or route ARN. You may include wildcards in the resource-id to match multiple resources of the same type.

    • The resources must be in the same partition, region, and account-id as the key that is being created.

    • Other than wildcards, you must include the full ARN, including the arn, partition, service, region, account-id and resource-id, delimited by colons (:).

    • No spaces allowed, even with wildcards. For example, arn:aws:geo:region:account-id:map/ExampleMap*.

    For more information about ARN format, see Amazon Resource Names (ARNs).

    " + "documentation":"

    A list of allowed resource ARNs that a API key bearer can perform actions on.

    For more information about ARN format, see Amazon Resource Names (ARNs).

    " } }, "documentation":"

    API Restrictions on the allowed actions, resources, and referers for an API key resource.

    " @@ -2455,6 +2455,12 @@ "type":"structure", "required":["KeyName"], "members":{ + "ForceDelete":{ + "shape":"Boolean", + "documentation":"

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to delete the key or to false to not preemptively delete the API key.

    Valid values: true, or false.

    Required: No

    This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.

    ", + "location":"querystring", + "locationName":"forceDelete" + }, "KeyName":{ "shape":"ResourceName", "documentation":"

    The name of the API key to delete.

    ", diff --git a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json index 545aeae77cb..6da7d18fbce 100644 --- a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json +++ b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json @@ -2720,6 +2720,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"AccessDeniedException"}, + {"shape":"UnsupportedUserEditionException"}, {"shape":"InternalFailureException"} ], "documentation":"

    Updates the linked analyses on a dashboard.

    " @@ -18763,7 +18764,7 @@ "type":"string", "max":1024, "min":1, - "pattern":"^arn:aws:quicksight:[\\w\\-]+:\\d+:analysis/[\\w\\-]{1,512}" + "pattern":"^arn:aws[\\w\\-]*:quicksight:[\\w\\-]+:\\d+:analysis/[\\w\\-]{1,512}" }, "LinkEntityArnList":{ "type":"list", @@ -28534,6 +28535,10 @@ "shape":"LimitedString", "documentation":"

    The description of the topic.

    " }, + "UserExperienceVersion":{ + "shape":"TopicUserExperienceVersion", + "documentation":"

    The user experience version of a topic.

    " + }, "DataSets":{ "shape":"Datasets", "documentation":"

    The data sets that the topic is associated with.

    " @@ -28864,6 +28869,13 @@ "YEAR" ] }, + "TopicUserExperienceVersion":{ + "type":"string", + "enum":[ + "LEGACY", + "NEW_READER_EXPERIENCE" + ] + }, "TotalAggregationComputation":{ "type":"structure", "required":["ComputationId"],