@aws-sdk/client-backup 3.449.0 → 3.451.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/README.md +25 -1
- package/dist-cjs/Backup.js +6 -0
- package/dist-cjs/commands/ListBackupJobSummariesCommand.js +51 -0
- package/dist-cjs/commands/ListCopyJobSummariesCommand.js +51 -0
- package/dist-cjs/commands/ListRestoreJobSummariesCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +42 -1
- package/dist-cjs/pagination/ListBackupJobSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/ListCopyJobSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRestoreJobSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +262 -3
- package/dist-es/Backup.js +6 -0
- package/dist-es/commands/ListBackupJobSummariesCommand.js +47 -0
- package/dist-es/commands/ListCopyJobSummariesCommand.js +47 -0
- package/dist-es/commands/ListRestoreJobSummariesCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +41 -0
- package/dist-es/pagination/ListBackupJobSummariesPaginator.js +25 -0
- package/dist-es/pagination/ListCopyJobSummariesPaginator.js +25 -0
- package/dist-es/pagination/ListRestoreJobSummariesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +252 -0
- package/dist-types/Backup.d.ts +21 -0
- package/dist-types/BackupClient.d.ts +5 -2
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCopyJobCommand.d.ts +1 -0
- package/dist-types/commands/ListBackupJobSummariesCommand.d.ts +106 -0
- package/dist-types/commands/ListBackupJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListCopyJobSummariesCommand.d.ts +106 -0
- package/dist-types/commands/ListCopyJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListRestoreJobSummariesCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +727 -0
- package/dist-types/pagination/ListBackupJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCopyJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRestoreJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Backup.d.ts +51 -0
- package/dist-types/ts3.4/BackupClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListBackupJobSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCopyJobSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRestoreJobSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +123 -0
- package/dist-types/ts3.4/pagination/ListBackupJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCopyJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRestoreJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +35 -35
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { ListBackupJobSummariesInput, ListBackupJobSummariesOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListBackupJobSummariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListBackupJobSummariesCommandInput extends ListBackupJobSummariesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListBackupJobSummariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListBackupJobSummariesCommandOutput extends ListBackupJobSummariesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This is a request for a summary of backup jobs created
|
|
27
|
+
* or running within the most recent 30 days. You can
|
|
28
|
+
* include parameters AccountID, State, ResourceType, MessageCategory,
|
|
29
|
+
* AggregationPeriod, MaxResults, or NextToken to filter
|
|
30
|
+
* results.</p>
|
|
31
|
+
* <p>This request returns a summary that contains
|
|
32
|
+
* Region, Account, State, ResourceType, MessageCategory,
|
|
33
|
+
* StartTime, EndTime, and Count of included jobs.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { BackupClient, ListBackupJobSummariesCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
38
|
+
* // const { BackupClient, ListBackupJobSummariesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
39
|
+
* const client = new BackupClient(config);
|
|
40
|
+
* const input = { // ListBackupJobSummariesInput
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* State: "CREATED" || "PENDING" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETED" || "FAILED" || "EXPIRED" || "PARTIAL" || "AGGREGATE_ALL" || "ANY",
|
|
43
|
+
* ResourceType: "STRING_VALUE",
|
|
44
|
+
* MessageCategory: "STRING_VALUE",
|
|
45
|
+
* AggregationPeriod: "ONE_DAY" || "SEVEN_DAYS" || "FOURTEEN_DAYS",
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListBackupJobSummariesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListBackupJobSummariesOutput
|
|
52
|
+
* // BackupJobSummaries: [ // BackupJobSummaryList
|
|
53
|
+
* // { // BackupJobSummary
|
|
54
|
+
* // Region: "STRING_VALUE",
|
|
55
|
+
* // AccountId: "STRING_VALUE",
|
|
56
|
+
* // State: "CREATED" || "PENDING" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETED" || "FAILED" || "EXPIRED" || "PARTIAL" || "AGGREGATE_ALL" || "ANY",
|
|
57
|
+
* // ResourceType: "STRING_VALUE",
|
|
58
|
+
* // MessageCategory: "STRING_VALUE",
|
|
59
|
+
* // Count: Number("int"),
|
|
60
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // AggregationPeriod: "STRING_VALUE",
|
|
65
|
+
* // NextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListBackupJobSummariesCommandInput - {@link ListBackupJobSummariesCommandInput}
|
|
71
|
+
* @returns {@link ListBackupJobSummariesCommandOutput}
|
|
72
|
+
* @see {@link ListBackupJobSummariesCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListBackupJobSummariesCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
77
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
78
|
+
* out of range.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
81
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BackupServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListBackupJobSummariesCommand extends $Command<ListBackupJobSummariesCommandInput, ListBackupJobSummariesCommandOutput, BackupClientResolvedConfig> {
|
|
88
|
+
readonly input: ListBackupJobSummariesCommandInput;
|
|
89
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
constructor(input: ListBackupJobSummariesCommandInput);
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBackupJobSummariesCommandInput, ListBackupJobSummariesCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private deserialize;
|
|
106
|
+
}
|
|
@@ -44,6 +44,7 @@ export interface ListBackupJobsCommandOutput extends ListBackupJobsOutput, __Met
|
|
|
44
44
|
* ByCompleteAfter: new Date("TIMESTAMP"),
|
|
45
45
|
* ByCompleteBefore: new Date("TIMESTAMP"),
|
|
46
46
|
* ByParentJobId: "STRING_VALUE",
|
|
47
|
+
* ByMessageCategory: "STRING_VALUE",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new ListBackupJobsCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -80,6 +81,7 @@ export interface ListBackupJobsCommandOutput extends ListBackupJobsOutput, __Met
|
|
|
80
81
|
* // ParentJobId: "STRING_VALUE",
|
|
81
82
|
* // IsParent: true || false,
|
|
82
83
|
* // ResourceName: "STRING_VALUE",
|
|
84
|
+
* // MessageCategory: "STRING_VALUE",
|
|
83
85
|
* // },
|
|
84
86
|
* // ],
|
|
85
87
|
* // NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { ListCopyJobSummariesInput, ListCopyJobSummariesOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListCopyJobSummariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListCopyJobSummariesCommandInput extends ListCopyJobSummariesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListCopyJobSummariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListCopyJobSummariesCommandOutput extends ListCopyJobSummariesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request obtains a list of copy jobs created
|
|
27
|
+
* or running within the the most recent 30 days. You can
|
|
28
|
+
* include parameters AccountID, State, ResourceType, MessageCategory,
|
|
29
|
+
* AggregationPeriod, MaxResults, or NextToken to filter
|
|
30
|
+
* results.</p>
|
|
31
|
+
* <p>This request returns a summary that contains
|
|
32
|
+
* Region, Account, State, RestourceType, MessageCategory,
|
|
33
|
+
* StartTime, EndTime, and Count of included jobs.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { BackupClient, ListCopyJobSummariesCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
38
|
+
* // const { BackupClient, ListCopyJobSummariesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
39
|
+
* const client = new BackupClient(config);
|
|
40
|
+
* const input = { // ListCopyJobSummariesInput
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* State: "CREATED" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED" || "PARTIAL" || "AGGREGATE_ALL" || "ANY",
|
|
43
|
+
* ResourceType: "STRING_VALUE",
|
|
44
|
+
* MessageCategory: "STRING_VALUE",
|
|
45
|
+
* AggregationPeriod: "ONE_DAY" || "SEVEN_DAYS" || "FOURTEEN_DAYS",
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListCopyJobSummariesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListCopyJobSummariesOutput
|
|
52
|
+
* // CopyJobSummaries: [ // CopyJobSummaryList
|
|
53
|
+
* // { // CopyJobSummary
|
|
54
|
+
* // Region: "STRING_VALUE",
|
|
55
|
+
* // AccountId: "STRING_VALUE",
|
|
56
|
+
* // State: "CREATED" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED" || "PARTIAL" || "AGGREGATE_ALL" || "ANY",
|
|
57
|
+
* // ResourceType: "STRING_VALUE",
|
|
58
|
+
* // MessageCategory: "STRING_VALUE",
|
|
59
|
+
* // Count: Number("int"),
|
|
60
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // AggregationPeriod: "STRING_VALUE",
|
|
65
|
+
* // NextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListCopyJobSummariesCommandInput - {@link ListCopyJobSummariesCommandInput}
|
|
71
|
+
* @returns {@link ListCopyJobSummariesCommandOutput}
|
|
72
|
+
* @see {@link ListCopyJobSummariesCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListCopyJobSummariesCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
77
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
78
|
+
* out of range.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
81
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BackupServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListCopyJobSummariesCommand extends $Command<ListCopyJobSummariesCommandInput, ListCopyJobSummariesCommandOutput, BackupClientResolvedConfig> {
|
|
88
|
+
readonly input: ListCopyJobSummariesCommandInput;
|
|
89
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
constructor(input: ListCopyJobSummariesCommandInput);
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCopyJobSummariesCommandInput, ListCopyJobSummariesCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private deserialize;
|
|
106
|
+
}
|
|
@@ -43,6 +43,7 @@ export interface ListCopyJobsCommandOutput extends ListCopyJobsOutput, __Metadat
|
|
|
43
43
|
* ByCompleteBefore: new Date("TIMESTAMP"),
|
|
44
44
|
* ByCompleteAfter: new Date("TIMESTAMP"),
|
|
45
45
|
* ByParentJobId: "STRING_VALUE",
|
|
46
|
+
* ByMessageCategory: "STRING_VALUE",
|
|
46
47
|
* };
|
|
47
48
|
* const command = new ListCopyJobsCommand(input);
|
|
48
49
|
* const response = await client.send(command);
|
|
@@ -77,6 +78,7 @@ export interface ListCopyJobsCommandOutput extends ListCopyJobsOutput, __Metadat
|
|
|
77
78
|
* // "<keys>": Number("long"),
|
|
78
79
|
* // },
|
|
79
80
|
* // ResourceName: "STRING_VALUE",
|
|
81
|
+
* // MessageCategory: "STRING_VALUE",
|
|
80
82
|
* // },
|
|
81
83
|
* // ],
|
|
82
84
|
* // NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { ListRestoreJobSummariesInput, ListRestoreJobSummariesOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRestoreJobSummariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRestoreJobSummariesCommandInput extends ListRestoreJobSummariesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRestoreJobSummariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRestoreJobSummariesCommandOutput extends ListRestoreJobSummariesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request obtains a summary of restore jobs created
|
|
27
|
+
* or running within the the most recent 30 days. You can
|
|
28
|
+
* include parameters AccountID, State, ResourceType,
|
|
29
|
+
* AggregationPeriod, MaxResults, or NextToken to filter
|
|
30
|
+
* results.</p>
|
|
31
|
+
* <p>This request returns a summary that contains
|
|
32
|
+
* Region, Account, State, RestourceType, MessageCategory,
|
|
33
|
+
* StartTime, EndTime, and Count of included jobs.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { BackupClient, ListRestoreJobSummariesCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
38
|
+
* // const { BackupClient, ListRestoreJobSummariesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
39
|
+
* const client = new BackupClient(config);
|
|
40
|
+
* const input = { // ListRestoreJobSummariesInput
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* State: "CREATED" || "PENDING" || "RUNNING" || "ABORTED" || "COMPLETED" || "FAILED" || "AGGREGATE_ALL" || "ANY",
|
|
43
|
+
* ResourceType: "STRING_VALUE",
|
|
44
|
+
* AggregationPeriod: "ONE_DAY" || "SEVEN_DAYS" || "FOURTEEN_DAYS",
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListRestoreJobSummariesCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListRestoreJobSummariesOutput
|
|
51
|
+
* // RestoreJobSummaries: [ // RestoreJobSummaryList
|
|
52
|
+
* // { // RestoreJobSummary
|
|
53
|
+
* // Region: "STRING_VALUE",
|
|
54
|
+
* // AccountId: "STRING_VALUE",
|
|
55
|
+
* // State: "CREATED" || "PENDING" || "RUNNING" || "ABORTED" || "COMPLETED" || "FAILED" || "AGGREGATE_ALL" || "ANY",
|
|
56
|
+
* // ResourceType: "STRING_VALUE",
|
|
57
|
+
* // Count: Number("int"),
|
|
58
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // AggregationPeriod: "STRING_VALUE",
|
|
63
|
+
* // NextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListRestoreJobSummariesCommandInput - {@link ListRestoreJobSummariesCommandInput}
|
|
69
|
+
* @returns {@link ListRestoreJobSummariesCommandOutput}
|
|
70
|
+
* @see {@link ListRestoreJobSummariesCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListRestoreJobSummariesCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
75
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
76
|
+
* out of range.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
79
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link BackupServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListRestoreJobSummariesCommand extends $Command<ListRestoreJobSummariesCommandInput, ListRestoreJobSummariesCommandOutput, BackupClientResolvedConfig> {
|
|
86
|
+
readonly input: ListRestoreJobSummariesCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
constructor(input: ListRestoreJobSummariesCommandInput);
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRestoreJobSummariesCommandInput, ListRestoreJobSummariesCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private deserialize;
|
|
104
|
+
}
|
|
@@ -38,12 +38,14 @@ export * from "./GetBackupVaultNotificationsCommand";
|
|
|
38
38
|
export * from "./GetLegalHoldCommand";
|
|
39
39
|
export * from "./GetRecoveryPointRestoreMetadataCommand";
|
|
40
40
|
export * from "./GetSupportedResourceTypesCommand";
|
|
41
|
+
export * from "./ListBackupJobSummariesCommand";
|
|
41
42
|
export * from "./ListBackupJobsCommand";
|
|
42
43
|
export * from "./ListBackupPlanTemplatesCommand";
|
|
43
44
|
export * from "./ListBackupPlanVersionsCommand";
|
|
44
45
|
export * from "./ListBackupPlansCommand";
|
|
45
46
|
export * from "./ListBackupSelectionsCommand";
|
|
46
47
|
export * from "./ListBackupVaultsCommand";
|
|
48
|
+
export * from "./ListCopyJobSummariesCommand";
|
|
47
49
|
export * from "./ListCopyJobsCommand";
|
|
48
50
|
export * from "./ListFrameworksCommand";
|
|
49
51
|
export * from "./ListLegalHoldsCommand";
|
|
@@ -54,6 +56,7 @@ export * from "./ListRecoveryPointsByLegalHoldCommand";
|
|
|
54
56
|
export * from "./ListRecoveryPointsByResourceCommand";
|
|
55
57
|
export * from "./ListReportJobsCommand";
|
|
56
58
|
export * from "./ListReportPlansCommand";
|
|
59
|
+
export * from "./ListRestoreJobSummariesCommand";
|
|
57
60
|
export * from "./ListRestoreJobsCommand";
|
|
58
61
|
export * from "./ListTagsCommand";
|
|
59
62
|
export * from "./PutBackupVaultAccessPolicyCommand";
|