@aws-sdk/client-amp 3.934.0 → 3.936.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 +10 -98
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +9 -0
- package/dist-es/models/errors.js +115 -0
- package/dist-es/models/models_0.js +0 -124
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +17 -0
- package/dist-types/models/errors.d.ts +159 -0
- package/dist-types/models/models_0.d.ts +1 -175
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/errors.d.ts +69 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -76
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -146,14 +146,6 @@ let ConflictException$1 = class ConflictException extends AmpServiceException$1
|
|
|
146
146
|
this.resourceType = opts.resourceType;
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
|
-
const AlertManagerDefinitionStatusCode = {
|
|
150
|
-
ACTIVE: "ACTIVE",
|
|
151
|
-
CREATING: "CREATING",
|
|
152
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
153
|
-
DELETING: "DELETING",
|
|
154
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
155
|
-
UPDATING: "UPDATING",
|
|
156
|
-
};
|
|
157
149
|
let InternalServerException$1 = class InternalServerException extends AmpServiceException$1 {
|
|
158
150
|
name = "InternalServerException";
|
|
159
151
|
$fault = "server";
|
|
@@ -224,12 +216,6 @@ let ThrottlingException$1 = class ThrottlingException extends AmpServiceExceptio
|
|
|
224
216
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
225
217
|
}
|
|
226
218
|
};
|
|
227
|
-
const ValidationExceptionReason = {
|
|
228
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
229
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
230
|
-
OTHER: "OTHER",
|
|
231
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
232
|
-
};
|
|
233
219
|
let ValidationException$1 = class ValidationException extends AmpServiceException$1 {
|
|
234
220
|
name = "ValidationException";
|
|
235
221
|
$fault = "client";
|
|
@@ -246,79 +232,6 @@ let ValidationException$1 = class ValidationException extends AmpServiceExceptio
|
|
|
246
232
|
this.fieldList = opts.fieldList;
|
|
247
233
|
}
|
|
248
234
|
};
|
|
249
|
-
const ScraperStatusCode = {
|
|
250
|
-
ACTIVE: "ACTIVE",
|
|
251
|
-
CREATING: "CREATING",
|
|
252
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
253
|
-
DELETING: "DELETING",
|
|
254
|
-
DELETION_FAILED: "DELETION_FAILED",
|
|
255
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
256
|
-
UPDATING: "UPDATING",
|
|
257
|
-
};
|
|
258
|
-
const ScraperComponentType = {
|
|
259
|
-
COLLECTOR: "COLLECTOR",
|
|
260
|
-
EXPORTER: "EXPORTER",
|
|
261
|
-
SERVICE_DISCOVERY: "SERVICE_DISCOVERY",
|
|
262
|
-
};
|
|
263
|
-
const ScraperLoggingConfigurationStatusCode = {
|
|
264
|
-
ACTIVE: "ACTIVE",
|
|
265
|
-
CREATING: "CREATING",
|
|
266
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
267
|
-
DELETING: "DELETING",
|
|
268
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
269
|
-
UPDATING: "UPDATING",
|
|
270
|
-
};
|
|
271
|
-
const AnomalyDetectorStatusCode = {
|
|
272
|
-
ACTIVE: "ACTIVE",
|
|
273
|
-
CREATING: "CREATING",
|
|
274
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
275
|
-
DELETING: "DELETING",
|
|
276
|
-
DELETION_FAILED: "DELETION_FAILED",
|
|
277
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
278
|
-
UPDATING: "UPDATING",
|
|
279
|
-
};
|
|
280
|
-
const WorkspaceStatusCode = {
|
|
281
|
-
ACTIVE: "ACTIVE",
|
|
282
|
-
CREATING: "CREATING",
|
|
283
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
284
|
-
DELETING: "DELETING",
|
|
285
|
-
UPDATING: "UPDATING",
|
|
286
|
-
};
|
|
287
|
-
const LoggingConfigurationStatusCode = {
|
|
288
|
-
ACTIVE: "ACTIVE",
|
|
289
|
-
CREATING: "CREATING",
|
|
290
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
291
|
-
DELETING: "DELETING",
|
|
292
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
293
|
-
UPDATING: "UPDATING",
|
|
294
|
-
};
|
|
295
|
-
const QueryLoggingConfigurationStatusCode = {
|
|
296
|
-
ACTIVE: "ACTIVE",
|
|
297
|
-
CREATING: "CREATING",
|
|
298
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
299
|
-
DELETING: "DELETING",
|
|
300
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
301
|
-
UPDATING: "UPDATING",
|
|
302
|
-
};
|
|
303
|
-
const RuleGroupsNamespaceStatusCode = {
|
|
304
|
-
ACTIVE: "ACTIVE",
|
|
305
|
-
CREATING: "CREATING",
|
|
306
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
307
|
-
DELETING: "DELETING",
|
|
308
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
309
|
-
UPDATING: "UPDATING",
|
|
310
|
-
};
|
|
311
|
-
const WorkspaceConfigurationStatusCode = {
|
|
312
|
-
ACTIVE: "ACTIVE",
|
|
313
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
314
|
-
UPDATING: "UPDATING",
|
|
315
|
-
};
|
|
316
|
-
const WorkspacePolicyStatusCode = {
|
|
317
|
-
ACTIVE: "ACTIVE",
|
|
318
|
-
CREATING: "CREATING",
|
|
319
|
-
DELETING: "DELETING",
|
|
320
|
-
UPDATING: "UPDATING",
|
|
321
|
-
};
|
|
322
235
|
|
|
323
236
|
const _AC = "AmpConfiguration";
|
|
324
237
|
const _ADC = "AnomalyDetectorConfiguration";
|
|
@@ -2813,6 +2726,16 @@ const waitUntilWorkspaceDeleted = async (params, input) => {
|
|
|
2813
2726
|
return utilWaiter.checkExceptions(result);
|
|
2814
2727
|
};
|
|
2815
2728
|
|
|
2729
|
+
const AnomalyDetectorStatusCode = {
|
|
2730
|
+
ACTIVE: "ACTIVE",
|
|
2731
|
+
CREATING: "CREATING",
|
|
2732
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
2733
|
+
DELETING: "DELETING",
|
|
2734
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
2735
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
2736
|
+
UPDATING: "UPDATING",
|
|
2737
|
+
};
|
|
2738
|
+
|
|
2816
2739
|
Object.defineProperty(exports, "$Command", {
|
|
2817
2740
|
enumerable: true,
|
|
2818
2741
|
get: function () { return smithyClient.Command; }
|
|
@@ -2822,7 +2745,6 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2822
2745
|
get: function () { return smithyClient.Client; }
|
|
2823
2746
|
});
|
|
2824
2747
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2825
|
-
exports.AlertManagerDefinitionStatusCode = AlertManagerDefinitionStatusCode;
|
|
2826
2748
|
exports.Amp = Amp;
|
|
2827
2749
|
exports.AmpClient = AmpClient;
|
|
2828
2750
|
exports.AmpServiceException = AmpServiceException$1;
|
|
@@ -2861,17 +2783,11 @@ exports.ListRuleGroupsNamespacesCommand = ListRuleGroupsNamespacesCommand;
|
|
|
2861
2783
|
exports.ListScrapersCommand = ListScrapersCommand;
|
|
2862
2784
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2863
2785
|
exports.ListWorkspacesCommand = ListWorkspacesCommand;
|
|
2864
|
-
exports.LoggingConfigurationStatusCode = LoggingConfigurationStatusCode;
|
|
2865
2786
|
exports.PutAlertManagerDefinitionCommand = PutAlertManagerDefinitionCommand;
|
|
2866
2787
|
exports.PutAnomalyDetectorCommand = PutAnomalyDetectorCommand;
|
|
2867
2788
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
2868
2789
|
exports.PutRuleGroupsNamespaceCommand = PutRuleGroupsNamespaceCommand;
|
|
2869
|
-
exports.QueryLoggingConfigurationStatusCode = QueryLoggingConfigurationStatusCode;
|
|
2870
2790
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2871
|
-
exports.RuleGroupsNamespaceStatusCode = RuleGroupsNamespaceStatusCode;
|
|
2872
|
-
exports.ScraperComponentType = ScraperComponentType;
|
|
2873
|
-
exports.ScraperLoggingConfigurationStatusCode = ScraperLoggingConfigurationStatusCode;
|
|
2874
|
-
exports.ScraperStatusCode = ScraperStatusCode;
|
|
2875
2791
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2876
2792
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2877
2793
|
exports.ThrottlingException = ThrottlingException$1;
|
|
@@ -2883,10 +2799,6 @@ exports.UpdateScraperLoggingConfigurationCommand = UpdateScraperLoggingConfigura
|
|
|
2883
2799
|
exports.UpdateWorkspaceAliasCommand = UpdateWorkspaceAliasCommand;
|
|
2884
2800
|
exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
|
|
2885
2801
|
exports.ValidationException = ValidationException$1;
|
|
2886
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2887
|
-
exports.WorkspaceConfigurationStatusCode = WorkspaceConfigurationStatusCode;
|
|
2888
|
-
exports.WorkspacePolicyStatusCode = WorkspacePolicyStatusCode;
|
|
2889
|
-
exports.WorkspaceStatusCode = WorkspaceStatusCode;
|
|
2890
2802
|
exports.paginateListAnomalyDetectors = paginateListAnomalyDetectors;
|
|
2891
2803
|
exports.paginateListRuleGroupsNamespaces = paginateListRuleGroupsNamespaces;
|
|
2892
2804
|
exports.paginateListScrapers = paginateListScrapers;
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./Amp";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { AmpServiceException } from "./models/AmpServiceException";
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
resourceType;
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ConflictException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
+
this.resourceId = opts.resourceId;
|
|
27
|
+
this.resourceType = opts.resourceType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
retryAfterSeconds;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
resourceId;
|
|
49
|
+
resourceType;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "ResourceNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
+
this.resourceId = opts.resourceId;
|
|
58
|
+
this.resourceType = opts.resourceType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
name = "ServiceQuotaExceededException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
resourceId;
|
|
65
|
+
resourceType;
|
|
66
|
+
serviceCode;
|
|
67
|
+
quotaCode;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ServiceQuotaExceededException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
75
|
+
this.resourceId = opts.resourceId;
|
|
76
|
+
this.resourceType = opts.resourceType;
|
|
77
|
+
this.serviceCode = opts.serviceCode;
|
|
78
|
+
this.quotaCode = opts.quotaCode;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export class ThrottlingException extends __BaseException {
|
|
82
|
+
name = "ThrottlingException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
$retryable = {};
|
|
85
|
+
serviceCode;
|
|
86
|
+
quotaCode;
|
|
87
|
+
retryAfterSeconds;
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "ThrottlingException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
95
|
+
this.serviceCode = opts.serviceCode;
|
|
96
|
+
this.quotaCode = opts.quotaCode;
|
|
97
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class ValidationException extends __BaseException {
|
|
101
|
+
name = "ValidationException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
reason;
|
|
104
|
+
fieldList;
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ValidationException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
112
|
+
this.reason = opts.reason;
|
|
113
|
+
this.fieldList = opts.fieldList;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
resourceId;
|
|
18
|
-
resourceType;
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "ConflictException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
-
this.resourceId = opts.resourceId;
|
|
27
|
-
this.resourceType = opts.resourceType;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
1
|
export const AlertManagerDefinitionStatusCode = {
|
|
31
2
|
ACTIVE: "ACTIVE",
|
|
32
3
|
CREATING: "CREATING",
|
|
@@ -35,98 +6,12 @@ export const AlertManagerDefinitionStatusCode = {
|
|
|
35
6
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
36
7
|
UPDATING: "UPDATING",
|
|
37
8
|
};
|
|
38
|
-
export class InternalServerException extends __BaseException {
|
|
39
|
-
name = "InternalServerException";
|
|
40
|
-
$fault = "server";
|
|
41
|
-
$retryable = {};
|
|
42
|
-
retryAfterSeconds;
|
|
43
|
-
constructor(opts) {
|
|
44
|
-
super({
|
|
45
|
-
name: "InternalServerException",
|
|
46
|
-
$fault: "server",
|
|
47
|
-
...opts,
|
|
48
|
-
});
|
|
49
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
50
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
54
|
-
name = "ResourceNotFoundException";
|
|
55
|
-
$fault = "client";
|
|
56
|
-
resourceId;
|
|
57
|
-
resourceType;
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "ResourceNotFoundException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
65
|
-
this.resourceId = opts.resourceId;
|
|
66
|
-
this.resourceType = opts.resourceType;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
70
|
-
name = "ServiceQuotaExceededException";
|
|
71
|
-
$fault = "client";
|
|
72
|
-
resourceId;
|
|
73
|
-
resourceType;
|
|
74
|
-
serviceCode;
|
|
75
|
-
quotaCode;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "ServiceQuotaExceededException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
-
this.resourceId = opts.resourceId;
|
|
84
|
-
this.resourceType = opts.resourceType;
|
|
85
|
-
this.serviceCode = opts.serviceCode;
|
|
86
|
-
this.quotaCode = opts.quotaCode;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
export class ThrottlingException extends __BaseException {
|
|
90
|
-
name = "ThrottlingException";
|
|
91
|
-
$fault = "client";
|
|
92
|
-
$retryable = {};
|
|
93
|
-
serviceCode;
|
|
94
|
-
quotaCode;
|
|
95
|
-
retryAfterSeconds;
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "ThrottlingException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
103
|
-
this.serviceCode = opts.serviceCode;
|
|
104
|
-
this.quotaCode = opts.quotaCode;
|
|
105
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
9
|
export const ValidationExceptionReason = {
|
|
109
10
|
CANNOT_PARSE: "CANNOT_PARSE",
|
|
110
11
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
111
12
|
OTHER: "OTHER",
|
|
112
13
|
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
113
14
|
};
|
|
114
|
-
export class ValidationException extends __BaseException {
|
|
115
|
-
name = "ValidationException";
|
|
116
|
-
$fault = "client";
|
|
117
|
-
reason;
|
|
118
|
-
fieldList;
|
|
119
|
-
constructor(opts) {
|
|
120
|
-
super({
|
|
121
|
-
name: "ValidationException",
|
|
122
|
-
$fault: "client",
|
|
123
|
-
...opts,
|
|
124
|
-
});
|
|
125
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
126
|
-
this.reason = opts.reason;
|
|
127
|
-
this.fieldList = opts.fieldList;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
15
|
export const ScraperStatusCode = {
|
|
131
16
|
ACTIVE: "ACTIVE",
|
|
132
17
|
CREATING: "CREATING",
|
|
@@ -149,15 +34,6 @@ export const ScraperLoggingConfigurationStatusCode = {
|
|
|
149
34
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
150
35
|
UPDATING: "UPDATING",
|
|
151
36
|
};
|
|
152
|
-
export const AnomalyDetectorStatusCode = {
|
|
153
|
-
ACTIVE: "ACTIVE",
|
|
154
|
-
CREATING: "CREATING",
|
|
155
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
156
|
-
DELETING: "DELETING",
|
|
157
|
-
DELETION_FAILED: "DELETION_FAILED",
|
|
158
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
159
|
-
UPDATING: "UPDATING",
|
|
160
|
-
};
|
|
161
37
|
export const WorkspaceStatusCode = {
|
|
162
38
|
ACTIVE: "ACTIVE",
|
|
163
39
|
CREATING: "CREATING",
|
|
@@ -279,7 +279,7 @@ const _wo = "workspaces";
|
|
|
279
279
|
const n0 = "com.amazonaws.amp";
|
|
280
280
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
281
281
|
import { AmpServiceException as __AmpServiceException } from "../models/AmpServiceException";
|
|
282
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
282
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
283
283
|
export var AccessDeniedException = [
|
|
284
284
|
-3,
|
|
285
285
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { AmpExtensionConfiguration } from "./extensionConfiguration";
|
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
13
|
export * from "./waiters";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { AmpServiceException } from "./models/AmpServiceException";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AnomalyDetectorStatusCode: {
|
|
6
|
+
readonly ACTIVE: "ACTIVE";
|
|
7
|
+
readonly CREATING: "CREATING";
|
|
8
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
9
|
+
readonly DELETING: "DELETING";
|
|
10
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
11
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
12
|
+
readonly UPDATING: "UPDATING";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type AnomalyDetectorStatusCode = (typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The request would cause an inconsistent state.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* <p>Identifier of the resource affected.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
resourceId: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>Type of the resource affected.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
resourceType: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
$retryable: {};
|
|
46
|
+
/**
|
|
47
|
+
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
retryAfterSeconds?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* <p>Identifier of the resource affected.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
resourceId: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Type of the resource affected.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
resourceType: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>Completing the request would cause a service quota to be exceeded.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
83
|
+
readonly name: "ServiceQuotaExceededException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* <p>Identifier of the resource affected.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
resourceId: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>Type of the resource affected.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
resourceType: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>Service quotas code for the originating service.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
serviceCode: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>Service quotas code of the originating quota.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
quotaCode: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>The request was denied due to request throttling.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class ThrottlingException extends __BaseException {
|
|
115
|
+
readonly name: "ThrottlingException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
$retryable: {};
|
|
118
|
+
/**
|
|
119
|
+
* <p>Service quotas code for the originating service.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
serviceCode?: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>Service quotas code for the originating quota.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
quotaCode?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
retryAfterSeconds?: number | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class ValidationException extends __BaseException {
|
|
143
|
+
readonly name: "ValidationException";
|
|
144
|
+
readonly $fault: "client";
|
|
145
|
+
/**
|
|
146
|
+
* <p>Reason the request failed validation.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
reason: ValidationExceptionReason | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The field that caused the error, if applicable.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
159
|
+
}
|
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* <p>The request would cause an inconsistent state.</p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class ConflictException extends __BaseException {
|
|
20
|
-
readonly name: "ConflictException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
/**
|
|
23
|
-
* <p>Identifier of the resource affected.</p>
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
resourceId: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* <p>Type of the resource affected.</p>
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
resourceType: string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
|
-
}
|
|
1
|
+
import { AnomalyDetectorStatusCode } from "./enums";
|
|
37
2
|
/**
|
|
38
3
|
* <p>Represents the input of a <code>CreateAlertManagerDefinition</code> operation.</p>
|
|
39
4
|
* @public
|
|
@@ -116,106 +81,6 @@ export interface CreateAlertManagerDefinitionResponse {
|
|
|
116
81
|
*/
|
|
117
82
|
status: AlertManagerDefinitionStatus | undefined;
|
|
118
83
|
}
|
|
119
|
-
/**
|
|
120
|
-
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
export declare class InternalServerException extends __BaseException {
|
|
124
|
-
readonly name: "InternalServerException";
|
|
125
|
-
readonly $fault: "server";
|
|
126
|
-
$retryable: {};
|
|
127
|
-
/**
|
|
128
|
-
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
retryAfterSeconds?: number | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* <p>The request references a resources that doesn't exist.</p>
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
142
|
-
readonly name: "ResourceNotFoundException";
|
|
143
|
-
readonly $fault: "client";
|
|
144
|
-
/**
|
|
145
|
-
* <p>Identifier of the resource affected.</p>
|
|
146
|
-
* @public
|
|
147
|
-
*/
|
|
148
|
-
resourceId: string | undefined;
|
|
149
|
-
/**
|
|
150
|
-
* <p>Type of the resource affected.</p>
|
|
151
|
-
* @public
|
|
152
|
-
*/
|
|
153
|
-
resourceType: string | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* <p>Completing the request would cause a service quota to be exceeded.</p>
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
164
|
-
readonly name: "ServiceQuotaExceededException";
|
|
165
|
-
readonly $fault: "client";
|
|
166
|
-
/**
|
|
167
|
-
* <p>Identifier of the resource affected.</p>
|
|
168
|
-
* @public
|
|
169
|
-
*/
|
|
170
|
-
resourceId: string | undefined;
|
|
171
|
-
/**
|
|
172
|
-
* <p>Type of the resource affected.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
resourceType: string | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* <p>Service quotas code for the originating service.</p>
|
|
178
|
-
* @public
|
|
179
|
-
*/
|
|
180
|
-
serviceCode: string | undefined;
|
|
181
|
-
/**
|
|
182
|
-
* <p>Service quotas code of the originating quota.</p>
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
quotaCode: string | undefined;
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* <p>The request was denied due to request throttling.</p>
|
|
193
|
-
* @public
|
|
194
|
-
*/
|
|
195
|
-
export declare class ThrottlingException extends __BaseException {
|
|
196
|
-
readonly name: "ThrottlingException";
|
|
197
|
-
readonly $fault: "client";
|
|
198
|
-
$retryable: {};
|
|
199
|
-
/**
|
|
200
|
-
* <p>Service quotas code for the originating service.</p>
|
|
201
|
-
* @public
|
|
202
|
-
*/
|
|
203
|
-
serviceCode?: string | undefined;
|
|
204
|
-
/**
|
|
205
|
-
* <p>Service quotas code for the originating quota.</p>
|
|
206
|
-
* @public
|
|
207
|
-
*/
|
|
208
|
-
quotaCode?: string | undefined;
|
|
209
|
-
/**
|
|
210
|
-
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
211
|
-
* @public
|
|
212
|
-
*/
|
|
213
|
-
retryAfterSeconds?: number | undefined;
|
|
214
|
-
/**
|
|
215
|
-
* @internal
|
|
216
|
-
*/
|
|
217
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
218
|
-
}
|
|
219
84
|
/**
|
|
220
85
|
* <p>Information about a field passed into a request that resulted in an exception.</p>
|
|
221
86
|
* @public
|
|
@@ -246,28 +111,6 @@ export declare const ValidationExceptionReason: {
|
|
|
246
111
|
* @public
|
|
247
112
|
*/
|
|
248
113
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
249
|
-
/**
|
|
250
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
251
|
-
* @public
|
|
252
|
-
*/
|
|
253
|
-
export declare class ValidationException extends __BaseException {
|
|
254
|
-
readonly name: "ValidationException";
|
|
255
|
-
readonly $fault: "client";
|
|
256
|
-
/**
|
|
257
|
-
* <p>Reason the request failed validation.</p>
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
reason: ValidationExceptionReason | undefined;
|
|
261
|
-
/**
|
|
262
|
-
* <p>The field that caused the error, if applicable.</p>
|
|
263
|
-
* @public
|
|
264
|
-
*/
|
|
265
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
266
|
-
/**
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
270
|
-
}
|
|
271
114
|
/**
|
|
272
115
|
* <p>Represents the input of a <code>DeleteAlertManagerDefinition</code> operation.</p>
|
|
273
116
|
* @public
|
|
@@ -1447,23 +1290,6 @@ export interface CreateAnomalyDetectorRequest {
|
|
|
1447
1290
|
*/
|
|
1448
1291
|
tags?: Record<string, string> | undefined;
|
|
1449
1292
|
}
|
|
1450
|
-
/**
|
|
1451
|
-
* @public
|
|
1452
|
-
* @enum
|
|
1453
|
-
*/
|
|
1454
|
-
export declare const AnomalyDetectorStatusCode: {
|
|
1455
|
-
readonly ACTIVE: "ACTIVE";
|
|
1456
|
-
readonly CREATING: "CREATING";
|
|
1457
|
-
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
1458
|
-
readonly DELETING: "DELETING";
|
|
1459
|
-
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
1460
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
1461
|
-
readonly UPDATING: "UPDATING";
|
|
1462
|
-
};
|
|
1463
|
-
/**
|
|
1464
|
-
* @public
|
|
1465
|
-
*/
|
|
1466
|
-
export type AnomalyDetectorStatusCode = (typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
|
|
1467
1293
|
/**
|
|
1468
1294
|
* <p>The status information of an anomaly detector.</p>
|
|
1469
1295
|
* @public
|
|
@@ -6,5 +6,7 @@ export { AmpExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { AmpServiceException } from "./models/AmpServiceException";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const AnomalyDetectorStatusCode: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly CREATING: "CREATING";
|
|
4
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
5
|
+
readonly DELETING: "DELETING";
|
|
6
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
7
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
8
|
+
readonly UPDATING: "UPDATING";
|
|
9
|
+
};
|
|
10
|
+
export type AnomalyDetectorStatusCode =
|
|
11
|
+
(typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ValidationExceptionField,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class ConflictException extends __BaseException {
|
|
15
|
+
readonly name: "ConflictException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
resourceId: string | undefined;
|
|
18
|
+
resourceType: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
retryAfterSeconds?: number | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
readonly name: "ResourceNotFoundException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
resourceId: string | undefined;
|
|
34
|
+
resourceType: string | undefined;
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
40
|
+
readonly name: "ServiceQuotaExceededException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
resourceId: string | undefined;
|
|
43
|
+
resourceType: string | undefined;
|
|
44
|
+
serviceCode: string | undefined;
|
|
45
|
+
quotaCode: string | undefined;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class ThrottlingException extends __BaseException {
|
|
51
|
+
readonly name: "ThrottlingException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
$retryable: {};
|
|
54
|
+
serviceCode?: string | undefined;
|
|
55
|
+
quotaCode?: string | undefined;
|
|
56
|
+
retryAfterSeconds?: number | undefined;
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class ValidationException extends __BaseException {
|
|
62
|
+
readonly name: "ValidationException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
reason: ValidationExceptionReason | undefined;
|
|
65
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
|
-
export declare class ConflictException extends __BaseException {
|
|
11
|
-
readonly name: "ConflictException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
resourceId: string | undefined;
|
|
14
|
-
resourceType: string | undefined;
|
|
15
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
|
-
}
|
|
1
|
+
import { AnomalyDetectorStatusCode } from "./enums";
|
|
17
2
|
export interface CreateAlertManagerDefinitionRequest {
|
|
18
3
|
workspaceId: string | undefined;
|
|
19
4
|
data: Uint8Array | undefined;
|
|
@@ -36,46 +21,6 @@ export interface AlertManagerDefinitionStatus {
|
|
|
36
21
|
export interface CreateAlertManagerDefinitionResponse {
|
|
37
22
|
status: AlertManagerDefinitionStatus | undefined;
|
|
38
23
|
}
|
|
39
|
-
export declare class InternalServerException extends __BaseException {
|
|
40
|
-
readonly name: "InternalServerException";
|
|
41
|
-
readonly $fault: "server";
|
|
42
|
-
$retryable: {};
|
|
43
|
-
retryAfterSeconds?: number | undefined;
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
49
|
-
readonly name: "ResourceNotFoundException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
resourceId: string | undefined;
|
|
52
|
-
resourceType: string | undefined;
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
58
|
-
readonly name: "ServiceQuotaExceededException";
|
|
59
|
-
readonly $fault: "client";
|
|
60
|
-
resourceId: string | undefined;
|
|
61
|
-
resourceType: string | undefined;
|
|
62
|
-
serviceCode: string | undefined;
|
|
63
|
-
quotaCode: string | undefined;
|
|
64
|
-
constructor(
|
|
65
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
export declare class ThrottlingException extends __BaseException {
|
|
69
|
-
readonly name: "ThrottlingException";
|
|
70
|
-
readonly $fault: "client";
|
|
71
|
-
$retryable: {};
|
|
72
|
-
serviceCode?: string | undefined;
|
|
73
|
-
quotaCode?: string | undefined;
|
|
74
|
-
retryAfterSeconds?: number | undefined;
|
|
75
|
-
constructor(
|
|
76
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
24
|
export interface ValidationExceptionField {
|
|
80
25
|
name: string | undefined;
|
|
81
26
|
message: string | undefined;
|
|
@@ -88,15 +33,6 @@ export declare const ValidationExceptionReason: {
|
|
|
88
33
|
};
|
|
89
34
|
export type ValidationExceptionReason =
|
|
90
35
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
91
|
-
export declare class ValidationException extends __BaseException {
|
|
92
|
-
readonly name: "ValidationException";
|
|
93
|
-
readonly $fault: "client";
|
|
94
|
-
reason: ValidationExceptionReason | undefined;
|
|
95
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
96
|
-
constructor(
|
|
97
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
36
|
export interface DeleteAlertManagerDefinitionRequest {
|
|
101
37
|
workspaceId: string | undefined;
|
|
102
38
|
clientToken?: string | undefined;
|
|
@@ -468,17 +404,6 @@ export interface CreateAnomalyDetectorRequest {
|
|
|
468
404
|
clientToken?: string | undefined;
|
|
469
405
|
tags?: Record<string, string> | undefined;
|
|
470
406
|
}
|
|
471
|
-
export declare const AnomalyDetectorStatusCode: {
|
|
472
|
-
readonly ACTIVE: "ACTIVE";
|
|
473
|
-
readonly CREATING: "CREATING";
|
|
474
|
-
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
475
|
-
readonly DELETING: "DELETING";
|
|
476
|
-
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
477
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
478
|
-
readonly UPDATING: "UPDATING";
|
|
479
|
-
};
|
|
480
|
-
export type AnomalyDetectorStatusCode =
|
|
481
|
-
(typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
|
|
482
407
|
export interface AnomalyDetectorStatus {
|
|
483
408
|
statusCode: AnomalyDetectorStatusCode | undefined;
|
|
484
409
|
statusReason?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amp",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|