@aws-sdk/client-amp 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AmpServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +109 -1
- package/dist-cjs/protocols/Aws_restJson1.js +216 -826
- package/dist-es/index.js +1 -0
- package/dist-es/models/AmpServiceException.js +12 -0
- package/dist-es/models/models_0.js +102 -1
- package/dist-es/protocols/Aws_restJson1.js +437 -902
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AmpServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +49 -48
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AmpServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +36 -35
- package/package.json +26 -26
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var AmpServiceException = (function (_super) {
|
|
4
|
+
__extends(AmpServiceException, _super);
|
|
5
|
+
function AmpServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, AmpServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return AmpServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { AmpServiceException };
|
|
@@ -1,4 +1,31 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return AccessDeniedException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AccessDeniedException };
|
|
15
|
+
var ConflictException = (function (_super) {
|
|
16
|
+
__extends(ConflictException, _super);
|
|
17
|
+
function ConflictException(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
19
|
+
_this.name = "ConflictException";
|
|
20
|
+
_this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
22
|
+
_this.resourceId = opts.resourceId;
|
|
23
|
+
_this.resourceType = opts.resourceType;
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
return ConflictException;
|
|
27
|
+
}(__BaseException));
|
|
28
|
+
export { ConflictException };
|
|
2
29
|
export var CreateAlertManagerDefinitionRequest;
|
|
3
30
|
(function (CreateAlertManagerDefinitionRequest) {
|
|
4
31
|
CreateAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -20,6 +47,66 @@ export var CreateAlertManagerDefinitionResponse;
|
|
|
20
47
|
(function (CreateAlertManagerDefinitionResponse) {
|
|
21
48
|
CreateAlertManagerDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
49
|
})(CreateAlertManagerDefinitionResponse || (CreateAlertManagerDefinitionResponse = {}));
|
|
50
|
+
var InternalServerException = (function (_super) {
|
|
51
|
+
__extends(InternalServerException, _super);
|
|
52
|
+
function InternalServerException(opts) {
|
|
53
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
54
|
+
_this.name = "InternalServerException";
|
|
55
|
+
_this.$fault = "server";
|
|
56
|
+
_this.$retryable = {};
|
|
57
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
58
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
59
|
+
return _this;
|
|
60
|
+
}
|
|
61
|
+
return InternalServerException;
|
|
62
|
+
}(__BaseException));
|
|
63
|
+
export { InternalServerException };
|
|
64
|
+
var ResourceNotFoundException = (function (_super) {
|
|
65
|
+
__extends(ResourceNotFoundException, _super);
|
|
66
|
+
function ResourceNotFoundException(opts) {
|
|
67
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
68
|
+
_this.name = "ResourceNotFoundException";
|
|
69
|
+
_this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
71
|
+
_this.resourceId = opts.resourceId;
|
|
72
|
+
_this.resourceType = opts.resourceType;
|
|
73
|
+
return _this;
|
|
74
|
+
}
|
|
75
|
+
return ResourceNotFoundException;
|
|
76
|
+
}(__BaseException));
|
|
77
|
+
export { ResourceNotFoundException };
|
|
78
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
79
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
80
|
+
function ServiceQuotaExceededException(opts) {
|
|
81
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
82
|
+
_this.name = "ServiceQuotaExceededException";
|
|
83
|
+
_this.$fault = "client";
|
|
84
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
85
|
+
_this.resourceId = opts.resourceId;
|
|
86
|
+
_this.resourceType = opts.resourceType;
|
|
87
|
+
_this.serviceCode = opts.serviceCode;
|
|
88
|
+
_this.quotaCode = opts.quotaCode;
|
|
89
|
+
return _this;
|
|
90
|
+
}
|
|
91
|
+
return ServiceQuotaExceededException;
|
|
92
|
+
}(__BaseException));
|
|
93
|
+
export { ServiceQuotaExceededException };
|
|
94
|
+
var ThrottlingException = (function (_super) {
|
|
95
|
+
__extends(ThrottlingException, _super);
|
|
96
|
+
function ThrottlingException(opts) {
|
|
97
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
98
|
+
_this.name = "ThrottlingException";
|
|
99
|
+
_this.$fault = "client";
|
|
100
|
+
_this.$retryable = {};
|
|
101
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
102
|
+
_this.serviceCode = opts.serviceCode;
|
|
103
|
+
_this.quotaCode = opts.quotaCode;
|
|
104
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
105
|
+
return _this;
|
|
106
|
+
}
|
|
107
|
+
return ThrottlingException;
|
|
108
|
+
}(__BaseException));
|
|
109
|
+
export { ThrottlingException };
|
|
23
110
|
export var ValidationExceptionField;
|
|
24
111
|
(function (ValidationExceptionField) {
|
|
25
112
|
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -31,6 +118,20 @@ export var ValidationExceptionReason;
|
|
|
31
118
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
32
119
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
33
120
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
121
|
+
var ValidationException = (function (_super) {
|
|
122
|
+
__extends(ValidationException, _super);
|
|
123
|
+
function ValidationException(opts) {
|
|
124
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
125
|
+
_this.name = "ValidationException";
|
|
126
|
+
_this.$fault = "client";
|
|
127
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
128
|
+
_this.reason = opts.reason;
|
|
129
|
+
_this.fieldList = opts.fieldList;
|
|
130
|
+
return _this;
|
|
131
|
+
}
|
|
132
|
+
return ValidationException;
|
|
133
|
+
}(__BaseException));
|
|
134
|
+
export { ValidationException };
|
|
34
135
|
export var DeleteAlertManagerDefinitionRequest;
|
|
35
136
|
(function (DeleteAlertManagerDefinitionRequest) {
|
|
36
137
|
DeleteAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|