Skip to content

Commit 2b79849

Browse files
Auto commit from CI.
1 parent 8201cdc commit 2b79849

File tree

397 files changed

+32870
-85
lines changed

Some content is hidden

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

397 files changed

+32870
-85
lines changed

aws-cpp-sdk-acm/nuget/aws-cpp-sdk-acm.autopkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-ACM;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.0.20151208.59;
16+
version : 1.0.20151208.60;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Certificate Manager);

aws-cpp-sdk-apigateway/nuget/aws-cpp-sdk-apigateway.autopkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-APIGateway;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.0.20150709.59;
16+
version : 1.0.20150709.60;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Amazon API Gateway);

aws-cpp-sdk-application-autoscaling/nuget/aws-cpp-sdk-application-autoscaling.autopkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-ApplicationAutoScaling;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.0.20160206.59;
16+
version : 1.0.20160206.60;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Application Auto Scaling);

aws-cpp-sdk-appstream/nuget/aws-cpp-sdk-appstream.autopkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AppStream;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.0.20161201.59;
16+
version : 1.0.20161201.60;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Amazon AppStream);

aws-cpp-sdk-autoscaling/nuget/aws-cpp-sdk-autoscaling.autopkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AutoScaling;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.0.20110101.59;
16+
version : 1.0.20110101.60;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Auto Scaling);

