Skip to content

Commit ce7acf3

Browse files
Auto commit from CI.
1 parent eba98fb commit ce7acf3

File tree

424 files changed

+34247
-3825
lines changed

Some content is hidden

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

424 files changed

+34247
-3825
lines changed

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

+1-1
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.142;
16+
version : 1.0.20151208.143;
1717

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

aws-cpp-sdk-acm/source/ACMErrors.cpp

+18-18
Original file line numberDiff line numberDiff line change
@@ -28,51 +28,51 @@ namespace ACM
2828
namespace ACMErrorMapper
2929
{
3030

31+
static const int REQUEST_IN_PROGRESS_HASH = HashingUtils::HashString("RequestInProgressException");
32+
static const int TOO_MANY_TAGS_HASH = HashingUtils::HashString("TooManyTagsException");
3133
static const int INVALID_DOMAIN_VALIDATION_OPTIONS_HASH = HashingUtils::HashString("InvalidDomainValidationOptionsException");
34+
static const int INVALID_TAG_HASH = HashingUtils::HashString("InvalidTagException");
3235
static const int RESOURCE_IN_USE_HASH = HashingUtils::HashString("ResourceInUseException");
36+
static const int INVALID_ARN_HASH = HashingUtils::HashString("InvalidArnException");
3337
static const int INVALID_STATE_HASH = HashingUtils::HashString("InvalidStateException");
3438
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
35-
static const int INVALID_TAG_HASH = HashingUtils::HashString("InvalidTagException");
36-
static const int INVALID_ARN_HASH = HashingUtils::HashString("InvalidArnException");
37-
static const int REQUEST_IN_PROGRESS_HASH = HashingUtils::HashString("RequestInProgressException");
38-
static const int TOO_MANY_TAGS_HASH = HashingUtils::HashString("TooManyTagsException");
3939

4040

4141
AWSError<CoreErrors> GetErrorForName(const char* errorName)
4242
{
4343
int hashCode = HashingUtils::HashString(errorName);
4444

45-
if (hashCode == INVALID_DOMAIN_VALIDATION_OPTIONS_HASH)
45+
if (hashCode == REQUEST_IN_PROGRESS_HASH)
4646
{
47-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_DOMAIN_VALIDATION_OPTIONS), false);
48-
}
49-
else if (hashCode == RESOURCE_IN_USE_HASH)
50-
{
51-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::RESOURCE_IN_USE), false);
47+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::REQUEST_IN_PROGRESS), false);
5248
}
53-
else if (hashCode == INVALID_STATE_HASH)
49+
else if (hashCode == TOO_MANY_TAGS_HASH)
5450
{
55-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_STATE), false);
51+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::TOO_MANY_TAGS), false);
5652
}
57-
else if (hashCode == LIMIT_EXCEEDED_HASH)
53+
else if (hashCode == INVALID_DOMAIN_VALIDATION_OPTIONS_HASH)
5854
{
59-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::LIMIT_EXCEEDED), false);
55+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_DOMAIN_VALIDATION_OPTIONS), false);
6056
}
6157
else if (hashCode == INVALID_TAG_HASH)
6258
{
6359
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_TAG), false);
6460
}
61+
else if (hashCode == RESOURCE_IN_USE_HASH)
62+
{
63+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::RESOURCE_IN_USE), false);
64+
}
6565
else if (hashCode == INVALID_ARN_HASH)
6666
{
6767
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_ARN), false);
6868
}
69-
else if (hashCode == REQUEST_IN_PROGRESS_HASH)
69+
else if (hashCode == INVALID_STATE_HASH)
7070
{
71-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::REQUEST_IN_PROGRESS), false);
71+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_STATE), false);
7272
}
73-
else if (hashCode == TOO_MANY_TAGS_HASH)
73+
else if (hashCode == LIMIT_EXCEEDED_HASH)
7474
{
75-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::TOO_MANY_TAGS), false);
75+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::LIMIT_EXCEEDED), false);
7676
}
7777
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
7878
}

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

+1-1
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.142;
16+
version : 1.0.20150709.143;
1717

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

aws-cpp-sdk-apigateway/source/APIGatewayErrors.cpp

