@aws-sdk/client-backupsearch 3.987.0 → 3.988.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 +31 -674
- package/dist-cjs/models/BackupSearchServiceException.js +12 -0
- package/dist-cjs/models/errors.js +123 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +488 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +49 -43
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BackupSearchServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class BackupSearchServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, BackupSearchServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.BackupSearchServiceException = BackupSearchServiceException;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const BackupSearchServiceException_1 = require("./BackupSearchServiceException");
|
|
5
|
+
class AccessDeniedException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
resourceType;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServerException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
$retryable = {};
|
|
39
|
+
retryAfterSeconds;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "InternalServerException",
|
|
43
|
+
$fault: "server",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
47
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.InternalServerException = InternalServerException;
|
|
51
|
+
class ResourceNotFoundException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
52
|
+
name = "ResourceNotFoundException";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
resourceId;
|
|
55
|
+
resourceType;
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "ResourceNotFoundException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
63
|
+
this.resourceId = opts.resourceId;
|
|
64
|
+
this.resourceType = opts.resourceType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
68
|
+
class ThrottlingException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
69
|
+
name = "ThrottlingException";
|
|
70
|
+
$fault = "client";
|
|
71
|
+
$retryable = {
|
|
72
|
+
throttling: true,
|
|
73
|
+
};
|
|
74
|
+
serviceCode;
|
|
75
|
+
quotaCode;
|
|
76
|
+
retryAfterSeconds;
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ThrottlingException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
84
|
+
this.serviceCode = opts.serviceCode;
|
|
85
|
+
this.quotaCode = opts.quotaCode;
|
|
86
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.ThrottlingException = ThrottlingException;
|
|
90
|
+
class ValidationException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
91
|
+
name = "ValidationException";
|
|
92
|
+
$fault = "client";
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ValidationException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.ValidationException = ValidationException;
|
|
103
|
+
class ServiceQuotaExceededException extends BackupSearchServiceException_1.BackupSearchServiceException {
|
|
104
|
+
name = "ServiceQuotaExceededException";
|
|
105
|
+
$fault = "client";
|
|
106
|
+
resourceId;
|
|
107
|
+
resourceType;
|
|
108
|
+
serviceCode;
|
|
109
|
+
quotaCode;
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "ServiceQuotaExceededException",
|
|
113
|
+
$fault: "client",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
117
|
+
this.resourceId = opts.resourceId;
|
|
118
|
+
this.resourceType = opts.resourceType;
|
|
119
|
+
this.serviceCode = opts.serviceCode;
|
|
120
|
+
this.quotaCode = opts.quotaCode;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-05-10",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.backupsearch",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-05-10",
|
|
33
35
|
serviceTarget: "CryoBackupSearchService",
|
|
34
36
|
},
|
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExportSpecification$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TimeCondition$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StringCondition$ = exports.StopSearchJobOutput$ = exports.StopSearchJobInput$ = exports.StartSearchResultExportJobOutput$ = exports.StartSearchResultExportJobInput$ = exports.StartSearchJobOutput$ = exports.StartSearchJobInput$ = exports.SearchScopeSummary$ = exports.SearchScope$ = exports.SearchJobSummary$ = exports.SearchJobBackupsResult$ = exports.S3ResultItem$ = exports.S3ItemFilter$ = exports.S3ExportSpecification$ = exports.LongCondition$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSearchResultExportJobsOutput$ = exports.ListSearchResultExportJobsInput$ = exports.ListSearchJobsOutput$ = exports.ListSearchJobsInput$ = exports.ListSearchJobResultsOutput$ = exports.ListSearchJobResultsInput$ = exports.ListSearchJobBackupsOutput$ = exports.ListSearchJobBackupsInput$ = exports.ItemFilters$ = exports.GetSearchResultExportJobOutput$ = exports.GetSearchResultExportJobInput$ = exports.GetSearchJobOutput$ = exports.GetSearchJobInput$ = exports.ExportJobSummary$ = exports.EBSResultItem$ = exports.EBSItemFilter$ = exports.CurrentSearchProgress$ = exports.BackupCreationTimeFilter$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.BackupSearchServiceException$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.StopSearchJob$ = exports.StartSearchResultExportJob$ = exports.StartSearchJob$ = exports.ListTagsForResource$ = exports.ListSearchResultExportJobs$ = exports.ListSearchJobs$ = exports.ListSearchJobResults$ = exports.ListSearchJobBackups$ = exports.GetSearchResultExportJob$ = exports.GetSearchJob$ = exports.ResultItem$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _BCT = "BackupCreationTime";
|
|
7
|
+
const _BCTF = "BackupCreationTimeFilter";
|
|
8
|
+
const _BRA = "BackupResourceArn";
|
|
9
|
+
const _BRAa = "BackupResourceArns";
|
|
10
|
+
const _BRCT = "BackupResourceCreationTime";
|
|
11
|
+
const _BRT = "BackupResourceTypes";
|
|
12
|
+
const _BRTa = "BackupResourceTags";
|
|
13
|
+
const _BS = "ByStatus";
|
|
14
|
+
const _BVN = "BackupVaultName";
|
|
15
|
+
const _CA = "CreatedAfter";
|
|
16
|
+
const _CB = "CreatedBefore";
|
|
17
|
+
const _CE = "ConflictException";
|
|
18
|
+
const _CSP = "CurrentSearchProgress";
|
|
19
|
+
const _CT = "CreationTimes";
|
|
20
|
+
const _CTl = "ClientToken";
|
|
21
|
+
const _CTo = "CompletionTime";
|
|
22
|
+
const _CTr = "CreationTime";
|
|
23
|
+
const _DB = "DestinationBucket";
|
|
24
|
+
const _DP = "DestinationPrefix";
|
|
25
|
+
const _EBSIF = "EBSItemFilter";
|
|
26
|
+
const _EBSIFt = "EBSItemFilters";
|
|
27
|
+
const _EBSRI = "EBSResultItem";
|
|
28
|
+
const _EJ = "ExportJobs";
|
|
29
|
+
const _EJA = "ExportJobArn";
|
|
30
|
+
const _EJI = "ExportJobIdentifier";
|
|
31
|
+
const _EJS = "ExportJobSummary";
|
|
32
|
+
const _EJSx = "ExportJobSummaries";
|
|
33
|
+
const _EKA = "EncryptionKeyArn";
|
|
34
|
+
const _ES = "ExportSpecification";
|
|
35
|
+
const _ET = "ETags";
|
|
36
|
+
const _ETa = "ETag";
|
|
37
|
+
const _FP = "FilePath";
|
|
38
|
+
const _FPi = "FilePaths";
|
|
39
|
+
const _FS = "FileSize";
|
|
40
|
+
const _FSI = "FileSystemIdentifier";
|
|
41
|
+
const _GSJ = "GetSearchJob";
|
|
42
|
+
const _GSJI = "GetSearchJobInput";
|
|
43
|
+
const _GSJO = "GetSearchJobOutput";
|
|
44
|
+
const _GSREJ = "GetSearchResultExportJob";
|
|
45
|
+
const _GSREJI = "GetSearchResultExportJobInput";
|
|
46
|
+
const _GSREJO = "GetSearchResultExportJobOutput";
|
|
47
|
+
const _ICT = "IndexCreationTime";
|
|
48
|
+
const _IF = "ItemFilters";
|
|
49
|
+
const _IMC = "ItemsMatchedCount";
|
|
50
|
+
const _ISC = "ItemsScannedCount";
|
|
51
|
+
const _ISE = "InternalServerException";
|
|
52
|
+
const _LC = "LongCondition";
|
|
53
|
+
const _LCL = "LongConditionList";
|
|
54
|
+
const _LMT = "LastModificationTimes";
|
|
55
|
+
const _LMTa = "LastModifiedTime";
|
|
56
|
+
const _LSJ = "ListSearchJobs";
|
|
57
|
+
const _LSJB = "ListSearchJobBackups";
|
|
58
|
+
const _LSJBI = "ListSearchJobBackupsInput";
|
|
59
|
+
const _LSJBO = "ListSearchJobBackupsOutput";
|
|
60
|
+
const _LSJI = "ListSearchJobsInput";
|
|
61
|
+
const _LSJO = "ListSearchJobsOutput";
|
|
62
|
+
const _LSJR = "ListSearchJobResults";
|
|
63
|
+
const _LSJRI = "ListSearchJobResultsInput";
|
|
64
|
+
const _LSJRO = "ListSearchJobResultsOutput";
|
|
65
|
+
const _LSREJ = "ListSearchResultExportJobs";
|
|
66
|
+
const _LSREJI = "ListSearchResultExportJobsInput";
|
|
67
|
+
const _LSREJO = "ListSearchResultExportJobsOutput";
|
|
68
|
+
const _LTFR = "ListTagsForResource";
|
|
69
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
70
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
71
|
+
const _MR = "MaxResults";
|
|
72
|
+
const _N = "Name";
|
|
73
|
+
const _NT = "NextToken";
|
|
74
|
+
const _O = "Operator";
|
|
75
|
+
const _OK = "ObjectKey";
|
|
76
|
+
const _OKb = "ObjectKeys";
|
|
77
|
+
const _OS = "ObjectSize";
|
|
78
|
+
const _R = "Results";
|
|
79
|
+
const _RA = "Retry-After";
|
|
80
|
+
const _RAe = "ResourceArn";
|
|
81
|
+
const _RAo = "RoleArn";
|
|
82
|
+
const _RI = "ResultItem";
|
|
83
|
+
const _RNFE = "ResourceNotFoundException";
|
|
84
|
+
const _RPSC = "RecoveryPointsScannedCount";
|
|
85
|
+
const _RT = "ResourceType";
|
|
86
|
+
const _S = "Sizes";
|
|
87
|
+
const _SC = "StringCondition";
|
|
88
|
+
const _SCL = "StringConditionList";
|
|
89
|
+
const _SES = "S3ExportSpecification";
|
|
90
|
+
const _SIF = "S3ItemFilters";
|
|
91
|
+
const _SIFt = "S3ItemFilter";
|
|
92
|
+
const _SJ = "SearchJobs";
|
|
93
|
+
const _SJA = "SearchJobArn";
|
|
94
|
+
const _SJBR = "SearchJobBackupsResult";
|
|
95
|
+
const _SJBRe = "SearchJobBackupsResults";
|
|
96
|
+
const _SJI = "SearchJobIdentifier";
|
|
97
|
+
const _SJS = "SearchJobSummary";
|
|
98
|
+
const _SM = "StatusMessage";
|
|
99
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
100
|
+
const _SRA = "SourceResourceArn";
|
|
101
|
+
const _SRAo = "SourceResourceArns";
|
|
102
|
+
const _SRI = "S3ResultItem";
|
|
103
|
+
const _SS = "SearchScope";
|
|
104
|
+
const _SSJ = "StartSearchJob";
|
|
105
|
+
const _SSJI = "StartSearchJobInput";
|
|
106
|
+
const _SSJIt = "StopSearchJobInput";
|
|
107
|
+
const _SSJO = "StartSearchJobOutput";
|
|
108
|
+
const _SSJOt = "StopSearchJobOutput";
|
|
109
|
+
const _SSJt = "StopSearchJob";
|
|
110
|
+
const _SSREJ = "StartSearchResultExportJob";
|
|
111
|
+
const _SSREJI = "StartSearchResultExportJobInput";
|
|
112
|
+
const _SSREJO = "StartSearchResultExportJobOutput";
|
|
113
|
+
const _SSS = "SearchScopeSummary";
|
|
114
|
+
const _St = "Status";
|
|
115
|
+
const _T = "Tags";
|
|
116
|
+
const _TC = "TimeCondition";
|
|
117
|
+
const _TCL = "TimeConditionList";
|
|
118
|
+
const _TE = "ThrottlingException";
|
|
119
|
+
const _TITSC = "TotalItemsToScanCount";
|
|
120
|
+
const _TK = "TagKeys";
|
|
121
|
+
const _TM = "TagMap";
|
|
122
|
+
const _TR = "TagResource";
|
|
123
|
+
const _TRPTSC = "TotalRecoveryPointsToScanCount";
|
|
124
|
+
const _TRR = "TagResourceRequest";
|
|
125
|
+
const _TRRa = "TagResourceResponse";
|
|
126
|
+
const _UR = "UntagResource";
|
|
127
|
+
const _URR = "UntagResourceRequest";
|
|
128
|
+
const _URRn = "UntagResourceResponse";
|
|
129
|
+
const _V = "Value";
|
|
130
|
+
const _VE = "ValidationException";
|
|
131
|
+
const _VI = "VersionIds";
|
|
132
|
+
const _VIe = "VersionId";
|
|
133
|
+
const _c = "client";
|
|
134
|
+
const _e = "error";
|
|
135
|
+
const _h = "http";
|
|
136
|
+
const _hE = "httpError";
|
|
137
|
+
const _hH = "httpHeader";
|
|
138
|
+
const _hQ = "httpQuery";
|
|
139
|
+
const _m = "message";
|
|
140
|
+
const _mR = "maxResults";
|
|
141
|
+
const _nT = "nextToken";
|
|
142
|
+
const _qC = "quotaCode";
|
|
143
|
+
const _rAS = "retryAfterSeconds";
|
|
144
|
+
const _rI = "resourceId";
|
|
145
|
+
const _rT = "resourceType";
|
|
146
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.backupsearch";
|
|
147
|
+
const _sC = "serviceCode";
|
|
148
|
+
const _sES = "s3ExportSpecification";
|
|
149
|
+
const _se = "server";
|
|
150
|
+
const _sp = "sparse";
|
|
151
|
+
const _tK = "tagKeys";
|
|
152
|
+
const n0 = "com.amazonaws.backupsearch";
|
|
153
|
+
const schema_1 = require("@smithy/core/schema");
|
|
154
|
+
const BackupSearchServiceException_1 = require("../models/BackupSearchServiceException");
|
|
155
|
+
const errors_1 = require("../models/errors");
|
|
156
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
157
|
+
exports.BackupSearchServiceException$ = [-3, _s, "BackupSearchServiceException", 0, [], []];
|
|
158
|
+
_s_registry.registerError(exports.BackupSearchServiceException$, BackupSearchServiceException_1.BackupSearchServiceException);
|
|
159
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
160
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
161
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
162
|
+
[_m],
|
|
163
|
+
[0], 1
|
|
164
|
+
];
|
|
165
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
166
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
167
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
168
|
+
[_m, _rI, _rT],
|
|
169
|
+
[0, 0, 0], 3
|
|
170
|
+
];
|
|
171
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
172
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
173
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
174
|
+
[_m, _rAS],
|
|
175
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
176
|
+
];
|
|
177
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
178
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
179
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
180
|
+
[_m, _rI, _rT],
|
|
181
|
+
[0, 0, 0], 3
|
|
182
|
+
];
|
|
183
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
184
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
185
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
186
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
187
|
+
[0, 0, 0, 0, 0], 5
|
|
188
|
+
];
|
|
189
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
190
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
191
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
192
|
+
[_m, _sC, _qC, _rAS],
|
|
193
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
194
|
+
];
|
|
195
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
196
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
197
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
198
|
+
[_m],
|
|
199
|
+
[0], 1
|
|
200
|
+
];
|
|
201
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
202
|
+
exports.errorTypeRegistries = [
|
|
203
|
+
_s_registry,
|
|
204
|
+
n0_registry,
|
|
205
|
+
];
|
|
206
|
+
var FilePath = [0, n0, _FP, 8, 0];
|
|
207
|
+
var ObjectKey = [0, n0, _OK, 8, 0];
|
|
208
|
+
exports.BackupCreationTimeFilter$ = [3, n0, _BCTF,
|
|
209
|
+
0,
|
|
210
|
+
[_CA, _CB],
|
|
211
|
+
[4, 4]
|
|
212
|
+
];
|
|
213
|
+
exports.CurrentSearchProgress$ = [3, n0, _CSP,
|
|
214
|
+
0,
|
|
215
|
+
[_RPSC, _ISC, _IMC],
|
|
216
|
+
[1, 1, 1]
|
|
217
|
+
];
|
|
218
|
+
exports.EBSItemFilter$ = [3, n0, _EBSIF,
|
|
219
|
+
0,
|
|
220
|
+
[_FPi, _S, _CT, _LMT],
|
|
221
|
+
[() => StringConditionList, () => LongConditionList, () => TimeConditionList, () => TimeConditionList]
|
|
222
|
+
];
|
|
223
|
+
exports.EBSResultItem$ = [3, n0, _EBSRI,
|
|
224
|
+
0,
|
|
225
|
+
[_BRA, _SRA, _BVN, _FSI, _FP, _FS, _CTr, _LMTa],
|
|
226
|
+
[0, 0, 0, 0, [() => FilePath, 0], 1, 4, 4]
|
|
227
|
+
];
|
|
228
|
+
exports.ExportJobSummary$ = [3, n0, _EJS,
|
|
229
|
+
0,
|
|
230
|
+
[_EJI, _EJA, _St, _CTr, _CTo, _SM, _SJA],
|
|
231
|
+
[0, 0, 0, 4, 4, 0, 0], 1
|
|
232
|
+
];
|
|
233
|
+
exports.GetSearchJobInput$ = [3, n0, _GSJI,
|
|
234
|
+
0,
|
|
235
|
+
[_SJI],
|
|
236
|
+
[[0, 1]], 1
|
|
237
|
+
];
|
|
238
|
+
exports.GetSearchJobOutput$ = [3, n0, _GSJO,
|
|
239
|
+
0,
|
|
240
|
+
[_St, _SS, _IF, _CTr, _SJI, _SJA, _N, _SSS, _CSP, _SM, _EKA, _CTo],
|
|
241
|
+
[0, [() => exports.SearchScope$, 0], () => exports.ItemFilters$, 4, 0, 0, 0, () => exports.SearchScopeSummary$, () => exports.CurrentSearchProgress$, 0, 0, 4], 6
|
|
242
|
+
];
|
|
243
|
+
exports.GetSearchResultExportJobInput$ = [3, n0, _GSREJI,
|
|
244
|
+
0,
|
|
245
|
+
[_EJI],
|
|
246
|
+
[[0, 1]], 1
|
|
247
|
+
];
|
|
248
|
+
exports.GetSearchResultExportJobOutput$ = [3, n0, _GSREJO,
|
|
249
|
+
0,
|
|
250
|
+
[_EJI, _EJA, _St, _CTr, _CTo, _SM, _ES, _SJA],
|
|
251
|
+
[0, 0, 0, 4, 4, 0, () => exports.ExportSpecification$, 0], 1
|
|
252
|
+
];
|
|
253
|
+
exports.ItemFilters$ = [3, n0, _IF,
|
|
254
|
+
0,
|
|
255
|
+
[_SIF, _EBSIFt],
|
|
256
|
+
[() => S3ItemFilters, () => EBSItemFilters]
|
|
257
|
+
];
|
|
258
|
+
exports.ListSearchJobBackupsInput$ = [3, n0, _LSJBI,
|
|
259
|
+
0,
|
|
260
|
+
[_SJI, _NT, _MR],
|
|
261
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
262
|
+
];
|
|
263
|
+
exports.ListSearchJobBackupsOutput$ = [3, n0, _LSJBO,
|
|
264
|
+
0,
|
|
265
|
+
[_R, _NT],
|
|
266
|
+
[() => SearchJobBackupsResults, 0], 1
|
|
267
|
+
];
|
|
268
|
+
exports.ListSearchJobResultsInput$ = [3, n0, _LSJRI,
|
|
269
|
+
0,
|
|
270
|
+
[_SJI, _NT, _MR],
|
|
271
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
272
|
+
];
|
|
273
|
+
exports.ListSearchJobResultsOutput$ = [3, n0, _LSJRO,
|
|
274
|
+
0,
|
|
275
|
+
[_R, _NT],
|
|
276
|
+
[[() => Results, 0], 0], 1
|
|
277
|
+
];
|
|
278
|
+
exports.ListSearchJobsInput$ = [3, n0, _LSJI,
|
|
279
|
+
0,
|
|
280
|
+
[_BS, _NT, _MR],
|
|
281
|
+
[[0, { [_hQ]: _St }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
282
|
+
];
|
|
283
|
+
exports.ListSearchJobsOutput$ = [3, n0, _LSJO,
|
|
284
|
+
0,
|
|
285
|
+
[_SJ, _NT],
|
|
286
|
+
[() => SearchJobs, 0], 1
|
|
287
|
+
];
|
|
288
|
+
exports.ListSearchResultExportJobsInput$ = [3, n0, _LSREJI,
|
|
289
|
+
0,
|
|
290
|
+
[_St, _SJI, _NT, _MR],
|
|
291
|
+
[[0, { [_hQ]: _St }], [0, { [_hQ]: _SJI }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
292
|
+
];
|
|
293
|
+
exports.ListSearchResultExportJobsOutput$ = [3, n0, _LSREJO,
|
|
294
|
+
0,
|
|
295
|
+
[_EJ, _NT],
|
|
296
|
+
[() => ExportJobSummaries, 0], 1
|
|
297
|
+
];
|
|
298
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
299
|
+
0,
|
|
300
|
+
[_RAe],
|
|
301
|
+
[[0, 1]], 1
|
|
302
|
+
];
|
|
303
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
304
|
+
0,
|
|
305
|
+
[_T],
|
|
306
|
+
[[() => TagMap, 0]]
|
|
307
|
+
];
|
|
308
|
+
exports.LongCondition$ = [3, n0, _LC,
|
|
309
|
+
0,
|
|
310
|
+
[_V, _O],
|
|
311
|
+
[1, 0], 1
|
|
312
|
+
];
|
|
313
|
+
exports.S3ExportSpecification$ = [3, n0, _SES,
|
|
314
|
+
0,
|
|
315
|
+
[_DB, _DP],
|
|
316
|
+
[0, 0], 1
|
|
317
|
+
];
|
|
318
|
+
exports.S3ItemFilter$ = [3, n0, _SIFt,
|
|
319
|
+
0,
|
|
320
|
+
[_OKb, _S, _CT, _VI, _ET],
|
|
321
|
+
[() => StringConditionList, () => LongConditionList, () => TimeConditionList, () => StringConditionList, () => StringConditionList]
|
|
322
|
+
];
|
|
323
|
+
exports.S3ResultItem$ = [3, n0, _SRI,
|
|
324
|
+
0,
|
|
325
|
+
[_BRA, _SRA, _BVN, _OK, _OS, _CTr, _ETa, _VIe],
|
|
326
|
+
[0, 0, 0, [() => ObjectKey, 0], 1, 4, 0, 0]
|
|
327
|
+
];
|
|
328
|
+
exports.SearchJobBackupsResult$ = [3, n0, _SJBR,
|
|
329
|
+
0,
|
|
330
|
+
[_St, _SM, _RT, _BRA, _SRA, _ICT, _BCT],
|
|
331
|
+
[0, 0, 0, 0, 0, 4, 4]
|
|
332
|
+
];
|
|
333
|
+
exports.SearchJobSummary$ = [3, n0, _SJS,
|
|
334
|
+
0,
|
|
335
|
+
[_SJI, _SJA, _N, _St, _CTr, _CTo, _SSS, _SM],
|
|
336
|
+
[0, 0, 0, 0, 4, 4, () => exports.SearchScopeSummary$, 0]
|
|
337
|
+
];
|
|
338
|
+
exports.SearchScope$ = [3, n0, _SS,
|
|
339
|
+
0,
|
|
340
|
+
[_BRT, _BRCT, _SRAo, _BRAa, _BRTa],
|
|
341
|
+
[64 | 0, () => exports.BackupCreationTimeFilter$, 64 | 0, 64 | 0, [() => TagMap, 0]], 1
|
|
342
|
+
];
|
|
343
|
+
exports.SearchScopeSummary$ = [3, n0, _SSS,
|
|
344
|
+
0,
|
|
345
|
+
[_TRPTSC, _TITSC],
|
|
346
|
+
[1, 1]
|
|
347
|
+
];
|
|
348
|
+
exports.StartSearchJobInput$ = [3, n0, _SSJI,
|
|
349
|
+
0,
|
|
350
|
+
[_SS, _T, _N, _EKA, _CTl, _IF],
|
|
351
|
+
[[() => exports.SearchScope$, 0], [() => TagMap, 0], 0, 0, 0, () => exports.ItemFilters$], 1
|
|
352
|
+
];
|
|
353
|
+
exports.StartSearchJobOutput$ = [3, n0, _SSJO,
|
|
354
|
+
0,
|
|
355
|
+
[_SJA, _CTr, _SJI],
|
|
356
|
+
[0, 4, 0]
|
|
357
|
+
];
|
|
358
|
+
exports.StartSearchResultExportJobInput$ = [3, n0, _SSREJI,
|
|
359
|
+
0,
|
|
360
|
+
[_SJI, _ES, _CTl, _T, _RAo],
|
|
361
|
+
[0, () => exports.ExportSpecification$, 0, [() => TagMap, 0], 0], 2
|
|
362
|
+
];
|
|
363
|
+
exports.StartSearchResultExportJobOutput$ = [3, n0, _SSREJO,
|
|
364
|
+
0,
|
|
365
|
+
[_EJI, _EJA],
|
|
366
|
+
[0, 0], 1
|
|
367
|
+
];
|
|
368
|
+
exports.StopSearchJobInput$ = [3, n0, _SSJIt,
|
|
369
|
+
0,
|
|
370
|
+
[_SJI],
|
|
371
|
+
[[0, 1]], 1
|
|
372
|
+
];
|
|
373
|
+
exports.StopSearchJobOutput$ = [3, n0, _SSJOt,
|
|
374
|
+
0,
|
|
375
|
+
[],
|
|
376
|
+
[]
|
|
377
|
+
];
|
|
378
|
+
exports.StringCondition$ = [3, n0, _SC,
|
|
379
|
+
0,
|
|
380
|
+
[_V, _O],
|
|
381
|
+
[0, 0], 1
|
|
382
|
+
];
|
|
383
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
384
|
+
0,
|
|
385
|
+
[_RAe, _T],
|
|
386
|
+
[[0, 1], [() => TagMap, 0]], 2
|
|
387
|
+
];
|
|
388
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
389
|
+
0,
|
|
390
|
+
[],
|
|
391
|
+
[]
|
|
392
|
+
];
|
|
393
|
+
exports.TimeCondition$ = [3, n0, _TC,
|
|
394
|
+
0,
|
|
395
|
+
[_V, _O],
|
|
396
|
+
[4, 0], 1
|
|
397
|
+
];
|
|
398
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
399
|
+
0,
|
|
400
|
+
[_RAe, _TK],
|
|
401
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
402
|
+
];
|
|
403
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
404
|
+
0,
|
|
405
|
+
[],
|
|
406
|
+
[]
|
|
407
|
+
];
|
|
408
|
+
var EBSItemFilters = [1, n0, _EBSIFt,
|
|
409
|
+
0, () => exports.EBSItemFilter$
|
|
410
|
+
];
|
|
411
|
+
var ExportJobSummaries = [1, n0, _EJSx,
|
|
412
|
+
0, () => exports.ExportJobSummary$
|
|
413
|
+
];
|
|
414
|
+
var LongConditionList = [1, n0, _LCL,
|
|
415
|
+
0, () => exports.LongCondition$
|
|
416
|
+
];
|
|
417
|
+
var RecoveryPointArnList = 64 | 0;
|
|
418
|
+
var ResourceArnList = 64 | 0;
|
|
419
|
+
var ResourceTypeList = 64 | 0;
|
|
420
|
+
var Results = [1, n0, _R,
|
|
421
|
+
0, [() => exports.ResultItem$,
|
|
422
|
+
0]
|
|
423
|
+
];
|
|
424
|
+
var S3ItemFilters = [1, n0, _SIF,
|
|
425
|
+
0, () => exports.S3ItemFilter$
|
|
426
|
+
];
|
|
427
|
+
var SearchJobBackupsResults = [1, n0, _SJBRe,
|
|
428
|
+
0, () => exports.SearchJobBackupsResult$
|
|
429
|
+
];
|
|
430
|
+
var SearchJobs = [1, n0, _SJ,
|
|
431
|
+
0, () => exports.SearchJobSummary$
|
|
432
|
+
];
|
|
433
|
+
var StringConditionList = [1, n0, _SCL,
|
|
434
|
+
0, () => exports.StringCondition$
|
|
435
|
+
];
|
|
436
|
+
var TagKeys = 64 | 0;
|
|
437
|
+
var TimeConditionList = [1, n0, _TCL,
|
|
438
|
+
0, () => exports.TimeCondition$
|
|
439
|
+
];
|
|
440
|
+
var TagMap = [2, n0, _TM,
|
|
441
|
+
{ [_sp]: 1 }, 0, 0
|
|
442
|
+
];
|
|
443
|
+
exports.ExportSpecification$ = [4, n0, _ES,
|
|
444
|
+
0,
|
|
445
|
+
[_sES],
|
|
446
|
+
[() => exports.S3ExportSpecification$]
|
|
447
|
+
];
|
|
448
|
+
exports.ResultItem$ = [4, n0, _RI,
|
|
449
|
+
0,
|
|
450
|
+
[_SRI, _EBSRI],
|
|
451
|
+
[[() => exports.S3ResultItem$, 0], [() => exports.EBSResultItem$, 0]]
|
|
452
|
+
];
|
|
453
|
+
exports.GetSearchJob$ = [9, n0, _GSJ,
|
|
454
|
+
{ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}", 200] }, () => exports.GetSearchJobInput$, () => exports.GetSearchJobOutput$
|
|
455
|
+
];
|
|
456
|
+
exports.GetSearchResultExportJob$ = [9, n0, _GSREJ,
|
|
457
|
+
{ [_h]: ["GET", "/export-search-jobs/{ExportJobIdentifier}", 200] }, () => exports.GetSearchResultExportJobInput$, () => exports.GetSearchResultExportJobOutput$
|
|
458
|
+
];
|
|
459
|
+
exports.ListSearchJobBackups$ = [9, n0, _LSJB,
|
|
460
|
+
{ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/backups", 200] }, () => exports.ListSearchJobBackupsInput$, () => exports.ListSearchJobBackupsOutput$
|
|
461
|
+
];
|
|
462
|
+
exports.ListSearchJobResults$ = [9, n0, _LSJR,
|
|
463
|
+
{ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/search-results", 200] }, () => exports.ListSearchJobResultsInput$, () => exports.ListSearchJobResultsOutput$
|
|
464
|
+
];
|
|
465
|
+
exports.ListSearchJobs$ = [9, n0, _LSJ,
|
|
466
|
+
{ [_h]: ["GET", "/search-jobs", 200] }, () => exports.ListSearchJobsInput$, () => exports.ListSearchJobsOutput$
|
|
467
|
+
];
|
|
468
|
+
exports.ListSearchResultExportJobs$ = [9, n0, _LSREJ,
|
|
469
|
+
{ [_h]: ["GET", "/export-search-jobs", 200] }, () => exports.ListSearchResultExportJobsInput$, () => exports.ListSearchResultExportJobsOutput$
|
|
470
|
+
];
|
|
471
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
472
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
473
|
+
];
|
|
474
|
+
exports.StartSearchJob$ = [9, n0, _SSJ,
|
|
475
|
+
{ [_h]: ["PUT", "/search-jobs", 200] }, () => exports.StartSearchJobInput$, () => exports.StartSearchJobOutput$
|
|
476
|
+
];
|
|
477
|
+
exports.StartSearchResultExportJob$ = [9, n0, _SSREJ,
|
|
478
|
+
{ [_h]: ["PUT", "/export-search-jobs", 200] }, () => exports.StartSearchResultExportJobInput$, () => exports.StartSearchResultExportJobOutput$
|
|
479
|
+
];
|
|
480
|
+
exports.StopSearchJob$ = [9, n0, _SSJt,
|
|
481
|
+
{ [_h]: ["PUT", "/search-jobs/{SearchJobIdentifier}/actions/cancel", 200] }, () => exports.StopSearchJobInput$, () => exports.StopSearchJobOutput$
|
|
482
|
+
];
|
|
483
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
484
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
485
|
+
];
|
|
486
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
487
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
488
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultBackupSearchHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-05-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.backupsearch",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-05-10",
|
|
30
32
|
serviceTarget: "CryoBackupSearchService",
|
|
31
33
|
},
|