@aws-sdk/client-application-discovery-service 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 +47 -1216
- package/dist-cjs/models/ApplicationDiscoveryServiceServiceException.js +12 -0
- package/dist-cjs/models/errors.js +134 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +958 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +76 -70
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationDiscoveryServiceServiceException = 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 ApplicationDiscoveryServiceServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ApplicationDiscoveryServiceServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ApplicationDiscoveryServiceServiceException = ApplicationDiscoveryServiceServiceException;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceInUseException = exports.ConflictErrorException = exports.LimitExceededException = exports.OperationNotPermittedException = exports.ResourceNotFoundException = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = void 0;
|
|
4
|
+
const ApplicationDiscoveryServiceServiceException_1 = require("./ApplicationDiscoveryServiceServiceException");
|
|
5
|
+
class AuthorizationErrorException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
6
|
+
name = "AuthorizationErrorException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AuthorizationErrorException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AuthorizationErrorException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AuthorizationErrorException = AuthorizationErrorException;
|
|
18
|
+
class HomeRegionNotSetException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
19
|
+
name = "HomeRegionNotSetException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "HomeRegionNotSetException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.HomeRegionNotSetException = HomeRegionNotSetException;
|
|
31
|
+
class InvalidParameterException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
32
|
+
name = "InvalidParameterException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidParameterException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
44
|
+
class InvalidParameterValueException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
45
|
+
name = "InvalidParameterValueException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "InvalidParameterValueException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
57
|
+
class ServerInternalErrorException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
58
|
+
name = "ServerInternalErrorException";
|
|
59
|
+
$fault = "server";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ServerInternalErrorException",
|
|
63
|
+
$fault: "server",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ServerInternalErrorException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ServerInternalErrorException = ServerInternalErrorException;
|
|
70
|
+
class ResourceNotFoundException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
71
|
+
name = "ResourceNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
83
|
+
class OperationNotPermittedException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
84
|
+
name = "OperationNotPermittedException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "OperationNotPermittedException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.OperationNotPermittedException = OperationNotPermittedException;
|
|
96
|
+
class LimitExceededException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
97
|
+
name = "LimitExceededException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "LimitExceededException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.LimitExceededException = LimitExceededException;
|
|
109
|
+
class ConflictErrorException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
110
|
+
name = "ConflictErrorException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ConflictErrorException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ConflictErrorException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ConflictErrorException = ConflictErrorException;
|
|
122
|
+
class ResourceInUseException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
|
|
123
|
+
name = "ResourceInUseException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "ResourceInUseException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
@@ -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-11-01",
|
|
@@ -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.applicationdiscoveryservice",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://ec2.amazon.com/awsposiedon/V2015_11_01/",
|
|
33
35
|
version: "2015-11-01",
|
|
34
36
|
serviceTarget: "AWSPoseidonService_V2015_11_01",
|