@aws-sdk/client-backup-gateway 3.171.0 → 3.178.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 (30) 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/runtimeConfig.browser.d.ts +1 -1
  19. package/dist-types/runtimeConfig.d.ts +1 -1
  20. package/dist-types/runtimeConfig.native.d.ts +1 -1
  21. package/dist-types/ts3.4/BackupGateway.d.ts +17 -0
  22. package/dist-types/ts3.4/BackupGatewayClient.d.ts +6 -0
  23. package/dist-types/ts3.4/commands/GetVirtualMachineCommand.d.ts +35 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +66 -23
  26. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
  30. 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>;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -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,
@@ -151,6 +155,19 @@ export declare class BackupGateway extends BackupGatewayClient {
151
155
  options: __HttpHandlerOptions,
152
156
  cb: (err: any, data?: GetGatewayCommandOutput) => void
153
157
  ): void;
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;
154
171
  importHypervisorConfiguration(
155
172
  args: ImportHypervisorConfigurationCommandInput,
156
173
  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
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ BackupGatewayClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../BackupGatewayClient";
13
+ import {
14
+ GetVirtualMachineInput,
15
+ GetVirtualMachineOutput,
16
+ } from "../models/models_0";
17
+ export interface GetVirtualMachineCommandInput extends GetVirtualMachineInput {}
18
+ export interface GetVirtualMachineCommandOutput
19
+ extends GetVirtualMachineOutput,
20
+ __MetadataBearer {}
21
+ export declare class GetVirtualMachineCommand extends $Command<
22
+ GetVirtualMachineCommandInput,
23
+ GetVirtualMachineCommandOutput,
24
+ BackupGatewayClientResolvedConfig
25
+ > {
26
+ readonly input: GetVirtualMachineCommandInput;
27
+ constructor(input: GetVirtualMachineCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: BackupGatewayClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): 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";
@@ -32,6 +32,15 @@ export declare class InternalServerException extends __BaseException {
32
32
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
33
33
  );
34
34
  }
35
+ export declare class ThrottlingException extends __BaseException {
36
+ readonly name: "ThrottlingException";
37
+ readonly $fault: "client";
38
+ ErrorCode: string | undefined;
39
+ Message?: string;
40
+ constructor(
41
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
42
+ );
43
+ }
35
44
  export declare class ValidationException extends __BaseException {
36
45
  readonly name: "ValidationException";
37
46
  readonly $fault: "client";
@@ -81,12 +90,19 @@ export interface DisassociateGatewayFromServerOutput {
81
90
  export interface GetGatewayInput {
82
91
  GatewayArn: string | undefined;
83
92
  }
93
+ export interface MaintenanceStartTime {
94
+ DayOfMonth?: number;
95
+ DayOfWeek?: number;
96
+ HourOfDay: number | undefined;
97
+ MinuteOfHour: number | undefined;
98
+ }
84
99
  export interface GatewayDetails {
85
100
  GatewayArn?: string;
86
101
  GatewayDisplayName?: string;
87
102
  GatewayType?: GatewayType | string;
88
103
  HypervisorId?: string;
89
104
  LastSeenTime?: Date;
105
+ MaintenanceStartTime?: MaintenanceStartTime;
90
106
  NextUpdateAvailabilityTime?: Date;
91
107
  VpcEndpoint?: string;
92
108
  }
@@ -193,7 +209,36 @@ export interface ListTagsForResourceOutput {
193
209
  ResourceArn?: string;
194
210
  Tags?: Tag[];
195
211
  }
212
+ export interface TagResourceInput {
213
+ ResourceARN: string | undefined;
214
+ Tags: Tag[] | undefined;
215
+ }
216
+ export interface TagResourceOutput {
217
+ ResourceARN?: string;
218
+ }
219
+ export interface UntagResourceInput {
220
+ ResourceARN: string | undefined;
221
+ TagKeys: string[] | undefined;
222
+ }
223
+ export interface UntagResourceOutput {
224
+ ResourceARN?: string;
225
+ }
226
+ export interface GetVirtualMachineInput {
227
+ ResourceArn: string | undefined;
228
+ }
229
+ export interface VirtualMachineDetails {
230
+ HostName?: string;
231
+ HypervisorId?: string;
232
+ Name?: string;
233
+ Path?: string;
234
+ ResourceArn?: string;
235
+ LastBackupDate?: Date;
236
+ }
237
+ export interface GetVirtualMachineOutput {
238
+ VirtualMachine?: VirtualMachineDetails;
239
+ }
196
240
  export interface ListVirtualMachinesInput {
241
+ HypervisorArn?: string;
197
242
  MaxResults?: number;
198
243
  NextToken?: string;
199
244
  }
@@ -209,20 +254,6 @@ export interface ListVirtualMachinesOutput {
209
254
  VirtualMachines?: VirtualMachine[];
210
255
  NextToken?: string;
211
256
  }
212
- export interface TagResourceInput {
213
- ResourceARN: string | undefined;
214
- Tags: Tag[] | undefined;
215
- }
216
- export interface TagResourceOutput {
217
- ResourceARN?: string;
218
- }
219
- export interface UntagResourceInput {
220
- ResourceARN: string | undefined;
221
- TagKeys: string[] | undefined;
222
- }
223
- export interface UntagResourceOutput {
224
- ResourceARN?: string;
225
- }
226
257
  export declare const AssociateGatewayToServerInputFilterSensitiveLog: (
227
258
  obj: AssociateGatewayToServerInput
228
259
  ) => any;
@@ -251,6 +282,9 @@ export declare const DisassociateGatewayFromServerOutputFilterSensitiveLog: (
251
282
  export declare const GetGatewayInputFilterSensitiveLog: (
252
283
  obj: GetGatewayInput
253
284
  ) => any;
285
+ export declare const MaintenanceStartTimeFilterSensitiveLog: (
286
+ obj: MaintenanceStartTime
287
+ ) => any;
254
288
  export declare const GatewayDetailsFilterSensitiveLog: (
255
289
  obj: GatewayDetails
256
290
  ) => any;
@@ -319,15 +353,6 @@ export declare const ListTagsForResourceInputFilterSensitiveLog: (
319
353
  export declare const ListTagsForResourceOutputFilterSensitiveLog: (
320
354
  obj: ListTagsForResourceOutput
321
355
  ) => any;
322
- export declare const ListVirtualMachinesInputFilterSensitiveLog: (
323
- obj: ListVirtualMachinesInput
324
- ) => any;
325
- export declare const VirtualMachineFilterSensitiveLog: (
326
- obj: VirtualMachine
327
- ) => any;
328
- export declare const ListVirtualMachinesOutputFilterSensitiveLog: (
329
- obj: ListVirtualMachinesOutput
330
- ) => any;
331
356
  export declare const TagResourceInputFilterSensitiveLog: (
332
357
  obj: TagResourceInput
333
358
  ) => any;
@@ -340,3 +365,21 @@ export declare const UntagResourceInputFilterSensitiveLog: (
340
365
  export declare const UntagResourceOutputFilterSensitiveLog: (
341
366
  obj: UntagResourceOutput
342
367
  ) => any;
368
+ export declare const GetVirtualMachineInputFilterSensitiveLog: (
369
+ obj: GetVirtualMachineInput
370
+ ) => any;
371
+ export declare const VirtualMachineDetailsFilterSensitiveLog: (
372
+ obj: VirtualMachineDetails
373
+ ) => any;
374
+ export declare const GetVirtualMachineOutputFilterSensitiveLog: (
375
+ obj: GetVirtualMachineOutput
376
+ ) => any;
377
+ export declare const ListVirtualMachinesInputFilterSensitiveLog: (
378
+ obj: ListVirtualMachinesInput
379
+ ) => any;
380
+ export declare const VirtualMachineFilterSensitiveLog: (
381
+ obj: VirtualMachine
382
+ ) => any;
383
+ export declare const ListVirtualMachinesOutputFilterSensitiveLog: (
384
+ obj: ListVirtualMachinesOutput
385
+ ) => any;