Skip to content

Commit 785a340

Browse files
author
aws-sdk-cpp-automation
committed
This release adds support for incremental bulk ingestion for the Personalize CreateDatasetImportJob API.
This release supports user based subscription for Microsoft Visual Studio Professional and Enterprise on EC2.
1 parent 2bdbf32 commit 785a340

File tree

77 files changed

+8303
-14
lines changed

Some content is hidden

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

77 files changed

+8303
-14
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING 1.9.312
6+
#define AWS_SDK_VERSION_STRING 1.9.313
77
#define AWS_SDK_VERSION_MAJOR 1
88
#define AWS_SDK_VERSION_MINOR 9
9-
#define AWS_SDK_VERSION_PATCH 312
9+
#define AWS_SDK_VERSION_PATCH 313
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
add_project(aws-cpp-sdk-license-manager-user-subscriptions "C++ SDK for the AWS license-manager-user-subscriptions service" aws-cpp-sdk-core)
2+
3+
file(GLOB AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_HEADERS
4+
"include/aws/license-manager-user-subscriptions/*.h"
5+
)
6+
7+
file(GLOB AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_HEADERS
8+
"include/aws/license-manager-user-subscriptions/model/*.h"
9+
)
10+
11+
file(GLOB AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_SOURCE
12+
"source/*.cpp"
13+
)
14+
15+
file(GLOB AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_SOURCE
16+
"source/model/*.cpp"
17+
)
18+
19+
file(GLOB LICENSE-MANAGER-USER-SUBSCRIPTIONS_UNIFIED_HEADERS
20+
${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_HEADERS}
21+
${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_HEADERS}
22+
)
23+
24+
file(GLOB LICENSE-MANAGER-USER-SUBSCRIPTIONS_UNITY_SRC
25+
${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_SOURCE}
26+
${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_SOURCE}
27+
)
28+
29+
if(ENABLE_UNITY_BUILD)
30+
enable_unity_build("LICENSE-MANAGER-USER-SUBSCRIPTIONS" LICENSE-MANAGER-USER-SUBSCRIPTIONS_UNITY_SRC)
31+
endif()
32+
33+
file(GLOB LICENSE-MANAGER-USER-SUBSCRIPTIONS_SRC
34+
${LICENSE-MANAGER-USER-SUBSCRIPTIONS_UNIFIED_HEADERS}
35+
${LICENSE-MANAGER-USER-SUBSCRIPTIONS_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\\license-manager-user-subscriptions" FILES ${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_HEADERS})
42+
source_group("Header Files\\aws\\license-manager-user-subscriptions\\model" FILES ${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_HEADERS})
43+
source_group("Source Files" FILES ${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_SOURCE})
44+
source_group("Source Files\\model" FILES ${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_SOURCE})
45+
endif(MSVC)
46+
endif()
47+
48+
set(LICENSE-MANAGER-USER-SUBSCRIPTIONS_INCLUDES
49+
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
50+
)
51+
52+
add_library(${PROJECT_NAME} ${LICENSE-MANAGER-USER-SUBSCRIPTIONS_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_LICENSEMANAGERUSERSUBSCRIPTIONS_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_LICENSE-MANAGER-USER-SUBSCRIPTIONS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/license-manager-user-subscriptions)
72+
install (FILES ${AWS_LICENSE-MANAGER-USER-SUBSCRIPTIONS_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/license-manager-user-subscriptions/model)
73+
74+
do_packaging()
75+
76+

aws-cpp-sdk-license-manager-user-subscriptions/include/aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptionsClient.h

Lines changed: 342 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8+
#include <aws/core/Region.h>
9+
#include <aws/core/utils/memory/stl/AWSString.h>
10+
11+
namespace Aws
12+
{
13+
14+
namespace LicenseManagerUserSubscriptions
15+
{
16+
namespace LicenseManagerUserSubscriptionsEndpoint
17+
{
18+
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
19+
} // namespace LicenseManagerUserSubscriptionsEndpoint
20+
} // namespace LicenseManagerUserSubscriptions
21+
} // namespace Aws
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/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
9+
#include <aws/core/client/AWSErrorMarshaller.h>
10+
11+
namespace Aws
12+
{
13+
namespace Client
14+
{
15+
16+
class AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseManagerUserSubscriptionsErrorMarshaller : 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
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/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
11+
12+
namespace Aws
13+
{
14+
namespace LicenseManagerUserSubscriptions
15+
{
16+
enum class LicenseManagerUserSubscriptionsErrors
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_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseManagerUserSubscriptionsError : public Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>
56+
{
57+
public:
58+
LicenseManagerUserSubscriptionsError() {}
59+
LicenseManagerUserSubscriptionsError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>(rhs) {}
60+
LicenseManagerUserSubscriptionsError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>(rhs) {}
61+
LicenseManagerUserSubscriptionsError(const Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>& rhs) : Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>(rhs) {}
62+
LicenseManagerUserSubscriptionsError(Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>&& rhs) : Aws::Client::AWSError<LicenseManagerUserSubscriptionsErrors>(rhs) {}
63+
64+
template <typename T>
65+
T GetModeledError();
66+
};
67+
68+
namespace LicenseManagerUserSubscriptionsErrorMapper
69+
{
70+
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
71+
}
72+
73+
} // namespace LicenseManagerUserSubscriptions
74+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8+
#include <aws/core/AmazonSerializableWebServiceRequest.h>
9+
#include <aws/core/utils/UnreferencedParam.h>
10+
#include <aws/core/http/HttpRequest.h>
11+
12+
namespace Aws
13+
{
14+
namespace LicenseManagerUserSubscriptions
15+
{
16+
class AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseManagerUserSubscriptionsRequest : public Aws::AmazonSerializableWebServiceRequest
17+
{
18+
public:
19+
virtual ~LicenseManagerUserSubscriptionsRequest () {}
20+
21+
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
22+
23+
inline Aws::Http::HeaderValueCollection GetHeaders() const override
24+
{
25+
auto headers = GetRequestSpecificHeaders();
26+
27+
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
28+
{
29+
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE ));
30+
}
31+
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2018-05-10"));
32+
return headers;
33+
}
34+
35+
protected:
36+
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
37+
38+
};
39+
40+
41+
} // namespace LicenseManagerUserSubscriptions
42+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
#ifdef _MSC_VER
9+
//disable windows complaining about max template size.
10+
#pragma warning (disable : 4503)
11+
#endif // _MSC_VER
12+
13+
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
14+
#ifdef _MSC_VER
15+
#pragma warning(disable : 4251)
16+
#endif // _MSC_VER
17+
18+
#ifdef USE_IMPORT_EXPORT
19+
#ifdef AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_EXPORTS
20+
#define AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API __declspec(dllexport)
21+
#else
22+
#define AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API __declspec(dllimport)
23+
#endif /* AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_EXPORTS */
24+
#else
25+
#define AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API
26+
#endif // USE_IMPORT_EXPORT
27+
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
28+
#define AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API
29+
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace LicenseManagerUserSubscriptions
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>Details about an Active Directory identity provider.</p><p><h3>See Also:</h3>
28+
* <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ActiveDirectoryIdentityProvider">AWS
30+
* API Reference</a></p>
31+
*/
32+
class AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ActiveDirectoryIdentityProvider
33+
{
34+
public:
35+
ActiveDirectoryIdentityProvider();
36+
ActiveDirectoryIdentityProvider(Aws::Utils::Json::JsonView jsonValue);
37+
ActiveDirectoryIdentityProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
/**
42+
* <p>The directory ID for an Active Directory identity provider.</p>
43+
*/
44+
inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
45+
46+
/**
47+
* <p>The directory ID for an Active Directory identity provider.</p>
48+
*/
49+
inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
50+
51+
/**
52+
* <p>The directory ID for an Active Directory identity provider.</p>
53+
*/
54+
inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
55+
56+
/**
57+
* <p>The directory ID for an Active Directory identity provider.</p>
58+
*/
59+
inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
60+
61+
/**
62+
* <p>The directory ID for an Active Directory identity provider.</p>
63+
*/
64+
inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
65+
66+
/**
67+
* <p>The directory ID for an Active Directory identity provider.</p>
68+
*/
69+
inline ActiveDirectoryIdentityProvider& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
70+
71+
/**
72+
* <p>The directory ID for an Active Directory identity provider.</p>
73+
*/
74+
inline ActiveDirectoryIdentityProvider& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
75+
76+
/**
77+
* <p>The directory ID for an Active Directory identity provider.</p>
78+
*/
79+
inline ActiveDirectoryIdentityProvider& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
80+
81+
private:
82+
83+
Aws::String m_directoryId;
84+
bool m_directoryIdHasBeenSet;
85+
};
86+
87+
} // namespace Model
88+
} // namespace LicenseManagerUserSubscriptions
89+
} // namespace Aws

0 commit comments

Comments
 (0)