@aws-sdk/client-resource-explorer-2 3.987.0 → 3.989.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 +51 -1065
- package/dist-cjs/models/ResourceExplorer2ServiceException.js +12 -0
- package/dist-cjs/models/errors.js +130 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +798 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +66 -60
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceExplorer2ServiceException = 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 ResourceExplorer2ServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ResourceExplorer2ServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ConflictException = exports.UnauthorizedException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const ResourceExplorer2ServiceException_1 = require("./ResourceExplorer2ServiceException");
|
|
5
|
+
class AccessDeniedException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
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 InternalServerException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
21
|
+
name = "InternalServerException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InternalServerException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InternalServerException = InternalServerException;
|
|
35
|
+
class ResourceNotFoundException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
36
|
+
name = "ResourceNotFoundException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ResourceNotFoundException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
50
|
+
class ThrottlingException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
51
|
+
name = "ThrottlingException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ThrottlingException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ThrottlingException = ThrottlingException;
|
|
65
|
+
class ValidationException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
66
|
+
name = "ValidationException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
FieldList;
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ValidationException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
77
|
+
this.Message = opts.Message;
|
|
78
|
+
this.FieldList = opts.FieldList;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.ValidationException = ValidationException;
|
|
82
|
+
class UnauthorizedException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
83
|
+
name = "UnauthorizedException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Message;
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "UnauthorizedException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
93
|
+
this.Message = opts.Message;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
97
|
+
class ConflictException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
98
|
+
name = "ConflictException";
|
|
99
|
+
$fault = "client";
|
|
100
|
+
Message;
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ConflictException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
108
|
+
this.Message = opts.Message;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ConflictException = ConflictException;
|
|
112
|
+
class ServiceQuotaExceededException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
|
|
113
|
+
name = "ServiceQuotaExceededException";
|
|
114
|
+
$fault = "client";
|
|
115
|
+
Message;
|
|
116
|
+
Name;
|
|
117
|
+
Value;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ServiceQuotaExceededException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
this.Name = opts.Name;
|
|
127
|
+
this.Value = opts.Value;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -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: "2022-07-28",
|
|
@@ -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.resourceexplorer2",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2022-07-28",
|
|
33
35
|
serviceTarget: "ResourceExplorer",
|
|
34
36
|
},
|