@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,1535 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BackupSearchServiceException as __BaseException } from "./BackupSearchServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>This filters by recovery points within the CreatedAfter
|
|
17
|
+
* and CreatedBefore timestamps.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface BackupCreationTimeFilter {
|
|
21
|
+
/**
|
|
22
|
+
* <p>This timestamp includes recovery points only
|
|
23
|
+
* created after the specified time.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
CreatedAfter?: Date | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>This timestamp includes recovery points only
|
|
29
|
+
* created before the specified time.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
CreatedBefore?: Date | undefined;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>This exception occurs when a conflict with a previous successful
|
|
36
|
+
* operation is detected. This generally occurs when the previous
|
|
37
|
+
* operation did not have time to propagate to the host serving the
|
|
38
|
+
* current request.</p>
|
|
39
|
+
* <p>A retry (with appropriate backoff logic) is the recommended
|
|
40
|
+
* response to this exception.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ConflictException extends __BaseException {
|
|
44
|
+
readonly name: "ConflictException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* <p>Identifier of the resource affected.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
resourceId: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Type of the resource affected.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
resourceType: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class InternalServerException extends __BaseException {
|
|
66
|
+
readonly name: "InternalServerException";
|
|
67
|
+
readonly $fault: "server";
|
|
68
|
+
$retryable: {};
|
|
69
|
+
/**
|
|
70
|
+
* <p>Retry the call after number of seconds.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
retryAfterSeconds?: number | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export interface ListSearchJobBackupsInput {
|
|
83
|
+
/**
|
|
84
|
+
* <p>The unique string that specifies the search job.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
SearchJobIdentifier: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The next item following a partial list of returned backups
|
|
90
|
+
* included in a search job.</p>
|
|
91
|
+
* <p>For example, if a request
|
|
92
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
93
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
94
|
+
* next token.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
NextToken?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The maximum number of resource list items to be returned.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
MaxResults?: number | undefined;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @enum
|
|
107
|
+
*/
|
|
108
|
+
export declare const ResourceType: {
|
|
109
|
+
readonly EBS: "EBS";
|
|
110
|
+
readonly S3: "S3";
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* @enum
|
|
119
|
+
*/
|
|
120
|
+
export declare const SearchJobState: {
|
|
121
|
+
readonly COMPLETED: "COMPLETED";
|
|
122
|
+
readonly FAILED: "FAILED";
|
|
123
|
+
readonly RUNNING: "RUNNING";
|
|
124
|
+
readonly STOPPED: "STOPPED";
|
|
125
|
+
readonly STOPPING: "STOPPING";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type SearchJobState = (typeof SearchJobState)[keyof typeof SearchJobState];
|
|
131
|
+
/**
|
|
132
|
+
* <p>This contains the information about recovery
|
|
133
|
+
* points returned in results of a search job.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export interface SearchJobBackupsResult {
|
|
137
|
+
/**
|
|
138
|
+
* <p>This is the status of the search job backup result.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
Status?: SearchJobState | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>This is the status message included with the results.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
StatusMessage?: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>This is the resource type of the search.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
ResourceType?: ResourceType | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
154
|
+
* the backup resources.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
BackupResourceArn?: string | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
160
|
+
* the source resources.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
SourceResourceArn?: string | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* <p>This is the creation time of the backup index.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
IndexCreationTime?: Date | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>This is the creation time of the backup (recovery point).</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
BackupCreationTime?: Date | undefined;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export interface ListSearchJobBackupsOutput {
|
|
179
|
+
/**
|
|
180
|
+
* <p>The recovery points returned the results of a
|
|
181
|
+
* search job</p>
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
Results: SearchJobBackupsResult[] | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* <p>The next item following a partial list of returned backups
|
|
187
|
+
* included in a search job.</p>
|
|
188
|
+
* <p>For example, if a request
|
|
189
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
190
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
191
|
+
* next token.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
NextToken?: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* <p>The resource was not found for this request.</p>
|
|
198
|
+
* <p>Confirm the resource information, such as the ARN or type is correct
|
|
199
|
+
* and exists, then retry the request.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
203
|
+
readonly name: "ResourceNotFoundException";
|
|
204
|
+
readonly $fault: "client";
|
|
205
|
+
/**
|
|
206
|
+
* <p>Hypothetical identifier of the resource affected.</p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
resourceId: string | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* <p>Hypothetical type of the resource affected.</p>
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
resourceType: string | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* @internal
|
|
217
|
+
*/
|
|
218
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* <p>The request was denied due to request throttling.</p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export declare class ThrottlingException extends __BaseException {
|
|
225
|
+
readonly name: "ThrottlingException";
|
|
226
|
+
readonly $fault: "client";
|
|
227
|
+
$retryable: {
|
|
228
|
+
throttling: boolean;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* <p>This is the code unique to the originating service.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
serviceCode?: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* <p>This is the code unique to the originating service with the quota.</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
quotaCode?: string | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* <p>Retry the call after number of seconds.</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
retryAfterSeconds?: number | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* @internal
|
|
247
|
+
*/
|
|
248
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
export declare class ValidationException extends __BaseException {
|
|
255
|
+
readonly name: "ValidationException";
|
|
256
|
+
readonly $fault: "client";
|
|
257
|
+
/**
|
|
258
|
+
* @internal
|
|
259
|
+
*/
|
|
260
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export interface ListSearchJobResultsInput {
|
|
266
|
+
/**
|
|
267
|
+
* <p>The unique string that specifies the search job.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
SearchJobIdentifier: string | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>The next item following a partial list of returned
|
|
273
|
+
* search job results.</p>
|
|
274
|
+
* <p>For example, if a request
|
|
275
|
+
* is made to return <code>MaxResults</code> number of
|
|
276
|
+
* search job results, <code>NextToken</code>
|
|
277
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
278
|
+
* next token.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
NextToken?: string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>The maximum number of resource list items to be returned.</p>
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
MaxResults?: number | undefined;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* <p>These are the items returned in the results of
|
|
290
|
+
* a search of Amazon EBS backup metadata.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
export interface EBSResultItem {
|
|
294
|
+
/**
|
|
295
|
+
* <p>These are one or more items in the
|
|
296
|
+
* results that match values for the Amazon Resource
|
|
297
|
+
* Name (ARN) of recovery points returned in a search
|
|
298
|
+
* of Amazon EBS backup metadata.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
BackupResourceArn?: string | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* <p>These are one or more items in the
|
|
304
|
+
* results that match values for the Amazon Resource
|
|
305
|
+
* Name (ARN) of source resources returned in a search
|
|
306
|
+
* of Amazon EBS backup metadata.</p>
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
SourceResourceArn?: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* <p>The name of the backup vault.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
BackupVaultName?: string | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* <p>These are one or more items in the
|
|
317
|
+
* results that match values for file systems returned
|
|
318
|
+
* in a search of Amazon EBS backup metadata.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
FileSystemIdentifier?: string | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* <p>These are one or more items in the
|
|
324
|
+
* results that match values for file paths returned
|
|
325
|
+
* in a search of Amazon EBS backup metadata.</p>
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
FilePath?: string | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* <p>These are one or more items in the
|
|
331
|
+
* results that match values for file sizes returned
|
|
332
|
+
* in a search of Amazon EBS backup metadata.</p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
FileSize?: number | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p>These are one or more items in the
|
|
338
|
+
* results that match values for creation times returned
|
|
339
|
+
* in a search of Amazon EBS backup metadata.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
CreationTime?: Date | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>These are one or more items in the
|
|
345
|
+
* results that match values for Last Modified Time returned
|
|
346
|
+
* in a search of Amazon EBS backup metadata.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
LastModifiedTime?: Date | undefined;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* <p>These are the items returned in the results of
|
|
353
|
+
* a search of Amazon S3 backup metadata.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
export interface S3ResultItem {
|
|
357
|
+
/**
|
|
358
|
+
* <p>These are items in the returned results that match
|
|
359
|
+
* recovery point Amazon Resource Names (ARN) input during
|
|
360
|
+
* a search of Amazon S3 backup metadata.</p>
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
363
|
+
BackupResourceArn?: string | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* <p>These are items in the returned results that match
|
|
366
|
+
* source Amazon Resource Names (ARN) input during
|
|
367
|
+
* a search of Amazon S3 backup metadata.</p>
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
SourceResourceArn?: string | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* <p>The name of the backup vault.</p>
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
BackupVaultName?: string | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* <p>This is one or more items
|
|
378
|
+
* returned in the results of a search of Amazon S3
|
|
379
|
+
* backup metadata that match the values input for
|
|
380
|
+
* object key.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
ObjectKey?: string | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* <p>These are items in the returned results that match
|
|
386
|
+
* values for object size(s) input during a search of
|
|
387
|
+
* Amazon S3 backup metadata.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
ObjectSize?: number | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* <p>These are one or more items in the returned results
|
|
393
|
+
* that match values for item creation time input during
|
|
394
|
+
* a search of Amazon S3 backup metadata.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
CreationTime?: Date | undefined;
|
|
398
|
+
/**
|
|
399
|
+
* <p>These are one or more items in the returned results
|
|
400
|
+
* that match values for ETags input during
|
|
401
|
+
* a search of Amazon S3 backup metadata.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
ETag?: string | undefined;
|
|
405
|
+
/**
|
|
406
|
+
* <p>These are one or more items in the returned results
|
|
407
|
+
* that match values for version IDs input during
|
|
408
|
+
* a search of Amazon S3 backup metadata.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
VersionId?: string | undefined;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* <p>This is an object representing the item
|
|
415
|
+
* returned in the results of a search for a specific
|
|
416
|
+
* resource type.</p>
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
export type ResultItem = ResultItem.EBSResultItemMember | ResultItem.S3ResultItemMember | ResultItem.$UnknownMember;
|
|
420
|
+
/**
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
export declare namespace ResultItem {
|
|
424
|
+
/**
|
|
425
|
+
* <p>These are items returned in the search results
|
|
426
|
+
* of an Amazon S3 search.</p>
|
|
427
|
+
* @public
|
|
428
|
+
*/
|
|
429
|
+
interface S3ResultItemMember {
|
|
430
|
+
S3ResultItem: S3ResultItem;
|
|
431
|
+
EBSResultItem?: never;
|
|
432
|
+
$unknown?: never;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* <p>These are items returned in the search results
|
|
436
|
+
* of an Amazon EBS search.</p>
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
interface EBSResultItemMember {
|
|
440
|
+
S3ResultItem?: never;
|
|
441
|
+
EBSResultItem: EBSResultItem;
|
|
442
|
+
$unknown?: never;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
interface $UnknownMember {
|
|
448
|
+
S3ResultItem?: never;
|
|
449
|
+
EBSResultItem?: never;
|
|
450
|
+
$unknown: [string, any];
|
|
451
|
+
}
|
|
452
|
+
interface Visitor<T> {
|
|
453
|
+
S3ResultItem: (value: S3ResultItem) => T;
|
|
454
|
+
EBSResultItem: (value: EBSResultItem) => T;
|
|
455
|
+
_: (name: string, value: any) => T;
|
|
456
|
+
}
|
|
457
|
+
const visit: <T>(value: ResultItem, visitor: Visitor<T>) => T;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
export interface ListSearchJobResultsOutput {
|
|
463
|
+
/**
|
|
464
|
+
* <p>The results consist of either EBSResultItem or S3ResultItem.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
Results: ResultItem[] | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* <p>The next item following a partial list of
|
|
470
|
+
* search job results.</p>
|
|
471
|
+
* <p>For example, if a request
|
|
472
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
473
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
474
|
+
* next token.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
NextToken?: string | undefined;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
export interface ListTagsForResourceRequest {
|
|
483
|
+
/**
|
|
484
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
485
|
+
* the resource.></p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
ResourceArn: string | undefined;
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
export interface ListTagsForResourceResponse {
|
|
494
|
+
/**
|
|
495
|
+
* <p>List of tags returned by the operation.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
Tags?: Record<string, string> | undefined;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* <p>This contains information results retrieved from
|
|
502
|
+
* a search job that may not have completed.</p>
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
505
|
+
export interface CurrentSearchProgress {
|
|
506
|
+
/**
|
|
507
|
+
* <p>This number is the sum of all backups that
|
|
508
|
+
* have been scanned so far during a search job.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
RecoveryPointsScannedCount?: number | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* <p>This number is the sum of all items that
|
|
514
|
+
* have been scanned so far during a search job.</p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
ItemsScannedCount?: number | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* <p>This number is the sum of all items that match
|
|
520
|
+
* the item filters in a search job in progress.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
ItemsMatchedCount?: number | undefined;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
export interface GetSearchJobInput {
|
|
529
|
+
/**
|
|
530
|
+
* <p>Required unique string that specifies the
|
|
531
|
+
* search job.</p>
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
SearchJobIdentifier: string | undefined;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* @public
|
|
538
|
+
* @enum
|
|
539
|
+
*/
|
|
540
|
+
export declare const TimeConditionOperator: {
|
|
541
|
+
readonly EQUALS_TO: "EQUALS_TO";
|
|
542
|
+
readonly GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO";
|
|
543
|
+
readonly LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO";
|
|
544
|
+
readonly NOT_EQUALS_TO: "NOT_EQUALS_TO";
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
export type TimeConditionOperator = (typeof TimeConditionOperator)[keyof typeof TimeConditionOperator];
|
|
550
|
+
/**
|
|
551
|
+
* <p>A time condition denotes a creation time, last modification time,
|
|
552
|
+
* or other time.</p>
|
|
553
|
+
* @public
|
|
554
|
+
*/
|
|
555
|
+
export interface TimeCondition {
|
|
556
|
+
/**
|
|
557
|
+
* <p>This is the timestamp value of the time condition.</p>
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
Value: Date | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>A string that defines what values will be
|
|
563
|
+
* returned.</p>
|
|
564
|
+
* <p>If this is included, avoid combinations of
|
|
565
|
+
* operators that will return all possible values.
|
|
566
|
+
* For example, including both <code>EQUALS_TO</code>
|
|
567
|
+
* and <code>NOT_EQUALS_TO</code> with a value of <code>4</code>
|
|
568
|
+
* will return all values.</p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
Operator?: TimeConditionOperator | undefined;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* @public
|
|
575
|
+
* @enum
|
|
576
|
+
*/
|
|
577
|
+
export declare const StringConditionOperator: {
|
|
578
|
+
readonly BEGINS_WITH: "BEGINS_WITH";
|
|
579
|
+
readonly CONTAINS: "CONTAINS";
|
|
580
|
+
readonly DOES_NOT_BEGIN_WITH: "DOES_NOT_BEGIN_WITH";
|
|
581
|
+
readonly DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN";
|
|
582
|
+
readonly DOES_NOT_END_WITH: "DOES_NOT_END_WITH";
|
|
583
|
+
readonly ENDS_WITH: "ENDS_WITH";
|
|
584
|
+
readonly EQUALS_TO: "EQUALS_TO";
|
|
585
|
+
readonly NOT_EQUALS_TO: "NOT_EQUALS_TO";
|
|
586
|
+
};
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
export type StringConditionOperator = (typeof StringConditionOperator)[keyof typeof StringConditionOperator];
|
|
591
|
+
/**
|
|
592
|
+
* <p>This contains the value of the string and can contain
|
|
593
|
+
* one or more operators.</p>
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
export interface StringCondition {
|
|
597
|
+
/**
|
|
598
|
+
* <p>The value of the string.</p>
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
Value: string | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* <p>A string that defines what values will be
|
|
604
|
+
* returned.</p>
|
|
605
|
+
* <p>If this is included, avoid combinations of
|
|
606
|
+
* operators that will return all possible values.
|
|
607
|
+
* For example, including both <code>EQUALS_TO</code>
|
|
608
|
+
* and <code>NOT_EQUALS_TO</code> with a value of <code>4</code>
|
|
609
|
+
* will return all values.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
Operator?: StringConditionOperator | undefined;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
* @enum
|
|
617
|
+
*/
|
|
618
|
+
export declare const LongConditionOperator: {
|
|
619
|
+
readonly EQUALS_TO: "EQUALS_TO";
|
|
620
|
+
readonly GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO";
|
|
621
|
+
readonly LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO";
|
|
622
|
+
readonly NOT_EQUALS_TO: "NOT_EQUALS_TO";
|
|
623
|
+
};
|
|
624
|
+
/**
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
export type LongConditionOperator = (typeof LongConditionOperator)[keyof typeof LongConditionOperator];
|
|
628
|
+
/**
|
|
629
|
+
* <p>The long condition contains a <code>Value</code>
|
|
630
|
+
* and can optionally contain an <code>Operator</code>.</p>
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
export interface LongCondition {
|
|
634
|
+
/**
|
|
635
|
+
* <p>The value of an item included in one of the search
|
|
636
|
+
* item filters.</p>
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
Value: number | undefined;
|
|
640
|
+
/**
|
|
641
|
+
* <p>A string that defines what values will be
|
|
642
|
+
* returned.</p>
|
|
643
|
+
* <p>If this is included, avoid combinations of
|
|
644
|
+
* operators that will return all possible values.
|
|
645
|
+
* For example, including both <code>EQUALS_TO</code>
|
|
646
|
+
* and <code>NOT_EQUALS_TO</code> with a value of <code>4</code>
|
|
647
|
+
* will return all values.</p>
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
Operator?: LongConditionOperator | undefined;
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* <p>This contains arrays of objects, which may include
|
|
654
|
+
* CreationTimes time condition objects, FilePaths
|
|
655
|
+
* string objects, LastModificationTimes time
|
|
656
|
+
* condition objects, </p>
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
export interface EBSItemFilter {
|
|
660
|
+
/**
|
|
661
|
+
* <p>You can include 1 to 10 values.</p>
|
|
662
|
+
* <p>If one file path is included, the results will
|
|
663
|
+
* return only items that match the file path.</p>
|
|
664
|
+
* <p>If more than one file path is included, the
|
|
665
|
+
* results will return all items that match any of the
|
|
666
|
+
* file paths.</p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
FilePaths?: StringCondition[] | undefined;
|
|
670
|
+
/**
|
|
671
|
+
* <p>You can include 1 to 10 values.</p>
|
|
672
|
+
* <p>If one is included, the results will
|
|
673
|
+
* return only items that match.</p>
|
|
674
|
+
* <p>If more than one is included, the
|
|
675
|
+
* results will return all items that match any of
|
|
676
|
+
* the included values.</p>
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
679
|
+
Sizes?: LongCondition[] | undefined;
|
|
680
|
+
/**
|
|
681
|
+
* <p>You can include 1 to 10 values.</p>
|
|
682
|
+
* <p>If one is included, the results will
|
|
683
|
+
* return only items that match.</p>
|
|
684
|
+
* <p>If more than one is included, the
|
|
685
|
+
* results will return all items that match any of
|
|
686
|
+
* the included values.</p>
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
CreationTimes?: TimeCondition[] | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* <p>You can include 1 to 10 values.</p>
|
|
692
|
+
* <p>If one is included, the results will
|
|
693
|
+
* return only items that match.</p>
|
|
694
|
+
* <p>If more than one is included, the
|
|
695
|
+
* results will return all items that match any of
|
|
696
|
+
* the included values.</p>
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
699
|
+
LastModificationTimes?: TimeCondition[] | undefined;
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* <p>This contains arrays of objects, which may include
|
|
703
|
+
* ObjectKeys, Sizes, CreationTimes, VersionIds, and/or
|
|
704
|
+
* Etags.</p>
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
export interface S3ItemFilter {
|
|
708
|
+
/**
|
|
709
|
+
* <p>You can include 1 to 10 values.</p>
|
|
710
|
+
* <p>If one value is included, the results will
|
|
711
|
+
* return only items that match the value.</p>
|
|
712
|
+
* <p>If more than one value is included, the
|
|
713
|
+
* results will return all items that match any of the
|
|
714
|
+
* values.</p>
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
ObjectKeys?: StringCondition[] | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* <p>You can include 1 to 10 values.</p>
|
|
720
|
+
* <p>If one value is included, the results will
|
|
721
|
+
* return only items that match the value.</p>
|
|
722
|
+
* <p>If more than one value is included, the
|
|
723
|
+
* results will return all items that match any of the
|
|
724
|
+
* values.</p>
|
|
725
|
+
* @public
|
|
726
|
+
*/
|
|
727
|
+
Sizes?: LongCondition[] | undefined;
|
|
728
|
+
/**
|
|
729
|
+
* <p>You can include 1 to 10 values.</p>
|
|
730
|
+
* <p>If one value is included, the results will
|
|
731
|
+
* return only items that match the value.</p>
|
|
732
|
+
* <p>If more than one value is included, the
|
|
733
|
+
* results will return all items that match any of the
|
|
734
|
+
* values.</p>
|
|
735
|
+
* @public
|
|
736
|
+
*/
|
|
737
|
+
CreationTimes?: TimeCondition[] | undefined;
|
|
738
|
+
/**
|
|
739
|
+
* <p>You can include 1 to 10 values.</p>
|
|
740
|
+
* <p>If one value is included, the results will
|
|
741
|
+
* return only items that match the value.</p>
|
|
742
|
+
* <p>If more than one value is included, the
|
|
743
|
+
* results will return all items that match any of the
|
|
744
|
+
* values.</p>
|
|
745
|
+
* @public
|
|
746
|
+
*/
|
|
747
|
+
VersionIds?: StringCondition[] | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* <p>You can include 1 to 10 values.</p>
|
|
750
|
+
* <p>If one value is included, the results will
|
|
751
|
+
* return only items that match the value.</p>
|
|
752
|
+
* <p>If more than one value is included, the
|
|
753
|
+
* results will return all items that match any of the
|
|
754
|
+
* values.</p>
|
|
755
|
+
* @public
|
|
756
|
+
*/
|
|
757
|
+
ETags?: StringCondition[] | undefined;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* <p>Item Filters represent all input item
|
|
761
|
+
* properties specified when the search was
|
|
762
|
+
* created.</p>
|
|
763
|
+
* <p>Contains either EBSItemFilters or
|
|
764
|
+
* S3ItemFilters</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
export interface ItemFilters {
|
|
768
|
+
/**
|
|
769
|
+
* <p>This array can contain CreationTimes, ETags,
|
|
770
|
+
* ObjectKeys, Sizes, or VersionIds objects.</p>
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
S3ItemFilters?: S3ItemFilter[] | undefined;
|
|
774
|
+
/**
|
|
775
|
+
* <p>This array can contain CreationTimes,
|
|
776
|
+
* FilePaths, LastModificationTimes, or Sizes objects.</p>
|
|
777
|
+
* @public
|
|
778
|
+
*/
|
|
779
|
+
EBSItemFilters?: EBSItemFilter[] | undefined;
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* <p>The search scope is all backup
|
|
783
|
+
* properties input into a search.</p>
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
export interface SearchScope {
|
|
787
|
+
/**
|
|
788
|
+
* <p>The resource types included in a search.</p>
|
|
789
|
+
* <p>Eligible resource types include S3 and EBS.</p>
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
BackupResourceTypes: ResourceType[] | undefined;
|
|
793
|
+
/**
|
|
794
|
+
* <p>This is the time a backup resource was created.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
BackupResourceCreationTime?: BackupCreationTimeFilter | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
800
|
+
* the source resources.</p>
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
SourceResourceArns?: string[] | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
806
|
+
* the backup resources.</p>
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
BackupResourceArns?: string[] | undefined;
|
|
810
|
+
/**
|
|
811
|
+
* <p>These are one or more tags on the backup (recovery
|
|
812
|
+
* point).</p>
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
BackupResourceTags?: Record<string, string> | undefined;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* <p>The summary of the specified search job scope,
|
|
819
|
+
* including:
|
|
820
|
+
* </p>
|
|
821
|
+
* <ul>
|
|
822
|
+
* <li>
|
|
823
|
+
* <p>TotalBackupsToScanCount, the number of
|
|
824
|
+
* recovery points returned by the search.</p>
|
|
825
|
+
* </li>
|
|
826
|
+
* <li>
|
|
827
|
+
* <p>TotalItemsToScanCount, the number of
|
|
828
|
+
* items returned by the search.</p>
|
|
829
|
+
* </li>
|
|
830
|
+
* </ul>
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
export interface SearchScopeSummary {
|
|
834
|
+
/**
|
|
835
|
+
* <p>This is the count of the total number of backups
|
|
836
|
+
* that will be scanned in a search.</p>
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
TotalRecoveryPointsToScanCount?: number | undefined;
|
|
840
|
+
/**
|
|
841
|
+
* <p>This is the count of the total number of items
|
|
842
|
+
* that will be scanned in a search.</p>
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
845
|
+
TotalItemsToScanCount?: number | undefined;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* @public
|
|
849
|
+
*/
|
|
850
|
+
export interface GetSearchJobOutput {
|
|
851
|
+
/**
|
|
852
|
+
* <p>Returned name of the specified search job.</p>
|
|
853
|
+
* @public
|
|
854
|
+
*/
|
|
855
|
+
Name?: string | undefined;
|
|
856
|
+
/**
|
|
857
|
+
* <p>Returned summary of the specified search job scope,
|
|
858
|
+
* including:
|
|
859
|
+
* </p>
|
|
860
|
+
* <ul>
|
|
861
|
+
* <li>
|
|
862
|
+
* <p>TotalBackupsToScanCount, the number of
|
|
863
|
+
* recovery points returned by the search.</p>
|
|
864
|
+
* </li>
|
|
865
|
+
* <li>
|
|
866
|
+
* <p>TotalItemsToScanCount, the number of
|
|
867
|
+
* items returned by the search.</p>
|
|
868
|
+
* </li>
|
|
869
|
+
* </ul>
|
|
870
|
+
* @public
|
|
871
|
+
*/
|
|
872
|
+
SearchScopeSummary?: SearchScopeSummary | undefined;
|
|
873
|
+
/**
|
|
874
|
+
* <p>Returns numbers representing BackupsScannedCount,
|
|
875
|
+
* ItemsScanned, and ItemsMatched.</p>
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
CurrentSearchProgress?: CurrentSearchProgress | undefined;
|
|
879
|
+
/**
|
|
880
|
+
* <p>A status message will be returned for either a
|
|
881
|
+
* earch job with a status of <code>ERRORED</code> or a status of
|
|
882
|
+
* <code>COMPLETED</code> jobs with issues.</p>
|
|
883
|
+
* <p>For example, a message may say that a search
|
|
884
|
+
* contained recovery points unable to be scanned because
|
|
885
|
+
* of a permissions issue.</p>
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
StatusMessage?: string | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* <p>The encryption key for the specified
|
|
891
|
+
* search job.</p>
|
|
892
|
+
* <p>Example: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
895
|
+
EncryptionKeyArn?: string | undefined;
|
|
896
|
+
/**
|
|
897
|
+
* <p>The date and time that a search job completed, in Unix format and Coordinated
|
|
898
|
+
* Universal Time (UTC). The value of <code>CompletionTime</code> is accurate to milliseconds.
|
|
899
|
+
* For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
|
|
900
|
+
* AM.</p>
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
903
|
+
CompletionTime?: Date | undefined;
|
|
904
|
+
/**
|
|
905
|
+
* <p>The current status of the specified search job.</p>
|
|
906
|
+
* <p>A search job may have one of the following statuses:
|
|
907
|
+
* <code>RUNNING</code>; <code>COMPLETED</code>; <code>STOPPED</code>;
|
|
908
|
+
* <code>FAILED</code>; <code>TIMED_OUT</code>; or <code>EXPIRED</code>
|
|
909
|
+
* .</p>
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
Status: SearchJobState | undefined;
|
|
913
|
+
/**
|
|
914
|
+
* <p>The search scope is all backup
|
|
915
|
+
* properties input into a search.</p>
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
SearchScope: SearchScope | undefined;
|
|
919
|
+
/**
|
|
920
|
+
* <p>Item Filters represent all input item
|
|
921
|
+
* properties specified when the search was
|
|
922
|
+
* created.</p>
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
925
|
+
ItemFilters: ItemFilters | undefined;
|
|
926
|
+
/**
|
|
927
|
+
* <p>The date and time that a search job was created, in Unix format and Coordinated
|
|
928
|
+
* Universal Time (UTC). The value of <code>CompletionTime</code> is accurate to milliseconds.
|
|
929
|
+
* For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
|
|
930
|
+
* AM.</p>
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
933
|
+
CreationTime: Date | undefined;
|
|
934
|
+
/**
|
|
935
|
+
* <p>The unique string that identifies the specified search job.</p>
|
|
936
|
+
* @public
|
|
937
|
+
*/
|
|
938
|
+
SearchJobIdentifier: string | undefined;
|
|
939
|
+
/**
|
|
940
|
+
* <p>The unique string that identifies the Amazon Resource
|
|
941
|
+
* Name (ARN) of the specified search job.</p>
|
|
942
|
+
* @public
|
|
943
|
+
*/
|
|
944
|
+
SearchJobArn: string | undefined;
|
|
945
|
+
}
|
|
946
|
+
/**
|
|
947
|
+
* @public
|
|
948
|
+
*/
|
|
949
|
+
export interface ListSearchJobsInput {
|
|
950
|
+
/**
|
|
951
|
+
* <p>Include this parameter to filter list by search
|
|
952
|
+
* job status.</p>
|
|
953
|
+
* @public
|
|
954
|
+
*/
|
|
955
|
+
ByStatus?: SearchJobState | undefined;
|
|
956
|
+
/**
|
|
957
|
+
* <p>The next item following a partial list of returned
|
|
958
|
+
* search jobs.</p>
|
|
959
|
+
* <p>For example, if a request
|
|
960
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
961
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
962
|
+
* next token.</p>
|
|
963
|
+
* @public
|
|
964
|
+
*/
|
|
965
|
+
NextToken?: string | undefined;
|
|
966
|
+
/**
|
|
967
|
+
* <p>The maximum number of resource list items to be returned.</p>
|
|
968
|
+
* @public
|
|
969
|
+
*/
|
|
970
|
+
MaxResults?: number | undefined;
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* <p>This is information pertaining to a search job.</p>
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
976
|
+
export interface SearchJobSummary {
|
|
977
|
+
/**
|
|
978
|
+
* <p>The unique string that specifies the search job.</p>
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
981
|
+
SearchJobIdentifier?: string | undefined;
|
|
982
|
+
/**
|
|
983
|
+
* <p>The unique string that identifies the Amazon Resource
|
|
984
|
+
* Name (ARN) of the specified search job.</p>
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
SearchJobArn?: string | undefined;
|
|
988
|
+
/**
|
|
989
|
+
* <p>This is the name of the search job.</p>
|
|
990
|
+
* @public
|
|
991
|
+
*/
|
|
992
|
+
Name?: string | undefined;
|
|
993
|
+
/**
|
|
994
|
+
* <p>This is the status of the search job.</p>
|
|
995
|
+
* @public
|
|
996
|
+
*/
|
|
997
|
+
Status?: SearchJobState | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* <p>This is the creation time of the search job.</p>
|
|
1000
|
+
* @public
|
|
1001
|
+
*/
|
|
1002
|
+
CreationTime?: Date | undefined;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>This is the completion time of the search job.</p>
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
CompletionTime?: Date | undefined;
|
|
1008
|
+
/**
|
|
1009
|
+
* <p>Returned summary of the specified search job scope,
|
|
1010
|
+
* including:
|
|
1011
|
+
* </p>
|
|
1012
|
+
* <ul>
|
|
1013
|
+
* <li>
|
|
1014
|
+
* <p>TotalBackupsToScanCount, the number of
|
|
1015
|
+
* recovery points returned by the search.</p>
|
|
1016
|
+
* </li>
|
|
1017
|
+
* <li>
|
|
1018
|
+
* <p>TotalItemsToScanCount, the number of
|
|
1019
|
+
* items returned by the search.</p>
|
|
1020
|
+
* </li>
|
|
1021
|
+
* </ul>
|
|
1022
|
+
* @public
|
|
1023
|
+
*/
|
|
1024
|
+
SearchScopeSummary?: SearchScopeSummary | undefined;
|
|
1025
|
+
/**
|
|
1026
|
+
* <p>A status message will be returned for either a
|
|
1027
|
+
* earch job with a status of <code>ERRORED</code> or a status of
|
|
1028
|
+
* <code>COMPLETED</code> jobs with issues.</p>
|
|
1029
|
+
* <p>For example, a message may say that a search
|
|
1030
|
+
* contained recovery points unable to be scanned because
|
|
1031
|
+
* of a permissions issue.</p>
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
1034
|
+
StatusMessage?: string | undefined;
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
1039
|
+
export interface ListSearchJobsOutput {
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>The search jobs among the list, with details of
|
|
1042
|
+
* the returned search jobs.</p>
|
|
1043
|
+
* @public
|
|
1044
|
+
*/
|
|
1045
|
+
SearchJobs: SearchJobSummary[] | undefined;
|
|
1046
|
+
/**
|
|
1047
|
+
* <p>The next item following a partial list of returned backups
|
|
1048
|
+
* included in a search job.</p>
|
|
1049
|
+
* <p>For example, if a request
|
|
1050
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
1051
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
1052
|
+
* next token.</p>
|
|
1053
|
+
* @public
|
|
1054
|
+
*/
|
|
1055
|
+
NextToken?: string | undefined;
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>The request denied due to exceeding the quota limits permitted.</p>
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1062
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1063
|
+
readonly $fault: "client";
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>Identifier of the resource.</p>
|
|
1066
|
+
* @public
|
|
1067
|
+
*/
|
|
1068
|
+
resourceId: string | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* <p>Type of resource.</p>
|
|
1071
|
+
* @public
|
|
1072
|
+
*/
|
|
1073
|
+
resourceType: string | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* <p>This is the code unique to the originating service with the quota.</p>
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
serviceCode: string | undefined;
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>This is the code specific to the quota type.</p>
|
|
1081
|
+
* @public
|
|
1082
|
+
*/
|
|
1083
|
+
quotaCode: string | undefined;
|
|
1084
|
+
/**
|
|
1085
|
+
* @internal
|
|
1086
|
+
*/
|
|
1087
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* @public
|
|
1091
|
+
*/
|
|
1092
|
+
export interface StartSearchJobInput {
|
|
1093
|
+
/**
|
|
1094
|
+
* <p>List of tags returned by the operation.</p>
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
Tags?: Record<string, string> | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>Include alphanumeric characters to create a
|
|
1100
|
+
* name for this search job.</p>
|
|
1101
|
+
* @public
|
|
1102
|
+
*/
|
|
1103
|
+
Name?: string | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* <p>The encryption key for the specified
|
|
1106
|
+
* search job.</p>
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
EncryptionKeyArn?: string | undefined;
|
|
1110
|
+
/**
|
|
1111
|
+
* <p>Include this parameter to allow multiple identical
|
|
1112
|
+
* calls for idempotency.</p>
|
|
1113
|
+
* <p>A client token is valid for 8 hours after the first
|
|
1114
|
+
* request that uses it is completed. After this time,
|
|
1115
|
+
* any request with the same token is treated as a
|
|
1116
|
+
* new request.</p>
|
|
1117
|
+
* @public
|
|
1118
|
+
*/
|
|
1119
|
+
ClientToken?: string | undefined;
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>This object can contain BackupResourceTypes,
|
|
1122
|
+
* BackupResourceArns, BackupResourceCreationTime,
|
|
1123
|
+
* BackupResourceTags, and SourceResourceArns to
|
|
1124
|
+
* filter the recovery points returned by the search
|
|
1125
|
+
* job.</p>
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
1128
|
+
SearchScope: SearchScope | undefined;
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>Item Filters represent all input item
|
|
1131
|
+
* properties specified when the search was
|
|
1132
|
+
* created.</p>
|
|
1133
|
+
* <p>Contains either EBSItemFilters or
|
|
1134
|
+
* S3ItemFilters</p>
|
|
1135
|
+
* @public
|
|
1136
|
+
*/
|
|
1137
|
+
ItemFilters?: ItemFilters | undefined;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @public
|
|
1141
|
+
*/
|
|
1142
|
+
export interface StartSearchJobOutput {
|
|
1143
|
+
/**
|
|
1144
|
+
* <p>The unique string that identifies the Amazon Resource
|
|
1145
|
+
* Name (ARN) of the specified search job.</p>
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
SearchJobArn?: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>The date and time that a job was created, in Unix format and Coordinated
|
|
1151
|
+
* Universal Time (UTC). The value of <code>CompletionTime</code> is accurate to milliseconds.
|
|
1152
|
+
* For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
|
|
1153
|
+
* AM.</p>
|
|
1154
|
+
* @public
|
|
1155
|
+
*/
|
|
1156
|
+
CreationTime?: Date | undefined;
|
|
1157
|
+
/**
|
|
1158
|
+
* <p>The unique string that specifies the search job.</p>
|
|
1159
|
+
* @public
|
|
1160
|
+
*/
|
|
1161
|
+
SearchJobIdentifier?: string | undefined;
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* @public
|
|
1165
|
+
*/
|
|
1166
|
+
export interface StopSearchJobInput {
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>The unique string that specifies the search job.</p>
|
|
1169
|
+
* @public
|
|
1170
|
+
*/
|
|
1171
|
+
SearchJobIdentifier: string | undefined;
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* @public
|
|
1175
|
+
*/
|
|
1176
|
+
export interface StopSearchJobOutput {
|
|
1177
|
+
}
|
|
1178
|
+
/**
|
|
1179
|
+
* @public
|
|
1180
|
+
* @enum
|
|
1181
|
+
*/
|
|
1182
|
+
export declare const ExportJobStatus: {
|
|
1183
|
+
readonly COMPLETED: "COMPLETED";
|
|
1184
|
+
readonly FAILED: "FAILED";
|
|
1185
|
+
readonly RUNNING: "RUNNING";
|
|
1186
|
+
};
|
|
1187
|
+
/**
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
export type ExportJobStatus = (typeof ExportJobStatus)[keyof typeof ExportJobStatus];
|
|
1191
|
+
/**
|
|
1192
|
+
* <p>This specification contains a required string of the
|
|
1193
|
+
* destination bucket; optionally, you can include the
|
|
1194
|
+
* destination prefix.</p>
|
|
1195
|
+
* @public
|
|
1196
|
+
*/
|
|
1197
|
+
export interface S3ExportSpecification {
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>This specifies the destination Amazon S3
|
|
1200
|
+
* bucket for the export job.</p>
|
|
1201
|
+
* @public
|
|
1202
|
+
*/
|
|
1203
|
+
DestinationBucket: string | undefined;
|
|
1204
|
+
/**
|
|
1205
|
+
* <p>This specifies the prefix for the destination
|
|
1206
|
+
* Amazon S3 bucket for the export job.</p>
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
DestinationPrefix?: string | undefined;
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* <p>This contains the export specification object.</p>
|
|
1213
|
+
* @public
|
|
1214
|
+
*/
|
|
1215
|
+
export type ExportSpecification = ExportSpecification.S3ExportSpecificationMember | ExportSpecification.$UnknownMember;
|
|
1216
|
+
/**
|
|
1217
|
+
* @public
|
|
1218
|
+
*/
|
|
1219
|
+
export declare namespace ExportSpecification {
|
|
1220
|
+
/**
|
|
1221
|
+
* <p>This specifies the destination Amazon S3
|
|
1222
|
+
* bucket for the export job. And, if included, it also
|
|
1223
|
+
* specifies the destination prefix.</p>
|
|
1224
|
+
* @public
|
|
1225
|
+
*/
|
|
1226
|
+
interface S3ExportSpecificationMember {
|
|
1227
|
+
s3ExportSpecification: S3ExportSpecification;
|
|
1228
|
+
$unknown?: never;
|
|
1229
|
+
}
|
|
1230
|
+
/**
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
interface $UnknownMember {
|
|
1234
|
+
s3ExportSpecification?: never;
|
|
1235
|
+
$unknown: [string, any];
|
|
1236
|
+
}
|
|
1237
|
+
interface Visitor<T> {
|
|
1238
|
+
s3ExportSpecification: (value: S3ExportSpecification) => T;
|
|
1239
|
+
_: (name: string, value: any) => T;
|
|
1240
|
+
}
|
|
1241
|
+
const visit: <T>(value: ExportSpecification, visitor: Visitor<T>) => T;
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* @public
|
|
1245
|
+
*/
|
|
1246
|
+
export interface GetSearchResultExportJobInput {
|
|
1247
|
+
/**
|
|
1248
|
+
* <p>This is the unique string that identifies a
|
|
1249
|
+
* specific export job.</p>
|
|
1250
|
+
* <p>Required for this operation.</p>
|
|
1251
|
+
* @public
|
|
1252
|
+
*/
|
|
1253
|
+
ExportJobIdentifier: string | undefined;
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
export interface GetSearchResultExportJobOutput {
|
|
1259
|
+
/**
|
|
1260
|
+
* <p>This is the unique string that identifies the
|
|
1261
|
+
* specified export job.</p>
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1264
|
+
ExportJobIdentifier: string | undefined;
|
|
1265
|
+
/**
|
|
1266
|
+
* <p>The unique Amazon Resource Name (ARN) that uniquely identifies
|
|
1267
|
+
* the export job.</p>
|
|
1268
|
+
* @public
|
|
1269
|
+
*/
|
|
1270
|
+
ExportJobArn?: string | undefined;
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>This is the current status of the export job.</p>
|
|
1273
|
+
* @public
|
|
1274
|
+
*/
|
|
1275
|
+
Status?: ExportJobStatus | undefined;
|
|
1276
|
+
/**
|
|
1277
|
+
* <p>The date and time that an export job was created, in Unix format and Coordinated Universal
|
|
1278
|
+
* Time (UTC). The value of <code>CreationTime</code> is accurate to milliseconds. For
|
|
1279
|
+
* example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
|
|
1280
|
+
* AM.</p>
|
|
1281
|
+
* @public
|
|
1282
|
+
*/
|
|
1283
|
+
CreationTime?: Date | undefined;
|
|
1284
|
+
/**
|
|
1285
|
+
* <p>The date and time that an export job completed, in Unix format and Coordinated Universal
|
|
1286
|
+
* Time (UTC). The value of <code>CreationTime</code> is accurate to milliseconds. For
|
|
1287
|
+
* example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
|
|
1288
|
+
* AM.</p>
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
CompletionTime?: Date | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>A status message is a string that is returned for search job
|
|
1294
|
+
* with a status of <code>FAILED</code>, along with steps to remedy
|
|
1295
|
+
* and retry the operation.</p>
|
|
1296
|
+
* @public
|
|
1297
|
+
*/
|
|
1298
|
+
StatusMessage?: string | undefined;
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>The export specification consists of the destination
|
|
1301
|
+
* S3 bucket to which the search results were exported, along
|
|
1302
|
+
* with the destination prefix.</p>
|
|
1303
|
+
* @public
|
|
1304
|
+
*/
|
|
1305
|
+
ExportSpecification?: ExportSpecification | undefined;
|
|
1306
|
+
/**
|
|
1307
|
+
* <p>The unique string that identifies the Amazon Resource
|
|
1308
|
+
* Name (ARN) of the specified search job.</p>
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
SearchJobArn?: string | undefined;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* @public
|
|
1315
|
+
*/
|
|
1316
|
+
export interface ListSearchResultExportJobsInput {
|
|
1317
|
+
/**
|
|
1318
|
+
* <p>The search jobs to be included in the export job
|
|
1319
|
+
* can be filtered by including this parameter.</p>
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
Status?: ExportJobStatus | undefined;
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>The unique string that specifies the search job.</p>
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
SearchJobIdentifier?: string | undefined;
|
|
1328
|
+
/**
|
|
1329
|
+
* <p>The next item following a partial list of returned backups
|
|
1330
|
+
* included in a search job.</p>
|
|
1331
|
+
* <p>For example, if a request
|
|
1332
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
1333
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
1334
|
+
* next token.</p>
|
|
1335
|
+
* @public
|
|
1336
|
+
*/
|
|
1337
|
+
NextToken?: string | undefined;
|
|
1338
|
+
/**
|
|
1339
|
+
* <p>The maximum number of resource list items to be returned.</p>
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
MaxResults?: number | undefined;
|
|
1343
|
+
}
|
|
1344
|
+
/**
|
|
1345
|
+
* <p>This is the summary of an export job.</p>
|
|
1346
|
+
* @public
|
|
1347
|
+
*/
|
|
1348
|
+
export interface ExportJobSummary {
|
|
1349
|
+
/**
|
|
1350
|
+
* <p>This is the unique string that identifies a
|
|
1351
|
+
* specific export job.</p>
|
|
1352
|
+
* @public
|
|
1353
|
+
*/
|
|
1354
|
+
ExportJobIdentifier: string | undefined;
|
|
1355
|
+
/**
|
|
1356
|
+
* <p>This is the unique ARN (Amazon Resource Name) that
|
|
1357
|
+
* belongs to the new export job.</p>
|
|
1358
|
+
* @public
|
|
1359
|
+
*/
|
|
1360
|
+
ExportJobArn?: string | undefined;
|
|
1361
|
+
/**
|
|
1362
|
+
* <p>The status of the export job is one of the
|
|
1363
|
+
* following:</p>
|
|
1364
|
+
* <p>
|
|
1365
|
+
* <code>CREATED</code>; <code>RUNNING</code>;
|
|
1366
|
+
* <code>FAILED</code>; or <code>COMPLETED</code>.</p>
|
|
1367
|
+
* @public
|
|
1368
|
+
*/
|
|
1369
|
+
Status?: ExportJobStatus | undefined;
|
|
1370
|
+
/**
|
|
1371
|
+
* <p>This is a timestamp of the time the export job
|
|
1372
|
+
* was created.</p>
|
|
1373
|
+
* @public
|
|
1374
|
+
*/
|
|
1375
|
+
CreationTime?: Date | undefined;
|
|
1376
|
+
/**
|
|
1377
|
+
* <p>This is a timestamp of the time the export job
|
|
1378
|
+
* compeleted.</p>
|
|
1379
|
+
* @public
|
|
1380
|
+
*/
|
|
1381
|
+
CompletionTime?: Date | undefined;
|
|
1382
|
+
/**
|
|
1383
|
+
* <p>A status message is a string that is returned for an export
|
|
1384
|
+
* job.</p>
|
|
1385
|
+
* <p>A status message is included for any status other
|
|
1386
|
+
* than <code>COMPLETED</code> without issues.</p>
|
|
1387
|
+
* @public
|
|
1388
|
+
*/
|
|
1389
|
+
StatusMessage?: string | undefined;
|
|
1390
|
+
/**
|
|
1391
|
+
* <p>The unique string that identifies the Amazon Resource
|
|
1392
|
+
* Name (ARN) of the specified search job.</p>
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
SearchJobArn?: string | undefined;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* @public
|
|
1399
|
+
*/
|
|
1400
|
+
export interface ListSearchResultExportJobsOutput {
|
|
1401
|
+
/**
|
|
1402
|
+
* <p>The operation returns the included export jobs.</p>
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
ExportJobs: ExportJobSummary[] | undefined;
|
|
1406
|
+
/**
|
|
1407
|
+
* <p>The next item following a partial list of returned backups
|
|
1408
|
+
* included in a search job.</p>
|
|
1409
|
+
* <p>For example, if a request
|
|
1410
|
+
* is made to return <code>MaxResults</code> number of backups, <code>NextToken</code>
|
|
1411
|
+
* allows you to return more items in your list starting at the location pointed to by the
|
|
1412
|
+
* next token.</p>
|
|
1413
|
+
* @public
|
|
1414
|
+
*/
|
|
1415
|
+
NextToken?: string | undefined;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* @public
|
|
1419
|
+
*/
|
|
1420
|
+
export interface StartSearchResultExportJobInput {
|
|
1421
|
+
/**
|
|
1422
|
+
* <p>The unique string that specifies the search job.</p>
|
|
1423
|
+
* @public
|
|
1424
|
+
*/
|
|
1425
|
+
SearchJobIdentifier: string | undefined;
|
|
1426
|
+
/**
|
|
1427
|
+
* <p>This specification contains a required string of the
|
|
1428
|
+
* destination bucket; optionally, you can include the
|
|
1429
|
+
* destination prefix.</p>
|
|
1430
|
+
* @public
|
|
1431
|
+
*/
|
|
1432
|
+
ExportSpecification: ExportSpecification | undefined;
|
|
1433
|
+
/**
|
|
1434
|
+
* <p>Include this parameter to allow multiple identical
|
|
1435
|
+
* calls for idempotency.</p>
|
|
1436
|
+
* <p>A client token is valid for 8 hours after the first
|
|
1437
|
+
* request that uses it is completed. After this time,
|
|
1438
|
+
* any request with the same token is treated as a
|
|
1439
|
+
* new request.</p>
|
|
1440
|
+
* @public
|
|
1441
|
+
*/
|
|
1442
|
+
ClientToken?: string | undefined;
|
|
1443
|
+
/**
|
|
1444
|
+
* <p>Optional tags to include. A tag is a key-value pair you can use to manage,
|
|
1445
|
+
* filter, and search for your resources. Allowed characters include UTF-8 letters,
|
|
1446
|
+
* numbers, spaces, and the following characters: + - = . _ : /. </p>
|
|
1447
|
+
* @public
|
|
1448
|
+
*/
|
|
1449
|
+
Tags?: Record<string, string> | undefined;
|
|
1450
|
+
/**
|
|
1451
|
+
* <p>This parameter specifies the role ARN used to start
|
|
1452
|
+
* the search results export jobs.</p>
|
|
1453
|
+
* @public
|
|
1454
|
+
*/
|
|
1455
|
+
RoleArn?: string | undefined;
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* @public
|
|
1459
|
+
*/
|
|
1460
|
+
export interface StartSearchResultExportJobOutput {
|
|
1461
|
+
/**
|
|
1462
|
+
* <p>This is the unique ARN (Amazon Resource Name) that
|
|
1463
|
+
* belongs to the new export job.</p>
|
|
1464
|
+
* @public
|
|
1465
|
+
*/
|
|
1466
|
+
ExportJobArn?: string | undefined;
|
|
1467
|
+
/**
|
|
1468
|
+
* <p>This is the unique identifier that
|
|
1469
|
+
* specifies the new export job.</p>
|
|
1470
|
+
* @public
|
|
1471
|
+
*/
|
|
1472
|
+
ExportJobIdentifier: string | undefined;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* @public
|
|
1476
|
+
*/
|
|
1477
|
+
export interface TagResourceRequest {
|
|
1478
|
+
/**
|
|
1479
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
1480
|
+
* the resource.</p>
|
|
1481
|
+
* <p>This is the resource that will have the indicated tags.</p>
|
|
1482
|
+
* @public
|
|
1483
|
+
*/
|
|
1484
|
+
ResourceArn: string | undefined;
|
|
1485
|
+
/**
|
|
1486
|
+
* <p>Required tags to include. A tag is a key-value pair you can use to manage,
|
|
1487
|
+
* filter, and search for your resources. Allowed characters include UTF-8 letters,
|
|
1488
|
+
* numbers, spaces, and the following characters: + - = . _ : /. </p>
|
|
1489
|
+
* @public
|
|
1490
|
+
*/
|
|
1491
|
+
Tags: Record<string, string> | undefined;
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* @public
|
|
1495
|
+
*/
|
|
1496
|
+
export interface TagResourceResponse {
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
export interface UntagResourceRequest {
|
|
1502
|
+
/**
|
|
1503
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies
|
|
1504
|
+
* the resource where you want to remove tags.</p>
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
ResourceArn: string | undefined;
|
|
1508
|
+
/**
|
|
1509
|
+
* <p>This required parameter contains the tag keys you
|
|
1510
|
+
* want to remove from the source.</p>
|
|
1511
|
+
* @public
|
|
1512
|
+
*/
|
|
1513
|
+
TagKeys: string[] | undefined;
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* @public
|
|
1517
|
+
*/
|
|
1518
|
+
export interface UntagResourceResponse {
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* @internal
|
|
1522
|
+
*/
|
|
1523
|
+
export declare const EBSResultItemFilterSensitiveLog: (obj: EBSResultItem) => any;
|
|
1524
|
+
/**
|
|
1525
|
+
* @internal
|
|
1526
|
+
*/
|
|
1527
|
+
export declare const S3ResultItemFilterSensitiveLog: (obj: S3ResultItem) => any;
|
|
1528
|
+
/**
|
|
1529
|
+
* @internal
|
|
1530
|
+
*/
|
|
1531
|
+
export declare const ResultItemFilterSensitiveLog: (obj: ResultItem) => any;
|
|
1532
|
+
/**
|
|
1533
|
+
* @internal
|
|
1534
|
+
*/
|
|
1535
|
+
export declare const ListSearchJobResultsOutputFilterSensitiveLog: (obj: ListSearchJobResultsOutput) => any;
|