Skip to content

Commit

Permalink
chore: add name property to error structures
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 13, 2020
1 parent 1b496bc commit c055e59
Show file tree
Hide file tree
Showing 182 changed files with 2,195 additions and 0 deletions.
18 changes: 18 additions & 0 deletions clients/client-acm-pca/models/index.ts
Original file line number Diff line number Diff line change
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
12 changes: 12 additions & 0 deletions clients/client-acm/models/index.ts
Original file line number Diff line number Diff line change
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
15 changes: 15 additions & 0 deletions clients/client-alexa-for-business/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface AlreadyExistsException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "AlreadyExistsException";
name: "AlreadyExistsException";
$fault: "client";
Message?: string;
}
Expand All @@ -29,6 +30,7 @@ export interface ConcurrentModificationException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ConcurrentModificationException";
name: "ConcurrentModificationException";
$fault: "client";
Message?: string;
}
Expand All @@ -48,6 +50,7 @@ export interface DeviceNotRegisteredException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "DeviceNotRegisteredException";
name: "DeviceNotRegisteredException";
$fault: "client";
Message?: string;
}
Expand Down Expand Up @@ -96,6 +99,7 @@ export interface LimitExceededException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "LimitExceededException";
name: "LimitExceededException";
$fault: "client";
Message?: string;
}
Expand All @@ -115,6 +119,7 @@ export interface NameInUseException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "NameInUseException";
name: "NameInUseException";
$fault: "client";
Message?: string;
}
Expand All @@ -134,6 +139,7 @@ export interface NotFoundException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "NotFoundException";
name: "NotFoundException";
$fault: "client";
Message?: string;
}
Expand All @@ -153,6 +159,7 @@ export interface ResourceInUseException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ResourceInUseException";
name: "ResourceInUseException";
$fault: "client";
/**
*
Expand All @@ -179,6 +186,7 @@ export interface UnauthorizedException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "UnauthorizedException";
name: "UnauthorizedException";
$fault: "client";
Message?: string;
}
Expand Down Expand Up @@ -3789,6 +3797,7 @@ export interface InvalidCertificateAuthorityException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidCertificateAuthorityException";
name: "InvalidCertificateAuthorityException";
$fault: "client";
Message?: string;
}
Expand All @@ -3808,6 +3817,7 @@ export interface InvalidDeviceException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidDeviceException";
name: "InvalidDeviceException";
$fault: "client";
Message?: string;
}
Expand All @@ -3827,6 +3837,7 @@ export interface InvalidSecretsManagerResourceException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidSecretsManagerResourceException";
name: "InvalidSecretsManagerResourceException";
$fault: "client";
Message?: string;
}
Expand All @@ -3846,6 +3857,7 @@ export interface InvalidServiceLinkedRoleStateException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidServiceLinkedRoleStateException";
name: "InvalidServiceLinkedRoleStateException";
$fault: "client";
Message?: string;
}
Expand All @@ -3865,6 +3877,7 @@ export interface InvalidUserStatusException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "InvalidUserStatusException";
name: "InvalidUserStatusException";
$fault: "client";
Message?: string;
}
Expand Down Expand Up @@ -5187,6 +5200,7 @@ export interface ResourceAssociatedException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "ResourceAssociatedException";
name: "ResourceAssociatedException";
$fault: "client";
Message?: string;
}
Expand Down Expand Up @@ -6179,6 +6193,7 @@ export interface SkillNotLinkedException
extends _smithy.SmithyException,
$MetadataBearer {
__type: "SkillNotLinkedException";
name: "SkillNotLinkedException";
$fault: "client";
Message?: string;
}
Expand Down
Loading

0 comments on commit c055e59

Please sign in to comment.