-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Add v2 smoke tests and smithy smokeTests trait for SDK testing. Add v2 smoke tests and smithy smokeTests trait for SDK testing. Add v2 smoke tests and smithy smokeTests trait for SDK testing. Add v2 smoke tests and smithy smokeTests trait for SDK testing. Add v2 smoke tests and smithy smokeTests trait for SDK testing. Add v2 smoke tests and smithy smokeTests trait for SDK testing. Add v2 smoke tests and smithy smokeTests trait for SDK testing. This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization. Add v2 smoke tests and smithy smokeTests trait for SDK testing.
- Loading branch information
1 parent
c005754
commit e857eed
Showing
193 changed files
with
21,205 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.363 | ||
1.11.364 |
190 changes: 95 additions & 95 deletions
190
generated/src/aws-cpp-sdk-devicefarm/source/DeviceFarmEndpointRules.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
214 changes: 107 additions & 107 deletions
214
generated/src/aws-cpp-sdk-elasticbeanstalk/source/ElasticBeanstalkEndpointRules.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
188 changes: 94 additions & 94 deletions
188
generated/src/aws-cpp-sdk-email/source/SESEndpointRules.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
add_project(aws-cpp-sdk-qapps "C++ SDK for the AWS qapps service" aws-cpp-sdk-core) | ||
|
||
file(GLOB AWS_QAPPS_HEADERS | ||
"include/aws/qapps/*.h" | ||
) | ||
|
||
file(GLOB AWS_QAPPS_MODEL_HEADERS | ||
"include/aws/qapps/model/*.h" | ||
) | ||
|
||
file(GLOB AWS_QAPPS_SOURCE | ||
"source/*.cpp" | ||
) | ||
|
||
file(GLOB AWS_QAPPS_MODEL_SOURCE | ||
"source/model/*.cpp" | ||
) | ||
|
||
file(GLOB QAPPS_UNIFIED_HEADERS | ||
${AWS_QAPPS_HEADERS} | ||
${AWS_QAPPS_MODEL_HEADERS} | ||
) | ||
|
||
file(GLOB QAPPS_UNITY_SRC | ||
${AWS_QAPPS_SOURCE} | ||
${AWS_QAPPS_MODEL_SOURCE} | ||
) | ||
|
||
if(ENABLE_UNITY_BUILD) | ||
enable_unity_build("QAPPS" QAPPS_UNITY_SRC) | ||
endif() | ||
|
||
file(GLOB QAPPS_SRC | ||
${QAPPS_UNIFIED_HEADERS} | ||
${QAPPS_UNITY_SRC} | ||
) | ||
|
||
if(WIN32) | ||
#if we are compiling for visual studio, create a sane directory tree. | ||
if(MSVC) | ||
source_group("Header Files\\aws\\qapps" FILES ${AWS_QAPPS_HEADERS}) | ||
source_group("Header Files\\aws\\qapps\\model" FILES ${AWS_QAPPS_MODEL_HEADERS}) | ||
source_group("Source Files" FILES ${AWS_QAPPS_SOURCE}) | ||
source_group("Source Files\\model" FILES ${AWS_QAPPS_MODEL_SOURCE}) | ||
endif(MSVC) | ||
endif() | ||
|
||
set(QAPPS_INCLUDES | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/" | ||
) | ||
|
||
add_library(${PROJECT_NAME} ${QAPPS_SRC}) | ||
add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) | ||
|
||
set_compiler_flags(${PROJECT_NAME}) | ||
set_compiler_warnings(${PROJECT_NAME}) | ||
|
||
if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_QAPPS_EXPORTS") | ||
endif() | ||
|
||
target_include_directories(${PROJECT_NAME} PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:include>) | ||
|
||
target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) | ||
|
||
|
||
setup_install() | ||
|
||
install (FILES ${AWS_QAPPS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/qapps) | ||
install (FILES ${AWS_QAPPS_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/qapps/model) | ||
|
||
do_packaging() | ||
|
||
|
719 changes: 719 additions & 0 deletions
719
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsClient.h
Large diffs are not rendered by default.
Oops, something went wrong.
61 changes: 61 additions & 0 deletions
61
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsEndpointProvider.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/qapps/QApps_EXPORTS.h> | ||
#include <aws/core/client/GenericClientConfiguration.h> | ||
#include <aws/core/endpoint/DefaultEndpointProvider.h> | ||
#include <aws/core/endpoint/EndpointParameter.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <aws/core/utils/memory/stl/AWSVector.h> | ||
|
||
#include <aws/qapps/QAppsEndpointRules.h> | ||
|
||
|
||
namespace Aws | ||
{ | ||
namespace QApps | ||
{ | ||
namespace Endpoint | ||
{ | ||
using EndpointParameters = Aws::Endpoint::EndpointParameters; | ||
using Aws::Endpoint::EndpointProviderBase; | ||
using Aws::Endpoint::DefaultEndpointProvider; | ||
|
||
using QAppsClientContextParameters = Aws::Endpoint::ClientContextParameters; | ||
|
||
using QAppsClientConfiguration = Aws::Client::GenericClientConfiguration<false>; | ||
using QAppsBuiltInParameters = Aws::Endpoint::BuiltInParameters; | ||
|
||
/** | ||
* The type for the QApps Client Endpoint Provider. | ||
* Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider. | ||
* The SDK must use service-specific type for each service per specification. | ||
*/ | ||
using QAppsEndpointProviderBase = | ||
EndpointProviderBase<QAppsClientConfiguration, QAppsBuiltInParameters, QAppsClientContextParameters>; | ||
|
||
using QAppsDefaultEpProviderBase = | ||
DefaultEndpointProvider<QAppsClientConfiguration, QAppsBuiltInParameters, QAppsClientContextParameters>; | ||
|
||
/** | ||
* Default endpoint provider used for this service | ||
*/ | ||
class AWS_QAPPS_API QAppsEndpointProvider : public QAppsDefaultEpProviderBase | ||
{ | ||
public: | ||
using QAppsResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; | ||
|
||
QAppsEndpointProvider() | ||
: QAppsDefaultEpProviderBase(Aws::QApps::QAppsEndpointRules::GetRulesBlob(), Aws::QApps::QAppsEndpointRules::RulesBlobSize) | ||
{} | ||
|
||
~QAppsEndpointProvider() | ||
{ | ||
} | ||
}; | ||
} // namespace Endpoint | ||
} // namespace QApps | ||
} // namespace Aws |
23 changes: 23 additions & 0 deletions
23
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsEndpointRules.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <cstddef> | ||
#include <aws/qapps/QApps_EXPORTS.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace QApps | ||
{ | ||
class QAppsEndpointRules | ||
{ | ||
public: | ||
static const size_t RulesBlobStrLen; | ||
static const size_t RulesBlobSize; | ||
|
||
static const char* GetRulesBlob(); | ||
}; | ||
} // namespace QApps | ||
} // namespace Aws |
23 changes: 23 additions & 0 deletions
23
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsErrorMarshaller.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <aws/qapps/QApps_EXPORTS.h> | ||
#include <aws/core/client/AWSErrorMarshaller.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace Client | ||
{ | ||
|
||
class AWS_QAPPS_API QAppsErrorMarshaller : public Aws::Client::JsonErrorMarshaller | ||
{ | ||
public: | ||
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override; | ||
}; | ||
|
||
} // namespace Client | ||
} // namespace Aws |
76 changes: 76 additions & 0 deletions
76
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsErrors.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <aws/core/client/AWSError.h> | ||
#include <aws/core/client/CoreErrors.h> | ||
#include <aws/qapps/QApps_EXPORTS.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace QApps | ||
{ | ||
enum class QAppsErrors | ||
{ | ||
//From Core// | ||
////////////////////////////////////////////////////////////////////////////////////////// | ||
INCOMPLETE_SIGNATURE = 0, | ||
INTERNAL_FAILURE = 1, | ||
INVALID_ACTION = 2, | ||
INVALID_CLIENT_TOKEN_ID = 3, | ||
INVALID_PARAMETER_COMBINATION = 4, | ||
INVALID_QUERY_PARAMETER = 5, | ||
INVALID_PARAMETER_VALUE = 6, | ||
MISSING_ACTION = 7, // SDK should never allow | ||
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow | ||
MISSING_PARAMETER = 9, // SDK should never allow | ||
OPT_IN_REQUIRED = 10, | ||
REQUEST_EXPIRED = 11, | ||
SERVICE_UNAVAILABLE = 12, | ||
THROTTLING = 13, | ||
VALIDATION = 14, | ||
ACCESS_DENIED = 15, | ||
RESOURCE_NOT_FOUND = 16, | ||
UNRECOGNIZED_CLIENT = 17, | ||
MALFORMED_QUERY_STRING = 18, | ||
SLOW_DOWN = 19, | ||
REQUEST_TIME_TOO_SKEWED = 20, | ||
INVALID_SIGNATURE = 21, | ||
SIGNATURE_DOES_NOT_MATCH = 22, | ||
INVALID_ACCESS_KEY_ID = 23, | ||
REQUEST_TIMEOUT = 24, | ||
NETWORK_CONNECTION = 99, | ||
|
||
UNKNOWN = 100, | ||
/////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
CONFLICT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, | ||
CONTENT_TOO_LARGE, | ||
INTERNAL_SERVER, | ||
SERVICE_QUOTA_EXCEEDED, | ||
UNAUTHORIZED | ||
}; | ||
|
||
class AWS_QAPPS_API QAppsError : public Aws::Client::AWSError<QAppsErrors> | ||
{ | ||
public: | ||
QAppsError() {} | ||
QAppsError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<QAppsErrors>(rhs) {} | ||
QAppsError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<QAppsErrors>(rhs) {} | ||
QAppsError(const Aws::Client::AWSError<QAppsErrors>& rhs) : Aws::Client::AWSError<QAppsErrors>(rhs) {} | ||
QAppsError(Aws::Client::AWSError<QAppsErrors>&& rhs) : Aws::Client::AWSError<QAppsErrors>(rhs) {} | ||
|
||
template <typename T> | ||
T GetModeledError(); | ||
}; | ||
|
||
namespace QAppsErrorMapper | ||
{ | ||
AWS_QAPPS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName); | ||
} | ||
|
||
} // namespace QApps | ||
} // namespace Aws |
46 changes: 46 additions & 0 deletions
46
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/qapps/QApps_EXPORTS.h> | ||
#include <aws/core/endpoint/AWSEndpoint.h> | ||
#include <aws/core/AmazonSerializableWebServiceRequest.h> | ||
#include <aws/core/utils/UnreferencedParam.h> | ||
#include <aws/core/http/HttpRequest.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace QApps | ||
{ | ||
class AWS_QAPPS_API QAppsRequest : public Aws::AmazonSerializableWebServiceRequest | ||
{ | ||
public: | ||
using EndpointParameter = Aws::Endpoint::EndpointParameter; | ||
using EndpointParameters = Aws::Endpoint::EndpointParameters; | ||
|
||
virtual ~QAppsRequest () {} | ||
|
||
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); } | ||
|
||
inline Aws::Http::HeaderValueCollection GetHeaders() const override | ||
{ | ||
auto headers = GetRequestSpecificHeaders(); | ||
|
||
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0)) | ||
{ | ||
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE )); | ||
} | ||
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2023-11-27")); | ||
return headers; | ||
} | ||
|
||
protected: | ||
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } | ||
|
||
}; | ||
|
||
|
||
} // namespace QApps | ||
} // namespace Aws |
Oops, something went wrong.