Skip to content

Commit 761907a

Browse files
Added default_x86_64 and default_arm64 as values to the instanceTypes field.
Customer managed keys now available for volume encryption of SageMaker HyperPod clusters. Amazon Connect Service Feature: Add support to enable multi-user in-app, web, and video calling. Billing and Cost Management Dashboards enables users to create dashboards that combine multiple visualizations of cost and usage data. Users can create, manage, and share dashboards. Tags are also available for dashboards. Adds support for Compute checksum functionality in Amazon S3 Batch Operations. You can now calculate checksums for a list of objects using supported algorithms in Amazon S3, without requiring a restore or download Amazon Connect Service Feature: Add support to enable multi-user in-app, web, and video calling.
1 parent 8c5f0ec commit 761907a

File tree

174 files changed

+13756
-1142
lines changed

Some content is hidden

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

174 files changed

+13756
-1142
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.628
1+
1.11.629
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
#include <algorithm>
6+
#include <aws/core/auth/AWSCredentialsProviderChain.h>
7+
#include <aws/core/client/AsyncCallerContext.h>
8+
#include <aws/core/client/ClientConfiguration.h>
9+
#include <aws/core/client/CoreErrors.h>
10+
#include <aws/core/http/HttpTypes.h>
11+
#include <aws/core/utils/Outcome.h>
12+
#include <aws/core/utils/UnreferencedParam.h>
13+
#include <aws/core/utils/logging/LogMacros.h>
14+
#include <aws/core/utils/memory/AWSMemory.h>
15+
#include <utility>
16+
#include <aws/testing/AwsCppSdkGTestSuite.h>
17+
#include <aws/testing/AwsTestHelpers.h>
18+
#include <aws/bcm-dashboards/BCMDashboardsClient.h>
19+
#include <aws/bcm-dashboards/model/ListDashboardsRequest.h>
20+
21+
namespace BCMDashboardsSmokeTest{
22+
using namespace Aws::Auth;
23+
using namespace Aws::Http;
24+
using namespace Aws::Client;
25+
26+
using namespace Aws::BCMDashboards;
27+
using namespace Aws::BCMDashboards::Model;
28+
class BCMDashboardsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
29+
public:
30+
static const char ALLOCATION_TAG[];
31+
};
32+
const char BCMDashboardsSmokeTestSuite::ALLOCATION_TAG[] = "BCMDashboardsSmokeTest";
33+
TEST_F(BCMDashboardsSmokeTestSuite, ListDashboardsSuccess )
34+
{
35+
Aws::BCMDashboards::BCMDashboardsClientConfiguration clientConfiguration;
36+
clientConfiguration.region = "us-east-1";
37+
clientConfiguration.useFIPS = false;
38+
clientConfiguration.useDualStack = false;
39+
auto clientSp = Aws::MakeShared<BCMDashboardsClient>(ALLOCATION_TAG, clientConfiguration);
40+
//populate input params
41+
42+
ListDashboardsRequest input;
43+
auto outcome = clientSp->ListDashboards(input);
44+
EXPECT_TRUE( outcome.IsSuccess());
45+
}
46+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
add_project(bcm-dashboards-smoke-tests
2+
"Tests for the AWS BCM-DASHBOARDS C++ SDK"
3+
testing-resources
4+
aws-cpp-sdk-bcm-dashboards
5+
aws-cpp-sdk-core
6+
)
7+
file(GLOB AWS_BCM-DASHBOARDS_GENERATED_SMOKE_TEST_SRC
8+
"${CMAKE_CURRENT_SOURCE_DIR}/../RunTests.cpp"
9+
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
10+
)
11+
if(MSVC AND BUILD_SHARED_LIBS)
12+
add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1)
13+
endif()
14+
15+
if (CMAKE_CROSSCOMPILING)
16+
set(AUTORUN_UNIT_TESTS OFF)
17+
endif()
18+
19+
if (AUTORUN_UNIT_TESTS)
20+
enable_testing()
21+
endif()
22+
23+
if(PLATFORM_ANDROID AND BUILD_SHARED_LIBS)
24+
add_library(${PROJECT_NAME} "${AWS_BCM-DASHBOARDS_GENERATED_SMOKE_TEST_SRC}")
25+
else()
26+
add_executable(${PROJECT_NAME} "${AWS_BCM-DASHBOARDS_GENERATED_SMOKE_TEST_SRC}")
27+
endif()
28+
29+
set_compiler_flags(${PROJECT_NAME})
30+
set_compiler_warnings(${PROJECT_NAME})
31+
32+
target_include_directories(${PROJECT_NAME} PUBLIC
33+
${CMAKE_CURRENT_SOURCE_DIR}/../../src/aws-cpp-sdk-bcm-dashboards/include)
34+
35+
target_link_libraries(${PROJECT_NAME}
36+
${PROJECT_LIBS})
37+
38+
if(NOT CMAKE_CROSSCOMPILING)
39+
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
40+
endif()
41+

generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeResource.h

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -161,17 +161,47 @@ namespace Model
161161
* <p>The instances types that can be launched. You can specify instance families
162162
* to launch any instance type within those families (for example, <code>c5</code>
163163
* or <code>p3</code>), or you can specify specific sizes within a family (such as
164-
* <code>c5.8xlarge</code>). You can also choose <code>optimal</code> to select
165-
* instance types (from the C4, M4, and R4 instance families) that match the demand
166-
* of your job queues.</p> <p>This parameter isn't applicable to jobs that
167-
* are running on Fargate resources. Don't specify it.</p> <p>When
168-
* you create a compute environment, the instance types that you select for the
169-
* compute environment must share the same architecture. For example, you can't mix
170-
* x86 and ARM instances in the same compute environment.</p>
171-
* <p>Currently, <code>optimal</code> uses instance types from the C4, M4, and R4
172-
* instance families. In Regions that don't have instance types from those instance
173-
* families, instance types from the C5, M5, and R5 instance families are used.</p>
174-
*
164+
* <code>c5.8xlarge</code>). </p> <p>Batch can select the instance type for you if
165+
* you choose one of the following:</p> <ul> <li> <p> <code>optimal</code> to
166+
* select instance types (from the <code>c4</code>, <code>m4</code>,
167+
* <code>r4</code>, <code>c5</code>, <code>m5</code>, and <code>r5</code> instance
168+
* families) that match the demand of your job queues. </p> </li> <li> <p>
169+
* <code>default_x86_64</code> to choose x86 based instance types (from the
170+
* <code>m6i</code>, <code>c6i</code>, <code>r6i</code>, and <code>c7i</code>
171+
* instance families) that matches the resource demands of the job queue.</p> </li>
172+
* <li> <p> <code>default_arm64</code> to choose x86 based instance types (from the
173+
* <code>m6g</code>, <code>c6g</code>, <code>r6g</code>, and <code>c7g</code>
174+
* instance families) that matches the resource demands of the job queue.</p> </li>
175+
* </ul> <p>Starting on 11/01/2025 the behavior of <code>optimal</code> is
176+
* going to be changed to match <code>default_x86_64</code>. During the change your
177+
* instance families could be updated to a newer generation. You do not need to
178+
* perform any actions for the upgrade to happen. For more information about
179+
* change, see <a
180+
* href="https://docs.aws.amazon.com/batch/latest/userguide/optimal-default-instance-troubleshooting.html">Optimal
181+
* instance type configuration to receive automatic instance family
182+
* updates</a>.</p> <p>Instance family availability varies by Amazon
183+
* Web Services Region. For example, some Amazon Web Services Regions may not have
184+
* any fourth generation instance families but have fifth and sixth generation
185+
* instance families.</p> <p>When using <code>default_x86_64</code> or
186+
* <code>default_arm64</code> instance bundles, Batch selects instance families
187+
* based on a balance of cost-effectiveness and performance. While newer generation
188+
* instances often provide better price-performance, Batch may choose an earlier
189+
* generation instance family if it provides the optimal combination of
190+
* availability, cost, and performance for your workload. For example, in an Amazon
191+
* Web Services Region where both c6i and c7i instances are available, Batch might
192+
* select c6i instances if they offer better cost-effectiveness for your specific
193+
* job requirements. For more information on Batch instance types and Amazon Web
194+
* Services Region availability, see <a
195+
* href="https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html">Instance
196+
* type compute table</a> in the <i>Batch User Guide</i>.</p> <p>Batch periodically
197+
* updates your instances in default bundles to newer, more cost-effective options.
198+
* Updates happen automatically without requiring any action from you. Your
199+
* workloads continue running during updates with no interruption </p>
200+
* <p>This parameter isn't applicable to jobs that are running on Fargate
201+
* resources. Don't specify it.</p> <p>When you create a compute
202+
* environment, the instance types that you select for the compute environment must
203+
* share the same architecture. For example, you can't mix x86 and ARM instances in
204+
* the same compute environment.</p>
175205
*/
176206
inline const Aws::Vector<Aws::String>& GetInstanceTypes() const { return m_instanceTypes; }
177207
inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; }

generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeResourceUpdate.h

Lines changed: 41 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -205,21 +205,47 @@ namespace Model
205205
* <p>The instances types that can be launched. You can specify instance families
206206
* to launch any instance type within those families (for example, <code>c5</code>
207207
* or <code>p3</code>), or you can specify specific sizes within a family (such as
208-
* <code>c5.8xlarge</code>). You can also choose <code>optimal</code> to select
209-
* instance types (from the C4, M4, and R4 instance families) that match the demand
210-
* of your job queues.</p> <p>When updating a compute environment, changing this
211-
* setting requires an infrastructure update of the compute environment. For more
212-
* information, see <a
213-
* href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating
214-
* compute environments</a> in the <i>Batch User Guide</i>.</p> <p>This
215-
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
216-
* specify it.</p> <p>When you create a compute environment, the
217-
* instance types that you select for the compute environment must share the same
218-
* architecture. For example, you can't mix x86 and ARM instances in the same
219-
* compute environment.</p> <p>Currently, <code>optimal</code> uses
220-
* instance types from the C4, M4, and R4 instance families. In Regions that don't
221-
* have instance types from those instance families, instance types from the C5,
222-
* M5, and R5 instance families are used.</p>
208+
* <code>c5.8xlarge</code>). </p> <p>Batch can select the instance type for you if
209+
* you choose one of the following:</p> <ul> <li> <p> <code>optimal</code> to
210+
* select instance types (from the <code>c4</code>, <code>m4</code>,
211+
* <code>r4</code>, <code>c5</code>, <code>m5</code>, and <code>r5</code> instance
212+
* families) that match the demand of your job queues. </p> </li> <li> <p>
213+
* <code>default_x86_64</code> to choose x86 based instance types (from the
214+
* <code>m6i</code>, <code>c6i</code>, <code>r6i</code>, and <code>c7i</code>
215+
* instance families) that matches the resource demands of the job queue.</p> </li>
216+
* <li> <p> <code>default_arm64</code> to choose x86 based instance types (from the
217+
* <code>m6g</code>, <code>c6g</code>, <code>r6g</code>, and <code>c7g</code>
218+
* instance families) that matches the resource demands of the job queue.</p> </li>
219+
* </ul> <p>Starting on 11/01/2025 the behavior of <code>optimal</code> is
220+
* going to be changed to match <code>default_x86_64</code>. During the change your
221+
* instance families could be updated to a newer generation. You do not need to
222+
* perform any actions for the upgrade to happen. For more information about
223+
* change, see <a
224+
* href="https://docs.aws.amazon.com/batch/latest/userguide/optimal-default-instance-troubleshooting.html">Optimal
225+
* instance type configuration to receive automatic instance family
226+
* updates</a>.</p> <p>Instance family availability varies by Amazon
227+
* Web Services Region. For example, some Amazon Web Services Regions may not have
228+
* any fourth generation instance families but have fifth and sixth generation
229+
* instance families.</p> <p>When using <code>default_x86_64</code> or
230+
* <code>default_arm64</code> instance bundles, Batch selects instance families
231+
* based on a balance of cost-effectiveness and performance. While newer generation
232+
* instances often provide better price-performance, Batch may choose an earlier
233+
* generation instance family if it provides the optimal combination of
234+
* availability, cost, and performance for your workload. For example, in an Amazon
235+
* Web Services Region where both c6i and c7i instances are available, Batch might
236+
* select c6i instances if they offer better cost-effectiveness for your specific
237+
* job requirements. For more information on Batch instance types and Amazon Web
238+
* Services Region availability, see <a
239+
* href="https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html">Instance
240+
* type compute table</a> in the <i>Batch User Guide</i>.</p> <p>Batch periodically
241+
* updates your instances in default bundles to newer, more cost-effective options.
242+
* Updates happen automatically without requiring any action from you. Your
243+
* workloads continue running during updates with no interruption </p>
244+
* <p>This parameter isn't applicable to jobs that are running on Fargate
245+
* resources. Don't specify it.</p> <p>When you create a compute
246+
* environment, the instance types that you select for the compute environment must
247+
* share the same architecture. For example, you can't mix x86 and ARM instances in
248+
* the same compute environment.</p>
223249
*/
224250
inline const Aws::Vector<Aws::String>& GetInstanceTypes() const { return m_instanceTypes; }
225251
inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; }

