@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,14 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
7
|
+
});
|
|
8
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
10
|
+
endpointParams: endpointParams,
|
|
11
|
+
logger: context.logger,
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const l = "ref";
|
|
2
|
+
const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: {}, headers: {} }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://backup-search-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }, { endpoint: { url: "https://backup-search.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class BackupSearchServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, BackupSearchServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { BackupSearchServiceException as __BaseException } from "./BackupSearchServiceException";
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export class ConflictException extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "ConflictException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts,
|
|
21
|
+
});
|
|
22
|
+
this.name = "ConflictException";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
25
|
+
this.resourceId = opts.resourceId;
|
|
26
|
+
this.resourceType = opts.resourceType;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export class InternalServerException extends __BaseException {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "InternalServerException",
|
|
33
|
+
$fault: "server",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
this.name = "InternalServerException";
|
|
37
|
+
this.$fault = "server";
|
|
38
|
+
this.$retryable = {};
|
|
39
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
40
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export const ResourceType = {
|
|
44
|
+
EBS: "EBS",
|
|
45
|
+
S3: "S3",
|
|
46
|
+
};
|
|
47
|
+
export const SearchJobState = {
|
|
48
|
+
COMPLETED: "COMPLETED",
|
|
49
|
+
FAILED: "FAILED",
|
|
50
|
+
RUNNING: "RUNNING",
|
|
51
|
+
STOPPED: "STOPPED",
|
|
52
|
+
STOPPING: "STOPPING",
|
|
53
|
+
};
|
|
54
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ResourceNotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
this.name = "ResourceNotFoundException";
|
|
62
|
+
this.$fault = "client";
|
|
63
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
64
|
+
this.resourceId = opts.resourceId;
|
|
65
|
+
this.resourceType = opts.resourceType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export class ThrottlingException extends __BaseException {
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ThrottlingException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
this.name = "ThrottlingException";
|
|
76
|
+
this.$fault = "client";
|
|
77
|
+
this.$retryable = {
|
|
78
|
+
throttling: true,
|
|
79
|
+
};
|
|
80
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
81
|
+
this.serviceCode = opts.serviceCode;
|
|
82
|
+
this.quotaCode = opts.quotaCode;
|
|
83
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ValidationException extends __BaseException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ValidationException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export var ResultItem;
|
|
99
|
+
(function (ResultItem) {
|
|
100
|
+
ResultItem.visit = (value, visitor) => {
|
|
101
|
+
if (value.S3ResultItem !== undefined)
|
|
102
|
+
return visitor.S3ResultItem(value.S3ResultItem);
|
|
103
|
+
if (value.EBSResultItem !== undefined)
|
|
104
|
+
return visitor.EBSResultItem(value.EBSResultItem);
|
|
105
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
106
|
+
};
|
|
107
|
+
})(ResultItem || (ResultItem = {}));
|
|
108
|
+
export const TimeConditionOperator = {
|
|
109
|
+
EQUALS_TO: "EQUALS_TO",
|
|
110
|
+
GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",
|
|
111
|
+
LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",
|
|
112
|
+
NOT_EQUALS_TO: "NOT_EQUALS_TO",
|
|
113
|
+
};
|
|
114
|
+
export const StringConditionOperator = {
|
|
115
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
116
|
+
CONTAINS: "CONTAINS",
|
|
117
|
+
DOES_NOT_BEGIN_WITH: "DOES_NOT_BEGIN_WITH",
|
|
118
|
+
DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN",
|
|
119
|
+
DOES_NOT_END_WITH: "DOES_NOT_END_WITH",
|
|
120
|
+
ENDS_WITH: "ENDS_WITH",
|
|
121
|
+
EQUALS_TO: "EQUALS_TO",
|
|
122
|
+
NOT_EQUALS_TO: "NOT_EQUALS_TO",
|
|
123
|
+
};
|
|
124
|
+
export const LongConditionOperator = {
|
|
125
|
+
EQUALS_TO: "EQUALS_TO",
|
|
126
|
+
GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",
|
|
127
|
+
LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",
|
|
128
|
+
NOT_EQUALS_TO: "NOT_EQUALS_TO",
|
|
129
|
+
};
|
|
130
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "ServiceQuotaExceededException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
this.name = "ServiceQuotaExceededException";
|
|
138
|
+
this.$fault = "client";
|
|
139
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
140
|
+
this.resourceId = opts.resourceId;
|
|
141
|
+
this.resourceType = opts.resourceType;
|
|
142
|
+
this.serviceCode = opts.serviceCode;
|
|
143
|
+
this.quotaCode = opts.quotaCode;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export const ExportJobStatus = {
|
|
147
|
+
COMPLETED: "COMPLETED",
|
|
148
|
+
FAILED: "FAILED",
|
|
149
|
+
RUNNING: "RUNNING",
|
|
150
|
+
};
|
|
151
|
+
export var ExportSpecification;
|
|
152
|
+
(function (ExportSpecification) {
|
|
153
|
+
ExportSpecification.visit = (value, visitor) => {
|
|
154
|
+
if (value.s3ExportSpecification !== undefined)
|
|
155
|
+
return visitor.s3ExportSpecification(value.s3ExportSpecification);
|
|
156
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
157
|
+
};
|
|
158
|
+
})(ExportSpecification || (ExportSpecification = {}));
|
|
159
|
+
export const EBSResultItemFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
...(obj.FilePath && { FilePath: SENSITIVE_STRING }),
|
|
162
|
+
});
|
|
163
|
+
export const S3ResultItemFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
...(obj.ObjectKey && { ObjectKey: SENSITIVE_STRING }),
|
|
166
|
+
});
|
|
167
|
+
export const ResultItemFilterSensitiveLog = (obj) => {
|
|
168
|
+
if (obj.S3ResultItem !== undefined)
|
|
169
|
+
return { S3ResultItem: S3ResultItemFilterSensitiveLog(obj.S3ResultItem) };
|
|
170
|
+
if (obj.EBSResultItem !== undefined)
|
|
171
|
+
return { EBSResultItem: EBSResultItemFilterSensitiveLog(obj.EBSResultItem) };
|
|
172
|
+
if (obj.$unknown !== undefined)
|
|
173
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
174
|
+
};
|
|
175
|
+
export const ListSearchJobResultsOutputFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
...(obj.Results && { Results: obj.Results.map((item) => ResultItemFilterSensitiveLog(item)) }),
|
|
178
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupSearchClient } from "../BackupSearchClient";
|
|
3
|
+
import { ListSearchJobBackupsCommand, } from "../commands/ListSearchJobBackupsCommand";
|
|
4
|
+
export const paginateListSearchJobBackups = createPaginator(BackupSearchClient, ListSearchJobBackupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupSearchClient } from "../BackupSearchClient";
|
|
3
|
+
import { ListSearchJobResultsCommand, } from "../commands/ListSearchJobResultsCommand";
|
|
4
|
+
export const paginateListSearchJobResults = createPaginator(BackupSearchClient, ListSearchJobResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupSearchClient } from "../BackupSearchClient";
|
|
3
|
+
import { ListSearchJobsCommand, } from "../commands/ListSearchJobsCommand";
|
|
4
|
+
export const paginateListSearchJobs = createPaginator(BackupSearchClient, ListSearchJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupSearchClient } from "../BackupSearchClient";
|
|
3
|
+
import { ListSearchResultExportJobsCommand, } from "../commands/ListSearchResultExportJobsCommand";
|
|
4
|
+
export const paginateListSearchResultExportJobs = createPaginator(BackupSearchClient, ListSearchResultExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|