@aws-sdk/client-marketplace-discovery 3.1027.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/LICENSE +201 -0
- package/README.md +244 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +463 -0
- package/dist-cjs/models/MarketplaceDiscoveryServiceException.js +12 -0
- package/dist-cjs/models/errors.js +71 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +54 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +951 -0
- package/dist-es/MarketplaceDiscovery.js +37 -0
- package/dist-es/MarketplaceDiscoveryClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/GetListingCommand.js +16 -0
- package/dist-es/commands/GetOfferCommand.js +16 -0
- package/dist-es/commands/GetOfferSetCommand.js +16 -0
- package/dist-es/commands/GetOfferTermsCommand.js +16 -0
- package/dist-es/commands/GetProductCommand.js +16 -0
- package/dist-es/commands/ListFulfillmentOptionsCommand.js +16 -0
- package/dist-es/commands/ListPurchaseOptionsCommand.js +16 -0
- package/dist-es/commands/SearchFacetsCommand.js +16 -0
- package/dist-es/commands/SearchListingsCommand.js +16 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/MarketplaceDiscoveryServiceException.js +8 -0
- package/dist-es/models/enums.js +146 -0
- package/dist-es/models/errors.js +63 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetOfferTermsPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFulfillmentOptionsPaginator.js +4 -0
- package/dist-es/pagination/ListPurchaseOptionsPaginator.js +4 -0
- package/dist-es/pagination/SearchFacetsPaginator.js +4 -0
- package/dist-es/pagination/SearchListingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +49 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +946 -0
- package/dist-types/MarketplaceDiscovery.d.ts +111 -0
- package/dist-types/MarketplaceDiscoveryClient.d.ts +196 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetListingCommand.d.ts +579 -0
- package/dist-types/commands/GetOfferCommand.d.ts +314 -0
- package/dist-types/commands/GetOfferSetCommand.d.ts +192 -0
- package/dist-types/commands/GetOfferTermsCommand.d.ts +690 -0
- package/dist-types/commands/GetProductCommand.d.ts +379 -0
- package/dist-types/commands/ListFulfillmentOptionsCommand.d.ts +668 -0
- package/dist-types/commands/ListPurchaseOptionsCommand.d.ts +285 -0
- package/dist-types/commands/SearchFacetsCommand.d.ts +241 -0
- package/dist-types/commands/SearchListingsCommand.d.ts +263 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/MarketplaceDiscoveryServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +338 -0
- package/dist-types/models/errors.d.ts +68 -0
- package/dist-types/models/models_0.d.ts +2881 -0
- package/dist-types/pagination/GetOfferTermsPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFulfillmentOptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPurchaseOptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchFacetsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchListingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +114 -0
- package/dist-types/ts3.4/MarketplaceDiscovery.d.ts +202 -0
- package/dist-types/ts3.4/MarketplaceDiscoveryClient.d.ts +175 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetListingCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOfferCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOfferSetCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOfferTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetProductCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListFulfillmentOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPurchaseOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchFacetsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SearchListingsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/MarketplaceDiscoveryServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +191 -0
- package/dist-types/ts3.4/models/errors.d.ts +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1048 -0
- package/dist-types/ts3.4/pagination/GetOfferTermsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListFulfillmentOptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPurchaseOptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchFacetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchListingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +114 -0
- package/package.json +100 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDiscoveryClient";
|
|
4
|
+
import type { SearchListingsInput, SearchListingsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SearchListingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SearchListingsCommandInput extends SearchListingsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SearchListingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SearchListingsCommandOutput extends SearchListingsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SearchListingsCommand_base: {
|
|
25
|
+
new (input: SearchListingsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchListingsCommandInput, SearchListingsCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SearchListingsCommandInput]): import("@smithy/smithy-client").CommandImpl<SearchListingsCommandInput, SearchListingsCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of product listings based on search criteria and filters. You can search by keyword, filter by category, pricing model, fulfillment type, and other attributes, and sort results by relevance or customer rating.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MarketplaceDiscoveryClient, SearchListingsCommand } from "@aws-sdk/client-marketplace-discovery"; // ES Modules import
|
|
35
|
+
* // const { MarketplaceDiscoveryClient, SearchListingsCommand } = require("@aws-sdk/client-marketplace-discovery"); // CommonJS import
|
|
36
|
+
* // import type { MarketplaceDiscoveryClientConfig } from "@aws-sdk/client-marketplace-discovery";
|
|
37
|
+
* const config = {}; // type is MarketplaceDiscoveryClientConfig
|
|
38
|
+
* const client = new MarketplaceDiscoveryClient(config);
|
|
39
|
+
* const input = { // SearchListingsInput
|
|
40
|
+
* searchText: "STRING_VALUE",
|
|
41
|
+
* filters: [ // SearchFilterList
|
|
42
|
+
* { // SearchFilter
|
|
43
|
+
* filterType: "MIN_AVERAGE_CUSTOMER_RATING" || "MAX_AVERAGE_CUSTOMER_RATING" || "CATEGORY" || "PUBLISHER" || "FULFILLMENT_OPTION_TYPE" || "PRICING_MODEL" || "PRICING_UNIT" || "DEPLOYED_ON_AWS" || "NUMBER_OF_PRODUCTS", // required
|
|
44
|
+
* filterValues: [ // SearchFilterValueList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* maxResults: Number("int"),
|
|
50
|
+
* sortBy: "RELEVANCE" || "AVERAGE_CUSTOMER_RATING",
|
|
51
|
+
* sortOrder: "DESCENDING" || "ASCENDING",
|
|
52
|
+
* nextToken: "STRING_VALUE",
|
|
53
|
+
* };
|
|
54
|
+
* const command = new SearchListingsCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // SearchListingsOutput
|
|
57
|
+
* // totalResults: Number("long"), // required
|
|
58
|
+
* // listingSummaries: [ // ListingSummaryList // required
|
|
59
|
+
* // { // ListingSummary
|
|
60
|
+
* // listingId: "STRING_VALUE", // required
|
|
61
|
+
* // listingName: "STRING_VALUE", // required
|
|
62
|
+
* // publisher: { // SellerInformation
|
|
63
|
+
* // sellerProfileId: "STRING_VALUE", // required
|
|
64
|
+
* // displayName: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // catalog: "STRING_VALUE", // required
|
|
67
|
+
* // shortDescription: "STRING_VALUE", // required
|
|
68
|
+
* // logoThumbnailUrl: "STRING_VALUE", // required
|
|
69
|
+
* // categories: [ // CategoryList // required
|
|
70
|
+
* // { // Category
|
|
71
|
+
* // categoryId: "STRING_VALUE", // required
|
|
72
|
+
* // displayName: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // fulfillmentOptionSummaries: [ // FulfillmentOptionSummaryList // required
|
|
76
|
+
* // { // FulfillmentOptionSummary
|
|
77
|
+
* // fulfillmentOptionType: "AMAZON_MACHINE_IMAGE" || "API" || "CLOUDFORMATION_TEMPLATE" || "CONTAINER" || "HELM" || "EKS_ADD_ON" || "EC2_IMAGE_BUILDER_COMPONENT" || "DATA_EXCHANGE" || "PROFESSIONAL_SERVICES" || "SAAS" || "SAGEMAKER_ALGORITHM" || "SAGEMAKER_MODEL", // required
|
|
78
|
+
* // displayName: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // badges: [ // ListingBadgeList // required
|
|
82
|
+
* // { // ListingBadge
|
|
83
|
+
* // displayName: "STRING_VALUE", // required
|
|
84
|
+
* // badgeType: "AWS_FREE_TIER" || "FREE_TRIAL" || "DEPLOYED_ON_AWS" || "QUICK_LAUNCH" || "MULTI_PRODUCT", // required
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // reviewSummary: { // ReviewSummary
|
|
88
|
+
* // reviewSourceSummaries: [ // ReviewSourceSummaryList // required
|
|
89
|
+
* // { // ReviewSourceSummary
|
|
90
|
+
* // sourceName: "STRING_VALUE", // required
|
|
91
|
+
* // sourceId: "AWS_MARKETPLACE", // required
|
|
92
|
+
* // sourceUrl: "STRING_VALUE",
|
|
93
|
+
* // averageRating: "STRING_VALUE", // required
|
|
94
|
+
* // totalReviews: Number("long"), // required
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // },
|
|
98
|
+
* // pricingModels: [ // PricingModelList // required
|
|
99
|
+
* // { // PricingModel
|
|
100
|
+
* // pricingModelType: "USAGE" || "CONTRACT" || "BYOL" || "FREE", // required
|
|
101
|
+
* // displayName: "STRING_VALUE", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // pricingUnits: [ // PricingUnitList // required
|
|
105
|
+
* // { // PricingUnit
|
|
106
|
+
* // pricingUnitType: "USERS" || "HOSTS" || "BANDWIDTH" || "DATA" || "TIERS" || "REQUESTS" || "UNITS", // required
|
|
107
|
+
* // displayName: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // associatedEntities: [ // ListingSummaryAssociatedEntityList // required
|
|
111
|
+
* // { // ListingSummaryAssociatedEntity
|
|
112
|
+
* // product: { // ProductInformation
|
|
113
|
+
* // productId: "STRING_VALUE", // required
|
|
114
|
+
* // productName: "STRING_VALUE", // required
|
|
115
|
+
* // manufacturer: {
|
|
116
|
+
* // sellerProfileId: "STRING_VALUE", // required
|
|
117
|
+
* // displayName: "STRING_VALUE", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // nextToken: "STRING_VALUE",
|
|
125
|
+
* // };
|
|
126
|
+
*
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @param SearchListingsCommandInput - {@link SearchListingsCommandInput}
|
|
130
|
+
* @returns {@link SearchListingsCommandOutput}
|
|
131
|
+
* @see {@link SearchListingsCommandInput} for command's `input` shape.
|
|
132
|
+
* @see {@link SearchListingsCommandOutput} for command's `response` shape.
|
|
133
|
+
* @see {@link MarketplaceDiscoveryClientResolvedConfig | config} for MarketplaceDiscoveryClient's `config` shape.
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
136
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link InternalServerException} (server fault)
|
|
139
|
+
* <p>Unexpected error during processing of the request.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
142
|
+
* <p>The request was denied due to request throttling.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ValidationException} (client fault)
|
|
145
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link MarketplaceDiscoveryServiceException}
|
|
148
|
+
* <p>Base exception class for all service exceptions from MarketplaceDiscovery service.</p>
|
|
149
|
+
*
|
|
150
|
+
*
|
|
151
|
+
* @example Search for machine learning listings
|
|
152
|
+
* ```javascript
|
|
153
|
+
* // Search for SaaS listings in the machine learning category with sorting by relevance
|
|
154
|
+
* const input = {
|
|
155
|
+
* filters: [
|
|
156
|
+
* {
|
|
157
|
+
* filterType: "CATEGORY",
|
|
158
|
+
* filterValues: [
|
|
159
|
+
* "machine-learning"
|
|
160
|
+
* ]
|
|
161
|
+
* },
|
|
162
|
+
* {
|
|
163
|
+
* filterType: "FULFILLMENT_OPTION_TYPE",
|
|
164
|
+
* filterValues: [
|
|
165
|
+
* "SAAS"
|
|
166
|
+
* ]
|
|
167
|
+
* }
|
|
168
|
+
* ],
|
|
169
|
+
* maxResults: 25,
|
|
170
|
+
* searchText: "computer vision",
|
|
171
|
+
* sortBy: "RELEVANCE",
|
|
172
|
+
* sortOrder: "DESCENDING"
|
|
173
|
+
* };
|
|
174
|
+
* const command = new SearchListingsCommand(input);
|
|
175
|
+
* const response = await client.send(command);
|
|
176
|
+
* /* response is
|
|
177
|
+
* {
|
|
178
|
+
* listingSummaries: [
|
|
179
|
+
* {
|
|
180
|
+
* associatedEntities: [
|
|
181
|
+
* {
|
|
182
|
+
* product: {
|
|
183
|
+
* manufacturer: {
|
|
184
|
+
* displayName: "sample search seller",
|
|
185
|
+
* sellerProfileId: "seller-sampleSearchId"
|
|
186
|
+
* },
|
|
187
|
+
* productId: "prod-sampleSearchId",
|
|
188
|
+
* productName: "sample search product"
|
|
189
|
+
* }
|
|
190
|
+
* }
|
|
191
|
+
* ],
|
|
192
|
+
* badges: [
|
|
193
|
+
* {
|
|
194
|
+
* badgeType: "FREE_TRIAL",
|
|
195
|
+
* displayName: "Free Trial"
|
|
196
|
+
* }
|
|
197
|
+
* ],
|
|
198
|
+
* catalog: "AWSMarketplace",
|
|
199
|
+
* categories: [
|
|
200
|
+
* {
|
|
201
|
+
* categoryId: "machine-learning",
|
|
202
|
+
* displayName: "Machine Learning"
|
|
203
|
+
* }
|
|
204
|
+
* ],
|
|
205
|
+
* fulfillmentOptionSummaries: [
|
|
206
|
+
* {
|
|
207
|
+
* displayName: "SaaS",
|
|
208
|
+
* fulfillmentOptionType: "SAAS"
|
|
209
|
+
* }
|
|
210
|
+
* ],
|
|
211
|
+
* listingId: "prodview-sampleSearchId",
|
|
212
|
+
* listingName: "sample search listing",
|
|
213
|
+
* logoThumbnailUrl: "https://awsmp-logos.s3.amazonaws.com/product-logos/ai-vision-pro.png",
|
|
214
|
+
* pricingModels: [
|
|
215
|
+
* {
|
|
216
|
+
* displayName: "Usage",
|
|
217
|
+
* pricingModelType: "USAGE"
|
|
218
|
+
* }
|
|
219
|
+
* ],
|
|
220
|
+
* pricingUnits: [
|
|
221
|
+
* {
|
|
222
|
+
* displayName: "Requests",
|
|
223
|
+
* pricingUnitType: "REQUESTS"
|
|
224
|
+
* }
|
|
225
|
+
* ],
|
|
226
|
+
* publisher: {
|
|
227
|
+
* displayName: "sample search seller",
|
|
228
|
+
* sellerProfileId: "seller-sampleSearchId"
|
|
229
|
+
* },
|
|
230
|
+
* reviewSummary: {
|
|
231
|
+
* reviewSourceSummaries: [
|
|
232
|
+
* {
|
|
233
|
+
* averageRating: "4.5",
|
|
234
|
+
* sourceId: "AWS_MARKETPLACE",
|
|
235
|
+
* sourceName: "AWS Marketplace",
|
|
236
|
+
* totalReviews: 100
|
|
237
|
+
* }
|
|
238
|
+
* ]
|
|
239
|
+
* },
|
|
240
|
+
* shortDescription: "Advanced computer vision solution for object detection and classification."
|
|
241
|
+
* }
|
|
242
|
+
* ],
|
|
243
|
+
* nextToken: "eyJsYXN0RXZhbHVhdGVkS2V5Ijp7Imxpc3RpbmdJZCI6InByb2R2aWV3LXNhbXBsZVNlYXJjaElkIn19",
|
|
244
|
+
* totalResults: 1250
|
|
245
|
+
* }
|
|
246
|
+
* *\/
|
|
247
|
+
* ```
|
|
248
|
+
*
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export declare class SearchListingsCommand extends SearchListingsCommand_base {
|
|
252
|
+
/** @internal type navigation helper, not in runtime. */
|
|
253
|
+
protected static __types: {
|
|
254
|
+
api: {
|
|
255
|
+
input: SearchListingsInput;
|
|
256
|
+
output: SearchListingsOutput;
|
|
257
|
+
};
|
|
258
|
+
sdk: {
|
|
259
|
+
input: SearchListingsCommandInput;
|
|
260
|
+
output: SearchListingsCommandOutput;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./GetListingCommand";
|
|
2
|
+
export * from "./GetOfferCommand";
|
|
3
|
+
export * from "./GetOfferSetCommand";
|
|
4
|
+
export * from "./GetOfferTermsCommand";
|
|
5
|
+
export * from "./GetProductCommand";
|
|
6
|
+
export * from "./ListFulfillmentOptionsCommand";
|
|
7
|
+
export * from "./ListPurchaseOptionsCommand";
|
|
8
|
+
export * from "./SearchFacetsCommand";
|
|
9
|
+
export * from "./SearchListingsCommand";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
14
|
+
defaultSigningName: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const commonParams: {
|
|
24
|
+
readonly UseFIPS: {
|
|
25
|
+
readonly type: "builtInParams";
|
|
26
|
+
readonly name: "useFipsEndpoint";
|
|
27
|
+
};
|
|
28
|
+
readonly Endpoint: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "endpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Region: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "region";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
41
|
+
UseFIPS?: boolean | undefined;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
|
+
Region?: string | undefined;
|
|
44
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface MarketplaceDiscoveryExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>The AWS Marketplace Discovery API provides programmatic access to the AWS Marketplace catalog, including searching and browsing listings, retrieving product details and fulfillment options, and accessing public and private offer pricing and terms.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./MarketplaceDiscoveryClient";
|
|
7
|
+
export * from "./MarketplaceDiscovery";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { MarketplaceDiscoveryExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export * from "./models/models_0";
|
|
17
|
+
export { MarketplaceDiscoveryServiceException } from "./models/MarketplaceDiscoveryServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from MarketplaceDiscovery service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class MarketplaceDiscoveryServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|