@aws-sdk/client-backupsearch 3.891.0 → 3.894.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/dist-cjs/index.js +1500 -10
- package/package.json +19 -19
- package/dist-cjs/BackupSearch.js +0 -35
- package/dist-cjs/BackupSearchClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/GetSearchJobCommand.js +0 -26
- package/dist-cjs/commands/GetSearchResultExportJobCommand.js +0 -26
- package/dist-cjs/commands/ListSearchJobBackupsCommand.js +0 -26
- package/dist-cjs/commands/ListSearchJobResultsCommand.js +0 -27
- package/dist-cjs/commands/ListSearchJobsCommand.js +0 -26
- package/dist-cjs/commands/ListSearchResultExportJobsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/StartSearchJobCommand.js +0 -26
- package/dist-cjs/commands/StartSearchResultExportJobCommand.js +0 -26
- package/dist-cjs/commands/StopSearchJobCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -15
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BackupSearchServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -204
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListSearchJobBackupsPaginator.js +0 -7
- package/dist-cjs/pagination/ListSearchJobResultsPaginator.js +0 -7
- package/dist-cjs/pagination/ListSearchJobsPaginator.js +0 -7
- package/dist-cjs/pagination/ListSearchResultExportJobsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -8
- package/dist-cjs/protocols/Aws_restJson1.js +0 -780
- package/dist-cjs/runtimeExtensions.js +0 -13
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListSearchJobResultsOutputFilterSensitiveLog = exports.ResultItemFilterSensitiveLog = exports.S3ResultItemFilterSensitiveLog = exports.EBSResultItemFilterSensitiveLog = exports.ExportSpecification = exports.ExportJobStatus = exports.ServiceQuotaExceededException = exports.LongConditionOperator = exports.StringConditionOperator = exports.TimeConditionOperator = exports.ResultItem = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.SearchJobState = exports.ResourceType = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const BackupSearchServiceException_1 = require("./BackupSearchServiceException");
|
|
6
|
-
class AccessDeniedException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
7
|
-
name = "AccessDeniedException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "AccessDeniedException",
|
|
12
|
-
$fault: "client",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
class ConflictException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
20
|
-
name = "ConflictException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
resourceId;
|
|
23
|
-
resourceType;
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "ConflictException",
|
|
27
|
-
$fault: "client",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
-
this.resourceId = opts.resourceId;
|
|
32
|
-
this.resourceType = opts.resourceType;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.ConflictException = ConflictException;
|
|
36
|
-
class InternalServerException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
37
|
-
name = "InternalServerException";
|
|
38
|
-
$fault = "server";
|
|
39
|
-
$retryable = {};
|
|
40
|
-
retryAfterSeconds;
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "InternalServerException",
|
|
44
|
-
$fault: "server",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
48
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.InternalServerException = InternalServerException;
|
|
52
|
-
exports.ResourceType = {
|
|
53
|
-
EBS: "EBS",
|
|
54
|
-
S3: "S3",
|
|
55
|
-
};
|
|
56
|
-
exports.SearchJobState = {
|
|
57
|
-
COMPLETED: "COMPLETED",
|
|
58
|
-
FAILED: "FAILED",
|
|
59
|
-
RUNNING: "RUNNING",
|
|
60
|
-
STOPPED: "STOPPED",
|
|
61
|
-
STOPPING: "STOPPING",
|
|
62
|
-
};
|
|
63
|
-
class ResourceNotFoundException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
64
|
-
name = "ResourceNotFoundException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
resourceId;
|
|
67
|
-
resourceType;
|
|
68
|
-
constructor(opts) {
|
|
69
|
-
super({
|
|
70
|
-
name: "ResourceNotFoundException",
|
|
71
|
-
$fault: "client",
|
|
72
|
-
...opts,
|
|
73
|
-
});
|
|
74
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
75
|
-
this.resourceId = opts.resourceId;
|
|
76
|
-
this.resourceType = opts.resourceType;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
80
|
-
class ThrottlingException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
81
|
-
name = "ThrottlingException";
|
|
82
|
-
$fault = "client";
|
|
83
|
-
$retryable = {
|
|
84
|
-
throttling: true,
|
|
85
|
-
};
|
|
86
|
-
serviceCode;
|
|
87
|
-
quotaCode;
|
|
88
|
-
retryAfterSeconds;
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ThrottlingException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
96
|
-
this.serviceCode = opts.serviceCode;
|
|
97
|
-
this.quotaCode = opts.quotaCode;
|
|
98
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
exports.ThrottlingException = ThrottlingException;
|
|
102
|
-
class ValidationException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
103
|
-
name = "ValidationException";
|
|
104
|
-
$fault = "client";
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "ValidationException",
|
|
108
|
-
$fault: "client",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
exports.ValidationException = ValidationException;
|
|
115
|
-
var ResultItem;
|
|
116
|
-
(function (ResultItem) {
|
|
117
|
-
ResultItem.visit = (value, visitor) => {
|
|
118
|
-
if (value.S3ResultItem !== undefined)
|
|
119
|
-
return visitor.S3ResultItem(value.S3ResultItem);
|
|
120
|
-
if (value.EBSResultItem !== undefined)
|
|
121
|
-
return visitor.EBSResultItem(value.EBSResultItem);
|
|
122
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
123
|
-
};
|
|
124
|
-
})(ResultItem || (exports.ResultItem = ResultItem = {}));
|
|
125
|
-
exports.TimeConditionOperator = {
|
|
126
|
-
EQUALS_TO: "EQUALS_TO",
|
|
127
|
-
GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",
|
|
128
|
-
LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",
|
|
129
|
-
NOT_EQUALS_TO: "NOT_EQUALS_TO",
|
|
130
|
-
};
|
|
131
|
-
exports.StringConditionOperator = {
|
|
132
|
-
BEGINS_WITH: "BEGINS_WITH",
|
|
133
|
-
CONTAINS: "CONTAINS",
|
|
134
|
-
DOES_NOT_BEGIN_WITH: "DOES_NOT_BEGIN_WITH",
|
|
135
|
-
DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN",
|
|
136
|
-
DOES_NOT_END_WITH: "DOES_NOT_END_WITH",
|
|
137
|
-
ENDS_WITH: "ENDS_WITH",
|
|
138
|
-
EQUALS_TO: "EQUALS_TO",
|
|
139
|
-
NOT_EQUALS_TO: "NOT_EQUALS_TO",
|
|
140
|
-
};
|
|
141
|
-
exports.LongConditionOperator = {
|
|
142
|
-
EQUALS_TO: "EQUALS_TO",
|
|
143
|
-
GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",
|
|
144
|
-
LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",
|
|
145
|
-
NOT_EQUALS_TO: "NOT_EQUALS_TO",
|
|
146
|
-
};
|
|
147
|
-
class ServiceQuotaExceededException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
148
|
-
name = "ServiceQuotaExceededException";
|
|
149
|
-
$fault = "client";
|
|
150
|
-
resourceId;
|
|
151
|
-
resourceType;
|
|
152
|
-
serviceCode;
|
|
153
|
-
quotaCode;
|
|
154
|
-
constructor(opts) {
|
|
155
|
-
super({
|
|
156
|
-
name: "ServiceQuotaExceededException",
|
|
157
|
-
$fault: "client",
|
|
158
|
-
...opts,
|
|
159
|
-
});
|
|
160
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
161
|
-
this.resourceId = opts.resourceId;
|
|
162
|
-
this.resourceType = opts.resourceType;
|
|
163
|
-
this.serviceCode = opts.serviceCode;
|
|
164
|
-
this.quotaCode = opts.quotaCode;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
168
|
-
exports.ExportJobStatus = {
|
|
169
|
-
COMPLETED: "COMPLETED",
|
|
170
|
-
FAILED: "FAILED",
|
|
171
|
-
RUNNING: "RUNNING",
|
|
172
|
-
};
|
|
173
|
-
var ExportSpecification;
|
|
174
|
-
(function (ExportSpecification) {
|
|
175
|
-
ExportSpecification.visit = (value, visitor) => {
|
|
176
|
-
if (value.s3ExportSpecification !== undefined)
|
|
177
|
-
return visitor.s3ExportSpecification(value.s3ExportSpecification);
|
|
178
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
179
|
-
};
|
|
180
|
-
})(ExportSpecification || (exports.ExportSpecification = ExportSpecification = {}));
|
|
181
|
-
const EBSResultItemFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.FilePath && { FilePath: smithy_client_1.SENSITIVE_STRING }),
|
|
184
|
-
});
|
|
185
|
-
exports.EBSResultItemFilterSensitiveLog = EBSResultItemFilterSensitiveLog;
|
|
186
|
-
const S3ResultItemFilterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
...(obj.ObjectKey && { ObjectKey: smithy_client_1.SENSITIVE_STRING }),
|
|
189
|
-
});
|
|
190
|
-
exports.S3ResultItemFilterSensitiveLog = S3ResultItemFilterSensitiveLog;
|
|
191
|
-
const ResultItemFilterSensitiveLog = (obj) => {
|
|
192
|
-
if (obj.S3ResultItem !== undefined)
|
|
193
|
-
return { S3ResultItem: (0, exports.S3ResultItemFilterSensitiveLog)(obj.S3ResultItem) };
|
|
194
|
-
if (obj.EBSResultItem !== undefined)
|
|
195
|
-
return { EBSResultItem: (0, exports.EBSResultItemFilterSensitiveLog)(obj.EBSResultItem) };
|
|
196
|
-
if (obj.$unknown !== undefined)
|
|
197
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
198
|
-
};
|
|
199
|
-
exports.ResultItemFilterSensitiveLog = ResultItemFilterSensitiveLog;
|
|
200
|
-
const ListSearchJobResultsOutputFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
...(obj.Results && { Results: obj.Results.map((item) => (0, exports.ResultItemFilterSensitiveLog)(item)) }),
|
|
203
|
-
});
|
|
204
|
-
exports.ListSearchJobResultsOutputFilterSensitiveLog = ListSearchJobResultsOutputFilterSensitiveLog;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSearchJobBackups = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BackupSearchClient_1 = require("../BackupSearchClient");
|
|
6
|
-
const ListSearchJobBackupsCommand_1 = require("../commands/ListSearchJobBackupsCommand");
|
|
7
|
-
exports.paginateListSearchJobBackups = (0, core_1.createPaginator)(BackupSearchClient_1.BackupSearchClient, ListSearchJobBackupsCommand_1.ListSearchJobBackupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSearchJobResults = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BackupSearchClient_1 = require("../BackupSearchClient");
|
|
6
|
-
const ListSearchJobResultsCommand_1 = require("../commands/ListSearchJobResultsCommand");
|
|
7
|
-
exports.paginateListSearchJobResults = (0, core_1.createPaginator)(BackupSearchClient_1.BackupSearchClient, ListSearchJobResultsCommand_1.ListSearchJobResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSearchJobs = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BackupSearchClient_1 = require("../BackupSearchClient");
|
|
6
|
-
const ListSearchJobsCommand_1 = require("../commands/ListSearchJobsCommand");
|
|
7
|
-
exports.paginateListSearchJobs = (0, core_1.createPaginator)(BackupSearchClient_1.BackupSearchClient, ListSearchJobsCommand_1.ListSearchJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSearchResultExportJobs = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BackupSearchClient_1 = require("../BackupSearchClient");
|
|
6
|
-
const ListSearchResultExportJobsCommand_1 = require("../commands/ListSearchResultExportJobsCommand");
|
|
7
|
-
exports.paginateListSearchResultExportJobs = (0, core_1.createPaginator)(BackupSearchClient_1.BackupSearchClient, ListSearchResultExportJobsCommand_1.ListSearchResultExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListSearchJobBackupsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListSearchJobResultsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListSearchJobsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListSearchResultExportJobsPaginator"), exports);
|