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