@aws-sdk/client-backup-gateway 3.170.0 → 3.177.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/BackupGateway.js +15 -0
  3. package/dist-cjs/commands/GetVirtualMachineCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +45 -13
  6. package/dist-cjs/protocols/Aws_json1_0.js +159 -1
  7. package/dist-es/BackupGateway.js +15 -0
  8. package/dist-es/commands/GetVirtualMachineCommand.js +39 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_0.js +21 -3
  11. package/dist-es/protocols/Aws_json1_0.js +323 -129
  12. package/dist-types/BackupGateway.d.ts +7 -0
  13. package/dist-types/BackupGatewayClient.d.ts +3 -2
  14. package/dist-types/commands/GetVirtualMachineCommand.d.ts +35 -0
  15. package/dist-types/commands/index.d.ts +1 -0
  16. package/dist-types/models/models_0.d.ts +152 -39
  17. package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
  18. package/dist-types/ts3.4/BackupGateway.d.ts +17 -18
  19. package/dist-types/ts3.4/BackupGatewayClient.d.ts +6 -25
  20. package/dist-types/ts3.4/commands/AssociateGatewayToServerCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/DeleteHypervisorCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/DisassociateGatewayFromServerCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/GetGatewayCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/GetVirtualMachineCommand.d.ts +35 -0
  27. package/dist-types/ts3.4/commands/ImportHypervisorConfigurationCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/ListHypervisorsCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/ListVirtualMachinesCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/PutMaintenanceStartTimeCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/TestHypervisorConfigurationCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/UpdateGatewayInformationCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/UpdateGatewaySoftwareNowCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/UpdateHypervisorCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/BackupGatewayServiceException.d.ts +0 -1
  41. package/dist-types/ts3.4/models/models_0.d.ts +66 -134
  42. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  47. package/package.json +26 -26
@@ -6,6 +6,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./command
6
6
  import { DeleteHypervisorCommandInput, DeleteHypervisorCommandOutput } from "./commands/DeleteHypervisorCommand";
7
7
  import { DisassociateGatewayFromServerCommandInput, DisassociateGatewayFromServerCommandOutput } from "./commands/DisassociateGatewayFromServerCommand";
8
8
  import { GetGatewayCommandInput, GetGatewayCommandOutput } from "./commands/GetGatewayCommand";
9
+ import { GetVirtualMachineCommandInput, GetVirtualMachineCommandOutput } from "./commands/GetVirtualMachineCommand";
9
10
  import { ImportHypervisorConfigurationCommandInput, ImportHypervisorConfigurationCommandOutput } from "./commands/ImportHypervisorConfigurationCommand";
10
11
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
11
12
  import { ListHypervisorsCommandInput, ListHypervisorsCommandOutput } from "./commands/ListHypervisorsCommand";
@@ -70,6 +71,12 @@ export declare class BackupGateway extends BackupGatewayClient {
70
71
  getGateway(args: GetGatewayCommandInput, options?: __HttpHandlerOptions): Promise<GetGatewayCommandOutput>;
71
72
  getGateway(args: GetGatewayCommandInput, cb: (err: any, data?: GetGatewayCommandOutput) => void): void;
72
73
  getGateway(args: GetGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGatewayCommandOutput) => void): void;
74
+ /**
75
+ * <p>By providing the ARN (Amazon Resource Name), this API returns the virtual machine.</p>
76
+ */
77
+ getVirtualMachine(args: GetVirtualMachineCommandInput, options?: __HttpHandlerOptions): Promise<GetVirtualMachineCommandOutput>;
78
+ getVirtualMachine(args: GetVirtualMachineCommandInput, cb: (err: any, data?: GetVirtualMachineCommandOutput) => void): void;
79
+ getVirtualMachine(args: GetVirtualMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVirtualMachineCommandOutput) => void): void;
73
80
  /**
74
81
  * <p>Connect to a hypervisor by importing its configuration.</p>
75
82
  */
@@ -12,6 +12,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./command
12
12
  import { DeleteHypervisorCommandInput, DeleteHypervisorCommandOutput } from "./commands/DeleteHypervisorCommand";
13
13
  import { DisassociateGatewayFromServerCommandInput, DisassociateGatewayFromServerCommandOutput } from "./commands/DisassociateGatewayFromServerCommand";
14
14
  import { GetGatewayCommandInput, GetGatewayCommandOutput } from "./commands/GetGatewayCommand";
15
+ import { GetVirtualMachineCommandInput, GetVirtualMachineCommandOutput } from "./commands/GetVirtualMachineCommand";
15
16
  import { ImportHypervisorConfigurationCommandInput, ImportHypervisorConfigurationCommandOutput } from "./commands/ImportHypervisorConfigurationCommand";
