Skip to content

Commit 149c53a

Browse files
SDK changes for self-managed vpc endpoint to OpenSearch ingestion pipelines.
Introducing RotationToken parameter for PutSecretValue API Updates to remove DC1 and DS2 node types. This release updates request validation regex to account for non-commercial aws partitions. This release adds support for Amazon EventBridge as an email sending events destination. AWS Mainframe Modernization Application Testing is an AWS Mainframe Modernization service feature that automates functional equivalence testing for mainframe application modernization and migration to AWS, and regression testing. Tagging support for Traffic Mirroring FilterRule resource
1 parent 4c6fd56 commit 149c53a

File tree

407 files changed

+38350
-5672
lines changed

Some content is hidden

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

407 files changed

+38350
-5672
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.347
1+
1.11.348
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
add_project(aws-cpp-sdk-apptest "C++ SDK for the AWS apptest service" aws-cpp-sdk-core)
2+
3+
file(GLOB AWS_APPTEST_HEADERS
4+
"include/aws/apptest/*.h"
5+
)
6+
7+
file(GLOB AWS_APPTEST_MODEL_HEADERS
8+
"include/aws/apptest/model/*.h"
9+
)
10+
11+
file(GLOB AWS_APPTEST_SOURCE
12+
"source/*.cpp"
13+
)
14+
15+
file(GLOB AWS_APPTEST_MODEL_SOURCE
16+
"source/model/*.cpp"
17+
)
18+
19+
file(GLOB APPTEST_UNIFIED_HEADERS
20+
${AWS_APPTEST_HEADERS}
21+
${AWS_APPTEST_MODEL_HEADERS}
22+
)
23+
24+
file(GLOB APPTEST_UNITY_SRC
25+
${AWS_APPTEST_SOURCE}
26+
${AWS_APPTEST_MODEL_SOURCE}
27+
)
28+
29+
if(ENABLE_UNITY_BUILD)
30+
enable_unity_build("APPTEST" APPTEST_UNITY_SRC)
31+
endif()
32+
33+
file(GLOB APPTEST_SRC
34+
${APPTEST_UNIFIED_HEADERS}
35+
${APPTEST_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\\apptest" FILES ${AWS_APPTEST_HEADERS})
42+
source_group("Header Files\\aws\\apptest\\model" FILES ${AWS_APPTEST_MODEL_HEADERS})
43+
source_group("Source Files" FILES ${AWS_APPTEST_SOURCE})
44+
source_group("Source Files\\model" FILES ${AWS_APPTEST_MODEL_SOURCE})
45+
endif(MSVC)
46+
endif()
47+
48+
set(APPTEST_INCLUDES
49+
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
50+
)
51+
52+
add_library(${PROJECT_NAME} ${APPTEST_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_APPTEST_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_APPTEST_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/apptest)
72+
install (FILES ${AWS_APPTEST_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/apptest/model)
73+
74+
do_packaging()
75+
76+

generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestClient.h

Lines changed: 693 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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/apptest/AppTest_EXPORTS.h>
8+
#include <aws/core/client/GenericClientConfiguration.h>
9+
#include <aws/core/endpoint/DefaultEndpointProvider.h>
10+
#include <aws/core/endpoint/EndpointParameter.h>
11+
#include <aws/core/utils/memory/stl/AWSString.h>
12+
#include <aws/core/utils/memory/stl/AWSVector.h>
13+
14+
#include <aws/apptest/AppTestEndpointRules.h>
15+
16+
17+
namespace Aws
18+
{
19+
namespace AppTest
20+
{
21+
namespace Endpoint
22+
{
23+
using EndpointParameters = Aws::Endpoint::EndpointParameters;
24+
using Aws::Endpoint::EndpointProviderBase;
25+
using Aws::Endpoint::DefaultEndpointProvider;
26+
27+
using AppTestClientContextParameters = Aws::Endpoint::ClientContextParameters;
28+
29+
using AppTestClientConfiguration = Aws::Client::GenericClientConfiguration<false>;
30+
using AppTestBuiltInParameters = Aws::Endpoint::BuiltInParameters;
31+
32+
/**
33+
* The type for the AppTest Client Endpoint Provider.
34+
* Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider.
35+
* The SDK must use service-specific type for each service per specification.
36+
*/
37+
using AppTestEndpointProviderBase =
38+
EndpointProviderBase<AppTestClientConfiguration, AppTestBuiltInParameters, AppTestClientContextParameters>;
39+
40+
using AppTestDefaultEpProviderBase =
41+
DefaultEndpointProvider<AppTestClientConfiguration, AppTestBuiltInParameters, AppTestClientContextParameters>;
42+
43+
/**
44+
* Default endpoint provider used for this service
45+
*/
46+
class AWS_APPTEST_API AppTestEndpointProvider : public AppTestDefaultEpProviderBase
47+
{
48+
public:
49+
using AppTestResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;
50+
51+
AppTestEndpointProvider()
52+
: AppTestDefaultEpProviderBase(Aws::AppTest::AppTestEndpointRules::GetRulesBlob(), Aws::AppTest::AppTestEndpointRules::RulesBlobSize)
53+
{}
54+
55+
~AppTestEndpointProvider()
56+
{
57+
}
58+
};
59+
} // namespace Endpoint
60+
} // namespace AppTest
61+
} // namespace Aws
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 <cstddef>
8+
#include <aws/apptest/AppTest_EXPORTS.h>
9+
10+
namespace Aws
11+
{
12+
namespace AppTest
13+
{
14+
class AppTestEndpointRules
15+
{
16+
public:
17+
static const size_t RulesBlobStrLen;
18+
static const size_t RulesBlobSize;
19+
20+
static const char* GetRulesBlob();
21+
};
22+
} // namespace AppTest
23+
} // namespace Aws
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
8+
#include <aws/apptest/AppTest_EXPORTS.h>
9+
#include <aws/core/client/AWSErrorMarshaller.h>
10+
11+
namespace Aws
12+
{
13+
namespace Client
14+
{
15+
16+
class AWS_APPTEST_API AppTestErrorMarshaller : public Aws::Client::JsonErrorMarshaller
17+
{
18+
public:
19+
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
20+
};
21+
22+
} // namespace Client
23+
} // namespace Aws
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
8+
#include <aws/core/client/AWSError.h>
9+
#include <aws/core/client/CoreErrors.h>
10+
#include <aws/apptest/AppTest_EXPORTS.h>
11+
12+
namespace Aws
13+
{
14+
namespace AppTest
15+
{
16+
enum class AppTestErrors
17+
{
18+
//From Core//
19+
//////////////////////////////////////////////////////////////////////////////////////////
20+
INCOMPLETE_SIGNATURE = 0,
21+
INTERNAL_FAILURE = 1,
22+
INVALID_ACTION = 2,
23+
INVALID_CLIENT_TOKEN_ID = 3,
24+
INVALID_PARAMETER_COMBINATION = 4,
25+
INVALID_QUERY_PARAMETER = 5,
26+
INVALID_PARAMETER_VALUE = 6,
27+
MISSING_ACTION = 7, // SDK should never allow
28+
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
29+
MISSING_PARAMETER = 9, // SDK should never allow
30+
OPT_IN_REQUIRED = 10,
31+
REQUEST_EXPIRED = 11,
32+
SERVICE_UNAVAILABLE = 12,
33+
THROTTLING = 13,
34+
VALIDATION = 14,
35+
ACCESS_DENIED = 15,
36+
RESOURCE_NOT_FOUND = 16,
37+
UNRECOGNIZED_CLIENT = 17,
38+
MALFORMED_QUERY_STRING = 18,
39+
SLOW_DOWN = 19,
40+
REQUEST_TIME_TOO_SKEWED = 20,
41+
INVALID_SIGNATURE = 21,
42+
SIGNATURE_DOES_NOT_MATCH = 22,
43+
INVALID_ACCESS_KEY_ID = 23,
44+
REQUEST_TIMEOUT = 24,
45+
NETWORK_CONNECTION = 99,
46+
47+
UNKNOWN = 100,
48+
///////////////////////////////////////////////////////////////////////////////////////////
49+
50+
CONFLICT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51+
INTERNAL_SERVER,
52+
SERVICE_QUOTA_EXCEEDED
53+
};
54+
55+
class AWS_APPTEST_API AppTestError : public Aws::Client::AWSError<AppTestErrors>
56+
{
57+
public:
58+
AppTestError() {}
59+
AppTestError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<AppTestErrors>(rhs) {}
60+
AppTestError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<AppTestErrors>(rhs) {}
61+
AppTestError(const Aws::Client::AWSError<AppTestErrors>& rhs) : Aws::Client::AWSError<AppTestErrors>(rhs) {}
62+
AppTestError(Aws::Client::AWSError<AppTestErrors>&& rhs) : Aws::Client::AWSError<AppTestErrors>(rhs) {}
63+
64+
template <typename T>
65+
T GetModeledError();
66+
};
67+
68+
namespace AppTestErrorMapper
69+
{
70+
AWS_APPTEST_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
71+
}
72+
73+
} // namespace AppTest
74+
} // namespace Aws
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+
6+
#pragma once
7+
#include <aws/apptest/AppTest_EXPORTS.h>
8+
#include <aws/core/endpoint/AWSEndpoint.h>
9+
#include <aws/core/AmazonSerializableWebServiceRequest.h>
10+
#include <aws/core/utils/UnreferencedParam.h>
11+
#include <aws/core/http/HttpRequest.h>
12+
13+
namespace Aws
14+
{
15+
namespace AppTest
16+
{
17+
class AWS_APPTEST_API AppTestRequest : public Aws::AmazonSerializableWebServiceRequest
18+
{
19+
public:
20+
using EndpointParameter = Aws::Endpoint::EndpointParameter;
21+
using EndpointParameters = Aws::Endpoint::EndpointParameters;
22+
23+
virtual ~AppTestRequest () {}
24+
25+
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
26+
27+
inline Aws::Http::HeaderValueCollection GetHeaders() const override
28+
{
29+
auto headers = GetRequestSpecificHeaders();
30+
31+
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
32+
{
33+
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE ));
34+
}
35+
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2022-12-06"));
36+
return headers;
37+
}
38+
39+
protected:
40+
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
41+
42+
};
43+
44+
45+
} // namespace AppTest
46+
} // namespace Aws

0 commit comments

Comments
 (0)