Skip to content

Commit

Permalink
Remove non-functional enum variants for FleetCapacityReservationUsage…
Browse files Browse the repository at this point in the history
…Strategy

This release allows AWS IoT Core users to enrich MQTT messages with propagating attributes, to associate a thing to a connection, and to enable Online Certificate Status Protocol (OCSP) stapling for TLS X.509 server certificates through private endpoints.
Added Amazon Connect Outbound Campaigns V2 SDK.
Adds support for adding related Entity information to metrics ingested through PutMetricData.
Doc-only updates and enhancements related to creating DataSync tasks and describing task executions.
Route 53 Resolver DNS Firewall Advanced Rules allows you to monitor and block suspicious DNS traffic based on anomalies detected in the queries, such as DNS tunneling and Domain Generation Algorithms (DGAs).
Fixes PutLexicon usage example.
Use rule overrides to always allow or always block messages to specific phone numbers. Use message feedback to monitor if a customer interacts with your message.
You can now purchase AWS Outposts rack or server capacity for a 5-year term with one of  the following payment options: All Upfront, Partial Upfront, and No Upfront.
  • Loading branch information
aws-sdk-cpp-automation committed Nov 15, 2024
1 parent 6f7cb28 commit 4767da1
Show file tree
Hide file tree
Showing 384 changed files with 29,656 additions and 259 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.448
1.11.449
76 changes: 76 additions & 0 deletions generated/src/aws-cpp-sdk-connectcampaignsv2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
add_project(aws-cpp-sdk-connectcampaignsv2 "C++ SDK for the AWS connectcampaignsv2 service" aws-cpp-sdk-core)

file(GLOB AWS_CONNECTCAMPAIGNSV2_HEADERS
"include/aws/connectcampaignsv2/*.h"
)

file(GLOB AWS_CONNECTCAMPAIGNSV2_MODEL_HEADERS
"include/aws/connectcampaignsv2/model/*.h"
)

file(GLOB AWS_CONNECTCAMPAIGNSV2_SOURCE
"source/*.cpp"
)

file(GLOB AWS_CONNECTCAMPAIGNSV2_MODEL_SOURCE
"source/model/*.cpp"
)

file(GLOB CONNECTCAMPAIGNSV2_UNIFIED_HEADERS
${AWS_CONNECTCAMPAIGNSV2_HEADERS}
${AWS_CONNECTCAMPAIGNSV2_MODEL_HEADERS}
)

file(GLOB CONNECTCAMPAIGNSV2_UNITY_SRC
${AWS_CONNECTCAMPAIGNSV2_SOURCE}
${AWS_CONNECTCAMPAIGNSV2_MODEL_SOURCE}
)

if(ENABLE_UNITY_BUILD)
enable_unity_build("CONNECTCAMPAIGNSV2" CONNECTCAMPAIGNSV2_UNITY_SRC)
endif()

file(GLOB CONNECTCAMPAIGNSV2_SRC
${CONNECTCAMPAIGNSV2_UNIFIED_HEADERS}
${CONNECTCAMPAIGNSV2_UNITY_SRC}
)

if(WIN32)
#if we are compiling for visual studio, create a sane directory tree.
if(MSVC)
source_group("Header Files\\aws\\connectcampaignsv2" FILES ${AWS_CONNECTCAMPAIGNSV2_HEADERS})
source_group("Header Files\\aws\\connectcampaignsv2\\model" FILES ${AWS_CONNECTCAMPAIGNSV2_MODEL_HEADERS})
source_group("Source Files" FILES ${AWS_CONNECTCAMPAIGNSV2_SOURCE})
source_group("Source Files\\model" FILES ${AWS_CONNECTCAMPAIGNSV2_MODEL_SOURCE})
endif(MSVC)
endif()

set(CONNECTCAMPAIGNSV2_INCLUDES
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
)