+16-16
Original file line numberDiff line numberDiff line change
@@ -28,41 +28,41 @@ namespace APIGateway
2828
namespace APIGatewayErrorMapper
2929
{
3030

31-
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
32-
static const int UNAUTHORIZED_HASH = HashingUtils::HashString("UnauthorizedException");
33-
static const int TOO_MANY_REQUESTS_HASH = HashingUtils::HashString("TooManyRequestsException");
34-
static const int BAD_REQUEST_HASH = HashingUtils::HashString("BadRequestException");
3531
static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException");
3632
static const int NOT_FOUND_HASH = HashingUtils::HashString("NotFoundException");
33+
static const int BAD_REQUEST_HASH = HashingUtils::HashString("BadRequestException");
34+
static const int UNAUTHORIZED_HASH = HashingUtils::HashString("UnauthorizedException");
35+
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
36+
static const int TOO_MANY_REQUESTS_HASH = HashingUtils::HashString("TooManyRequestsException");
3737

3838

3939
AWSError<CoreErrors> GetErrorForName(const char* errorName)
4040
{
4141
int hashCode = HashingUtils::HashString(errorName);
4242

43-
if (hashCode == LIMIT_EXCEEDED_HASH)
43+
if (hashCode == CONFLICT_HASH)
4444
{
45-
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::LIMIT_EXCEEDED), false);
46-
}
47-
else if (hashCode == UNAUTHORIZED_HASH)
48-
{
49-
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::UNAUTHORIZED), false);
45+
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::CONFLICT), false);
5046
}
51-
else if (hashCode == TOO_MANY_REQUESTS_HASH)
47+
else if (hashCode == NOT_FOUND_HASH)
5248
{
53-
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::TOO_MANY_REQUESTS), false);
49+
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::NOT_FOUND), false);
5450
}
5551
else if (hashCode == BAD_REQUEST_HASH)
5652
{
5753
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::BAD_REQUEST), false);
5854
}
59-
else if (hashCode == CONFLICT_HASH)
55+
else if (hashCode == UNAUTHORIZED_HASH)
6056
{
61-
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::CONFLICT), false);
57+
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::UNAUTHORIZED), false);
6258
}
63-
else if (hashCode == NOT_FOUND_HASH)
59+
else if (hashCode == LIMIT_EXCEEDED_HASH)
6460
{
65-
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::NOT_FOUND), false);
61+
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::LIMIT_EXCEEDED), false);
62+
}
63+
else if (hashCode == TOO_MANY_REQUESTS_HASH)
64+
{
65+
return AWSError<CoreErrors>(static_cast<CoreErrors>(APIGatewayErrors::TOO_MANY_REQUESTS), false);
6666
}
6767
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
6868
}

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

+1-1
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.142;
16+
version : 1.0.20160206.143;
1717

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

aws-cpp-sdk-application-autoscaling/source/ApplicationAutoScalingErrors.cpp

