Skip to content

Update performance test branch #3463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
944866e
Update API model
aws-sdk-cpp-automation Jun 9, 2025
e8f93fc
Deprecate `atRestEncryptionEnabled` and `transitEncryptionEnabled` at…
aws-sdk-cpp-automation Jun 9, 2025
0c96f1f
Update API model
aws-sdk-cpp-automation Jun 10, 2025
9242d8a
Documentation updates for Amazon GameLift Streams to address formatti…
aws-sdk-cpp-automation Jun 10, 2025
2919792
Update API model
aws-sdk-cpp-automation Jun 11, 2025
278c1ae
Updates Amazon RDS documentation for Amazon RDS for Db2 cross-Region …
aws-sdk-cpp-automation Jun 11, 2025
cd65ac0
fix additional params evaluation to include string array params
sbiscigl Jun 11, 2025
1809e0e
correctly set payload for renamed shape in codegen
sbiscigl Jun 11, 2025
6af34a2
Update API model
aws-sdk-cpp-automation Jun 12, 2025
3777b57
AWS KMS announces the support of ML-DSA key pairs that creates post-q…
aws-sdk-cpp-automation Jun 12, 2025
94db0fc
add provider creation retry for tests
sbiscigl Jun 12, 2025
75d28d5
Update API model
aws-sdk-cpp-automation Jun 16, 2025
caf674c
The `DescribeImageScanning` API now includes `lastInUseAt` and `InUse…
aws-sdk-cpp-automation Jun 16, 2025
a80b5d1
Update license-scheduled-check.yml
BoomchainLabs May 17, 2025
083c8c1
fix, and enable lambda integration tests
sbiscigl Jun 13, 2025
0df4581
Update API model
aws-sdk-cpp-automation Jun 17, 2025
e7d73b3
Release of Active Threat Defense in Network Firewall
aws-sdk-cpp-automation Jun 17, 2025
effe842
Update API model
aws-sdk-cpp-automation Jun 18, 2025
c051e36
Add support for p6-b200 instance type for SageMaker Hyperpod
aws-sdk-cpp-automation Jun 18, 2025
647408e
Update API model
aws-sdk-cpp-automation Jun 19, 2025
08dc07f
Additional support for managing HMAC keys that adheres to changes doc…
aws-sdk-cpp-automation Jun 19, 2025
c8ed59a
Update API model
aws-sdk-cpp-automation Jun 20, 2025
cc644cc
Add ECS support for Windows Server 2025
aws-sdk-cpp-automation Jun 20, 2025
f6ca482
disable time query tests (#3461)
sbera87 Jun 23, 2025
a87fe0a
Update API model
aws-sdk-cpp-automation Jun 23, 2025
08f5335
Added support for Amazon WorkSpaces Instances API
aws-sdk-cpp-automation Jun 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .github/workflows/license-scheduled-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ jobs:

steps:
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: aws/aws-sdk-cpp
path: aws-sdk-cpp
ref: main
- name: Checkout stable version
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: aws/aws-sdk-cpp
path: new-ref
ref: "1.9.85"
- name: Checkout scancode
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: nexB/scancode-toolkit
path: scancode-toolkit
fetch-depth: 1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# ScanCode
Expand All @@ -45,4 +45,4 @@ jobs:
./scancode-toolkit/scancode -l -n 30 --json-pp - ./new-ref/aws-cpp-sdk-core | grep short_name | sed -e 's/\"short_name\": //' -e 's/\"\,\?//g' | sort | uniq > new-licenses.txt
# compare
- name: License test
run: if ! cmp old-licenses.txt new-licenses.txt; then echo "Licenses differ! Failing."; exit -1; else echo "Licenses are the same. Success."; exit 0; fi
run: if ! cmp old-licenses.txt new-licenses.txt; then echo "Licenses differ! Failing."; exit -1; else echo "Licenses are the same. Success."; exit 0; fi
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.584
1.11.594
1 change: 0 additions & 1 deletion cmake/sdksCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ list(APPEND SDK_TEST_PROJECT_LIST "transfer:tests/aws-cpp-sdk-transfer-tests")
list(APPEND SDK_TEST_PROJECT_LIST "text-to-speech:tests/aws-cpp-sdk-text-to-speech-tests,tests/aws-cpp-sdk-polly-sample")
list(APPEND SDK_TEST_PROJECT_LIST "transcribestreaming:tests/aws-cpp-sdk-transcribestreaming-integ-tests")
list(APPEND SDK_TEST_PROJECT_LIST "eventbridge:tests/aws-cpp-sdk-eventbridge-tests")
list(APPEND SDK_TEST_PROJECT_LIST "timestream-query:tests/aws-cpp-sdk-timestream-query-integration-tests")
list(APPEND SDK_TEST_PROJECT_LIST "dsql:tests/aws-cpp-sdk-dsql-unit-tests")
list(APPEND SDK_TEST_PROJECT_LIST "bedrock-runtime:tests/aws-cpp-sdk-bedrock-runtime-integration-tests")

Expand Down
41 changes: 41 additions & 0 deletions generated/smoke-tests/workspaces-instances/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
add_project(workspaces-instances-smoke-tests
"Tests for the AWS WORKSPACES-INSTANCES C++ SDK"
testing-resources
aws-cpp-sdk-workspaces-instances
aws-cpp-sdk-core
)
file(GLOB AWS_WORKSPACES-INSTANCES_GENERATED_SMOKE_TEST_SRC
"${CMAKE_CURRENT_SOURCE_DIR}/../RunTests.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
)
if(MSVC AND BUILD_SHARED_LIBS)
add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1)
endif()

if (CMAKE_CROSSCOMPILING)
set(AUTORUN_UNIT_TESTS OFF)
endif()

if (AUTORUN_UNIT_TESTS)
enable_testing()
endif()

if(PLATFORM_ANDROID AND BUILD_SHARED_LIBS)
add_library(${PROJECT_NAME} "${AWS_WORKSPACES-INSTANCES_GENERATED_SMOKE_TEST_SRC}")
else()
add_executable(${PROJECT_NAME} "${AWS_WORKSPACES-INSTANCES_GENERATED_SMOKE_TEST_SRC}")
endif()

set_compiler_flags(${PROJECT_NAME})
set_compiler_warnings(${PROJECT_NAME})

target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/../../src/aws-cpp-sdk-workspaces-instances/include)

target_link_libraries(${PROJECT_NAME}
${PROJECT_LIBS})

if(NOT CMAKE_CROSSCOMPILING)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
endif()

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <algorithm>
#include <aws/core/auth/AWSCredentialsProviderChain.h>
#include <aws/core/client/AsyncCallerContext.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/http/HttpTypes.h>
#include <aws/core/utils/Outcome.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/utils/memory/AWSMemory.h>
#include <utility>
#include <aws/testing/AwsCppSdkGTestSuite.h>
#include <aws/testing/AwsTestHelpers.h>
#include <aws/workspaces-instances/WorkspacesInstancesClient.h>
#include <aws/workspaces-instances/model/ListRegionsRequest.h>

namespace WorkspacesInstancesSmokeTest{
using namespace Aws::Auth;
using namespace Aws::Http;
using namespace Aws::Client;

using namespace Aws::WorkspacesInstances;
using namespace Aws::WorkspacesInstances::Model;
class WorkspacesInstancesSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
public:
static const char ALLOCATION_TAG[];
};
const char WorkspacesInstancesSmokeTestSuite::ALLOCATION_TAG[] = "WorkspacesInstancesSmokeTest";
TEST_F(WorkspacesInstancesSmokeTestSuite, ListRegionsSuccess )
{
Aws::WorkspacesInstances::WorkspacesInstancesClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
clientConfiguration.useFIPS = false;
clientConfiguration.useDualStack = false;
auto clientSp = Aws::MakeShared<WorkspacesInstancesClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListRegionsRequest input;
auto outcome = clientSp->ListRegions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#pragma once
#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
#include <aws/accessanalyzer/model/UnusedAccessConfiguration.h>
#include <aws/accessanalyzer/model/InternalAccessConfiguration.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -50,10 +51,27 @@ namespace Model
template<typename UnusedAccessT = UnusedAccessConfiguration>
AnalyzerConfiguration& WithUnusedAccess(UnusedAccessT&& value) { SetUnusedAccess(std::forward<UnusedAccessT>(value)); return *this;}
///@}

///@{
/**
* <p>Specifies the configuration of an internal access analyzer for an Amazon Web
* Services organization or account. This configuration determines how the analyzer
* evaluates access within your Amazon Web Services environment.</p>
*/
inline const InternalAccessConfiguration& GetInternalAccess() const { return m_internalAccess; }
inline bool InternalAccessHasBeenSet() const { return m_internalAccessHasBeenSet; }
template<typename InternalAccessT = InternalAccessConfiguration>
void SetInternalAccess(InternalAccessT&& value) { m_internalAccessHasBeenSet = true; m_internalAccess = std::forward<InternalAccessT>(value); }
template<typename InternalAccessT = InternalAccessConfiguration>
AnalyzerConfiguration& WithInternalAccess(InternalAccessT&& value) { SetInternalAccess(std::forward<InternalAccessT>(value)); return *this;}
///@}
private:

UnusedAccessConfiguration m_unusedAccess;
bool m_unusedAccessHasBeenSet = false;

InternalAccessConfiguration m_internalAccess;
bool m_internalAccessHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ namespace Model

///@{
/**
* <p>Specifies whether the analyzer is an external access or unused access
* analyzer.</p>
* <p>Specifies if the analyzer is an external access, unused access, or internal
* access analyzer.</p>
*/
inline const AnalyzerConfiguration& GetConfiguration() const { return m_configuration; }
inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@ namespace Model

///@{
/**
* <p>The type of analyzer to create. Only <code>ACCOUNT</code>,
* <code>ORGANIZATION</code>, <code>ACCOUNT_UNUSED_ACCESS</code>, and
* <code>ORGANIZATION_UNUSED_ACCESS</code> analyzers are supported. You can create
* only one analyzer per account per Region. You can create up to 5 analyzers per
* organization per Region.</p>
* <p>The type of analyzer to create. You can create only one analyzer per account
* per Region. You can create up to 5 analyzers per organization per Region.</p>
*/
inline Type GetType() const { return m_type; }
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
Expand Down Expand Up @@ -120,7 +117,8 @@ namespace Model
/**
* <p>Specifies the configuration of the analyzer. If the analyzer is an unused
* access analyzer, the specified scope of unused access is used for the
* configuration.</p>
* configuration. If the analyzer is an internal access analyzer, the specified
* internal access analysis rules are used for the configuration.</p>
*/
inline const AnalyzerConfiguration& GetConfiguration() const { return m_configuration; }
inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,19 @@ namespace Model
///@{
/**
* <p>The type of restriction applied to the finding by the resource owner with an
* Organizations resource control policy (RCP).</p>
* Organizations resource control policy (RCP).</p> <ul> <li> <p>
* <code>APPLICABLE</code>: There is an RCP present in the organization but IAM
* Access Analyzer does not include it in the evaluation of effective permissions.
* For example, if <code>s3:DeleteObject</code> is blocked by the RCP and the
* restriction is <code>APPLICABLE</code>, then <code>s3:DeleteObject</code> would
* still be included in the list of actions for the finding.</p> </li> <li> <p>
* <code>FAILED_TO_EVALUATE_RCP</code>: There was an error evaluating the RCP.</p>
* </li> <li> <p> <code>NOT_APPLICABLE</code>: There was no RCP present in the
* organization, or there was no RCP applicable to the resource. For example, the
* resource being analyzed is an Amazon RDS snapshot and there is an RCP in the
* organization, but the RCP only impacts Amazon S3 buckets.</p> </li> <li> <p>
* <code>APPLIED</code>: This restriction is not currently available for external
* access findings. </p> </li> </ul>
*/
inline ResourceControlPolicyRestriction GetResourceControlPolicyRestriction() const { return m_resourceControlPolicyRestriction; }
inline bool ResourceControlPolicyRestrictionHasBeenSet() const { return m_resourceControlPolicyRestrictionHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#pragma once
#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
#include <aws/accessanalyzer/model/InternalAccessDetails.h>
#include <aws/accessanalyzer/model/ExternalAccessDetails.h>
#include <aws/accessanalyzer/model/UnusedPermissionDetails.h>
#include <aws/accessanalyzer/model/UnusedIamUserAccessKeyDetails.h>
Expand Down Expand Up @@ -43,6 +44,20 @@ namespace Model
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>The details for an internal access analyzer finding. This contains
* information about access patterns identified within your Amazon Web Services
* organization or account.</p>
*/
inline const InternalAccessDetails& GetInternalAccessDetails() const { return m_internalAccessDetails; }
inline bool InternalAccessDetailsHasBeenSet() const { return m_internalAccessDetailsHasBeenSet; }
template<typename InternalAccessDetailsT = InternalAccessDetails>
void SetInternalAccessDetails(InternalAccessDetailsT&& value) { m_internalAccessDetailsHasBeenSet = true; m_internalAccessDetails = std::forward<InternalAccessDetailsT>(value); }
template<typename InternalAccessDetailsT = InternalAccessDetails>
FindingDetails& WithInternalAccessDetails(InternalAccessDetailsT&& value) { SetInternalAccessDetails(std::forward<InternalAccessDetailsT>(value)); return *this;}
///@}

///@{
/**
* <p>The details for an external access analyzer finding.</p>
Expand Down Expand Up @@ -108,6 +123,9 @@ namespace Model
///@}
private:

InternalAccessDetails m_internalAccessDetails;
bool m_internalAccessDetailsHasBeenSet = false;

ExternalAccessDetails m_externalAccessDetails;
bool m_externalAccessDetailsHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ namespace Model

///@{
/**
* <p>The type of the external access or unused access finding.</p>
* <p>The type of the access finding. For external access analyzers, the type is
* <code>ExternalAccess</code>. For unused access analyzers, the type can be
* <code>UnusedIAMRole</code>, <code>UnusedIAMUserAccessKey</code>,
* <code>UnusedIAMUserPassword</code>, or <code>UnusedPermission</code>. For
* internal access analyzers, the type is <code>InternalAccess</code>.</p>
*/
inline FindingType GetFindingType() const { return m_findingType; }
inline bool FindingTypeHasBeenSet() const { return m_findingTypeHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ namespace Model
UnusedIAMRole,
UnusedIAMUserAccessKey,
UnusedIAMUserPassword,
UnusedPermission
UnusedPermission,
InternalAccess
};

namespace FindingTypeMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#pragma once
#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
#include <aws/accessanalyzer/model/ExternalAccessFindingsStatistics.h>
#include <aws/accessanalyzer/model/InternalAccessFindingsStatistics.h>
#include <aws/accessanalyzer/model/UnusedAccessFindingsStatistics.h>
#include <utility>

Expand Down Expand Up @@ -52,6 +53,20 @@ namespace Model
FindingsStatistics& WithExternalAccessFindingsStatistics(ExternalAccessFindingsStatisticsT&& value) { SetExternalAccessFindingsStatistics(std::forward<ExternalAccessFindingsStatisticsT>(value)); return *this;}
///@}

///@{
/**
* <p>The aggregate statistics for an internal access analyzer. This includes
* information about active, archived, and resolved findings related to internal
* access within your Amazon Web Services organization or account.</p>
*/
inline const InternalAccessFindingsStatistics& GetInternalAccessFindingsStatistics() const { return m_internalAccessFindingsStatistics; }
inline bool InternalAccessFindingsStatisticsHasBeenSet() const { return m_internalAccessFindingsStatisticsHasBeenSet; }
template<typename InternalAccessFindingsStatisticsT = InternalAccessFindingsStatistics>
void SetInternalAccessFindingsStatistics(InternalAccessFindingsStatisticsT&& value) { m_internalAccessFindingsStatisticsHasBeenSet = true; m_internalAccessFindingsStatistics = std::forward<InternalAccessFindingsStatisticsT>(value); }
template<typename InternalAccessFindingsStatisticsT = InternalAccessFindingsStatistics>
FindingsStatistics& WithInternalAccessFindingsStatistics(InternalAccessFindingsStatisticsT&& value) { SetInternalAccessFindingsStatistics(std::forward<InternalAccessFindingsStatisticsT>(value)); return *this;}
///@}

///@{
/**
* <p>The aggregate statistics for an unused access analyzer.</p>
Expand All @@ -68,6 +83,9 @@ namespace Model
ExternalAccessFindingsStatistics m_externalAccessFindingsStatistics;
bool m_externalAccessFindingsStatisticsHasBeenSet = false;

InternalAccessFindingsStatistics m_internalAccessFindingsStatistics;
bool m_internalAccessFindingsStatisticsHasBeenSet = false;

UnusedAccessFindingsStatistics m_unusedAccessFindingsStatistics;
bool m_unusedAccessFindingsStatisticsHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ namespace Model
* <p>The type of the finding. For external access analyzers, the type is
* <code>ExternalAccess</code>. For unused access analyzers, the type can be
* <code>UnusedIAMRole</code>, <code>UnusedIAMUserAccessKey</code>,
* <code>UnusedIAMUserPassword</code>, or <code>UnusedPermission</code>.</p>
* <code>UnusedIAMUserPassword</code>, or <code>UnusedPermission</code>. For
* internal access analyzers, the type is <code>InternalAccess</code>.</p>
*/
inline FindingType GetFindingType() const { return m_findingType; }
inline void SetFindingType(FindingType value) { m_findingTypeHasBeenSet = true; m_findingType = value; }
Expand Down
Loading