@aws-sdk/client-backupsearch 3.714.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/LICENSE +201 -0
- package/README.md +317 -0
- package/dist-cjs/BackupSearch.js +35 -0
- package/dist-cjs/BackupSearchClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetSearchJobCommand.js +26 -0
- package/dist-cjs/commands/GetSearchResultExportJobCommand.js +26 -0
- package/dist-cjs/commands/ListSearchJobBackupsCommand.js +26 -0
- package/dist-cjs/commands/ListSearchJobResultsCommand.js +27 -0
- package/dist-cjs/commands/ListSearchJobsCommand.js +26 -0
- package/dist-cjs/commands/ListSearchResultExportJobsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/StartSearchJobCommand.js +26 -0
- package/dist-cjs/commands/StartSearchResultExportJobCommand.js +26 -0
- package/dist-cjs/commands/StopSearchJobCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BackupSearchServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +192 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListSearchJobBackupsPaginator.js +7 -0
- package/dist-cjs/pagination/ListSearchJobResultsPaginator.js +7 -0
- package/dist-cjs/pagination/ListSearchJobsPaginator.js +7 -0
- package/dist-cjs/pagination/ListSearchResultExportJobsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +780 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/BackupSearch.js +31 -0
- package/dist-es/BackupSearchClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetSearchJobCommand.js +22 -0
- package/dist-es/commands/GetSearchResultExportJobCommand.js +22 -0
- package/dist-es/commands/ListSearchJobBackupsCommand.js +22 -0
- package/dist-es/commands/ListSearchJobResultsCommand.js +23 -0
- package/dist-es/commands/ListSearchJobsCommand.js +22 -0
- package/dist-es/commands/ListSearchResultExportJobsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/StartSearchJobCommand.js +22 -0
- package/dist-es/commands/StartSearchResultExportJobCommand.js +22 -0
- package/dist-es/commands/StopSearchJobCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BackupSearchServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +178 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListSearchJobBackupsPaginator.js +4 -0
- package/dist-es/pagination/ListSearchJobResultsPaginator.js +4 -0
- package/dist-es/pagination/ListSearchJobsPaginator.js +4 -0
- package/dist-es/pagination/ListSearchResultExportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +753 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +47 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/BackupSearch.d.ts +111 -0
- package/dist-types/BackupSearchClient.d.ts +214 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/GetSearchJobCommand.d.ts +187 -0
- package/dist-types/commands/GetSearchResultExportJobCommand.d.ts +105 -0
- package/dist-types/commands/ListSearchJobBackupsCommand.d.ts +113 -0
- package/dist-types/commands/ListSearchJobResultsCommand.d.ts +114 -0
- package/dist-types/commands/ListSearchJobsCommand.d.ts +101 -0
- package/dist-types/commands/ListSearchResultExportJobsCommand.d.ts +106 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
- package/dist-types/commands/StartSearchJobCommand.d.ts +187 -0
- package/dist-types/commands/StartSearchResultExportJobCommand.d.ts +112 -0
- package/dist-types/commands/StopSearchJobCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +89 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +29 -0
- package/dist-types/models/BackupSearchServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1535 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListSearchJobBackupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSearchJobResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSearchJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSearchResultExportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +49 -0
- package/dist-types/runtimeConfig.d.ts +49 -0
- package/dist-types/runtimeConfig.native.d.ts +48 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BackupSearch.d.ts +213 -0
- package/dist-types/ts3.4/BackupSearchClient.d.ts +192 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetSearchJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetSearchResultExportJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSearchJobBackupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSearchJobResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSearchJobsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSearchResultExportJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartSearchJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartSearchResultExportJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopSearchJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/BackupSearchServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +379 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListSearchJobBackupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSearchJobResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSearchJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSearchResultExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
|
|
4
|
+
import { GetSearchJobInput, GetSearchJobOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSearchJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSearchJobCommandInput extends GetSearchJobInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSearchJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSearchJobCommandOutput extends GetSearchJobOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSearchJobCommand_base: {
|
|
25
|
+
new (input: GetSearchJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetSearchJobCommandInput, GetSearchJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSearchJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetSearchJobCommandInput, GetSearchJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation retrieves metadata of a search job,
|
|
31
|
+
* including its progress.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { BackupSearchClient, GetSearchJobCommand } from "@aws-sdk/client-backupsearch"; // ES Modules import
|
|
36
|
+
* // const { BackupSearchClient, GetSearchJobCommand } = require("@aws-sdk/client-backupsearch"); // CommonJS import
|
|
37
|
+
* const client = new BackupSearchClient(config);
|
|
38
|
+
* const input = { // GetSearchJobInput
|
|
39
|
+
* SearchJobIdentifier: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetSearchJobCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetSearchJobOutput
|
|
44
|
+
* // Name: "STRING_VALUE",
|
|
45
|
+
* // SearchScopeSummary: { // SearchScopeSummary
|
|
46
|
+
* // TotalRecoveryPointsToScanCount: Number("int"),
|
|
47
|
+
* // TotalItemsToScanCount: Number("long"),
|
|
48
|
+
* // },
|
|
49
|
+
* // CurrentSearchProgress: { // CurrentSearchProgress
|
|
50
|
+
* // RecoveryPointsScannedCount: Number("int"),
|
|
51
|
+
* // ItemsScannedCount: Number("long"),
|
|
52
|
+
* // ItemsMatchedCount: Number("long"),
|
|
53
|
+
* // },
|
|
54
|
+
* // StatusMessage: "STRING_VALUE",
|
|
55
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
56
|
+
* // CompletionTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // Status: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "FAILED", // required
|
|
58
|
+
* // SearchScope: { // SearchScope
|
|
59
|
+
* // BackupResourceTypes: [ // ResourceTypeList // required
|
|
60
|
+
* // "S3" || "EBS",
|
|
61
|
+
* // ],
|
|
62
|
+
* // BackupResourceCreationTime: { // BackupCreationTimeFilter
|
|
63
|
+
* // CreatedAfter: new Date("TIMESTAMP"),
|
|
64
|
+
* // CreatedBefore: new Date("TIMESTAMP"),
|
|
65
|
+
* // },
|
|
66
|
+
* // SourceResourceArns: [ // ResourceArnList
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // BackupResourceArns: [ // RecoveryPointArnList
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // BackupResourceTags: { // TagMap
|
|
73
|
+
* // "<keys>": "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // ItemFilters: { // ItemFilters
|
|
77
|
+
* // S3ItemFilters: [ // S3ItemFilters
|
|
78
|
+
* // { // S3ItemFilter
|
|
79
|
+
* // ObjectKeys: [ // StringConditionList
|
|
80
|
+
* // { // StringCondition
|
|
81
|
+
* // Value: "STRING_VALUE", // required
|
|
82
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "CONTAINS" || "DOES_NOT_CONTAIN" || "BEGINS_WITH" || "ENDS_WITH" || "DOES_NOT_BEGIN_WITH" || "DOES_NOT_END_WITH",
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // Sizes: [ // LongConditionList
|
|
86
|
+
* // { // LongCondition
|
|
87
|
+
* // Value: Number("long"), // required
|
|
88
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "LESS_THAN_EQUAL_TO" || "GREATER_THAN_EQUAL_TO",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // CreationTimes: [ // TimeConditionList
|
|
92
|
+
* // { // TimeCondition
|
|
93
|
+
* // Value: new Date("TIMESTAMP"), // required
|
|
94
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "LESS_THAN_EQUAL_TO" || "GREATER_THAN_EQUAL_TO",
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // VersionIds: [
|
|
98
|
+
* // {
|
|
99
|
+
* // Value: "STRING_VALUE", // required
|
|
100
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "CONTAINS" || "DOES_NOT_CONTAIN" || "BEGINS_WITH" || "ENDS_WITH" || "DOES_NOT_BEGIN_WITH" || "DOES_NOT_END_WITH",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // ETags: [
|
|
104
|
+
* // {
|
|
105
|
+
* // Value: "STRING_VALUE", // required
|
|
106
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "CONTAINS" || "DOES_NOT_CONTAIN" || "BEGINS_WITH" || "ENDS_WITH" || "DOES_NOT_BEGIN_WITH" || "DOES_NOT_END_WITH",
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // EBSItemFilters: [ // EBSItemFilters
|
|
112
|
+
* // { // EBSItemFilter
|
|
113
|
+
* // FilePaths: [
|
|
114
|
+
* // {
|
|
115
|
+
* // Value: "STRING_VALUE", // required
|
|
116
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "CONTAINS" || "DOES_NOT_CONTAIN" || "BEGINS_WITH" || "ENDS_WITH" || "DOES_NOT_BEGIN_WITH" || "DOES_NOT_END_WITH",
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // Sizes: [
|
|
120
|
+
* // {
|
|
121
|
+
* // Value: Number("long"), // required
|
|
122
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "LESS_THAN_EQUAL_TO" || "GREATER_THAN_EQUAL_TO",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // CreationTimes: [
|
|
126
|
+
* // {
|
|
127
|
+
* // Value: new Date("TIMESTAMP"), // required
|
|
128
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "LESS_THAN_EQUAL_TO" || "GREATER_THAN_EQUAL_TO",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // LastModificationTimes: [
|
|
132
|
+
* // {
|
|
133
|
+
* // Value: new Date("TIMESTAMP"), // required
|
|
134
|
+
* // Operator: "EQUALS_TO" || "NOT_EQUALS_TO" || "LESS_THAN_EQUAL_TO" || "GREATER_THAN_EQUAL_TO",
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
141
|
+
* // SearchJobIdentifier: "STRING_VALUE", // required
|
|
142
|
+
* // SearchJobArn: "STRING_VALUE", // required
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* @param GetSearchJobCommandInput - {@link GetSearchJobCommandInput}
|
|
148
|
+
* @returns {@link GetSearchJobCommandOutput}
|
|
149
|
+
* @see {@link GetSearchJobCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link GetSearchJobCommandOutput} for command's `response` shape.
|
|
151
|
+
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
154
|
+
* <p>The resource was not found for this request.</p>
|
|
155
|
+
* <p>Confirm the resource information, such as the ARN or type is correct
|
|
156
|
+
* and exists, then retry the request.</p>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
159
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link InternalServerException} (server fault)
|
|
162
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
165
|
+
* <p>The request was denied due to request throttling.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link ValidationException} (client fault)
|
|
168
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link BackupSearchServiceException}
|
|
171
|
+
* <p>Base exception class for all service exceptions from BackupSearch service.</p>
|
|
172
|
+
*
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export declare class GetSearchJobCommand extends GetSearchJobCommand_base {
|
|
176
|
+
/** @internal type navigation helper, not in runtime. */
|
|
177
|
+
protected static __types: {
|
|
178
|
+
api: {
|
|
179
|
+
input: GetSearchJobInput;
|
|
180
|
+
output: GetSearchJobOutput;
|
|
181
|
+
};
|
|
182
|
+
sdk: {
|
|
183
|
+
input: GetSearchJobCommandInput;
|
|
184
|
+
output: GetSearchJobCommandOutput;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
|
|
4
|
+
import { GetSearchResultExportJobInput, GetSearchResultExportJobOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSearchResultExportJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSearchResultExportJobCommandInput extends GetSearchResultExportJobInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSearchResultExportJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSearchResultExportJobCommandOutput extends GetSearchResultExportJobOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSearchResultExportJobCommand_base: {
|
|
25
|
+
new (input: GetSearchResultExportJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSearchResultExportJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation retrieves the metadata of an export job.</p>
|
|
31
|
+
* <p>An export job is an operation that transmits the results
|
|
32
|
+
* of a search job to a specified S3 bucket in a
|
|
33
|
+
* .csv file.</p>
|
|
34
|
+
* <p>An export job allows you to retain results of a search
|
|
35
|
+
* beyond the search job's scheduled retention of 7 days.</p>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { BackupSearchClient, GetSearchResultExportJobCommand } from "@aws-sdk/client-backupsearch"; // ES Modules import
|
|
40
|
+
* // const { BackupSearchClient, GetSearchResultExportJobCommand } = require("@aws-sdk/client-backupsearch"); // CommonJS import
|
|
41
|
+
* const client = new BackupSearchClient(config);
|
|
42
|
+
* const input = { // GetSearchResultExportJobInput
|
|
43
|
+
* ExportJobIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetSearchResultExportJobCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetSearchResultExportJobOutput
|
|
48
|
+
* // ExportJobIdentifier: "STRING_VALUE", // required
|
|
49
|
+
* // ExportJobArn: "STRING_VALUE",
|
|
50
|
+
* // Status: "RUNNING" || "FAILED" || "COMPLETED",
|
|
51
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // CompletionTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // StatusMessage: "STRING_VALUE",
|
|
54
|
+
* // ExportSpecification: { // ExportSpecification Union: only one key present
|
|
55
|
+
* // s3ExportSpecification: { // S3ExportSpecification
|
|
56
|
+
* // DestinationBucket: "STRING_VALUE", // required
|
|
57
|
+
* // DestinationPrefix: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // SearchJobArn: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetSearchResultExportJobCommandInput - {@link GetSearchResultExportJobCommandInput}
|
|
66
|
+
* @returns {@link GetSearchResultExportJobCommandOutput}
|
|
67
|
+
* @see {@link GetSearchResultExportJobCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetSearchResultExportJobCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The resource was not found for this request.</p>
|
|
73
|
+
* <p>Confirm the resource information, such as the ARN or type is correct
|
|
74
|
+
* and exists, then retry the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The request was denied due to request throttling.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link BackupSearchServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from BackupSearch service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class GetSearchResultExportJobCommand extends GetSearchResultExportJobCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: GetSearchResultExportJobInput;
|
|
98
|
+
output: GetSearchResultExportJobOutput;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: GetSearchResultExportJobCommandInput;
|
|
102
|
+
output: GetSearchResultExportJobCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
|
|
4
|
+
import { ListSearchJobBackupsInput, ListSearchJobBackupsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSearchJobBackupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSearchJobBackupsCommandInput extends ListSearchJobBackupsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSearchJobBackupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSearchJobBackupsCommandOutput extends ListSearchJobBackupsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSearchJobBackupsCommand_base: {
|
|
25
|
+
new (input: ListSearchJobBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListSearchJobBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation returns a list of all backups (recovery
|
|
31
|
+
* points) in a paginated format that were included in
|
|
32
|
+
* the search job.</p>
|
|
33
|
+
* <p>If a search does not display an expected backup in
|
|
34
|
+
* the results, you can call this operation to display each
|
|
35
|
+
* backup included in the search. Any backups that were not
|
|
36
|
+
* included because they have a <code>FAILED</code> status
|
|
37
|
+
* from a permissions issue will be displayed, along with a
|
|
38
|
+
* status message.</p>
|
|
39
|
+
* <p>Only recovery points with a backup index that has
|
|
40
|
+
* a status of <code>ACTIVE</code> will be included in search results.
|
|
41
|
+
* If the index has any other status, its status will be
|
|
42
|
+
* displayed along with a status message.</p>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { BackupSearchClient, ListSearchJobBackupsCommand } from "@aws-sdk/client-backupsearch"; // ES Modules import
|
|
47
|
+
* // const { BackupSearchClient, ListSearchJobBackupsCommand } = require("@aws-sdk/client-backupsearch"); // CommonJS import
|
|
48
|
+
* const client = new BackupSearchClient(config);
|
|
49
|
+
* const input = { // ListSearchJobBackupsInput
|
|
50
|
+
* SearchJobIdentifier: "STRING_VALUE", // required
|
|
51
|
+
* NextToken: "STRING_VALUE",
|
|
52
|
+
* MaxResults: Number("int"),
|
|
53
|
+
* };
|
|
54
|
+
* const command = new ListSearchJobBackupsCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // ListSearchJobBackupsOutput
|
|
57
|
+
* // Results: [ // SearchJobBackupsResults // required
|
|
58
|
+
* // { // SearchJobBackupsResult
|
|
59
|
+
* // Status: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "FAILED",
|
|
60
|
+
* // StatusMessage: "STRING_VALUE",
|
|
61
|
+
* // ResourceType: "S3" || "EBS",
|
|
62
|
+
* // BackupResourceArn: "STRING_VALUE",
|
|
63
|
+
* // SourceResourceArn: "STRING_VALUE",
|
|
64
|
+
* // IndexCreationTime: new Date("TIMESTAMP"),
|
|
65
|
+
* // BackupCreationTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // NextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListSearchJobBackupsCommandInput - {@link ListSearchJobBackupsCommandInput}
|
|
74
|
+
* @returns {@link ListSearchJobBackupsCommandOutput}
|
|
75
|
+
* @see {@link ListSearchJobBackupsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListSearchJobBackupsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The resource was not found for this request.</p>
|
|
81
|
+
* <p>Confirm the resource information, such as the ARN or type is correct
|
|
82
|
+
* and exists, then retry the request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to request throttling.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link BackupSearchServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from BackupSearch service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListSearchJobBackupsCommand extends ListSearchJobBackupsCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ListSearchJobBackupsInput;
|
|
106
|
+
output: ListSearchJobBackupsOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ListSearchJobBackupsCommandInput;
|
|
110
|
+
output: ListSearchJobBackupsCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
|
|
4
|
+
import { ListSearchJobResultsInput, ListSearchJobResultsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSearchJobResultsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSearchJobResultsCommandInput extends ListSearchJobResultsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSearchJobResultsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSearchJobResultsCommandOutput extends ListSearchJobResultsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSearchJobResultsCommand_base: {
|
|
25
|
+
new (input: ListSearchJobResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListSearchJobResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation returns a list of a specified search job.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BackupSearchClient, ListSearchJobResultsCommand } from "@aws-sdk/client-backupsearch"; // ES Modules import
|
|
35
|
+
* // const { BackupSearchClient, ListSearchJobResultsCommand } = require("@aws-sdk/client-backupsearch"); // CommonJS import
|
|
36
|
+
* const client = new BackupSearchClient(config);
|
|
37
|
+
* const input = { // ListSearchJobResultsInput
|
|
38
|
+
* SearchJobIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListSearchJobResultsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListSearchJobResultsOutput
|
|
45
|
+
* // Results: [ // Results // required
|
|
46
|
+
* // { // ResultItem Union: only one key present
|
|
47
|
+
* // S3ResultItem: { // S3ResultItem
|
|
48
|
+
* // BackupResourceArn: "STRING_VALUE",
|
|
49
|
+
* // SourceResourceArn: "STRING_VALUE",
|
|
50
|
+
* // BackupVaultName: "STRING_VALUE",
|
|
51
|
+
* // ObjectKey: "STRING_VALUE",
|
|
52
|
+
* // ObjectSize: Number("long"),
|
|
53
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // ETag: "STRING_VALUE",
|
|
55
|
+
* // VersionId: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // EBSResultItem: { // EBSResultItem
|
|
58
|
+
* // BackupResourceArn: "STRING_VALUE",
|
|
59
|
+
* // SourceResourceArn: "STRING_VALUE",
|
|
60
|
+
* // BackupVaultName: "STRING_VALUE",
|
|
61
|
+
* // FileSystemIdentifier: "STRING_VALUE",
|
|
62
|
+
* // FilePath: "STRING_VALUE",
|
|
63
|
+
* // FileSize: Number("long"),
|
|
64
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
65
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // NextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListSearchJobResultsCommandInput - {@link ListSearchJobResultsCommandInput}
|
|
75
|
+
* @returns {@link ListSearchJobResultsCommandOutput}
|
|
76
|
+
* @see {@link ListSearchJobResultsCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListSearchJobResultsCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The resource was not found for this request.</p>
|
|
82
|
+
* <p>Confirm the resource information, such as the ARN or type is correct
|
|
83
|
+
* and exists, then retry the request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The request was denied due to request throttling.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link BackupSearchServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from BackupSearch service.</p>
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListSearchJobResultsCommand extends ListSearchJobResultsCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: ListSearchJobResultsInput;
|
|
107
|
+
output: ListSearchJobResultsOutput;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: ListSearchJobResultsCommandInput;
|
|
111
|
+
output: ListSearchJobResultsCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
|
|
4
|
+
import { ListSearchJobsInput, ListSearchJobsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSearchJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSearchJobsCommandInput extends ListSearchJobsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSearchJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSearchJobsCommandOutput extends ListSearchJobsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSearchJobsCommand_base: {
|
|
25
|
+
new (input: ListSearchJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSearchJobsCommandInput, ListSearchJobsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListSearchJobsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListSearchJobsCommandInput, ListSearchJobsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation returns a list of search jobs belonging
|
|
31
|
+
* to an account.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { BackupSearchClient, ListSearchJobsCommand } from "@aws-sdk/client-backupsearch"; // ES Modules import
|
|
36
|
+
* // const { BackupSearchClient, ListSearchJobsCommand } = require("@aws-sdk/client-backupsearch"); // CommonJS import
|
|
37
|
+
* const client = new BackupSearchClient(config);
|
|
38
|
+
* const input = { // ListSearchJobsInput
|
|
39
|
+
* ByStatus: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "FAILED",
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListSearchJobsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListSearchJobsOutput
|
|
46
|
+
* // SearchJobs: [ // SearchJobs // required
|
|
47
|
+
* // { // SearchJobSummary
|
|
48
|
+
* // SearchJobIdentifier: "STRING_VALUE",
|
|
49
|
+
* // SearchJobArn: "STRING_VALUE",
|
|
50
|
+
* // Name: "STRING_VALUE",
|
|
51
|
+
* // Status: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "FAILED",
|
|
52
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // CompletionTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // SearchScopeSummary: { // SearchScopeSummary
|
|
55
|
+
* // TotalRecoveryPointsToScanCount: Number("int"),
|
|
56
|
+
* // TotalItemsToScanCount: Number("long"),
|
|
57
|
+
* // },
|
|
58
|
+
* // StatusMessage: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // NextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListSearchJobsCommandInput - {@link ListSearchJobsCommandInput}
|
|
67
|
+
* @returns {@link ListSearchJobsCommandOutput}
|
|
68
|
+
* @see {@link ListSearchJobsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListSearchJobsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link BackupSearchServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from BackupSearch service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListSearchJobsCommand extends ListSearchJobsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListSearchJobsInput;
|
|
94
|
+
output: ListSearchJobsOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListSearchJobsCommandInput;
|
|
98
|
+
output: ListSearchJobsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|