@aws-sdk/client-backup-gateway 3.300.0 → 3.303.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/models/models_0.js +16 -19
- package/dist-es/models/models_0.js +16 -19
- package/dist-types/commands/AssociateGatewayToServerCommand.d.ts +1 -1
- package/dist-types/commands/CreateGatewayCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHypervisorCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateGatewayFromServerCommand.d.ts +1 -1
- package/dist-types/commands/GetBandwidthRateLimitScheduleCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/GetHypervisorCommand.d.ts +1 -1
- package/dist-types/commands/GetHypervisorPropertyMappingsCommand.d.ts +1 -1
- package/dist-types/commands/GetVirtualMachineCommand.d.ts +1 -1
- package/dist-types/commands/ImportHypervisorConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/ListHypervisorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListVirtualMachinesCommand.d.ts +1 -1
- package/dist-types/commands/PutBandwidthRateLimitScheduleCommand.d.ts +4 -4
- package/dist-types/commands/PutHypervisorPropertyMappingsCommand.d.ts +3 -3
- package/dist-types/commands/PutMaintenanceStartTimeCommand.d.ts +1 -1
- package/dist-types/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestHypervisorConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHypervisorCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -16
- package/dist-types/ts3.4/models/models_0.d.ts +21 -16
- package/package.json +34 -34
|
@@ -93,25 +93,22 @@ class ResourceNotFoundException extends BackupGatewayServiceException_1.BackupGa
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
HypervisorState["ONLINE"] = "ONLINE";
|
|
113
|
-
HypervisorState["PENDING"] = "PENDING";
|
|
114
|
-
})(HypervisorState = exports.HypervisorState || (exports.HypervisorState = {}));
|
|
96
|
+
exports.GatewayType = {
|
|
97
|
+
BACKUP_VM: "BACKUP_VM",
|
|
98
|
+
};
|
|
99
|
+
exports.SyncMetadataStatus = {
|
|
100
|
+
CREATED: "CREATED",
|
|
101
|
+
FAILED: "FAILED",
|
|
102
|
+
PARTIALLY_FAILED: "PARTIALLY_FAILED",
|
|
103
|
+
RUNNING: "RUNNING",
|
|
104
|
+
SUCCEEDED: "SUCCEEDED",
|
|
105
|
+
};
|
|
106
|
+
exports.HypervisorState = {
|
|
107
|
+
ERROR: "ERROR",
|
|
108
|
+
OFFLINE: "OFFLINE",
|
|
109
|
+
ONLINE: "ONLINE",
|
|
110
|
+
PENDING: "PENDING",
|
|
111
|
+
};
|
|
115
112
|
const TestHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
116
113
|
...obj,
|
|
117
114
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -84,25 +84,22 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
84
84
|
this.Message = opts.Message;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
export
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
HypervisorState["ONLINE"] = "ONLINE";
|
|
104
|
-
HypervisorState["PENDING"] = "PENDING";
|
|
105
|
-
})(HypervisorState || (HypervisorState = {}));
|
|
87
|
+
export const GatewayType = {
|
|
88
|
+
BACKUP_VM: "BACKUP_VM",
|
|
89
|
+
};
|
|
90
|
+
export const SyncMetadataStatus = {
|
|
91
|
+
CREATED: "CREATED",
|
|
92
|
+
FAILED: "FAILED",
|
|
93
|
+
PARTIALLY_FAILED: "PARTIALLY_FAILED",
|
|
94
|
+
RUNNING: "RUNNING",
|
|
95
|
+
SUCCEEDED: "SUCCEEDED",
|
|
96
|
+
};
|
|
97
|
+
export const HypervisorState = {
|
|
98
|
+
ERROR: "ERROR",
|
|
99
|
+
OFFLINE: "OFFLINE",
|
|
100
|
+
ONLINE: "ONLINE",
|
|
101
|
+
PENDING: "PENDING",
|
|
102
|
+
};
|
|
106
103
|
export const TestHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
107
104
|
...obj,
|
|
108
105
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
@@ -27,7 +27,7 @@ export interface AssociateGatewayToServerCommandOutput extends AssociateGatewayT
|
|
|
27
27
|
* import { BackupGatewayClient, AssociateGatewayToServerCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, AssociateGatewayToServerCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // AssociateGatewayToServerInput
|
|
31
31
|
* GatewayArn: "STRING_VALUE", // required
|
|
32
32
|
* ServerArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -27,12 +27,12 @@ export interface CreateGatewayCommandOutput extends CreateGatewayOutput, __Metad
|
|
|
27
27
|
* import { BackupGatewayClient, CreateGatewayCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, CreateGatewayCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateGatewayInput
|
|
31
31
|
* ActivationKey: "STRING_VALUE", // required
|
|
32
32
|
* GatewayDisplayName: "STRING_VALUE", // required
|
|
33
33
|
* GatewayType: "STRING_VALUE", // required
|
|
34
|
-
* Tags: [
|
|
35
|
-
* {
|
|
34
|
+
* Tags: [ // Tags
|
|
35
|
+
* { // Tag
|
|
36
36
|
* Key: "STRING_VALUE", // required
|
|
37
37
|
* Value: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteGatewayCommandOutput extends DeleteGatewayOutput, __Metad
|
|
|
26
26
|
* import { BackupGatewayClient, DeleteGatewayCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, DeleteGatewayCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteGatewayInput
|
|
30
30
|
* GatewayArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteGatewayCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteHypervisorCommandOutput extends DeleteHypervisorOutput, _
|
|
|
26
26
|
* import { BackupGatewayClient, DeleteHypervisorCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, DeleteHypervisorCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteHypervisorInput
|
|
30
30
|
* HypervisorArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteHypervisorCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DisassociateGatewayFromServerCommandOutput extends Disassociate
|
|
|
27
27
|
* import { BackupGatewayClient, DisassociateGatewayFromServerCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, DisassociateGatewayFromServerCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DisassociateGatewayFromServerInput
|
|
31
31
|
* GatewayArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DisassociateGatewayFromServerCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface GetBandwidthRateLimitScheduleCommandOutput extends GetBandwidth
|
|
|
29
29
|
* import { BackupGatewayClient, GetBandwidthRateLimitScheduleCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
30
30
|
* // const { BackupGatewayClient, GetBandwidthRateLimitScheduleCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
31
31
|
* const client = new BackupGatewayClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // GetBandwidthRateLimitScheduleInput
|
|
33
33
|
* GatewayArn: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetBandwidthRateLimitScheduleCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface GetGatewayCommandOutput extends GetGatewayOutput, __MetadataBea
|
|
|
27
27
|
* import { BackupGatewayClient, GetGatewayCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, GetGatewayCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetGatewayInput
|
|
31
31
|
* GatewayArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetGatewayCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface GetHypervisorCommandOutput extends GetHypervisorOutput, __Metad
|
|
|
28
28
|
* import { BackupGatewayClient, GetHypervisorCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
29
29
|
* // const { BackupGatewayClient, GetHypervisorCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
30
30
|
* const client = new BackupGatewayClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetHypervisorInput
|
|
32
32
|
* HypervisorArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetHypervisorCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface GetHypervisorPropertyMappingsCommandOutput extends GetHyperviso
|
|
|
28
28
|
* import { BackupGatewayClient, GetHypervisorPropertyMappingsCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
29
29
|
* // const { BackupGatewayClient, GetHypervisorPropertyMappingsCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
30
30
|
* const client = new BackupGatewayClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetHypervisorPropertyMappingsInput
|
|
32
32
|
* HypervisorArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetHypervisorPropertyMappingsCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetVirtualMachineCommandOutput extends GetVirtualMachineOutput,
|
|
|
26
26
|
* import { BackupGatewayClient, GetVirtualMachineCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, GetVirtualMachineCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetVirtualMachineInput
|
|
30
30
|
* ResourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetVirtualMachineCommand(input);
|
|
@@ -26,14 +26,14 @@ export interface ImportHypervisorConfigurationCommandOutput extends ImportHyperv
|
|
|
26
26
|
* import { BackupGatewayClient, ImportHypervisorConfigurationCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, ImportHypervisorConfigurationCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ImportHypervisorConfigurationInput
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* Host: "STRING_VALUE", // required
|
|
32
32
|
* Username: "STRING_VALUE",
|
|
33
33
|
* Password: "STRING_VALUE",
|
|
34
34
|
* KmsKeyArn: "STRING_VALUE",
|
|
35
|
-
* Tags: [
|
|
36
|
-
* {
|
|
35
|
+
* Tags: [ // Tags
|
|
36
|
+
* { // Tag
|
|
37
37
|
* Key: "STRING_VALUE", // required
|
|
38
38
|
* Value: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
@@ -26,7 +26,7 @@ export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __Metadat
|
|
|
26
26
|
* import { BackupGatewayClient, ListGatewaysCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, ListGatewaysCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListGatewaysInput
|
|
30
30
|
* MaxResults: Number("int"),
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListHypervisorsCommandOutput extends ListHypervisorsOutput, __M
|
|
|
26
26
|
* import { BackupGatewayClient, ListHypervisorsCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, ListHypervisorsCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListHypervisorsInput
|
|
30
30
|
* MaxResults: Number("int"),
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
27
27
|
* import { BackupGatewayClient, ListTagsForResourceCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, ListTagsForResourceCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTagsForResourceInput
|
|
31
31
|
* ResourceArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListVirtualMachinesCommandOutput extends ListVirtualMachinesOut
|
|
|
26
26
|
* import { BackupGatewayClient, ListVirtualMachinesCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, ListVirtualMachinesCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListVirtualMachinesInput
|
|
30
30
|
* HypervisorArn: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
@@ -29,16 +29,16 @@ export interface PutBandwidthRateLimitScheduleCommandOutput extends PutBandwidth
|
|
|
29
29
|
* import { BackupGatewayClient, PutBandwidthRateLimitScheduleCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
30
30
|
* // const { BackupGatewayClient, PutBandwidthRateLimitScheduleCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
31
31
|
* const client = new BackupGatewayClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // PutBandwidthRateLimitScheduleInput
|
|
33
33
|
* GatewayArn: "STRING_VALUE", // required
|
|
34
|
-
* BandwidthRateLimitIntervals: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* BandwidthRateLimitIntervals: [ // BandwidthRateLimitIntervals // required
|
|
35
|
+
* { // BandwidthRateLimitInterval
|
|
36
36
|
* AverageUploadRateLimitInBitsPerSec: Number("long"),
|
|
37
37
|
* StartHourOfDay: Number("int"), // required
|
|
38
38
|
* EndHourOfDay: Number("int"), // required
|
|
39
39
|
* StartMinuteOfHour: Number("int"), // required
|
|
40
40
|
* EndMinuteOfHour: Number("int"), // required
|
|
41
|
-
* DaysOfWeek: [ // required
|
|
41
|
+
* DaysOfWeek: [ // DaysOfWeek // required
|
|
42
42
|
* Number("int"),
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
@@ -28,10 +28,10 @@ export interface PutHypervisorPropertyMappingsCommandOutput extends PutHyperviso
|
|
|
28
28
|
* import { BackupGatewayClient, PutHypervisorPropertyMappingsCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
29
29
|
* // const { BackupGatewayClient, PutHypervisorPropertyMappingsCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
30
30
|
* const client = new BackupGatewayClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutHypervisorPropertyMappingsInput
|
|
32
32
|
* HypervisorArn: "STRING_VALUE", // required
|
|
33
|
-
* VmwareToAwsTagMappings: [ // required
|
|
34
|
-
* {
|
|
33
|
+
* VmwareToAwsTagMappings: [ // VmwareToAwsTagMappings // required
|
|
34
|
+
* { // VmwareToAwsTagMapping
|
|
35
35
|
* VmwareCategory: "STRING_VALUE", // required
|
|
36
36
|
* VmwareTagName: "STRING_VALUE", // required
|
|
37
37
|
* AwsTagKey: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface PutMaintenanceStartTimeCommandOutput extends PutMaintenanceStar
|
|
|
26
26
|
* import { BackupGatewayClient, PutMaintenanceStartTimeCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, PutMaintenanceStartTimeCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PutMaintenanceStartTimeInput
|
|
30
30
|
* GatewayArn: "STRING_VALUE", // required
|
|
31
31
|
* HourOfDay: Number("int"), // required
|
|
32
32
|
* MinuteOfHour: Number("int"), // required
|
|
@@ -26,7 +26,7 @@ export interface StartVirtualMachinesMetadataSyncCommandOutput extends StartVirt
|
|
|
26
26
|
* import { BackupGatewayClient, StartVirtualMachinesMetadataSyncCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, StartVirtualMachinesMetadataSyncCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartVirtualMachinesMetadataSyncInput
|
|
30
30
|
* HypervisorArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StartVirtualMachinesMetadataSyncCommand(input);
|
|
@@ -26,10 +26,10 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
26
26
|
* import { BackupGatewayClient, TagResourceCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, TagResourceCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceInput
|
|
30
30
|
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
-
* Tags: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* Tags: [ // Tags // required
|
|
32
|
+
* { // Tag
|
|
33
33
|
* Key: "STRING_VALUE", // required
|
|
34
34
|
* Value: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
@@ -27,7 +27,7 @@ export interface TestHypervisorConfigurationCommandOutput extends TestHypervisor
|
|
|
27
27
|
* import { BackupGatewayClient, TestHypervisorConfigurationCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, TestHypervisorConfigurationCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // TestHypervisorConfigurationInput
|
|
31
31
|
* GatewayArn: "STRING_VALUE", // required
|
|
32
32
|
* Host: "STRING_VALUE", // required
|
|
33
33
|
* Username: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { BackupGatewayClient, UntagResourceCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
27
27
|
* // const { BackupGatewayClient, UntagResourceCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
28
28
|
* const client = new BackupGatewayClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
30
|
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: [ // required
|
|
31
|
+
* TagKeys: [ // TagKeys // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,7 +27,7 @@ export interface UpdateGatewayInformationCommandOutput extends UpdateGatewayInfo
|
|
|
27
27
|
* import { BackupGatewayClient, UpdateGatewayInformationCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
28
28
|
* // const { BackupGatewayClient, UpdateGatewayInformationCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
29
29
|
* const client = new BackupGatewayClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateGatewayInformationInput
|
|
31
31
|
* GatewayArn: "STRING_VALUE", // required
|
|
32
32
|
* GatewayDisplayName: "STRING_VALUE",
|
|
33
33
|
* };
|
|
@@ -32,7 +32,7 @@ export interface UpdateGatewaySoftwareNowCommandOutput extends UpdateGatewaySoft
|
|
|
32
32
|
* import { BackupGatewayClient, UpdateGatewaySoftwareNowCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
33
33
|
* // const { BackupGatewayClient, UpdateGatewaySoftwareNowCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
34
34
|
* const client = new BackupGatewayClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // UpdateGatewaySoftwareNowInput
|
|
36
36
|
* GatewayArn: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateGatewaySoftwareNowCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface UpdateHypervisorCommandOutput extends UpdateHypervisorOutput, _
|
|
|
28
28
|
* import { BackupGatewayClient, UpdateHypervisorCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
29
29
|
* // const { BackupGatewayClient, UpdateHypervisorCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
30
30
|
* const client = new BackupGatewayClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UpdateHypervisorInput
|
|
32
32
|
* HypervisorArn: "STRING_VALUE", // required
|
|
33
33
|
* Host: "STRING_VALUE",
|
|
34
34
|
* Username: "STRING_VALUE",
|
|
@@ -238,10 +238,15 @@ export interface PutBandwidthRateLimitScheduleOutput {
|
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
240
|
* @public
|
|
241
|
+
* @enum
|
|
241
242
|
*/
|
|
242
|
-
export declare
|
|
243
|
-
BACKUP_VM
|
|
244
|
-
}
|
|
243
|
+
export declare const GatewayType: {
|
|
244
|
+
readonly BACKUP_VM: "BACKUP_VM";
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
|
|
245
250
|
/**
|
|
246
251
|
* @public
|
|
247
252
|
* <p>A key-value pair you can use to manage, filter, and search for your resources. Allowed
|
|
@@ -611,23 +616,33 @@ export interface GetHypervisorInput {
|
|
|
611
616
|
}
|
|
612
617
|
/**
|
|
613
618
|
* @public
|
|
619
|
+
* @enum
|
|
614
620
|
*/
|
|
615
|
-
export declare
|
|
616
|
-
CREATED
|
|
617
|
-
FAILED
|
|
618
|
-
PARTIALLY_FAILED
|
|
619
|
-
RUNNING
|
|
620
|
-
SUCCEEDED
|
|
621
|
-
}
|
|
621
|
+
export declare const SyncMetadataStatus: {
|
|
622
|
+
readonly CREATED: "CREATED";
|
|
623
|
+
readonly FAILED: "FAILED";
|
|
624
|
+
readonly PARTIALLY_FAILED: "PARTIALLY_FAILED";
|
|
625
|
+
readonly RUNNING: "RUNNING";
|
|
626
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
627
|
+
};
|
|
622
628
|
/**
|
|
623
629
|
* @public
|
|
624
630
|
*/
|
|
625
|
-
export
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
+
export type SyncMetadataStatus = (typeof SyncMetadataStatus)[keyof typeof SyncMetadataStatus];
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
* @enum
|
|
635
|
+
*/
|
|
636
|
+
export declare const HypervisorState: {
|
|
637
|
+
readonly ERROR: "ERROR";
|
|
638
|
+
readonly OFFLINE: "OFFLINE";
|
|
639
|
+
readonly ONLINE: "ONLINE";
|
|
640
|
+
readonly PENDING: "PENDING";
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
export type HypervisorState = (typeof HypervisorState)[keyof typeof HypervisorState];
|
|
631
646
|
/**
|
|
632
647
|
* @public
|
|
633
648
|
* <p>These are the details of the specified hypervisor. A hypervisor is hardware,
|
|
@@ -81,9 +81,10 @@ export interface PutBandwidthRateLimitScheduleInput {
|
|
|
81
81
|
export interface PutBandwidthRateLimitScheduleOutput {
|
|
82
82
|
GatewayArn?: string;
|
|
83
83
|
}
|
|
84
|
-
export declare
|
|
85
|
-
BACKUP_VM
|
|
86
|
-
}
|
|
84
|
+
export declare const GatewayType: {
|
|
85
|
+
readonly BACKUP_VM: "BACKUP_VM";
|
|
86
|
+
};
|
|
87
|
+
export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
|
|
87
88
|
export interface Tag {
|
|
88
89
|
Key: string | undefined;
|
|
89
90
|
Value: string | undefined;
|
|
@@ -185,19 +186,23 @@ export interface DeleteHypervisorOutput {
|
|
|
185
186
|
export interface GetHypervisorInput {
|
|
186
187
|
HypervisorArn: string | undefined;
|
|
187
188
|
}
|
|
188
|
-
export declare
|
|
189
|
-
CREATED
|
|
190
|
-
FAILED
|
|
191
|
-
PARTIALLY_FAILED
|
|
192
|
-
RUNNING
|
|
193
|
-
SUCCEEDED
|
|
194
|
-
}
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
189
|
+
export declare const SyncMetadataStatus: {
|
|
190
|
+
readonly CREATED: "CREATED";
|
|
191
|
+
readonly FAILED: "FAILED";
|
|
192
|
+
readonly PARTIALLY_FAILED: "PARTIALLY_FAILED";
|
|
193
|
+
readonly RUNNING: "RUNNING";
|
|
194
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
195
|
+
};
|
|
196
|
+
export type SyncMetadataStatus =
|
|
197
|
+
(typeof SyncMetadataStatus)[keyof typeof SyncMetadataStatus];
|
|
198
|
+
export declare const HypervisorState: {
|
|
199
|
+
readonly ERROR: "ERROR";
|
|
200
|
+
readonly OFFLINE: "OFFLINE";
|
|
201
|
+
readonly ONLINE: "ONLINE";
|
|
202
|
+
readonly PENDING: "PENDING";
|
|
203
|
+
};
|
|
204
|
+
export type HypervisorState =
|
|
205
|
+
(typeof HypervisorState)[keyof typeof HypervisorState];
|
|
201
206
|
export interface HypervisorDetails {
|
|
202
207
|
Host?: string;
|
|
203
208
|
HypervisorArn?: string;
|
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.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|