+11-11
Original file line numberDiff line numberDiff line change
@@ -28,37 +28,37 @@ namespace ApplicationAutoScaling
2828
namespace ApplicationAutoScalingErrorMapper
2929
{
3030

31-
static const int FAILED_RESOURCE_ACCESS_HASH = HashingUtils::HashString("FailedResourceAccessException");
3231
static const int OBJECT_NOT_FOUND_HASH = HashingUtils::HashString("ObjectNotFoundException");
33-
static const int CONCURRENT_UPDATE_HASH = HashingUtils::HashString("ConcurrentUpdateException");
34-
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
32+
static const int FAILED_RESOURCE_ACCESS_HASH = HashingUtils::HashString("FailedResourceAccessException");
3533
static const int INVALID_NEXT_TOKEN_HASH = HashingUtils::HashString("InvalidNextTokenException");
34+
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
35+
static const int CONCURRENT_UPDATE_HASH = HashingUtils::HashString("ConcurrentUpdateException");
3636
static const int INTERNAL_SERVICE_HASH = HashingUtils::HashString("InternalServiceException");
3737

3838

3939
AWSError<CoreErrors> GetErrorForName(const char* errorName)
4040
{
4141
int hashCode = HashingUtils::HashString(errorName);
4242

43-
if (hashCode == FAILED_RESOURCE_ACCESS_HASH)
43+
if (hashCode == OBJECT_NOT_FOUND_HASH)
4444
{
45-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::FAILED_RESOURCE_ACCESS), false);
45+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::OBJECT_NOT_FOUND), false);
4646
}
47-
else if (hashCode == OBJECT_NOT_FOUND_HASH)
47+
else if (hashCode == FAILED_RESOURCE_ACCESS_HASH)
4848
{
49-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::OBJECT_NOT_FOUND), false);
49+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::FAILED_RESOURCE_ACCESS), false);
5050
}
51-
else if (hashCode == CONCURRENT_UPDATE_HASH)
51+
else if (hashCode == INVALID_NEXT_TOKEN_HASH)
5252
{
53-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::CONCURRENT_UPDATE), false);
53+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::INVALID_NEXT_TOKEN), false);
5454
}
5555
else if (hashCode == LIMIT_EXCEEDED_HASH)
5656
{
5757
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::LIMIT_EXCEEDED), false);
5858
}
59-
else if (hashCode == INVALID_NEXT_TOKEN_HASH)
59+
else if (hashCode == CONCURRENT_UPDATE_HASH)
6060
{
61-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::INVALID_NEXT_TOKEN), false);
61+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationAutoScalingErrors::CONCURRENT_UPDATE), false);
6262
}
6363
else if (hashCode == INTERNAL_SERVICE_HASH)
6464
{

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

+1-1
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.142;
16+
version : 1.0.20161201.143;
1717

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

aws-cpp-sdk-appstream/source/AppStreamErrors.cpp

+14-14
Original file line numberDiff line numberDiff line change
@@ -28,47 +28,47 @@ namespace AppStream
2828
namespace AppStreamErrorMapper
2929
{
3030

31+
static const int RESOURCE_NOT_AVAILABLE_HASH = HashingUtils::HashString("ResourceNotAvailableException");
32+
static const int CONCURRENT_MODIFICATION_HASH = HashingUtils::HashString("ConcurrentModificationException");
3133
static const int RESOURCE_IN_USE_HASH = HashingUtils::HashString("ResourceInUseException");
3234
static const int RESOURCE_ALREADY_EXISTS_HASH = HashingUtils::HashString("ResourceAlreadyExistsException");
33-
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
3435
static const int INVALID_ROLE_HASH = HashingUtils::HashString("InvalidRoleException");
35-
static const int CONCURRENT_MODIFICATION_HASH = HashingUtils::HashString("ConcurrentModificationException");
3636
static const int INCOMPATIBLE_IMAGE_HASH = HashingUtils::HashString("IncompatibleImageException");
37-
static const int RESOURCE_NOT_AVAILABLE_HASH = HashingUtils::HashString("ResourceNotAvailableException");
37+
static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException");
3838
static const int OPERATION_NOT_PERMITTED_HASH = HashingUtils::HashString("OperationNotPermittedException");
3939

4040

4141
AWSError<CoreErrors> GetErrorForName(const char* errorName)
4242
{
4343
int hashCode = HashingUtils::HashString(errorName);
4444

45-
if (hashCode == RESOURCE_IN_USE_HASH)
45+
if (hashCode == RESOURCE_NOT_AVAILABLE_HASH)
46+
{
47+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::RESOURCE_NOT_AVAILABLE), false);
48+
}
49+
else if (hashCode == CONCURRENT_MODIFICATION_HASH)
50+
{
51+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::CONCURRENT_MODIFICATION), false);
52+
}
53+
else if (hashCode == RESOURCE_IN_USE_HASH)
4654
{
4755
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::RESOURCE_IN_USE), false);
4856
}
4957
else if (hashCode == RESOURCE_ALREADY_EXISTS_HASH)
5058
{
5159
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::RESOURCE_ALREADY_EXISTS), false);
5260
}
53-
else if (hashCode == LIMIT_EXCEEDED_HASH)
54-
{
55-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::LIMIT_EXCEEDED), false);
56-
}
5761
else if (hashCode == INVALID_ROLE_HASH)
5862
{
5963
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::INVALID_ROLE), false);
6064
}
61-
else if (hashCode == CONCURRENT_MODIFICATION_HASH)
62-
{
63-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::CONCURRENT_MODIFICATION), false);
64-
}
6565
else if (hashCode == INCOMPATIBLE_IMAGE_HASH)
6666
{
6767
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::INCOMPATIBLE_IMAGE), false);
6868
}
69-
else if (hashCode == RESOURCE_NOT_AVAILABLE_HASH)
69+
else if (hashCode == LIMIT_EXCEEDED_HASH)
7070
{
71-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::RESOURCE_NOT_AVAILABLE), false);
71+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppStreamErrors::LIMIT_EXCEEDED), false);
7272
}
7373
else if (hashCode == OPERATION_NOT_PERMITTED_HASH)
7474
{

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

+1-1
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.142;
16+
version : 1.0.20110101.143;
1717

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

aws-cpp-sdk-autoscaling/source/AutoScalingErrors.cpp

+13-13
Original file line numberDiff line numberDiff line change
@@ -28,41 +28,41 @@ namespace AutoScaling
2828
namespace AutoScalingErrorMapper
2929
{
3030

31+
static const int SCALING_ACTIVITY_IN_PROGRESS_FAULT_HASH = HashingUtils::HashString("ScalingActivityInProgress");
32+
static const int RESOURCE_CONTENTION_FAULT_HASH = HashingUtils::HashString("ResourceContention");
33+
static const int ALREADY_EXISTS_FAULT_HASH = HashingUtils::HashString("AlreadyExists");
3134
static const int RESOURCE_IN_USE_FAULT_HASH = HashingUtils::HashString("ResourceInUse");
3235
static const int LIMIT_EXCEEDED_FAULT_HASH = HashingUtils::HashString("LimitExceeded");
33-
static const int ALREADY_EXISTS_FAULT_HASH = HashingUtils::HashString("AlreadyExists");
34-
static const int SCALING_ACTIVITY_IN_PROGRESS_FAULT_HASH = HashingUtils::HashString("ScalingActivityInProgress");
3536
static const int INVALID_NEXT_TOKEN_HASH = HashingUtils::HashString("InvalidNextToken");
36-
static const int RESOURCE_CONTENTION_FAULT_HASH = HashingUtils::HashString("ResourceContention");
3737

3838

3939
AWSError<CoreErrors> GetErrorForName(const char* errorName)
4040
{
4141
int hashCode = HashingUtils::HashString(errorName);
4242

43-
if (hashCode == RESOURCE_IN_USE_FAULT_HASH)
43+
if (hashCode == SCALING_ACTIVITY_IN_PROGRESS_FAULT_HASH)
4444
{
45-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::RESOURCE_IN_USE_FAULT), false);
45+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::SCALING_ACTIVITY_IN_PROGRESS_FAULT), false);
4646
}
47-
else if (hashCode == LIMIT_EXCEEDED_FAULT_HASH)
47+
else if (hashCode == RESOURCE_CONTENTION_FAULT_HASH)
4848
{
49-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::LIMIT_EXCEEDED_FAULT), false);
49+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::RESOURCE_CONTENTION_FAULT), true);
5050
}
5151
else if (hashCode == ALREADY_EXISTS_FAULT_HASH)
5252
{
5353
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::ALREADY_EXISTS_FAULT), false);
5454
}
55-
else if (hashCode == SCALING_ACTIVITY_IN_PROGRESS_FAULT_HASH)
55+
else if (hashCode == RESOURCE_IN_USE_FAULT_HASH)
5656
{
57-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::SCALING_ACTIVITY_IN_PROGRESS_FAULT), false);
57+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::RESOURCE_IN_USE_FAULT), false);
5858
}
59-
else if (hashCode == INVALID_NEXT_TOKEN_HASH)
59+
else if (hashCode == LIMIT_EXCEEDED_FAULT_HASH)
6060
{
61-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::INVALID_NEXT_TOKEN), false);
61+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::LIMIT_EXCEEDED_FAULT), false);
6262
}
63-
else if (hashCode == RESOURCE_CONTENTION_FAULT_HASH)
63+
else if (hashCode == INVALID_NEXT_TOKEN_HASH)
6464
{
65-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::RESOURCE_CONTENTION_FAULT), true);
65+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::INVALID_NEXT_TOKEN), false);
6666
}
6767
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
6868
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-Batch;
1414

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

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

aws-cpp-sdk-batch/source/BatchErrors.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ namespace Batch
2828
namespace BatchErrorMapper
2929
{
3030

31-
static const int CLIENT_HASH = HashingUtils::HashString("ClientException");
3231
static const int SERVER_HASH = HashingUtils::HashString("ServerException");
32+
static const int CLIENT_HASH = HashingUtils::HashString("ClientException");
3333

3434

3535
AWSError<CoreErrors> GetErrorForName(const char* errorName)
3636
{
3737
int hashCode = HashingUtils::HashString(errorName);
3838

39-
if (hashCode == CLIENT_HASH)
39+
if (hashCode == SERVER_HASH)
4040
{
41-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BatchErrors::CLIENT), false);
41+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BatchErrors::SERVER), false);
4242
}
43-
else if (hashCode == SERVER_HASH)
43+
else if (hashCode == CLIENT_HASH)
4444
{
45-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BatchErrors::SERVER), false);
45+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BatchErrors::CLIENT), false);
4646
}
4747
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
4848
}

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

+1-1
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.142;
16+
version : 1.0.20161020.143;
1717

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

0 commit comments

Comments
 (0)