16
17
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
17
18
  import { ListHypervisorsCommandInput, ListHypervisorsCommandOutput } from "./commands/ListHypervisorsCommand";
@@ -24,8 +25,8 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
24
25
  import { UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput } from "./commands/UpdateGatewayInformationCommand";
25
26
  import { UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput } from "./commands/UpdateGatewaySoftwareNowCommand";
26
27
  import { UpdateHypervisorCommandInput, UpdateHypervisorCommandOutput } from "./commands/UpdateHypervisorCommand";
27
- export declare type ServiceInputTypes = AssociateGatewayToServerCommandInput | CreateGatewayCommandInput | DeleteGatewayCommandInput | DeleteHypervisorCommandInput | DisassociateGatewayFromServerCommandInput | GetGatewayCommandInput | ImportHypervisorConfigurationCommandInput | ListGatewaysCommandInput | ListHypervisorsCommandInput | ListTagsForResourceCommandInput | ListVirtualMachinesCommandInput | PutMaintenanceStartTimeCommandInput | TagResourceCommandInput | TestHypervisorConfigurationCommandInput | UntagResourceCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateHypervisorCommandInput;
28
- export declare type ServiceOutputTypes = AssociateGatewayToServerCommandOutput | CreateGatewayCommandOutput | DeleteGatewayCommandOutput | DeleteHypervisorCommandOutput | DisassociateGatewayFromServerCommandOutput | GetGatewayCommandOutput | ImportHypervisorConfigurationCommandOutput | ListGatewaysCommandOutput | ListHypervisorsCommandOutput | ListTagsForResourceCommandOutput | ListVirtualMachinesCommandOutput | PutMaintenanceStartTimeCommandOutput | TagResourceCommandOutput | TestHypervisorConfigurationCommandOutput | UntagResourceCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateHypervisorCommandOutput;
28
+ export declare type ServiceInputTypes = AssociateGatewayToServerCommandInput | CreateGatewayCommandInput | DeleteGatewayCommandInput | DeleteHypervisorCommandInput | DisassociateGatewayFromServerCommandInput | GetGatewayCommandInput | GetVirtualMachineCommandInput | ImportHypervisorConfigurationCommandInput | ListGatewaysCommandInput | ListHypervisorsCommandInput | ListTagsForResourceCommandInput | ListVirtualMachinesCommandInput | PutMaintenanceStartTimeCommandInput | TagResourceCommandInput | TestHypervisorConfigurationCommandInput | UntagResourceCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateHypervisorCommandInput;
29
+ export declare type ServiceOutputTypes = AssociateGatewayToServerCommandOutput | CreateGatewayCommandOutput | DeleteGatewayCommandOutput | DeleteHypervisorCommandOutput | DisassociateGatewayFromServerCommandOutput | GetGatewayCommandOutput | GetVirtualMachineCommandOutput | ImportHypervisorConfigurationCommandOutput | ListGatewaysCommandOutput | ListHypervisorsCommandOutput | ListTagsForResourceCommandOutput | ListVirtualMachinesCommandOutput | PutMaintenanceStartTimeCommandOutput | TagResourceCommandOutput | TestHypervisorConfigurationCommandOutput | UntagResourceCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateHypervisorCommandOutput;
29
30
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
30
31
  /**
31
32
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BackupGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupGatewayClient";
4
+ import { GetVirtualMachineInput, GetVirtualMachineOutput } from "../models/models_0";
5
+ export interface GetVirtualMachineCommandInput extends GetVirtualMachineInput {
6
+ }
7
+ export interface GetVirtualMachineCommandOutput extends GetVirtualMachineOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>By providing the ARN (Amazon Resource Name), this API returns the virtual machine.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { BackupGatewayClient, GetVirtualMachineCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
15
+ * // const { BackupGatewayClient, GetVirtualMachineCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
16
+ * const client = new BackupGatewayClient(config);
17
+ * const command = new GetVirtualMachineCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetVirtualMachineCommandInput} for command's `input` shape.
22
+ * @see {@link GetVirtualMachineCommandOutput} for command's `response` shape.
23
+ * @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetVirtualMachineCommand extends $Command<GetVirtualMachineCommandInput, GetVirtualMachineCommandOutput, BackupGatewayClientResolvedConfig> {
27
+ readonly input: GetVirtualMachineCommandInput;
28
+ constructor(input: GetVirtualMachineCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupGatewayClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetVirtualMachineCommandInput, GetVirtualMachineCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -4,6 +4,7 @@ export * from "./DeleteGatewayCommand";
4
4
  export * from "./DeleteHypervisorCommand";
5
5
  export * from "./DisassociateGatewayFromServerCommand";
6
6
  export * from "./GetGatewayCommand";
7
+ export * from "./GetVirtualMachineCommand";
7
8
  export * from "./ImportHypervisorConfigurationCommand";
8
9
  export * from "./ListGatewaysCommand";
9
10
  export * from "./ListHypervisorsCommand";
@@ -65,6 +65,24 @@ export declare class InternalServerException extends __BaseException {
65
65
  */
