@aws-sdk/client-marketplace-agreement 3.716.0 → 3.723.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 +104 -44
- package/dist-es/MarketplaceAgreementClient.js +1 -0
- package/dist-es/models/models_0.js +19 -10
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -139,7 +139,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
139
139
|
}, "resolveRuntimeExtensions");
|
|
140
140
|
|
|
141
141
|
// src/MarketplaceAgreementClient.ts
|
|
142
|
-
var
|
|
142
|
+
var MarketplaceAgreementClient = class extends import_smithy_client.Client {
|
|
143
|
+
static {
|
|
144
|
+
__name(this, "MarketplaceAgreementClient");
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The resolved configuration of MarketplaceAgreementClient class. This is resolved and normalized from the {@link MarketplaceAgreementClientConfig | constructor configuration interface}.
|
|
148
|
+
*/
|
|
149
|
+
config;
|
|
143
150
|
constructor(...[configuration]) {
|
|
144
151
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
145
152
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -149,7 +156,7 @@ var _MarketplaceAgreementClient = class _MarketplaceAgreementClient extends impo
|
|
|
149
156
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
150
157
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
151
158
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
152
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
159
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
153
160
|
super(_config_8);
|
|
154
161
|
this.config = _config_8;
|
|
155
162
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -177,8 +184,6 @@ var _MarketplaceAgreementClient = class _MarketplaceAgreementClient extends impo
|
|
|
177
184
|
super.destroy();
|
|
178
185
|
}
|
|
179
186
|
};
|
|
180
|
-
__name(_MarketplaceAgreementClient, "MarketplaceAgreementClient");
|
|
181
|
-
var MarketplaceAgreementClient = _MarketplaceAgreementClient;
|
|
182
187
|
|
|
183
188
|
// src/MarketplaceAgreement.ts
|
|
184
189
|
|
|
@@ -195,7 +200,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
195
200
|
|
|
196
201
|
// src/models/MarketplaceAgreementServiceException.ts
|
|
197
202
|
|
|
198
|
-
var
|
|
203
|
+
var MarketplaceAgreementServiceException = class _MarketplaceAgreementServiceException extends import_smithy_client.ServiceException {
|
|
204
|
+
static {
|
|
205
|
+
__name(this, "MarketplaceAgreementServiceException");
|
|
206
|
+
}
|
|
199
207
|
/**
|
|
200
208
|
* @internal
|
|
201
209
|
*/
|
|
@@ -204,8 +212,6 @@ var _MarketplaceAgreementServiceException = class _MarketplaceAgreementServiceEx
|
|
|
204
212
|
Object.setPrototypeOf(this, _MarketplaceAgreementServiceException.prototype);
|
|
205
213
|
}
|
|
206
214
|
};
|
|
207
|
-
__name(_MarketplaceAgreementServiceException, "MarketplaceAgreementServiceException");
|
|
208
|
-
var MarketplaceAgreementServiceException = _MarketplaceAgreementServiceException;
|
|
209
215
|
|
|
210
216
|
// src/models/models_0.ts
|
|
211
217
|
var AcceptedTerm;
|
|
@@ -236,7 +242,17 @@ var AcceptedTerm;
|
|
|
236
242
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
237
243
|
}, "visit");
|
|
238
244
|
})(AcceptedTerm || (AcceptedTerm = {}));
|
|
239
|
-
var
|
|
245
|
+
var AccessDeniedException = class _AccessDeniedException extends MarketplaceAgreementServiceException {
|
|
246
|
+
static {
|
|
247
|
+
__name(this, "AccessDeniedException");
|
|
248
|
+
}
|
|
249
|
+
name = "AccessDeniedException";
|
|
250
|
+
$fault = "client";
|
|
251
|
+
/**
|
|
252
|
+
* <p>The unique identifier for the error.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
requestId;
|
|
240
256
|
/**
|
|
241
257
|
* @internal
|
|
242
258
|
*/
|
|
@@ -246,14 +262,10 @@ var _AccessDeniedException = class _AccessDeniedException extends MarketplaceAgr
|
|
|
246
262
|
$fault: "client",
|
|
247
263
|
...opts
|
|
248
264
|
});
|
|
249
|
-
this.name = "AccessDeniedException";
|
|
250
|
-
this.$fault = "client";
|
|
251
265
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
252
266
|
this.requestId = opts.requestId;
|
|
253
267
|
}
|
|
254
268
|
};
|
|
255
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
256
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
257
269
|
var AgreementStatus = {
|
|
258
270
|
ACTIVE: "ACTIVE",
|
|
259
271
|
ARCHIVED: "ARCHIVED",
|
|
@@ -265,7 +277,17 @@ var AgreementStatus = {
|
|
|
265
277
|
SUPERSEDED: "SUPERSEDED",
|
|
266
278
|
TERMINATED: "TERMINATED"
|
|
267
279
|
};
|
|
268
|
-
var
|
|
280
|
+
var InternalServerException = class _InternalServerException extends MarketplaceAgreementServiceException {
|
|
281
|
+
static {
|
|
282
|
+
__name(this, "InternalServerException");
|
|
283
|
+
}
|
|
284
|
+
name = "InternalServerException";
|
|
285
|
+
$fault = "server";
|
|
286
|
+
/**
|
|
287
|
+
* <p>The unique identifier for the error.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
requestId;
|
|
269
291
|
/**
|
|
270
292
|
* @internal
|
|
271
293
|
*/
|
|
@@ -275,18 +297,34 @@ var _InternalServerException = class _InternalServerException extends Marketplac
|
|
|
275
297
|
$fault: "server",
|
|
276
298
|
...opts
|
|
277
299
|
});
|
|
278
|
-
this.name = "InternalServerException";
|
|
279
|
-
this.$fault = "server";
|
|
280
300
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
281
301
|
this.requestId = opts.requestId;
|
|
282
302
|
}
|
|
283
303
|
};
|
|
284
|
-
__name(_InternalServerException, "InternalServerException");
|
|
285
|
-
var InternalServerException = _InternalServerException;
|
|
286
304
|
var ResourceType = {
|
|
287
305
|
AGREEMENT: "Agreement"
|
|
288
306
|
};
|
|
289
|
-
var
|
|
307
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends MarketplaceAgreementServiceException {
|
|
308
|
+
static {
|
|
309
|
+
__name(this, "ResourceNotFoundException");
|
|
310
|
+
}
|
|
311
|
+
name = "ResourceNotFoundException";
|
|
312
|
+
$fault = "client";
|
|
313
|
+
/**
|
|
314
|
+
* <p>The unique identifier for the error.</p>
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
requestId;
|
|
318
|
+
/**
|
|
319
|
+
* <p>The unique identifier for the resource.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
resourceId;
|
|
323
|
+
/**
|
|
324
|
+
* <p>The type of resource.</p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
resourceType;
|
|
290
328
|
/**
|
|
291
329
|
* @internal
|
|
292
330
|
*/
|
|
@@ -296,17 +334,23 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Market
|
|
|
296
334
|
$fault: "client",
|
|
297
335
|
...opts
|
|
298
336
|
});
|
|
299
|
-
this.name = "ResourceNotFoundException";
|
|
300
|
-
this.$fault = "client";
|
|
301
337
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
302
338
|
this.requestId = opts.requestId;
|
|
303
339
|
this.resourceId = opts.resourceId;
|
|
304
340
|
this.resourceType = opts.resourceType;
|
|
305
341
|
}
|
|
306
342
|
};
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
343
|
+
var ThrottlingException = class _ThrottlingException extends MarketplaceAgreementServiceException {
|
|
344
|
+
static {
|
|
345
|
+
__name(this, "ThrottlingException");
|
|
346
|
+
}
|
|
347
|
+
name = "ThrottlingException";
|
|
348
|
+
$fault = "client";
|
|
349
|
+
/**
|
|
350
|
+
* <p>The unique identifier for the error.</p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
requestId;
|
|
310
354
|
/**
|
|
311
355
|
* @internal
|
|
312
356
|
*/
|
|
@@ -316,14 +360,10 @@ var _ThrottlingException = class _ThrottlingException extends MarketplaceAgreeme
|
|
|
316
360
|
$fault: "client",
|
|
317
361
|
...opts
|
|
318
362
|
});
|
|
319
|
-
this.name = "ThrottlingException";
|
|
320
|
-
this.$fault = "client";
|
|
321
363
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
322
364
|
this.requestId = opts.requestId;
|
|
323
365
|
}
|
|
324
366
|
};
|
|
325
|
-
__name(_ThrottlingException, "ThrottlingException");
|
|
326
|
-
var ThrottlingException = _ThrottlingException;
|
|
327
367
|
var ValidationExceptionReason = {
|
|
328
368
|
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
329
369
|
INVALID_CATALOG: "INVALID_CATALOG",
|
|
@@ -337,7 +377,27 @@ var ValidationExceptionReason = {
|
|
|
337
377
|
OTHER: "OTHER",
|
|
338
378
|
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS"
|
|
339
379
|
};
|
|
340
|
-
var
|
|
380
|
+
var ValidationException = class _ValidationException extends MarketplaceAgreementServiceException {
|
|
381
|
+
static {
|
|
382
|
+
__name(this, "ValidationException");
|
|
383
|
+
}
|
|
384
|
+
name = "ValidationException";
|
|
385
|
+
$fault = "client";
|
|
386
|
+
/**
|
|
387
|
+
* <p>The unique identifier associated with the error.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
requestId;
|
|
391
|
+
/**
|
|
392
|
+
* <p>The reason associated with the error.</p>
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
reason;
|
|
396
|
+
/**
|
|
397
|
+
* <p>The fields associated with the error.</p>
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
fields;
|
|
341
401
|
/**
|
|
342
402
|
* @internal
|
|
343
403
|
*/
|
|
@@ -347,16 +407,12 @@ var _ValidationException = class _ValidationException extends MarketplaceAgreeme
|
|
|
347
407
|
$fault: "client",
|
|
348
408
|
...opts
|
|
349
409
|
});
|
|
350
|
-
this.name = "ValidationException";
|
|
351
|
-
this.$fault = "client";
|
|
352
410
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
353
411
|
this.requestId = opts.requestId;
|
|
354
412
|
this.reason = opts.reason;
|
|
355
413
|
this.fields = opts.fields;
|
|
356
414
|
}
|
|
357
415
|
};
|
|
358
|
-
__name(_ValidationException, "ValidationException");
|
|
359
|
-
var ValidationException = _ValidationException;
|
|
360
416
|
var SortOrder = {
|
|
361
417
|
ASCENDING: "ASCENDING",
|
|
362
418
|
DESCENDING: "DESCENDING"
|
|
@@ -666,43 +722,46 @@ function sharedHeaders(operation) {
|
|
|
666
722
|
__name(sharedHeaders, "sharedHeaders");
|
|
667
723
|
|
|
668
724
|
// src/commands/DescribeAgreementCommand.ts
|
|
669
|
-
var
|
|
725
|
+
var DescribeAgreementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
670
726
|
return [
|
|
671
727
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
672
728
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
673
729
|
];
|
|
674
730
|
}).s("AWSMPCommerceService_v20200301", "DescribeAgreement", {}).n("MarketplaceAgreementClient", "DescribeAgreementCommand").f(void 0, void 0).ser(se_DescribeAgreementCommand).de(de_DescribeAgreementCommand).build() {
|
|
731
|
+
static {
|
|
732
|
+
__name(this, "DescribeAgreementCommand");
|
|
733
|
+
}
|
|
675
734
|
};
|
|
676
|
-
__name(_DescribeAgreementCommand, "DescribeAgreementCommand");
|
|
677
|
-
var DescribeAgreementCommand = _DescribeAgreementCommand;
|
|
678
735
|
|
|
679
736
|
// src/commands/GetAgreementTermsCommand.ts
|
|
680
737
|
|
|
681
738
|
|
|
682
739
|
|
|
683
|
-
var
|
|
740
|
+
var GetAgreementTermsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
684
741
|
return [
|
|
685
742
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
686
743
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
687
744
|
];
|
|
688
745
|
}).s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {}).n("MarketplaceAgreementClient", "GetAgreementTermsCommand").f(void 0, void 0).ser(se_GetAgreementTermsCommand).de(de_GetAgreementTermsCommand).build() {
|
|
746
|
+
static {
|
|
747
|
+
__name(this, "GetAgreementTermsCommand");
|
|
748
|
+
}
|
|
689
749
|
};
|
|
690
|
-
__name(_GetAgreementTermsCommand, "GetAgreementTermsCommand");
|
|
691
|
-
var GetAgreementTermsCommand = _GetAgreementTermsCommand;
|
|
692
750
|
|
|
693
751
|
// src/commands/SearchAgreementsCommand.ts
|
|
694
752
|
|
|
695
753
|
|
|
696
754
|
|
|
697
|
-
var
|
|
755
|
+
var SearchAgreementsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
698
756
|
return [
|
|
699
757
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
700
758
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
701
759
|
];
|
|
702
760
|
}).s("AWSMPCommerceService_v20200301", "SearchAgreements", {}).n("MarketplaceAgreementClient", "SearchAgreementsCommand").f(void 0, void 0).ser(se_SearchAgreementsCommand).de(de_SearchAgreementsCommand).build() {
|
|
761
|
+
static {
|
|
762
|
+
__name(this, "SearchAgreementsCommand");
|
|
763
|
+
}
|
|
703
764
|
};
|
|
704
|
-
__name(_SearchAgreementsCommand, "SearchAgreementsCommand");
|
|
705
|
-
var SearchAgreementsCommand = _SearchAgreementsCommand;
|
|
706
765
|
|
|
707
766
|
// src/MarketplaceAgreement.ts
|
|
708
767
|
var commands = {
|
|
@@ -710,10 +769,11 @@ var commands = {
|
|
|
710
769
|
GetAgreementTermsCommand,
|
|
711
770
|
SearchAgreementsCommand
|
|
712
771
|
};
|
|
713
|
-
var
|
|
772
|
+
var MarketplaceAgreement = class extends MarketplaceAgreementClient {
|
|
773
|
+
static {
|
|
774
|
+
__name(this, "MarketplaceAgreement");
|
|
775
|
+
}
|
|
714
776
|
};
|
|
715
|
-
__name(_MarketplaceAgreement, "MarketplaceAgreement");
|
|
716
|
-
var MarketplaceAgreement = _MarketplaceAgreement;
|
|
717
777
|
(0, import_smithy_client.createAggregatedClient)(commands, MarketplaceAgreement);
|
|
718
778
|
|
|
719
779
|
// src/pagination/GetAgreementTermsPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class MarketplaceAgreementClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -28,14 +28,15 @@ export var AcceptedTerm;
|
|
|
28
28
|
};
|
|
29
29
|
})(AcceptedTerm || (AcceptedTerm = {}));
|
|
30
30
|
export class AccessDeniedException extends __BaseException {
|
|
31
|
+
name = "AccessDeniedException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
requestId;
|
|
31
34
|
constructor(opts) {
|
|
32
35
|
super({
|
|
33
36
|
name: "AccessDeniedException",
|
|
34
37
|
$fault: "client",
|
|
35
38
|
...opts,
|
|
36
39
|
});
|
|
37
|
-
this.name = "AccessDeniedException";
|
|
38
|
-
this.$fault = "client";
|
|
39
40
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
40
41
|
this.requestId = opts.requestId;
|
|
41
42
|
}
|
|
@@ -52,14 +53,15 @@ export const AgreementStatus = {
|
|
|
52
53
|
TERMINATED: "TERMINATED",
|
|
53
54
|
};
|
|
54
55
|
export class InternalServerException extends __BaseException {
|
|
56
|
+
name = "InternalServerException";
|
|
57
|
+
$fault = "server";
|
|
58
|
+
requestId;
|
|
55
59
|
constructor(opts) {
|
|
56
60
|
super({
|
|
57
61
|
name: "InternalServerException",
|
|
58
62
|
$fault: "server",
|
|
59
63
|
...opts,
|
|
60
64
|
});
|
|
61
|
-
this.name = "InternalServerException";
|
|
62
|
-
this.$fault = "server";
|
|
63
65
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
64
66
|
this.requestId = opts.requestId;
|
|
65
67
|
}
|
|
@@ -68,14 +70,17 @@ export const ResourceType = {
|
|
|
68
70
|
AGREEMENT: "Agreement",
|
|
69
71
|
};
|
|
70
72
|
export class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
name = "ResourceNotFoundException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
requestId;
|
|
76
|
+
resourceId;
|
|
77
|
+
resourceType;
|
|
71
78
|
constructor(opts) {
|
|
72
79
|
super({
|
|
73
80
|
name: "ResourceNotFoundException",
|
|
74
81
|
$fault: "client",
|
|
75
82
|
...opts,
|
|
76
83
|
});
|
|
77
|
-
this.name = "ResourceNotFoundException";
|
|
78
|
-
this.$fault = "client";
|
|
79
84
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
85
|
this.requestId = opts.requestId;
|
|
81
86
|
this.resourceId = opts.resourceId;
|
|
@@ -83,14 +88,15 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
83
88
|
}
|
|
84
89
|
}
|
|
85
90
|
export class ThrottlingException extends __BaseException {
|
|
91
|
+
name = "ThrottlingException";
|
|
92
|
+
$fault = "client";
|
|
93
|
+
requestId;
|
|
86
94
|
constructor(opts) {
|
|
87
95
|
super({
|
|
88
96
|
name: "ThrottlingException",
|
|
89
97
|
$fault: "client",
|
|
90
98
|
...opts,
|
|
91
99
|
});
|
|
92
|
-
this.name = "ThrottlingException";
|
|
93
|
-
this.$fault = "client";
|
|
94
100
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
95
101
|
this.requestId = opts.requestId;
|
|
96
102
|
}
|
|
@@ -109,14 +115,17 @@ export const ValidationExceptionReason = {
|
|
|
109
115
|
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
110
116
|
};
|
|
111
117
|
export class ValidationException extends __BaseException {
|
|
118
|
+
name = "ValidationException";
|
|
119
|
+
$fault = "client";
|
|
120
|
+
requestId;
|
|
121
|
+
reason;
|
|
122
|
+
fields;
|
|
112
123
|
constructor(opts) {
|
|
113
124
|
super({
|
|
114
125
|
name: "ValidationException",
|
|
115
126
|
$fault: "client",
|
|
116
127
|
...opts,
|
|
117
128
|
});
|
|
118
|
-
this.name = "ValidationException";
|
|
119
|
-
this.$fault = "client";
|
|
120
129
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
121
130
|
this.requestId = opts.requestId;
|
|
122
131
|
this.reason = opts.reason;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MarketplaceAgreementClientConfig
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MarketplaceAgreementClientConfig
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MarketplaceAgreementClientConfig
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MarketplaceAgreementClientConfig
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-agreement",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-marketplace-agreement",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|