@aws-sdk/client-marketplace-commerce-analytics 3.1077.0 → 3.1078.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
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -358,28 +359,14 @@ class MarketplaceCommerceAnalyticsClient extends Client {
358
359
  }
359
360
  }
360
361
 
361
- class GenerateDataSetCommand extends Command
362
- .classBuilder()
363
- .ep(commonParams)
364
- .m(function (Command, cs, config, o) {
365
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
366
- })
367
- .s("MarketplaceCommerceAnalytics20150701", "GenerateDataSet", {})
368
- .n("MarketplaceCommerceAnalyticsClient", "GenerateDataSetCommand")
369
- .sc(GenerateDataSet$)
370
- .build() {
362
+ const command = makeBuilder(commonParams, "MarketplaceCommerceAnalytics20150701", "MarketplaceCommerceAnalyticsClient", getEndpointPlugin);
363
+ const _ep0 = {};
364
+ const _mw0 = (Command, cs, config, o) => [];
365
+
366
+ class GenerateDataSetCommand extends command(_ep0, _mw0, "GenerateDataSet", GenerateDataSet$) {
371
367
  }
372
368
 
373
- class StartSupportDataExportCommand extends Command
374
- .classBuilder()
375
- .ep(commonParams)
376
- .m(function (Command, cs, config, o) {
377
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
378
- })
379
- .s("MarketplaceCommerceAnalytics20150701", "StartSupportDataExport", {})
380
- .n("MarketplaceCommerceAnalyticsClient", "StartSupportDataExportCommand")
381
- .sc(StartSupportDataExport$)
382
- .build() {
369
+ class StartSupportDataExportCommand extends command(_ep0, _mw0, "StartSupportDataExport", StartSupportDataExport$) {
383
370
  }
384
371
 
385
372
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "MarketplaceCommerceAnalytics20150701", "MarketplaceCommerceAnalyticsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateDataSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateDataSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MarketplaceCommerceAnalytics20150701", "GenerateDataSet", {})
13
- .n("MarketplaceCommerceAnalyticsClient", "GenerateDataSetCommand")
14
- .sc(GenerateDataSet$)
15
- .build() {
3
+ export class GenerateDataSetCommand extends command(_ep0, _mw0, "GenerateDataSet", GenerateDataSet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartSupportDataExport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSupportDataExportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MarketplaceCommerceAnalytics20150701", "StartSupportDataExport", {})
13
- .n("MarketplaceCommerceAnalyticsClient", "StartSupportDataExportCommand")
14
- .sc(StartSupportDataExport$)
15
- .build() {
3
+ export class StartSupportDataExportCommand extends command(_ep0, _mw0, "StartSupportDataExport", StartSupportDataExport$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MarketplaceCommerceAnalyticsClient";
2
2
  export * from "./MarketplaceCommerceAnalytics";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./MarketplaceCommerceAnalyticsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCommerceAnalyticsClient";
4
2
  import type { GenerateDataSetRequest, GenerateDataSetResult } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GenerateDataSetCommandInput extends GenerateDataSetRequest {
22
19
  export interface GenerateDataSetCommandOutput extends GenerateDataSetResult, __MetadataBearer {
23
20
  }
24
21
  declare const GenerateDataSetCommand_base: {
25
- new (input: GenerateDataSetCommandInput): import("@smithy/core/client").CommandImpl<GenerateDataSetCommandInput, GenerateDataSetCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GenerateDataSetCommandInput): import("@smithy/core/client").CommandImpl<GenerateDataSetCommandInput, GenerateDataSetCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GenerateDataSetCommandInput): import("@smithy/core/client").CommandImpl<GenerateDataSetCommandInput, GenerateDataSetCommandOutput, import("..").MarketplaceCommerceAnalyticsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GenerateDataSetCommandInput): import("@smithy/core/client").CommandImpl<GenerateDataSetCommandInput, GenerateDataSetCommandOutput, import("..").MarketplaceCommerceAnalyticsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * Given a data set type and data set publication date, asynchronously publishes the requested data set to the specified
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCommerceAnalyticsClient";
4
2
  import type { StartSupportDataExportRequest, StartSupportDataExportResult } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartSupportDataExportCommandInput extends StartSupportDataExpo
22
19
  export interface StartSupportDataExportCommandOutput extends StartSupportDataExportResult, __MetadataBearer {
23
20
  }
24
21
  declare const StartSupportDataExportCommand_base: {
25
- new (input: StartSupportDataExportCommandInput): import("@smithy/core/client").CommandImpl<StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartSupportDataExportCommandInput): import("@smithy/core/client").CommandImpl<StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartSupportDataExportCommandInput): import("@smithy/core/client").CommandImpl<StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput, import("..").MarketplaceCommerceAnalyticsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartSupportDataExportCommandInput): import("@smithy/core/client").CommandImpl<StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput, import("..").MarketplaceCommerceAnalyticsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <i>This target has been deprecated.</i> Given a data set type and a from date, asynchronously publishes the requested customer support data
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { MarketplaceCommerceAnalyticsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ MarketplaceCommerceAnalyticsClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./MarketplaceCommerceAnalyticsClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ MarketplaceCommerceAnalyticsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ MarketplaceCommerceAnalyticsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- MarketplaceCommerceAnalyticsClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../MarketplaceCommerceAnalyticsClient";
8
2
  import {
9
3
  GenerateDataSetRequest,
10
4
  GenerateDataSetResult,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GenerateDataSetCommandInput extends GenerateDataSetRequest {}
15
8
  export interface GenerateDataSetCommandOutput
16
9
  extends GenerateDataSetResult,
@@ -21,22 +14,20 @@ declare const GenerateDataSetCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  GenerateDataSetCommandInput,
23
16
  GenerateDataSetCommandOutput,
24
- MarketplaceCommerceAnalyticsClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").MarketplaceCommerceAnalyticsClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: GenerateDataSetCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  GenerateDataSetCommandInput,
32
25
  GenerateDataSetCommandOutput,
33
- MarketplaceCommerceAnalyticsClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").MarketplaceCommerceAnalyticsClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class GenerateDataSetCommand extends GenerateDataSetCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- MarketplaceCommerceAnalyticsClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../MarketplaceCommerceAnalyticsClient";
8
2
  import {
9
3
  StartSupportDataExportRequest,
10
4
  StartSupportDataExportResult,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartSupportDataExportCommandInput
15
8
  extends StartSupportDataExportRequest {}
16
9
  export interface StartSupportDataExportCommandOutput
@@ -22,22 +15,20 @@ declare const StartSupportDataExportCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartSupportDataExportCommandInput,
24
17
  StartSupportDataExportCommandOutput,
25
- MarketplaceCommerceAnalyticsClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").MarketplaceCommerceAnalyticsClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartSupportDataExportCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartSupportDataExportCommandInput,
33
26
  StartSupportDataExportCommandOutput,
34
- MarketplaceCommerceAnalyticsClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").MarketplaceCommerceAnalyticsClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartSupportDataExportCommand extends StartSupportDataExportCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MarketplaceCommerceAnalyticsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-commerce-analytics",
3
3
  "description": "AWS SDK for JavaScript Marketplace Commerce Analytics Client for Node.js, Browser and React Native",
4
- "version": "3.1077.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {