Skip to content

Commit

Permalink
Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Browse files Browse the repository at this point in the history
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
aws-sdk-cpp-automation committed Jul 8, 2024
1 parent c005754 commit e857eed
Show file tree
Hide file tree
Showing 193 changed files with 21,205 additions and 371 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.363
1.11.364

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ namespace Model
* in response to running the <a
* href="https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html">
* <code>StartReplicationTask</code> </a> operation.</p> </li> <li> <p>
* <code>"stopped"</code> The task has stopped in response to running the <a
* <code>"stopped"</code> �� The task has stopped in response to running the <a
* href="https://docs.aws.amazon.com/dms/latest/APIReference/API_StopReplicationTask.html">
* <code>StopReplicationTask</code> </a> operation.</p> </li> <li> <p>
* <code>"stopping"</code> – The task is preparing to stop in response to running
Expand Down

Large diffs are not rendered by default.

188 changes: 94 additions & 94 deletions generated/src/aws-cpp-sdk-email/source/SESEndpointRules.cpp

Large diffs are not rendered by default.

76 changes: 76 additions & 0 deletions generated/src/aws-cpp-sdk-qapps/CMakeLists.txt
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 generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsClient.h

Large diffs are not rendered by default.

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
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
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 generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsErrors.h
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 generated/src/aws-cpp-sdk-qapps/include/aws/qapps/QAppsRequest.h
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
Loading

0 comments on commit e857eed

Please sign in to comment.