@aws-sdk/client-ebs 3.51.0 → 3.54.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/EBSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +119 -1
- package/dist-cjs/protocols/Aws_restJson1.js +118 -352
- package/dist-es/index.js +1 -0
- package/dist-es/models/EBSServiceException.js +12 -0
- package/dist-es/models/models_0.js +111 -1
- package/dist-es/protocols/Aws_restJson1.js +189 -385
- package/dist-types/EBSClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/EBSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -25
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/EBSClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/EBSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
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 EBSServiceException = (function (_super) {
|
|
4
|
+
__extends(EBSServiceException, _super);
|
|
5
|
+
function EBSServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, EBSServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return EBSServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { EBSServiceException };
|
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { EBSServiceException as __BaseException } from "./EBSServiceException";
|
|
3
4
|
export var AccessDeniedExceptionReason;
|
|
4
5
|
(function (AccessDeniedExceptionReason) {
|
|
5
6
|
AccessDeniedExceptionReason["DEPENDENCY_ACCESS_DENIED"] = "DEPENDENCY_ACCESS_DENIED";
|
|
6
7
|
AccessDeniedExceptionReason["UNAUTHORIZED_ACCOUNT"] = "UNAUTHORIZED_ACCOUNT";
|
|
7
8
|
})(AccessDeniedExceptionReason || (AccessDeniedExceptionReason = {}));
|
|
9
|
+
var AccessDeniedException = (function (_super) {
|
|
10
|
+
__extends(AccessDeniedException, _super);
|
|
11
|
+
function AccessDeniedException(opts) {
|
|
12
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
13
|
+
_this.name = "AccessDeniedException";
|
|
14
|
+
_this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
16
|
+
_this.Message = opts.Message;
|
|
17
|
+
_this.Reason = opts.Reason;
|
|
18
|
+
return _this;
|
|
19
|
+
}
|
|
20
|
+
return AccessDeniedException;
|
|
21
|
+
}(__BaseException));
|
|
22
|
+
export { AccessDeniedException };
|
|
8
23
|
export var Block;
|
|
9
24
|
(function (Block) {
|
|
10
25
|
Block.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -35,20 +50,75 @@ export var CompleteSnapshotResponse;
|
|
|
35
50
|
(function (CompleteSnapshotResponse) {
|
|
36
51
|
CompleteSnapshotResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
52
|
})(CompleteSnapshotResponse || (CompleteSnapshotResponse = {}));
|
|
53
|
+
var InternalServerException = (function (_super) {
|
|
54
|
+
__extends(InternalServerException, _super);
|
|
55
|
+
function InternalServerException(opts) {
|
|
56
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
57
|
+
_this.name = "InternalServerException";
|
|
58
|
+
_this.$fault = "server";
|
|
59
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
60
|
+
_this.Message = opts.Message;
|
|
61
|
+
return _this;
|
|
62
|
+
}
|
|
63
|
+
return InternalServerException;
|
|
64
|
+
}(__BaseException));
|
|
65
|
+
export { InternalServerException };
|
|
38
66
|
export var RequestThrottledExceptionReason;
|
|
39
67
|
(function (RequestThrottledExceptionReason) {
|
|
40
68
|
RequestThrottledExceptionReason["ACCOUNT_THROTTLED"] = "ACCOUNT_THROTTLED";
|
|
41
69
|
RequestThrottledExceptionReason["DEPENDENCY_REQUEST_THROTTLED"] = "DEPENDENCY_REQUEST_THROTTLED";
|
|
42
70
|
})(RequestThrottledExceptionReason || (RequestThrottledExceptionReason = {}));
|
|
71
|
+
var RequestThrottledException = (function (_super) {
|
|
72
|
+
__extends(RequestThrottledException, _super);
|
|
73
|
+
function RequestThrottledException(opts) {
|
|
74
|
+
var _this = _super.call(this, __assign({ name: "RequestThrottledException", $fault: "client" }, opts)) || this;
|
|
75
|
+
_this.name = "RequestThrottledException";
|
|
76
|
+
_this.$fault = "client";
|
|
77
|
+
Object.setPrototypeOf(_this, RequestThrottledException.prototype);
|
|
78
|
+
_this.Message = opts.Message;
|
|
79
|
+
_this.Reason = opts.Reason;
|
|
80
|
+
return _this;
|
|
81
|
+
}
|
|
82
|
+
return RequestThrottledException;
|
|
83
|
+
}(__BaseException));
|
|
84
|
+
export { RequestThrottledException };
|
|
43
85
|
export var ResourceNotFoundExceptionReason;
|
|
44
86
|
(function (ResourceNotFoundExceptionReason) {
|
|
45
87
|
ResourceNotFoundExceptionReason["DEPENDENCY_RESOURCE_NOT_FOUND"] = "DEPENDENCY_RESOURCE_NOT_FOUND";
|
|
46
88
|
ResourceNotFoundExceptionReason["SNAPSHOT_NOT_FOUND"] = "SNAPSHOT_NOT_FOUND";
|
|
47
89
|
})(ResourceNotFoundExceptionReason || (ResourceNotFoundExceptionReason = {}));
|
|
90
|
+
var ResourceNotFoundException = (function (_super) {
|
|
91
|
+
__extends(ResourceNotFoundException, _super);
|
|
92
|
+
function ResourceNotFoundException(opts) {
|
|
93
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
94
|
+
_this.name = "ResourceNotFoundException";
|
|
95
|
+
_this.$fault = "client";
|
|
96
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
97
|
+
_this.Message = opts.Message;
|
|
98
|
+
_this.Reason = opts.Reason;
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
return ResourceNotFoundException;
|
|
102
|
+
}(__BaseException));
|
|
103
|
+
export { ResourceNotFoundException };
|
|
48
104
|
export var ServiceQuotaExceededExceptionReason;
|
|
49
105
|
(function (ServiceQuotaExceededExceptionReason) {
|
|
50
106
|
ServiceQuotaExceededExceptionReason["DEPENDENCY_SERVICE_QUOTA_EXCEEDED"] = "DEPENDENCY_SERVICE_QUOTA_EXCEEDED";
|
|
51
107
|
})(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));
|
|
108
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
109
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
110
|
+
function ServiceQuotaExceededException(opts) {
|
|
111
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
112
|
+
_this.name = "ServiceQuotaExceededException";
|
|
113
|
+
_this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
115
|
+
_this.Message = opts.Message;
|
|
116
|
+
_this.Reason = opts.Reason;
|
|
117
|
+
return _this;
|
|
118
|
+
}
|
|
119
|
+
return ServiceQuotaExceededException;
|
|
120
|
+
}(__BaseException));
|
|
121
|
+
export { ServiceQuotaExceededException };
|
|
52
122
|
export var ValidationExceptionReason;
|
|
53
123
|
(function (ValidationExceptionReason) {
|
|
54
124
|
ValidationExceptionReason["INVALID_BLOCK"] = "INVALID_BLOCK";
|
|
@@ -63,6 +133,46 @@ export var ValidationExceptionReason;
|
|
|
63
133
|
ValidationExceptionReason["INVALID_VOLUME_SIZE"] = "INVALID_VOLUME_SIZE";
|
|
64
134
|
ValidationExceptionReason["UNRELATED_SNAPSHOTS"] = "UNRELATED_SNAPSHOTS";
|
|
65
135
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
136
|
+
var ValidationException = (function (_super) {
|
|
137
|
+
__extends(ValidationException, _super);
|
|
138
|
+
function ValidationException(opts) {
|
|
139
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
140
|
+
_this.name = "ValidationException";
|
|
141
|
+
_this.$fault = "client";
|
|
142
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
143
|
+
_this.Message = opts.Message;
|
|
144
|
+
_this.Reason = opts.Reason;
|
|
145
|
+
return _this;
|
|
146
|
+
}
|
|
147
|
+
return ValidationException;
|
|
148
|
+
}(__BaseException));
|
|
149
|
+
export { ValidationException };
|
|
150
|
+
var ConcurrentLimitExceededException = (function (_super) {
|
|
151
|
+
__extends(ConcurrentLimitExceededException, _super);
|
|
152
|
+
function ConcurrentLimitExceededException(opts) {
|
|
153
|
+
var _this = _super.call(this, __assign({ name: "ConcurrentLimitExceededException", $fault: "client" }, opts)) || this;
|
|
154
|
+
_this.name = "ConcurrentLimitExceededException";
|
|
155
|
+
_this.$fault = "client";
|
|
156
|
+
Object.setPrototypeOf(_this, ConcurrentLimitExceededException.prototype);
|
|
157
|
+
_this.Message = opts.Message;
|
|
158
|
+
return _this;
|
|
159
|
+
}
|
|
160
|
+
return ConcurrentLimitExceededException;
|
|
161
|
+
}(__BaseException));
|
|
162
|
+
export { ConcurrentLimitExceededException };
|
|
163
|
+
var ConflictException = (function (_super) {
|
|
164
|
+
__extends(ConflictException, _super);
|
|
165
|
+
function ConflictException(opts) {
|
|
166
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "server" }, opts)) || this;
|
|
167
|
+
_this.name = "ConflictException";
|
|
168
|
+
_this.$fault = "server";
|
|
169
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
170
|
+
_this.Message = opts.Message;
|
|
171
|
+
return _this;
|
|
172
|
+
}
|
|
173
|
+
return ConflictException;
|
|
174
|
+
}(__BaseException));
|
|
175
|
+
export { ConflictException };
|
|
66
176
|
export var GetSnapshotBlockRequest;
|
|
67
177
|
(function (GetSnapshotBlockRequest) {
|
|
68
178
|
GetSnapshotBlockRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|