@aws-sdk/client-marketplace-discovery 3.1076.0 → 3.1078.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 +20 -95
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/GetListingCommand.js +2 -14
- package/dist-es/commands/GetOfferCommand.js +2 -14
- package/dist-es/commands/GetOfferSetCommand.js +2 -14
- package/dist-es/commands/GetOfferTermsCommand.js +2 -14
- package/dist-es/commands/GetProductCommand.js +2 -14
- package/dist-es/commands/ListFulfillmentOptionsCommand.js +2 -14
- package/dist-es/commands/ListPurchaseOptionsCommand.js +2 -14
- package/dist-es/commands/SearchFacetsCommand.js +2 -14
- package/dist-es/commands/SearchListingsCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/GetListingCommand.d.ts +3 -8
- package/dist-types/commands/GetOfferCommand.d.ts +3 -8
- package/dist-types/commands/GetOfferSetCommand.d.ts +3 -8
- package/dist-types/commands/GetOfferTermsCommand.d.ts +3 -8
- package/dist-types/commands/GetProductCommand.d.ts +3 -8
- package/dist-types/commands/ListFulfillmentOptionsCommand.d.ts +3 -8
- package/dist-types/commands/ListPurchaseOptionsCommand.d.ts +3 -8
- package/dist-types/commands/SearchFacetsCommand.d.ts +3 -8
- package/dist-types/commands/SearchListingsCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- 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/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetListingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetOfferCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetOfferSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetOfferTermsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetProductCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFulfillmentOptionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPurchaseOptionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchFacetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchListingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultMarketplaceDiscoveryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -65,7 +67,7 @@ const commonParams = {
|
|
|
65
67
|
Region: { type: "builtInParams", name: "region" },
|
|
66
68
|
};
|
|
67
69
|
|
|
68
|
-
var version = "3.
|
|
70
|
+
var version = "3.1077.0";
|
|
69
71
|
var packageInfo = {
|
|
70
72
|
version: version};
|
|
71
73
|
|
|
@@ -1145,6 +1147,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1145
1147
|
serviceTarget: "AWSMarketplaceDiscovery",
|
|
1146
1148
|
},
|
|
1147
1149
|
serviceId: config?.serviceId ?? "Marketplace Discovery",
|
|
1150
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1148
1151
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1149
1152
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1150
1153
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1178,7 +1181,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1178
1181
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1179
1182
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1180
1183
|
}, config),
|
|
1181
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1182
1184
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1183
1185
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1184
1186
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1266,112 +1268,35 @@ class MarketplaceDiscoveryClient extends Client {
|
|
|
1266
1268
|
}
|
|
1267
1269
|
}
|
|
1268
1270
|
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
})
|
|
1275
|
-
.s("AWSMarketplaceDiscovery", "GetListing", {})
|
|
1276
|
-
.n("MarketplaceDiscoveryClient", "GetListingCommand")
|
|
1277
|
-
.sc(GetListing$)
|
|
1278
|
-
.build() {
|
|
1271
|
+
const command = makeBuilder(commonParams, "AWSMarketplaceDiscovery", "MarketplaceDiscoveryClient", getEndpointPlugin);
|
|
1272
|
+
const _ep0 = {};
|
|
1273
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1274
|
+
|
|
1275
|
+
class GetListingCommand extends command(_ep0, _mw0, "GetListing", GetListing$) {
|
|
1279
1276
|
}
|
|
1280
1277
|
|
|
1281
|
-
class GetOfferCommand extends
|
|
1282
|
-
.classBuilder()
|
|
1283
|
-
.ep(commonParams)
|
|
1284
|
-
.m(function (Command, cs, config, o) {
|
|
1285
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1286
|
-
})
|
|
1287
|
-
.s("AWSMarketplaceDiscovery", "GetOffer", {})
|
|
1288
|
-
.n("MarketplaceDiscoveryClient", "GetOfferCommand")
|
|
1289
|
-
.sc(GetOffer$)
|
|
1290
|
-
.build() {
|
|
1278
|
+
class GetOfferCommand extends command(_ep0, _mw0, "GetOffer", GetOffer$) {
|
|
1291
1279
|
}
|
|
1292
1280
|
|
|
1293
|
-
class GetOfferSetCommand extends
|
|
1294
|
-
.classBuilder()
|
|
1295
|
-
.ep(commonParams)
|
|
1296
|
-
.m(function (Command, cs, config, o) {
|
|
1297
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1298
|
-
})
|
|
1299
|
-
.s("AWSMarketplaceDiscovery", "GetOfferSet", {})
|
|
1300
|
-
.n("MarketplaceDiscoveryClient", "GetOfferSetCommand")
|
|
1301
|
-
.sc(GetOfferSet$)
|
|
1302
|
-
.build() {
|
|
1281
|
+
class GetOfferSetCommand extends command(_ep0, _mw0, "GetOfferSet", GetOfferSet$) {
|
|
1303
1282
|
}
|
|
1304
1283
|
|
|
1305
|
-
class GetOfferTermsCommand extends
|
|
1306
|
-
.classBuilder()
|
|
1307
|
-
.ep(commonParams)
|
|
1308
|
-
.m(function (Command, cs, config, o) {
|
|
1309
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1310
|
-
})
|
|
1311
|
-
.s("AWSMarketplaceDiscovery", "GetOfferTerms", {})
|
|
1312
|
-
.n("MarketplaceDiscoveryClient", "GetOfferTermsCommand")
|
|
1313
|
-
.sc(GetOfferTerms$)
|
|
1314
|
-
.build() {
|
|
1284
|
+
class GetOfferTermsCommand extends command(_ep0, _mw0, "GetOfferTerms", GetOfferTerms$) {
|
|
1315
1285
|
}
|
|
1316
1286
|
|
|
1317
|
-
class GetProductCommand extends
|
|
1318
|
-
.classBuilder()
|
|
1319
|
-
.ep(commonParams)
|
|
1320
|
-
.m(function (Command, cs, config, o) {
|
|
1321
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1322
|
-
})
|
|
1323
|
-
.s("AWSMarketplaceDiscovery", "GetProduct", {})
|
|
1324
|
-
.n("MarketplaceDiscoveryClient", "GetProductCommand")
|
|
1325
|
-
.sc(GetProduct$)
|
|
1326
|
-
.build() {
|
|
1287
|
+
class GetProductCommand extends command(_ep0, _mw0, "GetProduct", GetProduct$) {
|
|
1327
1288
|
}
|
|
1328
1289
|
|
|
1329
|
-
class ListFulfillmentOptionsCommand extends
|
|
1330
|
-
.classBuilder()
|
|
1331
|
-
.ep(commonParams)
|
|
1332
|
-
.m(function (Command, cs, config, o) {
|
|
1333
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1334
|
-
})
|
|
1335
|
-
.s("AWSMarketplaceDiscovery", "ListFulfillmentOptions", {})
|
|
1336
|
-
.n("MarketplaceDiscoveryClient", "ListFulfillmentOptionsCommand")
|
|
1337
|
-
.sc(ListFulfillmentOptions$)
|
|
1338
|
-
.build() {
|
|
1290
|
+
class ListFulfillmentOptionsCommand extends command(_ep0, _mw0, "ListFulfillmentOptions", ListFulfillmentOptions$) {
|
|
1339
1291
|
}
|
|
1340
1292
|
|
|
1341
|
-
class ListPurchaseOptionsCommand extends
|
|
1342
|
-
.classBuilder()
|
|
1343
|
-
.ep(commonParams)
|
|
1344
|
-
.m(function (Command, cs, config, o) {
|
|
1345
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1346
|
-
})
|
|
1347
|
-
.s("AWSMarketplaceDiscovery", "ListPurchaseOptions", {})
|
|
1348
|
-
.n("MarketplaceDiscoveryClient", "ListPurchaseOptionsCommand")
|
|
1349
|
-
.sc(ListPurchaseOptions$)
|
|
1350
|
-
.build() {
|
|
1293
|
+
class ListPurchaseOptionsCommand extends command(_ep0, _mw0, "ListPurchaseOptions", ListPurchaseOptions$) {
|
|
1351
1294
|
}
|
|
1352
1295
|
|
|
1353
|
-
class SearchFacetsCommand extends
|
|
1354
|
-
.classBuilder()
|
|
1355
|
-
.ep(commonParams)
|
|
1356
|
-
.m(function (Command, cs, config, o) {
|
|
1357
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1358
|
-
})
|
|
1359
|
-
.s("AWSMarketplaceDiscovery", "SearchFacets", {})
|
|
1360
|
-
.n("MarketplaceDiscoveryClient", "SearchFacetsCommand")
|
|
1361
|
-
.sc(SearchFacets$)
|
|
1362
|
-
.build() {
|
|
1296
|
+
class SearchFacetsCommand extends command(_ep0, _mw0, "SearchFacets", SearchFacets$) {
|
|
1363
1297
|
}
|
|
1364
1298
|
|
|
1365
|
-
class SearchListingsCommand extends
|
|
1366
|
-
.classBuilder()
|
|
1367
|
-
.ep(commonParams)
|
|
1368
|
-
.m(function (Command, cs, config, o) {
|
|
1369
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1370
|
-
})
|
|
1371
|
-
.s("AWSMarketplaceDiscovery", "SearchListings", {})
|
|
1372
|
-
.n("MarketplaceDiscoveryClient", "SearchListingsCommand")
|
|
1373
|
-
.sc(SearchListings$)
|
|
1374
|
-
.build() {
|
|
1299
|
+
class SearchListingsCommand extends command(_ep0, _mw0, "SearchListings", SearchListings$) {
|
|
1375
1300
|
}
|
|
1376
1301
|
|
|
1377
1302
|
const paginateGetOfferTerms = createPaginator(MarketplaceDiscoveryClient, GetOfferTermsCommand, "nextToken", "nextToken", "");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AWSMarketplaceDiscovery", "MarketplaceDiscoveryClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetListing$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetListingCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "GetListing", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "GetListingCommand")
|
|
14
|
-
.sc(GetListing$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetListingCommand extends command(_ep0, _mw0, "GetListing", GetListing$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetOffer$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetOfferCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "GetOffer", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "GetOfferCommand")
|
|
14
|
-
.sc(GetOffer$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetOfferCommand extends command(_ep0, _mw0, "GetOffer", GetOffer$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetOfferSet$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetOfferSetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "GetOfferSet", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "GetOfferSetCommand")
|
|
14
|
-
.sc(GetOfferSet$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetOfferSetCommand extends command(_ep0, _mw0, "GetOfferSet", GetOfferSet$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetOfferTerms$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetOfferTermsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "GetOfferTerms", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "GetOfferTermsCommand")
|
|
14
|
-
.sc(GetOfferTerms$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetOfferTermsCommand extends command(_ep0, _mw0, "GetOfferTerms", GetOfferTerms$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetProduct$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetProductCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "GetProduct", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "GetProductCommand")
|
|
14
|
-
.sc(GetProduct$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetProductCommand extends command(_ep0, _mw0, "GetProduct", GetProduct$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListFulfillmentOptions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListFulfillmentOptionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "ListFulfillmentOptions", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "ListFulfillmentOptionsCommand")
|
|
14
|
-
.sc(ListFulfillmentOptions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListFulfillmentOptionsCommand extends command(_ep0, _mw0, "ListFulfillmentOptions", ListFulfillmentOptions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPurchaseOptions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPurchaseOptionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "ListPurchaseOptions", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "ListPurchaseOptionsCommand")
|
|
14
|
-
.sc(ListPurchaseOptions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPurchaseOptionsCommand extends command(_ep0, _mw0, "ListPurchaseOptions", ListPurchaseOptions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchFacets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchFacetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "SearchFacets", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "SearchFacetsCommand")
|
|
14
|
-
.sc(SearchFacets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchFacetsCommand extends command(_ep0, _mw0, "SearchFacets", SearchFacets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchListings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchListingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMarketplaceDiscovery", "SearchListings", {})
|
|
13
|
-
.n("MarketplaceDiscoveryClient", "SearchListingsCommand")
|
|
14
|
-
.sc(SearchListings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchListingsCommand extends command(_ep0, _mw0, "SearchListings", SearchListings$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./MarketplaceDiscoveryClient";
|
|
2
2
|
export * from "./MarketplaceDiscovery";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSMarketplaceDiscovery",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Marketplace Discovery",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./MarketplaceDiscoveryClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
2
|
import type { GetListingInput, GetListingOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetListingCommandInput extends GetListingInput {
|
|
|
22
19
|
export interface GetListingCommandOutput extends GetListingOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetListingCommand_base: {
|
|
25
|
-
new (input: GetListingCommandInput): import("@smithy/core/client").CommandImpl<GetListingCommandInput, GetListingCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetListingCommandInput): import("@smithy/core/client").CommandImpl<GetListingCommandInput, GetListingCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetListingCommandInput): import("@smithy/core/client").CommandImpl<GetListingCommandInput, GetListingCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetListingCommandInput): import("@smithy/core/client").CommandImpl<GetListingCommandInput, GetListingCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides details about a listing, such as descriptions, badges, categories, pricing model summaries, reviews, and associated products and offers.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
2
|
import type { GetOfferInput, GetOfferOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetOfferCommandInput extends GetOfferInput {
|
|
|
22
19
|
export interface GetOfferCommandOutput extends GetOfferOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetOfferCommand_base: {
|
|
25
|
-
new (input: GetOfferCommandInput): import("@smithy/core/client").CommandImpl<GetOfferCommandInput, GetOfferCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetOfferCommandInput): import("@smithy/core/client").CommandImpl<GetOfferCommandInput, GetOfferCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetOfferCommandInput): import("@smithy/core/client").CommandImpl<GetOfferCommandInput, GetOfferCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetOfferCommandInput): import("@smithy/core/client").CommandImpl<GetOfferCommandInput, GetOfferCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides details about an offer, such as the pricing model, seller of record, availability dates, badges, and associated products.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
2
|
import type { GetOfferSetInput, GetOfferSetOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetOfferSetCommandInput extends GetOfferSetInput {
|
|
|
22
19
|
export interface GetOfferSetCommandOutput extends GetOfferSetOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetOfferSetCommand_base: {
|
|
25
|
-
new (input: GetOfferSetCommandInput): import("@smithy/core/client").CommandImpl<GetOfferSetCommandInput, GetOfferSetCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetOfferSetCommandInput): import("@smithy/core/client").CommandImpl<GetOfferSetCommandInput, GetOfferSetCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetOfferSetCommandInput): import("@smithy/core/client").CommandImpl<GetOfferSetCommandInput, GetOfferSetCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetOfferSetCommandInput): import("@smithy/core/client").CommandImpl<GetOfferSetCommandInput, GetOfferSetCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides details about an offer set, which is a bundle of offers across multiple products. Includes the seller, availability dates, buyer notes, and associated product-offer pairs.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
2
|
import type { GetOfferTermsInput, GetOfferTermsOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetOfferTermsCommandInput extends GetOfferTermsInput {
|
|
|
22
19
|
export interface GetOfferTermsCommandOutput extends GetOfferTermsOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetOfferTermsCommand_base: {
|
|
25
|
-
new (input: GetOfferTermsCommandInput): import("@smithy/core/client").CommandImpl<GetOfferTermsCommandInput, GetOfferTermsCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetOfferTermsCommandInput): import("@smithy/core/client").CommandImpl<GetOfferTermsCommandInput, GetOfferTermsCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetOfferTermsCommandInput): import("@smithy/core/client").CommandImpl<GetOfferTermsCommandInput, GetOfferTermsCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetOfferTermsCommandInput): import("@smithy/core/client").CommandImpl<GetOfferTermsCommandInput, GetOfferTermsCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the terms attached to an offer, such as pricing terms (usage-based, contract, BYOL, free trial), legal terms, payment schedules, validity terms, support terms, and renewal terms.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
2
|
import type { GetProductInput, GetProductOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetProductCommandInput extends GetProductInput {
|
|
|
22
19
|
export interface GetProductCommandOutput extends GetProductOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetProductCommand_base: {
|
|
25
|
-
new (input: GetProductCommandInput): import("@smithy/core/client").CommandImpl<GetProductCommandInput, GetProductCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetProductCommandInput): import("@smithy/core/client").CommandImpl<GetProductCommandInput, GetProductCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetProductCommandInput): import("@smithy/core/client").CommandImpl<GetProductCommandInput, GetProductCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetProductCommandInput): import("@smithy/core/client").CommandImpl<GetProductCommandInput, GetProductCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides details about a product, such as descriptions, highlights, categories, fulfillment option summaries, promotional media, and seller engagement options.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
2
|
import type { ListFulfillmentOptionsInput, ListFulfillmentOptionsOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListFulfillmentOptionsCommandInput extends ListFulfillmentOptio
|
|
|
22
19
|
export interface ListFulfillmentOptionsCommandOutput extends ListFulfillmentOptionsOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListFulfillmentOptionsCommand_base: {
|
|
25
|
-
new (input: ListFulfillmentOptionsCommandInput): import("@smithy/core/client").CommandImpl<ListFulfillmentOptionsCommandInput, ListFulfillmentOptionsCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ListFulfillmentOptionsCommandInput): import("@smithy/core/client").CommandImpl<ListFulfillmentOptionsCommandInput, ListFulfillmentOptionsCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListFulfillmentOptionsCommandInput): import("@smithy/core/client").CommandImpl<ListFulfillmentOptionsCommandInput, ListFulfillmentOptionsCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListFulfillmentOptionsCommandInput): import("@smithy/core/client").CommandImpl<ListFulfillmentOptionsCommandInput, ListFulfillmentOptionsCommandOutput, import("..").MarketplaceDiscoveryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the fulfillment options available for a product, including deployment details such as version information, operating systems, usage instructions, and release notes.</p>
|