generated/src/aws-cpp-sdk-batch/include/aws/batch/model/LaunchTemplateSpecificationOverride.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ namespace Model
114114
* applied to.</p> <p>This parameter is required when defining a launch template
115115
* override.</p> <p>Information included in this parameter must meet the following
116116
* requirements:</p> <ul> <li> <p>Must be a valid Amazon EC2 instance type or
117-
* family.</p> </li> <li> <p> <code>optimal</code> isn't allowed.</p> </li> <li>
118-
* <p> <code>targetInstanceTypes</code> can target only instance types and families
119-
* that are included within the <a
117+
* family.</p> </li> <li> <p>The following Batch <code>InstanceTypes</code> are not
118+
* allowed: <code>optimal</code>, <code>default_x86_64</code>, and
119+
* <code>default_arm64</code>.</p> </li> <li> <p> <code>targetInstanceTypes</code>
120+
* can target only instance types and families that are included within the <a
120121
* href="https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes">
121122
* <code>ComputeResource.instanceTypes</code> </a> set.
122123
* <code>targetInstanceTypes</code> doesn't need to include all of the instances

generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ListServiceJobsRequest.h

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,24 @@ namespace Model
9494

9595
///@{
9696
/**
97-
* <p>The filters to apply to the service job list query. The filter names and
98-
* values can be:</p> <ul> <li> <p>name: <code>JOB_STATUS</code> </p> <p>values:
99-
* <code>SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILED |
100-
* SCHEDULED</code> </p> </li> <li> <p>name: <code>JOB_NAME</code> </p> <p>values:
101-
* case-insensitive matches for the job name. If a filter value ends with an
102-
* asterisk (*), it matches any job name that begins with the string before the
103-
* '*'.</p> </li> </ul>
97+
* <p>The filter to apply to the query. Only one filter can be used at a time. When
98+
* the filter is used, <code>jobStatus</code> is ignored. The results are sorted by
99+
* the <code>createdAt</code> field, with the most recent jobs being first.</p>
100+
* <dl> <dt>JOB_NAME</dt> <dd> <p>The value of the filter is a case-insensitive
101+
* match for the job name. If the value ends with an asterisk (*), the filter
102+
* matches any job name that begins with the string before the '*'. This
103+
* corresponds to the <code>jobName</code> value. For example, <code>test1</code>
104+
* matches both <code>Test1</code> and <code>test1</code>, and <code>test1*</code>
105+
* matches both <code>test1</code> and <code>Test10</code>. When the
106+
* <code>JOB_NAME</code> filter is used, the results are grouped by the job name
107+
* and version.</p> </dd> <dt>BEFORE_CREATED_AT</dt> <dd> <p>The value for the
108+
* filter is the time that's before the job was created. This corresponds to the
109+
* <code>createdAt</code> value. The value is a string representation of the number
110+
* of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.</p> </dd>
111+
* <dt>AFTER_CREATED_AT</dt> <dd> <p>The value for the filter is the time that's
112+
* after the job was created. This corresponds to the <code>createdAt</code> value.
113+
* The value is a string representation of the number of milliseconds since
114+
* 00:00:00 UTC (midnight) on January 1, 1970.</p> </dd> </dl>
104115
*/
105116
inline const Aws::Vector<KeyValuesPair>& GetFilters() const { return m_filters; }
106117
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }

