@aws-sdk/client-backup-gateway 3.52.0 → 3.54.1
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/BackupGatewayServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +77 -1
- package/dist-cjs/protocols/Aws_json1_0.js +139 -489
- package/dist-es/index.js +1 -0
- package/dist-es/models/BackupGatewayServiceException.js +12 -0
- package/dist-es/models/models_0.js +72 -1
- package/dist-es/protocols/Aws_json1_0.js +318 -544
- package/dist-types/BackupGatewayClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/BackupGatewayServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +37 -16
- 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/BackupGatewayClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/BackupGatewayServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -16
- 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 +27 -27
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 BackupGatewayServiceException = (function (_super) {
|
|
4
|
+
__extends(BackupGatewayServiceException, _super);
|
|
5
|
+
function BackupGatewayServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, BackupGatewayServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return BackupGatewayServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { BackupGatewayServiceException };
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.ErrorCode = opts.ErrorCode;
|
|
12
|
+
_this.Message = opts.Message;
|
|
13
|
+
return _this;
|
|
14
|
+
}
|
|
15
|
+
return AccessDeniedException;
|
|
16
|
+
}(__BaseException));
|
|
17
|
+
export { AccessDeniedException };
|
|
3
18
|
export var AssociateGatewayToServerInput;
|
|
4
19
|
(function (AssociateGatewayToServerInput) {
|
|
5
20
|
AssociateGatewayToServerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -8,6 +23,48 @@ export var AssociateGatewayToServerOutput;
|
|
|
8
23
|
(function (AssociateGatewayToServerOutput) {
|
|
9
24
|
AssociateGatewayToServerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
25
|
})(AssociateGatewayToServerOutput || (AssociateGatewayToServerOutput = {}));
|
|
26
|
+
var ConflictException = (function (_super) {
|
|
27
|
+
__extends(ConflictException, _super);
|
|
28
|
+
function ConflictException(opts) {
|
|
29
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
30
|
+
_this.name = "ConflictException";
|
|
31
|
+
_this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
33
|
+
_this.ErrorCode = opts.ErrorCode;
|
|
34
|
+
_this.Message = opts.Message;
|
|
35
|
+
return _this;
|
|
36
|
+
}
|
|
37
|
+
return ConflictException;
|
|
38
|
+
}(__BaseException));
|
|
39
|
+
export { ConflictException };
|
|
40
|
+
var InternalServerException = (function (_super) {
|
|
41
|
+
__extends(InternalServerException, _super);
|
|
42
|
+
function InternalServerException(opts) {
|
|
43
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
44
|
+
_this.name = "InternalServerException";
|
|
45
|
+
_this.$fault = "server";
|
|
46
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
47
|
+
_this.ErrorCode = opts.ErrorCode;
|
|
48
|
+
_this.Message = opts.Message;
|
|
49
|
+
return _this;
|
|
50
|
+
}
|
|
51
|
+
return InternalServerException;
|
|
52
|
+
}(__BaseException));
|
|
53
|
+
export { InternalServerException };
|
|
54
|
+
var ValidationException = (function (_super) {
|
|
55
|
+
__extends(ValidationException, _super);
|
|
56
|
+
function ValidationException(opts) {
|
|
57
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
58
|
+
_this.name = "ValidationException";
|
|
59
|
+
_this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
61
|
+
_this.ErrorCode = opts.ErrorCode;
|
|
62
|
+
_this.Message = opts.Message;
|
|
63
|
+
return _this;
|
|
64
|
+
}
|
|
65
|
+
return ValidationException;
|
|
66
|
+
}(__BaseException));
|
|
67
|
+
export { ValidationException };
|
|
11
68
|
export var GatewayType;
|
|
12
69
|
(function (GatewayType) {
|
|
13
70
|
GatewayType["BACKUP_VM"] = "BACKUP_VM";
|
|
@@ -32,6 +89,20 @@ export var DeleteGatewayOutput;
|
|
|
32
89
|
(function (DeleteGatewayOutput) {
|
|
33
90
|
DeleteGatewayOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
91
|
})(DeleteGatewayOutput || (DeleteGatewayOutput = {}));
|
|
92
|
+
var ResourceNotFoundException = (function (_super) {
|
|
93
|
+
__extends(ResourceNotFoundException, _super);
|
|
94
|
+
function ResourceNotFoundException(opts) {
|
|
95
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
96
|
+
_this.name = "ResourceNotFoundException";
|
|
97
|
+
_this.$fault = "client";
|
|
98
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
99
|
+
_this.ErrorCode = opts.ErrorCode;
|
|
100
|
+
_this.Message = opts.Message;
|
|
101
|
+
return _this;
|
|
102
|
+
}
|
|
103
|
+
return ResourceNotFoundException;
|
|
104
|
+
}(__BaseException));
|
|
105
|
+
export { ResourceNotFoundException };
|
|
35
106
|
export var DisassociateGatewayFromServerInput;
|
|
36
107
|
(function (DisassociateGatewayFromServerInput) {
|
|
37
108
|
DisassociateGatewayFromServerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|