66
66
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
67
67
  }
68
+ /**
69
+ * <p>TPS has been limited to protect against intentional or unintentional
70
+ * high request volumes.</p>
71
+ */
72
+ export declare class ThrottlingException extends __BaseException {
73
+ readonly name: "ThrottlingException";
74
+ readonly $fault: "client";
75
+ /**
76
+ * <p>Error: TPS has been limited to protect against intentional or unintentional
77
+ * high request volumes.</p>
78
+ */
79
+ ErrorCode: string | undefined;
80
+ Message?: string;
81
+ /**
82
+ * @internal
83
+ */
84
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
85
+ }
68
86
  /**
69
87
  * <p>The operation did not succeed because a validation error occurred.</p>
70
88
  */
@@ -169,6 +187,32 @@ export interface GetGatewayInput {
169
187
  */
170
188
  GatewayArn: string | undefined;
171
189
  }
190
+ /**
191
+ * <p>This is your gateway's weekly maintenance start time including the day and time of the week.
192
+ * Note that values are in terms of the gateway's time zone. Can be weekly or monthly.</p>
193
+ */
194
+ export interface MaintenanceStartTime {
195
+ /**
196
+ * <p>The day of the month component of the maintenance start time represented as an ordinal number from
197
+ * 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.</p>
198
+ */
199
+ DayOfMonth?: number;
200
+ /**
201
+ * <p>An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday
202
+ * and 6 represents Saturday. The day of week is in the time zone of the gateway.</p>
203
+ */
204
+ DayOfWeek?: number;
205
+ /**
206
+ * <p>The hour component of the maintenance start time represented as <i>hh</i>,
207
+ * where <i>hh</i> is the hour (0 to 23). The hour of the day is in the time zone of the gateway.</p>
208
+ */
209
+ HourOfDay: number | undefined;
210
+ /**
211
+ * <p>The minute component of the maintenance start time represented as <i>mm</i>, where
212
+ * <i>mm</i> is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.</p>
213
+ */
214
+ MinuteOfHour: number | undefined;
215
+ }
172
216
  /**
173
217
  * <p>The details of gateway.</p>
174
218
  */
@@ -197,6 +241,11 @@ export interface GatewayDetails {
197
241
  * with the cloud, in Unix format and UTC time.</p>
198
242
  */
199
243
  LastSeenTime?: Date;
244
+ /**
245
+ * <p>Returns your gateway's weekly maintenance start time including the day and time of the week.
246
+ * Note that values are in terms of the gateway's time zone. Can be weekly or monthly.</p>
247
+ */
248
+ MaintenanceStartTime?: MaintenanceStartTime;
200
249
  /**
201
250
  * <p>Details showing the next update availability time of the
202
251
  * gateway.</p>
@@ -503,7 +552,87 @@ export interface ListTagsForResourceOutput {
503
552
  */
504
553
  Tags?: Tag[];
505
554
  }
