@aws-sdk/client-marketplace-reporting 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
 
@@ -205,10 +205,10 @@ const _m = "message";
205
205
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacereporting";
206
206
  const _se = "server";
207
207
  const n0 = "com.amazonaws.marketplacereporting";
208
- const _s_registry = TypeRegistry.for(_s);
208
+ const _s_registry = new TypeRegistry(_s);
209
209
  var MarketplaceReportingServiceException$ = [-3, _s, "MarketplaceReportingServiceException", 0, [], []];
210
210
  _s_registry.registerError(MarketplaceReportingServiceException$, MarketplaceReportingServiceException);
211
- const n0_registry = TypeRegistry.for(n0);
211
+ const n0_registry = new TypeRegistry(n0);
212
212
  var AccessDeniedException$ = [-3, n0, _ADE,
213
213
  { [_e]: _c, [_hE]: 403 },
214
214
  [_m],
@@ -19,10 +19,10 @@ const n0 = "com.amazonaws.marketplacereporting";
19
19
  import { TypeRegistry } from "@smithy/core/schema";
20
20
  import { AccessDeniedException, BadRequestException, InternalServerException, UnauthorizedException, } from "../models/errors";
21
21
  import { MarketplaceReportingServiceException } from "../models/MarketplaceReportingServiceException";
22
- const _s_registry = TypeRegistry.for(_s);
22
+ const _s_registry = new TypeRegistry(_s);
23
23
  export var MarketplaceReportingServiceException$ = [-3, _s, "MarketplaceReportingServiceException", 0, [], []];
24
24
  _s_registry.registerError(MarketplaceReportingServiceException$, MarketplaceReportingServiceException);
25
- const n0_registry = TypeRegistry.for(n0);
25
+ const n0_registry = new TypeRegistry(n0);
26
26
  export var AccessDeniedException$ = [-3, n0, _ADE,
27
27
  { [_e]: _c, [_hE]: 403 },
28
28
  [_m],
@@ -1,13 +1,19 @@
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 GetBuyerDashboardCommandInput, type GetBuyerDashboardCommandOutput } from "./commands/GetBuyerDashboardCommand";
3
3
  import { MarketplaceReportingClient } from "./MarketplaceReportingClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface MarketplaceReportingRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface MarketplaceReporting {
5
11
  /**
6
12
  * @see {@link GetBuyerDashboardCommand}
7
13
  */
8
- getBuyerDashboard(args: GetBuyerDashboardCommandInput, options?: __HttpHandlerOptions): Promise<GetBuyerDashboardCommandOutput>;
14
+ getBuyerDashboard(args: GetBuyerDashboardCommandInput, options?: MarketplaceReportingRequestOptions): Promise<GetBuyerDashboardCommandOutput>;
9
15
  getBuyerDashboard(args: GetBuyerDashboardCommandInput, cb: (err: any, data?: GetBuyerDashboardCommandOutput) => void): void;
10
- getBuyerDashboard(args: GetBuyerDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBuyerDashboardCommandOutput) => void): void;
16
+ getBuyerDashboard(args: GetBuyerDashboardCommandInput, options: MarketplaceReportingRequestOptions, cb: (err: any, data?: GetBuyerDashboardCommandOutput) => void): void;
11
17
  }
12
18
  /**
13
19
  * <p>The Amazon Web Services Marketplace <code>GetBuyerDashboard</code> API enables you to get a procurement insights
@@ -1,13 +1,19 @@
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
  GetBuyerDashboardCommandInput,
4
7
  GetBuyerDashboardCommandOutput,
5
8
  } from "./commands/GetBuyerDashboardCommand";
6
9
  import { MarketplaceReportingClient } from "./MarketplaceReportingClient";
10
+ export interface MarketplaceReportingRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface MarketplaceReporting {
8
14
  getBuyerDashboard(
9
15
  args: GetBuyerDashboardCommandInput,
10
- options?: __HttpHandlerOptions,
16
+ options?: MarketplaceReportingRequestOptions,
11
17
  ): Promise<GetBuyerDashboardCommandOutput>;
12
18
  getBuyerDashboard(
13
19
  args: GetBuyerDashboardCommandInput,
@@ -15,7 +21,7 @@ export interface MarketplaceReporting {
15
21
  ): void;
16
22
  getBuyerDashboard(
17
23
  args: GetBuyerDashboardCommandInput,
18
- options: __HttpHandlerOptions,
24
+ options: MarketplaceReportingRequestOptions,
19
25
  cb: (err: any, data?: GetBuyerDashboardCommandOutput) => void,
20
26
  ): void;
21
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-reporting",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Marketplace Reporting Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-reporting",
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": {