Skip to content

Commit

Permalink
This is the initial SDK release for Amazon CloudWatch Application Sig…
Browse files Browse the repository at this point in the history
…nals. Amazon CloudWatch Application Signals provides curated application performance monitoring for developers to monitor and troubleshoot application health using pre-built dashboards and Service Level Objectives.

This release introduces a new cluster configuration to support the customer-managed keys for ECS managed storage encryption.
This release updates the regex pattern for Image Builder ARNs.
  • Loading branch information
aws-sdk-cpp-automation committed Jun 10, 2024
1 parent 8d8e82e commit 34d9178
Show file tree
Hide file tree
Showing 164 changed files with 23,728 additions and 129 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.345
1.11.346
76 changes: 76 additions & 0 deletions generated/src/aws-cpp-sdk-application-signals/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
add_project(aws-cpp-sdk-application-signals "C++ SDK for the AWS application-signals service" aws-cpp-sdk-core)

file(GLOB AWS_APPLICATION-SIGNALS_HEADERS
"include/aws/application-signals/*.h"
)

file(GLOB AWS_APPLICATION-SIGNALS_MODEL_HEADERS
"include/aws/application-signals/model/*.h"
)

file(GLOB AWS_APPLICATION-SIGNALS_SOURCE
"source/*.cpp"
)

file(GLOB AWS_APPLICATION-SIGNALS_MODEL_SOURCE
"source/model/*.cpp"
)

file(GLOB APPLICATION-SIGNALS_UNIFIED_HEADERS
${AWS_APPLICATION-SIGNALS_HEADERS}
${AWS_APPLICATION-SIGNALS_MODEL_HEADERS}
)

file(GLOB APPLICATION-SIGNALS_UNITY_SRC
${AWS_APPLICATION-SIGNALS_SOURCE}
${AWS_APPLICATION-SIGNALS_MODEL_SOURCE}
)

if(ENABLE_UNITY_BUILD)
enable_unity_build("APPLICATION-SIGNALS" APPLICATION-SIGNALS_UNITY_SRC)
endif()

file(GLOB APPLICATION-SIGNALS_SRC
${APPLICATION-SIGNALS_UNIFIED_HEADERS}
${APPLICATION-SIGNALS_UNITY_SRC}
)

if(WIN32)
#if we are compiling for visual studio, create a sane directory tree.
if(MSVC)
source_group("Header Files\\aws\\application-signals" FILES ${AWS_APPLICATION-SIGNALS_HEADERS})
source_group("Header Files\\aws\\application-signals\\model" FILES ${AWS_APPLICATION-SIGNALS_MODEL_HEADERS})
source_group("Source Files" FILES ${AWS_APPLICATION-SIGNALS_SOURCE})
source_group("Source Files\\model" FILES ${AWS_APPLICATION-SIGNALS_MODEL_SOURCE})
endif(MSVC)
endif()

set(APPLICATION-SIGNALS_INCLUDES
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
)

add_library(${PROJECT_NAME} ${APPLICATION-SIGNALS_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_APPLICATIONSIGNALS_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_APPLICATION-SIGNALS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/application-signals)
install (FILES ${AWS_APPLICATION-SIGNALS_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/application-signals/model)

do_packaging()


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/application-signals/ApplicationSignals_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/application-signals/ApplicationSignalsEndpointRules.h>


namespace Aws
{
namespace ApplicationSignals
{
namespace Endpoint
{
using EndpointParameters = Aws::Endpoint::EndpointParameters;
using Aws::Endpoint::EndpointProviderBase;
using Aws::Endpoint::DefaultEndpointProvider;

using ApplicationSignalsClientContextParameters = Aws::Endpoint::ClientContextParameters;

using ApplicationSignalsClientConfiguration = Aws::Client::GenericClientConfiguration<false>;
using ApplicationSignalsBuiltInParameters = Aws::Endpoint::BuiltInParameters;

/**
* The type for the ApplicationSignals 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 ApplicationSignalsEndpointProviderBase =
EndpointProviderBase<ApplicationSignalsClientConfiguration, ApplicationSignalsBuiltInParameters, ApplicationSignalsClientContextParameters>;

using ApplicationSignalsDefaultEpProviderBase =
DefaultEndpointProvider<ApplicationSignalsClientConfiguration, ApplicationSignalsBuiltInParameters, ApplicationSignalsClientContextParameters>;

/**
* Default endpoint provider used for this service
*/
class AWS_APPLICATIONSIGNALS_API ApplicationSignalsEndpointProvider : public ApplicationSignalsDefaultEpProviderBase
{
public:
using ApplicationSignalsResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;

ApplicationSignalsEndpointProvider()
: ApplicationSignalsDefaultEpProviderBase(Aws::ApplicationSignals::ApplicationSignalsEndpointRules::GetRulesBlob(), Aws::ApplicationSignals::ApplicationSignalsEndpointRules::RulesBlobSize)
{}

~ApplicationSignalsEndpointProvider()
{
}
};
} // namespace Endpoint
} // namespace ApplicationSignals
} // 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/application-signals/ApplicationSignals_EXPORTS.h>

namespace Aws
{
namespace ApplicationSignals
{
class ApplicationSignalsEndpointRules
{
public:
static const size_t RulesBlobStrLen;
static const size_t RulesBlobSize;

static const char* GetRulesBlob();
};
} // namespace ApplicationSignals
} // 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/application-signals/ApplicationSignals_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>

namespace Aws
{
namespace Client
{

class AWS_APPLICATIONSIGNALS_API ApplicationSignalsErrorMarshaller : public Aws::Client::JsonErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};

} // namespace Client
} // namespace Aws
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/**
* 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/application-signals/ApplicationSignals_EXPORTS.h>

namespace Aws
{
namespace ApplicationSignals
{
enum class ApplicationSignalsErrors
{
//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,
SERVICE_QUOTA_EXCEEDED
};

class AWS_APPLICATIONSIGNALS_API ApplicationSignalsError : public Aws::Client::AWSError<ApplicationSignalsErrors>
{
public:
ApplicationSignalsError() {}
ApplicationSignalsError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<ApplicationSignalsErrors>(rhs) {}
ApplicationSignalsError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<ApplicationSignalsErrors>(rhs) {}
ApplicationSignalsError(const Aws::Client::AWSError<ApplicationSignalsErrors>& rhs) : Aws::Client::AWSError<ApplicationSignalsErrors>(rhs) {}
ApplicationSignalsError(Aws::Client::AWSError<ApplicationSignalsErrors>&& rhs) : Aws::Client::AWSError<ApplicationSignalsErrors>(rhs) {}

template <typename T>
T GetModeledError();
};

namespace ApplicationSignalsErrorMapper
{
AWS_APPLICATIONSIGNALS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}

} // namespace ApplicationSignals
} // namespace Aws
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/application-signals/ApplicationSignals_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 ApplicationSignals
{
class AWS_APPLICATIONSIGNALS_API ApplicationSignalsRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
using EndpointParameter = Aws::Endpoint::EndpointParameter;
using EndpointParameters = Aws::Endpoint::EndpointParameters;

virtual ~ApplicationSignalsRequest () {}

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, "2024-04-15"));
return headers;
}

protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }

};


} // namespace ApplicationSignals
} // namespace Aws
Loading

0 comments on commit 34d9178

Please sign in to comment.