@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,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetOfferTermsCommandInput,
4
+ GetOfferTermsCommandOutput,
5
+ } from "../commands/GetOfferTermsCommand";
6
+ import { MarketplaceDiscoveryPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetOfferTerms: (
8
+ config: MarketplaceDiscoveryPaginationConfiguration,
9
+ input: GetOfferTermsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetOfferTermsCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { MarketplaceDiscoveryClient } from "../MarketplaceDiscoveryClient";
3
+ export interface MarketplaceDiscoveryPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: MarketplaceDiscoveryClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFulfillmentOptionsCommandInput,
4
+ ListFulfillmentOptionsCommandOutput,
5
+ } from "../commands/ListFulfillmentOptionsCommand";
6
+ import { MarketplaceDiscoveryPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFulfillmentOptions: (
8
+ config: MarketplaceDiscoveryPaginationConfiguration,
9
+ input: ListFulfillmentOptionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFulfillmentOptionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPurchaseOptionsCommandInput,
4
+ ListPurchaseOptionsCommandOutput,
5
+ } from "../commands/ListPurchaseOptionsCommand";
6
+ import { MarketplaceDiscoveryPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListPurchaseOptions: (
8
+ config: MarketplaceDiscoveryPaginationConfiguration,
9
+ input: ListPurchaseOptionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListPurchaseOptionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchFacetsCommandInput,
4
+ SearchFacetsCommandOutput,
5
+ } from "../commands/SearchFacetsCommand";
6
+ import { MarketplaceDiscoveryPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchFacets: (
8
+ config: MarketplaceDiscoveryPaginationConfiguration,
9
+ input: SearchFacetsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchFacetsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchListingsCommandInput,
4
+ SearchListingsCommandOutput,
5
+ } from "../commands/SearchListingsCommand";
6
+ import { MarketplaceDiscoveryPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchListings: (
8
+ config: MarketplaceDiscoveryPaginationConfiguration,
9
+ input: SearchListingsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchListingsCommandOutput>;
@@ -0,0 +1,6 @@
1
+ export * from "./Interfaces";
2
+ export * from "./GetOfferTermsPaginator";
3
+ export * from "./ListFulfillmentOptionsPaginator";
4
+ export * from "./ListPurchaseOptionsPaginator";
5
+ export * from "./SearchFacetsPaginator";
6
+ export * from "./SearchListingsPaginator";
@@ -0,0 +1,102 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { MarketplaceDiscoveryClientConfig } from "./MarketplaceDiscoveryClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: MarketplaceDiscoveryClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
+ defaultUserAgentProvider: (
17
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
+ ) => Promise<import("@smithy/types").UserAgent>;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<any>;
21
+ requestHandler:
22
+ | import("@smithy/protocol-http").HttpHandler<any>
23
+ | RequestHandler;
24
+ retryMode: string | import("@smithy/types").Provider<string>;
25
+ sha256: import("@smithy/types").HashConstructor;
26
+ streamCollector: import("@smithy/types").StreamCollector;
27
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
+ cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
41
+ urlParser: import("@smithy/types").UrlParser;
42
+ base64Decoder: import("@smithy/types").Decoder;
43
+ base64Encoder: (_input: Uint8Array | string) => string;
44
+ utf8Decoder: import("@smithy/types").Decoder;
45
+ utf8Encoder: (input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ serviceId: string;
48
+ profile?: string;
49
+ logger: import("@smithy/types").Logger;
50
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
51
+ customUserAgent?: string | import("@smithy/types").UserAgent;
52
+ userAgentAppId?:
53
+ | string
54
+ | undefined
55
+ | import("@smithy/types").Provider<string | undefined>;
56
+ retryStrategy?:
57
+ | import("@smithy/types").RetryStrategy
58
+ | import("@smithy/types").RetryStrategyV2;
59
+ endpoint?:
60
+ | ((
61
+ | string
62
+ | import("@smithy/types").Endpoint
63
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
+ | import("@smithy/types").EndpointV2
65
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
+ ) &
67
+ (
68
+ | string
69
+ | import("@smithy/types").Provider<string>
70
+ | import("@smithy/types").Endpoint
71
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
72
+ | import("@smithy/types").EndpointV2
73
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
74
+ ))
75
+ | undefined;
76
+ endpointProvider: (
77
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
+ context?: {
79
+ logger?: import("@smithy/types").Logger;
80
+ }
81
+ ) => import("@smithy/types").EndpointV2;
82
+ tls?: boolean;
83
+ serviceConfiguredEndpoint?: never;
84
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
85
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
86
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDiscoveryHttpAuthSchemeProvider;
87
+ credentials?:
88
+ | import("@smithy/types").AwsCredentialIdentity
89
+ | import("@smithy/types").AwsCredentialIdentityProvider;
90
+ signer?:
91
+ | import("@smithy/types").RequestSigner
92
+ | ((
93
+ authScheme?: import("@smithy/types").AuthScheme
94
+ ) => Promise<import("@smithy/types").RequestSigner>);
95
+ signingEscapePath?: boolean;
96
+ systemClockOffset?: number;
97
+ signingRegion?: string;
98
+ signerConstructor?: new (
99
+ options: import("@smithy/signature-v4").SignatureV4Init &
100
+ import("@smithy/signature-v4").SignatureV4CryptoInit
101
+ ) => import("@smithy/types").RequestSigner;
102
+ };
@@ -0,0 +1,97 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { MarketplaceDiscoveryClientConfig } from "./MarketplaceDiscoveryClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: MarketplaceDiscoveryClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ credentialDefaultProvider:
13
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
+ | ((
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
+ defaultUserAgentProvider: (
18
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
19
+ ) => Promise<import("@smithy/types").UserAgent>;
20
+ maxAttempts: number | import("@smithy/types").Provider<number>;
21
+ region: string | import("@smithy/types").Provider<string>;
22
+ requestHandler:
23
+ | RequestHandler
24
+ | import("@smithy/protocol-http").HttpHandler<any>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ sha256: import("@smithy/types").HashConstructor;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
+ cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
41
+ urlParser: import("@smithy/types").UrlParser;
42
+ base64Decoder: import("@smithy/types").Decoder;
43
+ base64Encoder: (_input: Uint8Array | string) => string;
44
+ utf8Decoder: import("@smithy/types").Decoder;
45
+ utf8Encoder: (input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ serviceId: string;
48
+ profile?: string;
49
+ logger: import("@smithy/types").Logger;
50
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
51
+ customUserAgent?: string | import("@smithy/types").UserAgent;
52
+ retryStrategy?:
53
+ | import("@smithy/types").RetryStrategy
54
+ | import("@smithy/types").RetryStrategyV2;
55
+ endpoint?:
56
+ | ((
57
+ | string
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ) &
63
+ (
64
+ | string
65
+ | import("@smithy/types").Provider<string>
66
+ | import("@smithy/types").Endpoint
67
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
+ | import("@smithy/types").EndpointV2
69
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
70
+ ))
71
+ | undefined;
72
+ endpointProvider: (
73
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
74
+ context?: {
75
+ logger?: import("@smithy/types").Logger;
76
+ }
77
+ ) => import("@smithy/types").EndpointV2;
78
+ tls?: boolean;
79
+ serviceConfiguredEndpoint?: never;
80
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDiscoveryHttpAuthSchemeProvider;
82
+ credentials?:
83
+ | import("@smithy/types").AwsCredentialIdentity
84
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
+ signer?:
86
+ | import("@smithy/types").RequestSigner
87
+ | ((
88
+ authScheme?: import("@smithy/types").AuthScheme
89
+ ) => Promise<import("@smithy/types").RequestSigner>);
90
+ signingEscapePath?: boolean;
91
+ systemClockOffset?: number;
92
+ signingRegion?: string;
93
+ signerConstructor?: new (
94
+ options: import("@smithy/signature-v4").SignatureV4Init &
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ ) => import("@smithy/types").RequestSigner;
97
+ };
@@ -0,0 +1,106 @@
1
+ import { MarketplaceDiscoveryClientConfig } from "./MarketplaceDiscoveryClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: MarketplaceDiscoveryClientConfig
4
+ ) => {
5
+ runtime: string;
6
+ sha256: import("@smithy/types").HashConstructor;
7
+ requestHandler:
8
+ | import("@smithy/types").NodeHttpHandlerOptions
9
+ | import("@smithy/types").FetchHttpHandlerOptions
10
+ | Record<string, unknown>
11
+ | import("@smithy/protocol-http").HttpHandler<any>
12
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
+ cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
+ streamCollector: import("@smithy/types").StreamCollector;
26
+ base64Decoder: import("@smithy/types").Decoder;
27
+ base64Encoder: (_input: Uint8Array | string) => string;
28
+ utf8Decoder: import("@smithy/types").Decoder;
29
+ utf8Encoder: (input: Uint8Array | string) => string;
30
+ disableHostPrefix: boolean;
31
+ serviceId: string;
32
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
34
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
35
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
36
+ region: string | import("@smithy/types").Provider<any>;
37
+ profile?: string;
38
+ defaultUserAgentProvider: (
39
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
40
+ ) => Promise<import("@smithy/types").UserAgent>;
41
+ credentialDefaultProvider:
42
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
43
+ | ((
44
+ _: unknown
45
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
46
+ maxAttempts: number | import("@smithy/types").Provider<number>;
47
+ retryMode: string | import("@smithy/types").Provider<string>;
48
+ logger: import("@smithy/types").Logger;
49
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
50
+ defaultsMode:
51
+ | import("@smithy/smithy-client").DefaultsMode
52
+ | import("@smithy/types").Provider<
53
+ import("@smithy/smithy-client").DefaultsMode
54
+ >;
55
+ customUserAgent?: string | import("@smithy/types").UserAgent;
56
+ userAgentAppId?:
57
+ | string
58
+ | undefined
59
+ | import("@smithy/types").Provider<string | undefined>;
60
+ retryStrategy?:
61
+ | import("@smithy/types").RetryStrategy
62
+ | import("@smithy/types").RetryStrategyV2;
63
+ endpoint?:
64
+ | ((
65
+ | string
66
+ | import("@smithy/types").Endpoint
67
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
+ | import("@smithy/types").EndpointV2
69
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
70
+ ) &
71
+ (
72
+ | string
73
+ | import("@smithy/types").Provider<string>
74
+ | import("@smithy/types").Endpoint
75
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
76
+ | import("@smithy/types").EndpointV2
77
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
78
+ ))
79
+ | undefined;
80
+ endpointProvider: (
81
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
+ context?: {
83
+ logger?: import("@smithy/types").Logger;
84
+ }
85
+ ) => import("@smithy/types").EndpointV2;
86
+ tls?: boolean;
87
+ serviceConfiguredEndpoint?: never;
88
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
89
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
90
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDiscoveryHttpAuthSchemeProvider;
91
+ credentials?:
92
+ | import("@smithy/types").AwsCredentialIdentity
93
+ | import("@smithy/types").AwsCredentialIdentityProvider;
94
+ signer?:
95
+ | import("@smithy/types").RequestSigner
96
+ | ((
97
+ authScheme?: import("@smithy/types").AuthScheme
98
+ ) => Promise<import("@smithy/types").RequestSigner>);
99
+ signingEscapePath?: boolean;
100
+ systemClockOffset?: number;
101
+ signingRegion?: string;
102
+ signerConstructor?: new (
103
+ options: import("@smithy/signature-v4").SignatureV4Init &
104
+ import("@smithy/signature-v4").SignatureV4CryptoInit
105
+ ) => import("@smithy/types").RequestSigner;
106
+ };
@@ -0,0 +1,32 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
+ import { MarketplaceDiscoveryClientConfig } from "./MarketplaceDiscoveryClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: MarketplaceDiscoveryClientConfig
5
+ ) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (
11
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
+ context?: {
13
+ logger?: import("@smithy/types").Logger;
14
+ }
15
+ ) => import("@smithy/types").EndpointV2;
16
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
17
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDiscoveryHttpAuthSchemeProvider;
18
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
19
+ logger: import("@smithy/types").Logger;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
28
+ serviceId: string;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ utf8Decoder: import("@smithy/types").Decoder;
31
+ utf8Encoder: (input: Uint8Array | string) => string;
32
+ };
@@ -0,0 +1,13 @@
1
+ import { MarketplaceDiscoveryExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(
4
+ extensionConfiguration: MarketplaceDiscoveryExtensionConfiguration
5
+ ): void;
6
+ }
7
+ export interface RuntimeExtensionsConfig {
8
+ extensions: RuntimeExtension[];
9
+ }
10
+ export declare const resolveRuntimeExtensions: (
11
+ runtimeConfig: any,
12
+ extensions: RuntimeExtension[]
13
+ ) => any;
@@ -0,0 +1,114 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import {
3
+ StaticErrorSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ StaticUnionSchema,
7
+ } from "@smithy/types";
8
+ export declare var MarketplaceDiscoveryServiceException$: StaticErrorSchema;
9
+ export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var AmazonMachineImageFulfillmentOption$: StaticStructureSchema;
16
+ export declare var AmazonMachineImageOperatingSystem$: StaticStructureSchema;
17
+ export declare var AmazonMachineImageRecommendation$: StaticStructureSchema;
18
+ export declare var ApiFulfillmentOption$: StaticStructureSchema;
19
+ export declare var AwsSupportedService$: StaticStructureSchema;
20
+ export declare var ByolPricingTerm$: StaticStructureSchema;
21
+ export declare var Category$: StaticStructureSchema;
22
+ export declare var CloudFormationFulfillmentOption$: StaticStructureSchema;
23
+ export declare var ConfigurableUpfrontPricingTerm$: StaticStructureSchema;
24
+ export declare var ConfigurableUpfrontRateCardItem$: StaticStructureSchema;
25
+ export declare var Constraints$: StaticStructureSchema;
26
+ export declare var ContainerFulfillmentOption$: StaticStructureSchema;
27
+ export declare var ContainerOperatingSystem$: StaticStructureSchema;
28
+ export declare var DataArtifact$: StaticStructureSchema;
29
+ export declare var DataExchangeFulfillmentOption$: StaticStructureSchema;
30
+ export declare var DimensionLabel$: StaticStructureSchema;
31
+ export declare var DocumentItem$: StaticStructureSchema;
32
+ export declare var Ec2ImageBuilderComponentFulfillmentOption$: StaticStructureSchema;
33
+ export declare var EksAddOnFulfillmentOption$: StaticStructureSchema;
34
+ export declare var EksAddOnOperatingSystem$: StaticStructureSchema;
35
+ export declare var FixedUpfrontPricingTerm$: StaticStructureSchema;
36
+ export declare var FreeTrialPricingTerm$: StaticStructureSchema;
37
+ export declare var FulfillmentOptionSummary$: StaticStructureSchema;
38
+ export declare var GetListingInput$: StaticStructureSchema;
39
+ export declare var GetListingOutput$: StaticStructureSchema;
40
+ export declare var GetOfferInput$: StaticStructureSchema;
41
+ export declare var GetOfferOutput$: StaticStructureSchema;
42
+ export declare var GetOfferSetInput$: StaticStructureSchema;
43
+ export declare var GetOfferSetOutput$: StaticStructureSchema;
44
+ export declare var GetOfferTermsInput$: StaticStructureSchema;
45
+ export declare var GetOfferTermsOutput$: StaticStructureSchema;
46
+ export declare var GetProductInput$: StaticStructureSchema;
47
+ export declare var GetProductOutput$: StaticStructureSchema;
48
+ export declare var GrantItem$: StaticStructureSchema;
49
+ export declare var HelmFulfillmentOption$: StaticStructureSchema;
50
+ export declare var HelmOperatingSystem$: StaticStructureSchema;
51
+ export declare var LegalTerm$: StaticStructureSchema;
52
+ export declare var ListFulfillmentOptionsInput$: StaticStructureSchema;
53
+ export declare var ListFulfillmentOptionsOutput$: StaticStructureSchema;
54
+ export declare var ListingAssociatedEntity$: StaticStructureSchema;
55
+ export declare var ListingBadge$: StaticStructureSchema;
56
+ export declare var ListingFacet$: StaticStructureSchema;
57
+ export declare var ListingSummary$: StaticStructureSchema;
58
+ export declare var ListingSummaryAssociatedEntity$: StaticStructureSchema;
59
+ export declare var ListPurchaseOptionsInput$: StaticStructureSchema;
60
+ export declare var ListPurchaseOptionsOutput$: StaticStructureSchema;
61
+ export declare var OfferAssociatedEntity$: StaticStructureSchema;
62
+ export declare var OfferInformation$: StaticStructureSchema;
63
+ export declare var OfferSetAssociatedEntity$: StaticStructureSchema;
64
+ export declare var OfferSetInformation$: StaticStructureSchema;
65
+ export declare var PaymentScheduleTerm$: StaticStructureSchema;
66
+ export declare var PricingModel$: StaticStructureSchema;
67
+ export declare var PricingUnit$: StaticStructureSchema;
68
+ export declare var ProductInformation$: StaticStructureSchema;
69
+ export declare var ProfessionalServicesFulfillmentOption$: StaticStructureSchema;
70
+ export declare var PromotionalEmbeddedImage$: StaticStructureSchema;
71
+ export declare var PromotionalEmbeddedVideo$: StaticStructureSchema;
72
+ export declare var PurchaseOptionAssociatedEntity$: StaticStructureSchema;
73
+ export declare var PurchaseOptionBadge$: StaticStructureSchema;
74
+ export declare var PurchaseOptionFilter$: StaticStructureSchema;
75
+ export declare var PurchaseOptionSummary$: StaticStructureSchema;
76
+ export declare var RateCardItem$: StaticStructureSchema;
77
+ export declare var RecurringPaymentTerm$: StaticStructureSchema;
78
+ export declare var RenewalTerm$: StaticStructureSchema;
79
+ export declare var Resource$: StaticStructureSchema;
80
+ export declare var ReviewSourceSummary$: StaticStructureSchema;
81
+ export declare var ReviewSummary$: StaticStructureSchema;
82
+ export declare var SaasFulfillmentOption$: StaticStructureSchema;
83
+ export declare var SageMakerAlgorithmFulfillmentOption$: StaticStructureSchema;
84
+ export declare var SageMakerAlgorithmRecommendation$: StaticStructureSchema;
85
+ export declare var SageMakerModelFulfillmentOption$: StaticStructureSchema;
86
+ export declare var SageMakerModelRecommendation$: StaticStructureSchema;
87
+ export declare var ScheduleItem$: StaticStructureSchema;
88
+ export declare var SearchFacetsInput$: StaticStructureSchema;
89
+ export declare var SearchFacetsOutput$: StaticStructureSchema;
90
+ export declare var SearchFilter$: StaticStructureSchema;
91
+ export declare var SearchListingsInput$: StaticStructureSchema;
92
+ export declare var SearchListingsOutput$: StaticStructureSchema;
93
+ export declare var Selector$: StaticStructureSchema;
94
+ export declare var SellerEngagement$: StaticStructureSchema;
95
+ export declare var SellerInformation$: StaticStructureSchema;
96
+ export declare var SupportTerm$: StaticStructureSchema;
97
+ export declare var UsageBasedPricingTerm$: StaticStructureSchema;
98
+ export declare var UsageBasedRateCardItem$: StaticStructureSchema;
99
+ export declare var UseCase$: StaticStructureSchema;
100
+ export declare var UseCaseEntry$: StaticStructureSchema;
101
+ export declare var ValidityTerm$: StaticStructureSchema;
102
+ export declare var VariablePaymentTerm$: StaticStructureSchema;
103
+ export declare var FulfillmentOption$: StaticUnionSchema;
104
+ export declare var OfferTerm$: StaticUnionSchema;
105
+ export declare var PromotionalMedia$: StaticUnionSchema;
106
+ export declare var GetListing$: StaticOperationSchema;
107
+ export declare var GetOffer$: StaticOperationSchema;
108
+ export declare var GetOfferSet$: StaticOperationSchema;
109
+ export declare var GetOfferTerms$: StaticOperationSchema;
110
+ export declare var GetProduct$: StaticOperationSchema;
111
+ export declare var ListFulfillmentOptions$: StaticOperationSchema;
112
+ export declare var ListPurchaseOptions$: StaticOperationSchema;
113
+ export declare var SearchFacets$: StaticOperationSchema;
114
+ export declare var SearchListings$: StaticOperationSchema;
package/package.json ADDED
@@ -0,0 +1,100 @@
1
+ {
2
+ "name": "@aws-sdk/client-marketplace-discovery",
3
+ "description": "AWS SDK for JavaScript Marketplace Discovery Client for Node.js, Browser and React Native",
4
+ "version": "3.1027.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-marketplace-discovery",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
14
+ "extract:docs": "api-extractor run --local",
15
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo marketplace-discovery"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
20
+ "sideEffects": false,
21
+ "dependencies": {
22
+ "@aws-crypto/sha256-browser": "5.2.0",
23
+ "@aws-crypto/sha256-js": "5.2.0",
24
+ "@aws-sdk/core": "^3.973.27",
25
+ "@aws-sdk/credential-provider-node": "^3.972.30",
26
+ "@aws-sdk/middleware-host-header": "^3.972.9",
27
+ "@aws-sdk/middleware-logger": "^3.972.9",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.10",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.29",
30
+ "@aws-sdk/region-config-resolver": "^3.972.11",
31
+ "@aws-sdk/types": "^3.973.7",
32
+ "@aws-sdk/util-endpoints": "^3.996.6",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.15",
35
+ "@smithy/config-resolver": "^4.4.14",
36
+ "@smithy/core": "^3.23.14",
37
+ "@smithy/fetch-http-handler": "^5.3.16",
38
+ "@smithy/hash-node": "^4.2.13",
39
+ "@smithy/invalid-dependency": "^4.2.13",
40
+ "@smithy/middleware-content-length": "^4.2.13",
41
+ "@smithy/middleware-endpoint": "^4.4.29",
42
+ "@smithy/middleware-retry": "^4.5.0",
43
+ "@smithy/middleware-serde": "^4.2.17",
44
+ "@smithy/middleware-stack": "^4.2.13",
45
+ "@smithy/node-config-provider": "^4.3.13",
46
+ "@smithy/node-http-handler": "^4.5.2",
47
+ "@smithy/protocol-http": "^5.3.13",
48
+ "@smithy/smithy-client": "^4.12.9",
49
+ "@smithy/types": "^4.14.0",
50
+ "@smithy/url-parser": "^4.2.13",
51
+ "@smithy/util-base64": "^4.3.2",
52
+ "@smithy/util-body-length-browser": "^4.2.2",
53
+ "@smithy/util-body-length-node": "^4.2.3",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.45",
55
+ "@smithy/util-defaults-mode-node": "^4.2.49",
56
+ "@smithy/util-endpoints": "^3.3.4",
57
+ "@smithy/util-middleware": "^4.2.13",
58
+ "@smithy/util-retry": "^4.3.0",
59
+ "@smithy/util-utf8": "^4.2.2",
60
+ "tslib": "^2.6.2"
61
+ },
62
+ "devDependencies": {
63
+ "@tsconfig/node20": "20.1.8",
64
+ "@types/node": "^20.14.8",
65
+ "concurrently": "7.0.0",
66
+ "downlevel-dts": "0.10.1",
67
+ "premove": "4.0.0",
68
+ "typescript": "~5.8.3"
69
+ },
70
+ "engines": {
71
+ "node": ">=20.0.0"
72
+ },
73
+ "typesVersions": {
74
+ "<4.5": {
75
+ "dist-types/*": [
76
+ "dist-types/ts3.4/*"
77
+ ]
78
+ }
79
+ },
80
+ "files": [
81
+ "dist-*/**"
82
+ ],
83
+ "author": {
84
+ "name": "AWS SDK for JavaScript Team",
85
+ "url": "https://aws.amazon.com/javascript/"
86
+ },
87
+ "license": "Apache-2.0",
88
+ "browser": {
89
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
90
+ },
91
+ "react-native": {
92
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
93
+ },
94
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-discovery",
95
+ "repository": {
96
+ "type": "git",
97
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
98
+ "directory": "clients/client-marketplace-discovery"
99
+ }
100
+ }