generated/src/aws-cpp-sdk-batch/include/aws/batch/model/UpdateConsumableResourceRequest.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ namespace Model
8080
/**
8181
* <p>If this parameter is specified and two update requests with identical
8282
* payloads and <code>clientToken</code>s are received, these requests are
83-
* considered the same request and the second request is rejected. A
84-
* <code>clientToken</code> is valid for 8 hours or until one hour after the
85-
* consumable resource is deleted, whichever is less.</p>
83+
* considered the same request. Both requests will succeed, but the update will
84+
* only happen once. A <code>clientToken</code> is valid for 8 hours.</p>
8685
*/
8786
inline const Aws::String& GetClientToken() const { return m_clientToken; }
8887
inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
add_project(aws-cpp-sdk-bcm-dashboards "C++ SDK for the AWS bcm-dashboards service" aws-cpp-sdk-core)
2+
3+
file(GLOB AWS_BCM-DASHBOARDS_HEADERS
4+
"include/aws/bcm-dashboards/*.h"
5+
)
6+
7+
file(GLOB AWS_BCM-DASHBOARDS_MODEL_HEADERS
8+
"include/aws/bcm-dashboards/model/*.h"
9+
)
10+
11+
file(GLOB AWS_BCM-DASHBOARDS_SOURCE
12+
"source/*.cpp"
13+
)
14+
15+
file(GLOB AWS_BCM-DASHBOARDS_MODEL_SOURCE
16+
"source/model/*.cpp"
17+
)
18+
19+
file(GLOB BCM-DASHBOARDS_UNIFIED_HEADERS
20+
${AWS_BCM-DASHBOARDS_HEADERS}
21+
${AWS_BCM-DASHBOARDS_MODEL_HEADERS}
22+
)
23+
24+
file(GLOB BCM-DASHBOARDS_UNITY_SRC
25+
${AWS_BCM-DASHBOARDS_SOURCE}
26+
${AWS_BCM-DASHBOARDS_MODEL_SOURCE}
27+
)
28+
29+
if(ENABLE_UNITY_BUILD)
30+
enable_unity_build("BCM-DASHBOARDS" BCM-DASHBOARDS_UNITY_SRC)
31+
endif()
32+
33+
file(GLOB BCM-DASHBOARDS_SRC
34+
${BCM-DASHBOARDS_UNIFIED_HEADERS}
35+
${BCM-DASHBOARDS_UNITY_SRC}
36+
)
37+
38+
if(WIN32)
39+
#if we are compiling for visual studio, create a sane directory tree.
40+
if(MSVC)
41+
source_group("Header Files\\aws\\bcm-dashboards" FILES ${AWS_BCM-DASHBOARDS_HEADERS})
42+
source_group("Header Files\\aws\\bcm-dashboards\\model" FILES ${AWS_BCM-DASHBOARDS_MODEL_HEADERS})
43+
source_group("Source Files" FILES ${AWS_BCM-DASHBOARDS_SOURCE})
44+
source_group("Source Files\\model" FILES ${AWS_BCM-DASHBOARDS_MODEL_SOURCE})
45+
endif(MSVC)
46+
endif()
47+
48+
set(BCM-DASHBOARDS_INCLUDES
49+
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
50+
)
51+
52+
add_library(${PROJECT_NAME} ${BCM-DASHBOARDS_SRC})
53+
add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
54+
55+
set_compiler_flags(${PROJECT_NAME})
56+
set_compiler_warnings(${PROJECT_NAME})
57+
58+
if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS)
59+
target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_BCMDASHBOARDS_EXPORTS")
60+
endif()
61+
62+
target_include_directories(${PROJECT_NAME} PUBLIC
63+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
64+
$<INSTALL_INTERFACE:include>)
65+
66+
target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS})
67+
68+
69+
setup_install()
70+
71+
install (FILES ${AWS_BCM-DASHBOARDS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/bcm-dashboards)
72+
install (FILES ${AWS_BCM-DASHBOARDS_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/bcm-dashboards/model)
73+
74+
do_packaging()
75+
76+

0 commit comments

Comments
 (0)