Skip to content

Commit 70621d9

Browse files
authored
chore: codegen for adding retryable in Error (#1237)
1 parent 9d224e7 commit 70621d9

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

clients/client-accessanalyzer/models/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ export interface InternalServerException
763763
$MetadataBearer {
764764
name: "InternalServerException";
765765
$fault: "server";
766+
$retryable: {};
766767
message: string | undefined;
767768
/**
768769
* <p>The seconds to wait to retry.</p>
@@ -1213,6 +1214,7 @@ export interface ThrottlingException
12131214
$MetadataBearer {
12141215
name: "ThrottlingException";
12151216
$fault: "client";
1217+
$retryable: {};
12161218
message: string | undefined;
12171219
/**
12181220
* <p>The seconds to wait to retry.</p>

clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,6 +2724,7 @@ const deserializeAws_restJson1_1InternalServerExceptionResponse = async (
27242724
const contents: InternalServerException = {
27252725
name: "InternalServerException",
27262726
$fault: "server",
2727+
$retryable: {},
27272728
$metadata: deserializeMetadata(parsedOutput),
27282729
message: undefined,
27292730
retryAfterSeconds: undefined
@@ -2798,6 +2799,7 @@ const deserializeAws_restJson1_1ThrottlingExceptionResponse = async (
27982799
const contents: ThrottlingException = {
27992800
name: "ThrottlingException",
28002801
$fault: "client",
2802+
$retryable: {},
28012803
$metadata: deserializeMetadata(parsedOutput),
28022804
message: undefined,
28032805
retryAfterSeconds: undefined

clients/client-app-mesh/models/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,6 +1654,7 @@ export interface InternalServerErrorException
16541654
$MetadataBearer {
16551655
name: "InternalServerErrorException";
16561656
$fault: "server";
1657+
$retryable: {};
16571658
message?: string;
16581659
}
16591660

@@ -2549,6 +2550,7 @@ export interface ServiceUnavailableException
25492550
$MetadataBearer {
25502551
name: "ServiceUnavailableException";
25512552
$fault: "server";
2553+
$retryable: {};
25522554
message?: string;
25532555
}
25542556

clients/client-app-mesh/protocols/Aws_restJson1_1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5046,6 +5046,7 @@ const deserializeAws_restJson1_1InternalServerErrorExceptionResponse = async (
50465046
const contents: InternalServerErrorException = {
50475047
name: "InternalServerErrorException",
50485048
$fault: "server",
5049+
$retryable: {},
50495050
$metadata: deserializeMetadata(parsedOutput),
50505051
message: undefined
50515052
};
@@ -5114,6 +5115,7 @@ const deserializeAws_restJson1_1ServiceUnavailableExceptionResponse = async (
51145115
const contents: ServiceUnavailableException = {
51155116
name: "ServiceUnavailableException",
51165117
$fault: "server",
5118+
$retryable: {},
51175119
$metadata: deserializeMetadata(parsedOutput),
51185120
message: undefined
51195121
};

clients/client-codeguruprofiler/models/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export interface InternalServerException
6969
$MetadataBearer {
7070
name: "InternalServerException";
7171
$fault: "server";
72+
$retryable: {};
7273
message: string | undefined;
7374
}
7475

@@ -118,6 +119,7 @@ export interface ServiceQuotaExceededException
118119
$MetadataBearer {
119120
name: "ServiceQuotaExceededException";
120121
$fault: "client";
122+
$retryable: {};
121123
message: string | undefined;
122124
}
123125

@@ -139,6 +141,7 @@ export interface ThrottlingException
139141
$MetadataBearer {
140142
name: "ThrottlingException";
141143
$fault: "client";
144+
$retryable: {};
142145
message: string | undefined;
143146
}
144147

clients/client-codeguruprofiler/protocols/Aws_restJson1_1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,7 @@ const deserializeAws_restJson1_1InternalServerExceptionResponse = async (
13461346
const contents: InternalServerException = {
13471347
name: "InternalServerException",
13481348
$fault: "server",
1349+
$retryable: {},
13491350
$metadata: deserializeMetadata(parsedOutput),
13501351
message: undefined
13511352
};
@@ -1380,6 +1381,7 @@ const deserializeAws_restJson1_1ServiceQuotaExceededExceptionResponse = async (
13801381
const contents: ServiceQuotaExceededException = {
13811382
name: "ServiceQuotaExceededException",
13821383
$fault: "client",
1384+
$retryable: {},
13831385
$metadata: deserializeMetadata(parsedOutput),
13841386
message: undefined
13851387
};
@@ -1397,6 +1399,7 @@ const deserializeAws_restJson1_1ThrottlingExceptionResponse = async (
13971399
const contents: ThrottlingException = {
13981400
name: "ThrottlingException",
13991401
$fault: "client",
1402+
$retryable: {},
14001403
$metadata: deserializeMetadata(parsedOutput),
14011404
message: undefined
14021405
};

0 commit comments

Comments
 (0)