Skip to content

Commit 30e8ce1

Browse files
authored
Merge branch 'main' into cailinn
2 parents d14ed7f + 0ea782e commit 30e8ce1

File tree

388 files changed

+15904
-7053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

388 files changed

+15904
-7053
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ if (LEGACY_BUILD)
6161
option(ENABLE_ZLIB_REQUEST_COMPRESSION "For services that support it, request content will be compressed. On by default if dependency available" ON)
6262
option(DISABLE_INTERNAL_IMDSV1_CALLS "Disables IMDSv1 internal client calls" OFF)
6363
option(BUILD_BENCHMARKS "Enables building the benchmark executable" OFF)
64+
option(BUILD_PERFORMANCE_TESTS "Enables building the performance test executables" OFF)
6465
option(BUILD_OPTEL "Enables building the open telemetry implementation of tracing" OFF)
6566
option(AWS_SDK_WARNINGS_ARE_ERRORS "Compiler warning is treated as an error. Try turning this off when observing errors on a new or uncommon compiler" ON)
6667
option(BUILD_OPTEL_OTLP_BENCHMARKS "Enables building the benchmark tests with open telemetry OTLP clients" OFF)
@@ -341,6 +342,11 @@ if (LEGACY_BUILD)
341342
add_sdks()
342343
include(tests)
343344

345+
# Performance tests for services
346+
if (BUILD_PERFORMANCE_TESTS)
347+
add_subdirectory(tests/performance-tests)
348+
endif()
349+
344350
# for user friendly cmake usage
345351
include(setup_cmake_find_module)
346352

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.606
1+
1.11.610

