Skip to content

Commit 1361161

Browse files
Added fields to track cumulative task retry attempts for steps and jobs
This release provides change data capture (CDC) streams support through updates to the Amazon Keyspaces API. This release adds support for OdbNetworkArn as a target in VPC Route Tables Added support for App level authentication for QBusiness DataAccessor using AWS IAM Identity center Trusted Token issuer This release adds change data capture (CDC) streams support through the new Amazon Keyspaces Streams API. Adding managed integrations APIs for IoT Device Management to onboard and control devices across different manufacturers, connectivity protocols and third party vendor clouds. APIs include managed thing operations, provisioning profile management, and cloud connector operations. Updated modifyStreamingProperties to support PrivateLink VPC endpoints for directories This release updates AWS CLI examples for KMS APIs.
1 parent f54ce6e commit 1361161

File tree

346 files changed

+26591
-1207
lines changed

Some content is hidden

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

346 files changed

+26591
-1207
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.596
1+
1.11.597
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
add_project(iot-managed-integrations-smoke-tests
2+
"Tests for the AWS IOT-MANAGED-INTEGRATIONS C++ SDK"
3+
testing-resources
4+
aws-cpp-sdk-iot-managed-integrations
5+
aws-cpp-sdk-core
6+
)
7+
file(GLOB AWS_IOT-MANAGED-INTEGRATIONS_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_IOT-MANAGED-INTEGRATIONS_GENERATED_SMOKE_TEST_SRC}")
25+
else()
26+
add_executable(${PROJECT_NAME} "${AWS_IOT-MANAGED-INTEGRATIONS_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-iot-managed-integrations/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+
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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/core/utils/memory/stl/AWSString.h>
19+
#include <aws/iot-managed-integrations/IoTManagedIntegrationsClient.h>
20+
#include <aws/iot-managed-integrations/model/GetCustomEndpointRequest.h>
21+
#include <aws/iot-managed-integrations/model/ListTagsForResourceRequest.h>
22+
23+
namespace IoTManagedIntegrationsSmokeTest{
24+
using namespace Aws::Auth;
25+
using namespace Aws::Http;
26+
using namespace Aws::Client;
27+
28+
using namespace Aws::IoTManagedIntegrations;
29+
using namespace Aws::IoTManagedIntegrations::Model;
30+
class IoTManagedIntegrationsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
31+
public:
32+
static const char ALLOCATION_TAG[];
33+
};
34+
const char IoTManagedIntegrationsSmokeTestSuite::ALLOCATION_TAG[] = "IoTManagedIntegrationsSmokeTest";
35+
TEST_F(IoTManagedIntegrationsSmokeTestSuite, GetCustomEndpointSuccess )
36+
{
37+
Aws::IoTManagedIntegrations::IoTManagedIntegrationsClientConfiguration clientConfiguration;
38+
clientConfiguration.region = "us-east-1";
39+
clientConfiguration.useFIPS = false;
40+
clientConfiguration.useDualStack = false;
41+
auto clientSp = Aws::MakeShared<IoTManagedIntegrationsClient>(ALLOCATION_TAG, clientConfiguration);
42+
//populate input params
43+
44+
GetCustomEndpointRequest input;
45+
auto outcome = clientSp->GetCustomEndpoint(input);
46+
EXPECT_TRUE( outcome.IsSuccess());
47+
}
48+
TEST_F(IoTManagedIntegrationsSmokeTestSuite, ListTagsForResourceNotFound )
49+
{
50+
Aws::IoTManagedIntegrations::IoTManagedIntegrationsClientConfiguration clientConfiguration;
51+
clientConfiguration.region = "us-east-1";
52+
clientConfiguration.useFIPS = false;
53+
clientConfiguration.useDualStack = false;
54+
auto clientSp = Aws::MakeShared<IoTManagedIntegrationsClient>(ALLOCATION_TAG, clientConfiguration);
55+
//populate input params
56+
57+
ListTagsForResourceRequest input;
58+
input.SetResourceArn("arn:aws:iotmanagedintegrations:us-east-1:123456789012:managed-thing/nonexistent");
59+
auto outcome = clientSp->ListTagsForResource(input);
60+
EXPECT_FALSE( outcome.IsSuccess());
61+
}
62+
TEST_F(IoTManagedIntegrationsSmokeTestSuite, ListTagsForResourceSuccess )
63+
{
64+
Aws::IoTManagedIntegrations::IoTManagedIntegrationsClientConfiguration clientConfiguration;
65+
clientConfiguration.region = "us-east-1";
66+
clientConfiguration.useFIPS = false;
67+
clientConfiguration.useDualStack = false;
68+
auto clientSp = Aws::MakeShared<IoTManagedIntegrationsClient>(ALLOCATION_TAG, clientConfiguration);
69+
//populate input params
70+
71+
ListTagsForResourceRequest input;
72+
input.SetResourceArn("arn:aws:iotmanagedintegrations:us-east-1:123456789012:managed-thing/test123");
73+
auto outcome = clientSp->ListTagsForResource(input);
74+
EXPECT_TRUE( outcome.IsSuccess());
75+
}
76+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
add_project(keyspacesstreams-smoke-tests
2+
"Tests for the AWS KEYSPACESSTREAMS C++ SDK"
3+
testing-resources
4+
aws-cpp-sdk-keyspacesstreams
5+
aws-cpp-sdk-core
6+
)
7+
file(GLOB AWS_KEYSPACESSTREAMS_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_KEYSPACESSTREAMS_GENERATED_SMOKE_TEST_SRC}")
25+
else()
26+
add_executable(${PROJECT_NAME} "${AWS_KEYSPACESSTREAMS_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-keyspacesstreams/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+
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/keyspacesstreams/KeyspacesStreamsClient.h>
19+
#include <aws/keyspacesstreams/model/ListStreamsRequest.h>
20+
21+
namespace KeyspacesStreamsSmokeTest{
22+
using namespace Aws::Auth;
23+
using namespace Aws::Http;
24+
using namespace Aws::Client;
25+
26+
using namespace Aws::KeyspacesStreams;
27+
using namespace Aws::KeyspacesStreams::Model;
28+
class KeyspacesStreamsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
29+
public:
30+
static const char ALLOCATION_TAG[];
31+
};
32+
const char KeyspacesStreamsSmokeTestSuite::ALLOCATION_TAG[] = "KeyspacesStreamsSmokeTest";
33+
TEST_F(KeyspacesStreamsSmokeTestSuite, ListStreamsSuccess )
34+
{
35+
Aws::KeyspacesStreams::KeyspacesStreamsClientConfiguration clientConfiguration;
36+
clientConfiguration.region = "us-east-1";
37+
clientConfiguration.useFIPS = false;
38+
clientConfiguration.useDualStack = false;
39+
auto clientSp = Aws::MakeShared<KeyspacesStreamsClient>(ALLOCATION_TAG, clientConfiguration);
40+
//populate input params
41+
42+
ListStreamsRequest input;
43+
auto outcome = clientSp->ListStreams(input);
44+
EXPECT_TRUE( outcome.IsSuccess());
45+
}
46+
}

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorSelection.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace Model
4343
/**
4444
* <p>The name of the chip used by the GPU accelerator.</p> <p>If you specify
4545
* <code>l4</code> as the name of the accelerator, you must specify
46-
* <code>latest</code> or <code>grid:r550</code> as the runtime.</p> <p>The
46+
* <code>latest</code> or <code>grid:r570</code> as the runtime.</p> <p>The
4747
* available GPU accelerators are:</p> <ul> <li> <p> <code>t4</code> - NVIDIA T4
4848
* Tensor Core GPU</p> </li> <li> <p> <code>a10g</code> - NVIDIA A10G Tensor Core
4949
* GPU</p> </li> <li> <p> <code>l4</code> - NVIDIA L4 Tensor Core GPU</p> </li>
@@ -62,8 +62,8 @@ namespace Model
6262
* runtimes:</p> <ul> <li> <p> <code>latest</code> - Use the latest runtime
6363
* available for the chip. If you specify <code>latest</code> and a new version of
6464
* the runtime is released, the new version of the runtime is used.</p> </li> <li>
65-
* <p> <code>grid:r550</code> - <a
66-
* href="https://docs.nvidia.com/vgpu/17.0/index.html">NVIDIA vGPU software 17</a>
65+
* <p> <code>grid:r570</code> - <a
66+
* href="https://docs.nvidia.com/vgpu/18.0/index.html">NVIDIA vGPU software 18</a>
6767
* </p> </li> <li> <p> <code>grid:r535</code> - <a
6868
* href="https://docs.nvidia.com/vgpu/16.0/index.html">NVIDIA vGPU software 16</a>
6969
* </p> </li> </ul> <p>If you don't specify a runtime, Deadline Cloud uses

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetResult.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace Model
8888

8989
///@{
9090
/**
91-
* <p>The Auto Scaling status of the fleet.</p>
91+
* <p>The status of the fleet.</p>
9292
*/
9393
inline FleetStatus GetStatus() const { return m_status; }
9494
inline void SetStatus(FleetStatus value) { m_statusHasBeenSet = true; m_status = value; }

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobResult.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,15 @@ namespace Model
188188
}
189189
///@}
190190