add_library(${PROJECT_NAME} ${CONNECTCAMPAIGNSV2_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_CONNECTCAMPAIGNSV2_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_CONNECTCAMPAIGNSV2_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/connectcampaignsv2)
install (FILES ${AWS_CONNECTCAMPAIGNSV2_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/connectcampaignsv2/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/connectcampaignsv2/ConnectCampaignsV2_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/connectcampaignsv2/ConnectCampaignsV2EndpointRules.h>


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

using ConnectCampaignsV2ClientContextParameters = Aws::Endpoint::ClientContextParameters;

using ConnectCampaignsV2ClientConfiguration = Aws::Client::GenericClientConfiguration;
using ConnectCampaignsV2BuiltInParameters = Aws::Endpoint::BuiltInParameters;

/**
* The type for the ConnectCampaignsV2 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 ConnectCampaignsV2EndpointProviderBase =
EndpointProviderBase<ConnectCampaignsV2ClientConfiguration, ConnectCampaignsV2BuiltInParameters, ConnectCampaignsV2ClientContextParameters>;

using ConnectCampaignsV2DefaultEpProviderBase =
DefaultEndpointProvider<ConnectCampaignsV2ClientConfiguration, ConnectCampaignsV2BuiltInParameters, ConnectCampaignsV2ClientContextParameters>;

/**
* Default endpoint provider used for this service
*/
class AWS_CONNECTCAMPAIGNSV2_API ConnectCampaignsV2EndpointProvider : public ConnectCampaignsV2DefaultEpProviderBase
{
public:
using ConnectCampaignsV2ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;

ConnectCampaignsV2EndpointProvider()
: ConnectCampaignsV2DefaultEpProviderBase(Aws::ConnectCampaignsV2::ConnectCampaignsV2EndpointRules::GetRulesBlob(), Aws::ConnectCampaignsV2::ConnectCampaignsV2EndpointRules::RulesBlobSize)
{}

~ConnectCampaignsV2EndpointProvider()
{
}
};
} // namespace Endpoint
} // namespace ConnectCampaignsV2
} // 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/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>

namespace Aws
{
namespace ConnectCampaignsV2
{
class ConnectCampaignsV2EndpointRules
{
public:
static const size_t RulesBlobStrLen;
static const size_t RulesBlobSize;

static const char* GetRulesBlob();
};
} // namespace ConnectCampaignsV2
} // 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/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>

namespace Aws
{
namespace Client
{

class AWS_CONNECTCAMPAIGNSV2_API ConnectCampaignsV2ErrorMarshaller : 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,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/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>

namespace Aws
{
namespace ConnectCampaignsV2
{
enum class ConnectCampaignsV2Errors
{
//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,
INTERNAL_SERVER,
INVALID_CAMPAIGN_STATE,
INVALID_STATE,
SERVICE_QUOTA_EXCEEDED
};

class AWS_CONNECTCAMPAIGNSV2_API ConnectCampaignsV2Error : public Aws::Client::AWSError<ConnectCampaignsV2Errors>
{
public:
ConnectCampaignsV2Error() {}
ConnectCampaignsV2Error(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<ConnectCampaignsV2Errors>(rhs) {}
ConnectCampaignsV2Error(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<ConnectCampaignsV2Errors>(rhs) {}
ConnectCampaignsV2Error(const Aws::Client::AWSError<ConnectCampaignsV2Errors>& rhs) : Aws::Client::AWSError<ConnectCampaignsV2Errors>(rhs) {}
ConnectCampaignsV2Error(Aws::Client::AWSError<ConnectCampaignsV2Errors>&& rhs) : Aws::Client::AWSError<ConnectCampaignsV2Errors>(rhs) {}

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

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

} // namespace ConnectCampaignsV2
} // 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/connectcampaignsv2/ConnectCampaignsV2_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 ConnectCampaignsV2
{
class AWS_CONNECTCAMPAIGNSV2_API ConnectCampaignsV2Request : public Aws::AmazonSerializableWebServiceRequest
{
public:
using EndpointParameter = Aws::Endpoint::EndpointParameter;
using EndpointParameters = Aws::Endpoint::EndpointParameters;

virtual ~ConnectCampaignsV2Request () {}

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-23"));
return headers;
}

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

};


} // namespace ConnectCampaignsV2
} // namespace Aws
Loading

0 comments on commit 4767da1

Please sign in to comment.