aws-cpp-sdk-budgets/nuget/aws-cpp-sdk-budgets.autopkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-Budgets;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.0.20161020.59;
16+
version : 1.0.20161020.60;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Budgets);
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
add_project(aws-cpp-sdk-clouddirectory "C++ SDK for the AWS clouddirectory service" aws-cpp-sdk-core)
2+
3+
file(GLOB AWS_CLOUDDIRECTORY_HEADERS
4+
"include/aws/clouddirectory/*.h"
5+
)
6+
7+
file(GLOB AWS_CLOUDDIRECTORY_MODEL_HEADERS
8+
"include/aws/clouddirectory/model/*.h"
9+
)
10+
11+
file(GLOB AWS_CLOUDDIRECTORY_SOURCE
12+
"source/*.cpp"
13+
)
14+
15+
file(GLOB AWS_CLOUDDIRECTORY_MODEL_SOURCE
16+
"source/model/*.cpp"
17+
)
18+
19+
file(GLOB CLOUDDIRECTORY_UNIFIED_HEADERS
20+
${AWS_CLOUDDIRECTORY_HEADERS}
21+
${AWS_CLOUDDIRECTORY_MODEL_HEADERS}
22+
)
23+
24+
file(GLOB CLOUDDIRECTORY_UNITY_SRC
25+
${AWS_CLOUDDIRECTORY_SOURCE}
26+
${AWS_CLOUDDIRECTORY_MODEL_SOURCE}
27+
)
28+
29+
if(ENABLE_UNITY_BUILD)
30+
enable_unity_build("CLOUDDIRECTORY" CLOUDDIRECTORY_UNITY_SRC)
31+
endif()
32+
33+
file(GLOB CLOUDDIRECTORY_SRC
34+
${CLOUDDIRECTORY_UNIFIED_HEADERS}
35+
${CLOUDDIRECTORY_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\\clouddirectory" FILES ${AWS_CLOUDDIRECTORY_HEADERS})
42+
source_group("Header Files\\aws\\clouddirectory\\model" FILES ${AWS_CLOUDDIRECTORY_MODEL_HEADERS})
43+
source_group("Source Files" FILES ${AWS_CLOUDDIRECTORY_SOURCE})
44+
source_group("Source Files\\model" FILES ${AWS_CLOUDDIRECTORY_MODEL_SOURCE})
45+
endif(MSVC)
46+
endif()
47+
48+
set(CLOUDDIRECTORY_INCLUDES
49+
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
50+
)
51+
52+
include_directories(${CLOUDDIRECTORY_INCLUDES})
53+
54+
if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS)
55+
add_definitions("-DAWS_CLOUDDIRECTORY_EXPORTS")
56+
endif()
57+
58+
add_library(${PROJECT_NAME} ${LIBTYPE} ${CLOUDDIRECTORY_SRC})
59+
add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
60+
61+
target_include_directories(${PROJECT_NAME} PUBLIC
62+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
63+
$<INSTALL_INTERFACE:include>)
64+
65+
target_link_libraries(${PROJECT_NAME} ${PROJECT_LIBS})
66+
67+
setup_install()
68+
69+
install (FILES ${AWS_CLOUDDIRECTORY_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/clouddirectory)
70+
install (FILES ${AWS_CLOUDDIRECTORY_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/clouddirectory/model)
71+
72+
if(PLATFORM_WINDOWS AND MSVC)
73+
install (FILES nuget/${PROJECT_NAME}.autopkg DESTINATION nuget)
74+
endif()
75+
76+
do_packaging()
77+
78+

aws-cpp-sdk-clouddirectory/include/aws/clouddirectory/CloudDirectoryClient.h

Lines changed: 1819 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
#pragma once
16+
#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
17+
#include <aws/core/Region.h>
18+
#include <aws/core/utils/memory/stl/AWSString.h>
19+
20+
namespace Aws
21+
{
22+
23+
namespace CloudDirectory
24+
{
25+
namespace CloudDirectoryEndpoint
26+
{
27+
AWS_CLOUDDIRECTORY_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
28+
} // namespace CloudDirectoryEndpoint
29+
} // namespace CloudDirectory
30+
} // namespace Aws
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
#pragma once
16+
17+
#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
18+
#include <aws/core/client/AWSErrorMarshaller.h>
19+
20+
namespace Aws
21+
{
22+
namespace Client
23+
{
24+
25+
class AWS_CLOUDDIRECTORY_API CloudDirectoryErrorMarshaller : public Client::AWSErrorMarshaller
26+
{
27+
public:
28+
CloudDirectoryErrorMarshaller() {}
29+
virtual ~CloudDirectoryErrorMarshaller() {}
30+
31+
virtual Client::AWSError<Client::CoreErrors> FindErrorByName(const char* exceptionName) const;
32+
};
33+
34+
} // namespace CloudDirectory
35+
} // namespace Aws
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/*
2+
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
#pragma once
16+
17+
#include <aws/core/client/CoreErrors.h>
18+
#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
19+
20+
namespace Aws
21+
{
22+
namespace CloudDirectory
23+
{
24+
enum class CloudDirectoryErrors
25+
{
26+
//From Core//
27+
//////////////////////////////////////////////////////////////////////////////////////////
28+
INCOMPLETE_SIGNATURE = 0,
29+
INTERNAL_FAILURE = 1,
30+
INVALID_ACTION = 2,
31+
INVALID_CLIENT_TOKEN_ID = 3,
32+
INVALID_PARAMETER_COMBINATION = 4,
33+
INVALID_QUERY_PARAMETER = 5,
34+
INVALID_PARAMETER_VALUE = 6,
35+
MISSING_ACTION = 7, // SDK should never allow
36+
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
37+
MISSING_PARAMETER = 9, // SDK should never allow
38+
OPT_IN_REQUIRED = 10,
39+
REQUEST_EXPIRED = 11,
40+
SERVICE_UNAVAILABLE = 12,
41+
THROTTLING = 13,
42+
VALIDATION = 14,
43+
ACCESS_DENIED = 15,
44+
RESOURCE_NOT_FOUND = 16,
45+
UNRECOGNIZED_CLIENT = 17,
46+
MALFORMED_QUERY_STRING = 18,
47+
SLOW_DOWN = 19,
48+
REQUEST_TIME_TOO_SKEWED = 20,
49+
INVALID_SIGNATURE = 21,
50+
SIGNATURE_DOES_NOT_MATCH = 22,
51+
INVALID_ACCESS_KEY_ID = 23,
52+
NETWORK_CONNECTION = 99,
53+
54+
UNKNOWN = 100,
55+
///////////////////////////////////////////////////////////////////////////////////////////
56+
57+
BATCH_WRITE= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
58+
CANNOT_LIST_PARENT_OF_ROOT,
59+
DIRECTORY_ALREADY_EXISTS,
60+
DIRECTORY_DELETED,
61+
DIRECTORY_NOT_DISABLED,
62+
DIRECTORY_NOT_ENABLED,
63+
FACET_ALREADY_EXISTS,
64+
FACET_IN_USE,
65+
FACET_NOT_FOUND,
66+
FACET_VALIDATION,
67+
INDEXED_ATTRIBUTE_MISSING,
68+
INTERNAL_SERVICE,
69+
INVALID_ARN,
70+
INVALID_ATTACHMENT,
71+
INVALID_FACET_UPDATE,
72+
INVALID_NEXT_TOKEN,
73+
INVALID_RULE,
74+
INVALID_SCHEMA_DOC,
75+
INVALID_TAGGING_REQUEST,
76+
LIMIT_EXCEEDED,
77+
LINK_NAME_ALREADY_IN_USE,
78+
NOT_INDEX,
79+
NOT_NODE,
80+
NOT_POLICY,
81+
OBJECT_ALREADY_DETACHED,
82+
OBJECT_NOT_DETACHED,
83+
RETRYABLE_CONFLICT,
84+
SCHEMA_ALREADY_EXISTS,
85+
SCHEMA_ALREADY_PUBLISHED,
86+
STILL_CONTAINS_LINKS,
87+
UNSUPPORTED_INDEX_TYPE
88+
};
89+
namespace CloudDirectoryErrorMapper
90+
{
91+
AWS_CLOUDDIRECTORY_API Client::AWSError<Client::CoreErrors> GetErrorForName(const char* errorName);
92+
}
93+
94+
} // namespace CloudDirectory
95+
} // namespace Aws
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
#pragma once
16+
#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
17+
#include <aws/core/AmazonSerializableWebServiceRequest.h>
18+
#include <aws/core/utils/UnreferencedParam.h>
19+
#include <aws/core/http/HttpRequest.h>
20+
21+
namespace Aws
22+
{
23+
namespace CloudDirectory
24+
{
25+
class AWS_CLOUDDIRECTORY_API CloudDirectoryRequest : public AmazonSerializableWebServiceRequest
26+
{
27+
public:
28+
virtual ~CloudDirectoryRequest () {}
29+
virtual Aws::String SerializePayload() const override = 0;
30+
31+
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
32+
33+
inline Aws::Http::HeaderValueCollection GetHeaders() const override
34+
{
35+
auto headers = GetRequestSpecificHeaders();
36+
37+
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
38+
{
39+
headers.insert(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, AMZN_JSON_CONTENT_TYPE_1_1 ));
40+
}
41+
42+
return headers;
43+
}
44+
45+
protected:
46+
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
47+
48+
};
49+
50+
51+
} // namespace CloudDirectory
52+
} // namespace Aws
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
#pragma once
16+
17+
#ifdef _MSC_VER
18+
//disable windows complaining about max template size.
19+
#pragma warning (disable : 4503)
20+
#endif // _MSC_VER
21+
22+
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
23+
#ifdef _MSC_VER
24+
#pragma warning(disable : 4251)
25+
#endif // _MSC_VER
26+
27+
#ifdef USE_IMPORT_EXPORT
28+
#ifdef AWS_CLOUDDIRECTORY_EXPORTS
29+
#define AWS_CLOUDDIRECTORY_API __declspec(dllexport)
30+
#else
31+
#define AWS_CLOUDDIRECTORY_API __declspec(dllimport)
32+
#endif /* AWS_CLOUDDIRECTORY_EXPORTS */
33+
#else
34+
#define AWS_CLOUDDIRECTORY_API
35+
#endif // USE_IMPORT_EXPORT
36+
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
37+
#define AWS_CLOUDDIRECTORY_API
38+
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

0 commit comments

Comments
 (0)