555
+ export interface TagResourceInput {
556
+ /**
557
+ * <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
558
+ */
559
+ ResourceARN: string | undefined;
560
+ /**
561
+ * <p>A list of tags to assign to the resource.</p>
562
+ */
563
+ Tags: Tag[] | undefined;
564
+ }
565
+ export interface TagResourceOutput {
566
+ /**
567
+ * <p>The Amazon Resource Name (ARN) of the resource you tagged.</p>
568
+ */
569
+ ResourceARN?: string;
570
+ }
571
+ export interface UntagResourceInput {
572
+ /**
573
+ * <p>The Amazon Resource Name (ARN) of the resource from which to remove tags.</p>
574
+ */
575
+ ResourceARN: string | undefined;
576
+ /**
577
+ * <p>The list of tag keys specifying which tags to remove.</p>
578
+ */
579
+ TagKeys: string[] | undefined;
580
+ }
581
+ export interface UntagResourceOutput {
582
+ /**
583
+ * <p>The Amazon Resource Name (ARN) of the resource from which you removed tags.</p>
584
+ */
585
+ ResourceARN?: string;
586
+ }
587
+ export interface GetVirtualMachineInput {
588
+ /**
589
+ * <p>The Amazon Resource Name (ARN) of the virtual machine.</p>
590
+ */
591
+ ResourceArn: string | undefined;
592
+ }
593
+ /**
594
+ * <p>Your <code>VirtualMachine</code> objects, ordered by their Amazon Resource Names (ARNs).</p>
595
+ */
596
+ export interface VirtualMachineDetails {
597
+ /**
598
+ * <p>The host name of the virtual machine.</p>
599
+ */
600
+ HostName?: string;
601
+ /**
602
+ * <p>The ID of the virtual machine's hypervisor.</p>
603
+ */
604
+ HypervisorId?: string;
605
+ /**
606
+ * <p>The name of the virtual machine.</p>
607
+ */
608
+ Name?: string;
609
+ /**
610
+ * <p>The path of the virtual machine.</p>
611
+ */
612
+ Path?: string;
613
+ /**
614
+ * <p>The Amazon Resource Name (ARN) of the virtual machine. For example,
615
+ * <code>arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL</code>.</p>
616
+ */
617
+ ResourceArn?: string;
618
+ /**
619
+ * <p>The most recent date a virtual machine was backed up, in Unix format and UTC time.</p>
620
+ */
621
+ LastBackupDate?: Date;
622
+ }
623
+ export interface GetVirtualMachineOutput {
624
+ /**
625
+ * <p>This object contains the basic attributes of <code>VirtualMachine</code> contained by the output of
626
+ * <code>GetVirtualMachine</code>
627
+ * </p>
628
+ */
629
+ VirtualMachine?: VirtualMachineDetails;
630
+ }
506
631
  export interface ListVirtualMachinesInput {
632
+ /**
633
+ * <p>The Amazon Resource Name (ARN) of the hypervisor connected to your virtual machine.</p>
634
+ */
635
+ HypervisorArn?: string;
507
636
  /**
508
637
  * <p>The maximum number of virtual machines to list.</p>
509
638
  */
@@ -560,38 +689,6 @@ export interface ListVirtualMachinesOutput {
560
689
  */
561
690
  NextToken?: string;
562
691
  }
563
- export interface TagResourceInput {
564
- /**
565
- * <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
566
- */
567
- ResourceARN: string | undefined;
568
- /**
569
- * <p>A list of tags to assign to the resource.</p>
570
- */
571
- Tags: Tag[] | undefined;
572
- }
573
- export interface TagResourceOutput {
574
- /**
575
- * <p>The Amazon Resource Name (ARN) of the resource you tagged.</p>
576
- */
577
- ResourceARN?: string;
578
- }
579
- export interface UntagResourceInput {
580
- /**
581
- * <p>The Amazon Resource Name (ARN) of the resource from which to remove tags.</p>
582
- */
583
- ResourceARN: string | undefined;
584
- /**
585
- * <p>The list of tag keys specifying which tags to remove.</p>
586
- */
587
- TagKeys: string[] | undefined;
588
- }
589
- export interface UntagResourceOutput {
590
- /**
591
- * <p>The Amazon Resource Name (ARN) of the resource from which you removed tags.</p>
592
- */
593
- ResourceARN?: string;
594
- }
595
692
  /**
596
693
  * @internal
597
694
  */
@@ -632,6 +729,10 @@ export declare const DisassociateGatewayFromServerOutputFilterSensitiveLog: (obj
632
729
  * @internal
633
730
  */
634
731
  export declare const GetGatewayInputFilterSensitiveLog: (obj: GetGatewayInput) => any;
732
+ /**
733
+ * @internal
734
+ */
735
+ export declare const MaintenanceStartTimeFilterSensitiveLog: (obj: MaintenanceStartTime) => any;
635
736
  /**
636
737
  * @internal
637
738
  */
@@ -731,28 +832,40 @@ export declare const ListTagsForResourceOutputFilterSensitiveLog: (obj: ListTags
731
832
  /**
732
833
  * @internal
733
834
  */
734
- export declare const ListVirtualMachinesInputFilterSensitiveLog: (obj: ListVirtualMachinesInput) => any;
835
+ export declare const TagResourceInputFilterSensitiveLog: (obj: TagResourceInput) => any;
735
836
  /**
736
837
  * @internal
737
838
  */
738
- export declare const VirtualMachineFilterSensitiveLog: (obj: VirtualMachine) => any;
839
+ export declare const TagResourceOutputFilterSensitiveLog: (obj: TagResourceOutput) => any;
739
840
  /**
740
841
  * @internal
741
842
  */
742
- export declare const ListVirtualMachinesOutputFilterSensitiveLog: (obj: ListVirtualMachinesOutput) => any;
843
+ export declare const UntagResourceInputFilterSensitiveLog: (obj: UntagResourceInput) => any;
743
844
  /**
744
845
  * @internal
745
846
  */
746
- export declare const TagResourceInputFilterSensitiveLog: (obj: TagResourceInput) => any;
847
+ export declare const UntagResourceOutputFilterSensitiveLog: (obj: UntagResourceOutput) => any;
747
848
  /**
748
849
  * @internal
749
850
  */
750
- export declare const TagResourceOutputFilterSensitiveLog: (obj: TagResourceOutput) => any;
851
+ export declare const GetVirtualMachineInputFilterSensitiveLog: (obj: GetVirtualMachineInput) => any;
751
852
  /**
752
853
  * @internal
753
854
  */
754
- export declare const UntagResourceInputFilterSensitiveLog: (obj: UntagResourceInput) => any;
855
+ export declare const VirtualMachineDetailsFilterSensitiveLog: (obj: VirtualMachineDetails) => any;
755
856
  /**
756
857
  * @internal
757
858
  */
758
- export declare const UntagResourceOutputFilterSensitiveLog: (obj: UntagResourceOutput) => any;
859
+ export declare const GetVirtualMachineOutputFilterSensitiveLog: (obj: GetVirtualMachineOutput) => any;
860
+ /**
861
+ * @internal
862
+ */
863
+ export declare const ListVirtualMachinesInputFilterSensitiveLog: (obj: ListVirtualMachinesInput) => any;
864
+ /**
865
+ * @internal
866
+ */
867
+ export declare const VirtualMachineFilterSensitiveLog: (obj: VirtualMachine) => any;
868
+ /**
869
+ * @internal
870
+ */
871
+ export declare const ListVirtualMachinesOutputFilterSensitiveLog: (obj: ListVirtualMachinesOutput) => any;
@@ -6,6 +6,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "../comman
6
6
  import { DeleteHypervisorCommandInput, DeleteHypervisorCommandOutput } from "../commands/DeleteHypervisorCommand";
7
7
  import { DisassociateGatewayFromServerCommandInput, DisassociateGatewayFromServerCommandOutput } from "../commands/DisassociateGatewayFromServerCommand";
8
8
  import { GetGatewayCommandInput, GetGatewayCommandOutput } from "../commands/GetGatewayCommand";
9
+ import { GetVirtualMachineCommandInput, GetVirtualMachineCommandOutput } from "../commands/GetVirtualMachineCommand";
9
10
  import { ImportHypervisorConfigurationCommandInput, ImportHypervisorConfigurationCommandOutput } from "../commands/ImportHypervisorConfigurationCommand";
10
11
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "../commands/ListGatewaysCommand";
11
12
  import { ListHypervisorsCommandInput, ListHypervisorsCommandOutput } from "../commands/ListHypervisorsCommand";
@@ -24,6 +25,7 @@ export declare const serializeAws_json1_0DeleteGatewayCommand: (input: DeleteGat
24
25
  export declare const serializeAws_json1_0DeleteHypervisorCommand: (input: DeleteHypervisorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
26
  export declare const serializeAws_json1_0DisassociateGatewayFromServerCommand: (input: DisassociateGatewayFromServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
27
  export declare const serializeAws_json1_0GetGatewayCommand: (input: GetGatewayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ export declare const serializeAws_json1_0GetVirtualMachineCommand: (input: GetVirtualMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
29
  export declare const serializeAws_json1_0ImportHypervisorConfigurationCommand: (input: ImportHypervisorConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
30
  export declare const serializeAws_json1_0ListGatewaysCommand: (input: ListGatewaysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
31
  export declare const serializeAws_json1_0ListHypervisorsCommand: (input: ListHypervisorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -42,6 +44,7 @@ export declare const deserializeAws_json1_0DeleteGatewayCommand: (output: __Http
42
44
  export declare const deserializeAws_json1_0DeleteHypervisorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteHypervisorCommandOutput>;
43
45
  export declare const deserializeAws_json1_0DisassociateGatewayFromServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateGatewayFromServerCommandOutput>;
44
46
  export declare const deserializeAws_json1_0GetGatewayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGatewayCommandOutput>;
47
+ export declare const deserializeAws_json1_0GetVirtualMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetVirtualMachineCommandOutput>;
45
48
  export declare const deserializeAws_json1_0ImportHypervisorConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportHypervisorConfigurationCommandOutput>;
46
49
  export declare const deserializeAws_json1_0ListGatewaysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGatewaysCommandOutput>;
47
50
  export declare const deserializeAws_json1_0ListHypervisorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListHypervisorsCommandOutput>;
@@ -24,6 +24,10 @@ import {
24
24
  GetGatewayCommandInput,
25
25
  GetGatewayCommandOutput,
26
26
  } from "./commands/GetGatewayCommand";
27
+ import {
28
+ GetVirtualMachineCommandInput,
29
+ GetVirtualMachineCommandOutput,
30
+ } from "./commands/GetVirtualMachineCommand";
27
31
  import {
28
32
  ImportHypervisorConfigurationCommandInput,
29
33
  ImportHypervisorConfigurationCommandOutput,
@@ -72,7 +76,6 @@ import {
72
76
  UpdateHypervisorCommandInput,
73
77
  UpdateHypervisorCommandOutput,
74
78
  } from "./commands/UpdateHypervisorCommand";
75
-
76
79
  export declare class BackupGateway extends BackupGatewayClient {
77
80
  associateGatewayToServer(
78
81
  args: AssociateGatewayToServerCommandInput,
@@ -87,7 +90,6 @@ export declare class BackupGateway extends BackupGatewayClient {
87
90
  options: __HttpHandlerOptions,
88
91
  cb: (err: any, data?: AssociateGatewayToServerCommandOutput) => void
89
92
  ): void;
90
-
91
93
  createGateway(
92
94
  args: CreateGatewayCommandInput,
93
95
  options?: __HttpHandlerOptions
@@ -101,7 +103,6 @@ export declare class BackupGateway extends BackupGatewayClient {
101
103
  options: __HttpHandlerOptions,
102
104
  cb: (err: any, data?: CreateGatewayCommandOutput) => void
103
105
  ): void;
104
-
105
106
  deleteGateway(
106
107
  args: DeleteGatewayCommandInput,
107
108
  options?: __HttpHandlerOptions
@@ -115,7 +116,6 @@ export declare class BackupGateway extends BackupGatewayClient {
115
116
  options: __HttpHandlerOptions,
116
117
  cb: (err: any, data?: DeleteGatewayCommandOutput) => void
117
118
  ): void;
118
-
119
119
  deleteHypervisor(
120
120
  args: DeleteHypervisorCommandInput,
121
121
  options?: __HttpHandlerOptions
@@ -129,7 +129,6 @@ export declare class BackupGateway extends BackupGatewayClient {
129
129
  options: __HttpHandlerOptions,
130
130
  cb: (err: any, data?: DeleteHypervisorCommandOutput) => void
131
131
  ): void;
132
-
133
132
  disassociateGatewayFromServer(
134
133
  args: DisassociateGatewayFromServerCommandInput,
135
134
  options?: __HttpHandlerOptions
@@ -143,7 +142,6 @@ export declare class BackupGateway extends BackupGatewayClient {
143
142
  options: __HttpHandlerOptions,
144
143
  cb: (err: any, data?: DisassociateGatewayFromServerCommandOutput) => void
145
144
  ): void;
146
-
147
145
  getGateway(
148
146
  args: GetGatewayCommandInput,
149
147
  options?: __HttpHandlerOptions
@@ -157,7 +155,19 @@ export declare class BackupGateway extends BackupGatewayClient {
157
155
  options: __HttpHandlerOptions,
158
156
  cb: (err: any, data?: GetGatewayCommandOutput) => void
159
157
  ): void;
160
-
158
+ getVirtualMachine(
159
+ args: GetVirtualMachineCommandInput,
160
+ options?: __HttpHandlerOptions
161
+ ): Promise<GetVirtualMachineCommandOutput>;
162
+ getVirtualMachine(
163
+ args: GetVirtualMachineCommandInput,
164
+ cb: (err: any, data?: GetVirtualMachineCommandOutput) => void
165
+ ): void;
166
+ getVirtualMachine(
167
+ args: GetVirtualMachineCommandInput,
168
+ options: __HttpHandlerOptions,
169
+ cb: (err: any, data?: GetVirtualMachineCommandOutput) => void
170
+ ): void;
161
171
  importHypervisorConfiguration(
162
172
  args: ImportHypervisorConfigurationCommandInput,
163
173
  options?: __HttpHandlerOptions
@@ -171,7 +181,6 @@ export declare class BackupGateway extends BackupGatewayClient {
171
181
  options: __HttpHandlerOptions,
172
182
  cb: (err: any, data?: ImportHypervisorConfigurationCommandOutput) => void
173
183
  ): void;
174
-
175
184
  listGateways(
176
185
  args: ListGatewaysCommandInput,
177
186
  options?: __HttpHandlerOptions
@@ -185,7 +194,6 @@ export declare class BackupGateway extends BackupGatewayClient {
185
194
  options: __HttpHandlerOptions,
186
195
  cb: (err: any, data?: ListGatewaysCommandOutput) => void
187
196
  ): void;
188
-
189
197
  listHypervisors(
190
198
  args: ListHypervisorsCommandInput,
191
199
  options?: __HttpHandlerOptions
@@ -199,7 +207,6 @@ export declare class BackupGateway extends BackupGatewayClient {
199
207
  options: __HttpHandlerOptions,
200
208
  cb: (err: any, data?: ListHypervisorsCommandOutput) => void
201
209
  ): void;
202
-
203
210
  listTagsForResource(
204
211
  args: ListTagsForResourceCommandInput,
205
212
  options?: __HttpHandlerOptions
@@ -213,7 +220,6 @@ export declare class BackupGateway extends BackupGatewayClient {
213
220
  options: __HttpHandlerOptions,
214
221
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
215
222
  ): void;
216
-
217
223
  listVirtualMachines(
218
224
  args: ListVirtualMachinesCommandInput,
219
225
  options?: __HttpHandlerOptions
@@ -227,7 +233,6 @@ export declare class BackupGateway extends BackupGatewayClient {
227
233
  options: __HttpHandlerOptions,
228
234
  cb: (err: any, data?: ListVirtualMachinesCommandOutput) => void
229
235
  ): void;
230
-
231
236
  putMaintenanceStartTime(
232
237
  args: PutMaintenanceStartTimeCommandInput,
233
238
  options?: __HttpHandlerOptions
@@ -241,7 +246,6 @@ export declare class BackupGateway extends BackupGatewayClient {
241
246
  options: __HttpHandlerOptions,
242
247
  cb: (err: any, data?: PutMaintenanceStartTimeCommandOutput) => void
243
248
  ): void;
244
-
245
249
  tagResource(
246
250
  args: TagResourceCommandInput,
247
251
  options?: __HttpHandlerOptions
@@ -255,7 +259,6 @@ export declare class BackupGateway extends BackupGatewayClient {
255
259
  options: __HttpHandlerOptions,
256
260
  cb: (err: any, data?: TagResourceCommandOutput) => void
257
261
  ): void;
258
-
259
262
  testHypervisorConfiguration(
260
263
  args: TestHypervisorConfigurationCommandInput,
261
264
  options?: __HttpHandlerOptions
@@ -269,7 +272,6 @@ export declare class BackupGateway extends BackupGatewayClient {
269
272
  options: __HttpHandlerOptions,
270
273
  cb: (err: any, data?: TestHypervisorConfigurationCommandOutput) => void
271
274
  ): void;
272
-
273
275
  untagResource(
274
276
  args: UntagResourceCommandInput,
275
277
  options?: __HttpHandlerOptions
@@ -283,7 +285,6 @@ export declare class BackupGateway extends BackupGatewayClient {
283
285
  options: __HttpHandlerOptions,
284
286
  cb: (err: any, data?: UntagResourceCommandOutput) => void
285
287
  ): void;
286
-
287
288
  updateGatewayInformation(
288
289
  args: UpdateGatewayInformationCommandInput,
289
290
  options?: __HttpHandlerOptions
@@ -297,7 +298,6 @@ export declare class BackupGateway extends BackupGatewayClient {
297
298
  options: __HttpHandlerOptions,
298
299
  cb: (err: any, data?: UpdateGatewayInformationCommandOutput) => void
299
300
  ): void;
300
-
301
301
  updateGatewaySoftwareNow(
302
302
  args: UpdateGatewaySoftwareNowCommandInput,
303
303
  options?: __HttpHandlerOptions
@@ -311,7 +311,6 @@ export declare class BackupGateway extends BackupGatewayClient {
311
311
  options: __HttpHandlerOptions,
312
312
  cb: (err: any, data?: UpdateGatewaySoftwareNowCommandOutput) => void
313
313
  ): void;
314
-
315
314
  updateHypervisor(
316
315
  args: UpdateHypervisorCommandInput,
317
316
  options?: __HttpHandlerOptions
@@ -66,6 +66,10 @@ import {
66
66
  GetGatewayCommandInput,
67
67
  GetGatewayCommandOutput,
68
68
  } from "./commands/GetGatewayCommand";
69
+ import {
70
+ GetVirtualMachineCommandInput,
71
+ GetVirtualMachineCommandOutput,
72
+ } from "./commands/GetVirtualMachineCommand";
69
73
  import {
70
74
  ImportHypervisorConfigurationCommandInput,
71
75
  ImportHypervisorConfigurationCommandOutput,
@@ -121,6 +125,7 @@ export declare type ServiceInputTypes =
121
125
  | DeleteHypervisorCommandInput
122
126
  | DisassociateGatewayFromServerCommandInput
123
127
  | GetGatewayCommandInput
128
+ | GetVirtualMachineCommandInput
124
129
  | ImportHypervisorConfigurationCommandInput
125
130
  | ListGatewaysCommandInput
126
131
  | ListHypervisorsCommandInput
@@ -140,6 +145,7 @@ export declare type ServiceOutputTypes =
140
145
  | DeleteHypervisorCommandOutput
141
146
  | DisassociateGatewayFromServerCommandOutput
142
147
  | GetGatewayCommandOutput
148
+ | GetVirtualMachineCommandOutput
143
149
  | ImportHypervisorConfigurationCommandOutput
144
150
  | ListGatewaysCommandOutput
145
151
  | ListHypervisorsCommandOutput
@@ -155,47 +161,26 @@ export declare type ServiceOutputTypes =
155
161
  export interface ClientDefaults
156
162
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
157
163
  requestHandler?: __HttpHandler;
158
-
159
164
  sha256?: __HashConstructor;
160
-
161
165
  urlParser?: __UrlParser;
162
-
163
166
  bodyLengthChecker?: __BodyLengthCalculator;
164
-
165
167
  streamCollector?: __StreamCollector;
166
-
167
168
  base64Decoder?: __Decoder;
168
-
169
169
  base64Encoder?: __Encoder;
170
-
171
170
  utf8Decoder?: __Decoder;
172
-
173
171
  utf8Encoder?: __Encoder;
174
-
175
172
  runtime?: string;
176
-
177
173
  disableHostPrefix?: boolean;
178
-
179
174
  maxAttempts?: number | __Provider<number>;
180
-
181
175
  retryMode?: string | __Provider<string>;
182
-
183
176
  logger?: __Logger;
184
-
185
177
  useDualstackEndpoint?: boolean | __Provider<boolean>;
186
-
187
178
  useFipsEndpoint?: boolean | __Provider<boolean>;
188
-
189
179
  serviceId?: string;
190
-
191
180
  region?: string | __Provider<string>;
192
-
193
181
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
194
-
195
182
  regionInfoProvider?: RegionInfoProvider;
196
-
197
183
  defaultUserAgentProvider?: Provider<__UserAgent>;
198
-
199
184
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
200
185
  }
201
186
  declare type BackupGatewayClientConfigType = Partial<
@@ -208,7 +193,6 @@ declare type BackupGatewayClientConfigType = Partial<
208
193
  HostHeaderInputConfig &
209
194
  AwsAuthInputConfig &
210
195
  UserAgentInputConfig;
211
-
212
196
  export interface BackupGatewayClientConfig
213
197
  extends BackupGatewayClientConfigType {}
214
198
  declare type BackupGatewayClientResolvedConfigType =
@@ -220,10 +204,8 @@ declare type BackupGatewayClientResolvedConfigType =
220
204
  HostHeaderResolvedConfig &
221
205
  AwsAuthResolvedConfig &
222
206
  UserAgentResolvedConfig;
223
-
224
207
  export interface BackupGatewayClientResolvedConfig
225
208
  extends BackupGatewayClientResolvedConfigType {}
226
-
227
209
  export declare class BackupGatewayClient extends __Client<
228
210
  __HttpHandlerOptions,
229
211
  ServiceInputTypes,
@@ -232,7 +214,6 @@ export declare class BackupGatewayClient extends __Client<
232
214
  > {
233
215
  readonly config: BackupGatewayClientResolvedConfig;
234
216
  constructor(configuration: BackupGatewayClientConfig);
235
-
236
217
  destroy(): void;
237
218
  }
238
219
  export {};
@@ -19,7 +19,6 @@ export interface AssociateGatewayToServerCommandInput
19
19
  export interface AssociateGatewayToServerCommandOutput
20
20
  extends AssociateGatewayToServerOutput,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class AssociateGatewayToServerCommand extends $Command<
24
23
  AssociateGatewayToServerCommandInput,
25
24
  AssociateGatewayToServerCommandOutput,
@@ -27,7 +26,6 @@ export declare class AssociateGatewayToServerCommand extends $Command<
27
26
  > {
28
27
  readonly input: AssociateGatewayToServerCommandInput;
29
28
  constructor(input: AssociateGatewayToServerCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: BackupGatewayClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface CreateGatewayCommandInput extends CreateGatewayInput {}
15
15
  export interface CreateGatewayCommandOutput
16
16
  extends CreateGatewayOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class CreateGatewayCommand extends $Command<
20
19
  CreateGatewayCommandInput,
21
20
  CreateGatewayCommandOutput,
@@ -23,7 +22,6 @@ export declare class CreateGatewayCommand extends $Command<
23
22
  > {
24
23
  readonly input: CreateGatewayCommandInput;
25
24
  constructor(input: CreateGatewayCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: BackupGatewayClientResolvedConfig,