@aws-sdk/client-artifact 3.928.0 → 3.930.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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.artifact" }),
28
30
  serviceId: config?.serviceId ?? "Artifact",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ArtifactClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccountSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "GetAccountSettings", {})
17
13
  .n("ArtifactClient", "GetAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccountSettingsCommand)
20
- .de(de_GetAccountSettingsCommand)
14
+ .sc(GetAccountSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetReportCommand, se_GetReportCommand } from "../protocols/Aws_restJson1";
4
+ import { GetReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReportCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "GetReport", {})
17
13
  .n("ArtifactClient", "GetReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReportCommand)
20
- .de(de_GetReportCommand)
14
+ .sc(GetReport)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetReportMetadataCommand, se_GetReportMetadataCommand } from "../protocols/Aws_restJson1";
4
+ import { GetReportMetadata } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReportMetadataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "GetReportMetadata", {})
17
13
  .n("ArtifactClient", "GetReportMetadataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReportMetadataCommand)
20
- .de(de_GetReportMetadataCommand)
14
+ .sc(GetReportMetadata)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTermForReportCommand, se_GetTermForReportCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTermForReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTermForReportCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "GetTermForReport", {})
17
13
  .n("ArtifactClient", "GetTermForReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTermForReportCommand)
20
- .de(de_GetTermForReportCommand)
14
+ .sc(GetTermForReport)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListCustomerAgreementsCommand, se_ListCustomerAgreementsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCustomerAgreements } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCustomerAgreementsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "ListCustomerAgreements", {})
17
13
  .n("ArtifactClient", "ListCustomerAgreementsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCustomerAgreementsCommand)
20
- .de(de_ListCustomerAgreementsCommand)
14
+ .sc(ListCustomerAgreements)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListReportsCommand, se_ListReportsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListReports } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListReportsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "ListReports", {})
17
13
  .n("ArtifactClient", "ListReportsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListReportsCommand)
20
- .de(de_ListReportsCommand)
14
+ .sc(ListReports)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutAccountSettingsCommand, se_PutAccountSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { PutAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutAccountSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Artifact", "PutAccountSettings", {})
17
13
  .n("ArtifactClient", "PutAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutAccountSettingsCommand)
20
- .de(de_PutAccountSettingsCommand)
14
+ .sc(PutAccountSettings)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.artifact" }),
25
27
  serviceId: config?.serviceId ?? "Artifact",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,428 @@
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 _PAS = "PutAccountSettings";
26
+ const _PASR = "PutAccountSettingsRequest";
27
+ const _PASRu = "PutAccountSettingsResponse";
28
+ const _RA = "Retry-After";
29
+ const _RD = "ReportDetail";
30
+ const _RL = "ReportsList";
31
+ const _RNFE = "ResourceNotFoundException";
32
+ const _RS = "ReportSummary";
33
+ const _SQEE = "ServiceQuotaExceededException";
34
+ const _TE = "ThrottlingException";
35
+ const _VE = "ValidationException";
36
+ const _VEF = "ValidationExceptionField";
37
+ const _VEFL = "ValidationExceptionFieldList";
38
+ const _a = "arn";
39
+ const _aA = "agreementArn";
40
+ const _aAI = "awsAccountId";
41
+ const _aS = "accountSettings";
42
+ const _aT = "acceptanceTerms";
43
+ const _aTc = "acceptanceType";
44
+ const _c = "client";
45
+ const _cA = "customerAgreements";
46
+ const _cAr = "createdAt";
47
+ const _cN = "companyName";
48
+ const _ca = "category";
49
+ const _d = "description";
50
+ const _dA = "deletedAt";
51
+ const _dPU = "documentPresignedUrl";
52
+ const _e = "error";
53
+ const _eE = "effectiveEnd";
54
+ const _eS = "effectiveStart";
55
+ const _fL = "fieldList";
56
+ const _h = "http";
57
+ const _hE = "httpError";
58
+ const _hH = "httpHeader";
59
+ const _hQ = "httpQuery";
60
+ const _i = "id";
61
+ const _lMA = "lastModifiedAt";
62
+ const _m = "message";
63
+ const _mR = "maxResults";
64
+ const _n = "name";
65
+ const _nSS = "notificationSubscriptionStatus";
66
+ const _nT = "nextToken";
67
+ const _oA = "organizationArn";
68
+ const _pE = "periodEnd";
69
+ const _pN = "productName";
70
+ const _pS = "periodStart";
71
+ const _qC = "quotaCode";
72
+ const _r = "reports";
73
+ const _rAS = "retryAfterSeconds";
74
+ const _rD = "reportDetails";
75
+ const _rI = "resourceId";
76
+ const _rIe = "reportId";
77
+ const _rT = "resourceType";
78
+ const _rV = "reportVersion";
79
+ const _re = "reason";
80
+ const _s = "state";
81
+ const _sC = "serviceCode";
82
+ const _sM = "statusMessage";
83
+ const _sN = "sequenceNumber";
84
+ const _se = "server";
85
+ const _ser = "series";
86
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.artifact";
87
+ const _t = "type";
88
+ const _tA = "termArn";
89
+ const _tT = "terminateTerms";
90
+ const _tTe = "termToken";
91
+ const _uS = "uploadState";
92
+ const _v = "version";
93
+ const n0 = "com.amazonaws.artifact";
94
+ import { TypeRegistry } from "@smithy/core/schema";
95
+ import { ArtifactServiceException as __ArtifactServiceException } from "../models/ArtifactServiceException";
96
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
97
+ export var AccessDeniedException = [
98
+ -3,
99
+ n0,
100
+ _ADE,
101
+ {
102
+ [_e]: _c,
103
+ [_hE]: 403,
104
+ },
105
+ [_m],
106
+ [0],
107
+ ];
108
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
109
+ export var AccountSettings = [3, n0, _AS, 0, [_nSS], [0]];
110
+ export var ConflictException = [
111
+ -3,
112
+ n0,
113
+ _CE,
114
+ {
115
+ [_e]: _c,
116
+ [_hE]: 409,
117
+ },
118
+ [_m, _rI, _rT],
119
+ [0, 0, 0],
120
+ ];
121
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
122
+ export var CustomerAgreementSummary = [
123
+ 3,
124
+ n0,
125
+ _CAS,
126
+ 0,
127
+ [_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _s, _d, _aT, _tT, _t],
128
+ [0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0],
129
+ ];
130
+ export var GetAccountSettingsRequest = [3, n0, _GASR, 0, [], []];
131
+ export var GetAccountSettingsResponse = [3, n0, _GASRe, 0, [_aS], [() => AccountSettings]];
132
+ export var GetReportMetadataRequest = [
133
+ 3,
134
+ n0,
135
+ _GRMR,
136
+ 0,
137
+ [_rIe, _rV],
138
+ [
139
+ [
140
+ 0,
141
+ {
142
+ [_hQ]: _rIe,
143
+ },
144
+ ],
145
+ [
146
+ 1,
147
+ {
148
+ [_hQ]: _rV,
149
+ },
150
+ ],
151
+ ],
152
+ ];
153
+ export var GetReportMetadataResponse = [3, n0, _GRMRe, 0, [_rD], [() => ReportDetail]];
154
+ export var GetReportRequest = [
155
+ 3,
156
+ n0,
157
+ _GRR,
158
+ 0,
159
+ [_rIe, _rV, _tTe],
160
+ [
161
+ [
162
+ 0,
163
+ {
164
+ [_hQ]: _rIe,
165
+ },
166
+ ],
167
+ [
168
+ 1,
169
+ {
170
+ [_hQ]: _rV,
171
+ },
172
+ ],
173
+ [
174
+ 0,
175
+ {
176
+ [_hQ]: _tTe,
177
+ },
178
+ ],
179
+ ],
180
+ ];
181
+ export var GetReportResponse = [3, n0, _GRRe, 0, [_dPU], [0]];
182
+ export var GetTermForReportRequest = [
183
+ 3,
184
+ n0,
185
+ _GTFRR,
186
+ 0,
187
+ [_rIe, _rV],
188
+ [
189
+ [
190
+ 0,
191
+ {
192
+ [_hQ]: _rIe,
193
+ },
194
+ ],
195
+ [
196
+ 1,
197
+ {
198
+ [_hQ]: _rV,
199
+ },
200
+ ],
201
+ ],
202
+ ];
203
+ export var GetTermForReportResponse = [3, n0, _GTFRRe, 0, [_dPU, _tTe], [0, 0]];
204
+ export var InternalServerException = [
205
+ -3,
206
+ n0,
207
+ _ISE,
208
+ {
209
+ [_e]: _se,
210
+ [_hE]: 500,
211
+ },
212
+ [_m, _rAS],
213
+ [
214
+ 0,
215
+ [
216
+ 1,
217
+ {
218
+ [_hH]: _RA,
219
+ },
220
+ ],
221
+ ],
222
+ ];
223
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
224
+ export var ListCustomerAgreementsRequest = [
225
+ 3,
226
+ n0,
227
+ _LCAR,
228
+ 0,
229
+ [_mR, _nT],
230
+ [
231
+ [
232
+ 1,
233
+ {
234
+ [_hQ]: _mR,
235
+ },
236
+ ],
237
+ [
238
+ 0,
239
+ {
240
+ [_hQ]: _nT,
241
+ },
242
+ ],
243
+ ],
244
+ ];
245
+ export var ListCustomerAgreementsResponse = [
246
+ 3,
247
+ n0,
248
+ _LCARi,
249
+ 0,
250
+ [_cA, _nT],
251
+ [() => CustomerAgreementList, 0],
252
+ ];
253
+ export var ListReportsRequest = [
254
+ 3,
255
+ n0,
256
+ _LRR,
257
+ 0,
258
+ [_mR, _nT],
259
+ [
260
+ [
261
+ 1,
262
+ {
263
+ [_hQ]: _mR,
264
+ },
265
+ ],
266
+ [
267
+ 0,
268
+ {
269
+ [_hQ]: _nT,
270
+ },
271
+ ],
272
+ ],
273
+ ];
274
+ export var ListReportsResponse = [3, n0, _LRRi, 0, [_r, _nT], [() => ReportsList, 0]];
275
+ export var PutAccountSettingsRequest = [3, n0, _PASR, 0, [_nSS], [0]];
276
+ export var PutAccountSettingsResponse = [3, n0, _PASRu, 0, [_aS], [() => AccountSettings]];
277
+ export var ReportDetail = [
278
+ 3,
279
+ n0,
280
+ _RD,
281
+ 0,
282
+ [_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _s, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
283
+ [0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0],
284
+ ];
285
+ export var ReportSummary = [
286
+ 3,
287
+ n0,
288
+ _RS,
289
+ 0,
290
+ [_i, _n, _s, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
291
+ [0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0],
292
+ ];
293
+ export var ResourceNotFoundException = [
294
+ -3,
295
+ n0,
296
+ _RNFE,
297
+ {
298
+ [_e]: _c,
299
+ [_hE]: 404,
300
+ },
301
+ [_m, _rI, _rT],
302
+ [0, 0, 0],
303
+ ];
304
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
305
+ export var ServiceQuotaExceededException = [
306
+ -3,
307
+ n0,
308
+ _SQEE,
309
+ {
310
+ [_e]: _c,
311
+ [_hE]: 402,
312
+ },
313
+ [_m, _rI, _rT, _sC, _qC],
314
+ [0, 0, 0, 0, 0],
315
+ ];
316
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
317
+ export var ThrottlingException = [
318
+ -3,
319
+ n0,
320
+ _TE,
321
+ {
322
+ [_e]: _c,
323
+ [_hE]: 429,
324
+ },
325
+ [_m, _sC, _qC, _rAS],
326
+ [
327
+ 0,
328
+ 0,
329
+ 0,
330
+ [
331
+ 1,
332
+ {
333
+ [_hH]: _RA,
334
+ },
335
+ ],
336
+ ],
337
+ ];
338
+ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
339
+ export var ValidationException = [
340
+ -3,
341
+ n0,
342
+ _VE,
343
+ {
344
+ [_e]: _c,
345
+ [_hE]: 400,
346
+ },
347
+ [_m, _re, _fL],
348
+ [0, 0, () => ValidationExceptionFieldList],
349
+ ];
350
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
351
+ export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
352
+ export var __Unit = "unit";
353
+ export var ArtifactServiceException = [-3, _sm, "ArtifactServiceException", 0, [], []];
354
+ TypeRegistry.for(_sm).registerError(ArtifactServiceException, __ArtifactServiceException);
355
+ export var AgreementTerms = 64 | 0;
356
+ export var CustomerAgreementList = [1, n0, _CAL, 0, () => CustomerAgreementSummary];
357
+ export var ReportsList = [1, n0, _RL, 0, () => ReportSummary];
358
+ export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
359
+ export var GetAccountSettings = [
360
+ 9,
361
+ n0,
362
+ _GAS,
363
+ {
364
+ [_h]: ["GET", "/v1/account-settings/get", 200],
365
+ },
366
+ () => GetAccountSettingsRequest,
367
+ () => GetAccountSettingsResponse,
368
+ ];
369
+ export var GetReport = [
370
+ 9,
371
+ n0,
372
+ _GR,
373
+ {
374
+ [_h]: ["GET", "/v1/report/get", 200],
375
+ },
376
+ () => GetReportRequest,
377
+ () => GetReportResponse,
378
+ ];
379
+ export var GetReportMetadata = [
380
+ 9,
381
+ n0,
382
+ _GRM,
383
+ {
384
+ [_h]: ["GET", "/v1/report/getMetadata", 200],
385
+ },
386
+ () => GetReportMetadataRequest,
387
+ () => GetReportMetadataResponse,
388
+ ];
389
+ export var GetTermForReport = [
390
+ 9,
391
+ n0,
392
+ _GTFR,
393
+ {
394
+ [_h]: ["GET", "/v1/report/getTermForReport", 200],
395
+ },
396
+ () => GetTermForReportRequest,
397
+ () => GetTermForReportResponse,
398
+ ];
399
+ export var ListCustomerAgreements = [
400
+ 9,
401
+ n0,
402
+ _LCA,
403
+ {
404
+ [_h]: ["GET", "/v1/customer-agreement/list", 200],
405
+ },
406
+ () => ListCustomerAgreementsRequest,
407
+ () => ListCustomerAgreementsResponse,
408
+ ];
409
+ export var ListReports = [
410
+ 9,
411
+ n0,
412
+ _LR,
413
+ {
414
+ [_h]: ["GET", "/v1/report/list", 200],
415
+ },
416
+ () => ListReportsRequest,
417
+ () => ListReportsResponse,
418
+ ];
419
+ export var PutAccountSettings = [
420
+ 9,
421
+ n0,
422
+ _PAS,
423
+ {
424
+ [_h]: ["PUT", "/v1/account-settings/put", 200],
425
+ },
426
+ () => PutAccountSettingsRequest,
427
+ () => PutAccountSettingsResponse,
428
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
11
11
  import { GetReportCommandInput, GetReportCommandOutput } from "./commands/GetReportCommand";
@@ -148,6 +148,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
148
148
  * Optional extensions
149
149
  */
150
150
  extensions?: RuntimeExtension[];
151
+ /**
152
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
153
+ * may be overridden. A default will always be set by the client.
154
+ * Available options depend on the service's supported protocols and will not be validated by
155
+ * the client.
156
+ * @alpha
157
+ *
158
+ */
159
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
151
160
  /**
152
161
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
153
162
  */