@aws-sdk/client-artifact 3.1075.0 → 3.1076.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 +634 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ArtifactServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -117
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -317
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
const _ADE = "AccessDeniedException";
|
|
2
|
-
const _AS = "AccountSettings";
|
|
3
|
-
const _CAL = "CustomerAgreementList";
|
|
4
|
-
const _CAS = "CustomerAgreementSummary";
|
|
5
|
-
const _CE = "ConflictException";
|
|
6
|
-
const _GAS = "GetAccountSettings";
|
|
7
|
-
const _GASR = "GetAccountSettingsRequest";
|
|
8
|
-
const _GASRe = "GetAccountSettingsResponse";
|
|
9
|
-
const _GR = "GetReport";
|
|
10
|
-
const _GRM = "GetReportMetadata";
|
|
11
|
-
const _GRMR = "GetReportMetadataRequest";
|
|
12
|
-
const _GRMRe = "GetReportMetadataResponse";
|
|
13
|
-
const _GRR = "GetReportRequest";
|
|
14
|
-
const _GRRe = "GetReportResponse";
|
|
15
|
-
const _GTFR = "GetTermForReport";
|
|
16
|
-
const _GTFRR = "GetTermForReportRequest";
|
|
17
|
-
const _GTFRRe = "GetTermForReportResponse";
|
|
18
|
-
const _ISE = "InternalServerException";
|
|
19
|
-
const _LCA = "ListCustomerAgreements";
|
|
20
|
-
const _LCAR = "ListCustomerAgreementsRequest";
|
|
21
|
-
const _LCARi = "ListCustomerAgreementsResponse";
|
|
22
|
-
const _LR = "ListReports";
|
|
23
|
-
const _LRR = "ListReportsRequest";
|
|
24
|
-
const _LRRi = "ListReportsResponse";
|
|
25
|
-
const _LRV = "ListReportVersions";
|
|
26
|
-
const _LRVR = "ListReportVersionsRequest";
|
|
27
|
-
const _LRVRi = "ListReportVersionsResponse";
|
|
28
|
-
const _PAS = "PutAccountSettings";
|
|
29
|
-
const _PASR = "PutAccountSettingsRequest";
|
|
30
|
-
const _PASRu = "PutAccountSettingsResponse";
|
|
31
|
-
const _RA = "Retry-After";
|
|
32
|
-
const _RD = "ReportDetail";
|
|
33
|
-
const _RL = "ReportsList";
|
|
34
|
-
const _RNFE = "ResourceNotFoundException";
|
|
35
|
-
const _RS = "ReportSummary";
|
|
36
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
37
|
-
const _TE = "ThrottlingException";
|
|
38
|
-
const _VE = "ValidationException";
|
|
39
|
-
const _VEF = "ValidationExceptionField";
|
|
40
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
41
|
-
const _a = "arn";
|
|
42
|
-
const _aA = "agreementArn";
|
|
43
|
-
const _aAI = "awsAccountId";
|
|
44
|
-
const _aS = "accountSettings";
|
|
45
|
-
const _aT = "acceptanceTerms";
|
|
46
|
-
const _aTc = "acceptanceType";
|
|
47
|
-
const _c = "client";
|
|
48
|
-
const _cA = "customerAgreements";
|
|
49
|
-
const _cAr = "createdAt";
|
|
50
|
-
const _cN = "companyName";
|
|
51
|
-
const _ca = "category";
|
|
52
|
-
const _d = "description";
|
|
53
|
-
const _dA = "deletedAt";
|
|
54
|
-
const _dPU = "documentPresignedUrl";
|
|
55
|
-
const _e = "error";
|
|
56
|
-
const _eE = "effectiveEnd";
|
|
57
|
-
const _eS = "effectiveStart";
|
|
58
|
-
const _fL = "fieldList";
|
|
59
|
-
const _h = "http";
|
|
60
|
-
const _hE = "httpError";
|
|
61
|
-
const _hH = "httpHeader";
|
|
62
|
-
const _hQ = "httpQuery";
|
|
63
|
-
const _i = "id";
|
|
64
|
-
const _lMA = "lastModifiedAt";
|
|
65
|
-
const _m = "message";
|
|
66
|
-
const _mR = "maxResults";
|
|
67
|
-
const _n = "name";
|
|
68
|
-
const _nSS = "notificationSubscriptionStatus";
|
|
69
|
-
const _nT = "nextToken";
|
|
70
|
-
const _oA = "organizationArn";
|
|
71
|
-
const _pE = "periodEnd";
|
|
72
|
-
const _pN = "productName";
|
|
73
|
-
const _pS = "periodStart";
|
|
74
|
-
const _qC = "quotaCode";
|
|
75
|
-
const _r = "reason";
|
|
76
|
-
const _rAS = "retryAfterSeconds";
|
|
77
|
-
const _rD = "reportDetails";
|
|
78
|
-
const _rI = "resourceId";
|
|
79
|
-
const _rIe = "reportId";
|
|
80
|
-
const _rT = "resourceType";
|
|
81
|
-
const _rV = "reportVersion";
|
|
82
|
-
const _re = "reports";
|
|
83
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.artifact";
|
|
84
|
-
const _sC = "serviceCode";
|
|
85
|
-
const _sM = "statusMessage";
|
|
86
|
-
const _sN = "sequenceNumber";
|
|
87
|
-
const _se = "server";
|
|
88
|
-
const _ser = "series";
|
|
89
|
-
const _st = "state";
|
|
90
|
-
const _t = "type";
|
|
91
|
-
const _tA = "termArn";
|
|
92
|
-
const _tT = "terminateTerms";
|
|
93
|
-
const _tTe = "termToken";
|
|
94
|
-
const _uS = "uploadState";
|
|
95
|
-
const _v = "version";
|
|
96
|
-
const n0 = "com.amazonaws.artifact";
|
|
97
|
-
const { TypeRegistry } = require("@smithy/core/schema");
|
|
98
|
-
const { ArtifactServiceException } = require("../models/ArtifactServiceException");
|
|
99
|
-
const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
100
|
-
const _s_registry = TypeRegistry.for(_s);
|
|
101
|
-
const ArtifactServiceException$ = [-3, _s, "ArtifactServiceException", 0, [], []];
|
|
102
|
-
exports.ArtifactServiceException$ = ArtifactServiceException$;
|
|
103
|
-
_s_registry.registerError(ArtifactServiceException$, ArtifactServiceException);
|
|
104
|
-
const n0_registry = TypeRegistry.for(n0);
|
|
105
|
-
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
106
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
107
|
-
[_m],
|
|
108
|
-
[0], 1
|
|
109
|
-
];
|
|
110
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
111
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
112
|
-
const ConflictException$ = [-3, n0, _CE,
|
|
113
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
114
|
-
[_m, _rI, _rT],
|
|
115
|
-
[0, 0, 0], 3
|
|
116
|
-
];
|
|
117
|
-
exports.ConflictException$ = ConflictException$;
|
|
118
|
-
n0_registry.registerError(ConflictException$, ConflictException);
|
|
119
|
-
const InternalServerException$ = [-3, n0, _ISE,
|
|
120
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
121
|
-
[_m, _rAS],
|
|
122
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
123
|
-
];
|
|
124
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
125
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
126
|
-
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
127
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
128
|
-
[_m, _rI, _rT],
|
|
129
|
-
[0, 0, 0], 3
|
|
130
|
-
];
|
|
131
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
132
|
-
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
133
|
-
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
134
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
135
|
-
[_m, _rI, _rT, _sC, _qC],
|
|
136
|
-
[0, 0, 0, 0, 0], 5
|
|
137
|
-
];
|
|
138
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
139
|
-
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
140
|
-
const ThrottlingException$ = [-3, n0, _TE,
|
|
141
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
142
|
-
[_m, _sC, _qC, _rAS],
|
|
143
|
-
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
144
|
-
];
|
|
145
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
146
|
-
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
147
|
-
const ValidationException$ = [-3, n0, _VE,
|
|
148
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
149
|
-
[_m, _r, _fL],
|
|
150
|
-
[0, 0, () => ValidationExceptionFieldList], 2
|
|
151
|
-
];
|
|
152
|
-
exports.ValidationException$ = ValidationException$;
|
|
153
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
154
|
-
exports.errorTypeRegistries = [
|
|
155
|
-
_s_registry,
|
|
156
|
-
n0_registry,
|
|
157
|
-
];
|
|
158
|
-
const AccountSettings$ = [3, n0, _AS,
|
|
159
|
-
0,
|
|
160
|
-
[_nSS],
|
|
161
|
-
[0]
|
|
162
|
-
];
|
|
163
|
-
exports.AccountSettings$ = AccountSettings$;
|
|
164
|
-
const CustomerAgreementSummary$ = [3, n0, _CAS,
|
|
165
|
-
0,
|
|
166
|
-
[_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _st, _d, _aT, _tT, _t],
|
|
167
|
-
[0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0]
|
|
168
|
-
];
|
|
169
|
-
exports.CustomerAgreementSummary$ = CustomerAgreementSummary$;
|
|
170
|
-
const GetAccountSettingsRequest$ = [3, n0, _GASR,
|
|
171
|
-
0,
|
|
172
|
-
[],
|
|
173
|
-
[]
|
|
174
|
-
];
|
|
175
|
-
exports.GetAccountSettingsRequest$ = GetAccountSettingsRequest$;
|
|
176
|
-
const GetAccountSettingsResponse$ = [3, n0, _GASRe,
|
|
177
|
-
0,
|
|
178
|
-
[_aS],
|
|
179
|
-
[() => AccountSettings$]
|
|
180
|
-
];
|
|
181
|
-
exports.GetAccountSettingsResponse$ = GetAccountSettingsResponse$;
|
|
182
|
-
const GetReportMetadataRequest$ = [3, n0, _GRMR,
|
|
183
|
-
0,
|
|
184
|
-
[_rIe, _rV],
|
|
185
|
-
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _rV }]], 1
|
|
186
|
-
];
|
|
187
|
-
exports.GetReportMetadataRequest$ = GetReportMetadataRequest$;
|
|
188
|
-
const GetReportMetadataResponse$ = [3, n0, _GRMRe,
|
|
189
|
-
0,
|
|
190
|
-
[_rD],
|
|
191
|
-
[() => ReportDetail$]
|
|
192
|
-
];
|
|
193
|
-
exports.GetReportMetadataResponse$ = GetReportMetadataResponse$;
|
|
194
|
-
const GetReportRequest$ = [3, n0, _GRR,
|
|
195
|
-
0,
|
|
196
|
-
[_rIe, _tTe, _rV],
|
|
197
|
-
[[0, { [_hQ]: _rIe }], [0, { [_hQ]: _tTe }], [1, { [_hQ]: _rV }]], 2
|
|
198
|
-
];
|
|
199
|
-
exports.GetReportRequest$ = GetReportRequest$;
|
|
200
|
-
const GetReportResponse$ = [3, n0, _GRRe,
|
|
201
|
-
0,
|
|
202
|
-
[_dPU],
|
|
203
|
-
[0]
|
|
204
|
-
];
|
|
205
|
-
exports.GetReportResponse$ = GetReportResponse$;
|
|
206
|
-
const GetTermForReportRequest$ = [3, n0, _GTFRR,
|
|
207
|
-
0,
|
|
208
|
-
[_rIe, _rV],
|
|
209
|
-
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _rV }]], 1
|
|
210
|
-
];
|
|
211
|
-
exports.GetTermForReportRequest$ = GetTermForReportRequest$;
|
|
212
|
-
const GetTermForReportResponse$ = [3, n0, _GTFRRe,
|
|
213
|
-
0,
|
|
214
|
-
[_dPU, _tTe],
|
|
215
|
-
[0, 0]
|
|
216
|
-
];
|
|
217
|
-
exports.GetTermForReportResponse$ = GetTermForReportResponse$;
|
|
218
|
-
const ListCustomerAgreementsRequest$ = [3, n0, _LCAR,
|
|
219
|
-
0,
|
|
220
|
-
[_mR, _nT],
|
|
221
|
-
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
222
|
-
];
|
|
223
|
-
exports.ListCustomerAgreementsRequest$ = ListCustomerAgreementsRequest$;
|
|
224
|
-
const ListCustomerAgreementsResponse$ = [3, n0, _LCARi,
|
|
225
|
-
0,
|
|
226
|
-
[_cA, _nT],
|
|
227
|
-
[() => CustomerAgreementList, 0], 1
|
|
228
|
-
];
|
|
229
|
-
exports.ListCustomerAgreementsResponse$ = ListCustomerAgreementsResponse$;
|
|
230
|
-
const ListReportsRequest$ = [3, n0, _LRR,
|
|
231
|
-
0,
|
|
232
|
-
[_mR, _nT],
|
|
233
|
-
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
234
|
-
];
|
|
235
|
-
exports.ListReportsRequest$ = ListReportsRequest$;
|
|
236
|
-
const ListReportsResponse$ = [3, n0, _LRRi,
|
|
237
|
-
0,
|
|
238
|
-
[_re, _nT],
|
|
239
|
-
[() => ReportsList, 0]
|
|
240
|
-
];
|
|
241
|
-
exports.ListReportsResponse$ = ListReportsResponse$;
|
|
242
|
-
const ListReportVersionsRequest$ = [3, n0, _LRVR,
|
|
243
|
-
0,
|
|
244
|
-
[_rIe, _mR, _nT],
|
|
245
|
-
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
246
|
-
];
|
|
247
|
-
exports.ListReportVersionsRequest$ = ListReportVersionsRequest$;
|
|
248
|
-
const ListReportVersionsResponse$ = [3, n0, _LRVRi,
|
|
249
|
-
0,
|
|
250
|
-
[_re, _nT],
|
|
251
|
-
[() => ReportsList, 0], 1
|
|
252
|
-
];
|
|
253
|
-
exports.ListReportVersionsResponse$ = ListReportVersionsResponse$;
|
|
254
|
-
const PutAccountSettingsRequest$ = [3, n0, _PASR,
|
|
255
|
-
0,
|
|
256
|
-
[_nSS],
|
|
257
|
-
[0]
|
|
258
|
-
];
|
|
259
|
-
exports.PutAccountSettingsRequest$ = PutAccountSettingsRequest$;
|
|
260
|
-
const PutAccountSettingsResponse$ = [3, n0, _PASRu,
|
|
261
|
-
0,
|
|
262
|
-
[_aS],
|
|
263
|
-
[() => AccountSettings$]
|
|
264
|
-
];
|
|
265
|
-
exports.PutAccountSettingsResponse$ = PutAccountSettingsResponse$;
|
|
266
|
-
const ReportDetail$ = [3, n0, _RD,
|
|
267
|
-
0,
|
|
268
|
-
[_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _st, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
|
|
269
|
-
[0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0]
|
|
270
|
-
];
|
|
271
|
-
exports.ReportDetail$ = ReportDetail$;
|
|
272
|
-
const ReportSummary$ = [3, n0, _RS,
|
|
273
|
-
0,
|
|
274
|
-
[_i, _n, _st, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
|
|
275
|
-
[0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0]
|
|
276
|
-
];
|
|
277
|
-
exports.ReportSummary$ = ReportSummary$;
|
|
278
|
-
const ValidationExceptionField$ = [3, n0, _VEF,
|
|
279
|
-
0,
|
|
280
|
-
[_n, _m],
|
|
281
|
-
[0, 0], 2
|
|
282
|
-
];
|
|
283
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
284
|
-
var AgreementTerms = 64 | 0;
|
|
285
|
-
var CustomerAgreementList = [1, n0, _CAL,
|
|
286
|
-
0, () => CustomerAgreementSummary$
|
|
287
|
-
];
|
|
288
|
-
var ReportsList = [1, n0, _RL,
|
|
289
|
-
0, () => ReportSummary$
|
|
290
|
-
];
|
|
291
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
292
|
-
0, () => ValidationExceptionField$
|
|
293
|
-
];
|
|
294
|
-
exports.GetAccountSettings$ = [9, n0, _GAS,
|
|
295
|
-
{ [_h]: ["GET", "/v1/account-settings/get", 200] }, () => GetAccountSettingsRequest$, () => GetAccountSettingsResponse$
|
|
296
|
-
];
|
|
297
|
-
exports.GetReport$ = [9, n0, _GR,
|
|
298
|
-
{ [_h]: ["GET", "/v1/report/get", 200] }, () => GetReportRequest$, () => GetReportResponse$
|
|
299
|
-
];
|
|
300
|
-
exports.GetReportMetadata$ = [9, n0, _GRM,
|
|
301
|
-
{ [_h]: ["GET", "/v1/report/getMetadata", 200] }, () => GetReportMetadataRequest$, () => GetReportMetadataResponse$
|
|
302
|
-
];
|
|
303
|
-
exports.GetTermForReport$ = [9, n0, _GTFR,
|
|
304
|
-
{ [_h]: ["GET", "/v1/report/getTermForReport", 200] }, () => GetTermForReportRequest$, () => GetTermForReportResponse$
|
|
305
|
-
];
|
|
306
|
-
exports.ListCustomerAgreements$ = [9, n0, _LCA,
|
|
307
|
-
{ [_h]: ["GET", "/v1/customer-agreement/list", 200] }, () => ListCustomerAgreementsRequest$, () => ListCustomerAgreementsResponse$
|
|
308
|
-
];
|
|
309
|
-
exports.ListReports$ = [9, n0, _LR,
|
|
310
|
-
{ [_h]: ["GET", "/v1/report/list", 200] }, () => ListReportsRequest$, () => ListReportsResponse$
|
|
311
|
-
];
|
|
312
|
-
exports.ListReportVersions$ = [9, n0, _LRV,
|
|
313
|
-
{ [_h]: ["GET", "/v1/report/listVersions", 200] }, () => ListReportVersionsRequest$, () => ListReportVersionsResponse$
|
|
314
|
-
];
|
|
315
|
-
exports.PutAccountSettings$ = [9, n0, _PAS,
|
|
316
|
-
{ [_h]: ["PUT", "/v1/account-settings/put", 200] }, () => PutAccountSettingsRequest$, () => PutAccountSettingsResponse$
|
|
317
|
-
];
|