docs/CMake_Parameters.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ You can also tell gcc or clang to pass these linker flags by specifying `-Wl,--g
128128
### BUILD_BENCHMARKS
129129
(Defaults to OFF) Enables building the benchmark executable
130130

131+
### BUILD_PERFORMANCE_TESTS
132+
(Defaults to OFF) Enables building the performance test executables for S3 and DynamoDB. These tests measure operation latencies and output results to JSON files. Requires S3 and DynamoDB clients to be built.
133+
131134
### BUILD_OPTEL
132135
(Defaults to OFF) Enables building the open telemetry implementation of tracing
133136

generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/ProtectedQueryInputParameters.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
88
#include <aws/cleanroomsml/model/ProtectedQuerySQLParameters.h>
99
#include <aws/cleanroomsml/model/ComputeConfiguration.h>
10+
#include <aws/cleanroomsml/model/ResultFormat.h>
1011
#include <utility>
1112

1213
namespace Aws
@@ -61,13 +62,27 @@ namespace Model
6162
template<typename ComputeConfigurationT = ComputeConfiguration>
6263
ProtectedQueryInputParameters& WithComputeConfiguration(ComputeConfigurationT&& value) { SetComputeConfiguration(std::forward<ComputeConfigurationT>(value)); return *this;}
6364
///@}
65+
66+
///@{
67+
/**
68+
* <p>The format in which the query results should be returned. If not specified,
69+
* defaults to <code>CSV</code>. </p>
70+
*/
71+
inline ResultFormat GetResultFormat() const { return m_resultFormat; }
72+
inline bool ResultFormatHasBeenSet() const { return m_resultFormatHasBeenSet; }
73+
inline void SetResultFormat(ResultFormat value) { m_resultFormatHasBeenSet = true; m_resultFormat = value; }
74+
inline ProtectedQueryInputParameters& WithResultFormat(ResultFormat value) { SetResultFormat(value); return *this;}
75+
///@}
6476
private:
6577

6678
ProtectedQuerySQLParameters m_sqlParameters;
6779
bool m_sqlParametersHasBeenSet = false;
6880

6981
ComputeConfiguration m_computeConfiguration;
7082
bool m_computeConfigurationHasBeenSet = false;
83+
84+
ResultFormat m_resultFormat{ResultFormat::NOT_SET};
85+
bool m_resultFormatHasBeenSet = false;
7186
};
7287

7388
} // namespace Model
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace CleanRoomsML
13+
{
14+
namespace Model
15+
{
16+
enum class ResultFormat
17+
{
18+
NOT_SET,
19+
CSV,
20+
PARQUET
21+
};
22+
23+
namespace ResultFormatMapper
24+
{
25+
AWS_CLEANROOMSML_API ResultFormat GetResultFormatForName(const Aws::String& name);
26+
27+
AWS_CLEANROOMSML_API Aws::String GetNameForResultFormat(ResultFormat value);
28+
} // namespace ResultFormatMapper
29+
} // namespace Model
30+
} // namespace CleanRoomsML
31+
} // namespace Aws

generated/src/aws-cpp-sdk-cleanroomsml/source/model/ProtectedQueryInputParameters.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ ProtectedQueryInputParameters& ProtectedQueryInputParameters::operator =(JsonVie
3535
m_computeConfiguration = jsonValue.GetObject("computeConfiguration");
3636
m_computeConfigurationHasBeenSet = true;
3737
}
38+
if(jsonValue.ValueExists("resultFormat"))
39+
{
40+
m_resultFormat = ResultFormatMapper::GetResultFormatForName(jsonValue.GetString("resultFormat"));
41+
m_resultFormatHasBeenSet = true;
42+
}
3843
return *this;
3944
}
4045

@@ -54,6 +59,11 @@ JsonValue ProtectedQueryInputParameters::Jsonize() const
5459

5560
}
5661

62+
if(m_resultFormatHasBeenSet)
63+
{
64+
payload.WithString("resultFormat", ResultFormatMapper::GetNameForResultFormat(m_resultFormat));
65+
}
66+
5767
return payload;
5868
}
5969

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/cleanroomsml/model/ResultFormat.h>
7+
#include <aws/core/utils/HashingUtils.h>
8+
#include <aws/core/Globals.h>
9+
#include <aws/core/utils/EnumParseOverflowContainer.h>
10+
11+
using namespace Aws::Utils;
12+
13+
14+
namespace Aws
15+
{
16+
namespace CleanRoomsML
17+
{
18+
namespace Model
19+
{
20+
namespace ResultFormatMapper
21+
{
22+
23+
static const int CSV_HASH = HashingUtils::HashString("CSV");
24+
static const int PARQUET_HASH = HashingUtils::HashString("PARQUET");
25+
26+
27+
ResultFormat GetResultFormatForName(const Aws::String& name)
28+
{
29+
int hashCode = HashingUtils::HashString(name.c_str());
30+
if (hashCode == CSV_HASH)
31+
{
32+
return ResultFormat::CSV;
33+
}
34+
else if (hashCode == PARQUET_HASH)
35+
{
36+
return ResultFormat::PARQUET;
37+
}
38+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
39+
if(overflowContainer)
40+
{
41+
overflowContainer->StoreOverflow(hashCode, name);
42+
return static_cast<ResultFormat>(hashCode);
43+
}
44+
45+
return ResultFormat::NOT_SET;
46+
}
47+
48+
Aws::String GetNameForResultFormat(ResultFormat enumValue)
49+
{
50+
switch(enumValue)
51+
{
52+
case ResultFormat::NOT_SET:
53+
return {};
54+
case ResultFormat::CSV:
55+
return "CSV";
56+
case ResultFormat::PARQUET:
57+
return "PARQUET";
58+
default:
59+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
60+
if(overflowContainer)
61+
{
62+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
63+
}
64+
65+
return {};
66+
}
67+
}
68+
69+
} // namespace ResultFormatMapper
70+
} // namespace Model
71+
} // namespace CleanRoomsML
72+
} // namespace Aws

generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontClient.h

Lines changed: 89 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,25 @@ namespace CloudFront
8484

8585

8686
/**
87-
* <p>Associates an alias (also known as a CNAME or an alternate domain name) with
88-
* a CloudFront distribution.</p> <p>With this operation you can move an alias
89-
* that's already in use on a CloudFront distribution to a different distribution
90-
* in one step. This prevents the downtime that could occur if you first remove the
91-
* alias from one distribution and then separately add the alias to another
92-
* distribution.</p> <p>To use this operation to associate an alias with a
93-
* distribution, you provide the alias and the ID of the target distribution for
94-
* the alias. For more information, including how to set up the target
87+
* <p> <p>The <code>AssociateAlias</code> API operation only supports
88+
* standard distributions. To move domains between distribution tenants and/or
89+
* standard distributions, we recommend that you use the <a
90+
* href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDomainAssociation.html">UpdateDomainAssociation</a>
91+
* API operation instead.</p> <p>Associates an alias with a CloudFront
92+
* standard distribution. An alias is commonly known as a custom domain or vanity
93+
* domain. It can also be called a CNAME or alternate domain name.</p> <p>With this
94+
* operation, you can move an alias that's already used for a standard distribution
95+
* to a different standard distribution. This prevents the downtime that could
96+
* occur if you first remove the alias from one standard distribution and then
97+
* separately add the alias to another standard distribution.</p> <p>To use this
98+
* operation, specify the alias and the ID of the target standard distribution.</p>
99+
* <p>For more information, including how to set up the target standard
95100
* distribution, prerequisites that you must complete, and other restrictions, see
96101
* <a
97102
* href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving
98-
* an alternate domain name to a different distribution</a> in the <i>Amazon
99-
* CloudFront Developer Guide</i>.</p><p><h3>See Also:</h3> <a
103+
* an alternate domain name to a different standard distribution or distribution
104+
* tenant</a> in the <i>Amazon CloudFront Developer Guide</i>.</p></p><p><h3>See
105+
* Also:</h3> <a
100106
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias2020_05_31">AWS
101107
* API Reference</a></p>
102108
*/
@@ -2682,33 +2688,39 @@ namespace CloudFront
26822688
}
26832689

26842690
/**
2685-
* <p>Gets a list of aliases (also called CNAMEs or alternate domain names) that
2686-
* conflict or overlap with the provided alias, and the associated CloudFront
2687-
* distributions and Amazon Web Services accounts for each conflicting alias. In
2688-
* the returned list, the distribution and account IDs are partially hidden, which
2689-
* allows you to identify the distributions and accounts that you own, but helps to
2691+
* <p> <p>The <code>ListConflictingAliases</code> API operation only supports
2692+
* standard distributions. To list domain conflicts for both standard distributions
2693+
* and distribution tenants, we recommend that you use the <a
2694+
* href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDomainConflicts.html">ListDomainConflicts</a>
2695+
* API operation instead.</p> <p>Gets a list of aliases that conflict or
2696+
* overlap with the provided alias, and the associated CloudFront standard
2697+
* distribution and Amazon Web Services accounts for each conflicting alias. An
2698+
* alias is commonly known as a custom domain or vanity domain. It can also be
2699+
* called a CNAME or alternate domain name.</p> <p>In the returned list, the
2700+
* standard distribution and account IDs are partially hidden, which allows you to
2701+
* identify the standard distribution and accounts that you own, and helps to
26902702
* protect the information of ones that you don't own.</p> <p>Use this operation to
26912703
* find aliases that are in use in CloudFront that conflict or overlap with the
26922704
* provided alias. For example, if you provide <code>www.example.com</code> as
26932705
* input, the returned list can include <code>www.example.com</code> and the
2694-
* overlapping wildcard alternate domain name (<code>*.example.com</code>), if they
2695-
* exist. If you provide <code>*.example.com</code> as input, the returned list can
2696-
* include <code>*.example.com</code> and any alternate domain names covered by
2697-
* that wildcard (for example, <code>www.example.com</code>,
2706+
* overlapping wildcard alternate domain name (<code><em>.example.com</code>), if
2707+
* they exist. If you provide <code></em>.example.com</code> as input, the returned
2708+
* list can include <code>*.example.com</code> and any alternate domain names
2709+
* covered by that wildcard (for example, <code>www.example.com</code>,
26982710
* <code>test.example.com</code>, <code>dev.example.com</code>, and so on), if they
2699-
* exist.</p> <p>To list conflicting aliases, you provide the alias to search and
2700-
* the ID of a distribution in your account that has an attached SSL/TLS
2711+
* exist.</p> <p>To list conflicting aliases, specify the alias to search and the
2712+
* ID of a standard distribution in your account that has an attached TLS
27012713
* certificate that includes the provided alias. For more information, including
2702-
* how to set up the distribution and certificate, see <a
2714+
* how to set up the standard distribution and certificate, see <a
27032715
* href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving
2704-
* an alternate domain name to a different distribution</a> in the <i>Amazon
2705-
* CloudFront Developer Guide</i>.</p> <p>You can optionally specify the maximum
2706-
* number of items to receive in the response. If the total number of items in the
2707-
* list exceeds the maximum that you specify, or the default maximum, the response
2708-
* is paginated. To get the next page of items, send a subsequent request that
2709-
* specifies the <code>NextMarker</code> value from the current response as the
2710-
* <code>Marker</code> value in the subsequent request.</p><p><h3>See Also:</h3>
2711-
* <a
2716+
* an alternate domain name to a different standard distribution or distribution
2717+
* tenant</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>You can
2718+
* optionally specify the maximum number of items to receive in the response. If
2719+
* the total number of items in the list exceeds the maximum that you specify, or
2720+
* the default maximum, the response is paginated. To get the next page of items,
2721+
* send a subsequent request that specifies the <code>NextMarker</code> value from
2722+
* the current response as the <code>Marker</code> value in the subsequent
2723+
* request.</p></p><p><h3>See Also:</h3> <a
27122724
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases2020_05_31">AWS
27132725
* API Reference</a></p>
27142726
*/
@@ -3137,10 +3149,37 @@ namespace CloudFront
31373149
}
31383150

31393151
/**
3152+
* <p> <p>We recommend that you use the <code>ListDomainConflicts</code> API
3153+
* operation to check for domain conflicts, as it supports both standard
3154+
* distributions and distribution tenants. <a
3155+
* href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListConflictingAliases.html">ListConflictingAliases</a>
3156+
* performs similar checks but only supports standard distributions.</p>
31403157
* <p>Lists existing domain associations that conflict with the domain that you
3141-
* specify.</p> <p>You can use this API operation when transferring domains to
3142-
* identify potential domain conflicts. Domain conflicts must be resolved first
3143-
* before they can be moved.</p><p><h3>See Also:</h3> <a
3158+
* specify.</p> <p>You can use this API operation to identify potential domain
3159+
* conflicts when moving domains between standard distributions and/or distribution
3160+
* tenants. Domain conflicts must be resolved first before they can be moved. </p>
3161+
* <p>For example, if you provide <code>www.example.com</code> as input, the
3162+
* returned list can include <code>www.example.com</code> and the overlapping
3163+
* wildcard alternate domain name (<code><em>.example.com</code>), if they exist.
3164+
* If you provide <code></em>.example.com</code> as input, the returned list can
3165+
* include <code>*.example.com</code> and any alternate domain names covered by
3166+
* that wildcard (for example, <code>www.example.com</code>,
3167+
* <code>test.example.com</code>, <code>dev.example.com</code>, and so on), if they
3168+
* exist.</p> <p>To list conflicting domains, specify the following:</p> <ul> <li>
3169+
* <p>The domain to search for</p> </li> <li> <p>The ID of a standard distribution
3170+
* or distribution tenant in your account that has an attached TLS certificate,
3171+
* which covers the specified domain</p> </li> </ul> <p>For more information,
3172+
* including how to set up the standard distribution or distribution tenant, and
3173+
* the certificate, see <a
3174+
* href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving
3175+
* an alternate domain name to a different standard distribution or distribution
3176+
* tenant</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>You can
3177+
* optionally specify the maximum number of items to receive in the response. If
3178+
* the total number of items in the list exceeds the maximum that you specify, or
3179+
* the default maximum, the response is paginated. To get the next page of items,
3180+
* send a subsequent request that specifies the <code>NextMarker</code> value from
3181+
* the current response as the <code>Marker</code> value in the subsequent
3182+
* request.</p></p><p><h3>See Also:</h3> <a
31443183
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDomainConflicts2020_05_31">AWS
31453184
* API Reference</a></p>
31463185
*/
@@ -3950,8 +3989,23 @@ namespace CloudFront
39503989
}
39513990

39523991
/**
3953-
* <p>Moves a domain from its current distribution or distribution tenant to
3954-
* another one.</p><p><h3>See Also:</h3> <a
3992+
* <p> <p>We recommend that you use the <code>UpdateDomainAssociation</code>
3993+
* API operation to move a domain association, as it supports both standard
3994+
* distributions and distribution tenants. <a
3995+
* href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_AssociateAlias.html">AssociateAlias</a>
3996+
* performs similar checks but only supports standard distributions.</p>
3997+
* <p>Moves a domain from its current standard distribution or distribution tenant
3998+
* to another one.</p> <p>You must first disable the source distribution (standard
3999+
* distribution or distribution tenant) and then separately call this operation to
4000+
* move the domain to another target distribution (standard distribution or
4001+
* distribution tenant).</p> <p>To use this operation, specify the domain and the
4002+
* ID of the target resource (standard distribution or distribution tenant). For
4003+
* more information, including how to set up the target resource, prerequisites
4004+
* that you must complete, and other restrictions, see <a
4005+
* href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving
4006+
* an alternate domain name to a different standard distribution or distribution
4007+
* tenant</a> in the <i>Amazon CloudFront Developer Guide</i>.</p></p><p><h3>See
4008+
* Also:</h3> <a
39554009
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDomainAssociation2020_05_31">AWS
39564010
* API Reference</a></p>
39574011
*/

generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/AssociateAlias2020_05_31Request.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ namespace Model
4040

4141
///@{
4242
/**
43-
* <p>The ID of the distribution that you're associating the alias with.</p>
43+
* <p>The ID of the standard distribution that you're associating the alias
44+
* with.</p>
4445
*/
4546
inline const Aws::String& GetTargetDistributionId() const { return m_targetDistributionId; }
4647
inline bool TargetDistributionIdHasBeenSet() const { return m_targetDistributionIdHasBeenSet; }
@@ -52,7 +53,8 @@ namespace Model
5253

5354
///@{
5455
/**
55-
* <p>The alias (also known as a CNAME) to add to the target distribution.</p>
56+
* <p>The alias (also known as a CNAME) to add to the target standard
57+
* distribution.</p>
5658
*/
5759
inline const Aws::String& GetAlias() const { return m_alias; }
5860
inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }

0 commit comments

Comments
 (0)