191+
///@{
192+
/**
193+
* <p>The total number of times tasks from the job failed and were retried.</p>
194+
*/
195+
inline int GetTaskFailureRetryCount() const { return m_taskFailureRetryCount; }
196+
inline void SetTaskFailureRetryCount(int value) { m_taskFailureRetryCountHasBeenSet = true; m_taskFailureRetryCount = value; }
197+
inline GetJobResult& WithTaskFailureRetryCount(int value) { SetTaskFailureRetryCount(value); return *this;}
198+
///@}
199+
191200
///@{
192201
/**
193202
* <p>The storage profile ID associated with the job.</p>
@@ -333,6 +342,9 @@ namespace Model
333342
Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
334343
bool m_taskRunStatusCountsHasBeenSet = false;
335344

345+
int m_taskFailureRetryCount{0};
346+
bool m_taskFailureRetryCountHasBeenSet = false;
347+
336348
Aws::String m_storageProfileId;
337349
bool m_storageProfileIdHasBeenSet = false;
338350

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepResult.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ namespace Model
105105
}
106106
///@}
107107

108+
///@{
109+
/**
110+
* <p>The total number of times tasks from the step failed and were retried.</p>
111+
*/
112+
inline int GetTaskFailureRetryCount() const { return m_taskFailureRetryCount; }
113+
inline void SetTaskFailureRetryCount(int value) { m_taskFailureRetryCountHasBeenSet = true; m_taskFailureRetryCount = value; }
114+
inline GetStepResult& WithTaskFailureRetryCount(int value) { SetTaskFailureRetryCount(value); return *this;}
115+
///@}
116+
108117
///@{
109118
/**
110119
* <p>The task status with which the job started.</p>
@@ -254,6 +263,9 @@ namespace Model
254263
Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
255264
bool m_taskRunStatusCountsHasBeenSet = false;
256265

266+
int m_taskFailureRetryCount{0};
267+
bool m_taskFailureRetryCountHasBeenSet = false;
268+
257269
StepTargetTaskRunStatus m_targetTaskRunStatus{StepTargetTaskRunStatus::NOT_SET};
258270
bool m_targetTaskRunStatusHasBeenSet = false;
259271

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSearchSummary.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,16 @@ namespace Model
146146
}
147147
///@}
148148

149+
///@{
150+
/**
151+
* <p>The total number of times tasks from the job failed and were retried.</p>
152+
*/
153+
inline int GetTaskFailureRetryCount() const { return m_taskFailureRetryCount; }
154+
inline bool TaskFailureRetryCountHasBeenSet() const { return m_taskFailureRetryCountHasBeenSet; }
155+
inline void SetTaskFailureRetryCount(int value) { m_taskFailureRetryCountHasBeenSet = true; m_taskFailureRetryCount = value; }
156+
inline JobSearchSummary& WithTaskFailureRetryCount(int value) { SetTaskFailureRetryCount(value); return *this;}
157+
///@}
158+
149159
///@{
150160
/**
151161
* <p>The job priority.</p>
@@ -293,6 +303,9 @@ namespace Model
293303
Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
294304
bool m_taskRunStatusCountsHasBeenSet = false;
295305

306+
int m_taskFailureRetryCount{0};
307+
bool m_taskFailureRetryCountHasBeenSet = false;
308+
296309
int m_priority{0};
297310
bool m_priorityHasBeenSet = false;
298311

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSummary.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,16 @@ namespace Model
215215
}
216216
///@}
217217

218+
///@{
219+
/**
220+
* <p>The total number of times tasks from the job failed and were retried.</p>
221+
*/
222+
inline int GetTaskFailureRetryCount() const { return m_taskFailureRetryCount; }
223+
inline bool TaskFailureRetryCountHasBeenSet() const { return m_taskFailureRetryCountHasBeenSet; }
224+
inline void SetTaskFailureRetryCount(int value) { m_taskFailureRetryCountHasBeenSet = true; m_taskFailureRetryCount = value; }
225+
inline JobSummary& WithTaskFailureRetryCount(int value) { SetTaskFailureRetryCount(value); return *this;}
226+
///@}
227+
218228
///@{
219229
/**
220230
* <p>The number of task failures before the job stops running and is marked as
@@ -306,6 +316,9 @@ namespace Model
306316
Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
307317
bool m_taskRunStatusCountsHasBeenSet = false;
308318

319+
int m_taskFailureRetryCount{0};
320+
bool m_taskFailureRetryCountHasBeenSet = false;
321+
309322
int m_maxFailedTasksCount{0};
310323
bool m_maxFailedTasksCountHasBeenSet = false;
311324

generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSearchSummary.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ namespace Model
158158
}
159159
///@}
160160

161+
///@{
162+
/**
163+
* <p>The total number of times tasks from the step failed and were retried.</p>
164+
*/
165+
inline int GetTaskFailureRetryCount() const { return m_taskFailureRetryCount; }
166+
inline bool TaskFailureRetryCountHasBeenSet() const { return m_taskFailureRetryCountHasBeenSet; }
167+
inline void SetTaskFailureRetryCount(int value) { m_taskFailureRetryCountHasBeenSet = true; m_taskFailureRetryCount = value; }
168+
inline StepSearchSummary& WithTaskFailureRetryCount(int value) { SetTaskFailureRetryCount(value); return *this;}
169+
///@}
170+
161171
///@{
162172
/**
163173
* <p>The date and time the resource was created.</p>
@@ -234,6 +244,9 @@ namespace Model
234244
Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
235245
bool m_taskRunStatusCountsHasBeenSet = false;
236246

247+
int m_taskFailureRetryCount{0};
248+
bool m_taskFailureRetryCountHasBeenSet = false;
249+
237250
Aws::Utils::DateTime m_createdAt{};
238251
bool m_createdAtHasBeenSet = false;
239252

0 commit comments

Comments
 (0)