@aws-sdk/client-marketplace-commerce-analytics 3.1136.0 → 3.1138.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -172,10 +172,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacecommerceanalytics";
172
172
  const _sTA = "snsTopicArn";
173
173
  const _se = "server";
174
174
  const n0 = "com.amazonaws.marketplacecommerceanalytics";
175
- const _s_registry = TypeRegistry.for(_s);
175
+ const _s_registry = new TypeRegistry(_s);
176
176
  var MarketplaceCommerceAnalyticsServiceException$ = [-3, _s, "MarketplaceCommerceAnalyticsServiceException", 0, [], []];
177
177
  _s_registry.registerError(MarketplaceCommerceAnalyticsServiceException$, MarketplaceCommerceAnalyticsServiceException);
178
- const n0_registry = TypeRegistry.for(n0);
178
+ const n0_registry = new TypeRegistry(n0);
179
179
  var MarketplaceCommerceAnalyticsException$ = [-3, n0, _MCAE,
180
180
  { [_e]: _se },
181
181
  [_m],
@@ -22,10 +22,10 @@ const n0 = "com.amazonaws.marketplacecommerceanalytics";
22
22
  import { TypeRegistry } from "@smithy/core/schema";
23
23
  import { MarketplaceCommerceAnalyticsException } from "../models/errors";
24
24
  import { MarketplaceCommerceAnalyticsServiceException } from "../models/MarketplaceCommerceAnalyticsServiceException";
25
- const _s_registry = TypeRegistry.for(_s);
25
+ const _s_registry = new TypeRegistry(_s);
26
26
  export var MarketplaceCommerceAnalyticsServiceException$ = [-3, _s, "MarketplaceCommerceAnalyticsServiceException", 0, [], []];
27
27
  _s_registry.registerError(MarketplaceCommerceAnalyticsServiceException$, MarketplaceCommerceAnalyticsServiceException);
28
- const n0_registry = TypeRegistry.for(n0);
28
+ const n0_registry = new TypeRegistry(n0);
29
29
  export var MarketplaceCommerceAnalyticsException$ = [-3, n0, _MCAE,
30
30
  { [_e]: _se },
31
31
  [_m],
@@ -1,20 +1,26 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type GenerateDataSetCommandInput, type GenerateDataSetCommandOutput } from "./commands/GenerateDataSetCommand";
3
3
  import { type StartSupportDataExportCommandInput, type StartSupportDataExportCommandOutput } from "./commands/StartSupportDataExportCommand";
4
4
  import { MarketplaceCommerceAnalyticsClient } from "./MarketplaceCommerceAnalyticsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface MarketplaceCommerceAnalyticsRequestOptions extends __HttpHandlerOptions {
9
+ metricsRecorder?: __MetricsRecorder<unknown>;
10
+ }
5
11
  export interface MarketplaceCommerceAnalytics {
6
12
  /**
7
13
  * @see {@link GenerateDataSetCommand}
8
14
  */
9
- generateDataSet(args: GenerateDataSetCommandInput, options?: __HttpHandlerOptions): Promise<GenerateDataSetCommandOutput>;
15
+ generateDataSet(args: GenerateDataSetCommandInput, options?: MarketplaceCommerceAnalyticsRequestOptions): Promise<GenerateDataSetCommandOutput>;
10
16
  generateDataSet(args: GenerateDataSetCommandInput, cb: (err: any, data?: GenerateDataSetCommandOutput) => void): void;
11
- generateDataSet(args: GenerateDataSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDataSetCommandOutput) => void): void;
17
+ generateDataSet(args: GenerateDataSetCommandInput, options: MarketplaceCommerceAnalyticsRequestOptions, cb: (err: any, data?: GenerateDataSetCommandOutput) => void): void;
12
18
  /**
13
19
  * @see {@link StartSupportDataExportCommand}
14
20
  */
15
- startSupportDataExport(args: StartSupportDataExportCommandInput, options?: __HttpHandlerOptions): Promise<StartSupportDataExportCommandOutput>;
21
+ startSupportDataExport(args: StartSupportDataExportCommandInput, options?: MarketplaceCommerceAnalyticsRequestOptions): Promise<StartSupportDataExportCommandOutput>;
16
22
  startSupportDataExport(args: StartSupportDataExportCommandInput, cb: (err: any, data?: StartSupportDataExportCommandOutput) => void): void;
17
- startSupportDataExport(args: StartSupportDataExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSupportDataExportCommandOutput) => void): void;
23
+ startSupportDataExport(args: StartSupportDataExportCommandInput, options: MarketplaceCommerceAnalyticsRequestOptions, cb: (err: any, data?: StartSupportDataExportCommandOutput) => void): void;
18
24
  }
19
25
  /**
20
26
  * Provides AWS Marketplace business intelligence data on-demand.
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  GenerateDataSetCommandInput,
4
7
  GenerateDataSetCommandOutput,
@@ -8,10 +11,13 @@ import {
8
11
  StartSupportDataExportCommandOutput,
9
12
  } from "./commands/StartSupportDataExportCommand";
10
13
  import { MarketplaceCommerceAnalyticsClient } from "./MarketplaceCommerceAnalyticsClient";
14
+ export interface MarketplaceCommerceAnalyticsRequestOptions extends __HttpHandlerOptions {
15
+ metricsRecorder?: __MetricsRecorder<unknown>;
16
+ }
11
17
  export interface MarketplaceCommerceAnalytics {
12
18
  generateDataSet(
13
19
  args: GenerateDataSetCommandInput,
14
- options?: __HttpHandlerOptions,
20
+ options?: MarketplaceCommerceAnalyticsRequestOptions,
15
21
  ): Promise<GenerateDataSetCommandOutput>;
16
22
  generateDataSet(
17
23
  args: GenerateDataSetCommandInput,
@@ -19,12 +25,12 @@ export interface MarketplaceCommerceAnalytics {
19
25
  ): void;
20
26
  generateDataSet(
21
27
  args: GenerateDataSetCommandInput,
22
- options: __HttpHandlerOptions,
28
+ options: MarketplaceCommerceAnalyticsRequestOptions,
23
29
  cb: (err: any, data?: GenerateDataSetCommandOutput) => void,
24
30
  ): void;
25
31
  startSupportDataExport(
26
32
  args: StartSupportDataExportCommandInput,
27
- options?: __HttpHandlerOptions,
33
+ options?: MarketplaceCommerceAnalyticsRequestOptions,
28
34
  ): Promise<StartSupportDataExportCommandOutput>;
29
35
  startSupportDataExport(
30
36
  args: StartSupportDataExportCommandInput,
@@ -32,7 +38,7 @@ export interface MarketplaceCommerceAnalytics {
32
38
  ): void;
33
39
  startSupportDataExport(
34
40
  args: StartSupportDataExportCommandInput,
35
- options: __HttpHandlerOptions,
41
+ options: MarketplaceCommerceAnalyticsRequestOptions,
36
42
  cb: (err: any, data?: StartSupportDataExportCommandOutput) => void,
37
43
  ): void;
38
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-commerce-analytics",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Marketplace Commerce Analytics Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-commerce-analytics",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {