@aws-sdk/client-signer 3.986.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +38 -851
- package/dist-cjs/models/SignerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +154 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +610 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +68 -62
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignerServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SignerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SignerServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SignerServiceException = SignerServiceException;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThrottlingException = exports.NotFoundException = exports.BadRequestException = exports.ValidationException = exports.TooManyRequestsException = exports.ServiceLimitExceededException = exports.ResourceNotFoundException = exports.InternalServiceErrorException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const SignerServiceException_1 = require("./SignerServiceException");
|
|
5
|
+
class AccessDeniedException extends SignerServiceException_1.SignerServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
code;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.code = opts.code;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends SignerServiceException_1.SignerServiceException {
|
|
21
|
+
name = "ConflictException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
code;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConflictException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
+
this.code = opts.code;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServiceErrorException extends SignerServiceException_1.SignerServiceException {
|
|
36
|
+
name = "InternalServiceErrorException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
code;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InternalServiceErrorException",
|
|
42
|
+
$fault: "server",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
46
|
+
this.code = opts.code;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
50
|
+
class ResourceNotFoundException extends SignerServiceException_1.SignerServiceException {
|
|
51
|
+
name = "ResourceNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
code;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ResourceNotFoundException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
|
+
this.code = opts.code;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
65
|
+
class ServiceLimitExceededException extends SignerServiceException_1.SignerServiceException {
|
|
66
|
+
name = "ServiceLimitExceededException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
code;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ServiceLimitExceededException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
76
|
+
this.code = opts.code;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ServiceLimitExceededException = ServiceLimitExceededException;
|
|
80
|
+
class TooManyRequestsException extends SignerServiceException_1.SignerServiceException {
|
|
81
|
+
name = "TooManyRequestsException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
code;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "TooManyRequestsException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
91
|
+
this.code = opts.code;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
95
|
+
class ValidationException extends SignerServiceException_1.SignerServiceException {
|
|
96
|
+
name = "ValidationException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
code;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ValidationException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
106
|
+
this.code = opts.code;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.ValidationException = ValidationException;
|
|
110
|
+
class BadRequestException extends SignerServiceException_1.SignerServiceException {
|
|
111
|
+
name = "BadRequestException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
code;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "BadRequestException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
121
|
+
this.code = opts.code;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.BadRequestException = BadRequestException;
|
|
125
|
+
class NotFoundException extends SignerServiceException_1.SignerServiceException {
|
|
126
|
+
name = "NotFoundException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
code;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "NotFoundException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
136
|
+
this.code = opts.code;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.NotFoundException = NotFoundException;
|
|
140
|
+
class ThrottlingException extends SignerServiceException_1.SignerServiceException {
|
|
141
|
+
name = "ThrottlingException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
code;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "ThrottlingException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
151
|
+
this.code = opts.code;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.ThrottlingException = ThrottlingException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2017-08-25",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.signer",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2017-08-25",
|
|
33
35
|
serviceTarget: "WallabyService",
|
|
34
36
|
},
|