Skip to content

Commit

Permalink
chore: add name to client Errors (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 13, 2020
1 parent c3d972d commit 6e9890d
Show file tree
Hide file tree
Showing 364 changed files with 4,389 additions and 0 deletions.
18 changes: 18 additions & 0 deletions clients/client-acm-pca/models/index.ts
Expand Up @@ -326,6 +326,7 @@ export interface CertificateMismatchException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "CertificateMismatchException";
name: "CertificateMismatchException";
$fault: "client";
message?: string;
}
Expand All @@ -345,6 +346,7 @@ export interface ConcurrentModificationException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ConcurrentModificationException";
name: "ConcurrentModificationException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1065,6 +1067,7 @@ export interface InvalidArgsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidArgsException";
name: "InvalidArgsException";
$fault: "client";
message?: string;
}
Expand All @@ -1085,6 +1088,7 @@ export interface InvalidArnException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidArnException";
name: "InvalidArnException";
$fault: "client";
message?: string;
}
Expand All @@ -1105,6 +1109,7 @@ export interface InvalidNextTokenException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidNextTokenException";
name: "InvalidNextTokenException";
$fault: "client";
message?: string;
}
Expand All @@ -1125,6 +1130,7 @@ export interface InvalidPolicyException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidPolicyException";
name: "InvalidPolicyException";
$fault: "client";
message?: string;
}
Expand All @@ -1144,6 +1150,7 @@ export interface InvalidRequestException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidRequestException";
name: "InvalidRequestException";
$fault: "client";
message?: string;
}
Expand All @@ -1164,6 +1171,7 @@ export interface InvalidStateException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidStateException";
name: "InvalidStateException";
$fault: "client";
message?: string;
}
Expand All @@ -1184,6 +1192,7 @@ export interface InvalidTagException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidTagException";
name: "InvalidTagException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1331,6 +1340,7 @@ export interface LimitExceededException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "LimitExceededException";
name: "LimitExceededException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1530,6 +1540,7 @@ export interface MalformedCSRException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "MalformedCSRException";
name: "MalformedCSRException";
$fault: "client";
message?: string;
}
Expand All @@ -1549,6 +1560,7 @@ export interface MalformedCertificateException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "MalformedCertificateException";
name: "MalformedCertificateException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1630,6 +1642,7 @@ export interface PermissionAlreadyExistsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "PermissionAlreadyExistsException";
name: "PermissionAlreadyExistsException";
$fault: "client";
message?: string;
}
Expand All @@ -1649,6 +1662,7 @@ export interface RequestAlreadyProcessedException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "RequestAlreadyProcessedException";
name: "RequestAlreadyProcessedException";
$fault: "client";
message?: string;
}
Expand All @@ -1668,6 +1682,7 @@ export interface RequestFailedException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "RequestFailedException";
name: "RequestFailedException";
$fault: "client";
message?: string;
}
Expand All @@ -1687,6 +1702,7 @@ export interface RequestInProgressException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "RequestInProgressException";
name: "RequestInProgressException";
$fault: "client";
message?: string;
}
Expand All @@ -1707,6 +1723,7 @@ export interface ResourceNotFoundException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ResourceNotFoundException";
name: "ResourceNotFoundException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1895,6 +1912,7 @@ export interface TooManyTagsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "TooManyTagsException";
name: "TooManyTagsException";
$fault: "client";
message?: string;
}
Expand Down
18 changes: 18 additions & 0 deletions clients/client-acm-pca/protocols/Aws_json1_1.ts
Expand Up @@ -2166,6 +2166,7 @@ const deserializeAws_json1_1CertificateMismatchExceptionResponse = async (
context
);
const contents: CertificateMismatchException = {
name: "CertificateMismatchException",
__type: "CertificateMismatchException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2184,6 +2185,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (
context
);
const contents: ConcurrentModificationException = {
name: "ConcurrentModificationException",
__type: "ConcurrentModificationException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2202,6 +2204,7 @@ const deserializeAws_json1_1InvalidArgsExceptionResponse = async (
context
);
const contents: InvalidArgsException = {
name: "InvalidArgsException",
__type: "InvalidArgsException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2220,6 +2223,7 @@ const deserializeAws_json1_1InvalidArnExceptionResponse = async (
context
);
const contents: InvalidArnException = {
name: "InvalidArnException",
__type: "InvalidArnException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2238,6 +2242,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (
context
);
const contents: InvalidNextTokenException = {
name: "InvalidNextTokenException",
__type: "InvalidNextTokenException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2256,6 +2261,7 @@ const deserializeAws_json1_1InvalidPolicyExceptionResponse = async (
context
);
const contents: InvalidPolicyException = {
name: "InvalidPolicyException",
__type: "InvalidPolicyException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2274,6 +2280,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (
context
);
const contents: InvalidRequestException = {
name: "InvalidRequestException",
__type: "InvalidRequestException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2292,6 +2299,7 @@ const deserializeAws_json1_1InvalidStateExceptionResponse = async (
context
);
const contents: InvalidStateException = {
name: "InvalidStateException",
__type: "InvalidStateException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2310,6 +2318,7 @@ const deserializeAws_json1_1InvalidTagExceptionResponse = async (
context
);
const contents: InvalidTagException = {
name: "InvalidTagException",
__type: "InvalidTagException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2328,6 +2337,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (
context
);
const contents: LimitExceededException = {
name: "LimitExceededException",
__type: "LimitExceededException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2346,6 +2356,7 @@ const deserializeAws_json1_1MalformedCSRExceptionResponse = async (
context
);
const contents: MalformedCSRException = {
name: "MalformedCSRException",
__type: "MalformedCSRException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2364,6 +2375,7 @@ const deserializeAws_json1_1MalformedCertificateExceptionResponse = async (
context
);
const contents: MalformedCertificateException = {
name: "MalformedCertificateException",
__type: "MalformedCertificateException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2382,6 +2394,7 @@ const deserializeAws_json1_1PermissionAlreadyExistsExceptionResponse = async (
context
);
const contents: PermissionAlreadyExistsException = {
name: "PermissionAlreadyExistsException",
__type: "PermissionAlreadyExistsException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2400,6 +2413,7 @@ const deserializeAws_json1_1RequestAlreadyProcessedExceptionResponse = async (
context
);
const contents: RequestAlreadyProcessedException = {
name: "RequestAlreadyProcessedException",
__type: "RequestAlreadyProcessedException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2418,6 +2432,7 @@ const deserializeAws_json1_1RequestFailedExceptionResponse = async (
context
);
const contents: RequestFailedException = {
name: "RequestFailedException",
__type: "RequestFailedException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2436,6 +2451,7 @@ const deserializeAws_json1_1RequestInProgressExceptionResponse = async (
context
);
const contents: RequestInProgressException = {
name: "RequestInProgressException",
__type: "RequestInProgressException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2454,6 +2470,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (
context
);
const contents: ResourceNotFoundException = {
name: "ResourceNotFoundException",
__type: "ResourceNotFoundException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand All @@ -2472,6 +2489,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (
context
);
const contents: TooManyTagsException = {
name: "TooManyTagsException",
__type: "TooManyTagsException",
$fault: "client",
$metadata: deserializeMetadata(parsedOutput),
Expand Down
12 changes: 12 additions & 0 deletions clients/client-acm/models/index.ts
Expand Up @@ -875,6 +875,7 @@ export interface InvalidArgsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidArgsException";
name: "InvalidArgsException";
$fault: "client";
message?: string;
}
Expand All @@ -894,6 +895,7 @@ export interface InvalidArnException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidArnException";
name: "InvalidArnException";
$fault: "client";
message?: string;
}
Expand All @@ -914,6 +916,7 @@ export interface InvalidDomainValidationOptionsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidDomainValidationOptionsException";
name: "InvalidDomainValidationOptionsException";
$fault: "client";
message?: string;
}
Expand All @@ -933,6 +936,7 @@ export interface InvalidParameterException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidParameterException";
name: "InvalidParameterException";
$fault: "client";
message?: string;
}
Expand All @@ -952,6 +956,7 @@ export interface InvalidStateException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidStateException";
name: "InvalidStateException";
$fault: "client";
message?: string;
}
Expand All @@ -972,6 +977,7 @@ export interface InvalidTagException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidTagException";
name: "InvalidTagException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1036,6 +1042,7 @@ export interface LimitExceededException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "LimitExceededException";
name: "LimitExceededException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1410,6 +1417,7 @@ export interface RequestInProgressException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "RequestInProgressException";
name: "RequestInProgressException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1490,6 +1498,7 @@ export interface ResourceInUseException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ResourceInUseException";
name: "ResourceInUseException";
$fault: "client";
message?: string;
}
Expand All @@ -1510,6 +1519,7 @@ export interface ResourceNotFoundException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ResourceNotFoundException";
name: "ResourceNotFoundException";
$fault: "client";
message?: string;
}
Expand Down Expand Up @@ -1607,6 +1617,7 @@ export interface TagPolicyException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "TagPolicyException";
name: "TagPolicyException";
$fault: "client";
message?: string;
}
Expand All @@ -1626,6 +1637,7 @@ export interface TooManyTagsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "TooManyTagsException";
name: "TooManyTagsException";
$fault: "client";
message?: string;
}
Expand Down

0 comments on commit 6e9890d

Please sign in to comment.