@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.
Files changed (122) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +244 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +463 -0
  7. package/dist-cjs/models/MarketplaceDiscoveryServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +71 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +54 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +951 -0
  14. package/dist-es/MarketplaceDiscovery.js +37 -0
  15. package/dist-es/MarketplaceDiscoveryClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/GetListingCommand.js +16 -0
  19. package/dist-es/commands/GetOfferCommand.js +16 -0
  20. package/dist-es/commands/GetOfferSetCommand.js +16 -0
  21. package/dist-es/commands/GetOfferTermsCommand.js +16 -0
  22. package/dist-es/commands/GetProductCommand.js +16 -0
  23. package/dist-es/commands/ListFulfillmentOptionsCommand.js +16 -0
  24. package/dist-es/commands/ListPurchaseOptionsCommand.js +16 -0
  25. package/dist-es/commands/SearchFacetsCommand.js +16 -0
  26. package/dist-es/commands/SearchListingsCommand.js +16 -0
  27. package/dist-es/commands/index.js +9 -0
  28. package/dist-es/endpoint/EndpointParameters.js +11 -0
  29. package/dist-es/endpoint/endpointResolver.js +14 -0
  30. package/dist-es/endpoint/ruleset.js +4 -0
  31. package/dist-es/extensionConfiguration.js +1 -0
  32. package/dist-es/index.js +9 -0
  33. package/dist-es/models/MarketplaceDiscoveryServiceException.js +8 -0
  34. package/dist-es/models/enums.js +146 -0
  35. package/dist-es/models/errors.js +63 -0
  36. package/dist-es/models/models_0.js +1 -0
  37. package/dist-es/pagination/GetOfferTermsPaginator.js +4 -0
  38. package/dist-es/pagination/Interfaces.js +1 -0
  39. package/dist-es/pagination/ListFulfillmentOptionsPaginator.js +4 -0
  40. package/dist-es/pagination/ListPurchaseOptionsPaginator.js +4 -0
  41. package/dist-es/pagination/SearchFacetsPaginator.js +4 -0
  42. package/dist-es/pagination/SearchListingsPaginator.js +4 -0
  43. package/dist-es/pagination/index.js +6 -0
  44. package/dist-es/runtimeConfig.browser.js +33 -0
  45. package/dist-es/runtimeConfig.js +49 -0
  46. package/dist-es/runtimeConfig.native.js +11 -0
  47. package/dist-es/runtimeConfig.shared.js +39 -0
  48. package/dist-es/runtimeExtensions.js +9 -0
  49. package/dist-es/schemas/schemas_0.js +946 -0
  50. package/dist-types/MarketplaceDiscovery.d.ts +111 -0
  51. package/dist-types/MarketplaceDiscoveryClient.d.ts +196 -0
  52. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  53. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  54. package/dist-types/commands/GetListingCommand.d.ts +579 -0
  55. package/dist-types/commands/GetOfferCommand.d.ts +314 -0
  56. package/dist-types/commands/GetOfferSetCommand.d.ts +192 -0
  57. package/dist-types/commands/GetOfferTermsCommand.d.ts +690 -0
  58. package/dist-types/commands/GetProductCommand.d.ts +379 -0
  59. package/dist-types/commands/ListFulfillmentOptionsCommand.d.ts +668 -0
  60. package/dist-types/commands/ListPurchaseOptionsCommand.d.ts +285 -0
  61. package/dist-types/commands/SearchFacetsCommand.d.ts +241 -0
  62. package/dist-types/commands/SearchListingsCommand.d.ts +263 -0
  63. package/dist-types/commands/index.d.ts +9 -0
  64. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  66. package/dist-types/endpoint/ruleset.d.ts +2 -0
  67. package/dist-types/extensionConfiguration.d.ts +9 -0
  68. package/dist-types/index.d.ts +17 -0
  69. package/dist-types/models/MarketplaceDiscoveryServiceException.d.ts +14 -0
  70. package/dist-types/models/enums.d.ts +338 -0
  71. package/dist-types/models/errors.d.ts +68 -0
  72. package/dist-types/models/models_0.d.ts +2881 -0
  73. package/dist-types/pagination/GetOfferTermsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/Interfaces.d.ts +8 -0
  75. package/dist-types/pagination/ListFulfillmentOptionsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListPurchaseOptionsPaginator.d.ts +7 -0
  77. package/dist-types/pagination/SearchFacetsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/SearchListingsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/index.d.ts +6 -0
  80. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  81. package/dist-types/runtimeConfig.d.ts +55 -0
  82. package/dist-types/runtimeConfig.native.d.ts +54 -0
  83. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  84. package/dist-types/runtimeExtensions.d.ts +17 -0
  85. package/dist-types/schemas/schemas_0.d.ts +114 -0
  86. package/dist-types/ts3.4/MarketplaceDiscovery.d.ts +202 -0
  87. package/dist-types/ts3.4/MarketplaceDiscoveryClient.d.ts +175 -0
  88. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  89. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/GetListingCommand.d.ts +47 -0
  91. package/dist-types/ts3.4/commands/GetOfferCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/GetOfferSetCommand.d.ts +47 -0
  93. package/dist-types/ts3.4/commands/GetOfferTermsCommand.d.ts +47 -0
  94. package/dist-types/ts3.4/commands/GetProductCommand.d.ts +47 -0
  95. package/dist-types/ts3.4/commands/ListFulfillmentOptionsCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListPurchaseOptionsCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/SearchFacetsCommand.d.ts +47 -0
  98. package/dist-types/ts3.4/commands/SearchListingsCommand.d.ts +47 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  100. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  101. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  102. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  103. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  104. package/dist-types/ts3.4/index.d.ts +12 -0
  105. package/dist-types/ts3.4/models/MarketplaceDiscoveryServiceException.d.ts +9 -0
  106. package/dist-types/ts3.4/models/enums.d.ts +191 -0
  107. package/dist-types/ts3.4/models/errors.d.ts +39 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +1048 -0
  109. package/dist-types/ts3.4/pagination/GetOfferTermsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  111. package/dist-types/ts3.4/pagination/ListFulfillmentOptionsPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/ListPurchaseOptionsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/SearchFacetsPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/SearchListingsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  116. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
  117. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  118. package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
  119. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
  120. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  121. package/dist-types/ts3.4/schemas/schemas_0.d.ts +114 -0
  122. package/package.json +100 -0
