@aws-sdk/client-acm 3.987.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 +35 -810
- package/dist-cjs/models/ACMServiceException.js +12 -0
- package/dist-cjs/models/errors.js +214 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +526 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +105 -99
- package/dist-types/schemas/schemas_0.d.ts +23 -16
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -16
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACMServiceException = 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 ACMServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ACMServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ACMServiceException = ACMServiceException;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidStateException = exports.InvalidDomainValidationOptionsException = exports.ValidationException = exports.InvalidArgsException = exports.LimitExceededException = exports.RequestInProgressException = exports.ResourceInUseException = exports.ConflictException = exports.TooManyTagsException = exports.ThrottlingException = exports.TagPolicyException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidParameterException = exports.InvalidArnException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const ACMServiceException_1 = require("./ACMServiceException");
|
|
5
|
+
class AccessDeniedException extends ACMServiceException_1.ACMServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class InvalidArnException extends ACMServiceException_1.ACMServiceException {
|
|
21
|
+
name = "InvalidArnException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InvalidArnException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, InvalidArnException.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.InvalidArnException = InvalidArnException;
|
|
33
|
+
class InvalidParameterException extends ACMServiceException_1.ACMServiceException {
|
|
34
|
+
name = "InvalidParameterException";
|
|
35
|
+
$fault = "client";
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "InvalidParameterException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
46
|
+
class InvalidTagException extends ACMServiceException_1.ACMServiceException {
|
|
47
|
+
name = "InvalidTagException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "InvalidTagException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, InvalidTagException.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.InvalidTagException = InvalidTagException;
|
|
59
|
+
class ResourceNotFoundException extends ACMServiceException_1.ACMServiceException {
|
|
60
|
+
name = "ResourceNotFoundException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ResourceNotFoundException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
72
|
+
class TagPolicyException extends ACMServiceException_1.ACMServiceException {
|
|
73
|
+
name = "TagPolicyException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "TagPolicyException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, TagPolicyException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.TagPolicyException = TagPolicyException;
|
|
85
|
+
class ThrottlingException extends ACMServiceException_1.ACMServiceException {
|
|
86
|
+
name = "ThrottlingException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "ThrottlingException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.ThrottlingException = ThrottlingException;
|
|
98
|
+
class TooManyTagsException extends ACMServiceException_1.ACMServiceException {
|
|
99
|
+
name = "TooManyTagsException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "TooManyTagsException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
111
|
+
class ConflictException extends ACMServiceException_1.ACMServiceException {
|
|
112
|
+
name = "ConflictException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "ConflictException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.ConflictException = ConflictException;
|
|
124
|
+
class ResourceInUseException extends ACMServiceException_1.ACMServiceException {
|
|
125
|
+
name = "ResourceInUseException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "ResourceInUseException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
137
|
+
class RequestInProgressException extends ACMServiceException_1.ACMServiceException {
|
|
138
|
+
name = "RequestInProgressException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "RequestInProgressException",
|
|
143
|
+
$fault: "client",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
Object.setPrototypeOf(this, RequestInProgressException.prototype);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.RequestInProgressException = RequestInProgressException;
|
|
150
|
+
class LimitExceededException extends ACMServiceException_1.ACMServiceException {
|
|
151
|
+
name = "LimitExceededException";
|
|
152
|
+
$fault = "client";
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "LimitExceededException",
|
|
156
|
+
$fault: "client",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.LimitExceededException = LimitExceededException;
|
|
163
|
+
class InvalidArgsException extends ACMServiceException_1.ACMServiceException {
|
|
164
|
+
name = "InvalidArgsException";
|
|
165
|
+
$fault = "client";
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "InvalidArgsException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
Object.setPrototypeOf(this, InvalidArgsException.prototype);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.InvalidArgsException = InvalidArgsException;
|
|
176
|
+
class ValidationException extends ACMServiceException_1.ACMServiceException {
|
|
177
|
+
name = "ValidationException";
|
|
178
|
+
$fault = "client";
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "ValidationException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.ValidationException = ValidationException;
|
|
189
|
+
class InvalidDomainValidationOptionsException extends ACMServiceException_1.ACMServiceException {
|
|
190
|
+
name = "InvalidDomainValidationOptionsException";
|
|
191
|
+
$fault = "client";
|
|
192
|
+
constructor(opts) {
|
|
193
|
+
super({
|
|
194
|
+
name: "InvalidDomainValidationOptionsException",
|
|
195
|
+
$fault: "client",
|
|
196
|
+
...opts,
|
|
197
|
+
});
|
|
198
|
+
Object.setPrototypeOf(this, InvalidDomainValidationOptionsException.prototype);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.InvalidDomainValidationOptionsException = InvalidDomainValidationOptionsException;
|
|
202
|
+
class InvalidStateException extends ACMServiceException_1.ACMServiceException {
|
|
203
|
+
name = "InvalidStateException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "InvalidStateException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.InvalidStateException = InvalidStateException;
|
|
@@ -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: "2015-12-08",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.acm",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2015-12-08",
|
|
33
35
|
serviceTarget: "CertificateManager",
|
|
34
36
|
},
|