@aws-sdk/client-backup-gateway 3.934.0 → 3.935.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 +0 -19
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +97 -0
- package/dist-es/models/models_0.js +0 -97
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +112 -0
- package/dist-types/models/models_0.d.ts +0 -112
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -54
- package/package.json +12 -12
- 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
|
@@ -213,22 +213,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Backup
|
|
|
213
213
|
this.Message = opts.Message;
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
|
-
const GatewayType = {
|
|
217
|
-
BACKUP_VM: "BACKUP_VM",
|
|
218
|
-
};
|
|
219
|
-
const SyncMetadataStatus = {
|
|
220
|
-
CREATED: "CREATED",
|
|
221
|
-
FAILED: "FAILED",
|
|
222
|
-
PARTIALLY_FAILED: "PARTIALLY_FAILED",
|
|
223
|
-
RUNNING: "RUNNING",
|
|
224
|
-
SUCCEEDED: "SUCCEEDED",
|
|
225
|
-
};
|
|
226
|
-
const HypervisorState = {
|
|
227
|
-
ERROR: "ERROR",
|
|
228
|
-
OFFLINE: "OFFLINE",
|
|
229
|
-
ONLINE: "ONLINE",
|
|
230
|
-
PENDING: "PENDING",
|
|
231
|
-
};
|
|
232
216
|
|
|
233
217
|
const _ADE = "AccessDeniedException";
|
|
234
218
|
const _AGTS = "AssociateGatewayToServer";
|
|
@@ -1125,13 +1109,11 @@ exports.CreateGatewayCommand = CreateGatewayCommand;
|
|
|
1125
1109
|
exports.DeleteGatewayCommand = DeleteGatewayCommand;
|
|
1126
1110
|
exports.DeleteHypervisorCommand = DeleteHypervisorCommand;
|
|
1127
1111
|
exports.DisassociateGatewayFromServerCommand = DisassociateGatewayFromServerCommand;
|
|
1128
|
-
exports.GatewayType = GatewayType;
|
|
1129
1112
|
exports.GetBandwidthRateLimitScheduleCommand = GetBandwidthRateLimitScheduleCommand;
|
|
1130
1113
|
exports.GetGatewayCommand = GetGatewayCommand;
|
|
1131
1114
|
exports.GetHypervisorCommand = GetHypervisorCommand;
|
|
1132
1115
|
exports.GetHypervisorPropertyMappingsCommand = GetHypervisorPropertyMappingsCommand;
|
|
1133
1116
|
exports.GetVirtualMachineCommand = GetVirtualMachineCommand;
|
|
1134
|
-
exports.HypervisorState = HypervisorState;
|
|
1135
1117
|
exports.ImportHypervisorConfigurationCommand = ImportHypervisorConfigurationCommand;
|
|
1136
1118
|
exports.InternalServerException = InternalServerException$1;
|
|
1137
1119
|
exports.ListGatewaysCommand = ListGatewaysCommand;
|
|
@@ -1143,7 +1125,6 @@ exports.PutHypervisorPropertyMappingsCommand = PutHypervisorPropertyMappingsComm
|
|
|
1143
1125
|
exports.PutMaintenanceStartTimeCommand = PutMaintenanceStartTimeCommand;
|
|
1144
1126
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1145
1127
|
exports.StartVirtualMachinesMetadataSyncCommand = StartVirtualMachinesMetadataSyncCommand;
|
|
1146
|
-
exports.SyncMetadataStatus = SyncMetadataStatus;
|
|
1147
1128
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1148
1129
|
exports.TestHypervisorConfigurationCommand = TestHypervisorConfigurationCommand;
|
|
1149
1130
|
exports.ThrottlingException = ThrottlingException$1;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./BackupGatewayClient";
|
|
|
2
2
|
export * from "./BackupGateway";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
ErrorCode;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
+
this.ErrorCode = opts.ErrorCode;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
ErrorCode;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.ErrorCode = opts.ErrorCode;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class InternalServerException extends __BaseException {
|
|
35
|
+
name = "InternalServerException";
|
|
36
|
+
$fault = "server";
|
|
37
|
+
ErrorCode;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InternalServerException",
|
|
42
|
+
$fault: "server",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
+
this.ErrorCode = opts.ErrorCode;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ThrottlingException extends __BaseException {
|
|
51
|
+
name = "ThrottlingException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
ErrorCode;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ThrottlingException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
62
|
+
this.ErrorCode = opts.ErrorCode;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ValidationException extends __BaseException {
|
|
67
|
+
name = "ValidationException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
ErrorCode;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ValidationException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
78
|
+
this.ErrorCode = opts.ErrorCode;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
83
|
+
name = "ResourceNotFoundException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
ErrorCode;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ResourceNotFoundException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
94
|
+
this.ErrorCode = opts.ErrorCode;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,100 +1,3 @@
|
|
|
1
|
-
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
ErrorCode;
|
|
6
|
-
Message;
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "AccessDeniedException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
-
this.ErrorCode = opts.ErrorCode;
|
|
15
|
-
this.Message = opts.Message;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export class ConflictException extends __BaseException {
|
|
19
|
-
name = "ConflictException";
|
|
20
|
-
$fault = "client";
|
|
21
|
-
ErrorCode;
|
|
22
|
-
Message;
|
|
23
|
-
constructor(opts) {
|
|
24
|
-
super({
|
|
25
|
-
name: "ConflictException",
|
|
26
|
-
$fault: "client",
|
|
27
|
-
...opts,
|
|
28
|
-
});
|
|
29
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
-
this.ErrorCode = opts.ErrorCode;
|
|
31
|
-
this.Message = opts.Message;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export class InternalServerException extends __BaseException {
|
|
35
|
-
name = "InternalServerException";
|
|
36
|
-
$fault = "server";
|
|
37
|
-
ErrorCode;
|
|
38
|
-
Message;
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "InternalServerException",
|
|
42
|
-
$fault: "server",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
-
this.ErrorCode = opts.ErrorCode;
|
|
47
|
-
this.Message = opts.Message;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ThrottlingException extends __BaseException {
|
|
51
|
-
name = "ThrottlingException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
ErrorCode;
|
|
54
|
-
Message;
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "ThrottlingException",
|
|
58
|
-
$fault: "client",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
62
|
-
this.ErrorCode = opts.ErrorCode;
|
|
63
|
-
this.Message = opts.Message;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export class ValidationException extends __BaseException {
|
|
67
|
-
name = "ValidationException";
|
|
68
|
-
$fault = "client";
|
|
69
|
-
ErrorCode;
|
|
70
|
-
Message;
|
|
71
|
-
constructor(opts) {
|
|
72
|
-
super({
|
|
73
|
-
name: "ValidationException",
|
|
74
|
-
$fault: "client",
|
|
75
|
-
...opts,
|
|
76
|
-
});
|
|
77
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
78
|
-
this.ErrorCode = opts.ErrorCode;
|
|
79
|
-
this.Message = opts.Message;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
83
|
-
name = "ResourceNotFoundException";
|
|
84
|
-
$fault = "client";
|
|
85
|
-
ErrorCode;
|
|
86
|
-
Message;
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "ResourceNotFoundException",
|
|
90
|
-
$fault: "client",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
94
|
-
this.ErrorCode = opts.ErrorCode;
|
|
95
|
-
this.Message = opts.Message;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
1
|
export const GatewayType = {
|
|
99
2
|
BACKUP_VM: "BACKUP_VM",
|
|
100
3
|
};
|
|
@@ -153,7 +153,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.backupgateway";
|
|
|
153
153
|
const n0 = "com.amazonaws.backupgateway";
|
|
154
154
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
155
155
|
import { BackupGatewayServiceException as __BackupGatewayServiceException } from "../models/BackupGatewayServiceException";
|
|
156
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
156
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
157
157
|
export var Password = [0, n0, _P, 8, 0];
|
|
158
158
|
export var Username = [0, n0, _U, 8, 0];
|
|
159
159
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -18,5 +18,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
18
18
|
export type { BackupGatewayExtensionConfiguration } from "./extensionConfiguration";
|
|
19
19
|
export * from "./commands";
|
|
20
20
|
export * from "./pagination";
|
|
21
|
-
export * from "./models";
|
|
21
|
+
export * from "./models/errors";
|
|
22
|
+
export type * from "./models/models_0";
|
|
22
23
|
export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The operation cannot proceed because you have insufficient permissions.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* <p>A description of why you have insufficient permissions.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
ErrorCode: string | undefined;
|
|
15
|
+
Message?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>The operation cannot proceed because it is not supported.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class ConflictException extends __BaseException {
|
|
26
|
+
readonly name: "ConflictException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
/**
|
|
29
|
+
* <p>A description of why the operation is not supported.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
ErrorCode: string | undefined;
|
|
33
|
+
Message?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The operation did not succeed because an internal error occurred. Try again later.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class InternalServerException extends __BaseException {
|
|
44
|
+
readonly name: "InternalServerException";
|
|
45
|
+
readonly $fault: "server";
|
|
46
|
+
/**
|
|
47
|
+
* <p>A description of which internal error occured.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
ErrorCode?: string | undefined;
|
|
51
|
+
Message?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>TPS has been limited to protect against intentional or unintentional
|
|
59
|
+
* high request volumes.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class ThrottlingException extends __BaseException {
|
|
63
|
+
readonly name: "ThrottlingException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
/**
|
|
66
|
+
* <p>Error: TPS has been limited to protect against intentional or unintentional
|
|
67
|
+
* high request volumes.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
ErrorCode: string | undefined;
|
|
71
|
+
Message?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>The operation did not succeed because a validation error occurred.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ValidationException extends __BaseException {
|
|
82
|
+
readonly name: "ValidationException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
/**
|
|
85
|
+
* <p>A description of what caused the validation error.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
ErrorCode?: string | undefined;
|
|
89
|
+
Message?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* <p>A resource that is required for the action wasn't found.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
100
|
+
readonly name: "ResourceNotFoundException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
/**
|
|
103
|
+
* <p>A description of which resource wasn't found.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
ErrorCode?: string | undefined;
|
|
107
|
+
Message?: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
112
|
+
}
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>The operation cannot proceed because you have insufficient permissions.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* <p>A description of why you have insufficient permissions.</p>
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
ErrorCode: string | undefined;
|
|
15
|
-
Message?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
-
}
|
|
21
1
|
/**
|
|
22
2
|
* @public
|
|
23
3
|
*/
|
|
@@ -44,80 +24,6 @@ export interface AssociateGatewayToServerOutput {
|
|
|
44
24
|
*/
|
|
45
25
|
GatewayArn?: string | undefined;
|
|
46
26
|
}
|
|
47
|
-
/**
|
|
48
|
-
* <p>The operation cannot proceed because it is not supported.</p>
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export declare class ConflictException extends __BaseException {
|
|
52
|
-
readonly name: "ConflictException";
|
|
53
|
-
readonly $fault: "client";
|
|
54
|
-
/**
|
|
55
|
-
* <p>A description of why the operation is not supported.</p>
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
ErrorCode: string | undefined;
|
|
59
|
-
Message?: string | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* <p>The operation did not succeed because an internal error occurred. Try again later.</p>
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export declare class InternalServerException extends __BaseException {
|
|
70
|
-
readonly name: "InternalServerException";
|
|
71
|
-
readonly $fault: "server";
|
|
72
|
-
/**
|
|
73
|
-
* <p>A description of which internal error occured.</p>
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
ErrorCode?: string | undefined;
|
|
77
|
-
Message?: string | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* <p>TPS has been limited to protect against intentional or unintentional
|
|
85
|
-
* high request volumes.</p>
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
export declare class ThrottlingException extends __BaseException {
|
|
89
|
-
readonly name: "ThrottlingException";
|
|
90
|
-
readonly $fault: "client";
|
|
91
|
-
/**
|
|
92
|
-
* <p>Error: TPS has been limited to protect against intentional or unintentional
|
|
93
|
-
* high request volumes.</p>
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
ErrorCode: string | undefined;
|
|
97
|
-
Message?: string | undefined;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* <p>The operation did not succeed because a validation error occurred.</p>
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
export declare class ValidationException extends __BaseException {
|
|
108
|
-
readonly name: "ValidationException";
|
|
109
|
-
readonly $fault: "client";
|
|
110
|
-
/**
|
|
111
|
-
* <p>A description of what caused the validation error.</p>
|
|
112
|
-
* @public
|
|
113
|
-
*/
|
|
114
|
-
ErrorCode?: string | undefined;
|
|
115
|
-
Message?: string | undefined;
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
120
|
-
}
|
|
121
27
|
/**
|
|
122
28
|
* @public
|
|
123
29
|
*/
|
|
@@ -205,24 +111,6 @@ export interface GetBandwidthRateLimitScheduleOutput {
|
|
|
205
111
|
*/
|
|
206
112
|
BandwidthRateLimitIntervals?: BandwidthRateLimitInterval[] | undefined;
|
|
207
113
|
}
|
|
208
|
-
/**
|
|
209
|
-
* <p>A resource that is required for the action wasn't found.</p>
|
|
210
|
-
* @public
|
|
211
|
-
*/
|
|
212
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
213
|
-
readonly name: "ResourceNotFoundException";
|
|
214
|
-
readonly $fault: "client";
|
|
215
|
-
/**
|
|
216
|
-
* <p>A description of which resource wasn't found.</p>
|
|
217
|
-
* @public
|
|
218
|
-
*/
|
|
219
|
-
ErrorCode?: string | undefined;
|
|
220
|
-
Message?: string | undefined;
|
|
221
|
-
/**
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
225
|
-
}
|
|
226
114
|
/**
|
|
227
115
|
* @public
|
|
228
116
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { BackupGatewayExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
ErrorCode: string | undefined;
|
|
7
|
+
Message?: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
readonly name: "ConflictException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
ErrorCode: string | undefined;
|
|
16
|
+
Message?: string | undefined;
|
|
17
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
18
|
+
}
|
|
19
|
+
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
readonly name: "InternalServerException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
ErrorCode?: string | undefined;
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export declare class ThrottlingException extends __BaseException {
|
|
29
|
+
readonly name: "ThrottlingException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
ErrorCode: string | undefined;
|
|
32
|
+
Message?: string | undefined;
|
|
33
|
+
constructor(
|
|
34
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
export declare class ValidationException extends __BaseException {
|
|
38
|
+
readonly name: "ValidationException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
ErrorCode?: string | undefined;
|
|
41
|
+
Message?: string | undefined;
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
readonly name: "ResourceNotFoundException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
ErrorCode?: string | undefined;
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
ErrorCode: string | undefined;
|
|
7
|
-
Message?: string | undefined;
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
1
|
export interface AssociateGatewayToServerInput {
|
|
13
2
|
GatewayArn: string | undefined;
|
|
14
3
|
ServerArn: string | undefined;
|
|
@@ -16,40 +5,6 @@ export interface AssociateGatewayToServerInput {
|
|
|
16
5
|
export interface AssociateGatewayToServerOutput {
|
|
17
6
|
GatewayArn?: string | undefined;
|
|
18
7
|
}
|
|
19
|
-
export declare class ConflictException extends __BaseException {
|
|
20
|
-
readonly name: "ConflictException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
ErrorCode: string | undefined;
|
|
23
|
-
Message?: string | undefined;
|
|
24
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
25
|
-
}
|
|
26
|
-
export declare class InternalServerException extends __BaseException {
|
|
27
|
-
readonly name: "InternalServerException";
|
|
28
|
-
readonly $fault: "server";
|
|
29
|
-
ErrorCode?: string | undefined;
|
|
30
|
-
Message?: string | undefined;
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
export declare class ThrottlingException extends __BaseException {
|
|
36
|
-
readonly name: "ThrottlingException";
|
|
37
|
-
readonly $fault: "client";
|
|
38
|
-
ErrorCode: string | undefined;
|
|
39
|
-
Message?: string | undefined;
|
|
40
|
-
constructor(
|
|
41
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
export declare class ValidationException extends __BaseException {
|
|
45
|
-
readonly name: "ValidationException";
|
|
46
|
-
readonly $fault: "client";
|
|
47
|
-
ErrorCode?: string | undefined;
|
|
48
|
-
Message?: string | undefined;
|
|
49
|
-
constructor(
|
|
50
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
8
|
export interface GetBandwidthRateLimitScheduleInput {
|
|
54
9
|
GatewayArn: string | undefined;
|
|
55
10
|
}
|
|
@@ -65,15 +20,6 @@ export interface GetBandwidthRateLimitScheduleOutput {
|
|
|
65
20
|
GatewayArn?: string | undefined;
|
|
66
21
|
BandwidthRateLimitIntervals?: BandwidthRateLimitInterval[] | undefined;
|
|
67
22
|
}
|
|
68
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
69
|
-
readonly name: "ResourceNotFoundException";
|
|
70
|
-
readonly $fault: "client";
|
|
71
|
-
ErrorCode?: string | undefined;
|
|
72
|
-
Message?: string | undefined;
|
|
73
|
-
constructor(
|
|
74
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
23
|
export interface PutBandwidthRateLimitScheduleInput {
|
|
78
24
|
GatewayArn: string | undefined;
|
|
79
25
|
BandwidthRateLimitIntervals: BandwidthRateLimitInterval[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.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-backup-gateway",
|
|
@@ -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.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.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";
|