@@ -0,0 +1,314 @@
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 { GetOfferInput, GetOfferOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetOfferCommand}.
14
+ */
15
+ export interface GetOfferCommandInput extends GetOfferInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetOfferCommand}.
21
+ */
22
+ export interface GetOfferCommandOutput extends GetOfferOutput, __MetadataBearer {
23
+ }
24
+ declare const GetOfferCommand_base: {
25
+ new (input: GetOfferCommandInput): import("@smithy/smithy-client").CommandImpl<GetOfferCommandInput, GetOfferCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOfferCommandInput): import("@smithy/smithy-client").CommandImpl<GetOfferCommandInput, GetOfferCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Provides details about an offer, such as the pricing model, seller of record, availability dates, badges, and associated products.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MarketplaceDiscoveryClient, GetOfferCommand } from "@aws-sdk/client-marketplace-discovery"; // ES Modules import
35
+ * // const { MarketplaceDiscoveryClient, GetOfferCommand } = 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 = { // GetOfferInput
40
+ * offerId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetOfferCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetOfferOutput
45
+ * // offerId: "STRING_VALUE", // required
46
+ * // catalog: "STRING_VALUE", // required
47
+ * // offerName: "STRING_VALUE",
48
+ * // agreementProposalId: "STRING_VALUE", // required
49
+ * // expirationTime: new Date("TIMESTAMP"),
50
+ * // availableFromTime: new Date("TIMESTAMP"),
51
+ * // sellerOfRecord: { // SellerInformation
52
+ * // sellerProfileId: "STRING_VALUE", // required
53
+ * // displayName: "STRING_VALUE", // required
54
+ * // },
55
+ * // replacementAgreementId: "STRING_VALUE",
56
+ * // pricingModel: { // PricingModel
57
+ * // pricingModelType: "USAGE" || "CONTRACT" || "BYOL" || "FREE", // required
58
+ * // displayName: "STRING_VALUE", // required
59
+ * // },
60
+ * // badges: [ // PurchaseOptionBadgeList // required
61
+ * // { // PurchaseOptionBadge
62
+ * // displayName: "STRING_VALUE", // required
63
+ * // badgeType: "PRIVATE_PRICING" || "FUTURE_DATED" || "REPLACEMENT_OFFER", // required
64
+ * // },
65
+ * // ],
66
+ * // associatedEntities: [ // OfferAssociatedEntityList // required
67
+ * // { // OfferAssociatedEntity
68
+ * // product: { // ProductInformation
69
+ * // productId: "STRING_VALUE", // required
70
+ * // productName: "STRING_VALUE", // required
71
+ * // manufacturer: {
72
+ * // sellerProfileId: "STRING_VALUE", // required
73
+ * // displayName: "STRING_VALUE", // required
74
+ * // },
75
+ * // },
76
+ * // offerSet: { // OfferSetInformation
77
+ * // offerSetId: "STRING_VALUE", // required
78
+ * // sellerOfRecord: {
79
+ * // sellerProfileId: "STRING_VALUE", // required
80
+ * // displayName: "STRING_VALUE", // required
81
+ * // },
82
+ * // },
83
+ * // },
84
+ * // ],
85
+ * // };
86
+ *
87
+ * ```
88
+ *
89
+ * @param GetOfferCommandInput - {@link GetOfferCommandInput}
90
+ * @returns {@link GetOfferCommandOutput}
91
+ * @see {@link GetOfferCommandInput} for command's `input` shape.
92
+ * @see {@link GetOfferCommandOutput} for command's `response` shape.
93
+ * @see {@link MarketplaceDiscoveryClientResolvedConfig | config} for MarketplaceDiscoveryClient's `config` shape.
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The specified resource doesn't exist.</p>
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>You don't have sufficient access to perform this action.</p>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <p>Unexpected error during processing of the request.</p>
103
+ *
104
+ * @throws {@link ThrottlingException} (client fault)
105
+ * <p>The request was denied due to request throttling.</p>
106
+ *
107
+ * @throws {@link ValidationException} (client fault)
108
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
109
+ *
110
+ * @throws {@link MarketplaceDiscoveryServiceException}
111
+ * <p>Base exception class for all service exceptions from MarketplaceDiscovery service.</p>
112
+ *
113
+ *
114
+ * @example Invoke GetOffer for Contract Pricing offer
115
+ * ```javascript
116
+ * //
117
+ * const input = {
118
+ * offerId: "offer-sampleContractId"
119
+ * };
120
+ * const command = new GetOfferCommand(input);
121
+ * const response = await client.send(command);
122
+ * /* response is
123
+ * {
124
+ * agreementProposalId: "at-sampleToken",
125
+ * associatedEntities: [
126
+ * {
127
+ * offerSet: {
128
+ * offerSetId: "offerset-sampleId",
129
+ * sellerOfRecord: {
130
+ * displayName: "sample contract seller",
131
+ * sellerProfileId: "seller-sampleContractId"
132
+ * }
133
+ * },
134
+ * product: {
135
+ * manufacturer: {
136
+ * displayName: "sample contract seller",
137
+ * sellerProfileId: "seller-sampleContractId"
138
+ * },
139
+ * productId: "prod-sampleContractId",
140
+ * productName: "sample contract product"
141
+ * }
142
+ * }
143
+ * ],
144
+ * availableFromTime: "2023-01-01T00:00:00.000Z",
145
+ * badges: [
146
+ * {
147
+ * badgeType: "PRIVATE_PRICING",
148
+ * displayName: "Private Pricing"
149
+ * },
150
+ * {
151
+ * badgeType: "REPLACEMENT_OFFER",
152
+ * displayName: "Replacement Offer"
153
+ * }
154
+ * ],
155
+ * catalog: "AWSMarketplace",
156
+ * expirationTime: "2023-10-08T21:40:43.644Z",
157
+ * offerId: "offer-sampleContractId",
158
+ * offerName: "sample contract offer",
159
+ * pricingModel: {
160
+ * displayName: "Contract",
161
+ * pricingModelType: "CONTRACT"
162
+ * },
163
+ * replacementAgreementId: "agmt-sampleId",
164
+ * sellerOfRecord: {
165
+ * displayName: "sample contract seller",
166
+ * sellerProfileId: "seller-sampleContractId"
167
+ * }
168
+ * }
169
+ * *\/
170
+ * ```
171
+ *
172
+ * @example Invoke GetOffer for Usage Pricing offer
173
+ * ```javascript
174
+ * //
175
+ * const input = {
176
+ * offerId: "offer-sampleUsageId"
177
+ * };
178
+ * const command = new GetOfferCommand(input);
179
+ * const response = await client.send(command);
180
+ * /* response is
181
+ * {
182
+ * agreementProposalId: "at-sampleToken",
183
+ * associatedEntities: [
184
+ * {
185
+ * product: {
186
+ * manufacturer: {
187
+ * displayName: "sample usage seller",
188
+ * sellerProfileId: "seller-sampleUsageId"
189
+ * },
190
+ * productId: "prod-sampleUsageId",
191
+ * productName: "sample usage product"
192
+ * }
193
+ * }
194
+ * ],
195
+ * badges: [
196
+ * {
197
+ * badgeType: "FUTURE_DATED",
198
+ * displayName: "Future Dated"
199
+ * }
200
+ * ],
201
+ * catalog: "AWSMarketplace",
202
+ * expirationTime: "2022-03-29T23:59:59.999Z",
203
+ * offerId: "offer-sampleUsageId",
204
+ * offerName: "sample usage offer",
205
+ * pricingModel: {
206
+ * displayName: "Usage",
207
+ * pricingModelType: "USAGE"
208
+ * },
209
+ * replacementAgreementId: "agmt-sampleId",
210
+ * sellerOfRecord: {
211
+ * displayName: "sample usage seller",
212
+ * sellerProfileId: "seller-sampleUsageId"
213
+ * }
214
+ * }
215
+ * *\/
216
+ * ```
217
+ *
218
+ * @example Invoke GetOffer for BYOL Pricing offer
219
+ * ```javascript
220
+ * //
221
+ * const input = {
222
+ * offerId: "offer-sampleByolId"
223
+ * };
224
+ * const command = new GetOfferCommand(input);
225
+ * const response = await client.send(command);
226
+ * /* response is
227
+ * {
228
+ * agreementProposalId: "at-sampleToken",
229
+ * associatedEntities: [
230
+ * {
231
+ * product: {
232
+ * manufacturer: {
233
+ * displayName: "sample BYOL seller",
234
+ * sellerProfileId: "seller-sampleByolId"
235
+ * },
236
+ * productId: "prod-sampleByolId",
237
+ * productName: "sample BYOL product"
238
+ * }
239
+ * }
240
+ * ],
241
+ * badges: [],
242
+ * catalog: "AWSMarketplace",
243
+ * expirationTime: "2022-03-29T23:59:59.999Z",
244
+ * offerId: "offer-sampleByolId",
245
+ * offerName: "sample BYOL offer",
246
+ * pricingModel: {
247
+ * displayName: "Bring Your Own License",
248
+ * pricingModelType: "BYOL"
249
+ * },
250
+ * replacementAgreementId: "agmt-sampleId",
251
+ * sellerOfRecord: {
252
+ * displayName: "sample BYOL seller",
253
+ * sellerProfileId: "seller-sampleByolId"
254
+ * }
255
+ * }
256
+ * *\/
257
+ * ```
258
+ *
259
+ * @example Invoke GetOffer for FREE Pricing offer
260
+ * ```javascript
261
+ * //
262
+ * const input = {
263
+ * offerId: "offer-sampleFreeId"
264
+ * };
265
+ * const command = new GetOfferCommand(input);
266
+ * const response = await client.send(command);
267
+ * /* response is
268
+ * {
269
+ * agreementProposalId: "at-sampleToken",
270
+ * associatedEntities: [
271
+ * {
272
+ * product: {
273
+ * manufacturer: {
274
+ * displayName: "sample free seller",
275
+ * sellerProfileId: "seller-sampleFreeId"
276
+ * },
277
+ * productId: "prod-sampleFreeId",
278
+ * productName: "sample free product"
279
+ * }
280
+ * }
281
+ * ],
282
+ * badges: [],
283
+ * catalog: "AWSMarketplace",
284
+ * expirationTime: "2022-03-29T23:59:59.999Z",
285
+ * offerId: "offer-sampleFreeId",
286
+ * offerName: "sample free offer",
287
+ * pricingModel: {
288
+ * displayName: "Free",
289
+ * pricingModelType: "FREE"
290
+ * },
291
+ * replacementAgreementId: "agmt-sampleId",
292
+ * sellerOfRecord: {
293
+ * displayName: "sample free seller",
294
+ * sellerProfileId: "seller-sampleFreeId"
295
+ * }
296
+ * }
297
+ * *\/
298
+ * ```
299
+ *
300
+ * @public
301
+ */
302
+ export declare class GetOfferCommand extends GetOfferCommand_base {
303
+ /** @internal type navigation helper, not in runtime. */
304
+ protected static __types: {
305
+ api: {
306
+ input: GetOfferInput;
307
+ output: GetOfferOutput;
308
+ };
309
+ sdk: {
310
+ input: GetOfferCommandInput;
311
+ output: GetOfferCommandOutput;
312
+ };
313
+ };
314
+ }
@@ -0,0 +1,192 @@
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 { GetOfferSetInput, GetOfferSetOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetOfferSetCommand}.
14
+ */
15
+ export interface GetOfferSetCommandInput extends GetOfferSetInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetOfferSetCommand}.
21
+ */
22
+ export interface GetOfferSetCommandOutput extends GetOfferSetOutput, __MetadataBearer {
23
+ }
24
+ declare const GetOfferSetCommand_base: {
25
+ new (input: GetOfferSetCommandInput): import("@smithy/smithy-client").CommandImpl<GetOfferSetCommandInput, GetOfferSetCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOfferSetCommandInput): import("@smithy/smithy-client").CommandImpl<GetOfferSetCommandInput, GetOfferSetCommandOutput, MarketplaceDiscoveryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <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>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MarketplaceDiscoveryClient, GetOfferSetCommand } from "@aws-sdk/client-marketplace-discovery"; // ES Modules import
35
+ * // const { MarketplaceDiscoveryClient, GetOfferSetCommand } = 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 = { // GetOfferSetInput
40
+ * offerSetId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetOfferSetCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetOfferSetOutput
45
+ * // offerSetId: "STRING_VALUE", // required
46
+ * // catalog: "STRING_VALUE", // required
47
+ * // offerSetName: "STRING_VALUE",
48
+ * // availableFromTime: new Date("TIMESTAMP"),
49
+ * // expirationTime: new Date("TIMESTAMP"),
50
+ * // buyerNotes: "STRING_VALUE",
51
+ * // sellerOfRecord: { // SellerInformation
52
+ * // sellerProfileId: "STRING_VALUE", // required
53
+ * // displayName: "STRING_VALUE", // required
54
+ * // },
55
+ * // badges: [ // PurchaseOptionBadgeList // required
56
+ * // { // PurchaseOptionBadge
57
+ * // displayName: "STRING_VALUE", // required
58
+ * // badgeType: "PRIVATE_PRICING" || "FUTURE_DATED" || "REPLACEMENT_OFFER", // required
59
+ * // },
60
+ * // ],
61
+ * // associatedEntities: [ // OfferSetAssociatedEntityList // required
62
+ * // { // OfferSetAssociatedEntity
63
+ * // product: { // ProductInformation
64
+ * // productId: "STRING_VALUE", // required
65
+ * // productName: "STRING_VALUE", // required
66
+ * // manufacturer: {
67
+ * // sellerProfileId: "STRING_VALUE", // required
68
+ * // displayName: "STRING_VALUE", // required
69
+ * // },
70
+ * // },
71
+ * // offer: { // OfferInformation
72
+ * // offerId: "STRING_VALUE", // required
73
+ * // offerName: "STRING_VALUE",
74
+ * // sellerOfRecord: {
75
+ * // sellerProfileId: "STRING_VALUE", // required
76
+ * // displayName: "STRING_VALUE", // required
77
+ * // },
78
+ * // },
79
+ * // },
80
+ * // ],
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param GetOfferSetCommandInput - {@link GetOfferSetCommandInput}
86
+ * @returns {@link GetOfferSetCommandOutput}
87
+ * @see {@link GetOfferSetCommandInput} for command's `input` shape.
88
+ * @see {@link GetOfferSetCommandOutput} for command's `response` shape.
89
+ * @see {@link MarketplaceDiscoveryClientResolvedConfig | config} for MarketplaceDiscoveryClient's `config` shape.
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>The specified resource doesn't exist.</p>
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * <p>You don't have sufficient access to perform this action.</p>
96
+ *
97
+ * @throws {@link InternalServerException} (server fault)
98
+ * <p>Unexpected error during processing of the request.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The request was denied due to request throttling.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
105
+ *
106
+ * @throws {@link MarketplaceDiscoveryServiceException}
107
+ * <p>Base exception class for all service exceptions from MarketplaceDiscovery service.</p>
108
+ *
109
+ *
110
+ * @example Get offer set with multiple products
111
+ * ```javascript
112
+ * //
113
+ * const input = {
114
+ * offerSetId: "offerset-sampleId"
115
+ * };
116
+ * const command = new GetOfferSetCommand(input);
117
+ * const response = await client.send(command);
118
+ * /* response is
119
+ * {
120
+ * associatedEntities: [
121
+ * {
122
+ * offer: {
123
+ * offerId: "offer-sampleId1",
124
+ * offerName: "sample offer name 1",
125
+ * sellerOfRecord: {
126
+ * displayName: "sample reseller",
127
+ * sellerProfileId: "seller-sampleResellerId"
128
+ * }
129
+ * },
130
+ * product: {
131
+ * manufacturer: {
132
+ * displayName: "sample seller name 1",
133
+ * sellerProfileId: "seller-sampleId1"
134
+ * },
135
+ * productId: "prod-sampleId1",
136
+ * productName: "sample product name 1"
137
+ * }
138
+ * },
139
+ * {
140
+ * offer: {
141
+ * offerId: "offer-sampleId2",
142
+ * offerName: "sample offer name 2",
143
+ * sellerOfRecord: {
144
+ * displayName: "sample reseller",
145
+ * sellerProfileId: "seller-sampleResellerId"
146
+ * }
147
+ * },
148
+ * product: {
149
+ * manufacturer: {
150
+ * displayName: "sample seller name 2",
151
+ * sellerProfileId: "seller-sampleId2"
152
+ * },
153
+ * productId: "prod-sampleId2",
154
+ * productName: "sample product name 2"
155
+ * }
156
+ * }
157
+ * ],
158
+ * availableFromTime: "2024-03-20T00:00:00.000Z",
159
+ * badges: [
160
+ * {
161
+ * badgeType: "PRIVATE_PRICING",
162
+ * displayName: "Private Pricing"
163
+ * }
164
+ * ],
165
+ * buyerNotes: "This bundle includes CrowdStrike Falcon and Splunk Enterprise for comprehensive security monitoring.",
166
+ * catalog: "AWSMarketplace",
167
+ * expirationTime: "2025-03-20T00:00:00.000Z",
168
+ * offerSetId: "offerset-sampleId",
169
+ * offerSetName: "sample offer set",
170
+ * sellerOfRecord: {
171
+ * displayName: "sample reseller",
172
+ * sellerProfileId: "seller-sampleResellerId"
173
+ * }
174
+ * }
175
+ * *\/
176
+ * ```
177
+ *
178
+ * @public
179
+ */
180
+ export declare class GetOfferSetCommand extends GetOfferSetCommand_base {
181
+ /** @internal type navigation helper, not in runtime. */
182
+ protected static __types: {
183
+ api: {
184
+ input: GetOfferSetInput;
185
+ output: GetOfferSetOutput;
186
+ };
187
+ sdk: {
188
+ input: GetOfferSetCommandInput;
189
+ output: GetOfferSetCommandOutput;
190
+ };
191
+ };
192
+ }