Skip to content

Commit 4aae71e

Browse files
Add DisallowedByVpcEncryptionControl to the LastUpdateStatusReasonCode and StateReasonCode enums to represent failures caused by VPC Encryption Controls.
1 parent 114e147 commit 4aae71e

File tree

8 files changed

+140
-126
lines changed

8 files changed

+140
-126
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.703
1+
1.11.704

generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/LastUpdateStatusReasonCode.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ enum class LastUpdateStatusReasonCode {
4444
FunctionError_InvalidWorkingDirectory,
4545
FunctionError_PermissionDenied,
4646
FunctionError_TooManyExtensions,
47-
FunctionError_InitResourceExhausted
47+
FunctionError_InitResourceExhausted,
48+
DisallowedByVpcEncryptionControl
4849
};
4950

5051
namespace LastUpdateStatusReasonCodeMapper {

generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/StateReasonCode.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ enum class StateReasonCode {
4848
FunctionError_InvalidWorkingDirectory,
4949
FunctionError_PermissionDenied,
5050
FunctionError_TooManyExtensions,
51-
FunctionError_InitResourceExhausted
51+
FunctionError_InitResourceExhausted,
52+
DisallowedByVpcEncryptionControl
5253
};
5354

5455
namespace StateReasonCodeMapper {

generated/src/aws-cpp-sdk-lambda/source/model/LastUpdateStatusReasonCode.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ static const int FunctionError_InvalidWorkingDirectory_HASH = HashingUtils::Hash
4848
static const int FunctionError_PermissionDenied_HASH = HashingUtils::HashString("FunctionError.PermissionDenied");
4949
static const int FunctionError_TooManyExtensions_HASH = HashingUtils::HashString("FunctionError.TooManyExtensions");
5050
static const int FunctionError_InitResourceExhausted_HASH = HashingUtils::HashString("FunctionError.InitResourceExhausted");
51+
static const int DisallowedByVpcEncryptionControl_HASH = HashingUtils::HashString("DisallowedByVpcEncryptionControl");
5152

5253
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCodeForName(const Aws::String& name) {
5354
int hashCode = HashingUtils::HashString(name.c_str());
@@ -117,6 +118,8 @@ LastUpdateStatusReasonCode GetLastUpdateStatusReasonCodeForName(const Aws::Strin
117118
return LastUpdateStatusReasonCode::FunctionError_TooManyExtensions;
118119
} else if (hashCode == FunctionError_InitResourceExhausted_HASH) {
119120
return LastUpdateStatusReasonCode::FunctionError_InitResourceExhausted;
121+
} else if (hashCode == DisallowedByVpcEncryptionControl_HASH) {
122+
return LastUpdateStatusReasonCode::DisallowedByVpcEncryptionControl;
120123
}
121124
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
122125
if (overflowContainer) {
@@ -197,6 +200,8 @@ Aws::String GetNameForLastUpdateStatusReasonCode(LastUpdateStatusReasonCode enum
197200
return "FunctionError.TooManyExtensions";
198201
case LastUpdateStatusReasonCode::FunctionError_InitResourceExhausted:
199202
return "FunctionError.InitResourceExhausted";
203+
case LastUpdateStatusReasonCode::DisallowedByVpcEncryptionControl:
204+
return "DisallowedByVpcEncryptionControl";
200205
default:
201206
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
202207
if (overflowContainer) {

generated/src/aws-cpp-sdk-lambda/source/model/StateReasonCode.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ static const int FunctionError_InvalidWorkingDirectory_HASH = HashingUtils::Hash
5252
static const int FunctionError_PermissionDenied_HASH = HashingUtils::HashString("FunctionError.PermissionDenied");
5353
static const int FunctionError_TooManyExtensions_HASH = HashingUtils::HashString("FunctionError.TooManyExtensions");
5454
static const int FunctionError_InitResourceExhausted_HASH = HashingUtils::HashString("FunctionError.InitResourceExhausted");
55+
static const int DisallowedByVpcEncryptionControl_HASH = HashingUtils::HashString("DisallowedByVpcEncryptionControl");
5556

5657
StateReasonCode GetStateReasonCodeForName(const Aws::String& name) {
5758
int hashCode = HashingUtils::HashString(name.c_str());
@@ -129,6 +130,8 @@ StateReasonCode GetStateReasonCodeForName(const Aws::String& name) {
129130
return StateReasonCode::FunctionError_TooManyExtensions;
130131
} else if (hashCode == FunctionError_InitResourceExhausted_HASH) {
131132
return StateReasonCode::FunctionError_InitResourceExhausted;
133+
} else if (hashCode == DisallowedByVpcEncryptionControl_HASH) {
134+
return StateReasonCode::DisallowedByVpcEncryptionControl;
132135
}
133136
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
134137
if (overflowContainer) {
@@ -217,6 +220,8 @@ Aws::String GetNameForStateReasonCode(StateReasonCode enumValue) {
217220
return "FunctionError.TooManyExtensions";
218221
case StateReasonCode::FunctionError_InitResourceExhausted:
219222
return "FunctionError.InitResourceExhausted";
223+
case StateReasonCode::DisallowedByVpcEncryptionControl:
224+
return "DisallowedByVpcEncryptionControl";
220225
default:
221226
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
222227
if (overflowContainer) {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
#pragma once
66

7-
#define AWS_SDK_VERSION_STRING "1.11.703"
7+
#define AWS_SDK_VERSION_STRING "1.11.704"
88
#define AWS_SDK_VERSION_MAJOR 1
99
#define AWS_SDK_VERSION_MINOR 11
10-
#define AWS_SDK_VERSION_PATCH 703
10+
#define AWS_SDK_VERSION_PATCH 704

tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5990,7 +5990,8 @@
59905990
"FunctionError.InvalidWorkingDirectory",
59915991
"FunctionError.PermissionDenied",
59925992
"FunctionError.TooManyExtensions",
5993-
"FunctionError.InitResourceExhausted"
5993+
"FunctionError.InitResourceExhausted",
5994+
"DisallowedByVpcEncryptionControl"
59945995
]
59955996
},
59965997
"Layer":{
@@ -8386,7 +8387,8 @@
83868387
"FunctionError.InvalidWorkingDirectory",
83878388
"FunctionError.PermissionDenied",
83888389
"FunctionError.TooManyExtensions",
8389-
"FunctionError.InitResourceExhausted"
8390+
"FunctionError.InitResourceExhausted",
8391+
"DisallowedByVpcEncryptionControl"
83908392
]
83918393
},
83928394
"StatementId":{

0 commit comments

Comments
 (0)