@aws-sdk/client-backup-gateway 3.936.0 → 3.940.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 CHANGED
@@ -1091,6 +1091,23 @@ const paginateListHypervisors = core.createPaginator(BackupGatewayClient, ListHy
1091
1091
 
1092
1092
  const paginateListVirtualMachines = core.createPaginator(BackupGatewayClient, ListVirtualMachinesCommand, "NextToken", "NextToken", "MaxResults");
1093
1093
 
1094
+ const GatewayType = {
1095
+ BACKUP_VM: "BACKUP_VM",
1096
+ };
1097
+ const SyncMetadataStatus = {
1098
+ CREATED: "CREATED",
1099
+ FAILED: "FAILED",
1100
+ PARTIALLY_FAILED: "PARTIALLY_FAILED",
1101
+ RUNNING: "RUNNING",
1102
+ SUCCEEDED: "SUCCEEDED",
1103
+ };
1104
+ const HypervisorState = {
1105
+ ERROR: "ERROR",
1106
+ OFFLINE: "OFFLINE",
1107
+ ONLINE: "ONLINE",
1108
+ PENDING: "PENDING",
1109
+ };
1110
+
1094
1111
  Object.defineProperty(exports, "$Command", {
1095
1112
  enumerable: true,
1096
1113
  get: function () { return smithyClient.Command; }
@@ -1109,11 +1126,13 @@ exports.CreateGatewayCommand = CreateGatewayCommand;
1109
1126
  exports.DeleteGatewayCommand = DeleteGatewayCommand;
1110
1127
  exports.DeleteHypervisorCommand = DeleteHypervisorCommand;
1111
1128
  exports.DisassociateGatewayFromServerCommand = DisassociateGatewayFromServerCommand;
1129
+ exports.GatewayType = GatewayType;
1112
1130
  exports.GetBandwidthRateLimitScheduleCommand = GetBandwidthRateLimitScheduleCommand;
1113
1131
  exports.GetGatewayCommand = GetGatewayCommand;
1114
1132
  exports.GetHypervisorCommand = GetHypervisorCommand;
1115
1133
  exports.GetHypervisorPropertyMappingsCommand = GetHypervisorPropertyMappingsCommand;
1116
1134
  exports.GetVirtualMachineCommand = GetVirtualMachineCommand;
1135
+ exports.HypervisorState = HypervisorState;
1117
1136
  exports.ImportHypervisorConfigurationCommand = ImportHypervisorConfigurationCommand;
1118
1137
  exports.InternalServerException = InternalServerException$1;
1119
1138
  exports.ListGatewaysCommand = ListGatewaysCommand;
@@ -1125,6 +1144,7 @@ exports.PutHypervisorPropertyMappingsCommand = PutHypervisorPropertyMappingsComm
1125
1144
  exports.PutMaintenanceStartTimeCommand = PutMaintenanceStartTimeCommand;
1126
1145
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1127
1146
  exports.StartVirtualMachinesMetadataSyncCommand = StartVirtualMachinesMetadataSyncCommand;
1147
+ exports.SyncMetadataStatus = SyncMetadataStatus;
1128
1148
  exports.TagResourceCommand = TagResourceCommand;
1129
1149
  exports.TestHypervisorConfigurationCommand = TestHypervisorConfigurationCommand;
1130
1150
  exports.ThrottlingException = ThrottlingException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./BackupGatewayClient";
2
2
  export * from "./BackupGateway";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
@@ -0,0 +1,16 @@
1
+ export const GatewayType = {
2
+ BACKUP_VM: "BACKUP_VM",
3
+ };
4
+ export const SyncMetadataStatus = {
5
+ CREATED: "CREATED",
6
+ FAILED: "FAILED",
7
+ PARTIALLY_FAILED: "PARTIALLY_FAILED",
8
+ RUNNING: "RUNNING",
9
+ SUCCEEDED: "SUCCEEDED",
10
+ };
11
+ export const HypervisorState = {
12
+ ERROR: "ERROR",
13
+ OFFLINE: "OFFLINE",
14
+ ONLINE: "ONLINE",
15
+ PENDING: "PENDING",
16
+ };
@@ -1,16 +1 @@
1
- export const GatewayType = {
2
- BACKUP_VM: "BACKUP_VM",
3
- };
4
- export const SyncMetadataStatus = {
5
- CREATED: "CREATED",
6
- FAILED: "FAILED",
7
- PARTIALLY_FAILED: "PARTIALLY_FAILED",
8
- RUNNING: "RUNNING",
9
- SUCCEEDED: "SUCCEEDED",
10
- };
11
- export const HypervisorState = {
12
- ERROR: "ERROR",
13
- OFFLINE: "OFFLINE",
14
- ONLINE: "ONLINE",
15
- PENDING: "PENDING",
16
- };
1
+ export {};
@@ -18,6 +18,7 @@ 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/enums";
21
22
  export * from "./models/errors";
22
23
  export type * from "./models/models_0";
23
24
  export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const GatewayType: {
6
+ readonly BACKUP_VM: "BACKUP_VM";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const SyncMetadataStatus: {
17
+ readonly CREATED: "CREATED";
18
+ readonly FAILED: "FAILED";
19
+ readonly PARTIALLY_FAILED: "PARTIALLY_FAILED";
20
+ readonly RUNNING: "RUNNING";
21
+ readonly SUCCEEDED: "SUCCEEDED";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type SyncMetadataStatus = (typeof SyncMetadataStatus)[keyof typeof SyncMetadataStatus];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const HypervisorState: {
32
+ readonly ERROR: "ERROR";
33
+ readonly OFFLINE: "OFFLINE";
34
+ readonly ONLINE: "ONLINE";
35
+ readonly PENDING: "PENDING";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type HypervisorState = (typeof HypervisorState)[keyof typeof HypervisorState];
@@ -1,3 +1,4 @@
1
+ import { GatewayType, HypervisorState, SyncMetadataStatus } from "./enums";
1
2
  /**
2
3
  * @public
3
4
  */
@@ -145,17 +146,6 @@ export interface PutBandwidthRateLimitScheduleOutput {
145
146
  */
146
147
  GatewayArn?: string | undefined;
147
148
  }
148
- /**
149
- * @public
150
- * @enum
151
- */
152
- export declare const GatewayType: {
153
- readonly BACKUP_VM: "BACKUP_VM";
154
- };
155
- /**
156
- * @public
157
- */
158
- export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
159
149
  /**
160
150
  * <p>A key-value pair you can use to manage, filter, and search for your resources. Allowed
161
151
  * characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ :
@@ -575,35 +565,6 @@ export interface GetHypervisorInput {
575
565
  */
576
566
  HypervisorArn: string | undefined;
577
567
  }
578
- /**
579
- * @public
580
- * @enum
581
- */
582
- export declare const SyncMetadataStatus: {
583
- readonly CREATED: "CREATED";
584
- readonly FAILED: "FAILED";
585
- readonly PARTIALLY_FAILED: "PARTIALLY_FAILED";
586
- readonly RUNNING: "RUNNING";
587
- readonly SUCCEEDED: "SUCCEEDED";
588
- };
589
- /**
590
- * @public
591
- */
592
- export type SyncMetadataStatus = (typeof SyncMetadataStatus)[keyof typeof SyncMetadataStatus];
593
- /**
594
- * @public
595
- * @enum
596
- */
597
- export declare const HypervisorState: {
598
- readonly ERROR: "ERROR";
599
- readonly OFFLINE: "OFFLINE";
600
- readonly ONLINE: "ONLINE";
601
- readonly PENDING: "PENDING";
602
- };
603
- /**
604
- * @public
605
- */
606
- export type HypervisorState = (typeof HypervisorState)[keyof typeof HypervisorState];
607
568
  /**
608
569
  * <p>These are the details of the specified hypervisor. A hypervisor is hardware,
609
570
  * software, or firmware that creates and manages virtual machines, and allocates
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { BackupGatewayExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
@@ -0,0 +1,21 @@
1
+ export declare const GatewayType: {
2
+ readonly BACKUP_VM: "BACKUP_VM";
3
+ };
4
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
5
+ export declare const SyncMetadataStatus: {
6
+ readonly CREATED: "CREATED";
7
+ readonly FAILED: "FAILED";
8
+ readonly PARTIALLY_FAILED: "PARTIALLY_FAILED";
9
+ readonly RUNNING: "RUNNING";
10
+ readonly SUCCEEDED: "SUCCEEDED";
11
+ };
12
+ export type SyncMetadataStatus =
13
+ (typeof SyncMetadataStatus)[keyof typeof SyncMetadataStatus];
14
+ export declare const HypervisorState: {
15
+ readonly ERROR: "ERROR";
16
+ readonly OFFLINE: "OFFLINE";
17
+ readonly ONLINE: "ONLINE";
18
+ readonly PENDING: "PENDING";
19
+ };
20
+ export type HypervisorState =
21
+ (typeof HypervisorState)[keyof typeof HypervisorState];
@@ -1,3 +1,4 @@
1
+ import { GatewayType, HypervisorState, SyncMetadataStatus } from "./enums";
1
2
  export interface AssociateGatewayToServerInput {
2
3
  GatewayArn: string | undefined;
3
4
  ServerArn: string | undefined;
@@ -27,10 +28,6 @@ export interface PutBandwidthRateLimitScheduleInput {
27
28
  export interface PutBandwidthRateLimitScheduleOutput {
28
29
  GatewayArn?: string | undefined;
29
30
  }
30
- export declare const GatewayType: {
31
- readonly BACKUP_VM: "BACKUP_VM";
32
- };
33
- export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
34
31
  export interface Tag {
35
32
  Key: string | undefined;
36
33
  Value: string | undefined;
@@ -132,23 +129,6 @@ export interface DeleteHypervisorOutput {
132
129
  export interface GetHypervisorInput {
133
130
  HypervisorArn: string | undefined;
134
131
  }
135
- export declare const SyncMetadataStatus: {
136
- readonly CREATED: "CREATED";
137
- readonly FAILED: "FAILED";
138
- readonly PARTIALLY_FAILED: "PARTIALLY_FAILED";
139
- readonly RUNNING: "RUNNING";
140
- readonly SUCCEEDED: "SUCCEEDED";
141
- };
142
- export type SyncMetadataStatus =
143
- (typeof SyncMetadataStatus)[keyof typeof SyncMetadataStatus];
144
- export declare const HypervisorState: {
145
- readonly ERROR: "ERROR";
146
- readonly OFFLINE: "OFFLINE";
147
- readonly ONLINE: "ONLINE";
148
- readonly PENDING: "PENDING";
149
- };
150
- export type HypervisorState =
151
- (typeof HypervisorState)[keyof typeof HypervisorState];
152
132
  export interface HypervisorDetails {
153
133
  Host?: string | undefined;
154
134
  HypervisorArn?: string | 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.936.0",
4
+ "version": "3.940.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,17 +20,17 @@
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.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",