Skip to content

Commit a0d0384

Browse files
committed
chore(clients): regenerate clients with DirectedCodegen
Based on smithy-typescript changes in smithy-lang/smithy-typescript#585
1 parent 5c92d80 commit a0d0384

File tree

1 file changed

+73
-73
lines changed

1 file changed

+73
-73
lines changed

clients/client-identitystore/src/models/models_0.ts

Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,41 @@ export interface GetGroupIdResponse {
208208
IdentityStoreId: string | undefined;
209209
}
210210

211+
/**
212+
* <p>The request processing has failed because of an unknown error, exception or failure with an internal server.</p>
213+
*/
214+
export class InternalServerException extends __BaseException {
215+
readonly name: "InternalServerException" = "InternalServerException";
216+
readonly $fault: "server" = "server";
217+
$retryable = {};
218+
Message?: string;
219+
/**
220+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
221+
* the identity store service for each sent request, and is then returned inside the exception
222+
* if the request fails.</p>
223+
*/
224+
RequestId?: string;
225+
226+
/**
227+
* <p>The number of seconds that you would like to wait before retrying the next request.</p>
228+
*/
229+
RetryAfterSeconds?: number;
230+
/**
231+
* @internal
232+
*/
233+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>) {
234+
super({
235+
name: "InternalServerException",
236+
$fault: "server",
237+
...opts,
238+
});
239+
Object.setPrototypeOf(this, InternalServerException.prototype);
240+
this.Message = opts.Message;
241+
this.RequestId = opts.RequestId;
242+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
243+
}
244+
}
245+
211246
export enum ResourceType {
212247
GROUP = "GROUP",
213248
GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
@@ -255,6 +290,44 @@ export class ResourceNotFoundException extends __BaseException {
255290
}
256291
}
257292

293+
/**
294+
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
295+
*/
296+
export class ThrottlingException extends __BaseException {
297+
readonly name: "ThrottlingException" = "ThrottlingException";
298+
readonly $fault: "client" = "client";
299+
$retryable = {
300+
throttling: true,
301+
};
302+
Message?: string;
303+
/**
304+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
305+
* the identity store service for each sent request, and is then returned inside the exception
306+
* if the request fails.</p>
307+
*/
308+
RequestId?: string;
309+
310+
/**
311+
* <p>The number of seconds that you would like to wait before retrying the next
312+
* request.</p>
313+
*/
314+
RetryAfterSeconds?: number;
315+
/**
316+
* @internal
317+
*/
318+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>) {
319+
super({
320+
name: "ThrottlingException",
321+
$fault: "client",
322+
...opts,
323+
});
324+
Object.setPrototypeOf(this, ThrottlingException.prototype);
325+
this.Message = opts.Message;
326+
this.RequestId = opts.RequestId;
327+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
328+
}
329+
}
330+
258331
/**
259332
* <p>The request failed because it contains a syntax error.</p>
260333
*/
@@ -801,41 +874,6 @@ export interface UpdateGroupRequest {
801874

802875
export interface UpdateGroupResponse {}
803876

804-
/**
805-
* <p>The request processing has failed because of an unknown error, exception or failure with an internal server.</p>
806-
*/
807-
export class InternalServerException extends __BaseException {
808-
readonly name: "InternalServerException" = "InternalServerException";
809-
readonly $fault: "server" = "server";
810-
$retryable = {};
811-
Message?: string;
812-
/**
813-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
814-
* the identity store service for each sent request, and is then returned inside the exception
815-
* if the request fails.</p>
816-
*/
817-
RequestId?: string;
818-
819-
/**
820-
* <p>The number of seconds that you would like to wait before retrying the next request.</p>
821-
*/
822-
RetryAfterSeconds?: number;
823-
/**
824-
* @internal
825-
*/
826-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>) {
827-
super({
828-
name: "InternalServerException",
829-
$fault: "server",
830-
...opts,
831-
});
832-
Object.setPrototypeOf(this, InternalServerException.prototype);
833-
this.Message = opts.Message;
834-
this.RequestId = opts.RequestId;
835-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
836-
}
837-
}
838-
839877
export interface IsMemberInGroupsRequest {
840878
/**
841879
* <p>The globally unique identifier for the identity store.</p>
@@ -915,44 +953,6 @@ export interface ListGroupMembershipsForMemberResponse {
915953
NextToken?: string;
916954
}
917955

918-
/**
919-
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
920-
*/
921-
export class ThrottlingException extends __BaseException {
922-
readonly name: "ThrottlingException" = "ThrottlingException";
923-
readonly $fault: "client" = "client";
924-
$retryable = {
925-
throttling: true,
926-
};
927-
Message?: string;
928-
/**
929-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
930-
* the identity store service for each sent request, and is then returned inside the exception
931-
* if the request fails.</p>
932-
*/
933-
RequestId?: string;
934-
935-
/**
936-
* <p>The number of seconds that you would like to wait before retrying the next
937-
* request.</p>
938-
*/
939-
RetryAfterSeconds?: number;
940-
/**
941-
* @internal
942-
*/
943-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>) {
944-
super({
945-
name: "ThrottlingException",
946-
$fault: "client",
947-
...opts,
948-
});
949-
Object.setPrototypeOf(this, ThrottlingException.prototype);
950-
this.Message = opts.Message;
951-
this.RequestId = opts.RequestId;
952-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
953-
}
954-
}
955-
956956
/**
957957
* <p>The email address associated with the user.</p>
958958
*/

0 commit comments

Comments
 (0)